1. 22 Mar, 2012 40 commits
    • philn@webkit.org's avatar
      [GTK] ASSERT bug in WebAudio (AudioFileReader) · 1cf7bc93
      philn@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81777
      
      Reviewed by Martin Robinson.
      
      * platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:
      (WebCore::AudioFileReader::decodeAudioForBusCreation): Don't steal
      the GstBus floating reference.
      (WebCore::AudioFileReader::createBus): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1cf7bc93
    • jocelyn.turcotte@nokia.com's avatar
      [Qt] Don't resume the suspended page if the user is continuously flicking. · be85c582
      jocelyn.turcotte@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=81895
      
      Reviewed by Kenneth Rohde Christiansen.
      
      Create an additional suspend deferrer between TouchBegin and TouchEnd to
      relay with the one kept while the flick animation is running.
      This allows the page to be suspended when a pan gesture starts and stay
      that way until the last flick animation ends.
      
      * UIProcess/qt/QtViewportInteractionEngine.cpp:
      (WebKit::QtViewportInteractionEngine::touchBegin):
      (WebKit):
      (WebKit::QtViewportInteractionEngine::touchEnd):
      (WebKit::QtViewportInteractionEngine::pinchGestureStarted):
      * UIProcess/qt/QtViewportInteractionEngine.h:
      (QtViewportInteractionEngine):
      * UIProcess/qt/QtWebPageEventHandler.cpp:
      (QtWebPageEventHandler::doneWithTouchEvent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      be85c582
    • loislo@chromium.org's avatar
      Unreviewed: Web Inspector: fix syntax error in text. · 24dd2c0b
      loislo@chromium.org authored
      * English.lproj/localizedStrings.js:
      * inspector/front-end/HeapSnapshotProxy.js:
      (WebInspector.HeapSnapshotWorker.prototype._messageReceived):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      24dd2c0b
    • commit-queue@webkit.org's avatar
      [EFL] Change returned view mode in case of NULL of ewkView. · 7ead0fb9
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81636
      
      Patch by Krzysztof Czech <k.czech@samsung.com> on 2012-03-22
      Reviewed by Eric Seidel.
      
      Function ewk_view_mode_get returns wrong view mode in case of NULL of ewkView.
      
      * ewk/ewk_view.cpp:
      (_Ewk_View_Private_Data):
      (ewk_view_mode_get):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7ead0fb9
    • yurys@chromium.org's avatar
      Unreviewed, rolling out r111688. · 82bad543
      yurys@chromium.org authored
      http://trac.webkit.org/changeset/111688
      https://bugs.webkit.org/show_bug.cgi?id=81912
      
      "Heap profiler test fails" (Requested by yurys on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-03-22
      
      * inspector/front-end/HeapSnapshot.js:
      (WebInspector.HeapSnapshot.prototype._buildRetainers):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82bad543
    • commit-queue@webkit.org's avatar
      [chromium] Early out in a new prepareToDraw() step if checkerboarding an... · a0a09190
      commit-queue@webkit.org authored
      [chromium] Early out in a new prepareToDraw() step if checkerboarding an accelerated animation in order to skip the frame
      https://bugs.webkit.org/show_bug.cgi?id=81437
      
      Patch by Dana Jansens <danakj@chromium.org> on 2012-03-22
      Reviewed by Adrienne Walker.
      
      Source/WebCore:
      
      Split CCLayerTreeHostImpl::drawLayers() into two phases:
      prepareToDraw() and drawLayers().
      
      When calculating a RenderPass, and we checkerboard a quad on a
      layer, bubble this info back up to CCLayerTreeHostImpl. If the
      layer is transforming in an animation, then abort the prepareToDraw()
      phase and cause it to return false back to the thread proxy.
      
      Unit test: CCLayerTreeHostImplTest.prepareToDrawFailsWhenAnimationUsesCheckerboard
      
      * platform/graphics/chromium/cc/CCLayerImpl.cpp:
      (WebCore::CCLayerImpl::appendQuads):
      * platform/graphics/chromium/cc/CCLayerImpl.h:
      (CCLayerImpl):
      * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
      (WebCore::CCLayerTreeHostImpl::calculateRenderPasses):
      (WebCore::CCLayerTreeHostImpl::prepareToDraw):
      (WebCore):
      (WebCore::CCLayerTreeHostImpl::drawLayers):
      * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
      (CCLayerTreeHostImpl):
      (FrameData):
      * platform/graphics/chromium/cc/CCQuadCuller.cpp:
      (WebCore::CCQuadCuller::append):
      * platform/graphics/chromium/cc/CCQuadCuller.h:
      (CCQuadCuller):
      * platform/graphics/chromium/cc/CCRenderPass.cpp:
      (WebCore::CCRenderPass::appendQuadsForLayer):
      * platform/graphics/chromium/cc/CCRenderPass.h:
      (CCRenderPass):
      * platform/graphics/chromium/cc/CCScrollbarLayerImpl.cpp:
      (WebCore::CCScrollbarLayerImpl::appendQuads):
      * platform/graphics/chromium/cc/CCScrollbarLayerImpl.h:
      (CCScrollbarLayerImpl):
      * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
      (WebCore::CCSingleThreadProxy::doComposite):
      * platform/graphics/chromium/cc/CCSolidColorLayerImpl.cpp:
      (WebCore::CCSolidColorLayerImpl::appendQuads):
      * platform/graphics/chromium/cc/CCSolidColorLayerImpl.h:
      (CCSolidColorLayerImpl):
      * platform/graphics/chromium/cc/CCTextureLayerImpl.cpp:
      (WebCore::CCTextureLayerImpl::appendQuads):
      * platform/graphics/chromium/cc/CCTextureLayerImpl.h:
      (CCTextureLayerImpl):
      * platform/graphics/chromium/cc/CCThreadProxy.cpp:
      (WebCore::CCThreadProxy::scheduledActionDrawAndSwap):
      * platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
      (WebCore::CCTiledLayerImpl::appendQuads):
      * platform/graphics/chromium/cc/CCTiledLayerImpl.h:
      (CCTiledLayerImpl):
      * platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:
      (WebCore::CCVideoLayerImpl::appendQuads):
      * platform/graphics/chromium/cc/CCVideoLayerImpl.h:
      (CCVideoLayerImpl):
      
      Source/WebKit/chromium:
      
      * tests/CCAnimationTestCommon.cpp:
      (WebCore):
      (WebCore::addAnimatedTransform):
      (WebKitTests::addOpacityTransitionToLayer):
      (WebKitTests):
      (WebKitTests::addAnimatedTransformToLayer):
      * tests/CCAnimationTestCommon.h:
      (WebCore):
      (WebKitTests):
      * tests/CCLayerTreeHostImplTest.cpp:
      (WebKitTests::TEST_F):
      (DidDrawCheckLayer):
      (WebKitTests::DidDrawCheckLayer::DidDrawCheckLayer):
      (MissingTextureAnimatingLayer):
      (WebKitTests::MissingTextureAnimatingLayer::create):
      (WebKitTests::MissingTextureAnimatingLayer::MissingTextureAnimatingLayer):
      (WebKitTests):
      (WebKitTests::BlendStateCheckLayer::appendQuads):
      * tests/CCLayerTreeHostTest.cpp:
      (WTF::TestHooks::prepareToDrawOnCCThread):
      (WTF::MockLayerTreeHostImpl::prepareToDraw):
      (MockLayerTreeHostImpl):
      (WTF::MockLayerTreeHostImpl::drawLayers):
      * tests/CCQuadCullerTest.cpp:
      (WebCore::appendQuads):
      * tests/CCSolidColorLayerImplTest.cpp:
      (CCLayerTestCommon::TEST):
      * tests/CCTiledLayerImplTest.cpp:
      (CCLayerTestCommon::TEST):
      (CCLayerTestCommon::getQuads):
      * tests/MockCCQuadCuller.h:
      (WebCore::MockCCQuadCuller::append):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a0a09190
    • leviw@chromium.org's avatar
      Correct LayoutUnit usage in Accessibility code · 3be076ee
      leviw@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81789
      
      Reviewed by Eric Seidel.
      
      Reverting Accessibility hit testing code back to integers. Accessibility hit tests originate from
      the embedder and don't accumulate offsets, so we get nothing from using LayoutUnits, and needlessly
      expose them to the embedder.
      
      No new tests. No change in behavior.
      
      * accessibility/AccessibilityListBox.cpp:
      (WebCore::AccessibilityListBox::elementAccessibilityHitTest): See above.
      * accessibility/AccessibilityListBox.h:
      (AccessibilityListBox):
      * accessibility/AccessibilityObject.cpp:
      (WebCore::AccessibilityObject::clickPoint): This value is only ever used to display a context menu,
      which is always done with integer coordinates.
      (WebCore::AccessibilityObject::boundingBoxForQuads): This is a bounding box built from floats. We
      don't pixel snap floats, so we return an integer bounding box.
      (WebCore::AccessibilityObject::elementAccessibilityHitTest): See above.
      (WebCore::AccessibilityObject::scrollToMakeVisible): Pixel snapping the bounding box and simplifying
      up the code to position it at (0,0).
      * accessibility/AccessibilityObject.h:
      (WebCore::AccessibilityObject::accessibilityHitTest): See above.
      (AccessibilityObject):
      (WebCore::AccessibilityObject::pixelSnappedBoundingBoxRect): Convenience method for embedder callers.
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::visiblePositionForPoint): The point passed in here is comes from
      screen coordinates and originates in embedder code. Reverting it to take an integer.
      (WebCore::AccessibilityRenderObject::accessibilityImageMapHitTest): See above.
      (WebCore::AccessibilityRenderObject::accessibilityHitTest): See above.
      * accessibility/AccessibilityRenderObject.h:
      (AccessibilityRenderObject):
      * accessibility/AccessibilityScrollView.cpp:
      (WebCore::AccessibilityScrollView::accessibilityHitTest): See above.
      * accessibility/AccessibilityScrollView.h:
      (AccessibilityScrollView):
      * accessibility/AccessibilitySlider.cpp:
      (WebCore::AccessibilitySlider::elementAccessibilityHitTest): See above.
      * accessibility/AccessibilitySlider.h:
      (AccessibilitySlider):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3be076ee
    • sergio@webkit.org's avatar
      [GTK] icon database requests not dispatched until new data arrives · 39c67af8
      sergio@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81665
      
      Reviewed by Martin Robinson.
      
      Wait for the import to finish before reporting that the favicon
      cache does not have a pixbuf for an URL.
      
      Changes already covered by the favicon database unit tests.
      
      * webkit/webkitfavicondatabase.cpp:
      (webkit_favicon_database_get_favicon_pixbuf):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111698 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      39c67af8
    • loislo@chromium.org's avatar
      Web Inspector: HeapProfiler: Heap snapshot worker has to report the errors to the front-end · 82e1c364
      loislo@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81804
      
      Sometimes the worker process of HeapSnapshot does some wrong thing and throw an Exception.
      At this momemnt we have no way to see the error in the front-end.
      
      Reviewed by Yury Semikhatsky.
      
      * English.lproj/localizedStrings.js:
      * inspector/front-end/HeapSnapshotProxy.js: check the exception field and dump it into front-end's console.
      (WebInspector.HeapSnapshotWorker.prototype._messageReceived):
      * inspector/front-end/HeapSnapshotWorkerDispatcher.js: catch the exception and transfer it's text to requester's side.
      (WebInspector.HeapSnapshotWorkerDispatcher.prototype.dispatchMessage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111697 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82e1c364
    • carlosgc@webkit.org's avatar
      [GTK] Use the angle-bracket form to include wtf headers · 40a6dd61
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81884
      
      Patch by Carlos Garcia Campos <cgarcia@bb-webkit-rel-64.local.igalia.com> on 2012-03-22
      Reviewed by Eric Seidel.
      
      Source/WebCore:
      
      Use #include <wtf/foo> instead of #include "foo".
      
      * platform/graphics/freetype/FontPlatformData.h:
      * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
      * platform/gtk/DataObjectGtk.h:
      * platform/network/ResourceHandleInternal.h:
      * platform/network/soup/SocketStreamHandleSoup.cpp:
      
      Source/WebKit/gtk:
      
      Use #include <wtf/foo> instead of #include "foo".
      
      * WebCoreSupport/DocumentLoaderGtk.cpp:
      * WebCoreSupport/DragClientGtk.h:
      * WebCoreSupport/FrameLoaderClientGtk.cpp:
      * WebCoreSupport/FullscreenVideoController.h:
      * WebCoreSupport/GeolocationClientGtk.h:
      * WebCoreSupport/InspectorClientGtk.h:
      * WebCoreSupport/TextCheckerClientGtk.cpp:
      * WebCoreSupport/TextCheckerClientGtk.h:
      * webkit/webkitdownload.cpp:
      * webkit/webkitfavicondatabase.cpp:
      * webkit/webkitglobals.cpp:
      * webkit/webkithittestresult.cpp:
      * webkit/webkitnetworkrequest.cpp:
      * webkit/webkitnetworkresponse.cpp:
      * webkit/webkitspellcheckerenchant.cpp:
      * webkit/webkitwebdatasourceprivate.h:
      * webkit/webkitwebsettings.cpp:
      * webkit/webkitwebsettingsprivate.h:
      * webkit/webkitwebviewprivate.h:
      
      Source/WebKit2:
      
      Use #include <wtf/foo> instead of #include <JavaScriptCore/foo>.
      
      * UIProcess/API/gtk/tests/TestMain.h:
      * UIProcess/API/gtk/tests/TestWebKitSettings.cpp:
      
      Tools:
      
      Use #include <wtf/foo> instead of #include "foo".
      
      * DumpRenderTree/gtk/AccessibilityCallbacks.cpp:
      * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
      * DumpRenderTree/gtk/DumpRenderTree.cpp:
      * DumpRenderTree/gtk/EditingCallbacks.cpp:
      * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
      * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111696 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      40a6dd61
    • apavlov@chromium.org's avatar
      Web Inspector: Case of the elements of the xml document should be shown as it is in the console · ad50b0b8
      apavlov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81902
      
      Source/WebCore:
      
      When registering a detached root, DOMAgent always presumes it is a node,
      while it can also be a document.
      
      Reviewed by Vsevolod Vlasov.
      
      Test: inspector/console/console-xml-document.html
      
      * inspector/front-end/ConsoleMessage.js:
      (WebInspector.ConsoleMessageImpl.prototype._formatParameterAsNode):
      * inspector/front-end/DOMAgent.js:
      (WebInspector.DOMAgent.prototype._setDetachedRoot):
      
      LayoutTests:
      
      Reviewed by Vsevolod Vlasov.
      
      * inspector/console/console-xml-document-expected.txt: Added.
      * inspector/console/console-xml-document.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111695 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad50b0b8
    • vsevik@chromium.org's avatar
      Web Inspector: Introduce ScriptBound/ScriptUnbound events in ScriptMapping. · f62e26cd
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81904
      
      Reviewed by Pavel Feldman.
      
      This is another step on the way to cleaner BreakpointManager logic.
      Here we extract ScriptBound/ScriptUnbound events from UISourceCodeListChanged event.
      This allows us to handle script-uiSourceCode binding separately from
      uiSourceCode creation/deletion and to handle unbinding that was not
      possible at all before.
      
      * inspector/front-end/CompilerScriptMapping.js:
      (WebInspector.CompilerScriptMapping.prototype._uiSourceCodesForSourceMap):
      (WebInspector.CompilerScriptMapping.prototype.addScript.get this):
      (WebInspector.CompilerScriptMapping.prototype.addScript):
      (WebInspector.CompilerScriptMapping.prototype.reset):
      * inspector/front-end/ResourceScriptMapping.js:
      (WebInspector.ResourceScriptMapping.prototype._uiSourceCodeChanged):
      * inspector/front-end/ScriptMapping.js:
      (WebInspector.MainScriptMapping):
      (WebInspector.MainScriptMapping.prototype._updateLiveLocation):
      (WebInspector.MainScriptMapping.prototype._handleUISourceCodeListChanged):
      (WebInspector.MainScriptMapping.prototype._handleScriptBound):
      (WebInspector.MainScriptMapping.prototype._handleScriptUnbound):
      * inspector/front-end/SnippetsModel.js:
      (WebInspector.SnippetsScriptMapping.prototype.addScript.get this):
      (WebInspector.SnippetsScriptMapping.prototype._snippetAdded):
      (WebInspector.SnippetsScriptMapping.prototype._createUISourceCodeForScript):
      (WebInspector.SnippetsScriptMapping.prototype._snippetRemoved.get this):
      (WebInspector.SnippetsScriptMapping.prototype._snippetRemoved):
      (WebInspector.SnippetsScriptMapping.prototype.reset):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111694 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f62e26cd
    • commit-queue@webkit.org's avatar
      https://bugs.webkit.org/show_bug.cgi?id=81893 · 07589066
      commit-queue@webkit.org authored
      Remove custom bindings form ScriptProfileNode.idl of attribute type Array.
      
      Patch by Vineet Chaudhary <rgf748@motorola.com> on 2012-03-22
      Reviewed by Kentaro Hara.
      
      Replace [CustomGetter] Array with sequence<ScriptProfileNode>.
      To remove the custom bindings code.
      
      Test: No new tests. LayoutTests/fast/profiler/* test are enough for this.
      
      * bindings/js/JSScriptProfileNodeCustom.cpp: Removed custom function.
      (WebCore::JSScriptProfileNode::callUID):
      * bindings/v8/custom/V8ScriptProfileNodeCustom.cpp: Removed custom function.
      (WebCore):
      * inspector/ScriptProfileNode.idl: Replaced Array with sequence<ScriptProfileNode>.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111692 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      07589066
    • caseq@chromium.org's avatar
      Web Inspector: only update timeline overview categories strips when these are visible · 7ed96f0b
      caseq@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81903
      
      Reviewed by Pavel Feldman.
      
      - factor out category strips update into a separate method;
      - only invoke it when "Timeline" overview mode is selected.
      
      * inspector/front-end/TimelineOverviewPane.js:
      (WebInspector.TimelineOverviewPane.prototype._showTimelines):
      (WebInspector.TimelineOverviewPane.prototype.update):
      (WebInspector.TimelineOverviewPane.prototype._updateCategoryStrips):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111691 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7ed96f0b
    • leviw@chromium.org's avatar
      Update LayoutUnit usage in FrameSelection · 34845ebc
      leviw@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81754
      
      Reviewed by Eric Seidel.
      
      FrameSelection stores its caret and repaint bounds in absolute coordinates. Absolute coordinates
      we treat as pixel values, so this patch changes these values to integers. Sub-pixel precision
      will still be used when these coordinates are passed down and used locally.
      
      No new tests. No change in behavior.
      
      * editing/FrameSelection.cpp:
      (WebCore::absoluteCaretY): Uses absolute coordinates, which are ints.
      (WebCore::FrameSelection::modify): Uses absolute coordinates to handle vertical selection
      modification. Sub-pixel precision will be used when these values are converted to local ones.
      (WebCore::CaretBase::absoluteBoundsForLocalRect): Absolute coordinates -> ints.
      (WebCore::FrameSelection::absoluteCaretBounds): Ditto.
      (WebCore::CaretBase::caretRepaintRect): The caret repaint rect is stored in absolute coordinates.
      Reverting the values to ints.
      (WebCore::FrameSelection::recomputeCaretRect): Ditto.
      * editing/FrameSelection.h:
      (FrameSelection):
      * editing/mac/FrameSelectionMac.mm:
      (WebCore::FrameSelection::notifyAccessibilityForSelectionChange): Switching to store absolute
      coordinates as integers.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      34845ebc
    • yurys@chromium.org's avatar
      Web Inspector: Speed up the build retainers phase. · 544408c5
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81763
      
      Replacing the edge iterator with a raw loop makes it
      faster by more than 10 times.
      
      Patch by Alexei Filippov <alexeif@chromium.org> on 2012-03-22
      Reviewed by Yury Semikhatsky.
      
      * inspector/front-end/HeapSnapshot.js:
      (WebInspector.HeapSnapshot.prototype._buildRetainers):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      544408c5
    • noam.rosenthal@nokia.com's avatar
      [Qt][WK2] The background appears to have one extra pixel from the contents · da3e8d3e
      noam.rosenthal@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=81830
      
      Reviewed by Kenneth Rohde Christiansen.
      
      Source/WebCore:
      
      TextureMapperGL applied a 1-offset that was covering for another bug,
      which was already fixed.
      
      No new tests, this would be tested once we test GL rendering results.
      
      * platform/graphics/texmap/TextureMapperGL.cpp:
      (WebCore::TextureMapperGLData::SharedGLData::scissorClip):
      
      Source/WebKit2:
      
      The clip-polygon from the scenegraph uses floats, not integers.
      This could cause 1-offset clipping problems in some cases.
      
      * UIProcess/qt/QtWebPageSGNode.cpp:
      (WebKit::ContentsSGNode::clipRect):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111687 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da3e8d3e
    • wjmaclean@chromium.org's avatar
      Rename touchpad fling curve, add curve parameters to constructor. · f55dd424
      wjmaclean@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81820
      
      Reviewed by Adrienne Walker.
      
      Source/WebCore:
      
      Covered by existing unit tests.
      
      * GNUmakefile.list.am:
      * WebCore.gypi:
      * platform/ScrollAnimatorNone.cpp:
      (WebCore::ScrollAnimatorNone::fireUpAnAnimation):
      * platform/TouchpadFlingPlatformGestureCurve.cpp: Renamed from Source/WebCore/platform/TouchFlingPlatformGestureCurve.cpp.
      (WebCore):
      (WebCore::TouchpadFlingPlatformGestureCurve::create):
      (WebCore::TouchpadFlingPlatformGestureCurve::TouchpadFlingPlatformGestureCurve):
      (WebCore::TouchpadFlingPlatformGestureCurve::~TouchpadFlingPlatformGestureCurve):
      (WebCore::TouchpadFlingPlatformGestureCurve::apply):
      * platform/TouchpadFlingPlatformGestureCurve.h: Renamed from Source/WebCore/platform/TouchFlingPlatformGestureCurve.h.
      (WebCore):
      (TouchpadFlingPlatformGestureCurve):
      
      Source/WebKit/chromium:
      
      * src/WebCompositorInputHandlerImpl.cpp:
      (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::gestureEvent):
      * tests/PlatformGestureCurveTest.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111686 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f55dd424
    • ahf@0x90.dk's avatar
      Unreviewed, add Michael Brüning and Allan Jensen to committers.py. · 15ad3440
      ahf@0x90.dk authored
      * Scripts/webkitpy/common/config/committers.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      15ad3440
    • ahf@0x90.dk's avatar
      [Qt][WK2] Add QML API for handling database quotas https://bugs.webkit.org/show_bug.cgi?id=81827 · f0dbaf2d
      ahf@0x90.dk authored
      Reviewed by Simon Hausmann.
      
      Patch by Pierre Rossi and Alexander Færøy.
      
      This patch adds a QML API for handling database quotas.
      
      * UIProcess/API/qt/qquickwebview.cpp:
      (QQuickWebViewPrivate::exceededDatabaseQuota):
      (QQuickWebViewExperimental::databaseQuotaDialog):
      (QQuickWebViewExperimental::setDatabaseQuotaDialog):
      * UIProcess/API/qt/qquickwebview_p.h:
      * UIProcess/API/qt/qquickwebview_p_p.h:
      (QQuickWebViewPrivate):
      * UIProcess/qt/QtDialogRunner.cpp:
      (DatabaseQuotaDialogContextObject):
      (DatabaseQuotaDialogContextObject::DatabaseQuotaDialogContextObject):
      (DatabaseQuotaDialogContextObject::databaseName):
      (DatabaseQuotaDialogContextObject::displayName):
      (DatabaseQuotaDialogContextObject::currentQuota):
      (DatabaseQuotaDialogContextObject::currentOriginUsage):
      (DatabaseQuotaDialogContextObject::currentDatabaseUsage):
      (DatabaseQuotaDialogContextObject::expectedUsage):
      (DatabaseQuotaDialogContextObject::accept):
      (DatabaseQuotaDialogContextObject::reject):
      (QtDialogRunner::initForDatabaseQuotaDialog):
      * UIProcess/qt/QtDialogRunner.h:
      (QtDialogRunner):
      (QtDialogRunner::databaseQuota):
      (QtDialogRunner::onDatabaseQuotaAccepted):
      * UIProcess/qt/QtWebPageUIClient.cpp:
      (QtWebPageUIClient::QtWebPageUIClient):
      (QtWebPageUIClient::exceededDatabaseQuota):
      * UIProcess/qt/QtWebPageUIClient.h:
      * UIProcess/qt/WebContextQt.cpp:
      (WebKit::WebContext::platformDefaultDatabaseDirectory):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111684 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0dbaf2d
    • kkristof@inf.u-szeged.hu's avatar
      [Qt] Gardening. Skip failing test. · 055d905f
      kkristof@inf.u-szeged.hu authored
      https://bugs.webkit.org/show_bug.cgi?id=81899
      
      Reviewed by Csaba Osztrogonác.
      
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      055d905f
    • pfeldman@chromium.org's avatar
      Web Inspector: make CSS and JavaScript files editable by default. · f338a076
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81787
      
      Reviewed by Vsevolod Vlasov.
      
      This change removes cancelEditing and setReadOnly capabilities from source frame.
      It removes dblclick handler as well since one does not need to enter editing mode.
      It also establishes proper content dispatching so that views are updated with the
      resource content. All these are inter-dependent, need to be landed simultaneously.
      Drive-by follow up to the r111675 where range is modified prior to the exiting
      edit mode.
      
      * inspector/front-end/JavaScriptSourceFrame.js:
      (WebInspector.JavaScriptSourceFrame):
      (WebInspector.JavaScriptSourceFrame.prototype.requestContent):
      (WebInspector.JavaScriptSourceFrame.prototype.afterTextChanged):
      (WebInspector.JavaScriptSourceFrame.prototype.beforeTextChanged):
      (WebInspector.JavaScriptSourceFrame.prototype.didEditContent):
      (WebInspector.JavaScriptSourceFrame.prototype._lineNumberAfterEditing):
      * inspector/front-end/ResourceView.js:
      (WebInspector.ResourceSourceFrame):
      (WebInspector.ResourceSourceFrame.prototype.suggestedFileName):
      (WebInspector.ResourceSourceFrame.prototype._contentChanged):
      (WebInspector.EditableResourceSourceFrame.prototype.canEditSource):
      (WebInspector.EditableResourceSourceFrame.prototype.editContent.callbackWrapper):
      (WebInspector.EditableResourceSourceFrame.prototype.editContent):
      (WebInspector.EditableResourceSourceFrame.prototype._contentChanged):
      * inspector/front-end/ResourcesPanel.js:
      (WebInspector.ResourcesPanel.prototype._innerShowView):
      (WebInspector.FrameResourceTreeElement.prototype._appendRevision):
      * inspector/front-end/ScriptsPanel.js:
      (WebInspector.ScriptsPanel.prototype.setScriptSourceIsDirty):
      * inspector/front-end/Settings.js:
      (WebInspector.ExperimentsSettings):
      * inspector/front-end/SourceFrame.js:
      (WebInspector.SourceFrame):
      (WebInspector.SourceFrame.prototype.wasShown):
      (WebInspector.SourceFrame.prototype.willHide):
      (WebInspector.SourceFrame.prototype.beforeTextChanged):
      (WebInspector.SourceFrame.prototype.setContent):
      (WebInspector.SourceFrame.prototype.commitEditing):
      (WebInspector.SourceFrame.prototype.didEditContent):
      (WebInspector.SourceFrame.prototype.editContent):
      * inspector/front-end/TextPrompt.js:
      (WebInspector.TextPrompt.prototype._startEditing):
      (WebInspector.TextPrompt.prototype._stopEditing):
      * inspector/front-end/TextViewer.js:
      (WebInspector.TextViewer):
      (WebInspector.TextViewer.prototype._registerShortcuts):
      (WebInspector.TextEditorMainPanel.prototype.handleEnterKey):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f338a076
    • vsevik@chromium.org's avatar
      Unreviewed chromium test rebaseline. · 16f95d73
      vsevik@chromium.org authored
      * platform/chromium/inspector/debugger/breakpoint-manager-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      16f95d73
    • kubo@profusion.mobi's avatar
      [EFL] Unreviewed gardening. · 9622c2a5
      kubo@profusion.mobi authored
      Update expectations for some fast/forms tests which were rendering
      placeholders with the wrong colors.
      
      * platform/efl/fast/forms/input-placeholder-text-indent-expected.png: Added.
      * platform/efl/fast/forms/isindex-placeholder-expected.png: Added.
      * platform/efl/fast/forms/placeholder-with-positioned-element-expected.png: Added.
      * platform/efl/fast/forms/textarea-placeholder-wrapping-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9622c2a5
    • commit-queue@webkit.org's avatar
      [Qt] Enable FAST_MOBILE_SCROLLING when scrolling is delegated. · 53acaa4d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81889
      
      Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-03-22
      Reviewed by Kenneth Rohde Christiansen.
      
      Source/WebCore:
      
      On the Qt platform only enable the fast mobile scroll feature when scrolling is delegated.
      
      * rendering/RenderObject.cpp:
      (WebCore::RenderObject::styleWillChange):
      
      Tools:
      
      Enable FAST_MOBILE_SCROLLING feature.
      
      * qmake/mkspecs/features/features.prf:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      53acaa4d
    • kubo@profusion.mobi's avatar
      [EFL] DRT: Do not pass a relative path to DOWNLOADED_FONTS_DIR. · 0a545949
      kubo@profusion.mobi authored
      https://bugs.webkit.org/show_bug.cgi?id=81900
      
      Reviewed by Gustavo Noronha Silva.
      
      r111598 added the DOWNLOADED_FONTS_DIR define, but it used a relative
      path which assumed a certain directory structure for the build
      directory which may noy be true.
      
      Instead, hardcode the path to the downloaded fonts starting from the
      top-level source directory. While this solution is also far from
      perfect, it makes it more consistent and reliable, and easier to
      tackle at once with the rest of bug 81475.
      
      * DumpRenderTree/efl/CMakeLists.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a545949
    • pfeldman@chromium.org's avatar
      Source/WebCore: Web Inspector: dispatch styleSheetChanged event synchronously. · 9638cdeb
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81892
      
      Reviewed by Vsevolod Vlasov.
      
      Today, backend generates stylesheet change event synchronously from within set* command.
      But CSSStyleModel defers its dispatching until the stylesheet content is available. This
      prevents us from ignoring update events from within commands that initiated those updates.
      
      This change makes stylesheet change event dispatch synchronously and delegates stylesheet
      content fetching to the event client.
      
      * inspector/front-end/CSSStyleModel.js:
      (WebInspector.CSSStyleModel.prototype._fireStyleSheetChanged):
      (WebInspector.CSSStyleDeclaration.prototype.insertPropertyAt):
      (WebInspector.CSSStyleModelResourceBinding.prototype.setContent):
      (WebInspector.CSSStyleModelResourceBinding.prototype._innerSetContent.callbackWrapper):
      (WebInspector.CSSStyleModelResourceBinding.prototype._innerSetContent):
      (WebInspector.CSSStyleModelResourceBinding.prototype._styleSheetChanged.callback):
      (WebInspector.CSSStyleModelResourceBinding.prototype._styleSheetChanged):
      (WebInspector.CSSStyleModelResourceBinding.prototype._innerStyleSheetChanged):
      
      Source/WebKit/chromium: [chromium] timing functions are getting incorrectly applied for accelerated css transitions
      https://bugs.webkit.org/show_bug.cgi?id=81692
      
      Patch by Ian Vollick <vollick@chromium.org> on 2012-03-21
      Reviewed by Adrienne Walker.
      
      * tests/CCAnimationTestCommon.cpp:
      (WebCore::addOpacityTransition):
      (WebKitTests::addOpacityTransitionToController):
      (WebKitTests::addOpacityTransitionToLayer):
      * tests/CCAnimationTestCommon.h:
      (WebKitTests):
      * tests/CCLayerAnimationControllerTest.cpp:
      (WebKitTests::TEST):
      * tests/CCLayerTreeHostTest.cpp:
      (WTF::CCLayerTreeHostTest::dispatchAddInstantAnimation):
      (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
      (WTF::TEST_F):
      (WTF):
      (CCLayerTreeHostTestAddAnimationWithTimingFunction):
      (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::CCLayerTreeHostTestAddAnimationWithTimingFunction):
      (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::beginTest):
      (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::animateLayers):
      (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::afterTest):
      
      LayoutTests: Web Inspector: dispatch styleSheetChanged event synchronously.
      https://bugs.webkit.org/show_bug.cgi?id=81892
      
      Reviewed by Vsevolod Vlasov.
      
      * http/tests/inspector/resources-test.js:
      (initialize_ResourceTest.InspectorTest.showResource.callbackWrapper):
      (initialize_ResourceTest.InspectorTest.showResource.showResourceCallback.visit):
      (initialize_ResourceTest.InspectorTest.showResource.showResourceCallback):
      (initialize_ResourceTest.InspectorTest.showResource):
      (initialize_ResourceTest):
      * inspector/styles/styles-history.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111677 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9638cdeb
    • pfeldman@chromium.org's avatar
      Web Inspector: allow on-hover popover while in edit mode. · efdc6974
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81898
      
      Reviewed by Vsevolod Vlasov.
      
      This change allows popover while in-edit mode, hides it upon Esc. It also introduces anchorOverride
      concept in ObjectPopoverHelper that allows dynamically switching the anchor (say if we want to highlight anchor itself).
      
      * inspector/front-end/DetailedHeapshotView.js:
      * inspector/front-end/ElementsPanel.js:
      * inspector/front-end/JavaScriptSourceFrame.js:
      (WebInspector.JavaScriptSourceFrame.prototype._resolveObjectForPopover.showObjectPopover):
      (WebInspector.JavaScriptSourceFrame.prototype._resolveObjectForPopover):
      (WebInspector.JavaScriptSourceFrame.prototype._onKeyDown):
      * inspector/front-end/NetworkPanel.js:
      * inspector/front-end/ObjectPopoverHelper.js:
      (WebInspector.ObjectPopoverHelper.prototype._showObjectPopover.showObjectPopover.):
      (WebInspector.ObjectPopoverHelper.prototype._showObjectPopover):
      * inspector/front-end/Popover.js:
      (WebInspector.PopoverHelper.prototype.isPopoverVisible):
      * inspector/front-end/TimelinePanel.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      efdc6974
    • pfeldman@chromium.org's avatar
      Web Inspector: breakpoints should shift when line break is inserted in the middle of the line. · 5cdec52e
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81896
      
      Reviewed by Vsevolod Vlasov.
      
      There is a bug that collapses selection prior to exiting change mode, we should never
      collapse edit area prior committing.
      
      * inspector/front-end/TextEditorModel.js:
      (WebInspector.TextEditorModel.endsWithBracketRegex.):
      * inspector/front-end/TextViewer.js:
      (WebInspector.TextViewer):
      (WebInspector.TextEditorMainPanel.prototype.highlightLine):
      (WebInspector.TextEditorMainPanel.prototype.handleUndoRedo.callback):
      (WebInspector.TextEditorMainPanel.prototype.handleUndoRedo):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111675 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5cdec52e
    • zherczeg@webkit.org's avatar
      Merge SVGImageBufferTools to SVGRenderingContext · c77e01fb
      zherczeg@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81890
      
      Reviewed by Nikolas Zimmermann.
      
      Copy the code to SVGRenderingContext and delete
      SVGImageBufferTools[.cpp.h]. Update build systems,
      no functionality change. This is the first step
      towards making SVGImageBufferTools stageful.
      
      Existing tests cover this issue.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.xcodeproj/project.pbxproj:
      * platform/graphics/filters/FETile.cpp:
      (WebCore::FETile::platformApplySoftware):
      * rendering/svg/RenderSVGAllInOne.cpp:
      * rendering/svg/RenderSVGInlineText.cpp:
      (WebCore::RenderSVGInlineText::computeNewScaledFontForStyle):
      * rendering/svg/RenderSVGResourceClipper.cpp:
      (WebCore::RenderSVGResourceClipper::applyClippingToContext):
      (WebCore::RenderSVGResourceClipper::drawContentIntoMaskImage):
      * rendering/svg/RenderSVGResourceFilter.cpp:
      (WebCore::RenderSVGResourceFilter::applyResource):
      * rendering/svg/RenderSVGResourceGradient.cpp:
      (WebCore::createMaskAndSwapContextForTextGradient):
      (WebCore::clipToTextMask):
      * rendering/svg/RenderSVGResourceMasker.cpp:
      (WebCore::RenderSVGResourceMasker::applyResource):
      (WebCore::RenderSVGResourceMasker::drawContentIntoMaskImage):
      * rendering/svg/RenderSVGResourcePattern.cpp:
      (WebCore::RenderSVGResourcePattern::applyResource):
      (WebCore::RenderSVGResourcePattern::createTileImage):
      * rendering/svg/SVGImageBufferTools.cpp: Removed.
      * rendering/svg/SVGImageBufferTools.h: Removed.
      * rendering/svg/SVGInlineTextBox.cpp:
      * rendering/svg/SVGRenderingContext.cpp:
      (WebCore::currentContentTransformation):
      (WebCore):
      (WebCore::SVGRenderingContext::calculateTransformationToOutermostSVGCoordinateSystem):
      (WebCore::SVGRenderingContext::createImageBuffer):
      (WebCore::SVGRenderingContext::createImageBufferForPattern):
      (WebCore::SVGRenderingContext::renderSubtreeToImageBuffer):
      (WebCore::SVGRenderingContext::clipToImageBuffer):
      (WebCore::SVGRenderingContext::clampedAbsoluteTargetRect):
      (WebCore::SVGRenderingContext::clampedAbsoluteSize):
      (WebCore::SVGRenderingContext::clear2DRotation):
      * rendering/svg/SVGRenderingContext.h:
      (SVGRenderingContext):
      (WebCore::SVGRenderingContext::calculateImageBufferRect):
      * svg/graphics/filters/SVGFEImage.cpp:
      (WebCore::FEImage::platformApplySoftware):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111674 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c77e01fb
    • commit-queue@webkit.org's avatar
      [EFL] Add PageClientEfl to WebCoreSupport. · e5055a7d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=80748
      
      Patch by Hyowon Kim <hw1008.kim@samsung.com> on 2012-03-22
      Reviewed by Noam Rosenthal.
      
      Source/WebCore:
      
      * platform/Widget.h: Use PageClientEfl as type for PlatformPageClient.
      (WebCore):
      * platform/graphics/efl/GraphicsContext3DPrivate.cpp:
      (WebCore::GraphicsContext3DPrivate::createSurface): Change the argument type.
      * plugins/efl/PluginViewEfl.cpp:
      (WebCore::PluginView::platformGetValue): Use PageClientEfl.
      
      Source/WebKit:
      
      * PlatformEfl.cmake: Add WebCore/platform/graphics/efl to the include path
      and PageClientEfl.cpp to the source list.
      
      Source/WebKit/efl:
      
      This patch adds PageClientEfl for implementaion of accelerated compositing.
      
      * WebCoreSupport/ChromeClientEfl.cpp:
      (WebCore::ChromeClientEfl::platformPageClient):
      * WebCoreSupport/PageClientEfl.cpp: Added.
      (WebCore):
      (WebCore::PageClientEfl::PageClientEfl):
      (WebCore::PageClientEfl::~PageClientEfl):
      (WebCore::PageClientEfl::createEvasObjectForAcceleratedCompositing):
      Just call ewk_view_accelerated_compositing_object_create().
      (WebCore::PageClientEfl::acceleratedCompositingContext):
      Just call ewk_view_accelerated_compositing_context_get().
      * WebCoreSupport/PageClientEfl.h: Added.
      (WebCore):
      (PageClientEfl):
      (WebCore::PageClientEfl::view): Return ewkView.
      * ewk/ewk_private.h:
      (WebCore):
      (EWKPrivate):
      * ewk/ewk_view.cpp:
      (_Ewk_View_Private_Data): Add OwnPtr<PageClientEfl>.
      (_ewk_view_priv_new): Create a new PageClientEfl.
      (ewk_view_accelerated_compositing_object_create): Not implemented.
      (ewk_view_accelerated_compositing_context_get): Not implemented.
      (EWKPrivate::corePageClient): Return the PageClientEfl pointer.
      (EWKPrivate):
      
      Source/WTF:
      
      * wtf/Platform.h: Disable accelerated compositing. It's not ready yet.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e5055a7d
    • commit-queue@webkit.org's avatar
      blur() on shadow host should work when a shadow host contains a focused... · 63a89dad
      commit-queue@webkit.org authored
      blur() on shadow host should work when a shadow host contains a focused element in its shadow DOM subtrees
      https://bugs.webkit.org/show_bug.cgi?id=81102
      
      Patch by Kaustubh Atrawalkar <kaustubh@motorola.com> on 2012-03-22
      Reviewed by Hajime Morita.
      
      Source/WebCore:
      
      This implementation will support blur for a focused element when its shadowHost's blur() is called.
      To achieve this Element::blur() function is modified to blur the focused node in it's treeScope.
      
      Test: fast/dom/shadow/shadow-root-blur.html
      
      * dom/Element.cpp:
      (WebCore::Element::blur): Modified to blur current treeScope's focused node.
      * dom/ShadowRoot.h:
      (WebCore::ShadowRoot::activeElement): Rework for code sharing.
      * dom/TreeScope.cpp:
      (WebCore::TreeScope::focusedNode): Added new function to share code for getting focused node.
      * dom/TreeScope.h:
      (TreeScope): New function declartion.
      * html/HTMLDocument.cpp:
      (WebCore::HTMLDocument::activeElement): Rework for code sharing.
      
      LayoutTests:
      
      * fast/dom/shadow/shadow-root-blur-expected.txt: Added.
      * fast/dom/shadow/shadow-root-blur.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63a89dad
    • vsevik@chromium.org's avatar
      Web Inspector: RawSourceCode does not need uiSourceCode lists because it never has more than one. · eed14789
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81894
      
      Source/WebCore:
      
      RawSourceCode never has more than one uiSourceCode, uiSourceCodeList
      are just remains of older implementation. This patch switches RawSourceCode
      and SourceMappings from uiSourceCodeList to uiSourceCode.
      
      Reviewed by Pavel Feldman.
      
      * inspector/front-end/RawSourceCode.js:
      (WebInspector.RawSourceCode.prototype.uiSourceCode):
      (WebInspector.RawSourceCode.prototype._saveSourceMapping):
      (WebInspector.RawSourceCode.SourceMapping.prototype.uiLocationToRawLocation):
      (WebInspector.RawSourceCode.SourceMapping.prototype.uiSourceCode):
      (WebInspector.RawSourceCode.PlainSourceMapping):
      (WebInspector.RawSourceCode.PlainSourceMapping.prototype.rawLocationToUILocation):
      (WebInspector.RawSourceCode.PlainSourceMapping.prototype.uiLocationToRawLocation):
      (WebInspector.RawSourceCode.PlainSourceMapping.prototype.uiSourceCode):
      (WebInspector.RawSourceCode.FormattedSourceMapping):
      (WebInspector.RawSourceCode.FormattedSourceMapping.prototype.rawLocationToUILocation):
      (WebInspector.RawSourceCode.FormattedSourceMapping.prototype.uiLocationToRawLocation):
      (WebInspector.RawSourceCode.FormattedSourceMapping.prototype.uiSourceCode):
      * inspector/front-end/ResourceScriptMapping.js:
      (WebInspector.ResourceScriptMapping.prototype.uiSourceCodeList):
      (WebInspector.ResourceScriptMapping.prototype.addScript):
      (WebInspector.ResourceScriptMapping.prototype._handleUISourceCodeChanged):
      (WebInspector.ResourceScriptMapping.prototype._uiSourceCodeChanged):
      (WebInspector.ResourceScriptMapping.prototype.reset):
      
      LayoutTests:
      
      Reviewed by Pavel Feldman.
      
      * inspector/debugger/raw-source-code.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eed14789
    • commit-queue@webkit.org's avatar
      [GTK] Fix the only remaining coding style issue in GTK accessibility code · e9a6ff36
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81885
      
      Patch by Mario Sanchez Prada <msanchez@igalia.com> on 2012-03-22
      Reviewed by Xan Lopez.
      
      Add needed extra line and remove an unneeded one.
      
      * accessibility/gtk/AccessibilityObjectAtk.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9a6ff36
    • carlosgc@webkit.org's avatar
      [GTK] Allow to run any jhbuild command with jhbuild-wrapper script · f5f80cb3
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81888
      
      Reviewed by Philippe Normand.
      
      * Scripts/update-webkit-libs-jhbuild:
      (runJhbuild): Helper function to run jhbuild with a given command.
      Instead of running jhbuild directly, use the jhbuild-wrapper, so
      that we don't need to run it first to check whether jhbuild is
      installed or not.
      * efl/run-with-jhbuild: Call jhbuild-wrapper with run command.
      * gtk/run-with-jhbuild: Ditto.
      * jhbuild/jhbuild-wrapper: Allow to execute any jhbuild command,
      not only run.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f5f80cb3
    • commit-queue@webkit.org's avatar
      [CSSRegions] Add region styling test for region css rules specificity/position · 9e60abd9
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=76537
      
      Patch by Mihai Balan <mibalan@adobe.com> on 2012-03-22
      Reviewed by Andreas Kling.
      
      * fast/regions/region-style-rule-specificity-expected.html: Added.
      * fast/regions/region-style-rule-specificity.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9e60abd9
    • kkristof@inf.u-szeged.hu's avatar
      Unreviewed gardening after r111595. · 94c29989
      kkristof@inf.u-szeged.hu authored
      * inspector/debugger/breakpoint-manager-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      94c29989
    • kkristof@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardening. Skip the failing test fast/mutation/callback-arguments.html. · 301d61f0
      kkristof@inf.u-szeged.hu authored
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      301d61f0
    • philn@webkit.org's avatar
      Unreviewed, test-webkitpy fix after r111661. · 2ea613c5
      philn@webkit.org authored
      * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
      (MainTest.test_crash_log):
      (MainTest.test_web_process_crash_log):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2ea613c5
    • philn@webkit.org's avatar
      Unreviewed, test-webkitpy fix after r111642. · 4905091e
      philn@webkit.org authored
      * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
      (ChromiumDriverTest.setUp):
      (ChromiumDriverTest.test_two_drivers):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4905091e