1. 05 Sep, 2013 36 commits
    • commit-queue@webkit.org's avatar
      [GTK] improving tests expectations related to trackmenu · 5b327c65
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120699
      
      Adding tests expectations to the current GTK's trackmenu
      implementation.
      
      Also adding a in-band-track test expectation as failure since we don't
      support in-band tracks yet.
      
      Patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk> on 2013-09-05
      Reviewed by Gustavo Noronha Silva.
      
      * platform/gtk/TestExpectations:
      * platform/gtk/media/video-controls-captions-trackmenu-expected.txt: Added.
      * platform/gtk/media/video-controls-captions-trackmenu-hide-on-click-expected.txt: Added.
      * platform/gtk/media/video-controls-captions-trackmenu-localized-expected.txt: Added.
      * platform/gtk/media/video-controls-captions-trackmenu-sorted-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155128 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b327c65
    • roger_fong@apple.com's avatar
      Link to libdispatch_debug.lib when using DebugSuffix configuration. · ccfa7d65
      roger_fong@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120712.
      <rdar://problem/14883216>.
      
      Reviewed by Brent Fulgham.
      
      * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ccfa7d65
    • andersca@apple.com's avatar
      Change StringBuffer back to not use an OwnPtr in an attempt to fix ports. · 15a17812
      andersca@apple.com authored
      * wtf/text/StringBuffer.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155126 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      15a17812
    • berto@igalia.com's avatar
      [WK2] [GTK] Remove the test to disable AC under Wayland from WebKitWebViewGroup · 018cdd8a
      berto@igalia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120762
      
      Reviewed by Gustavo Noronha Silva.
      
      The code to disable AC under Wayland is not run if we're using
      WebKitTestRunner, so it would be better to move it to
      WebKitWebViewBase.
      
      However it's not really necessary to do that, instead it's much
      simpler to disable accelerated compositing in all cases unless we
      know we can support it.
      
      * UIProcess/API/gtk/WebKitWebViewBase.cpp:
      (webkitWebViewBaseUpdatePreferences):
      * UIProcess/API/gtk/WebKitWebViewGroup.cpp:
      (webkitWebViewGroupAttachSettingsToPageGroup):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155125 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      018cdd8a
    • ossy@webkit.org's avatar
      Make build.webkit.org report the number of failing run-fast-jsc tests · fd7a462e
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120766
      
      Reviewed by Filip Pizlo.
      
      * BuildSlaveSupport/build.webkit.org-config/master.cfg:
      (RunJavaScriptCoreTests.commandComplete):
      (RunJavaScriptCoreTests.getText2):
      * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
      (RunJavaScriptCoreTestsTest): Added.
      (RunJavaScriptCoreTestsTest.assertResults):
      (RunJavaScriptCoreTestsTest.test_no_regressions_old_output):
      (RunJavaScriptCoreTestsTest.test_mozilla_failure_old_output):
      (RunJavaScriptCoreTestsTest.test_mozilla_failure_new_output):
      (RunJavaScriptCoreTestsTest.test_fast_js_failure_new_output):
      (RunJavaScriptCoreTestsTest.test_fast_js_crash_new_output):
      (RunJavaScriptCoreTestsTest.test_mozilla_and_fast_js_failure_new_output):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fd7a462e
    • bfulgham@apple.com's avatar
      [Windows] Unreviewed build fix for DebugSuffix target. · 54ff1396
      bfulgham@apple.com authored
      * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters: Don't build 64-bit assembly in 32-bit build.
      Also correct 'filters' file so that files appear in categories that match their on-disk locations.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155123 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      54ff1396
    • fpizlo@apple.com's avatar
      fast/js/dfg-* tests should wait for the concurrent JIT · 299a8ee0
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120723
      
      Rubber stamped by Oliver Hunt.
              
      Convert more tests.
      
      * fast/js/dfg-branch-logical-not-peephole-around-osr-exit-expected.txt:
      * fast/js/dfg-branch-not-fail-expected.txt:
      * fast/js/dfg-byte-array-put-expected.txt:
      * fast/js/dfg-call-function-hit-watchpoint-expected.txt:
      * fast/js/dfg-call-method-hit-watchpoint-expected.txt:
      * fast/js/dfg-captured-var-get-local-expected.txt:
      * fast/js/dfg-cfa-merge-with-dead-use-at-tail-expected.txt:
      * fast/js/dfg-cfg-simplify-eliminate-set-local-type-check-then-branch-not-null-and-decrement-expected.txt:
      * fast/js/dfg-cfg-simplify-eliminate-set-local-type-check-then-branch-not-null-expected.txt:
      * fast/js/dfg-cfg-simplify-eliminate-set-local-type-check-then-typeof-expected.txt:
      * fast/js/dfg-cfg-simplify-phantom-get-local-on-same-block-set-local-expected.txt:
      * fast/js/dfg-cfg-simplify-redundant-dead-get-local-expected.txt:
      * fast/js/dfg-check-function-change-structure-expected.txt:
      * fast/js/jsc-test-list:
      * fast/js/script-tests/dfg-branch-logical-not-peephole-around-osr-exit.js:
      * fast/js/script-tests/dfg-branch-not-fail.js:
      * fast/js/script-tests/dfg-byte-array-put.js:
      * fast/js/script-tests/dfg-call-function-hit-watchpoint.js:
      * fast/js/script-tests/dfg-call-method-hit-watchpoint.js:
      * fast/js/script-tests/dfg-captured-var-get-local.js:
      * fast/js/script-tests/dfg-cfa-merge-with-dead-use-at-tail.js:
      * fast/js/script-tests/dfg-cfg-simplify-eliminate-set-local-type-check-then-branch-not-null-and-decrement.js:
      * fast/js/script-tests/dfg-cfg-simplify-eliminate-set-local-type-check-then-branch-not-null.js:
      * fast/js/script-tests/dfg-cfg-simplify-eliminate-set-local-type-check-then-typeof.js:
      * fast/js/script-tests/dfg-cfg-simplify-phantom-get-local-on-same-block-set-local.js:
      * fast/js/script-tests/dfg-cfg-simplify-redundant-dead-get-local.js:
      * fast/js/script-tests/dfg-check-function-change-structure.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155122 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      299a8ee0
    • andersca@apple.com's avatar
      Vector::releaseBuffer should return an OwnPtr · 7f541107
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120718
      
      Reviewed by Andreas Kling.
      
      Source/WebCore:
      
      Change FormStreamFields::currentData to an OwnPtr.
      
      * platform/network/cf/FormDataStreamCFNet.cpp:
      (WebCore::closeCurrentStream):
      (WebCore::advanceCurrentStream):
      (WebCore::formCreate):
      
      Source/WTF:
      
      Change Vector::releaseBuffer() to return an OwnPtr. I intentionally chose
      to use an OwnPtr over a PassOwnPtr since we're trying to move away from PassOwnPtr objects.
      
      Fix fallout from this change by adopting OwnPtr/PassOwnPtr in StringBuffer and the two StringImpl
      constructors that adopt the passed in pointer.
      
      * wtf/Vector.h:
      * wtf/text/StringBuffer.h:
      * wtf/text/StringImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155121 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f541107
    • akling@apple.com's avatar
      Reverting "Cached Page and Frame don't need to be ref-counted. · 80b077bf
      akling@apple.com authored
      <https://webkit.org/b/120758>
      
      This didn't work so well on Qt bots. Will have to take bigger steps
      here instead of iterating.
      
      * history/CachedFrame.h:
      (WebCore::CachedFrame::create):
      * history/CachedPage.cpp:
      (WebCore::CachedPage::create):
      * history/CachedPage.h:
      * history/HistoryItem.h:
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::commitProvisionalLoad):
      (WebCore::FrameLoader::transitionToCommitted):
      * loader/FrameLoader.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155120 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      80b077bf
    • andersca@apple.com's avatar
      Animations in an AnimationList are never null · 391ed0ff
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120720
      
      Reviewed by Andreas Kling.
      
      Change AnimationList::operator[] to return an Animation& and fix up related code to also take references.
      
      * css/CSSComputedStyleDeclaration.cpp:
      * css/DeprecatedStyleBuilder.cpp:
      * page/animation/CompositeAnimation.cpp:
      * page/animation/KeyframeAnimation.cpp:
      * platform/animation/Animation.h:
      * platform/animation/AnimationList.cpp:
      * platform/animation/AnimationList.h:
      * rendering/RenderLayerBacking.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155119 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      391ed0ff
    • ossy@webkit.org's avatar
      Make run-fast-jsc script bash, dash and Darwin's /bin/sh friendly · bbca46f1
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120759
      
      Reviewed by Filip Pizlo.
      
      * Scripts/run-fast-jsc: Remove bashisms to make bash, dash and Darwin's /bin/sh happy.
      * Scripts/run-javascriptcore-tests: Enable run-fast-jsc tests everywhere, except Windows.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155118 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bbca46f1
    • fpizlo@apple.com's avatar
      Unreviewed, green the Mac bots by boosting the timeout on JSC tests. One of the · 54053ee5
      fpizlo@apple.com authored
      Mozilla tests appears to run for a longer time.
              
      I think we want to continue to allow a few tests here and there to be
      longer-running, rather than excluding them. I seem to recall that those tests
      catch good bugs.
      
      * Scripts/run-javascriptcore-tests:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      54053ee5
    • antti@apple.com's avatar
      Call createTextRenderersForSiblingsAfterAttachIfNeeded only for the attach root · 555f92e7
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120770
      
      Reviewed by Andreas Kling.
      
      There is no need to call this during recursive attach as siblings are going to be attached normally anyway.
      Move call sites to attach roots only.
      
      * style/StyleResolveTree.cpp:
      (WebCore::Style::createTextRenderersForSiblingsAfterAttachIfNeeded):
              
          Factor to take reference and do the inital tests itself.
      
      (WebCore::Style::createTextRendererIfNeeded):
      (WebCore::Style::updateTextRendererAfterContentChange):
      (WebCore::Style::attachChildren):
              
          Also tightened the condition where previously attached children may be encountered.
      
      (WebCore::Style::attachRenderTree):
      (WebCore::Style::resolveLocal):
      (WebCore::Style::updateTextStyle):
      (WebCore::Style::reattachRenderTree):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155116 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      555f92e7
    • mikhail.pozdnyakov@intel.com's avatar
      Remove String(RefPtr<StringImpl>) constructor · 4d7e4e29
      mikhail.pozdnyakov@intel.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120767
      
      Reviewed by Anders Carlsson.
      
      The String(RefPtr<StringImpl>) constructor should be removed for the following reasons:
      - It almost does not have clients, so it is unneeded.
      - RefPtr should never be passed by value
      
      * wtf/text/StringBuilder.cpp:
      (WTF::StringBuilder::shrinkToFit):
      * wtf/text/WTFString.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155115 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d7e4e29
    • commit-queue@webkit.org's avatar
      [CSS Regions] Convert existing pixel tests in ref tests · 14f46fda
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120760
      
      Patch by Mihai Maerean <mmaerean@adobe.com> on 2013-09-05
      Reviewed by Antti Koivisto.
      
      I have also removed text-align:justify from the tests because its not relevant to the tested functionality and
      it makes creating the expected results very difficult because of the way fragmented text is rendered when
      it's aligned justified.
      
      * fast/regions/overflow-in-uniform-regions-dynamic-expected.html: Added.
      * fast/regions/overflow-in-uniform-regions-dynamic.html:
      * fast/regions/overflow-in-variable-width-regions-expected.html: Added.
      * fast/regions/overflow-in-variable-width-regions.html:
      * fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.html: Added.
      * fast/regions/overflow-moving-below-floats-in-variable-width-regions.html:
      * fast/regions/overflow-not-moving-below-floats-in-variable-width-regions-expected.html: Added.
      * fast/regions/overflow-not-moving-below-floats-in-variable-width-regions.html:
      * fast/regions/overflow-rtl-in-variable-width-regions-expected.html: Added.
      * fast/regions/overflow-rtl-in-variable-width-regions.html:
      * fast/regions/overflow-size-change-in-variable-width-regions-expected.html: Added.
      * fast/regions/overflow-size-change-in-variable-width-regions.html:
      * platform/efl/fast/regions/overflow-in-uniform-regions-dynamic-expected.png: Removed.
      * platform/efl/fast/regions/overflow-in-uniform-regions-dynamic-expected.txt: Removed.
      * platform/efl/fast/regions/overflow-in-variable-width-regions-expected.png: Removed.
      * platform/efl/fast/regions/overflow-in-variable-width-regions-expected.txt: Removed.
      * platform/efl/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.png: Removed.
      * platform/efl/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.txt: Removed.
      * platform/efl/fast/regions/overflow-rtl-in-variable-width-regions-expected.png: Removed.
      * platform/efl/fast/regions/overflow-rtl-in-variable-width-regions-expected.txt: Removed.
      * platform/efl/fast/regions/overflow-size-change-in-variable-width-regions-expected.png: Removed.
      * platform/efl/fast/regions/overflow-size-change-in-variable-width-regions-expected.txt: Removed.
      * platform/gtk/fast/regions/overflow-in-uniform-regions-dynamic-expected.png: Removed.
      * platform/gtk/fast/regions/overflow-in-uniform-regions-dynamic-expected.txt: Removed.
      * platform/gtk/fast/regions/overflow-in-variable-width-regions-expected.png: Removed.
      * platform/gtk/fast/regions/overflow-in-variable-width-regions-expected.txt: Removed.
      * platform/gtk/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.png: Removed.
      * platform/gtk/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.txt: Removed.
      * platform/gtk/fast/regions/overflow-rtl-in-variable-width-regions-expected.png: Removed.
      * platform/gtk/fast/regions/overflow-rtl-in-variable-width-regions-expected.txt: Removed.
      * platform/gtk/fast/regions/overflow-size-change-in-variable-width-regions-expected.png: Removed.
      * platform/gtk/fast/regions/overflow-size-change-in-variable-width-regions-expected.txt: Removed.
      * platform/mac/fast/regions/overflow-in-uniform-regions-dynamic-expected.png: Removed.
      * platform/mac/fast/regions/overflow-in-uniform-regions-dynamic-expected.txt: Removed.
      * platform/mac/fast/regions/overflow-in-variable-width-regions-expected.png: Removed.
      * platform/mac/fast/regions/overflow-in-variable-width-regions-expected.txt: Removed.
      * platform/mac/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.png: Removed.
      * platform/mac/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.txt: Removed.
      * platform/mac/fast/regions/overflow-rtl-in-variable-width-regions-expected.png: Removed.
      * platform/mac/fast/regions/overflow-rtl-in-variable-width-regions-expected.txt: Removed.
      * platform/mac/fast/regions/overflow-size-change-in-variable-width-regions-expected.png: Removed.
      * platform/mac/fast/regions/overflow-size-change-in-variable-width-regions-expected.txt: Removed.
      * platform/qt-wk2/fast/regions/overflow-in-uniform-regions-dynamic-expected.png: Removed.
      * platform/qt-wk2/fast/regions/overflow-in-variable-width-regions-expected.png: Removed.
      * platform/qt-wk2/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.png: Removed.
      * platform/qt-wk2/fast/regions/overflow-rtl-in-variable-width-regions-expected.png: Removed.
      * platform/qt-wk2/fast/regions/overflow-size-change-in-variable-width-regions-expected.png: Removed.
      * platform/qt/fast/regions/overflow-in-uniform-regions-dynamic-expected.png: Removed.
      * platform/qt/fast/regions/overflow-in-uniform-regions-dynamic-expected.txt: Removed.
      * platform/qt/fast/regions/overflow-in-variable-width-regions-expected.png: Removed.
      * platform/qt/fast/regions/overflow-in-variable-width-regions-expected.txt: Removed.
      * platform/qt/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.png: Removed.
      * platform/qt/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.txt: Removed.
      * platform/qt/fast/regions/overflow-rtl-in-variable-width-regions-expected.png: Removed.
      * platform/qt/fast/regions/overflow-rtl-in-variable-width-regions-expected.txt: Removed.
      * platform/qt/fast/regions/overflow-size-change-in-variable-width-regions-expected.png: Removed.
      * platform/qt/fast/regions/overflow-size-change-in-variable-width-regions-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155114 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      14f46fda
    • commit-queue@webkit.org's avatar
      [GTK] Assertion fails when the mouse pointer is styled with a custom cursor · d971d446
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118905
      
      Patch by Enrique Ocaña González <eocanha@igalia.com> on 2013-09-05
      Reviewed by Philippe Normand.
      
      Checked that the custom cursor image and its pixbuf is valid and create a null
      cursor otherwise.
      
      * platform/gtk/CursorGtk.cpp:
      (WebCore::createCustomCursor):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155113 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d971d446
    • commit-queue@webkit.org's avatar
      Precision updates in WebAudio. · b09f27ad
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=119739
      
      Patch by Praveen R Jadhav <praveen.j@samsung.com> on 2013-09-05
      Reviewed by Philippe Normand.
      
      WebAudio Specification suggests to use 'double' datatypes
      for minDecibels, maxDecibels and smoothingTimeConstant in
      AnalyserNode.idl and currentTime in AudioContext.idl.
      Current WebKit implementation has declared these attributes
      as 'float' type.
      
      Spec: https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioContext-section
            https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AnalyserNode
      
      No new tests, covered by existing tests.
      
      * Modules/webaudio/AnalyserNode.cpp:
      (WebCore::AnalyserNode::setMinDecibels):
      (WebCore::AnalyserNode::setMaxDecibels):
      (WebCore::AnalyserNode::setSmoothingTimeConstant):
      * Modules/webaudio/AnalyserNode.h:
      (WebCore::AnalyserNode::minDecibels):
      (WebCore::AnalyserNode::maxDecibels):
      (WebCore::AnalyserNode::smoothingTimeConstant):
      * Modules/webaudio/AnalyserNode.idl:
      * Modules/webaudio/AudioContext.idl:
      * Modules/webaudio/RealtimeAnalyser.h:
      (WebCore::RealtimeAnalyser::setMinDecibels):
      (WebCore::RealtimeAnalyser::minDecibels):
      (WebCore::RealtimeAnalyser::setMaxDecibels):
      (WebCore::RealtimeAnalyser::maxDecibels):
      (WebCore::RealtimeAnalyser::setSmoothingTimeConstant):
      (WebCore::RealtimeAnalyser::smoothingTimeConstant):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155112 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b09f27ad
    • commit-queue@webkit.org's avatar
      [GTK] media/track/in-band/ layout tests introduced in r154908 are failing · 896ad3b6
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120665
      
      Patch by Brendan Long <b.long@cablelabs.com> on 2013-09-05
      Reviewed by Philippe Normand.
      
      * platform/efl/TestExpectations: Skip new media/track/in-band tests.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155111 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      896ad3b6
    • zarvai@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardening. · 02297189
      zarvai@inf.u-szeged.hu authored
      * platform/qt-wk1/TestExpectations: Unskipping after 155104.
      * platform/qt/TestExpectations: Unskipping after r155061.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155110 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      02297189
    • mihnea@adobe.com's avatar
      Replace node() calls with generatingNode() for RenderRegion code · 754ee5c8
      mihnea@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120397
      
      Reviewed by Darin Adler.
      
      As regions will become anonymous blocks nested inside elements with the flow-from property, a first step
      would be to change the calls to node() with calls to generatingNode(). In the case of regions, generatingNode()
      will always return an Element* and not a Node*. Therefore, to get rid of toElement() casts, i created
      a specific method RenderRegion::generatingElement that will return the generating node as Element.
      No new tests as no functional change was introduced.
      
      Original patch by Catalin Badea.
      
      * css/ElementRuleCollector.cpp:
      (WebCore::ElementRuleCollector::collectMatchingRulesForRegion):
      * dom/WebKitNamedFlow.cpp:
      (WebCore::WebKitNamedFlow::getRegionsByContent):
      (WebCore::WebKitNamedFlow::getRegions):
      * rendering/RenderRegion.cpp:
      (WebCore::RenderRegion::regionOversetState):
      (WebCore::RenderRegion::setRegionOversetState):
      (WebCore::RenderRegion::checkRegionStyle):
      * rendering/RenderRegion.h:
      (WebCore::RenderRegion::generatingElement):
      * rendering/RenderTreeAsText.cpp:
      (WebCore::writeRenderRegionList): For pseudo-elements as regions, i want to print
      {pseudo} instead of {div} marker for the parent.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      754ee5c8
    • ossy@webkit.org's avatar
      Fix SynchronousLoaderClient class for !USE(CFNETWORK) platforms · 202ca8e7
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120532
      
      Reviewed by Darin Adler.
      
      * CMakeLists.txt:
      * PlatformEfl.cmake:
      * PlatformGTK.cmake:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * platform/network/SynchronousLoaderClient.cpp:
      * platform/network/cf/SynchronousLoaderClientCFNet.cpp: Added.
      (WebCore::SynchronousLoaderClient::didReceiveAuthenticationChallenge):
      (WebCore::SynchronousLoaderClient::platformBadResponseError):
      * platform/network/soup/SynchronousLoaderClientSoup.cpp: Added.
      (WebCore::SynchronousLoaderClient::didReceiveAuthenticationChallenge):
      (WebCore::SynchronousLoaderClient::platformBadResponseError):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155108 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      202ca8e7
    • jinwoo7.song@samsung.com's avatar
      Fix unused parameter warning in WebKitAccessibleInterfaceText.cpp · 0305f656
      jinwoo7.song@samsung.com authored
      <https://webkit.org/b/120761>
      
      Reviewed by Gyuyoung Kim.
      
      Fix warning by removing unused parameter.
      
      * accessibility/atk/WebKitAccessibleInterfaceText.cpp:
      (sentenceAtPositionForAtkBoundary):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155107 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0305f656
    • ljaehun.lim@samsung.com's avatar
      Unreviewed. Fix build after r155083 · 42e8095a
      ljaehun.lim@samsung.com authored
      Source/WTF/wtf/Vector.h:1210:48: error: ‘>>’ should be ‘> >’ within a nested template argument list
      
      * wtf/Vector.h: Add missing space.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42e8095a
    • krit@webkit.org's avatar
      NULL ptr in WebCore::RefCountedPropertyWrapper<WebCore::ClipPathOperation>::blend · 73f41409
      krit@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=105408
      
      Reviewed by Dean Jackson.
      
      Source/WebCore:
      
      Adding an early return if from or to clip-path values are 'none'. According to the
      specification we shall just interpolate between two basic shapes.
      
      http://dev.w3.org/csswg/css-shapes/#basic-shape-interpolation
      
      * page/animation/CSSPropertyAnimation.cpp:
      (WebCore::blendFunc):
      
      LayoutTests:
      
      Test that animation from none to a basic shape on -webkit-clip-path doesn't crash.
      
      * css3/masking/clip-path-animation-expected.txt:
      * css3/masking/clip-path-animation.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155105 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      73f41409
    • commit-queue@webkit.org's avatar
      [Qt][WK1] REGRESSION(r154988): compositing/video/video-with-invalid-source.html · e547636f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120683
      
      Patch by Andre Moreira Magalhaes <andre.magalhaes@collabora.co.uk> on 2013-09-05
      Reviewed by Philippe Normand.
      
      Do not set pipeline state to NULL on MediaPlayerPrivateGStreamer::loadingFailed()
      otherwise the bus is flushed and we never get a GST_MESSAGE_ERROR when failing to
      load uris.
      Also restore previous behaviour (before r154988) of not invoking loadingFailed() for
      all failed manual state change attempts.
      
      * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
      (WebCore::MediaPlayerPrivateGStreamer::changePipelineState):
      Do not call loadingFailed() if state change fails as all manual state changes are
      now done with changePipelineState().
      (WebCore::MediaPlayerPrivateGStreamer::play):
      (WebCore::MediaPlayerPrivateGStreamer::pause):
      (WebCore::MediaPlayerPrivateGStreamer::seek):
      (WebCore::MediaPlayerPrivateGStreamer::handleMessage):
      Restore previous behaviour (before changeset r154988) when calling changePipelineState().
      (WebCore::MediaPlayerPrivateGStreamer::updateStates):
      Do nothing if changing to READY on EOS (same behaviour as setting to NULL as it was before
      changeset r154988).
      (WebCore::MediaPlayerPrivateGStreamer::loadingFailed):
      Do not set pipeline state to NULL so we properly get GST_MESSAGE_ERROR on loading failures.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e547636f
    • fpizlo@apple.com's avatar
      Unreviewed, don't run fast/js tests in run-javascriptcore-tests on platforms that · 96a266c6
      fpizlo@apple.com authored
      can't support it because if non-bourne shells. This fixes part #2 of the Linux
      bot breakage.
      
      * Scripts/run-javascriptcore-tests:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      96a266c6
    • berto@igalia.com's avatar
      [GTK] MediaControlsGtk: fix warning in constructor due to incorrect order of attributes · 78105644
      berto@igalia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120703
      
      Reviewed by Carlos Garcia Campos.
      
      Fix member initialization so it matches their declaration [-Wreorder].
      
      * html/shadow/MediaControlsGtk.cpp:
      (WebCore::MediaControlsGtk::MediaControlsGtk):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155102 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78105644
    • fpizlo@apple.com's avatar
      Unreviewed, don't rely on File::Slurp. This fixes part #1 of Linux bot breakage. · 01c87550
      fpizlo@apple.com authored
      * Scripts/run-javascriptcore-tests:
      (readAllLines):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01c87550
    • krit@webkit.org's avatar
      Support interpolation between cross-fade() images · 50fa7026
      krit@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=119955
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      With this patch, CSS can animate from one -webkit-cross-fade
      function to another, when the input images are the same in the
      same order.
      
      * css/CSSCrossfadeValue.cpp: Added blend function.
      (WebCore::blendFunc):
      (WebCore::CSSCrossfadeValue::blend):
      (WebCore::CSSCrossfadeValue::equals):
      (WebCore::CSSCrossfadeValue::equalInputImages):
      * css/CSSCrossfadeValue.h: Added save casting functions.
      (WebCore::toCSSCrossfadeValue):
      * css/CSSValue.h:
      (WebCore::CSSValue::isCrossfadeValue):
      * page/animation/CSSPropertyAnimation.cpp: Add another condition to
          interpolate between two -webkit-cross-fade functions.
      (WebCore::blendFunc):
      
      LayoutTests:
      
      Test interpolation from one cross-fade function to another. Changed pixel test
      to a ref test.
      
      * animations/cross-fade-background-image.html:
      * animations/cross-fade-background-image-expected.html: Added.
      * platform/mac/animations/cross-fade-background-image-expected.png: Removed.
      * platform/mac/animations/cross-fade-background-image-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155100 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50fa7026
    • zherczeg@webkit.org's avatar
      <https://webkit.org/b/118553> Hash navigation doesn't affect history when the... · 8398cfb2
      zherczeg@webkit.org authored
      <https://webkit.org/b/118553> Hash navigation doesn't affect history when the page is retrieved from appcache
      
      Reviewed by Darin Adler.
      
      Source/WebCore: 
      
      A new flag called keepInHistory is added to allow keeping
      certain pages in the history even if they have substitute data.
      
      Test: http/tests/appcache/history-test.html
      
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::urlForHistory):
      * loader/SubstituteData.h:
      (WebCore::SubstituteData::SubstituteData):
      (WebCore::SubstituteData::shouldRevealToSessionHistory):
      (WebCore::SubstituteData::setShouldRevealToSessionHistory):
      * loader/appcache/ApplicationCacheHost.cpp:
      (WebCore::ApplicationCacheHost::maybeLoadMainResource):
      
      LayoutTests: 
      
      * http/tests/appcache/history-test-expected.txt: Added.
      * http/tests/appcache/history-test.html: Added.
      * http/tests/appcache/resources/history-test.html: Added.
      * http/tests/appcache/resources/history-test.manifest: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8398cfb2
    • fpizlo@apple.com's avatar
      jsc tests should have timeouts · c88e14c6
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120725
      
      Source/JavaScriptCore: 
      
      Reviewed by Geoffrey Garen.
              
      Add the timeout logic directly to 'jsc' because that's easier to do than
      writing shell/perl code for it.
      
      * jsc.cpp:
      (timeoutThreadMain):
      (main):
      
      Tools: 
      
      Reviewed by Geoffrey Garen.
              
      Set the timeout to 20 seconds per test for now.
      
      * Scripts/run-javascriptcore-tests:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c88e14c6
    • commit-queue@webkit.org's avatar
      Test background blend modes with animated gif background layers. · 9565c1f8
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120057
      
      Patch by Mihai Tica <mitica@adobe.com> on 2013-09-04
      Reviewed by Darin Adler.
      
      * css3/compositing/background-blend-mode-gif-color-2.html: Added.
      * css3/compositing/background-blend-mode-gif-color.html: Added.
      * css3/compositing/resources/squares.gif: Added.
      * platform/mac/css3/compositing/background-blend-mode-gif-color-2-expected.png: Added.
      * platform/mac/css3/compositing/background-blend-mode-gif-color-2-expected.txt: Added.
      * platform/mac/css3/compositing/background-blend-mode-gif-color-expected.png: Added.
      * platform/mac/css3/compositing/background-blend-mode-gif-color-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9565c1f8
    • fpizlo@apple.com's avatar
      fast/js/dfg-* tests should wait for the concurrent JIT · 4bc850b4
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120723
      
      Source/JavaScriptCore: 
      
      Reviewed by Geoffrey Garen.
              
      * runtime/TestRunnerUtils.cpp:
      (JSC::numberOfDFGCompiles): This should also handle constructors.
      
      LayoutTests: 
      
      Reviewed by Geoffrey Garen.
              
      Add dfgShouldBe(), a handy function that covers a lot of common cases.
      Also convert a bunch of tests.
      
      * fast/js/dfg-activation-register-overwritten-in-throw-expected.txt:
      * fast/js/dfg-add-not-number-expected.txt:
      * fast/js/dfg-allocation-profile-watch-point-exit-expected.txt:
      * fast/js/dfg-arguments-alias-escape-expected.txt:
      * fast/js/dfg-arguments-cross-code-origin-expected.txt:
      * fast/js/dfg-arguments-mixed-alias-expected.txt:
      * fast/js/dfg-arguments-strict-mode-expected.txt:
      * fast/js/dfg-arguments-unexpected-escape-expected.txt:
      * fast/js/dfg-array-dead-expected.txt:
      * fast/js/dfg-array-length-dead-expected.txt:
      * fast/js/dfg-array-pop-value-clearing-expected.txt:
      * fast/js/dfg-array-push-bad-time-expected.txt:
      * fast/js/dfg-array-push-slow-put-expected.txt:
      * fast/js/dfg-arrayify-when-late-prevent-extensions-expected.txt:
      * fast/js/dfg-arrayify-when-prevent-extensions-expected.txt:
      * fast/js/dfg-bool-to-int32-reuse-expected.txt:
      * fast/js/jsc-test-list:
      * fast/js/resources/js-test-pre.js:
      (dfgShouldBe):
      * fast/js/resources/standalone-pre.js:
      (dfgShouldBe):
      * fast/js/script-tests/dfg-activation-register-overwritten-in-throw.js:
      (g):
      * fast/js/script-tests/dfg-add-not-number.js:
      * fast/js/script-tests/dfg-allocation-profile-watch-point-exit.js:
      (foo):
      * fast/js/script-tests/dfg-arguments-alias-escape.js:
      * fast/js/script-tests/dfg-arguments-cross-code-origin.js:
      * fast/js/script-tests/dfg-arguments-mixed-alias.js:
      * fast/js/script-tests/dfg-arguments-strict-mode.js:
      * fast/js/script-tests/dfg-arguments-unexpected-escape.js:
      * fast/js/script-tests/dfg-array-dead.js:
      * fast/js/script-tests/dfg-array-length-dead.js:
      * fast/js/script-tests/dfg-array-pop-value-clearing.js:
      * fast/js/script-tests/dfg-array-push-bad-time.js:
      * fast/js/script-tests/dfg-array-push-slow-put.js:
      * fast/js/script-tests/dfg-arrayify-when-late-prevent-extensions.js:
      * fast/js/script-tests/dfg-arrayify-when-prevent-extensions.js:
      * fast/js/script-tests/dfg-bool-to-int32-reuse.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155096 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4bc850b4
    • g.czajkowski@samsung.com's avatar
      Remove deprecated markersForNode(Node* node). · 10624356
      g.czajkowski@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120679
      
      Reviewed by Ryosuke Niwa.
      
      DocumentMarkerController::markersForNode(Node* node) has been marked as
      deprecated in favor of markersFor(Node*, MarkerTypes = AllMarkers()).
      
      No new tests, no behavior change.
      
      * dom/DocumentMarkerController.cpp:
      * dom/DocumentMarkerController.h:
      Remove never used markersForNode(Node*).
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155095 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      10624356
    • akling@apple.com's avatar
      CachedPage construction should begin with a Page&. · 50b1d4d7
      akling@apple.com authored
      <https://webkit.org/b/120721>
      
      Reviewed by Anders Carlsson.
      
      We can't create a CachedPage from a null Page anyway.
      
      * history/CachedPage.cpp:
      (WebCore::CachedPage::create):
      (WebCore::CachedPage::CachedPage):
      (WebCore::CachedPage::restore):
      * history/CachedPage.h:
      * history/PageCache.cpp:
      (WebCore::PageCache::add):
      * history/PageCache.h:
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::commitProvisionalLoad):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50b1d4d7
    • a.bah@samsung.com's avatar
      setAttributeNode() does not set the new value to an existing attribute if... · 03dcfec5
      a.bah@samsung.com authored
      setAttributeNode() does not set the new value to an existing attribute if specified attribute is in a different case.
      https://bugs.webkit.org/show_bug.cgi?id=120293
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      setAttributeNode() performs a case-insensitive search for an existing
      attribute. If an existing attribute is found, it retrieves the index of
      such an attribute. For setting the attribute's new value, we call upon
      setAttributeInternal() to which both the index as well as the name of
      the attribute is passed.
      The name passed to this method is the same as the one passed to the
      setAttributeNode() API from the webpage and thus can be in any case.
      
      However, setAttributeInternal() uses this name to get the corresponding
      existing attribute node. Since this retrieval is not case-insensitive,
      the existing node is not returned and thus the new value is not set on
      the existing node.
      We should instead use the passed index and use that to retrieve the
      existing node.
      
      Note that obtaining the attribute's value using getAttributeNode() would
      still return the correct value, i.e. the new one.
      
      Also, this change shall make our behavior similar to that of FF and IE.
      
      Test: fast/dom/Element/setAttributeNode-for-existing-attribute.html
      
      * dom/Element.cpp:
      (WebCore::Element::setAttributeInternal):
      If the passed index is not equal to attributeNotFound, we use that index
      to retrieve the existing attribute.
      
      LayoutTests:
      
      * fast/dom/Element/setAttributeNode-for-existing-attribute-expected.txt: Added.
      * fast/dom/Element/setAttributeNode-for-existing-attribute.html: Added.
      Layout testcase for verifying that the new attribute value is set properly
      if an existing attribute with the same name exists.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03dcfec5
  2. 04 Sep, 2013 4 commits