1. 22 Mar, 2012 40 commits
    • eae@chromium.org's avatar
      Unreviewed test_expectations update for chromium. Marking a couple of tests as... · 6b4d0aac
      eae@chromium.org authored
      Unreviewed test_expectations update for chromium. Marking a couple of tests as SLOW on SNOWLEOPARD DEBUG.
      
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111718 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6b4d0aac
    • commit-queue@webkit.org's avatar
      Event dispatching in XMLHttpRequestProgressEventThrottle should go through... · 0e2b86c3
      commit-queue@webkit.org authored
      Event dispatching in XMLHttpRequestProgressEventThrottle should go through XMLHttpRequestProgressEventThrottle::dispatchEvent
      https://bugs.webkit.org/show_bug.cgi?id=46743
      
      Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-03-22
      Reviewed by Julien Chaffraix
      Based on original patch by Anton D'Auria
      
      In preparation for platform-specific queuing of XMLHttpRequest events,
      this patch changes all calls to m_target->dispatchEvent to
      XMLHttpRequestProgressEventThrottle::dispatchEvent.
      Currently, we queue only one progress event on suspend() if we have
      throttled progress events. We should be able to queue all XHR events
      that can be generated after suspend(), if the platform network layer
      continues to receive data.
      XMLHttpRequest uses XMLHttpRequestProgressEventThrottle to dispatch only
      download events, so this doesn't change behavior of upload events, which
      aren't throttled or queued.
      
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::callReadyStateChangeListener):
      * xml/XMLHttpRequestProgressEventThrottle.cpp:
      (WebCore::XMLHttpRequestProgressEventThrottle::dispatchReadyStateChangeEvent):
      (WebCore::XMLHttpRequestProgressEventThrottle::dispatchEvent):
      (WebCore::XMLHttpRequestProgressEventThrottle::flushProgressEvent):
      (WebCore::XMLHttpRequestProgressEventThrottle::dispatchPausedEvent):
      (WebCore::XMLHttpRequestProgressEventThrottle::fired):
      * xml/XMLHttpRequestProgressEventThrottle.h:
      (XMLHttpRequestProgressEventThrottle):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111717 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e2b86c3
    • commit-queue@webkit.org's avatar
      [EFL] Map BackSpace key code to Unicode value · 737cfd83
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81130
      
      Source/WebCore:
      
      Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-22
      Reviewed by Gustavo Noronha Silva.
      
      Test: fast/events/backspace-navigates-back.html
      
      * platform/efl/EflKeyboardUtilities.cpp:
      (WebCore::createKeyMap): Map BackSpace to Unicode value
      
      LayoutTests:
      
      Unskip fast/events/backspace-navigates-back.html
      
      Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-22
      Reviewed by Gustavo Noronha Silva.
      
      * platform/efl/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111716 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      737cfd83
    • kkristof@inf.u-szeged.hu's avatar
      [Qt] Gardening, skip failing tests after r111560. · 4f8ddb43
      kkristof@inf.u-szeged.hu authored
      https://bugs.webkit.org/show_bug.cgi?id=81519
      
      Reviewed by Csaba Osztrogonác.
      
      * platform/qt-5.0-wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f8ddb43
    • inferno@chromium.org's avatar
      Incorrect beforeChild parent calculation in RenderRubyBase::moveChildren. · b85a123c
      inferno@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=80297
      
      Reviewed by Julien Chaffraix.
      
      Source/WebCore:
      
      beforeChild might share the same anonymous block parent with other previous
      siblings. Before moving the children across ruby bases, we need to make sure
      to split the tree across the beforeChild correctly.
      
      Test: fast/ruby/ruby-text-before-child-split.html
      
      * rendering/RenderRubyBase.cpp:
      (WebCore::RenderRubyBase::moveChildren):
      
      LayoutTests:
      
      Test passes if you see the inline continuation in the first ruby base and only the
      simple text in the second ruby base.
      
      * fast/ruby/ruby-text-before-child-split-expected.png: Added.
      * fast/ruby/ruby-text-before-child-split-expected.txt: Added.
      * fast/ruby/ruby-text-before-child-split.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b85a123c
    • kubo@profusion.mobi's avatar
      [EFL] Gardening, update a few more fast/forms baselines. · 6c1c56eb
      kubo@profusion.mobi authored
      * platform/efl/fast/forms/fieldset-legend-padding-unclipped-fieldset-border-expected.png: Added.
      * platform/efl/fast/forms/fieldset-legend-padding-unclipped-fieldset-border-expected.txt: Added.
      * platform/efl/fast/forms/file/file-input-pressed-state-expected.png: Added.
      * platform/efl/fast/forms/input-placeholder-text-indent-expected.png:
      * platform/efl/fast/forms/isindex-placeholder-expected.png:
      * platform/efl/fast/forms/placeholder-with-positioned-element-expected.png:
      * platform/efl/fast/forms/select-overflow-scroll-expected.png: Added.
      * platform/efl/fast/forms/select-overflow-scroll-expected.txt: Added.
      * platform/efl/fast/forms/select-overflow-scroll-inherited-expected.png: Added.
      * platform/efl/fast/forms/select-overflow-scroll-inherited-expected.txt: Added.
      * platform/efl/fast/forms/textarea-placeholder-wrapping-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6c1c56eb
    • kkristof@inf.u-szeged.hu's avatar
      [Qt] Gardening, skip failing tests after r111560. · d2ab378c
      kkristof@inf.u-szeged.hu authored
      https://bugs.webkit.org/show_bug.cgi?id=81519
      
      Reviewed by Csaba Osztrogonác.
      
      * platform/qt-5.0-wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2ab378c
    • kkristof@inf.u-szeged.hu's avatar
      [Qt] Fix Qt minimal build after r111692 · c3051bef
      kkristof@inf.u-szeged.hu authored
      Reviewed by Csaba Osztrogonác.
      
      * bindings/js/JSScriptProfileNodeCustom.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c3051bef
    • commit-queue@webkit.org's avatar
      [EFL] Implement LayoutTestController::setEditingBehavior · a6126518
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81124
      
      Source/WebKit/efl:
      
      Add missing implementation setEditingBehavior to EFL's
      DumpRenderTreeSupport. This setting controls various editing
      behaviors that differ between platforms.
      
      Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-22
      Reviewed by Martin Robinson.
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      (DumpRenderTreeSupportEfl::setEditingBehavior):
      * WebCoreSupport/DumpRenderTreeSupportEfl.h:
      
      Tools:
      
      Adding missing implementation setEditingBehavior to EFL's
      LayoutTestController. This implementation allows us to
      unskip some tests from the skip list.
      
      Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-22
      Reviewed by Martin Robinson.
      
      * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
      (LayoutTestController::setEditingBehavior): Implemented.
      
      LayoutTests:
      
      Unskip tests connected with setEditingBehavior.
      
      Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-22
      Reviewed by Martin Robinson.
      
      * platform/efl/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111709 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a6126518
    • enne@google.com's avatar
      [chromium] Fix scrollbar layers holding onto invalid textures after lost context · b4c9ed61
      enne@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=81841
      
      Reviewed by James Robinson.
      
      Source/WebCore:
      
      Unit test: CCLayerTreeHostImplTest.scrollbarLayerLostContext
      
      * platform/graphics/chromium/cc/CCScrollbarLayerImpl.cpp:
      (WebCore::CCScrollbarLayerImpl::willDraw):
      
      Source/WebKit/chromium:
      
      * tests/CCLayerTreeHostImplTest.cpp:
      (WebKitTests::TEST_F):
      (WebKitTests):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b4c9ed61
    • commit-queue@webkit.org's avatar
      [GTK] Add MediaStream feature to avoid MediaStream test failure · 4c876962
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81727
      
      Patch by Mao Yujie <yujie.mao@intel.com> on 2012-03-22
      Reviewed by Martin Robinson.
      
      * GNUmakefile.am:
      * WebCoreSupport/UserMediaClientGtk.cpp: Added.
      (WebKit):
      (WebKit::UserMediaClientGtk::UserMediaClientGtk):
      (WebKit::UserMediaClientGtk::~UserMediaClientGtk):
      (WebKit::UserMediaClientGtk::pageDestroyed):
      (WebKit::UserMediaClientGtk::requestUserMedia):
      (WebKit::UserMediaClientGtk::cancelUserMediaRequest):
      * WebCoreSupport/UserMediaClientGtk.h: Added.
      (WebKit):
      (UserMediaClientGtk):
      * webkit/webkitwebview.cpp:
      (webkit_web_view_init):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111707 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c876962
    • 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