1. 06 Apr, 2012 40 commits
    • dpranke@chromium.org's avatar
      new-run-webkit-tests: fix bugs in 'mock' drt implementation · fc327d64
      dpranke@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83341
      
      Reviewed by Eric Seidel.
      
      The current implementation crashed in some circumstances for
      reference tests and files that were missing expected results.
      This patch fixes those cases and adds more unit tests; it is a
      precursor to adding unit tests each port that actually uses this
      code, in order to get better coverage of the port/*
      implementations.
      
      * Scripts/webkitpy/layout_tests/port/mock_drt.py:
      (parse_options):
      (MockDRT.input_from_line):
      (MockDRT.output_for_test):
      (MockDRT.run_one_test):
      (MockChromiumDRT.input_from_line):
      (MockChromiumDRT.output_for_test):
      (MockChromiumDRT.run_one_test):
      * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
      (MockDRTTest.make_input_output):
      (MockDRTTest.expected_output):
      (MockDRTTest):
      (MockDRTTest.assertTest):
      (MockDRTTest.test_missing_image):
      (MockDRTTest.test_missing_text):
      (MockDRTTest.test_reftest_match):
      (MockDRTTest.test_reftest_mismatch):
      (MockChromiumDRTTest.expected_output):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fc327d64
    • tony@chromium.org's avatar
      [chromium] Unreviewed gardening. This test is passing on chromium win and linux. · 2e8801dc
      tony@chromium.org authored
      * platform/chromium-linux-x86/fast/text/atsui-partial-selection-expected.png: Added.
      * platform/chromium-win/fast/text/atsui-partial-selection-expected.png:
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e8801dc
    • benjamin@webkit.org's avatar
      Get rid of the useless flag PREEMPT_GEOLOCATION_PERMISSION · 6bf6be20
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83325
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-04-06
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore: 
      
      The flag WTF_USE_PREEMPT_GEOLOCATION_PERMISSION was added in r63742 but
      was never disabled by anyone. Supporting this feature added complexity by
      introducing two authorization scheme.
      
      This patch removes WTF_USE_PREEMPT_GEOLOCATION_PERMISSION and the code supporting
      granting the authorization after startUpdating().
      
      * Modules/geolocation/Geolocation.cpp:
      (WebCore::Geolocation::GeoNotifier::runSuccessCallback): With the simplified
      authorization code, we ensure stronger constraint on GeoNotifier::runSuccessCallback().
      (WebCore::Geolocation::stop):
      (WebCore::Geolocation::startRequest):
      (WebCore::Geolocation::clearWatch):
      (WebCore::Geolocation::setIsAllowed):
      (WebCore::Geolocation::positionChanged): The case (!isAllowed()) was there
      to support granting the authorization for WTF_USE_PREEMPT_GEOLOCATION_PERMISSION.
      (WebCore::Geolocation::handlePendingPermissionNotifiers):
      * Modules/geolocation/Geolocation.h:
      (Geolocation):
      
      Source/WebKit/blackberry: 
      
      * WebCoreSupport/AboutDataUseFeatures.in:
      
      Source/WTF: 
      
      * wtf/Platform.h: Remove the flag.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113505 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6bf6be20
    • tony@chromium.org's avatar
      [chromium] Unreviewed, rebaseline a test on Vista/Win7. · bc420254
      tony@chromium.org authored
      * platform/chromium-linux/fast/encoding/invalid-UTF-8-expected.txt: Removed.
      * platform/chromium-win/fast/encoding/invalid-UTF-8-expected.png:
      * platform/chromium-win/fast/encoding/invalid-UTF-8-expected.txt:
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113504 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc420254
    • tsepez@chromium.org's avatar
      Block cross-origin iframe scroll to fragment. · f8960566
      tsepez@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=73083
      
      Reviewed by Adam Barth.
      
      Add a restriction similar to what FF has done for all iframes for over a
      year now. Our change is less disruptive in that it only does this in the
      cross-orgin case, which is where the fragment scrolling is problematic.
      
      Source/WebCore:
      
      Test: http/tests/navigation/anchor-frames-cross-origin.html
      
      * dom/Document.cpp:
      (WebCore::Document::canBeAccessedByEveryAncestorFrame):
      (WebCore):
      * dom/Document.h:
      (Document):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::finishedParsing):
      (WebCore::FrameLoader::loadInSameDocument):
      (WebCore::FrameLoader::loadURL):
      (WebCore::FrameLoader::loadWithDocumentLoader):
      (WebCore::FrameLoader::shouldPerformFragmentNavigation):
      (WebCore::FrameLoader::scrollToFragmentIfAllowed):
      (WebCore):
      * loader/FrameLoader.h:
      (FrameLoader):
      
      LayoutTests:
      
      * http/tests/inspector/resource-parameters-expected.txt:
      * http/tests/navigation/anchor-frames-cross-origin-expected.txt: Added.
      * http/tests/navigation/anchor-frames-cross-origin.html: Added.
      * http/tests/navigation/resources/frame-with-anchor-cross-origin.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@113503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f8960566
    • jer.noble@apple.com's avatar
      WebFullScreenManagerProxy::isFullScreen() will create an empty full screen window; steal focus. · dd8a3486
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=83388
      
      Reviewed by Geoffrey Garen.
      
      Calling WebFullScreenManagerProxy::isFullScreen() will create a WKFullScreenWindowController if
      one does not already exist, since the -[WKView fullScreenWindowController] method will create-on-access.
      Add a new call, -[WKView hasFullScreenWindowController], which does not auto-create the controller
      and add that check to WebFullScreenManagerProxy::isFullScreen().
      
      * UIProcess/API/mac/WKView.mm:
      (-[WKView hasFullScreenWindowController]):
      * UIProcess/API/mac/WKViewInternal.h:
      * UIProcess/mac/WebFullScreenManagerProxyMac.mm:
      (WebKit::WebFullScreenManagerProxy::isFullScreen):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113501 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dd8a3486
    • tony@chromium.org's avatar
      [chromium] Unreviewed, remove a passing test. · 6c308f17
      tony@chromium.org authored
      tables/mozilla/bugs/bug9024.html is passing on Leopard.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113500 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6c308f17
    • jamesr@google.com's avatar
      Enable webkit_unit_tests for commit queue and EWS while tracking failures · a22399cc
      jamesr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=83329
      
      Reviewed by Adam Barth.
      
      This adds a step to parse XML output from webkit_unit_tests and consider regressions in the PatchAnalysisTask so
      the commit queue and EWS can reject patches that cause regressions.
      
      * Scripts/webkitpy/common/config/ports.py:
      (ChromiumPort.run_webkit_unit_tests_command):
      * Scripts/webkitpy/common/config/ports_mock.py:
      (MockPort.unit_tests_results_path):
      * Scripts/webkitpy/common/net/layouttestresults.py:
      (LayoutTestResults.__init__):
      (LayoutTestResults.failing_tests):
      (LayoutTestResults):
      (LayoutTestResults.add_unit_test_failures):
      * Scripts/webkitpy/common/net/unittestresults.py: Copied from Tools/Scripts/webkitpy/tool/steps/runtests_unittest.py.
      (UnitTestResults):
      (UnitTestResults.results_from_string):
      * Scripts/webkitpy/common/net/unittestresults_unittest.py: Added.
      (UnitTestResultsTest):
      (UnitTestResultsTest.test_nostring):
      (UnitTestResultsTest.test_emptystring):
      (UnitTestResultsTest.test_nofailures):
      (test_onefailure):
      (test_multiple_failures_per_test):
      * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
      (MockCommitQueue.test_results):
      (MockCommitQueue.archive_last_test_results):
      (FailingTestCommitQueue.test_results):
      (test_flaky_test_failure):
      (test_failed_archive):
      * Scripts/webkitpy/tool/bot/layouttestresultsreader.py:
      (LayoutTestResultsReader._create_unit_test_results):
      (LayoutTestResultsReader.results):
      * Scripts/webkitpy/tool/bot/layouttestresultsreader_unittest.py:
      (LayoutTestResultsReaderTest.test_missing_layout_test_results):
      * Scripts/webkitpy/tool/bot/patchanalysistask.py:
      (PatchAnalysisTaskDelegate.test_results):
      (PatchAnalysisTaskDelegate.archive_last_test_results):
      (PatchAnalysisTask._test):
      (PatchAnalysisTask._build_and_test_without_patch):
      (PatchAnalysisTask._test_patch):
      * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
      (AbstractEarlyWarningSystem.test_results):
      (AbstractEarlyWarningSystem.archive_last_test_results):
      * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
      (EarlyWarningSytemTest._test_testing_ews):
      * Scripts/webkitpy/tool/commands/queues.py:
      (CommitQueue.test_results):
      (CommitQueue.archive_last_test_results):
      * Scripts/webkitpy/tool/commands/queues_unittest.py:
      (CommitQueueTest.test_commit_queue):
      (test_rollout):
      (test_manual_reject_during_processing):
      * Scripts/webkitpy/tool/steps/runtests.py:
      (RunTests.run):
      * Scripts/webkitpy/tool/steps/runtests_unittest.py:
      (RunTestsTest.test_webkit_run_unit_tests):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a22399cc
    • jer.noble@apple.com's avatar
      Foreground of apple.com/iphone video page visible during full screen animation. · 8a04ee62
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=83080
      
      Reviewed by Simon Fraser.
      
      Source/WebCore:
      
      No new tests; updated fullscreen/full-screen-stacking-context.html
      
      The apple.com/iphone video page uses a -webkit-mask: CSS style, which creates a stacking
      context and causes the page to pop in front of the full screen renderer.  Add all the
      styles suggested by the W3C full screen spec to the -webkit-full-screen-ancestor rule
      to keep these stacking contexts from being created.
      
      * css/fullscreen.css:
      (:-webkit-full-screen-ancestor:not(iframe)):
      
      LayoutTests:
      
      * fullscreen/full-screen-stacking-context.html:
      * platform/mac/fullscreen/full-screen-stacking-context-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113498 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a04ee62
    • inferno@chromium.org's avatar
      Virtualize createAnonymousBoxWithSameTypeAs. · 19e17ddd
      inferno@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83229
      
      Reviewed by Julien Chaffraix.
      
      This helps to use the same function to create anonymous
      table parts and in the future extend to more classes
      derived from RenderBox.
      
      The current switch case situation was going to be messy as
      we will need to mix cases that were very dependent on the
      class, so it made sense to add a virtual function.
      
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::splitAnonymousBlocksAroundChild):
      (WebCore::RenderBlock::createAnonymousBoxWithSameTypeAs):
      * rendering/RenderBlock.h:
      (RenderBlock):
      * rendering/RenderBox.h:
      (WebCore::RenderBox::createAnonymousBoxWithSameTypeAs):
      (RenderBox):
      * rendering/RenderInline.cpp:
      (WebCore::RenderInline::splitFlow):
      * rendering/RenderTable.h:
      (WebCore::RenderTable::createAnonymousBoxWithSameTypeAs):
      * rendering/RenderTableCell.h:
      (WebCore::RenderTableCell::createAnonymousBoxWithSameTypeAs):
      * rendering/RenderTableRow.h:
      (WebCore::RenderTableRow::createAnonymousBoxWithSameTypeAs):
      * rendering/RenderTableSection.h:
      (WebCore::RenderTableSection::createAnonymousBoxWithSameTypeAs):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19e17ddd
    • timothy_horton@apple.com's avatar
      [cg] REGRESSION (r101517): Animating the transform of a <rect> with... · c9729b78
      timothy_horton@apple.com authored
      [cg] REGRESSION (r101517): Animating the transform of a <rect> with shape-rendering: crispEdges leaves behind garbage
      https://bugs.webkit.org/show_bug.cgi?id=82963
      <rdar://problem/11170476>
      
      Reviewed by Simon Fraser.
      
      CoreGraphics can inflate the stroke by 1px when drawing a rectangle
      with antialiasing disabled at non-integer coordinates, we need to
      compensate by inflating the RenderSVGRect repaint bounds by 1px.
      
      No new tests, as this is not reproducible in DRT or WKTR.
      
      * rendering/svg/RenderSVGRect.cpp:
      (WebCore::RenderSVGRect::createShape):
      (WebCore::RenderSVGRect::strokeBoundingBox):
      * rendering/svg/RenderSVGRect.h:
      (RenderSVGRect):
      
      New Mac baselines for two tests which have SVG <rect>s with shape-rendering: crispEdges.
      
      * platform/mac/svg/W3C-SVG-1.1/filters-composite-02-b-expected.txt:
      * platform/mac/svg/custom/shape-rendering-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113496 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c9729b78
    • commit-queue@webkit.org's avatar
      Tools: Enable MediaSource feature for DumpRenderTree so · e47340d1
      commit-queue@webkit.org authored
      MediaSource LayoutTests will pass for Chromium.
      https://bugs.webkit.org/show_bug.cgi?id=83053
      
      Patch by Aaron Colwell <acolwell@chromium.org> on 2012-04-06
      Reviewed by Dimitri Glazkov.
      
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::TestShell):
      
      LayoutTests: Fix MediaSource LayoutTests to work with the new XHR behavior
      that requires asynchronous requests for the 'arraybuffer'
      responseType.
      https://bugs.webkit.org/show_bug.cgi?id=83053
      
      Patch by Aaron Colwell <acolwell@chromium.org> on 2012-04-06
      Reviewed by Dimitri Glazkov.
      
      * http/tests/media/media-source/webm/video-media-source-errors.html:
      * http/tests/media/media-source/webm/video-media-source-play.html:
      * http/tests/media/media-source/webm/video-media-source-seek.html:
      * http/tests/media/media-source/webm/video-media-source-state-changes.html:
      * http/tests/media/media-source/webm/webm-media-source.js:
      (getData.request.onload):
      (createClusterGetFunction.return.if):
      (createClusterGetFunction):
      (loadWebMData):
      (getCluster):
      (appendCluster):
      (getReadyStateName):
      (expectSourceState):
      (expectReadyState):
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e47340d1
    • simon.fraser@apple.com's avatar
      Avoid trying to set filters on transform layers · 2cc4f89e
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=83344
      
      Reviewed by Dean Jackson.
      
      Return early from GraphicsLayerCA::setFilters() when the filters
      haven't changed. This avoids trying to clear filters on CALayers
      which never had them, which should both help performance, and avoids
      console spew related to setting shadow properties on transform layers.
      
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::setFilters):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113494 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2cc4f89e
    • jamesr@google.com's avatar
      WebGL content swapped at wrong time in threaded compositing mode · 03da47c9
      jamesr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=82275
      
      Reviewed by Kenneth Russell.
      
      Source/WebCore:
      
      When using threaded compositing, we need to defer touching the texture ID being used by the compositor until the
      appropriate point in the synchronization routine and not before. Specifically, there is no time at which it is
      safe to manipulate the texture the compositor may be using from the main thread. This breaks up the presentation
      path into a few pieces (depending on the context attributes) in order to maintain these invariants.
      
      Depending on the context attributes and if we're in threaded mode, there are a few different possible back/front
      buffer combinations:
      
      - When the context is antialiased, we have a multisampled renderbuffer and associated framebuffer.
      - In all cases, we have a color texture back buffer.
      - When preserveDrawingBuffer is set or threaded compositing is enabled, we have a separate color texture as a
      front buffer.
      
      The resource update is in two phases. First, on the main thread, we prepare the back buffer. This resolves from
      the multisampled FBO into the back color buffer if multisampled and swaps the front / back color buffer textures
      if preserveDrawingBuffer is false and we're using separate front / back color buffers. Second, on the compositor
      thread, we do a texture copy from the back to the front color buffer if preserveDrawingBuffer is true. After
      these steps are complete the main thread is free to manipulate the back buffer color texture without affecting
      any resources the compositor is using.
      
      One incidental cleanup this patch also does is remove all state queries from DrawingBuffer::clearFramebuffer().
      
      Tests: fast/canvas/webgl/webgl-composite-modes-repaint.html
             fast/canvas/webgl/webgl-composite-modes.html
      
      * html/canvas/WebGLRenderingContext.cpp:
      (WebCore):
      (WebCore::WebGLRenderingContext::WebGLRenderingContext):
      (WebCore::WebGLRenderingContext::clearIfComposited):
      (WebCore::WebGLRenderingContext::restoreStateAfterClear):
      (WebCore::WebGLRenderingContext::reshape):
      (WebCore::WebGLRenderingContext::maybeRestoreContext):
      * html/canvas/WebGLRenderingContext.h:
      (WebGLRenderingContext):
      * platform/graphics/blackberry/DrawingBufferBlackBerry.cpp:
      (WebCore::DrawingBuffer::DrawingBuffer):
      (WebCore):
      (WebCore::DrawingBuffer::prepareBackBuffer):
      (WebCore::DrawingBuffer::requiresCopyFromBackToFrontBuffer):
      (WebCore::DrawingBuffer::frontColorBuffer):
      * platform/graphics/cairo/DrawingBufferCairo.cpp:
      (WebCore::DrawingBuffer::DrawingBuffer):
      (WebCore):
      (WebCore::DrawingBuffer::prepareBackBuffer):
      (WebCore::DrawingBuffer::requiresCopyFromBackToFrontBuffer):
      (WebCore::DrawingBuffer::frontColorBuffer):
      * platform/graphics/chromium/DrawingBufferChromium.cpp:
      (WebCore::generateColorTexture):
      (WebCore::DrawingBuffer::DrawingBuffer):
      (WebCore::DrawingBuffer::initialize):
      (WebCore::DrawingBuffer::prepareBackBuffer):
      (WebCore):
      (WebCore::DrawingBuffer::requiresCopyFromBackToFrontBuffer):
      (WebCore::DrawingBuffer::frontColorBuffer):
      (WebCore::DrawingBuffer::platformLayer):
      * platform/graphics/chromium/WebGLLayerChromium.cpp:
      (WebCore::WebGLLayerChromium::WebGLLayerChromium):
      (WebCore::WebGLLayerChromium::paintContentsIfDirty):
      (WebCore::WebGLLayerChromium::updateCompositorResources):
      (WebCore::WebGLLayerChromium::paintRenderedResultsToCanvas):
      (WebCore::WebGLLayerChromium::setNeedsDisplayRect):
      (WebCore::WebGLLayerChromium::setDrawingBuffer):
      * platform/graphics/chromium/WebGLLayerChromium.h:
      (WebGLLayerChromium):
      * platform/graphics/clutter/DrawingBufferClutter.cpp:
      (WebCore::DrawingBuffer::DrawingBuffer):
      (WebCore):
      (WebCore::DrawingBuffer::prepareBackBuffer):
      (WebCore::DrawingBuffer::requiresCopyFromBackToFrontBuffer):
      (WebCore::DrawingBuffer::frontColorBuffer):
      * platform/graphics/filters/FECustomFilter.cpp:
      (WebCore::FECustomFilter::initializeContext):
      * platform/graphics/gpu/DrawingBuffer.cpp:
      (WebCore::DrawingBuffer::create):
      (WebCore::DrawingBuffer::clear):
      (WebCore::DrawingBuffer::clearFramebuffer):
      (WebCore::DrawingBuffer::reset):
      (WebCore::DrawingBuffer::discardResources):
      * platform/graphics/gpu/DrawingBuffer.h:
      (DrawingBuffer):
      * platform/graphics/gpu/mac/DrawingBufferMac.mm:
      (WebCore::DrawingBuffer::DrawingBuffer):
      (WebCore):
      (WebCore::DrawingBuffer::prepareBackBuffer):
      (WebCore::DrawingBuffer::requiresCopyFromBackToFrontBuffer):
      (WebCore::DrawingBuffer::frontColorBuffer):
      * platform/graphics/gpu/qt/DrawingBufferQt.cpp:
      (WebCore::DrawingBuffer::DrawingBuffer):
      (WebCore::DrawingBuffer::platformLayer):
      (WebCore::DrawingBuffer::prepareBackBuffer):
      (WebCore::DrawingBuffer::requiresCopyFromBackToFrontBuffer):
      (WebCore):
      (WebCore::DrawingBuffer::frontColorBuffer):
      
      Source/WebKit/chromium:
      
      * tests/WebGLLayerChromiumTest.cpp:
      (WebKit::TEST):
      
      LayoutTests:
      
      Adds some pixel tests for compositing all different combinations of alpha/antialias/preserveDrawingBuffer on
      WebGL content.
      
      * fast/canvas/webgl/webgl-composite-modes-expected.png: Added.
      * fast/canvas/webgl/webgl-composite-modes-expected.txt: Added.
      * fast/canvas/webgl/webgl-composite-modes-repaint-expected.png: Added.
      * fast/canvas/webgl/webgl-composite-modes-repaint-expected.txt: Added.
      * fast/canvas/webgl/webgl-composite-modes-repaint.html: Added.
      * fast/canvas/webgl/webgl-composite-modes.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03da47c9
    • tony@chromium.org's avatar
      [chromium] Unreviewed, land some mac/win baselines for table tests after r111742. · 6161ab73
      tony@chromium.org authored
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug2123-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug2509-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug34176-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug44505-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla_expected_failures/bugs/bug59252-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla_expected_failures/bugs/bug7243-expected.png:
      * platform/chromium-mac-snowleopard/fast/repaint/scroll-inside-table-cell-expected.png:
      * platform/chromium-mac-snowleopard/fast/repaint/scroll-relative-table-inside-table-cell-expected.png:
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug2123-expected.png:
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug2509-expected.png:
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug34176-expected.png:
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug44505-expected.png:
      * platform/chromium-mac-snowleopard/tables/mozilla_expected_failures/bugs/bug59252-expected.png:
      * platform/chromium-mac-snowleopard/tables/mozilla_expected_failures/bugs/bug7243-expected.png:
      * platform/chromium-mac/fast/repaint/scroll-inside-table-cell-expected.png:
      * platform/chromium-mac/fast/repaint/scroll-relative-table-inside-table-cell-expected.png:
      * platform/chromium-mac/fast/table/cell-pref-width-invalidation-expected.txt: Added.
      * platform/chromium-mac/tables/mozilla/bugs/bug2123-expected.png:
      * platform/chromium-mac/tables/mozilla/bugs/bug2123-expected.txt: Added.
      * platform/chromium-mac/tables/mozilla/bugs/bug2509-expected.png:
      * platform/chromium-mac/tables/mozilla/bugs/bug2509-expected.txt: Added.
      * platform/chromium-mac/tables/mozilla/bugs/bug34176-expected.png:
      * platform/chromium-mac/tables/mozilla/bugs/bug34176-expected.txt: Added.
      * platform/chromium-mac/tables/mozilla/bugs/bug44505-expected.png:
      * platform/chromium-mac/tables/mozilla/bugs/bug44505-expected.txt:
      * platform/chromium-mac/tables/mozilla_expected_failures/bugs/bug59252-expected.png:
      * platform/chromium-mac/tables/mozilla_expected_failures/bugs/bug59252-expected.txt: Added.
      * platform/chromium-mac/tables/mozilla_expected_failures/bugs/bug7243-expected.png:
      * platform/chromium-mac/tables/mozilla_expected_failures/bugs/bug7243-expected.txt: Added.
      * platform/chromium-win/fast/repaint/scroll-inside-table-cell-expected.png:
      * platform/chromium-win/fast/repaint/scroll-relative-table-inside-table-cell-expected.png:
      * platform/chromium-win/tables/mozilla/bugs/bug44505-expected.png:
      * platform/chromium-win/tables/mozilla/bugs/bug44505-expected.txt:
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6161ab73
    • jchaffraix@webkit.org's avatar
      Unreviewed build fix after r113486 and r113487. · b9b8f9a1
      jchaffraix@webkit.org authored
      * rendering/RenderObject.cpp:
      Added missing #include.
      
      * rendering/RenderView.h:
      Removed bad OVERRIDE.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b9b8f9a1
    • bdakin@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=81939 · 0d89ea08
      bdakin@apple.com authored
      -webkit-image-set should update dynamically when the device scale factor 
      changes
      -and corresponding-
      <rdar://problem/11101108> 
      
      Reviewed by Darin Adler.
      
      Source/WebCore: 
      
      New member variable to keep track of the scale factor.
      * css/CSSImageSetValue.cpp:
      (WebCore::CSSImageSetValue::CSSImageSetValue):
      (WebCore::CSSImageSetValue::bestImageForScaleFactor):
      
       Merge the two cachedImageSet functions. There was no need for two functions here.
      (WebCore::CSSImageSetValue::cachedImageSet):
      
      cachedOrPendingImageSet() now takes a Document as a parameter so that it can 
      access the deviceScaleFactor. If there is a cached image already and the 
      Document's deviceScaleFactor doesn't match m_scaleFactor, then m_imageSet is set 
      to a pending image so that the best fit image will be reassessed and then 
      loaded.
      (WebCore::CSSImageSetValue::cachedOrPendingImageSet):
      * css/CSSImageSetValue.h:
      (WebCore):
      (CSSImageSetValue):
      
      cachedOrPendingImageSet() now takes a Document.
      * css/CSSStyleSelector.cpp:
      (WebCore::CSSStyleSelector::collectMatchingRulesForList):
      
      StyleCachedImageSet should inherit from CachedImageClient just like 
      StyleCachedImage. It should add and remove itself as a client upon creation 
      and destruction, respectively.
      * rendering/style/StyleCachedImageSet.cpp:
      (WebCore::StyleCachedImageSet::StyleCachedImageSet):
      (WebCore):
      (WebCore::StyleCachedImageSet::~StyleCachedImageSet):
      * rendering/style/StyleCachedImageSet.h:
      (StyleCachedImageSet):
      
      LayoutTests: 
      
      * fast/hidpi/image-set-background-dynamic.html: Added.
      * fast/hidpi/image-set-border-image-dynamic.html: Added.
      * fast/hidpi/image-set-in-content-dynamic.html: Added.
      * platform/mac/fast/hidpi/image-set-background-dynamic-expected.png: Added.
      * platform/mac/fast/hidpi/image-set-background-dynamic-expected.txt: Added.
      * platform/mac/fast/hidpi/image-set-border-image-dynamic-expected.png: Added.
      * platform/mac/fast/hidpi/image-set-border-image-dynamic-expected.txt: Added.
      * platform/mac/fast/hidpi/image-set-in-content-dynamic-expected.png: Added.
      * platform/mac/fast/hidpi/image-set-in-content-dynamic-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113490 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d89ea08
    • staikos@webkit.org's avatar
      Turn on vibration support for BlackBerry. · 7f83a8e1
      staikos@webkit.org authored
      Reviewed by Rob Buis.
      
      * Scripts/build-webkit:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113489 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f83a8e1
    • schenney@chromium.org's avatar
      [Chromium} Rebaseline some failing Leopard tests · 1c68338c
      schenney@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83387
      
      Unreviewed chromium test expectations update.
      
      * platform/chromium-mac-leopard/fast/text/atsui-multiple-renderers-expected.png: Added.
      * platform/chromium-mac-leopard/fast/text/find-kana-expected.txt: Added.
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113488 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c68338c
    • leviw@chromium.org's avatar
      Update LayoutUnit usage in RenderView · 4e0a1c50
      leviw@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83147
      
      Reviewed by Julien Chaffraix.
      
      Updating the usage of LayoutUnits in RenderView in preparation for sub-pixel layout. This mostly
      affects paint and repaint functions, which take LayoutRects up to the RenderView level. This is
      necessary as we continue to accumulate sub-pixel offsets up to this level.
      
      No new tests. No change in behavior.
      
      * rendering/RenderView.cpp:
      (WebCore::RenderView::paint): Adding an assert that we're being called to paint on pixel
      boundaries. We don't currently ever position RenderViews at sub-pixel offsets.
      (WebCore::RenderView::shouldRepaint):
      (WebCore::RenderView::repaintViewRectangle): Switching to a LayoutRect and cleaning up a fixme
      that used decomposed offsets. Pixel snapping is applied before handing the rect up to the
      FrameView.
      (WebCore::RenderView::repaintRectangleInViewAndCompositedLayers): Pixel snapping before handing
      the rect up to the Compositor.
      (WebCore::RenderView::computeRectForRepaint):
      (WebCore::RenderView::selectionBounds):
      (WebCore::RenderView::viewRect):
      (WebCore::RenderView::unscaledDocumentRect):
      * rendering/RenderView.h:
      (RenderView):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113487 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e0a1c50
    • timothy_horton@apple.com's avatar
      Add autodetection of image orientation from EXIF information · 04ef44a4
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=19688
      <rdar://problem/4126979> and <rdar://problem/11091578>
      
      Original patch by David Carson and Eric Seidel.
      
      Reviewed by Simon Fraser.
      
      Add support for respecting EXIF image orientation, enabled by default for ImageDocuments.
      The setting shouldRespectImageOrientation causes orientation to take effect for any image included via <img>.
      
      Test: fast/images/exif-orientation.html, fast/images/exif-orientation-css.html
      
      File list truncated because it's very long.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113486 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      04ef44a4
    • jsbell@chromium.org's avatar
      IndexedDB: Race condition in layout test logging from window and worker · b29ed18e
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83378
      
      The sequencing of logging directly from window vs. logging via posted events
      from a worker is racy, making this test flake when run under Chromium. Removed
      the sensitive logging on the window side; the test logic is unaffected as the
      blocked/success event sequence would not be present if the window handler was
      not run.
      
      Reviewed by Tony Chang.
      
      * storage/indexeddb/dont-commit-on-blocked-expected.txt:
      * storage/indexeddb/dont-commit-on-blocked.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113485 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b29ed18e
    • leviw@chromium.org's avatar
      Correct LayoutUnit usgae in RenderThemeQt and RenderThemeQStyle · a4ba39a2
      leviw@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83376
      
      Reviewed by Eric Seidel.
      
      Source/WebCore:
      
      Correcting LayoutUnit usage in QT RenderTheme code.
      
      No new tests. No change in behavior.
      
      * platform/qt/RenderThemeQt.cpp:
      (WebCore::RenderThemeQt::convertToPaintingRect): Rounding the ancestor offset before
      applying it to the pixel snapped partRect.
      (WebCore::RenderThemeQt::paintSearchFieldCancelButton): Also rounding the ancestor
      offset, and also pixel snapping the content rect before painting.
      
      Source/WebKit/qt:
      
      Calculating the progress animation using the pixel-snapped RenderProgress size instead
      of the internal sub-pixel version.
      
      * WebCoreSupport/RenderThemeQStyle.cpp:
      (WebCore::RenderThemeQStyle::animationDurationForProgressBar):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a4ba39a2
    • commit-queue@webkit.org's avatar
      [chromium] Rebaseline svg/clip-path/deep-nested-clip-in-mask* expectations · 3e6fcb99
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83368
      
      Unreviewed Chromium expectations rebaseline.
      
      Patch by Florin Malita <fmalita@google.com> on 2012-04-06
      
      * platform/chromium-mac-leopard/svg/clip-path/clip-path-pixelation-expected.png:
      * platform/chromium-mac-leopard/svg/clip-path/deep-nested-clip-in-mask-expected.png:
      * platform/chromium-mac-leopard/svg/clip-path/deep-nested-clip-in-mask-panning-expected.png:
      * platform/chromium-mac-snowleopard/svg/clip-path/clip-in-mask-expected.png: Removed.
      * platform/chromium-mac-snowleopard/svg/clip-path/clip-path-pixelation-expected.png: Added.
      * platform/chromium-mac-snowleopard/svg/clip-path/deep-nested-clip-in-mask-expected.png:
      * platform/chromium-mac-snowleopard/svg/clip-path/deep-nested-clip-in-mask-panning-expected.png:
      * platform/chromium-mac-snowleopard/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.png: Removed.
      * platform/chromium-mac-snowleopard/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.png: Removed.
      * platform/chromium-mac-snowleopard/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.png: Removed.
      * platform/chromium-mac/svg/clip-path/clip-in-mask-expected.png: Added.
      * platform/chromium-mac/svg/clip-path/clip-path-pixelation-expected.png:
      * platform/chromium-mac/svg/clip-path/deep-nested-clip-in-mask-expected.png: Added.
      * platform/chromium-mac/svg/clip-path/deep-nested-clip-in-mask-panning-expected.png: Added.
      * platform/chromium-mac/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.png: Added.
      * platform/chromium-mac/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.png: Added.
      * platform/chromium-mac/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.png: Added.
      * platform/chromium-win/svg/clip-path/clip-in-mask-expected.png: Added.
      * platform/chromium-win/svg/clip-path/deep-nested-clip-in-mask-expected.png: Added.
      * platform/chromium-win/svg/clip-path/deep-nested-clip-in-mask-expected.txt: Renamed from LayoutTests/platform/chromium-linux/svg/clip-path/deep-nested-clip-in-mask-expected.txt.
      * platform/chromium-win/svg/clip-path/deep-nested-clip-in-mask-panning-expected.png: Added.
      * platform/chromium-win/svg/clip-path/deep-nested-clip-in-mask-panning-expected.txt: Renamed from LayoutTests/platform/chromium-linux/svg/clip-path/deep-nested-clip-in-mask-panning-expected.txt.
      * platform/chromium-win/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.png: Added.
      * platform/chromium-win/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.png: Added.
      * platform/chromium-win/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.png: Added.
      * platform/chromium/test_expectations.txt:
      * platform/mac/svg/clip-path/clip-in-mask-expected.txt: Removed.
      * platform/mac/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.txt: Removed.
      * platform/mac/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.txt: Removed.
      * platform/mac/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.txt: Removed.
      * platform/qt/svg/clip-path/clip-in-mask-expected.txt: Removed.
      * platform/qt/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.txt: Removed.
      * platform/qt/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.txt: Removed.
      * platform/qt/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.txt: Removed.
      * svg/clip-path/clip-in-mask-expected.txt: Renamed from LayoutTests/platform/gtk/svg/clip-path/clip-in-mask-expected.txt.
      * svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.txt: Renamed from LayoutTests/platform/gtk/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.txt.
      * svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.txt: Renamed from LayoutTests/platform/gtk/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.txt.
      * svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.txt: Renamed from LayoutTests/platform/gtk/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.txt.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e6fcb99
    • schenney@chromium.org's avatar
      Font-related tests are flaky on Chromium (sometimes glyphs don't draw) · e5bb0ed2
      schenney@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66908
      
      Unreviewed chromium test expectations update.
      
      * platform/chromium-mac-snowleopard/svg/custom/svg-fonts-fallback-expected.png: Removed.
      * platform/chromium-mac/platform/chromium/virtual/gpu/canvas/philip/tests/2d.text.draw.fontface.notinpage-expected.txt:
      * platform/chromium-mac/svg/custom/svg-fonts-fallback-expected.png: Added.
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113482 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e5bb0ed2
    • kbr@google.com's avatar
      context-lost.html is failing · 21dabcb3
      kbr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=81325
      
      Reviewed by James Robinson.
      
      Ensure that the DrawingBuffer does not attempt to restore the
      TEXTURE_2D binding to an already-deleted texture.
      
      Tested with layout test fast/canvas/webgl/context-lost.html as
      well as WebGL conformance tests.
      
      * html/canvas/WebGLRenderingContext.cpp:
      (WebCore):
      (WebCore::WebGLRenderingContext::loseContextImpl):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      21dabcb3
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r113267. · 159674f6
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/113267
      https://bugs.webkit.org/show_bug.cgi?id=83384
      
      causes dhtml perf regression (Requested by simonjam on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-04-06
      
      Source/WebCore:
      
      * dom/ChildListMutationScope.cpp:
      (ChildListMutationScope::MutationAccumulator):
      (WebCore::ChildListMutationScope::MutationAccumulator::isAddedNodeInOrder):
      (WebCore::ChildListMutationScope::MutationAccumulator::childAdded):
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::childAdded):
      * dom/ChildListMutationScope.h:
      (WebCore::ChildListMutationScope::childAdded):
      (MutationAccumulationRouter):
      * dom/ContainerNode.cpp:
      (WebCore):
      (WebCore::ContainerNode::insertBefore):
      (WebCore::ContainerNode::replaceChild):
      (WebCore::ContainerNode::appendChild):
      (WebCore::dispatchChildInsertionEvents):
      (WebCore::updateTreeAfterInsertion):
      
      LayoutTests:
      
      * fast/events/domnodeinserted-entire-fragment-expected.txt: Removed.
      * fast/events/domnodeinserted-entire-fragment.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      159674f6
    • schenney@chromium.org's avatar
      6 layout tests known to fail on Mac10.6 with CPU-Skia graphics · 0480242f
      schenney@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68436
      
      Unreviewed Chromium test expectations update.
      
      One of the files marked in this bug is a minor rebaselining. Done.
      
      * platform/chromium-mac-leopard/svg/W3C-SVG-1.1/paths-data-12-t-expected.png: Removed.
      * platform/chromium-mac-leopard/svg/W3C-SVG-1.1/paths-data-12-t-expected.txt: Removed.
      * platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/paths-data-12-t-expected.png: Removed.
      * platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/paths-data-12-t-expected.txt: Removed.
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0480242f
    • schenney@chromium.org's avatar
      Rebaseline after Skia 2527 landed · 6eadadf8
      schenney@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83375
      
      Unreviewed update of Chromium test expectations.
      
      Patch by Philip Rogers <pdr@google.com> on 2012-04-06
      
      * platform/chromium-linux/svg/as-background-image/svg-as-background-5-expected.png:
      * platform/chromium-linux/svg/filters/subRegion-one-effect-expected.png:
      * platform/chromium-linux/svg/filters/subRegion-two-effects-expected.png:
      * platform/chromium-mac-leopard/svg/as-background-image/svg-as-background-5-expected.png:
      * platform/chromium-mac-snowleopard/svg/as-background-image/svg-as-background-5-expected.png:
      * platform/chromium-mac/svg/as-background-image/svg-as-background-5-expected.png: Added.
      * platform/chromium-mac/svg/filters/subRegion-one-effect-expected.png:
      * platform/chromium-mac/svg/filters/subRegion-two-effects-expected.png:
      * platform/chromium-win/svg/as-background-image/svg-as-background-5-expected.png:
      * platform/chromium-win/svg/filters/subRegion-one-effect-expected.png:
      * platform/chromium-win/svg/filters/subRegion-two-effects-expected.png:
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6eadadf8
    • schenney@chromium.org's avatar
      Rebaseline after r109097 · b29346aa
      schenney@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79568
      
      Unreviewed update of test expectations.
      
      Patch by Philip Rogers <pdr@google.com> on 2012-04-06
      
      * platform/chromium-linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
      * platform/chromium-linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt: Removed.
      * platform/chromium-mac-leopard/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
      * platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
      * platform/chromium-mac/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png: Added.
      * platform/chromium-win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
      * platform/chromium-win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt:
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b29346aa
    • schenney@chromium.org's avatar
      Rebaseline tests for wk62974 · 90d4936c
      schenney@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=62974
      
      Unreviewed test expectations update for Chromium.
      
      Patch by Philip Rogers <pdr@google.com> on 2012-04-06
      
      * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.png:
      * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.txt: Added.
      * platform/chromium-linux/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.png:
      * platform/chromium-linux/svg/text/text-altglyph-01-b-expected.png:
      * platform/chromium-linux/svg/text/text-text-04-t-expected.png:
      * platform/chromium-linux/svg/text/text-text-06-t-expected.png:
      * platform/chromium-linux/svg/wicd/test-rightsizing-b-expected.png:
      * platform/chromium-mac-leopard/svg/text/text-altglyph-01-b-expected.png: Added.
      * platform/chromium-mac-leopard/svg/text/text-text-04-t-expected.png: Added.
      * platform/chromium-mac-leopard/svg/text/text-text-06-t-expected.png: Added.
      * platform/chromium-mac-leopard/svg/wicd/test-rightsizing-b-expected.png: Added.
      * platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt: Added.
      * platform/chromium-mac-snowleopard/svg/wicd/test-rightsizing-b-expected.png: Added.
      * platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png: Added.
      * platform/chromium-mac/svg/text/text-altglyph-01-b-expected.png: Added.
      * platform/chromium-mac/svg/text/text-text-04-t-expected.png: Added.
      * platform/chromium-mac/svg/text/text-text-06-t-expected.png: Added.
      * platform/chromium-mac/svg/wicd/test-rightsizing-b-expected.png: Added.
      * platform/chromium-win-vista/svg/wicd: Removed.
      * platform/chromium-win-vista/svg/wicd/test-rightsizing-b-expected.png: Removed.
      * platform/chromium-win-xp/svg/wicd: Added.
      * platform/chromium-win-xp/svg/wicd/test-rightsizing-b-expected.png: Added.
      * platform/chromium-win/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.png:
      * platform/chromium-win/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.txt:
      * platform/chromium-win/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.png:
      * platform/chromium-win/svg/text/text-altglyph-01-b-expected.png:
      * platform/chromium-win/svg/text/text-text-04-t-expected.png:
      * platform/chromium-win/svg/text/text-text-06-t-expected.png:
      * platform/chromium-win/svg/wicd/test-rightsizing-b-expected.png:
      * platform/chromium-win/svg/wicd/test-rightsizing-b-expected.txt:
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      90d4936c
    • schenney@chromium.org's avatar
      [Chromium] Layout Test svg/custom/oversized-pattern-scale.svg and... · fab46ca6
      schenney@chromium.org authored
      [Chromium] Layout Test svg/custom/oversized-pattern-scale.svg and svg/custom/transformed-pattern-clamp-svg-root.svg are flaky
      https://bugs.webkit.org/show_bug.cgi?id=68982
      
      Unreviewed Chromium expectations update.
      
      These tests now passing without issue.
      
      * platform/chromium-linux/svg/custom/oversized-pattern-scale-expected.png: Removed.
      * platform/chromium-mac/svg/custom/oversized-pattern-scale-expected.png: Added.
      * platform/chromium-mac/svg/custom/transformed-pattern-clamp-svg-root-expected.png:
      * platform/chromium-win/svg/custom/oversized-pattern-scale-expected.png:
      * platform/chromium-win/svg/custom/transformed-pattern-clamp-svg-root-expected.png:
      * platform/chromium/svg/custom/oversized-pattern-scale-expected.png: Removed.
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fab46ca6
    • mrobinson@webkit.org's avatar
      Unskip some tests that appear to be passing on GTK+ and add a · 9e9dc8b7
      mrobinson@webkit.org authored
      new baseline to deal with whitespace issues.
      
      * platform/gtk/Skipped: Unskip some tests passing locally.
      * platform/gtk/plugins/document-open-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9e9dc8b7
    • jsbell@chromium.org's avatar
      IndexedDB: ObjectStore/Index shouldn't hold reference to backing store · 758d5010
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83074
      
      Source/WebCore:
      
      We should be able to collect and close the leveldb backing store as soon as the database
      connection is closed, but the IDBObjectStoreBackendImpl and IDBIndexBackendImpl were
      holding RefPtrs, and those objects are kept alive by script references.
      
      Replaced RefPtrs to the IDBBackingStore with pointers to the IDBDatabase. On the back end,
      IDBDatabaseBackendImpl maintains a RefPtr to the IDBObjectStoreBackendImpl object, so
      a raw pointer back is safe. On the front end, the IDBObjectStore maintains a RefPtr to
      the IDBDatabase so script can navigate upwards. Ditto on both ends for the ObjectStore/Index
      relationship. The frontend objects maintain RefPtrs to the backend objects, so the backend
      objects and their owners are maintained as long as there's a script reference.
      
      Also made IDBDatabaseBackendImpl handle a null IDBFactoryBackendImpl pointer, for testing.
      
      Reviewed by Tony Chang.
      
      Tests: webkit_unit_tests --gtest_filter="IDBDatabaseBackendTest.*"
      
      * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
      (WebCore::IDBDatabaseBackendImpl::~IDBDatabaseBackendImpl):
      (WebCore::IDBDatabaseBackendImpl::createObjectStore):
      (WebCore::IDBDatabaseBackendImpl::loadObjectStores):
      * Modules/indexeddb/IDBIndexBackendImpl.cpp:
      (WebCore::IDBIndexBackendImpl::IDBIndexBackendImpl):
      (WebCore::IDBIndexBackendImpl::openCursorInternal):
      (WebCore::IDBIndexBackendImpl::countInternal):
      (WebCore::IDBIndexBackendImpl::getInternal):
      (WebCore::IDBIndexBackendImpl::addingKeyAllowed):
      * Modules/indexeddb/IDBIndexBackendImpl.h:
      (WebCore::IDBIndexBackendImpl::create):
      (IDBIndexBackendImpl):
      (WebCore::IDBIndexBackendImpl::backingStore):
      (WebCore::IDBIndexBackendImpl::databaseId):
      * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
      (WebCore::IDBObjectStoreBackendImpl::IDBObjectStoreBackendImpl):
      (WebCore::IDBObjectStoreBackendImpl::getInternal):
      (WebCore::IDBObjectStoreBackendImpl::putInternal):
      (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
      (WebCore::IDBObjectStoreBackendImpl::clearInternal):
      (WebCore):
      (WebCore::IDBObjectStoreBackendImpl::createIndex):
      (WebCore::IDBObjectStoreBackendImpl::createIndexInternal):
      (WebCore::IDBObjectStoreBackendImpl::deleteIndexInternal):
      (WebCore::IDBObjectStoreBackendImpl::openCursorInternal):
      (WebCore::IDBObjectStoreBackendImpl::countInternal):
      (WebCore::IDBObjectStoreBackendImpl::loadIndexes):
      (WebCore::IDBObjectStoreBackendImpl::genAutoIncrementKey):
      * Modules/indexeddb/IDBObjectStoreBackendImpl.h:
      (WebCore::IDBObjectStoreBackendImpl::create):
      (IDBObjectStoreBackendImpl):
      (WebCore::IDBObjectStoreBackendImpl::backingStore):
      (WebCore::IDBObjectStoreBackendImpl::databaseId):
      
      Source/WebKit/chromium:
      
      Reviewed by Tony Chang.
      
      * WebKit.gypi:
      * tests/IDBDatabaseBackendTest.cpp: Added.
      (WebCore):
      (MockIDBBackingStore):
      (WebCore::TEST):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113473 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      758d5010
    • jonlee@apple.com's avatar
      Fix build warning on const long long to int implicit conversion. · c45a7e7b
      jonlee@apple.com authored
      * inspector/InspectorApplicationCacheAgent.cpp:
      (WebCore::InspectorApplicationCacheAgent::buildObjectForApplicationCacheResource):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c45a7e7b
    • eae@chromium.org's avatar
      Fix LayoutUnit usage and rounding in RenderBlock and RenderEmbeddedObject · 1dbf72e0
      eae@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83343
      
      Reviewed by Eric Seidel.
      
      Fix usage of LayoutUnits and rounding/pixel snapping in RenderBlock and
      RenderEmbeddedObject in preparation for turing on subpixel support.
      
      No new tests, no change in functionality.
      
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::baselinePosition):
      * rendering/RenderEmbeddedObject.cpp:
      (WebCore::RenderEmbeddedObject::nodeAtPoint):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1dbf72e0
    • schenney@chromium.org's avatar
      Zooming in SVGs in <object> is flakey · 404feffd
      schenney@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=71673
      
      Unreviewed Chromium test expectations update.
      
      * platform/chromium-linux-x86/svg/zoom/page: Removed.
      * platform/chromium-linux-x86/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png: Removed.
      * platform/chromium-linux-x86/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Removed.
      * platform/chromium-linux/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
      * platform/chromium-mac-leopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png: Added.
      * platform/chromium-mac-snowleopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
      * platform/chromium-mac-snowleopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Removed.
      * platform/chromium-mac/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png: Added.
      * platform/chromium-win-xp/svg/zoom/page: Removed.
      * platform/chromium-win/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
      * platform/chromium-win/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt:
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113470 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      404feffd
    • mrobinson@webkit.org's avatar
      [GTK] crash in editing/selection/editable-html-element.html · 1ca516c7
      mrobinson@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=64530
      
      Unskip and rebaseline a test.
      
      * platform/gtk/Skipped: Unskip this test, because it's passing locally.
      * platform/gtk/editing/selection/editable-html-element-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ca516c7
    • mrobinson@webkit.org's avatar
      REGRESSION(r65062): out of bound access in TextIterator (5 editing tests) on GTK · a0faa91c
      mrobinson@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=63611
      
      Unskip tests that are now passing and rebaseline ones which
      have changed results.
      
      * platform/gtk/Skipped:
      * platform/gtk/editing/deleting/smart-delete-003-expected.txt:
      * platform/gtk/editing/deleting/smart-delete-004-expected.txt:
      * platform/gtk/editing/pasteboard/paste-text-008-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113468 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a0faa91c
    • mitz@apple.com's avatar
      <rdar://problem/10912476> HiDPI: Have canvas use a hidpi backing store, but downsample upon access · 8e0fbd32
      mitz@apple.com authored
      Reviewed by Sam Weinig.
      
      Source/JavaScriptCore: 
      
      * Configurations/FeatureDefines.xcconfig: Added ENABLE_HIGH_DPI_CANVAS.
      
      Source/WebCore: 
      
      * Configurations/FeatureDefines.xcconfig: Added ENABLE_HIGH_DPI_CANVAS.
      
      Source/WebKit/mac: 
      
      * Configurations/FeatureDefines.xcconfig: Added ENABLE_HIGH_DPI_CANVAS.
      
      Source/WebKit2: 
      
      * Configurations/FeatureDefines.xcconfig: Added ENABLE_HIGH_DPI_CANVAS.
      
      Tools: 
      
      * Scripts/build-webkit: Added high-dpi-canvas option to control ENABLE_HIGH_DPI_CANVAS.
      
      WebKitLibraries: 
      
      * win/tools/vsprops/FeatureDefines.vsprops: Added ENABLE_HIGH_DPI_CANVAS.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113467 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8e0fbd32