1. 24 Jan, 2013 40 commits
    • lforschler@apple.com's avatar
      Versioning. · e7d4f9d4
      lforschler@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7d4f9d4
    • rniwa@webkit.org's avatar
      Abandoned Memory: SVGFontElement and Corresponding SVGDocument Never Deconstructed · 00bac936
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66438
      
      Reviewed by Dirk Schulze.
      
      The memory leak was caused by SVGFontFaceElement storing its own parent in a RefPtr.
      
      Fixed the bug by storing a raw pointer instead, and clearing the pointer in removedFrom
      when the node detached from the document. Also added several sanity check assertions.
      
      * svg/SVGFontFaceElement.cpp:
      (WebCore::SVGFontFaceElement::SVGFontFaceElement):
      (WebCore::SVGFontFaceElement::associatedFontElement):
      (WebCore::SVGFontFaceElement::rebuildFontFace):
      (WebCore::SVGFontFaceElement::insertedInto):
      (WebCore::SVGFontFaceElement::removedFrom):
      * svg/SVGFontFaceElement.h:
      (SVGFontFaceElement):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140698 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      00bac936
    • bfulgham@webkit.org's avatar
      Stipulate build order between WTFGenerated and WTF · 6c344a0a
      bfulgham@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107844
      
      Reviewed by Tim Horton.
      
      * WTF.vcxproj/WTF.vcxproj: Use VS2010 project dependency
      declaration so WTF depends on a completed WTFGenerated build.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140695 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6c344a0a
    • bfulgham@webkit.org's avatar
      Get WTF compiling in VS2010 (32bit) · 4cc70683
      bfulgham@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=106986
      
      Reviewed by Tim Horton.
      
      If you do not have Cygwin in the overall operating system
      PATH, the project will not build.  In VS2005 we had logic
      in the build system to guard against this.  We should
      retain this in the VS2010 work.
      
      Furthermore, VS2010 has a nasty bug where to Visual Studio
      tools path is not defined when performing a 'clean' phase
      on an NMAKE-based build.  This is corrected here as well.
      
      * win/tools/vsprops/common.props: Revise environment setup
      to ensure proper tools are in path during build.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140694 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cc70683
    • robert@webkit.org's avatar
      Inline Containing Only Collapsed Whitespace Not Getting a Linebox · 2b307a73
      robert@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=31397
      
      Reviewed by David Hyatt.
      
      Source/WebCore:
      
      Treat inlines containing only collapsed whitespace as empty. This allows them
      to get a linebox.
      
      Test: fast/inline/inline-containing-collapsed-whitespace-treated-as-empty.html
      
      * dom/Position.cpp:
      (WebCore::boundingBoxLogicalHeight):
      (WebCore):
      (WebCore::Position::hasRenderedNonAnonymousDescendantsWithHeight):
      * rendering/InlineIterator.h:
      (WebCore::isEmptyInline):
      (WebCore):
      (WebCore::bidiNextShared):
      (WebCore::bidiFirstSkippingEmptyInlines):
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::alwaysRequiresLineBox):
      (WebCore::requiresLineBox):
      (WebCore::RenderBlock::LineBreaker::nextSegmentBreak):
      * rendering/RenderText.cpp:
      * rendering/RenderText.h:
      (RenderText):
      
      LayoutTests:
      
      * fast/css/first-letter-capitalized-edit-select-crash-expected.txt:
      * fast/inline/inline-containing-collapsed-whitespace-treated-as-empty-expected.html: Added.
      * fast/inline/inline-containing-collapsed-whitespace-treated-as-empty-vertical-rl-expected.html: Added.
      * fast/inline/inline-containing-collapsed-whitespace-treated-as-empty-vertical-rl.html: Added.
      * fast/inline/inline-containing-collapsed-whitespace-treated-as-empty.html: Added.
      * platform/chromium/TestExpectations:
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/mac/TestExpectations:
      * platform/qt/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140693 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2b307a73
    • christophe.dumez@intel.com's avatar
      [EFL][WK2] Use C API inside ewk_favicon_database · 7d7c2c77
      christophe.dumez@intel.com authored
      https://bugs.webkit.org/show_bug.cgi?id=107680
      
      Reviewed by Kenneth Rohde Christiansen.
      
      Use C API inside ewk_favicon_database instead of
      accessible the C++ classes and violating layering.
      We still rely on some C++ methods but this will be
      addressed later since there is no equivalent in
      the C API and it will require more refactoring.
      
      * UIProcess/API/efl/ewk_context.cpp:
      (EwkContext::ensureFaviconDatabase):
      * UIProcess/API/efl/ewk_favicon_database.cpp:
      (EwkFaviconDatabase::EwkFaviconDatabase):
      (EwkFaviconDatabase::~EwkFaviconDatabase):
      (EwkFaviconDatabase::iconURLForPageURL):
      (EwkFaviconDatabase::iconForPageURL):
      (EwkFaviconDatabase::getIconSurfaceSynchronously):
      (EwkFaviconDatabase::iconDataReadyForPageURL):
      (ewk_favicon_database_async_icon_get):
      * UIProcess/API/efl/ewk_favicon_database_private.h:
      (EwkFaviconDatabase::create):
      (EwkFaviconDatabase):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140692 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d7c2c77
    • commit-queue@webkit.org's avatar
      Web Inspector: expand more chunks in DTE · c0d2b7ab
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107698
      
      Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-01-24
      Reviewed by Pavel Feldman.
      
      Source/WebCore:
      
      Mock DefaultTextEditor visible area as if it is slightly larger than real one and
      do all chunk expandings and repaints based on this new area.
      
      No new tests: no change in behaviour.
      
      * inspector/front-end/DefaultTextEditor.js:
      (WebInspector.TextEditorChunkedPanel.prototype.findVisibleChunks):
      
      LayoutTests:
      
      Correct text expectation as we change amount of expanded chunks.
      
      * inspector/editor/text-editor-selection-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140691 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c0d2b7ab
    • kadam@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardening. Added platform specific expectation after r140174. · 4b0d8a23
      kadam@inf.u-szeged.hu authored
      https://bugs.webkit.org/show_bug.cgi?id=107434.
      
      * platform/qt/TestExpectations:
      * platform/qt/http/tests/cache/cancel-multiple-post-xhrs-expected.txt: Added after r140174.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4b0d8a23
    • kadam@inf.u-szeged.hu's avatar
      [Qt][WK2] Unreviewed gardening. Skip a failing HTML ref test after r140229. · 9509d291
      kadam@inf.u-szeged.hu authored
      https://bugs.webkit.org/show_bug.cgi?id=105390.
      
      * platform/qt-5.0-wk2/TestExpectations:
      * platform/qt-5.0-wk2/compositing/layer-creation/fixed-position-change-out-of-view-in-view-expected.txt: Added after r140593.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9509d291
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · 8b068d1b
      zandobersek@gmail.com authored
      Adding failure expectations for accessibility tests that regressed with r140658.
      
      * platform/gtk/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140687 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b068d1b
    • mikhail.pozdnyakov@intel.com's avatar
      [EFL][WK2] Rename EwkViewImpl class to EwkView · 8f624d84
      mikhail.pozdnyakov@intel.com authored
      https://bugs.webkit.org/show_bug.cgi?id=107719
      
      Reviewed by Andreas Kling.
      
      Rename EwkViewImpl class to EwkView, due to ewk view
      refactoring plan (https://bugs.webkit.org/show_bug.cgi?id=107662#c1).
      
      * PlatformEfl.cmake:
      * UIProcess/API/C/efl/WKView.cpp:
      (WKViewCreate):
      (WKViewCreateWithFixedLayout):
      (WKViewGetPage):
      (WKViewCreateSnapshot):
      * UIProcess/API/efl/EwkView.cpp: Renamed from Source/WebKit2/UIProcess/API/efl/EwkViewImpl.cpp.
      (pageViewMap):
      (EwkView::addToPageViewMap):
      (EwkView::removeFromPageViewMap):
      (EwkView::viewFromPageViewMap):
      (EwkView::EwkView):
      (EwkView::~EwkView):
      (EwkView::smartData):
      (EwkView::fromEvasObject):
      (EwkView::wkPage):
      (EwkView::setCursor):
      (EwkView::setDeviceScaleFactor):
      (EwkView::deviceScaleFactor):
      (EwkView::transformFromScene):
      (EwkView::transformToScene):
      (EwkView::transformToScreen):
      (EwkView::layerTreeRenderer):
      (EwkView::displayTimerFired):
      (EwkView::update):
      (EwkView::enterFullScreen):
      (EwkView::exitFullScreen):
      (EwkView::windowGeometry):
      (EwkView::setWindowGeometry):
      (EwkView::setImageData):
      (EwkView::size):
      (EwkView::isFocused):
      (EwkView::isVisible):
      (EwkView::title):
      (EwkView::inputMethodContext):
      (EwkView::themePath):
      (EwkView::setThemePath):
      (EwkView::customTextEncodingName):
      (EwkView::setCustomTextEncodingName):
      (EwkView::setMouseEventsEnabled):
      (EwkView::setTouchEventsEnabled):
      (EwkView::informIconChange):
      (EwkView::createGLSurface):
      (EwkView::enterAcceleratedCompositingMode):
      (EwkView::exitAcceleratedCompositingMode):
      (EwkView::requestColorPicker):
      (EwkView::dismissColorPicker):
      (EwkView::showContextMenu):
      (EwkView::hideContextMenu):
      (EwkView::requestPopupMenu):
      (EwkView::closePopupMenu):
      (EwkView::requestJSAlertPopup):
      (EwkView::requestJSConfirmPopup):
      (EwkView::requestJSPromptPopup):
      (EwkView::informDatabaseQuotaReached):
      (EwkView::informURLChange):
      (EwkView::windowFeatures):
      (EwkView::createNewPage):
      (EwkView::close):
      (EwkView::onMouseDown):
      (EwkView::onMouseUp):
      (EwkView::onMouseMove):
      (EwkView::feedTouchEvents):
      (EwkView::onTouchDown):
      (EwkView::onTouchUp):
      (EwkView::onTouchMove):
      (EwkView::onFaviconChanged):
      (EwkView::takeSnapshot):
      * UIProcess/API/efl/EwkView.h: Renamed from Source/WebKit2/UIProcess/API/efl/EwkViewImpl.h.
      (WebKit):
      (WebCore):
      (EwkView):
      (EwkView::view):
      (EwkView::page):
      (EwkView::ewkContext):
      (EwkView::settings):
      (EwkView::backForwardList):
      (EwkView::url):
      (EwkView::faviconURL):
      (EwkView::mouseEventsEnabled):
      (EwkView::touchEventsEnabled):
      (EwkView::setNeedsSurfaceResize):
      (EwkView::smartCallback):
      (EwkView::pageClient):
      (EwkView::setPageScaleFactor):
      (EwkView::pageScaleFactor):
      (EwkView::setPagePosition):
      (EwkView::pagePosition):
      (EwkView::isHardwareAccelerated):
      (EwkView::setDrawsBackground):
      (EwkView::evasGLContext):
      (EwkView::evasGLSurface):
      * UIProcess/API/efl/ewk_context_menu.cpp:
      (EwkContextMenu::EwkContextMenu):
      * UIProcess/API/efl/ewk_context_menu_private.h:
      (EwkContextMenu::create):
      (EwkContextMenu):
      * UIProcess/API/efl/ewk_download_job.cpp:
      (EwkDownloadJob::EwkDownloadJob):
      (EwkDownloadJob::view):
      * UIProcess/API/efl/ewk_download_job_private.h:
      (EwkDownloadJob::create):
      (EwkDownloadJob):
      * UIProcess/API/efl/ewk_popup_menu.cpp:
      (EwkPopupMenu::EwkPopupMenu):
      (EwkPopupMenu::close):
      * UIProcess/API/efl/ewk_popup_menu_private.h:
      (EwkPopupMenu::create):
      (EwkPopupMenu):
      * UIProcess/API/efl/ewk_settings.cpp:
      (EwkSettings::preferences):
      * UIProcess/API/efl/ewk_settings_private.h:
      (EwkSettings::create):
      (EwkSettings::EwkSettings):
      (EwkSettings):
      * UIProcess/API/efl/ewk_view.cpp:
      (createEwkView):
      (ewk_view_base_add):
      * UIProcess/API/efl/ewk_view.h:
      * UIProcess/API/efl/ewk_view_private.h:
      * UIProcess/API/efl/ewk_window_features.cpp:
      (EwkWindowFeatures::EwkWindowFeatures):
      (EwkWindowFeatures::setToolbarVisible):
      (EwkWindowFeatures::setStatusBarVisible):
      (EwkWindowFeatures::setMenuBarVisible):
      (EwkWindowFeatures::setResizable):
      * UIProcess/API/efl/ewk_window_features_private.h:
      (EwkWindowFeatures::create):
      (EwkWindowFeatures):
      * UIProcess/cairo/BackingStoreCairo.cpp:
      (WebKit::BackingStore::incorporateUpdate):
      * UIProcess/efl/ContextHistoryClientEfl.cpp:
      (WebKit::ContextHistoryClientEfl::didNavigateWithNavigationData):
      (WebKit::ContextHistoryClientEfl::didPerformClientRedirect):
      (WebKit::ContextHistoryClientEfl::didPerformServerRedirect):
      (WebKit::ContextHistoryClientEfl::didUpdateHistoryTitle):
      * UIProcess/efl/ContextMenuClientEfl.cpp:
      (ContextMenuClientEfl::ContextMenuClientEfl):
      * UIProcess/efl/ContextMenuClientEfl.h:
      (WebKit::ContextMenuClientEfl::create):
      (ContextMenuClientEfl):
      * UIProcess/efl/DownloadManagerEfl.cpp:
      (WebKit::DownloadManagerEfl::decideDestinationWithSuggestedFilename):
      (WebKit::DownloadManagerEfl::didFail):
      (WebKit::DownloadManagerEfl::didCancel):
      (WebKit::DownloadManagerEfl::didFinish):
      (WebKit::DownloadManagerEfl::registerDownload):
      * UIProcess/efl/DownloadManagerEfl.h:
      (DownloadManagerEfl):
      * UIProcess/efl/FindClientEfl.cpp:
      (WebKit::FindClientEfl::didFindString):
      (WebKit::FindClientEfl::didFailToFindString):
      (WebKit::FindClientEfl::FindClientEfl):
      * UIProcess/efl/FindClientEfl.h:
      (WebKit::FindClientEfl::create):
      (FindClientEfl):
      * UIProcess/efl/FormClientEfl.cpp:
      (WebKit::FormClientEfl::willSubmitForm):
      (WebKit::FormClientEfl::FormClientEfl):
      * UIProcess/efl/FormClientEfl.h:
      (WebKit::FormClientEfl::create):
      (FormClientEfl):
      * UIProcess/efl/InputMethodContextEfl.cpp:
      (WebKit::InputMethodContextEfl::InputMethodContextEfl):
      (WebKit::InputMethodContextEfl::onIMFInputSequenceComplete):
      (WebKit::InputMethodContextEfl::onIMFPreeditSequenceChanged):
      (WebKit::InputMethodContextEfl::updateTextInputState):
      * UIProcess/efl/InputMethodContextEfl.h:
      (WebKit::InputMethodContextEfl::create):
      (InputMethodContextEfl):
      * UIProcess/efl/PageClientBase.cpp:
      (WebKit::PageClientBase::PageClientBase):
      (WebKit::PageClientBase::view):
      (WebKit::PageClientBase::createDrawingAreaProxy):
      (WebKit::PageClientBase::setViewNeedsDisplay):
      (WebKit::PageClientBase::viewSize):
      (WebKit::PageClientBase::isViewFocused):
      (WebKit::PageClientBase::isViewVisible):
      (WebKit::PageClientBase::processDidCrash):
      (WebKit::PageClientBase::didRelaunchProcess):
      (WebKit::PageClientBase::toolTipChanged):
      (WebKit::PageClientBase::setCursor):
      (WebKit::PageClientBase::createPopupMenuProxy):
      (WebKit::PageClientBase::createContextMenuProxy):
      (WebKit::PageClientBase::enterAcceleratedCompositingMode):
      (WebKit::PageClientBase::exitAcceleratedCompositingMode):
      (WebKit::PageClientBase::updateTextInputState):
      (WebKit::PageClientBase::handleDownloadRequest):
      * UIProcess/efl/PageClientBase.h:
      (PageClientBase):
      * UIProcess/efl/PageClientDefaultImpl.cpp:
      (WebKit::PageClientDefaultImpl::PageClientDefaultImpl):
      (WebKit::PageClientDefaultImpl::updateViewportSize):
      (WebKit::PageClientDefaultImpl::convertToDeviceSpace):
      (WebKit::PageClientDefaultImpl::convertToUserSpace):
      (WebKit::PageClientDefaultImpl::didChangeContentsSize):
      * UIProcess/efl/PageClientDefaultImpl.h:
      (WebKit::PageClientDefaultImpl::create):
      (PageClientDefaultImpl):
      * UIProcess/efl/PageClientLegacyImpl.cpp:
      (WebKit::PageClientLegacyImpl::PageClientLegacyImpl):
      (WebKit::PageClientLegacyImpl::didCommitLoad):
      (WebKit::PageClientLegacyImpl::updateViewportSize):
      (WebKit::PageClientLegacyImpl::didChangeViewportProperties):
      (WebKit::PageClientLegacyImpl::didChangeContentsSize):
      (WebKit::PageClientLegacyImpl::pageDidRequestScroll):
      (WebKit::PageClientLegacyImpl::didRenderFrame):
      (WebKit::PageClientLegacyImpl::pageTransitionViewportReady):
      * UIProcess/efl/PageClientLegacyImpl.h:
      (WebKit::PageClientLegacyImpl::create):
      (PageClientLegacyImpl):
      * UIProcess/efl/PageLoadClientEfl.cpp:
      (WebKit::PageLoadClientEfl::didReceiveTitleForFrame):
      (WebKit::PageLoadClientEfl::didReceiveIntentForFrame):
      (WebKit::PageLoadClientEfl::registerIntentServiceForFrame):
      (WebKit::PageLoadClientEfl::didChangeProgress):
      (WebKit::PageLoadClientEfl::didFinishLoadForFrame):
      (WebKit::PageLoadClientEfl::didFailLoadWithErrorForFrame):
      (WebKit::PageLoadClientEfl::didStartProvisionalLoadForFrame):
      (WebKit::PageLoadClientEfl::didReceiveServerRedirectForProvisionalLoadForFrame):
      (WebKit::PageLoadClientEfl::didFailProvisionalLoadWithErrorForFrame):
      (WebKit::PageLoadClientEfl::didCommitLoadForFrame):
      (WebKit::PageLoadClientEfl::didChangeBackForwardList):
      (WebKit::PageLoadClientEfl::didSameDocumentNavigationForFrame):
      (WebKit::PageLoadClientEfl::didReceiveAuthenticationChallengeInFrame):
      (WebKit::PageLoadClientEfl::PageLoadClientEfl):
      * UIProcess/efl/PageLoadClientEfl.h:
      (WebKit::PageLoadClientEfl::create):
      (PageLoadClientEfl):
      (WebKit::PageLoadClientEfl::view):
      * UIProcess/efl/PagePolicyClientEfl.cpp:
      (WebKit::PagePolicyClientEfl::decidePolicyForNavigationAction):
      (WebKit::PagePolicyClientEfl::decidePolicyForNewWindowAction):
      (WebKit::PagePolicyClientEfl::PagePolicyClientEfl):
      * UIProcess/efl/PagePolicyClientEfl.h:
      (WebKit::PagePolicyClientEfl::create):
      (PagePolicyClientEfl):
      * UIProcess/efl/PageUIClientEfl.cpp:
      (WebKit::PageUIClientEfl::PageUIClientEfl):
      (WebKit::PageUIClientEfl::close):
      (WebKit::PageUIClientEfl::takeFocus):
      (WebKit::PageUIClientEfl::focus):
      (WebKit::PageUIClientEfl::unfocus):
      (WebKit::PageUIClientEfl::runJavaScriptAlert):
      (WebKit::PageUIClientEfl::runJavaScriptConfirm):
      (WebKit::PageUIClientEfl::runJavaScriptPrompt):
      (WebKit::PageUIClientEfl::toolbarsAreVisible):
      (WebKit::PageUIClientEfl::setToolbarsAreVisible):
      (WebKit::PageUIClientEfl::menuBarIsVisible):
      (WebKit::PageUIClientEfl::setMenuBarIsVisible):
      (WebKit::PageUIClientEfl::statusBarIsVisible):
      (WebKit::PageUIClientEfl::setStatusBarIsVisible):
      (WebKit::PageUIClientEfl::isResizable):
      (WebKit::PageUIClientEfl::setIsResizable):
      (WebKit::PageUIClientEfl::getWindowFrame):
      (WebKit::PageUIClientEfl::setWindowFrame):
      (WebKit::PageUIClientEfl::exceededDatabaseQuota):
      (WebKit::PageUIClientEfl::runOpenPanel):
      (WebKit::PageUIClientEfl::createNewPage):
      (WebKit::PageUIClientEfl::showColorPicker):
      (WebKit::PageUIClientEfl::hideColorPicker):
      * UIProcess/efl/PageUIClientEfl.h:
      (WebKit::PageUIClientEfl::create):
      (PageUIClientEfl):
      * UIProcess/efl/PageViewportControllerClientEfl.cpp:
      (WebKit::PageViewportControllerClientEfl::PageViewportControllerClientEfl):
      (WebKit::PageViewportControllerClientEfl::drawingArea):
      (WebKit::PageViewportControllerClientEfl::updateViewportSize):
      (WebKit::PageViewportControllerClientEfl::didChangeContentsSize):
      (WebKit::PageViewportControllerClientEfl::setViewportPosition):
      (WebKit::PageViewportControllerClientEfl::setPageScaleFactor):
      (WebKit::PageViewportControllerClientEfl::didResumeContent):
      (WebKit::PageViewportControllerClientEfl::didChangeVisibleContents):
      * UIProcess/efl/PageViewportControllerClientEfl.h:
      (WebKit::PageViewportControllerClientEfl::create):
      (PageViewportControllerClientEfl):
      * UIProcess/efl/VibrationClientEfl.cpp:
      (VibrationClientEfl::vibrateCallback):
      (VibrationClientEfl::cancelVibrationCallback):
      (VibrationClientEfl::create):
      (VibrationClientEfl::VibrationClientEfl):
      (VibrationClientEfl::~VibrationClientEfl):
      * UIProcess/efl/VibrationClientEfl.h:
      (VibrationClientEfl):
      * UIProcess/efl/WebContextMenuProxyEfl.cpp:
      (WebKit::WebContextMenuProxyEfl::WebContextMenuProxyEfl):
      (WebKit::WebContextMenuProxyEfl::showContextMenu):
      (WebKit::WebContextMenuProxyEfl::hideContextMenu):
      * UIProcess/efl/WebContextMenuProxyEfl.h:
      (WebKit::WebContextMenuProxyEfl::create):
      (WebContextMenuProxyEfl):
      * UIProcess/efl/WebFullScreenManagerProxyEfl.cpp:
      (WebKit::WebFullScreenManagerProxy::enterFullScreen):
      (WebKit::WebFullScreenManagerProxy::exitFullScreen):
      * UIProcess/efl/WebInspectorProxyEfl.cpp:
      (WebKit::WebInspectorProxy::platformCreateInspectorPage):
      * UIProcess/efl/WebPageProxyEfl.cpp:
      (WebKit::WebPageProxy::viewWidget):
      * UIProcess/efl/WebPopupMenuProxyEfl.cpp:
      (WebKit::WebPopupMenuProxyEfl::WebPopupMenuProxyEfl):
      (WebKit::WebPopupMenuProxyEfl::showPopupMenu):
      (WebKit::WebPopupMenuProxyEfl::hidePopupMenu):
      * UIProcess/efl/WebPopupMenuProxyEfl.h:
      (WebKit::WebPopupMenuProxyEfl::create):
      (WebPopupMenuProxyEfl):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140686 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8f624d84
    • commit-queue@webkit.org's avatar
      [GStreamer] Implement setPreservesPitch() · f00f182c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=31155
      
      Enables audio pitch preservation by using the scaletempo GStreamer
      element when required by the MediaPlayer.
      
      Patch by Victor Jaquez <vjaquez@igalia.com> on 2013-01-24
      Reviewed by Philippe Normand.
      
      No new tests, but a layout test shall be implemented at some point
      using WebAudio API.
      
      * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
      (WebCore::MediaPlayerPrivateGStreamer::setPreservesPitch):
      (WebCore):
      * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
      (MediaPlayerPrivateGStreamer):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f00f182c
    • abecsi@webkit.org's avatar
      Remove nonexistent header from WebKit2/Target.pri · 4e770652
      abecsi@webkit.org authored
      Unreviewed cleanup after r139919.
      
      * Target.pri:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140684 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e770652
    • commit-queue@webkit.org's avatar
      Removing deleted files from WebCore/Target.pri after r140399. · 5f84f0f6
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107815
      
      Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2013-01-24
      Reviewed by Csaba Osztrogonác.
      
      * Target.pri:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f84f0f6
    • commit-queue@webkit.org's avatar
      [BlackBerry] It can't Select texts in main frame when the current focus is in a IFrame · cf66a7ea
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107773
      
      Patch by Sean Wang <Xuewen.Wang@torchmobile.com.cn> on 2013-01-24
      Reviewed by Antonio Gomes.
      
      PR285211 Internally reviewed by Genevieve Mak
      
      When touch hold in the unfocused frame, it doesn't switch frame focus. Many
      places in code depends on the webpage->forcusOrMainFrame(), including the
      SelectionHandler, so it can't select in an unfocused frame. This patch switchs
      frame focus when touch starts.
      
      * WebKitSupport/TouchEventHandler.cpp:
      (BlackBerry::WebKit::TouchEventHandler::doFatFingers):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf66a7ea
    • mrobinson@webkit.org's avatar
      Try to fix the Qt Windows build · b137172a
      mrobinson@webkit.org authored
      * xml/parser/XMLDocumentParserQt.cpp:
      (WebCore::decodeNamedEntity): Use a reinterpret_cast to const QChar* like StringQt.cpp.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b137172a
    • aandrey@chromium.org's avatar
      Web Inspector: [Canvas] REGRESSION: stack traces in the replay log are gone · af9d57b5
      aandrey@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107805
      
      Reviewed by Pavel Feldman.
      
      Source/WebCore:
      
      The V8's Error.prepareStackTrace is now called from the Error.captureStackTrace
      function instead of the "stack" getter function.
      
      Test: inspector/profiler/canvas2d/canvas-stack-trace.html
      
      * inspector/InjectedScriptCanvasModuleSource.js:
      (.):
      
      LayoutTests:
      
      A simple test to dump a canvas 2D trace log with function call stack traces.
      
      * inspector/profiler/canvas-profiler-test.js:
      (initialize_CanvasWebGLProfilerTest.):
      (initialize_CanvasWebGLProfilerTest.InspectorTest.dumpTraceLog):
      * inspector/profiler/canvas2d/canvas-stack-trace-expected.txt: Added.
      * inspector/profiler/canvas2d/canvas-stack-trace.html: Added.
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/mac/TestExpectations:
      * platform/qt/TestExpectations:
      * platform/win/TestExpectations:
      * platform/wincairo/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af9d57b5
    • aandrey@chromium.org's avatar
      Web Inspector: [Canvas] UI: add a selector to capture a single canvas frame vs consecutive frames · 67df93b3
      aandrey@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107688
      
      Reviewed by Pavel Feldman.
      
      Allow capturing several canvas frames in a row.
      
      * English.lproj/localizedStrings.js:
      * inspector/InjectedScriptCanvasModule.cpp:
      (WebCore::InjectedScriptCanvasModule::traceLog):
      * inspector/InjectedScriptCanvasModule.h:
      (InjectedScriptCanvasModule):
      * inspector/InjectedScriptCanvasModuleSource.js:
      (.):
      * inspector/Inspector.json:
      * inspector/InspectorCanvasAgent.cpp:
      (WebCore::InspectorCanvasAgent::getTraceLog):
      * inspector/InspectorCanvasAgent.h:
      (InspectorCanvasAgent):
      * inspector/front-end/CanvasProfileView.js:
      (WebInspector.CanvasProfileView):
      (WebInspector.CanvasProfileView.prototype._didReceiveTraceLog):
      (WebInspector.CanvasProfileView.prototype._requestTraceLog):
      (WebInspector.CanvasProfileType):
      (WebInspector.CanvasProfileType.prototype.get statusBarItems):
      (WebInspector.CanvasProfileType.prototype.get buttonTooltip):
      (WebInspector.CanvasProfileType.prototype.buttonClicked):
      (WebInspector.CanvasProfileType.prototype._runSingleFrameCapturing):
      (WebInspector.CanvasProfileType.prototype._startFrameCapturing):
      (WebInspector.CanvasProfileType.prototype._stopFrameCapturing.didStopCapturing):
      (WebInspector.CanvasProfileType.prototype._stopFrameCapturing):
      (WebInspector.CanvasProfileType.prototype._didStartCapturingFrame):
      (WebInspector.CanvasProfileType.prototype.setRecordingProfile):
      (WebInspector.CanvasProfileType.prototype._isSingleFrameMode):
      (WebInspector.CanvasProfileHeader):
      (WebInspector.CanvasProfileHeader.prototype._updateCapturingStatus):
      (WebInspector.CanvasProfileHeader.prototype._requestCapturingStatus):
      * inspector/front-end/ProfileLauncherView.js:
      (WebInspector.ProfileLauncherView):
      * inspector/front-end/ProfilesPanel.js:
      (WebInspector.ProfileType.prototype.get statusBarItems):
      (WebInspector.ProfilesPanel):
      (WebInspector.ProfilesPanel.prototype.get statusBarItems):
      (WebInspector.ProfilesPanel.prototype._onProfileTypeSelected):
      (WebInspector.ProfilesPanel.prototype._reset):
      (WebInspector.ProfilesPanel.prototype._showLauncherView):
      (WebInspector.ProfilesPanel.prototype.showProfile):
      (WebInspector.ProfilesPanel.prototype._updateInterface):
      (WebInspector.ProfilesPanel.prototype._resize):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      67df93b3
    • akling@apple.com's avatar
      Add CSSSelectorList::isValid(). · b3b891b1
      akling@apple.com authored
      <http://webkit.org/b/107809>
      
      Reviewed by Antti Koivisto.
      
      Add an isValid() method to CSSSelectorList and use that where applicable instead of checking
      if first() is a null pointer.
      
      * css/CSSPageRule.cpp:
      (WebCore::CSSPageRule::setSelectorText):
      * css/CSSSelectorList.cpp:
      * css/CSSSelectorList.h:
      (WebCore::CSSSelectorList::isValid):
      (WebCore::CSSSelectorList::first):
      (CSSSelectorList):
      * css/CSSStyleRule.cpp:
      (WebCore::CSSStyleRule::setSelectorText):
      * html/shadow/HTMLContentElement.cpp:
      (WebCore::HTMLContentElement::validateSelect):
      * inspector/InspectorStyleSheet.cpp:
      (WebCore::checkStyleRuleSelector):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140677 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b3b891b1
    • michael.bruning@digia.com's avatar
      [Qt][WK2] Pages / resources cannot be loaded from qrc files. · 44c1e1e8
      michael.bruning@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=107031
      
      Reviewed by Jocelyn Turcotte.
      
      Enables WebKit2 Qt applications to load files from the bundled
      qrc files. This is achieved by adding a url scheme handler for
      the "qrc" scheme using the application scheme handler and ignoring
      all handlers for the qrc application scheme that the application might
      set.
      
      * UIProcess/API/qt/qquickurlschemedelegate.cpp:
      (QQuickQrcSchemeDelegate::QQuickQrcSchemeDelegate):
      (QQuickQrcSchemeDelegate::readResourceAndSend):
      * UIProcess/API/qt/qquickurlschemedelegate_p.h:
      (QQuickQrcSchemeDelegate):
      * UIProcess/API/qt/qquickwebview.cpp:
      (QQuickWebViewPrivate::initialize):
      (QQuickWebViewExperimental::schemeDelegates_Append):
      (QQuickWebViewExperimental::invokeApplicationSchemeHandler):
      * UIProcess/API/qt/tests/qmltests/WebView/tst_applicationScheme.qml:
      * UIProcess/API/qt/tests/qmltests/common/qrctest.html: Added.
      * UIProcess/API/qt/tests/qmltests/resources.qrc:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      44c1e1e8
    • michael.bruning@digia.com's avatar
      [Qt] Webkit debug build links against release binaries of ANGLE libEGL, libGLESv2 · a2cc5ff5
      michael.bruning@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106217
      
      Patch by Kai Koehne <kai.koehne@digia.com> on 2013-01-24
      Reviewed by Jocelyn Turcotte.
      
      Use libEGLd, libEGLSv2d if qtbase was compiled with ANGLE.
      
      * WebCore.pri: Mirror logic of qtbase\mkspecs\features\win32\opengl.prf
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140675 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a2cc5ff5
    • commit-queue@webkit.org's avatar
      Adding "has-landed" command to webkit-patch which compares a · 336ec42a
      commit-queue@webkit.org authored
      committed patch to the changes which exist locally (ignoring the
      ChangeLog file).
      
      https://bugs.webkit.org/show_bug.cgi?id=106402
      
      Patch by Tim 'mithro' Ansell <mithro@mithis.com> on 2013-01-24
      Reviewed by Eric Seidel.
      
      * Scripts/webkitpy/common/checkout/diff_parser.py:
      (git_diff_to_svn_diff):
      * Scripts/webkitpy/common/net/bugzilla/bug.py:
      (Bug.commit_revision):
      * Scripts/webkitpy/common/net/bugzilla/bug_unittest.py:
      (BugTest.test_is_in_comments):
      (BugTest):
      (BugTest.test_commit_revision):
      * Scripts/webkitpy/tool/commands/upload.py:
      (HasLanded):
      * Scripts/webkitpy/tool/steps/__init__.py:
      * Scripts/webkitpy/tool/steps/haslanded.py: Added.
      (HasLanded):
      (HasLanded.convert_to_svn):
      (HasLanded.strip_change_log):
      (run):
      
      * Scripts/webkitpy/common/net/bugzilla/bug.py:
      (Bug.commit_revision):
      * Scripts/webkitpy/common/net/bugzilla/bug_unittest.py:
      (BugTest.test_is_in_comments):
      (BugTest):
      (BugTest.test_commit_revision):
      * Scripts/webkitpy/tool/commands/upload.py:
      (HasLanded):
      * Scripts/webkitpy/tool/steps/__init__.py:
      * Scripts/webkitpy/tool/steps/haslanded.py: Added.
      (HasLanded):
      (HasLanded.convert_to_svn):
      (HasLanded.strip_change_log):
      (HasLanded.diff_diff):
      (HasLanded.run):
      * Scripts/webkitpy/tool/steps/haslanded_unittest.py: Added.
      (HasLandedTest):
      (HasLandedTest.test_run):
      (test_convert_to_svn_and_strip_change_log):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140674 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      336ec42a
    • alexis@webkit.org's avatar
      Unreviewed cleanup of comments and a commented test. · a129f181
      alexis@webkit.org authored
      * transitions/transitions-parsing.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a129f181
    • sergio@webkit.org's avatar
      [GTK] Unreviewed build fix. · f6ff1168
      sergio@webkit.org authored
      Do not include the header file WebKitDOMPerformanceEntryList.h in
      the build sources because we do not want the DOM bindings
      generator to include it in webkitdomdefes.h twice.
      
      * bindings/gobject/GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f6ff1168
    • commit-queue@webkit.org's avatar
      Fix Qt build (KO since r140610), typo error for QString::fromUtf16 function. · 966da665
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107803
      
      Patch by Julien BRIANCEAU <jbrianceau@nds.com> on 2013-01-24
      Reviewed by Andreas Kling.
      
      * xml/parser/XMLDocumentParserQt.cpp:
      (WebCore::decodeNamedEntity):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      966da665
    • zandobersek@gmail.com's avatar
      Unreviewed gardening. · 5e03549f
      zandobersek@gmail.com authored
      Removing failure expectations for the ietestcenter/css3/valuesandunits/units-010.htm
      layout test. It was fixed in r140300.
      
      * platform/chromium/TestExpectations:
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/mac/TestExpectations:
      * platform/qt-4.8/TestExpectations:
      * platform/qt-mac/TestExpectations:
      * platform/qt/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5e03549f
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · 35a25d49
      zandobersek@gmail.com authored
      Classifying some IndexedDB failures as flaky.
      Removing the expectation for the passing fast/forms/text-input-event.html test.
      
      * platform/gtk/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      35a25d49
    • commit-queue@webkit.org's avatar
      [chromium] move most WebViewHost printf calls to WebTestProxy · 6ae1c599
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107553
      
      Patch by Dan Carney <dcarney@google.com> on 2013-01-24
      Reviewed by Jochen Eisinger.
      
      * DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h:
      (WebKit):
      (WebTestProxyBase):
      (WebTestRunner::WebTestProxy::unableToImplementPolicyWithError):
      (WebTestRunner::WebTestProxy::didAddMessageToConsole):
      (WebTestRunner::WebTestProxy::runModalAlertDialog):
      (WebTestRunner::WebTestProxy::runModalConfirmDialog):
      (WebTestRunner::WebTestProxy::runModalPromptDialog):
      (WebTestRunner::WebTestProxy::runModalBeforeUnloadDialog):
      * DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp:
      (WebTestRunner::WebTestProxyBase::WebTestProxyBase):
      (WebTestRunner::WebTestProxyBase::reset):
      (WebTestRunner::WebTestProxyBase::setLogConsoleOutput):
      (WebTestRunner):
      (WebTestRunner::WebTestProxyBase::unableToImplementPolicyWithError):
      (WebTestRunner::WebTestProxyBase::didAddMessageToConsole):
      (WebTestRunner::WebTestProxyBase::runModalAlertDialog):
      (WebTestRunner::WebTestProxyBase::runModalConfirmDialog):
      (WebTestRunner::WebTestProxyBase::runModalPromptDialog):
      (WebTestRunner::WebTestProxyBase::runModalBeforeUnloadDialog):
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::showDevTools):
      * DumpRenderTree/chromium/WebViewHost.cpp:
      (WebViewHost::didAddMessageToConsole):
      (WebViewHost::runModalAlertDialog):
      (WebViewHost::runModalConfirmDialog):
      (WebViewHost::runModalPromptDialog):
      (WebViewHost::runModalBeforeUnloadDialog):
      (WebViewHost::unableToImplementPolicyWithError):
      (WebViewHost::reset):
      * DumpRenderTree/chromium/WebViewHost.h:
      (WebViewHost):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ae1c599
    • commit-queue@webkit.org's avatar
      [EFL][WK2] Expose accessibility hierarchy in WebKit2-EFL. · 358e4267
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=106216
      
      Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-01-24
      Reviewed by Andreas Kling.
      
      Create WebPage's accessibility object on WebPage initialization.
      Wrap around WebCore's accessibility objects.
      Updating accessibility hierarchy. Expands accessibility implementation
      of WebKit-GTK to be used in EFL.
      
      * PlatformEfl.cmake:
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld):
      * WebProcess/WebPage/WebPage.h:
      (WebPage):
      * WebProcess/WebPage/atk/WebPageAccessibilityObjectAtk.cpp:
      (webPageAccessibilityObjectGetIndexInParent):
      (web_page_accessibility_object_init):
      * WebProcess/WebPage/efl/WebPageEfl.cpp:
      (WebKit::WebPage::platformInitialize):
      (WebKit):
      (WebKit::WebPage::updateAccessibilityTree):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      358e4267
    • pfeldman@chromium.org's avatar
      Web Inspector: breakpoints are not restored upon reload for scripts with script mapping. · ecbafade
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107799
      
      Source/WebCore:
      
      The problem is that source mapping is set after UISourceCode gets into the workspace.
      Breakpoint manager will now only restore breakpoints upon setting the source maps.
      
      Reviewed by Alexander Pavlov.
      
      * inspector/front-end/BreakpointManager.js:
      (WebInspector.BreakpointManager.prototype._uiSourceCodeAdded):
      (WebInspector.BreakpointManager.prototype._uiSourceCodeMappingChanged):
      * inspector/front-end/CompilerScriptMapping.js:
      (WebInspector.CompilerScriptMapping.prototype.get addScript.get this):
      (WebInspector.CompilerScriptMapping.prototype.get addScript):
      
      LayoutTests:
      
      Reviewed by Alexander Pavlov.
      
      * inspector/debugger/breakpoint-manager.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ecbafade
    • tkent@chromium.org's avatar
      Refactoring: Use AtomicString for an InputType::create argument · aaba4941
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107791
      
      Reviewed by Kentaro Hara.
      
      A string passed to InputType::create is a 'type' attribute value, which
      is an AtomicString. Also, InputTypeFactoryMap is created with members of
      InputTypeName, which are AtomicStrings. We had better use AtomicStrings
      for them.
      
      No new tests. This is just a refactoring.
      
      * html/InputType.cpp:
      Change the key type of InputTypeFactoryMap from String to AtomicString.
      (WebCore::InputType::create):
      Change an argument type from const String& to const AtomicString&.
      * html/InputType.h:
      (InputType): Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aaba4941
    • mihnea@adobe.com's avatar
      [CSSRegions] Add test cases for auto-size regions and window resize · 3db308dd
      mihnea@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=107686
      
      Reviewed by Tony Chang.
      
      The fix for https://bugs.webkit.org/show_bug.cgi?id=102954 also solved
      https://bugs.webkit.org/show_bug.cgi?id=102221. This patch adds two tests
      for webkit bug 102221.
      
      * fast/regions/autosize-region-container-resize-expected.html: Added.
      * fast/regions/autosize-region-container-resize.html: Added.
      * fast/regions/autosize-region-window-resize-expected.html: Added.
      * fast/regions/autosize-region-window-resize.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3db308dd
    • commit-queue@webkit.org's avatar
      [CSSRegions] remove setExperimentalCSSRegionsEnabled deprecated API in... · 3defb9e8
      commit-queue@webkit.org authored
      [CSSRegions] remove setExperimentalCSSRegionsEnabled deprecated API in Source/WebKit/chromium/public/WebSettings.h
      https://bugs.webkit.org/show_bug.cgi?id=104564
      
      Patch by Mihai Maerean <mmaerean@adobe.com> on 2013-01-24
      Reviewed by Adam Barth.
      
      Fixing bug 101192 has deprecated the use of setExperimentalCSSRegionsEnabled.
      After http://code.google.com/p/chromium/issues/detail?id=164162 , setExperimentalCSSRegionsEnabled is no longer used anywhere.
      
      * public/WebSettings.h:
      removed setExperimentalCSSRegionsEnabled.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3defb9e8
    • commit-queue@webkit.org's avatar
      [CMake] Remove the definition of WTF_PLATFORM_WIN from the build system · 4f2fb8f4
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101635
      
      Patch by Soo-Hyun Choi <s.choi@hackerslab.eu> on 2013-01-24
      Reviewed by Laszlo Gombos.
      
      WTF_PLATFORM_WIN defined twice: Source/cmake/OptionsWindows.cmake and in
      Source/WTF/wtf/Platform.h.
      It would be more future-proof to have it only defined in common C++ code in
      Platform.h.
      
      * Source/cmake/OptionsWindows.cmake:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f2fb8f4
    • haraken@chromium.org's avatar
      Unreviewed. Build fix. · 9657934f
      haraken@chromium.org authored
      * bindings/v8/V8DOMWrapper.cpp:
      (WebCore::V8DOMWrapper::isDOMWrapper):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9657934f
    • akling@apple.com's avatar
      AX: Fix the debug build after r140658. (Constructor initializer order.) · 25c9657f
      akling@apple.com authored
      * accessibility/AccessibilityNodeObject.cpp:
      (WebCore::AccessibilityNodeObject::AccessibilityNodeObject):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25c9657f
    • morrita@google.com's avatar
      There are a few of wrong removeAllChildren() call · 8b92e0f8
      morrita@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=107790
      
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore:
      
      removeAllChildren() is designed for trashing deleting children out.
      It doesn't detach() children and could have possible leak.
      This change replaces such removeAllChildren() usage with safer removeChildren().
      
      No new tests. Covered by existing tests.
      
      * html/HTMLInputElement.cpp:
      (WebCore::HTMLInputElement::parseAttribute):
      * html/InputType.cpp:
      (WebCore::InputType::destroyShadowSubtree):
      * html/ValidationMessage.cpp:
      (WebCore::ValidationMessage::setMessageDOMAndStartTimer):
      * html/parser/HTMLTreeBuilder.cpp:
      (WebCore::HTMLTreeBuilder::processEndTag):
      
      Source/WebKit/qt:
      
      * Api/qwebelement.cpp: Repalced removeAllChildren() with safer removeChildren()
      (QWebElement::removeAllChildren):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140659 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b92e0f8
    • dmazzoni@google.com's avatar
      AX: should init an AXObject only after AXObjectCache has added it · 36019066
      dmazzoni@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=107533
      
      Reviewed by Chris Fleizach.
      
      Source/WebCore:
      
      Initialize each AXObject after the AXObjectCache has
      finished adding it to its hash maps, so that it's
      impossible for initialization of an AXObject to result in
      exploring the tree and creating another AXObject instance
      that points to the same renderer / node.
      
      Test: accessibility/duplicate-axrenderobject-crash.html
      
      * accessibility/AXObjectCache.cpp:
      (WebCore::AXObjectCache::getOrCreate):
      * accessibility/AccessibilityARIAGrid.cpp:
      (WebCore::AccessibilityARIAGrid::create):
      * accessibility/AccessibilityARIAGridCell.cpp:
      (WebCore::AccessibilityARIAGridCell::create):
      * accessibility/AccessibilityARIAGridRow.cpp:
      (WebCore::AccessibilityARIAGridRow::create):
      * accessibility/AccessibilityList.cpp:
      (WebCore::AccessibilityList::create):
      * accessibility/AccessibilityListBox.cpp:
      (WebCore::AccessibilityListBox::create):
      * accessibility/AccessibilityMediaControls.cpp:
      (WebCore::AccessibilityMediaControl::create):
      (WebCore::AccessibilityMediaControlsContainer::create):
      (WebCore::AccessibilityMediaTimeline::create):
      (WebCore::AccessibilityMediaTimeDisplay::create):
      * accessibility/AccessibilityMenuList.cpp:
      (WebCore::AccessibilityMenuList::create):
      * accessibility/AccessibilityNodeObject.cpp:
      (WebCore::AccessibilityNodeObject::create):
      * accessibility/AccessibilityObject.h:
      (WebCore::AccessibilityObject::init):
      (AccessibilityObject):
      * accessibility/AccessibilityProgressIndicator.cpp:
      (WebCore::AccessibilityProgressIndicator::create):
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::create):
      (WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
          assert that the object has been initialized
      * accessibility/AccessibilitySVGRoot.cpp:
      (WebCore::AccessibilitySVGRoot::create):
      * accessibility/AccessibilitySlider.cpp:
      (WebCore::AccessibilitySlider::create):
      * accessibility/AccessibilityTable.cpp:
      (WebCore::AccessibilityTable::create):
      * accessibility/AccessibilityTableCell.cpp:
      (WebCore::AccessibilityTableCell::create):
      * accessibility/AccessibilityTableRow.cpp:
      (WebCore::AccessibilityTableRow::create):
      
      LayoutTests:
      
      Adds a new test that demonstrates a crash if an AXObject
      initializes itself before the AXObjectCache has added it to
      the cache.
      
      * accessibility/duplicate-axrenderobject-crash-expected.txt: Added.
      * accessibility/duplicate-axrenderobject-crash.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      36019066
    • haraken@chromium.org's avatar
      Implement MouseEvent constructor · c39399e6
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107630
      
      Reviewed by Adam Barth.
      
      Spec: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm
      
      Source/WebCore:
      
      The MouseEvent constructor should be implemented under a DOM4_EVENTS_CONSTRUCTOR flag.
      This significantly simplifies JavaScript code to construct a MouseEvent.
      
      Before:
        event = document.createEvent("MouseEvents");
        event.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
      
      After:
        event = new MouseEvent("click");
      
      Test: fast/events/constructors/mouse-event-constructor.html
      
      * bindings/scripts/CodeGenerator.pm:
      (IsSubType):
      (IsInheritExtendedAttribute):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateHeader):
      (GenerateNamedConstructorCallback):
      (GenerateImplementation):
      * bindings/scripts/test/V8/V8Float64Array.cpp:
      (WebCore):
      (WebCore::V8Float64Array::createWrapper):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
      (WebCore):
      (WebCore::V8TestActiveDOMObject::createWrapper):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
      (WebCore):
      (WebCore::V8TestCustomNamedGetter::createWrapper):
      * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
      (WebCore):
      (WebCore::V8TestEventConstructor::createWrapper):
      * bindings/scripts/test/V8/V8TestEventTarget.cpp:
      (WebCore):
      (WebCore::V8TestEventTarget::toEventTarget):
      (WebCore::V8TestEventTarget::createWrapper):
      * bindings/scripts/test/V8/V8TestEventTarget.h:
      (V8TestEventTarget):
      * bindings/scripts/test/V8/V8TestException.cpp:
      (WebCore):
      (WebCore::V8TestException::createWrapper):
      * bindings/scripts/test/V8/V8TestInterface.cpp:
      (WebCore):
      (WebCore::V8TestInterface::toActiveDOMObject):
      (WebCore::V8TestInterface::createWrapper):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
      (WebCore):
      (WebCore::V8TestMediaQueryListListener::createWrapper):
      * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
      (WebCore):
      (WebCore::V8TestNamedConstructor::toActiveDOMObject):
      (WebCore::V8TestNamedConstructor::createWrapper):
      * bindings/scripts/test/V8/V8TestNode.cpp:
      (WebCore):
      (WebCore::V8TestNode::toEventTarget):
      (WebCore::V8TestNode::createWrapper):
      * bindings/scripts/test/V8/V8TestNode.h:
      (V8TestNode):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore):
      (WebCore::V8TestObj::createWrapper):
      * bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
      (WebCore):
      (WebCore::V8TestOverloadedConstructors::createWrapper):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
      (WebCore):
      (WebCore::V8TestSerializedScriptValueInterface::createWrapper):
      * bindings/v8/Dictionary.cpp:
      (WebCore::Dictionary::get):
      (WebCore):
      * bindings/v8/Dictionary.h:
      (Dictionary):
      * bindings/v8/NPV8Object.cpp:
      (WebCore::npObjectTypeInfo):
      * bindings/v8/V8DOMWrapper.cpp:
      (WebCore::V8DOMWrapper::isDOMWrapper):
      (WebCore):
      * bindings/v8/V8DOMWrapper.h:
      (V8DOMWrapper):
      * bindings/v8/WrapperTypeInfo.h:
      (WebCore):
      (WebCore::WrapperTypeInfo::toEventTarget):
      (WrapperTypeInfo):
      * bindings/v8/custom/V8HTMLImageElementConstructor.cpp:
      (WebCore):
      * dom/MouseEvent.cpp:
      (WebCore::MouseEventInit::MouseEventInit):
      (WebCore):
      (WebCore::MouseEvent::create):
      (WebCore::MouseEvent::MouseEvent):
      * dom/MouseEvent.h:
      (MouseEventInit):
      (WebCore):
      (MouseEvent):
      (WebCore::MouseEvent::create):
      (WebCore::MouseEvent::button):
      (WebCore::MouseEvent::buttonDown):
      (WebCore::MouseEvent::relatedTarget):
      (WebCore::MouseEvent::setRelatedTarget):
      (WebCore::MouseEvent::clipboard):
      (WebCore::MouseEvent::dataTransfer):
      * dom/MouseEvent.idl:
      
      LayoutTests:
      
      The MouseEvent constructor should be implemented under a DOM4_EVENTS_CONSTRUCTOR flag.
      
      * fast/dom/constructed-objects-prototypes-expected.txt:
      * fast/dom/dom-constructors-expected.txt:
      * fast/dom/dom-constructors.html:
      * fast/events/constructors/mouse-event-constructor-expected.txt: Added.
      * fast/events/constructors/mouse-event-constructor.html: Added.
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/qt/TestExpectations:
      * platform/win/TestExpectations:
      * platform/wincairo/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c39399e6
    • gyuyoung.kim@samsung.com's avatar
      [EFL] Unreviewed build fix after r140605 · 37f9d1bb
      gyuyoung.kim@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=107787
      
      Unreviewed build fix.
      
      Build break after r140605.
      
      Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-01-23
      
      * UIProcess/WebBatteryManagerProxy.cpp:
      * UIProcess/WebBatteryManagerProxy.h:
      (WebBatteryManagerProxy):
      * UIProcess/WebNetworkInfoManagerProxy.cpp:
      * UIProcess/WebNetworkInfoManagerProxy.h:
      (WebNetworkInfoManagerProxy):
      * UIProcess/WebVibrationProxy.cpp:
      * UIProcess/WebVibrationProxy.h:
      (WebVibrationProxy):
      * UIProcess/soup/WebSoupRequestManagerProxy.cpp:
      * UIProcess/soup/WebSoupRequestManagerProxy.h:
      (WebSoupRequestManagerProxy):
      * WebProcess/Battery/WebBatteryManager.cpp:
      * WebProcess/Battery/WebBatteryManager.h:
      (WebBatteryManager):
      * WebProcess/NetworkInfo/WebNetworkInfoManager.cpp:
      * WebProcess/NetworkInfo/WebNetworkInfoManager.h:
      (WebNetworkInfoManager):
      * WebProcess/soup/WebSoupRequestManager.cpp:
      * WebProcess/soup/WebSoupRequestManager.h:
      (WebSoupRequestManager):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37f9d1bb