1. 17 Apr, 2012 40 commits
    • schenney@chromium.org's avatar
      getCTM() on SVG root element with borders, paddings, and viewbox returns incorrect values · 781370b9
      schenney@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78631
      
      Unreviewed Chromium expectations update.
      
      * platform/chromium-linux/svg/dom/SVGLocatable-getCTM-svg-root-expected.png: Added.
      * platform/chromium-mac-leopard/svg/dom/SVGLocatable-getCTM-svg-root-expected.png: Added.
      * platform/chromium-mac-snowleopard/svg/dom/SVGLocatable-getCTM-svg-root-expected.png:
      * platform/chromium-mac/svg/dom/SVGLocatable-getCTM-svg-root-expected.png: Added.
      * platform/chromium-win/svg/dom/SVGLocatable-getCTM-svg-root-expected.png: Added.
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      781370b9
    • schenney@chromium.org's avatar
      [Chromium] Cleanup of outdated test expectations · c2ec97f5
      schenney@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81253
      
      Unreviewed Chromium expectations update.
      
      * platform/chromium-linux/svg/text/text-tselect-02-f-expected.png:
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c2ec97f5
    • commit-queue@webkit.org's avatar
      IndexedDB: stub getKey/getObject interfaces for IDBKeyRange · 32c960f9
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84089
      
      Patch by Alec Flett <alecflett@chromium.org> on 2012-04-17
      Reviewed by Dimitri Glazkov.
      
      Added stub methods on WebIDBIndex.h to cleanly land
      https://bugs.webkit.org/show_bug.cgi?id=83638
      
      * public/WebIDBIndex.h:
      (WebKit::WebIDBIndex::getObject):
      (WebKit::WebIDBIndex::getKey):
      * src/WebIDBIndexImpl.cpp:
      (WebKit::WebIDBIndexImpl::getObject):
      (WebKit):
      (WebKit::WebIDBIndexImpl::getKey):
      * src/WebIDBIndexImpl.h:
      (WebIDBIndexImpl):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114409 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      32c960f9
    • schenney@chromium.org's avatar
      [chromium] svg/clip-path/clip-in-mask.svg fails on Windows and Linux · e168f0ea
      schenney@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=53378
      
      Unreviewed expectations update after the fix went in.
      
      * platform/chromium-linux-x86/svg/zoom: Removed.
      * platform/chromium-linux/svg/zoom/page/zoom-mask-with-percentages-expected.png: Added.
      * platform/chromium-mac-leopard/svg/zoom/page/zoom-mask-with-percentages-expected.png:
      * platform/chromium-mac-snowleopard/svg/zoom/page/zoom-mask-with-percentages-expected.png:
      * platform/chromium-mac/svg/zoom/page/zoom-mask-with-percentages-expected.png: Added.
      * platform/chromium-win-vista/svg/zoom/page/zoom-mask-with-percentages-expected.png: Added.
      * platform/chromium-win-xp/svg/zoom: Removed.
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114407 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e168f0ea
    • tsepez@chromium.org's avatar
      Framesniffing defense is too aggressive. · 8d3c2c18
      tsepez@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83721
      
      Reviewed by James Robinson.
      
      Source/WebCore:
      
      The RenderLayer code currently propagates scroll position to parent frames
      without any cross-origin checks.  This gives it a quick origin boundary check
      that is set by FrameLoader only when performing a fragment navigation.  This
      allows us to safely relax the restriction on not scrolling at load time in
      FrameLoader since the safe thing will happen later on at scroll time.
      
      Test: http/tests/navigation/anchor-frames-same-origin.html
      
      * dom/Document.cpp:
      (WebCore::Document::findUnsafeParentScrollPropagationBoundary):
      * dom/Document.h:
      (Document):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::finishedParsing):
      (WebCore::FrameLoader::loadInSameDocument):
      (WebCore::FrameLoader::scrollToFragmentWithParentBoundary):
      * loader/FrameLoader.h:
      (FrameLoader):
      * page/FrameView.cpp:
      (WebCore::FrameView::FrameView):
      (WebCore::FrameView::reset):
      * page/FrameView.h:
      (WebCore::FrameView::safeToPropagateScrollToParent):
      (WebCore::FrameView::setSafeToPropagateScrollToParent):
      (FrameView):
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::scrollRectToVisible):
      
      LayoutTests:
      
      * http/tests/inspector/resource-parameters-expected.txt:
      * http/tests/navigation/anchor-frames-cross-origin-expected.txt:
      * http/tests/navigation/anchor-frames-cross-origin.html:
      * http/tests/navigation/anchor-frames-same-origin-expected.txt: Added.
      * http/tests/navigation/anchor-frames-same-origin.html: Added.
      * http/tests/navigation/resources/frame-with-anchor-cross-origin.html:
      * http/tests/navigation/resources/frame-with-anchor-same-origin.html: Added.
      * http/tests/navigation/resources/grandchild-with-anchor.html: Added.
      * http/tests/security/xssAuditor/anchor-url-dom-write-location-expected.txt:
      * http/tests/security/xssAuditor/anchor-url-dom-write-location-inline-event-expected.txt:
      * http/tests/security/xssAuditor/anchor-url-dom-write-location-inline-event-null-char-expected.txt:
      * http/tests/security/xssAuditor/anchor-url-dom-write-location-javascript-URL-expected.txt:
      * http/tests/security/xssAuditor/anchor-url-dom-write-location2-expected.txt:
      * http/tests/security/xssAuditor/dom-write-location-inline-event-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114406 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8d3c2c18
    • barraclough@apple.com's avatar
      Array.prototype.toString should be generic · 364138ec
      barraclough@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=81588
      
      Reviewed by Sam Weinig.
      
      Source/JavaScriptCore: 
      
      * runtime/ArrayPrototype.cpp:
      (JSC::arrayProtoFuncToString):
          - check for join function, use fast case if base object is array & join is present & default.
      * runtime/CommonIdentifiers.h:
          - added 'join'.
      
      LayoutTests: 
      
      * fast/js/array-functions-non-arrays-expected.txt:
          - check in new results
      * fast/js/array-prototype-properties-expected.txt:
          - new more detailed error message.
      * fast/js/script-tests/array-functions-non-arrays.js:
          - added new test cases, fix incorrect one.
      * sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.4/15.4.4.2_Array_prototype_toString/S15.4.4.2_A2_T1-expected.txt:
          - check in failing result (test is wrong)
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114405 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      364138ec
    • eae@chromium.org's avatar
      Add size_t versions of multiplication and division operators to FractionalLayoutUnit · 374e959b
      eae@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83848
      
      Reviewed by Julien Chaffraix.
      
      Add size_t versions of operator* and operator/ for platforms where there
      is no ambiguity between unsigned int and size_t.
      
      No new tests, no new functionality.
      
      * platform/FractionalLayoutUnit.h:
      (FractionalLayoutUnit):
      (WebCore::FractionalLayoutUnit::FractionalLayoutUnit):
      (WebCore::FractionalLayoutUnit::isInBounds):
      (WebCore):
      (WebCore::operator*):
      (WebCore::operator/):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114404 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      374e959b
    • schenney@chromium.org's avatar
      Update long-failing Chromium expectations. · f643a5ee
      schenney@chromium.org authored
      Unreviewed Chromium expectation update.
      
      There is some chance that the background test is flaky, as many others are.
      
      * platform/chromium-mac-snowleopard/svg/as-background-image/svg-as-background-6-expected.png:
      * platform/chromium-mac/svg/as-background-image/svg-as-background-6-expected.png:
      * platform/chromium-win/svg/as-background-image/svg-as-background-6-expected.png:
      * platform/chromium-win/svg/zoom/page/zoom-mask-with-percentages-expected.png:
      * platform/chromium-win/svg/zoom/page/zoom-mask-with-percentages-expected.txt:
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114403 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f643a5ee
    • jer.noble@apple.com's avatar
      Exiting full screen video brings the wrong Safari window to the foreground · 6007e7bb
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=83936
      
      Reviewed by Adele Peterson.
      
      Tell the original webView's window to makeKeyAndOrderFront once the exit
      animation completes.
      
      Source/WebKit/mac:
      
      * WebView/WebFullScreenController.mm:
      (-[WebFullScreenController finishedExitFullScreenAnimation:]):
      
      Source/WebKit2:
      
      * UIProcess/mac/WKFullScreenWindowController.mm:
      (-[WKFullScreenWindowController finishedExitFullScreenAnimation:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114402 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6007e7bb
    • haraken@chromium.org's avatar
      [V8] Add an optional Isolate argument to toV8(). · de0dc49e
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84161
      
      Reviewed by Nate Chapin.
      
      The final objective is to pass Isolate around in V8 bindings.
      This patch adds an optional Isolate argument to toV8().
      After rewriting all toV8() callers so that they pass Isolate,
      I will make the Isolate argument non-optional.
      
      No tests. No change in behavior.
      
      * bindings/scripts/CodeGeneratorV8.pm:
      Modified as described above.
      (GenerateHeader):
      (NativeToJSValue):
      * bindings/v8/custom/V8BlobCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8CSSRuleCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8CSSStyleSheetCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8CSSValueCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8CanvasPixelArrayCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8DOMStringMapCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8DOMTokenListCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8DOMWindowCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8DataViewCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8DocumentCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8EntryCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8EntrySyncCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8EventCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8Float32ArrayCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8Float64ArrayCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8HTMLCollectionCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8HTMLElementCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8IDBAnyCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8IDBKeyCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8ImageDataCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8Int16ArrayCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8Int32ArrayCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8Int8ArrayCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8LocationCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8NamedNodeMapCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8NodeCustom.cpp:
      (WebCore::toV8Slow):
      * bindings/v8/custom/V8SVGDocumentCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8SVGElementCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8SVGPathSegCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8ScriptProfileCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8ScriptProfileNodeCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8StyleSheetCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8Uint16ArrayCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8Uint32ArrayCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8Uint8ArrayCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8Uint8ClampedArrayCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8WorkerContextCustom.cpp:
      (WebCore::toV8):
      
      * bindings/scripts/test/V8/V8Float64Array.h:
      Updated run-bindings-tests results.
      (WebCore):
      (WebCore::toV8):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.h:
      (WebCore::toV8):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
      (WebCore::toV8):
      * bindings/scripts/test/V8/V8TestEventConstructor.h:
      (WebCore::toV8):
      * bindings/scripts/test/V8/V8TestEventTarget.h:
      (WebCore::toV8):
      * bindings/scripts/test/V8/V8TestInterface.h:
      (WebCore::toV8):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
      (WebCore::toV8):
      * bindings/scripts/test/V8/V8TestNamedConstructor.h:
      (WebCore::toV8):
      * bindings/scripts/test/V8/V8TestNode.h:
      (WebCore::toV8):
      * bindings/scripts/test/V8/V8TestObj.h:
      (WebCore::toV8):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
      (WebCore::toV8):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114401 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de0dc49e
    • schenney@chromium.org's avatar
      Update Chromium test expectations for long failing tests. · 9d15bdd5
      schenney@chromium.org authored
      Unreviewed Chromium test expectations update.
      
      * platform/chromium-linux/svg/W3C-SVG-1.1/masking-opacity-01-b-expected.png: Added.
      * platform/chromium-linux/svg/W3C-SVG-1.1/masking-opacity-01-b-expected.txt: Removed.
      * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png:
      * platform/chromium-linux/svg/carto.net/combobox-expected.png: Added.
      * platform/chromium-linux/svg/carto.net/combobox-expected.txt: Removed.
      * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png: Added.
      * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt: Added.
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114400 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9d15bdd5
    • commit-queue@webkit.org's avatar
      [EFL] Create baselines for tests related to caret behaviour · 9c38b78a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83277
      
      Unreviewed, EFL baselines for tests related to cursor
      positioning behaviour.
      
      Adding baselines and unskipping tests related to cursor
      positioning behaviour after r114250.
      
      Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-04-17
      
      * platform/efl/editing/input/caret-at-the-edge-of-contenteditable-expected.png: Added.
      * platform/efl/editing/input/caret-at-the-edge-of-contenteditable-expected.txt: Added.
      * platform/efl/editing/input/reveal-caret-of-multiline-contenteditable-expected.png: Added.
      * platform/efl/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt: Added.
      * platform/efl/editing/input/reveal-caret-of-multiline-input-expected.png: Added.
      * platform/efl/editing/input/reveal-caret-of-multiline-input-expected.txt: Added.
      * platform/efl/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114399 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c38b78a
    • schenney@chromium.org's avatar
      fill-opacity does not render properly on chromium mac · 04e487a9
      schenney@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78624
      
      Unreviewed expectations update after this change.
      
      * platform/chromium-mac-snowleopard/svg/text/text-fill-opacity-expected.png: Removed.
      * platform/chromium-mac-snowleopard/svg/text/text-fill-opacity-expected.txt: Removed.
      * platform/chromium-mac/svg/text/text-fill-opacity-expected.png: Added.
      * platform/chromium-win/svg/text/text-fill-opacity-expected.txt:
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114398 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      04e487a9
    • commit-queue@webkit.org's avatar
      [EFL][WK2] Fix build break when FULLSCREEN_API is enabled. · c57a1793
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84142
      
      Patch by Michał Pakuła vel Rutka <m.pakula@samsung.com> on 2012-04-17
      Reviewed by Martin Robinson.
      
      Create a cpp file needed to build EFL port with FULLSCREEN_API.
      
      * PlatformEfl.cmake: Added WebFullScreenManagerProxyEfl.cpp to build list.
      * UIProcess/WebFullScreenManagerProxy.h:
      (WebKit):
      * UIProcess/efl/WebFullScreenManagerProxyEfl.cpp: Added.
      (WebKit):
      (WebKit::WebFullScreenManagerProxy::invalidate):
      (WebKit::WebFullScreenManagerProxy::close):
      (WebKit::WebFullScreenManagerProxy::isFullScreen):
      (WebKit::WebFullScreenManagerProxy::enterFullScreen):
      (WebKit::WebFullScreenManagerProxy::exitFullScreen):
      (WebKit::WebFullScreenManagerProxy::beganEnterFullScreen):
      (WebKit::WebFullScreenManagerProxy::beganExitFullScreen):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114397 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c57a1793
    • dglazkov@chromium.org's avatar
      [Chromium] Remove fast/forms/implicit-submission.html from flaky expectations, · 70ef91b9
      dglazkov@chromium.org authored
      because it was fixed in r113808.
      
      * platform/chromium/test_expectations.txt: Removed flaky expectations.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114396 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      70ef91b9
    • schenney@chromium.org's avatar
      [Chromium] Rebaseline after Skia changes (CR105305) · 8261e49f
      schenney@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84165
      
      Unreviewed Chromium expectations update.
      
      * platform/chromium-linux-x86/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
      * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.png:
      * platform/chromium-linux/svg/css/composite-shadow-text-expected.png: Modified property svn:mime-type.
      * platform/chromium-linux/svg/css/text-gradient-shadow-expected.png:
      * platform/chromium-linux/svg/text/selection-background-color-expected.png:
      * platform/chromium-linux/svg/text/selection-styles-expected.png:
      * platform/chromium-linux/svg/text/text-gradient-positioning-expected.png:
      * platform/chromium-linux/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Modified property svn:mime-type.
      * platform/chromium-mac-leopard/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.png:
      * platform/chromium-mac-leopard/svg/css/composite-shadow-text-expected.png:
      * platform/chromium-mac-leopard/svg/text/selection-background-color-expected.png: Modified property svn:mime-type.
      * platform/chromium-mac-leopard/svg/text/selection-styles-expected.png:
      * platform/chromium-mac-leopard/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
      * platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.png: Modified property svn:mime-type.
      * platform/chromium-mac-snowleopard/svg/css/composite-shadow-text-expected.png: Modified property svn:mime-type.
      * platform/chromium-mac-snowleopard/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Removed.
      * platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.png: Added.
      * platform/chromium-mac/svg/css/composite-shadow-text-expected.png: Added.
      * platform/chromium-mac/svg/css/text-gradient-shadow-expected.png: Modified property svn:mime-type.
      * platform/chromium-mac/svg/text/selection-background-color-expected.png: Modified property svn:mime-type.
      * platform/chromium-mac/svg/text/selection-styles-expected.png: Modified property svn:mime-type.
      * platform/chromium-mac/svg/text/text-gradient-positioning-expected.png: Modified property svn:mime-type.
      * platform/chromium-mac/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Added.
      * platform/chromium-win-vista/svg/css/composite-shadow-text-expected.png: Added.
      * platform/chromium-win-xp/svg/css/composite-shadow-text-expected.png: Added.
      * platform/chromium-win-xp/svg/css/text-gradient-shadow-expected.png: Added.
      * platform/chromium-win/svg/css/composite-shadow-text-expected.png: Modified property svn:mime-type.
      * platform/chromium-win/svg/css/text-gradient-shadow-expected.png:
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114395 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8261e49f
    • schenney@chromium.org's avatar
      new baselines for crbug 104128 · af02065a
      schenney@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72746
      
      Unreviewed Chromium expectations update, just for SVG files.
      
      * platform/chromium-mac/svg/css/shadow-with-large-radius-expected.png: Modified property svn:mime-type.
      * platform/chromium-mac/svg/css/shadow-with-negative-offset-expected.png: Modified property svn:mime-type.
      * platform/chromium-win/svg/css/shadow-with-large-radius-expected.png:
      * platform/chromium-win/svg/css/shadow-with-negative-offset-expected.png:
      * platform/chromium/test_expectations.txt:
      * platform/efl/svg/css/shadow-with-large-radius-expected.txt: Removed.
      * platform/efl/svg/css/shadow-with-negative-offset-expected.txt: Removed.
      * platform/gtk/svg/css/shadow-with-large-radius-expected.txt: Removed.
      * platform/gtk/svg/css/shadow-with-negative-offset-expected.txt: Removed.
      * platform/mac/svg/css/shadow-with-large-radius-expected.txt: Removed.
      * platform/mac/svg/css/shadow-with-negative-offset-expected.txt: Removed.
      * platform/qt/svg/css/shadow-with-large-radius-expected.txt: Removed.
      * platform/qt/svg/css/shadow-with-negative-offset-expected.txt: Removed.
      * svg/css/shadow-with-large-radius-expected.txt: Added.
      * svg/css/shadow-with-negative-offset-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114393 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af02065a
    • yurys@chromium.org's avatar
      Web Inspector: move heap snapshot data grids into their own file · 76784dd8
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84160
      
      Moved heap snapshot data grids into a separate file.
      
      Reviewed by Pavel Feldman.
      
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * inspector/compile-front-end.py:
      * inspector/front-end/DataGrid.js:
      * inspector/front-end/HeapSnapshotDataGrids.js: Added.
      (WebInspector.HeapSnapshotSortableDataGrid):
      (WebInspector.HeapSnapshotSortableDataGrid.prototype.dispose):
      (WebInspector.HeapSnapshotSortableDataGrid.prototype.resetSortingCache):
      (WebInspector.HeapSnapshotSortableDataGrid.prototype.sortingChanged.SortByTwoFields):
      (WebInspector.HeapSnapshotSortableDataGrid.prototype.sortingChanged):
      (WebInspector.HeapSnapshotSortableDataGrid.prototype.updateVisibleNodes):
      (WebInspector.HeapSnapshotSortableDataGrid.prototype.onResize):
      (WebInspector.HeapSnapshotSortableDataGrid.prototype._onScroll):
      (WebInspector.HeapSnapshotSortableDataGrid.prototype._performSorting):
      (WebInspector.HeapSnapshotSortableDataGrid.prototype.recursiveSortingEnter):
      (WebInspector.HeapSnapshotSortableDataGrid.prototype.recursiveSortingLeave):
      (WebInspector.HeapSnapshotContainmentDataGrid):
      (WebInspector.HeapSnapshotContainmentDataGrid.prototype._defaultPopulateCount.100.expandRoute.nextStep.else.afterExpand):
      (WebInspector.HeapSnapshotContainmentDataGrid.prototype._defaultPopulateCount.100.expandRoute):
      (WebInspector.HeapSnapshotContainmentDataGrid.prototype.setDataSource):
      (WebInspector.HeapSnapshotContainmentDataGrid.prototype.sortingChanged):
      (WebInspector.HeapSnapshotRetainmentDataGrid):
      (WebInspector.HeapSnapshotRetainmentDataGrid.prototype._sortFields):
      (WebInspector.HeapSnapshotRetainmentDataGrid.prototype.reset):
      (WebInspector.HeapSnapshotConstructorsDataGrid):
      (WebInspector.HeapSnapshotConstructorsDataGrid.prototype._defaultPopulateCount.100._sortFields):
      (WebInspector.HeapSnapshotConstructorsDataGrid.prototype.setDataSource):
      (WebInspector.HeapSnapshotConstructorsDataGrid.prototype.populateChildren):
      (WebInspector.HeapSnapshotConstructorsDataGrid.prototype._filterSelectIndexChanged):
      (WebInspector.HeapSnapshotDiffDataGrid):
      (WebInspector.HeapSnapshotDiffDataGrid.prototype._defaultPopulateCount.50._sortFields):
      (WebInspector.HeapSnapshotDiffDataGrid.prototype.setDataSource):
      (WebInspector.HeapSnapshotDiffDataGrid.prototype._baseProfileIndexChanged):
      (WebInspector.HeapSnapshotDiffDataGrid.prototype.setBaseDataSource):
      (WebInspector.HeapSnapshotDiffDataGrid.prototype.populateChildren.baseAggregatesReceived.aggregatesReceived.addNodeIfNonZeroDiff):
      (WebInspector.HeapSnapshotDiffDataGrid.prototype.populateChildren.baseAggregatesReceived.aggregatesReceived):
      (WebInspector.HeapSnapshotDiffDataGrid.prototype.populateChildren):
      (WebInspector.HeapSnapshotDominatorsDataGrid):
      (WebInspector.HeapSnapshotDominatorsDataGrid.prototype._defaultPopulateCount.25.setDataSource):
      (WebInspector.HeapSnapshotDominatorsDataGrid.prototype.sortingChanged):
      * inspector/front-end/HeapSnapshotView.js:
      * inspector/front-end/WebKit.qrc:
      * inspector/front-end/inspector.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114392 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      76784dd8
    • commit-queue@webkit.org's avatar
      Script make_names.pl should generate consistent .h & .cpp files · a4befa5a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84140
      
      Patch by Vivek Galatage <vivekgalatage@gmail.com> on 2012-04-17
      Reviewed by Kentaro Hara.
      
      Added a newline character and removed ';' after the DEFINE_GLOBAL
      
      No test cases required for this change.
      
      * dom/make_names.pl:
      (printNamesCppFile):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114391 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a4befa5a
    • commit-queue@webkit.org's avatar
      Source/WebCore: Add webkitSourceAddId() & webkitSourceRemoveId() to HTMLMediaElement · cffe74f2
      commit-queue@webkit.org authored
      and propagate calls to the MediaPlayerPrivate interface.
      These are needed to bring the Media Source implementation
      up to date with the new 0.4 version of the Media Source spec.
      http://html5-mediasource-api.googlecode.com/svn/tags/0.4/draft-spec/mediasource-draft-spec.html
      https://bugs.webkit.org/show_bug.cgi?id=83616
      
      Patch by Aaron Colwell <acolwell@chromium.org> on 2012-04-17
      Reviewed by Eric Carlson, Darin Fisher.
      
      Test: http/tests/media/media-source/webm/video-media-source-add-and-remove-ids.html
      
      * html/HTMLMediaElement.cpp:
      (WebCore):
      (WebCore::HTMLMediaElement::isValidSourceId):
      (WebCore::HTMLMediaElement::webkitSourceAddId):
      (WebCore::HTMLMediaElement::webkitSourceRemoveId):
      (WebCore::HTMLMediaElement::setSourceState):
      * html/HTMLMediaElement.h:
      (HTMLMediaElement):
      * html/HTMLMediaElement.idl:
      * platform/graphics/MediaPlayer.cpp:
      (WebCore::NullMediaPlayerPrivate::sourceAddId):
      (WebCore::NullMediaPlayerPrivate::sourceRemoveId):
      (WebCore):
      (WebCore::MediaPlayer::sourceAddId):
      (WebCore::MediaPlayer::sourceRemoveId):
      * platform/graphics/MediaPlayer.h:
      * platform/graphics/MediaPlayerPrivate.h:
      (WebCore::MediaPlayerPrivateInterface::sourceAddId):
      (WebCore::MediaPlayerPrivateInterface::sourceRemoveId):
      
      Source/WebKit/chromium: Add sourceAddId() & sourceRemoveId() stubs for Chromium.
      These are needed to bring the Media Source implementation
      up to date with the new 0.4 version of the Media Source spec.
      http://html5-mediasource-api.googlecode.com/svn/tags/0.4/draft-spec/mediasource-draft-spec.html
      https://bugs.webkit.org/show_bug.cgi?id=83616
      
      Patch by Aaron Colwell <acolwell@chromium.org> on 2012-04-17
      Reviewed by Eric Carlson, Darin Fisher.
      
      * public/WebMediaPlayer.h:
      (WebKit::WebMediaPlayer::sourceAddId):
      (WebKit::WebMediaPlayer::sourceRemoveId):
      * src/AssertMatchingEnums.cpp:
      * src/WebMediaPlayerClientImpl.cpp:
      (WebKit::WebMediaPlayerClientImpl::sourceAddId):
      (WebKit):
      (WebKit::WebMediaPlayerClientImpl::sourceRemoveId):
      * src/WebMediaPlayerClientImpl.h:
      (WebMediaPlayerClientImpl):
      
      LayoutTests: Add LayoutTests for new webkitSourceAddId() & webkitSourceRemoveId() methods.
      https://bugs.webkit.org/show_bug.cgi?id=83616
      
      Patch by Aaron Colwell <acolwell@chromium.org> on 2012-04-17
      Reviewed by Eric Carlson, Darin Fisher.
      
      * http/tests/media/media-source/webm/video-media-source-add-and-remove-ids-expected.txt: Added.
      * http/tests/media/media-source/webm/video-media-source-add-and-remove-ids.html: Added.
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114390 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cffe74f2
    • abecsi@webkit.org's avatar
      [Qt][WK2] Refactor the gesture recognizers · d7f384cb
      abecsi@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83044
      
      Reviewed by Kenneth Rohde Christiansen and Simon Hausmann.
      
      This patch implements a simple decision tree in the web page event handler
      on the basis of how many active touch points the current touch event has.
      
      Active touch points are pressed, moved or stationary and the number of these
      fully determine which gesture recognizer should be updated, cancelled or
      finished.
      
      This new structure makes the internal states of the pinch and pan gesture
      recognizers independent from the event type, thus makes it possible to handle
      the transitions between these gestures in one centralized place which reduces
      code duplication and complexity and fixes some issues regarding incorrectly
      handled transitions.
      
      * UIProcess/qt/QtPanGestureRecognizer.cpp:
      (WebKit::QtPanGestureRecognizer::update):
      (WebKit::QtPanGestureRecognizer::finish):
      (WebKit):
      (WebKit::QtPanGestureRecognizer::cancel):
      * UIProcess/qt/QtPanGestureRecognizer.h:
      (QtPanGestureRecognizer):
      * UIProcess/qt/QtPinchGestureRecognizer.cpp:
      (WebKit):
      (WebKit::QtPinchGestureRecognizer::update):
      (WebKit::QtPinchGestureRecognizer::finish):
      * UIProcess/qt/QtPinchGestureRecognizer.h:
      (QtPinchGestureRecognizer):
      * UIProcess/qt/QtTapGestureRecognizer.cpp:
      (WebKit::QtTapGestureRecognizer::withinDistance):
      (WebKit::QtTapGestureRecognizer::update):
      (WebKit::QtTapGestureRecognizer::cancel):
      (WebKit):
      (WebKit::QtTapGestureRecognizer::singleTapTimeout):
      (WebKit::QtTapGestureRecognizer::tapAndHoldTimeout):
      (WebKit::QtTapGestureRecognizer::reset):
      * UIProcess/qt/QtTapGestureRecognizer.h:
      (QtTapGestureRecognizer):
      * UIProcess/qt/QtViewportInteractionEngine.cpp:
      (WebKit):
      * UIProcess/qt/QtViewportInteractionEngine.h:
      (QtViewportInteractionEngine):
      * UIProcess/qt/QtWebPageEventHandler.cpp:
      (QtWebPageEventHandler::resetGestureRecognizers):
      (QtWebPageEventHandler::doneWithTouchEvent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d7f384cb
    • apavlov@chromium.org's avatar
      Web Inspector: [CRASH] InspectorDOMAgent::didInsertDOMNode() on page reload with open Inspector · f19283a5
      apavlov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84154
      
      Source/WebCore:
      
      Check that a node inserted actually has a parent.
      
      Reviewed by Yury Semikhatsky.
      
      Test: inspector/elements/elements-panel-reload-assert.html
      
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::didInsertDOMNode):
      
      LayoutTests:
      
      Reviewed by Yury Semikhatsky.
      
      * inspector/elements/elements-panel-reload-assert-expected.txt: Added.
      * inspector/elements/elements-panel-reload-assert.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114388 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f19283a5
    • commit-queue@webkit.org's avatar
      [Qt] JSC build should handle --no-webkit2 option to avoid unwanted clean-builds · d3c233be
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77533
      
      Patch by Nandor Huszka <hnandor@inf.u-szeged.hu> on 2012-04-17
      Reviewed by Simon Hausmann.
      
      Pick up the --no-webkit2 option from BUILD_WEBKIT_ARGS and pass on
      the corresponding parameter to the buildQMakeProjects function.
      
      * Scripts/build-jsc:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114387 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3c233be
    • commit-queue@webkit.org's avatar
      [EFL] DRT should support LayoutTestController's dumpFrameLoadCallbacks() · 91cbe8fe
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83030
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-04-17
      Reviewed by Antonio Gomes.
      
      Source/WebKit/efl:
      
      Emit "load,started" and "onload,event" signals needed to support
      LayoutTestController's dumpFrameLoadCallbacks() in EFL's DumpRenderTree.
      
      * WebCoreSupport/FrameLoaderClientEfl.cpp:
      (WebCore::FrameLoaderClientEfl::dispatchDidHandleOnloadEvents):
      (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad):
      (WebCore::FrameLoaderClientEfl::dispatchDidFailLoad):
      * ewk/ewk_frame.cpp:
      (ewk_frame_load_committed):
      (ewk_frame_load_started):
      * ewk/ewk_frame.h:
      * ewk/ewk_private.h:
      * ewk/ewk_view.cpp:
      (_Ewk_View_Private_Data):
      (ewk_view_load_started):
      (ewk_view_onload_event):
      * ewk/ewk_view.h:
      
      Tools:
      
      Implement support for LayoutTestController's dumpFrameLoadCallbacks()
      in EFL's DumpRenderTree. Make use of the new frame argument passed to
      the "load,started" and "load,finished" signals.
      
      * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
      (DumpRenderTreeChrome::createView):
      (DumpRenderTreeChrome::onLoadStarted):
      (DumpRenderTreeChrome::processWork):
      (DumpRenderTreeChrome::topLoadingFrameLoadFinished):
      (DumpRenderTreeChrome::onWebViewOnloadEvent):
      (DumpRenderTreeChrome::onInsecureContentRun):
      (DumpRenderTreeChrome::onInsecureContentDisplayed):
      (DumpRenderTreeChrome::onFrameCreated):
      (DumpRenderTreeChrome::onFrameProvisionalLoad):
      (DumpRenderTreeChrome::onFrameLoadCommitted):
      (DumpRenderTreeChrome::onFrameLoadFinished):
      (DumpRenderTreeChrome::onFrameLoadError):
      * DumpRenderTree/efl/DumpRenderTreeChrome.h:
      (DumpRenderTreeChrome):
      
      LayoutTests:
      
      Unskip the test cases in EFL which needed dumpFrameLoadCallbacks()
      support in the DumpRenderTree now that it is implemented.
      
      * platform/efl/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114386 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      91cbe8fe
    • commit-queue@webkit.org's avatar
      [GTK] Enable back double buffering on WebKitWebView to fix flickering · cb5c44fe
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84149
      
      Patch by Carlos Garnacho <carlos@lanedo.com> on 2012-04-17
      Reviewed by Martin Robinson.
      
      Despite having WebKitWebView its own backing buffer, calling
      gtk_widget_set_double_buffered(...,FALSE) may still pose side
      effects, such as ensuring that all drawing operations are
      flushed to the X server before rendering a non-double buffered
      widget, which may translate into flickering of the parent
      GdkWindow before the WebKitWebView itself is rendered.
      
      Enabling back double buffering solves this as all contents are
      first composited together before getting to the front buffer,
      but effectively acts as 3rd buffer. This is sort of unavoidable
      unless GTK+ gains a "let me take ownership of the backing buffer
      for this widget", which currently lacks.
      
      * webkit/webkitwebview.cpp:
      (webkit_web_view_init): Remove call to gtk_widget_set_double_buffered(..., FALSE)
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb5c44fe
    • commit-queue@webkit.org's avatar
      REGRESSION(r113172) Wheel events are scrolling inversed. · cb086722
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84156
      
      Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-04-17
      Reviewed by Simon Hausmann.
      
      * UIProcess/qt/QtViewportInteractionEngine.cpp:
      (WebKit::QtViewportInteractionEngine::wheelEvent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114384 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb086722
    • danakj@chromium.org's avatar
      [chromium] Consistent checking for clipped rects when we need the computed... · 271593c2
      danakj@chromium.org authored
      [chromium] Consistent checking for clipped rects when we need the computed result enclosed within the real result
      https://bugs.webkit.org/show_bug.cgi?id=83543
      
      Reviewed by Adrienne Walker.
      
      It should not be possible to make a rect in layer space that is clipped
      by the camera but for which the screen space transform gives a
      rectilinear output. But use consistent methods for checking that the
      result remains enclosed within the actual pixels.
      
      One day when clipped is true, we can find an interior axis-aligned rect
      within the clipped result, and checking clipped explicitly makes this
      more clear.
      
      Covered by existing tests.
      
      * platform/graphics/chromium/cc/CCOcclusionTracker.cpp:
      (WebCore::computeOcclusionBehindLayer):
      (WebCore::::markOccludedBehindLayer):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      271593c2
    • vsevik@chromium.org's avatar
      Web Inspector: Suggest box appears after the command was executed in console sometimes. · c93638e3
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84148
      
      Reviewed by Pavel Feldman.
      
      TextPrompt.complete() requests completions asynchronously, this change adds a flag
      that informs TextPrompt._completionsReady() whether completions should still be shown.
      
      * inspector/front-end/TextPrompt.js:
      (WebInspector.TextPrompt.prototype.clearAutoComplete):
      (WebInspector.TextPrompt.prototype.complete):
      (WebInspector.TextPrompt.prototype._completionsReady):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114382 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c93638e3
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r114376. · 5a0990bf
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/114376
      https://bugs.webkit.org/show_bug.cgi?id=84155
      
      Wrong patch version committed, asked by the patch author.
      (Requested by rakuco on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-04-17
      
      Source/WebKit/efl:
      
      * WebCoreSupport/FrameLoaderClientEfl.cpp:
      (WebCore::FrameLoaderClientEfl::postProgressFinishedNotification):
      (WebCore::FrameLoaderClientEfl::dispatchDidFinishLoad):
      (WebCore::FrameLoaderClientEfl::dispatchDidHandleOnloadEvents):
      (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad):
      (WebCore::FrameLoaderClientEfl::dispatchDidFailLoad):
      * WebCoreSupport/FrameLoaderClientEfl.h:
      (FrameLoaderClientEfl):
      * ewk/ewk_frame.cpp:
      * ewk/ewk_frame.h:
      * ewk/ewk_private.h:
      * ewk/ewk_view.cpp:
      (_Ewk_View_Private_Data):
      * ewk/ewk_view.h:
      
      Tools:
      
      * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
      (DumpRenderTreeChrome::createView):
      (DumpRenderTreeChrome::processWork):
      (DumpRenderTreeChrome::onLoadFinished):
      (DumpRenderTreeChrome::onWillSendRequest):
      * DumpRenderTree/efl/DumpRenderTreeChrome.h:
      (DumpRenderTreeChrome):
      
      LayoutTests:
      
      * platform/efl/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114381 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a0990bf
    • mifenton@rim.com's avatar
      [BlackBerry] Pattern matching should be applied to numbers · 5f8f6a3b
      mifenton@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=84152
      
      Reviewed by Antonio Gomes.
      
      PR 148906.
      
      Add pattern matching for number based on [0-9] to trigger
      input help matching number fields.
      
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::elementPatternIndicatesNumber):
      (DOMSupport):
      (BlackBerry::WebKit::DOMSupport::elementPatternIndicatesHexadecimal):
      (BlackBerry::WebKit::DOMSupport::elementPatternMatches):
      * WebKitSupport/DOMSupport.h:
      * WebKitSupport/InputHandler.cpp:
      (BlackBerry::WebKit::convertInputType):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114380 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f8f6a3b
    • commit-queue@webkit.org's avatar
      REGRESSION (r105453): Crash when handling touch events · 940e4260
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81958
      
      Patch by Yong Li <yoli@rim.com> on 2012-04-17
      Reviewed by Antonio Gomes.
      
      .:
      
      Add a manual test for this issue because DumpRenderTree
      currently cannot send a group of touch points with
      different touch states in one shot.
      
      * ManualTests/resources/iframe-reloaded-on-touch.html: Added.
      * ManualTests/touch-stale-iframe-crash.html: Added.
      
      Source/WebCore:
      
      Always perform sanity checks when handling every touch point
      because the node and document may have been destroyed or detached.
      
      ManualTests/touch-stale-iframe-crash.html added.
      (DumpRenderTree doesn't support transiting touch states in one shot yet)
      
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleTouchEvent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114379 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      940e4260
    • schenney@chromium.org's avatar
      [Chromium] Rebaseline svg/carto.net/colourpicker.svg · 14b285cd
      schenney@chromium.org authored
      Unreviewed Chromium test expectations update.
      
      This test has been marked as failing for so long that its result is
      always wrong. Rebaselining to review flakiness.
      
      * platform/chromium-linux/svg/carto.net/colourpicker-expected.png: Added.
      * platform/chromium-linux/svg/carto.net/colourpicker-expected.txt: Removed.
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114378 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      14b285cd
    • schenney@chromium.org's avatar
      [Chromium] Rebaseline after fix/improve bitmap sampling (matrixproc) · 8fa50f5a
      schenney@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84150
      
      Unreviewed Chromium test expectations update.
      
      * fast/repaint/background-misaligned-expected.txt: Added.
      * platform/chromium-linux-x86/fast/repaint/background-misaligned-expected.png: Added.
      * platform/chromium-linux/fast/repaint/background-misaligned-expected.png: Added.
      * platform/chromium-linux/fast/repaint/backgroundSizeRepaint-expected.png:
      * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png:
      * platform/chromium-linux/svg/as-border-image/svg-as-border-image-expected.png:
      * platform/chromium-linux/svg/custom/pattern-skew-transformed-expected.png: Added.
      * platform/chromium-linux/svg/custom/pattern-with-transformation-expected.png:
      * platform/chromium-linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Modified property svn:mime-type.
      * platform/chromium-mac-leopard/fast/gradients/background-clipped-expected.txt: Added.
      * platform/chromium-mac-leopard/fast/repaint/background-misaligned-expected.png: Added.
      * platform/chromium-mac-leopard/fast/repaint/backgroundSizeRepaint-expected.png:
      * platform/chromium-mac-leopard/svg/as-border-image/svg-as-border-image-expected.png:
      * platform/chromium-mac-leopard/svg/custom/pattern-rotate-expected.png:
      * platform/chromium-mac-leopard/svg/custom/pattern-with-transformation-expected.png: Modified property svn:mime-type.
      * platform/chromium-mac-leopard/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
      * platform/chromium-mac-snowleopard/fast/gradients/background-clipped-expected.txt: Added.
      * platform/chromium-mac-snowleopard/fast/repaint/background-misaligned-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/repaint/backgroundSizeRepaint-expected.png:
      * platform/chromium-mac-snowleopard/svg/as-border-image/svg-as-border-image-expected.png:
      * platform/chromium-mac-snowleopard/svg/custom/pattern-rotate-expected.png:
      * platform/chromium-mac-snowleopard/svg/custom/pattern-with-transformation-expected.png: Modified property svn:mime-type.
      * platform/chromium-mac-snowleopard/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
      * platform/chromium-mac/fast/gradients/background-clipped-expected.txt:
      * platform/chromium-mac/fast/repaint/background-misaligned-expected.png: Modified property svn:mime-type.
      * platform/chromium-mac/fast/repaint/backgroundSizeRepaint-expected.png:
      * platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-bg-zoom-expected.png:
      * platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png:
      * platform/chromium-mac/svg/as-border-image/svg-as-border-image-expected.png: Added.
      * platform/chromium-mac/svg/custom/pattern-in-defs-expected.png:
      * platform/chromium-mac/svg/custom/pattern-rotate-expected.png:
      * platform/chromium-mac/svg/custom/pattern-skew-transformed-expected.png: Modified property svn:mime-type.
      * platform/chromium-mac/svg/custom/pattern-with-transformation-expected.png:
      * platform/chromium-mac/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
      * platform/chromium-win-vista/fast/repaint: Added.
      * platform/chromium-win-vista/fast/repaint/background-misaligned-expected.png: Added.
      * platform/chromium-win-xp/fast/repaint/background-misaligned-expected.png: Added.
      * platform/chromium-win-xp/svg/as-border-image: Removed.
      * platform/chromium-win/fast/repaint/background-misaligned-expected.png:
      * platform/chromium-win/fast/repaint/backgroundSizeRepaint-expected.png:
      * platform/chromium-win/platform/chromium/virtual/gpu/fast/canvas/canvas-bg-zoom-expected.png:
      * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png:
      * platform/chromium-win/svg/as-border-image/svg-as-border-image-expected.png:
      * platform/chromium-win/svg/custom/pattern-in-defs-expected.png:
      * platform/chromium-win/svg/custom/pattern-skew-transformed-expected.png:
      * platform/chromium-win/svg/custom/pattern-with-transformation-expected.png:
      * platform/chromium-win/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
      * platform/chromium/test_expectations.txt:
      * platform/efl/fast/repaint/background-misaligned-expected.txt: Removed.
      * platform/gtk/fast/repaint/background-misaligned-expected.txt: Removed.
      * platform/mac/fast/repaint/background-misaligned-expected.txt: Removed.
      * platform/qt/fast/repaint/background-misaligned-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114377 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8fa50f5a
    • commit-queue@webkit.org's avatar
      [EFL] DRT should support LayoutTestController's dumpFrameLoadCallbacks() · d25d40ba
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83030
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-04-17
      Reviewed by Antonio Gomes.
      
      Source/WebKit/efl:
      
      Implement support for LayoutTestController's dumpFrameLoadCallbacks()
      in EFL's DumpRenderTree. We no longer emit the "load,finished" signal
      from postProgressFinishedNotification() since it is already emitted
      from dispatchDidFinishLoad(). This avoids unwanted extra signals we
      prevent some tests from passing (e.g.
      http/tests/security/mixedContent/about-blank-iframe-in-main-frame.html).
      
      * WebCoreSupport/FrameLoaderClientEfl.cpp:
      (WebCore::FrameLoaderClientEfl::postProgressFinishedNotification):
      (WebCore::FrameLoaderClientEfl::dispatchDidFinishLoad):
      (WebCore::FrameLoaderClientEfl::dispatchDidHandleOnloadEvents):
      (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad):
      (WebCore::FrameLoaderClientEfl::dispatchDidFailLoad):
      * WebCoreSupport/FrameLoaderClientEfl.h:
      (FrameLoaderClientEfl):
      * ewk/ewk_frame.cpp:
      (ewk_frame_load_committed):
      * ewk/ewk_frame.h:
      * ewk/ewk_private.h:
      * ewk/ewk_view.cpp:
      (_Ewk_View_Private_Data):
      (ewk_view_onload_event):
      * ewk/ewk_view.h:
      
      Tools:
      
      Implement support for LayoutTestController's dumpFrameLoadCallbacks()
      in EFL's DumpRenderTree.
      
      * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
      (DumpRenderTreeChrome::createView):
      (DumpRenderTreeChrome::processWork):
      (DumpRenderTreeChrome::topLoadingFrameLoadFinished):
      (DumpRenderTreeChrome::onWebViewOnloadEvent):
      (DumpRenderTreeChrome::onInsecureContentRun):
      (DumpRenderTreeChrome::onInsecureContentDisplayed):
      (DumpRenderTreeChrome::onFrameCreated):
      (DumpRenderTreeChrome::onFrameProvisionalLoad):
      (DumpRenderTreeChrome::onFrameLoadCommitted):
      (DumpRenderTreeChrome::onFrameLoadFinished):
      (DumpRenderTreeChrome::onFrameLoadError):
      * DumpRenderTree/efl/DumpRenderTreeChrome.h:
      (DumpRenderTreeChrome):
      
      LayoutTests:
      
      Unskip the test cases in EFL which needed dumpFrameLoadCallbacks()
      support in the DumpRenderTree now that it is implemented.
      
      * platform/efl/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114376 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d25d40ba
    • kbalazs@webkit.org's avatar
      [Qt] Unreviewed ARM build fix · c177e078
      kbalazs@webkit.org authored
      * PluginProcess/qt/PluginProcessMainQt.cpp:
      (WebKit::PluginProcessMain): Export this function.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114375 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c177e078
    • commit-queue@webkit.org's avatar
      Asserts in XMLHttpRequestProgressEventThrottle · d0241e6c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81506
      
      Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-04-17
      Reviewed by Julien Chaffraix.
      
      Source/WebCore:
      
      The asserts were incorrectly triggered because suspending active DOM objects
      (which suspends the XMLHttpRequestProgressEventThrottle) doesn't stop JavaScript
      from running or suspend any running loader we may have. The previous code would
      assume those 2 cases were impossible.
      
      When XmlHttpRequest::open is called or data is received while the XmlHttpRequest object
      is suspended the object may attempt to dispatch events. This patch defers these events
      until the object is resumed.
      
      Progress events are coalesced similar to normal throttling, and readystate-change events
      are coalesced to avoid identical events emitted right after eachother.
      
      On resume the events are dispatched after a timer to avoid interfering with
      ScriptExecutionContext which is iterating over suspended objects.
      
      Test: fast/events/pagehide-xhr-open.html
      
      * xml/XMLHttpRequestProgressEventThrottle.cpp:
      (WebCore::XMLHttpRequestProgressEventThrottle::XMLHttpRequestProgressEventThrottle):
      (WebCore::XMLHttpRequestProgressEventThrottle::dispatchProgressEvent):
      (WebCore::XMLHttpRequestProgressEventThrottle::dispatchEvent):
      (WebCore::XMLHttpRequestProgressEventThrottle::flushProgressEvent):
      (WebCore::XMLHttpRequestProgressEventThrottle::dispatchDeferredEvents):
      (WebCore::XMLHttpRequestProgressEventThrottle::fired):
      (WebCore::XMLHttpRequestProgressEventThrottle::suspend):
      (WebCore::XMLHttpRequestProgressEventThrottle::resume):
      * xml/XMLHttpRequestProgressEventThrottle.h:
      (XMLHttpRequestProgressEventThrottle):
      
      LayoutTests:
      
      Tests that xmlhttprequest.open does not assert in when called from onpagehide.
      
      * fast/events/pagehide-xhr-open-expected.txt: Added.
      * fast/events/pagehide-xhr-open.html: Added.
      * fast/events/resources/subframe-xmlhttprequest.html: Added.
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114374 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d0241e6c
    • vsevik@chromium.org's avatar
      Web Inspector: [Chromium] Crash when inspecting empty IndexedDB object store. · ea02a220
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84035
      
      Reviewed by Pavel Feldman.
      
      Added a check that m_idbCursor is not null before calling postSuccessHandlerCallback() on it.
      
      * inspector/InspectorIndexedDBAgent.cpp:
      (WebCore):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114373 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ea02a220
    • loislo@chromium.org's avatar
      Web Inspector: the fix for test after massive rename in r114271. · 57d7cab7
      loislo@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84147
      
      Drive by fix. The test was renamed to heap-snapshot.html
      
      Reviewed by Yury Semikhatsky.
      
      * inspector/heap-snapshot.html: Renamed from PerformanceTests/inspector/detailed-heapshots-smoke-test.html.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114372 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      57d7cab7
    • commit-queue@webkit.org's avatar
      [Qt] Fix builds with force_static_libs_as_shared for non-linux builds. · e61e3b5c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83035
      
      Patch by Michael Brüning <michael.bruning@nokia.com> on 2012-04-17
      Reviewed by Simon Hausmann.
      
      The force_static_libs_as_shared feature for the Qt port will remove
      hide_symbols from Qt's CONFIG in order to make them visible to other
      libraries again.
      
      Due to an evaluation order problem in qmake, the flags for the C++ compiler
      that are set by adding hide_symbols to the CONFIG variables get applied
      to qmake's C++ compiler flags directly and hence trying to remove these
      later will not work and cause build failures when using the force_static_libs_as_shared
      feature of the Qt port.
      
      This is fixed by removing the flags that hide the exports from the compiler flags directly.
      
      * qmake/mkspecs/features/force_static_libs_as_shared.prf:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114371 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e61e3b5c
    • commit-queue@webkit.org's avatar
      [Qt] Zoom out on second double-tap. · f2f064b1
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84145
      
      Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-04-17
      Reviewed by Simon Hausmann.
      
      * UIProcess/qt/QtViewportInteractionEngine.cpp:
      (WebKit::QtViewportInteractionEngine::QtViewportInteractionEngine):
      (WebKit::QtViewportInteractionEngine::zoomToAreaGestureEnded):
      (WebKit::QtViewportInteractionEngine::pinchGestureStarted):
      * UIProcess/qt/QtViewportInteractionEngine.h:
      (QtViewportInteractionEngine):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114370 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f2f064b1