1. 17 Aug, 2011 29 commits
    • tony@chromium.org's avatar
      [chromium] Fix typo in test_expectations.txt. · ec3c7419
      tony@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93212 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ec3c7419
    • aroben@apple.com's avatar
      Skip another <progress> test on Windows · d60c5b06
      aroben@apple.com authored
      * platform/win/Skipped: Added fast/dom/shadow/tree-scope-crash.html.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93211 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d60c5b06
    • steveblock@google.com's avatar
      Web Inspector: http/tests/inspector/network/disabled-cache-crash.html flaky · 81e9cdff
      steveblock@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=65558
      
      Add TIMEOUT expectation.
      
      Unreviewed gardening.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93210 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      81e9cdff
    • aroben@apple.com's avatar
      Add Windows expected failure results for text-combine-image-test.html · e0592438
      aroben@apple.com authored
      Failure is tracked by <http://webkit.org/b/66376>.
      
      * platform/win/fast/text/international/text-combine-image-test-expected.png:
      * platform/win/fast/text/international/text-combine-image-test-expected.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93209 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e0592438
    • aroben@apple.com's avatar
      Add Windows expected failure results for new test added in r93068 · 99986d7b
      aroben@apple.com authored
      Failure is tracked by <http://webkit.org/b/66374>.
      
      * platform/win/editing/deleting/regional-indicators-expected.txt: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93208 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      99986d7b
    • aroben@apple.com's avatar
      Add Windows results for new test added in r91777 · a2edaeef
      aroben@apple.com authored
      * platform/win/fast/css/font-family-pictograph-expected.png: Added.
      * platform/win/fast/css/font-family-pictograph-expected.txt: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93207 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a2edaeef
    • aroben@apple.com's avatar
      Add Windows results for tests that differ from Lion due to font differences · 9c1c1b38
      aroben@apple.com authored
      These tests started failing in r93107 when I made Windows fall back to Lion results instead
      of SnowLeopard results. This is good in general, but these particular tests happen to give
      SnowLeopard-ish results due to some fonts that changed in Lion.
      
      * platform/win/css1/font_properties/font-expected.png: Added.
      * platform/win/css1/font_properties/font-expected.txt: Copied from platform/mac-snowleopard/css1/font_properties/font-expected.txt.
      * platform/win/css2.1/t1508-c527-font-05-b-expected.png: Added.
      * platform/win/css2.1/t1508-c527-font-05-b-expected.txt: Copied from platform/mac-snowleopard/css2.1/t1508-c527-font-05-b-expected.txt: Added.
      * platform/win/css2.1/t1508-c527-font-10-c-expected.png: Added.
      * platform/win/css2.1/t1508-c527-font-10-c-expected.txt: Copied from platform/mac-snowleopard/css2.1/t1508-c527-font-10-c-expected.txt.
      * platform/win/fast/text/capitalize-boundaries-expected.png: Added.
      * platform/win/fast/text/capitalize-boundaries-expected.txt: Copied from platform/win/fast/text/capitalize-boundaries-expected.txt.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93206 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9c1c1b38
    • aroben@apple.com's avatar
      Add Windows expected failures results for new test added in r93144 · 093145e3
      aroben@apple.com authored
      Failure is tracked by <http://webkit.org/b/56101>.
      
      * platform/win/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Added.
      * platform/win/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93205 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      093145e3
    • steveblock@google.com's avatar
      http/tests/misc/font-face-in-multiple-segmented-faces.html assertion failure on Chromium · beef434d
      steveblock@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=66375
      
      Sets a CRASH expectation for Windows debug.
      
      Unreviewed gardening.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93204 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      beef434d
    • steveblock@google.com's avatar
      Set failing TEXT expectation for... · 17e69744
      steveblock@google.com authored
      Set failing TEXT expectation for http/tests/security/mixedContent/insecure-plugin-in-iframe.html for all build flavors
      http://crbug.com/26042
      
      The test already has a failing TEXT expectation for DEBUG and for
      LINUX RELEASE, but we're now seeing failures on Mac10.6. It looks like
      it's generally flaky.
      
      Unreviewed gardening.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93203 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      17e69744
    • commit-queue@webkit.org's avatar
      Chromium Mac: Fix implementation of... · 4f10d024
      commit-queue@webkit.org authored
      Chromium Mac: Fix implementation of wkScrollbarMinimumTotalLengthNeededForThumb to match WebKitSystemInterface
      https://bugs.webkit.org/show_bug.cgi?id=66311
      
      Patch by Sailesh Agrawal <sail@chromium.org> on 2011-08-17
      Reviewed by Dimitri Glazkov.
      
      Updated wkScrollbarMinimumTotalLengthNeededForThumb() based on the latest disassembly of libWebKitSystemInterfaceLion.a.
      
      * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
      (wkScrollbarMinimumTotalLengthNeededForThumb):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93202 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4f10d024
    • steveblock@google.com's avatar
      Unreviewed, rolling out r93186. · 2cd0bed1
      steveblock@google.com authored
      http://trac.webkit.org/changeset/93186
      https://bugs.webkit.org/show_bug.cgi?id=66114
      
      Breaks LayoutTests on Chromium canary bots
      
      Source/WebCore:
      
      * platform/graphics/chromium/LayerChromium.h:
      * platform/graphics/chromium/LayerRendererChromium.cpp:
      (WebCore::LayerRendererChromium::updateLayers):
      (WebCore::LayerRendererChromium::drawLayersInternal):
      (WebCore::LayerRendererChromium::drawLayer):
      * platform/graphics/chromium/cc/CCLayerImpl.h:
      
      LayoutTests:
      
      * compositing/backface-visibility-hierarchical-transform-expected.png: Removed.
      * compositing/backface-visibility-hierarchical-transform-expected.txt: Removed.
      * compositing/backface-visibility-hierarchical-transform.html: Removed.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93201 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2cd0bed1
    • ossy@webkit.org's avatar
      [Qt] REGRESSION after r93011 · 436d2004
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66212
      
      Unreviewed gardening.
      
      * platform/qt-4.8/Skipped:
       - Unskip fast/css/font-face-opentype.html.
       - Unskip http/tests/security/cross-frame-access-put.html, because it passes now.
      * platform/qt-4.8/fast/css/font-face-opentype-expected.txt: Update Qt 4.8 specific expected result.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93200 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      436d2004
    • rniwa@webkit.org's avatar
      Get rid of calls to deprecatedNode and deprecatedEditingOffset in · 85e71f97
      rniwa@webkit.org authored
      AccessibilityRenderObject.cpp and InsertTextCommand.cpp
      https://bugs.webkit.org/show_bug.cgi?id=66014
      
      Reviewed by Hajime Morita.
      
      Removed calls to deprecatedNode and deprecatedEditingOffsets in the following files.
      
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::indexForVisiblePosition): Calls Position::rootEditableElement
      and Range::setEnd(const Position&, ExceptionCode) instead of manually pulling deprecatedNode
      and deprecatedEditingOffset.
      (WebCore::AccessibilityRenderObject::index): Abstracted the logic to loop through render objects
      from deprecatedNodes' renderer to m_renderer as renderObjectContainsPosition.
      * dom/Position.h:
      (WebCore::Position::rootEditableElement): Added.
      * dom/Range.cpp:
      (WebCore::Range::setStart): Added.
      (WebCore::Range::setEnd): Added.
      * dom/Range.h:
      * editing/InsertTextCommand.cpp:
      (WebCore::InsertTextCommand::insertTab):
      * editing/RenderedPosition.cpp:
      (WebCore::renderObjectContainsPosition): Extracted from AccessibilityRenderObject::index.
      * editing/RenderedPosition.h:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93199 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      85e71f97
    • ossy@webkit.org's avatar
      [Qt] Unreviewed gardening. · cd000f35
      ossy@webkit.org authored
      * platform/qt/Skipped:
       - Unskip tests removed by r93095.
       - Skip fast/repaint/japanese-rl-selection-repaint-in-regions.html introduced in r93144.
      * platform/qt/fast/repaint/line-flow-with-floats-in-regions-expected.png: Added. (test introduced in r93144)
      * platform/qt/fast/repaint/line-flow-with-floats-in-regions-expected.txt: Added. (test introduced in r93144)
      * platform/qt/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.png: Added. (test introduced in r93144)
      * platform/qt/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt: Added. (test introduced in r93144)
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93198 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      cd000f35
    • commit-queue@webkit.org's avatar
      Chromium Mac: Fix issue where scrollbar wouldn't be drawn until page finished loading · 1d007c91
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66238
      
      Patch by Sailesh Agrawal <sail@chromium.org> on 2011-08-17
      Reviewed by Dimitri Glazkov.
      
      Overlay scrollbars were not visible if the user scrolled a page while the page was loading. The sequence of events necessary to reproduce this bug were:
        1. -[ScrollbarPainterDelegate scrollerImp:animateKnobAlphaTo:duration:] is called
        2. animation is delayed because shouldSuspendScrollAnimations() is true
        3. ScrollAnimatorChromiumMac::scroll() is called before the ScrollAnimatorChromiumMac::m_initialScrollbarPaintTimer is fired.
        4. At this point the scrollbar painter assumes the scrollbar is already visible (because of 1.) so the scrollbar's alpha stays at 0. Thus the scrollbar isn't visible until the page finishes loading.
      It turns out that the root problem was that when the initialScrollbarPainterTimer fired I wasn't flashing the scrollbar correctly. My implementation of wkScrollbarPainterForceFlashScrollers() just called flashScrollers. The Safari implementation of this function also calls hideOverlayScrollers. Calling hideOverlayScrollers causes the alpha to change to 0 which prevents step 4 from happening.
      
      Also, now that wkScrollbarPainterForceFlashScrollers is working correctly I don't need the extra logic I added to the initialScrollbarPainterTimer handler. That logic restarted the timer if shouldSuspendScrollAnimations() was true. But this isn't necessary since calling wkScrollbarPainterForceFlashScrollers() causes -[ScrollbarPainterDelegate setUpAnimation:...] to be called which does the exact same thing. Removing the extra logic reverts http://trac.webkit.org/changeset/92316.
      
      * platform/chromium/ScrollAnimatorChromiumMac.mm:
      (WebCore::ScrollAnimatorChromiumMac::initialScrollbarPaintTimerFired):
      * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
      (wkScrollbarPainterForceFlashScrollers):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93197 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1d007c91
    • caseq@chromium.org's avatar
      2011-08-16 Andrey Kosyakov <caseq@chromium.org> · 458871e9
      caseq@chromium.org authored
              Web Inspector: maintain visible view hierarchy and dispatch common view events automatically
              https://bugs.webkit.org/show_bug.cgi?id=66131
      
              Reviewed by Pavel Feldman.
      
              Test: inspector/view-events.html
      
              - added a notion of an optional parent to a View
              - maintain a list of View children
              - dispatch common view events, such as show/hide/resize automatically through the hierarchy of visible views.
              - promoted Panel's logic of (re)storing scroll positions to view
              - demoted inheritScrollPositionFromView to a couple of views that need it.
      
              * inspector/front-end/ApplicationCacheItemsView.js:
              (WebInspector.ApplicationCacheItemsView.prototype.onResize):
              * inspector/front-end/ConsoleView.js:
              (WebInspector.ConsoleView.prototype.populateStatusBar):
              (WebInspector.ConsoleView.prototype.elementsToRestoreScrollPositionsFor):
              * inspector/front-end/CookieItemsView.js:
              (WebInspector.CookieItemsView.prototype.onResize):
              (WebInspector.SimpleCookiesTable.prototype.onResize):
              * inspector/front-end/DOMStorageItemsView.js:
              (WebInspector.DOMStorageItemsView.prototype.onResize):
              * inspector/front-end/DetailedHeapshotView.js:
              (WebInspector.DetailedHeapshotView.prototype.onResize):
              * inspector/front-end/Drawer.js:
              (WebInspector.Drawer.prototype.set visibleView):
              (WebInspector.Drawer.prototype.show):
              (WebInspector.Drawer.prototype.hide):
              (WebInspector.Drawer.prototype.onResize):
              (WebInspector.Drawer.prototype._animateDrawerHeight.animationFinished):
              (WebInspector.Drawer.prototype._animateDrawerHeight):
              (WebInspector.Drawer.prototype._statusBarDragging):
              (WebInspector.Drawer.prototype._endStatusBarDragging):
              * inspector/front-end/ElementsPanel.js:
              (WebInspector.ElementsPanel.prototype.onResize):
              * inspector/front-end/ExtensionPanel.js:
              * inspector/front-end/FontView.js:
              (WebInspector.FontView.prototype.onResize):
              * inspector/front-end/IFrameView.js:
              (WebInspector.IFrameView):
              * inspector/front-end/NetworkItemView.js:
              (WebInspector.NetworkItemView.prototype._installHighlightSupport):
              * inspector/front-end/NetworkPanel.js:
              (WebInspector.NetworkLogView):
              (WebInspector.NetworkLogView.prototype.elementsToRestoreScrollPositionsFor):
              (WebInspector.NetworkLogView.prototype.onResize):
              (WebInspector.NetworkLogView.prototype.wasShown):
              (WebInspector.NetworkLogView.prototype.willHide):
              (WebInspector.NetworkPanel):
              (WebInspector.NetworkPanel.prototype.show):
              (WebInspector.NetworkPanel.prototype._showResource):
              (WebInspector.NetworkPanel.prototype._closeVisibleResource):
              * inspector/front-end/Panel.js:
              (WebInspector.Panel.prototype.show):
              (WebInspector.Panel.prototype.hide):
              (WebInspector.Panel.prototype.performSearch.processChunk):
              (WebInspector.Panel.prototype.performSearch):
              (WebInspector.Panel.prototype.updateSidebarWidth):
              * inspector/front-end/PanelEnablerView.js:
              (WebInspector.PanelEnablerView.prototype.show):
              (WebInspector.PanelEnablerView.prototype.onResize):
              * inspector/front-end/ProfileView.js:
              (WebInspector.CPUProfileView.prototype.onResize):
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel.prototype.updateMainViewWidth):
              * inspector/front-end/ResourceCookiesView.js:
              (WebInspector.ResourceCookiesView.prototype.onResize):
              * inspector/front-end/ResourcePreviewView.js:
              (WebInspector.ResourcePreviewView.prototype.contentLoaded):
              * inspector/front-end/ResourceResponseView.js:
              (WebInspector.ResourceResponseView.prototype.contentLoaded):
              * inspector/front-end/ResourceTimingView.js:
              (WebInspector.ResourceTimingView.prototype.show):
              * inspector/front-end/ResourcesPanel.js:
              (WebInspector.ResourcesPanel.prototype.show):
              (WebInspector.ResourcesPanel.prototype._innerShowView):
              (WebInspector.ResourcesPanel.prototype.closeVisibleView):
              (WebInspector.ResourcesPanel.prototype.updateMainViewWidth):
              (WebInspector.FrameResourceTreeElement.prototype._recreateSourceView):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype.show):
              (WebInspector.ScriptsPanel.prototype._createSourceFrame):
              (WebInspector.ScriptsPanel.prototype._removeSourceFrame):
              (WebInspector.ScriptsPanel.prototype.setSidebarWidth):
              * inspector/front-end/SourceFrame.js:
              (WebInspector.SourceFrame):
              (WebInspector.SourceFrame.prototype.show):
              (WebInspector.SourceFrame.prototype.willHide):
              (WebInspector.SourceFrame.prototype.clearMessages):
              (WebInspector.SourceFrame.prototype._setTextViewerDecorations):
              (WebInspector.SourceFrame.prototype.inheritScrollPositions):
              * inspector/front-end/TabbedPane.js:
              (WebInspector.TabbedPane.prototype.appendTab):
              * inspector/front-end/TextViewer.js:
              (WebInspector.TextViewer.prototype.elementsToRestoreScrollPositionsFor):
              (WebInspector.TextViewer.prototype.inheritScrollPositions):
              (WebInspector.TextViewer.prototype.onResize):
              * inspector/front-end/TimelinePanel.js:
              (WebInspector.TimelinePanel.prototype.onResize):
              (WebInspector.TimelinePanel.prototype.elementsToRestoreScrollPositionsFor):
              (WebInspector.TimelinePanel.prototype.show):
              * inspector/front-end/View.js:
              (WebInspector.View):
              (WebInspector.View.prototype.wasShown):
              (WebInspector.View.prototype.willHide):
              (WebInspector.View.prototype._innerShow):
              (WebInspector.View.prototype.show):
              (WebInspector.View.prototype._innerHide):
              (WebInspector.View.prototype.hide):
              (WebInspector.View.prototype._detach):
              (WebInspector.View.prototype.elementsToRestoreScrollPositionsFor):
              (WebInspector.View.prototype.storeScrollPositions):
              (WebInspector.View.prototype.restoreScrollPositions):
              (WebInspector.View.prototype.addChildView):
              (WebInspector.View.prototype.removeChildView):
              (WebInspector.View.prototype.onResize):
              (WebInspector.View.prototype.doResize):
              (WebInspector.View.prototype.dispatchToSelfAndVisibleChildren):
              (WebInspector.View.prototype.dispatchToVisibleChildren):
              * inspector/front-end/inspector.js:
              (WebInspector.windowResize):
      
      2011-08-16  Andrey Kosyakov  <caseq@chromium.org>
      
              Web Inspector: maintain visible view hierarchy and dispatch common view events automatically
              https://bugs.webkit.org/show_bug.cgi?id=66131
      
              Reviewed by Pavel Feldman.
      
              * inspector/view-events-expected.txt: Added.
              * inspector/view-events.html: Added.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93196 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      458871e9
    • macpherson@chromium.org's avatar
      Represent RenderStyle::textOverflow property using an enum instead of a bool. · 6933e695
      macpherson@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66356
      
      Reviewed by Dan Bernstein.
      
      No new tests - no behavioral changes.
      
      * css/CSSPrimitiveValueMappings.h:
      (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
      Support cast from TextOverflow to CSSPrimitiveValue.
      (WebCore::CSSPrimitiveValue::operator TextOverflow):
      Support cast from CSSPrimitiveValue to TextOverflow.
      * css/CSSStyleSelector.cpp:
      (WebCore::CSSStyleSelector::applyProperty):
      Use HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE macro for text overflow.
      * rendering/style/RenderStyle.h:
      (WebCore::InheritedFlags::textOverflow):
      Return TextOverflow enum.
      (WebCore::InheritedFlags::setTextOverflow):
      Accept TextOverflow enum parameter.
      (WebCore::InheritedFlags::initialTextOverflow):
      Return TextOverflowClip.
      * rendering/style/RenderStyleConstants.h:
      Define TextOverflow enum.
      * rendering/style/StyleRareNonInheritedData.h:
      Change representation of text overflow from bool to one-bit unsigned.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93195 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6933e695
    • jeffm@apple.com's avatar
      Apple's Windows production build should fail to compile if AVFoundation is not enabled · 37589334
      jeffm@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=66339
              
      Generate a compile-time error for Production builds if !USE(AVFOUNDATION).
      
      Reviewed by Darin Adler.
      
      * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationCF.cpp: Generate a compile-time error for Production builds if !USE(AVFOUNDATION).
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93194 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      37589334
    • abarth@webkit.org's avatar
      Add new chromium-mac-leopard directory to match the chromium-mac that · b168bd5a
      abarth@webkit.org authored
      tony^work added.  This directory will house Skia results for Chromium Mac.
      
      * platform/chromium-mac-leopard: Added.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93191 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b168bd5a
    • abarth@webkit.org's avatar
      Add a CG qualifier similar to the GPU qualifier · a56b4a0b
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66359
      
      Reviewed by Eric Seidel.
      
      Once we have a Skia configuration on Chromium Mac, we'll use this CG
      qualifier to note that expectations apply only to the CG configuration.
      
      * Scripts/webkitpy/layout_tests/port/chromium.py:
      * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93190 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a56b4a0b
    • msaboff@apple.com's avatar
      Crash in Structure::visitChildren running iAd.js regression test suite under memory pressure · 67e810dd
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=66351
      
      JIT::privateCompilePutByIdTransition expects that regT0 and regT1
      have the basePayload and baseTag respectively.  In some cases,
      we may get to this generated code with one or both of these
      registers trash.  One know case is that regT0 on ARM may be
      trashed as regT0 (r0) is also arg0 and can be overrun with sp due
      to calls to JIT::restoreReturnAddress().  This patch uses the
      values on the stack.  A longer term solution is to work out all
      cases so that the register entry assumptions can assured.
      
      While fixing this, also determined that the additional stack offset
      of sizeof(void*) is not needed for ARM.
      
      Reviewed by Gavin Barraclough.
      
      * jit/JITPropertyAccess32_64.cpp:
      (JSC::JIT::privateCompilePutByIdTransition):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93189 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      67e810dd
    • levin@chromium.org's avatar
      REGRESSION (r89086): All worker xhr requests trigger preflight requests. · 6ff986bb
      levin@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66340
      
      Reviewed by Adam Barth.
      
      Test coming in a more comprehensive patch shortly. This is just a very targetted
      patch to allow for easier merging.
      
      * loader/CrossOriginAccessControl.cpp:
      (WebCore::isOnAccessControlSimpleRequestHeaderWhitelist): Add referer to the list
      of whitelisted headers. It can't be set by xhr so it is ok to whitelist it, but it is
      set before calling this function. This is similar to what is done for "origin" in here.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93188 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6ff986bb
    • hayato@chromium.org's avatar
      Add two sample mismatch reftests to make sure that reftests work correctly. · 966db87f
      hayato@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66218
      
      Reviewed by Tony Chang.
      
      One mismatch reftest is expected to pass, the other is expected to
      fail. The failed one is marked as 'WONTFIX' in test expectations
      in chromium port and is skipped in other ports.
      
      * fast/harness/sample-fail-mismatch-reftest-expected-mismatch.html: Added.
      * fast/harness/sample-fail-mismatch-reftest.html: Added.
      * fast/harness/sample-mismatch-reftest-expected-mismatch.html: Added.
      * fast/harness/sample-mismatch-reftest.html: Added.
      * platform/chromium/test_expectations.txt:
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93187 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      966db87f
    • commit-queue@webkit.org's avatar
      Computing screen-space transform for LayerChromium and CCLayerImpl · c4daaeea
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66114
      
      Patch by Shawn Singh <shawnsingh@chromium.org> on 2011-08-16
      Reviewed by James Robinson.
      
      Source/WebCore:
      
      Test: compositing/backface-visibility-hierarchical-transform.html
      
      Added a data member to LayerChromium and CCLayerImpl that holds
      the screen-space transform.   The transform is computed in
      calculateDrawTransformsAndVisibility(), which is used during
      updating (LayerChromium) and drawing (CCLayerImpl).  This transform
      will also be used for other things, such as HUD drawing, in upcoming
      patches.
      
      Also fixed a FIXME in LayerRendererChromium::drawLayer, which
      was not computing the entire hierarchy of transforms to determine
      back-face visibility.  Now it simply uses the screen space transform.
      
      * platform/graphics/chromium/LayerChromium.h:
      (WebCore::LayerChromium::screenSpaceDrawTransform):
      (WebCore::LayerChromium::setScreenSpaceDrawTransform):
      * platform/graphics/chromium/LayerRendererChromium.cpp:
      (WebCore::LayerRendererChromium::updateLayers):
      (WebCore::LayerRendererChromium::drawLayersInternal):
      (WebCore::LayerRendererChromium::drawLayer):
      (WebCore::calculateDrawTransformsAndVisibility):
      * platform/graphics/chromium/cc/CCLayerImpl.h:
      (WebCore::CCLayerImpl::screenSpaceDrawTransform):
      (WebCore::CCLayerImpl::setScreenSpaceDrawTransform):
      
      LayoutTests:
      
      This case tests if backface visibility properly accounts for a hierarchy
      of transforms.
      
      * compositing/backface-visibility-hierarchical-transform-expected.png: Added.
      * compositing/backface-visibility-hierarchical-transform-expected.txt: Added.
      * compositing/backface-visibility-hierarchical-transform.html: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93186 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c4daaeea
    • rniwa@webkit.org's avatar
      More rebaselines for Windows WebKit2 port. · 6c364acd
      rniwa@webkit.org authored
      * platform/win-wk2/editing/deleting/delete-at-paragraph-boundaries-008-expected.txt:
      * platform/win-wk2/editing/deleting/delete-ws-fixup-003-expected.txt:
      * platform/win-wk2/editing/deleting/delete-ws-fixup-004-expected.txt:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93185 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6c364acd
    • hayato@chromium.org's avatar
      Implement proper handling of events which happen in children of shadow hosts. · f101ebb5
      hayato@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66285
      
      Reviewed by Dimitri Glazkov.
      
      Fix the issue where a shadow host stops an event propagation if an
      event happens at the children of shadow hosts, outside of the shadow root.
      
      Source/WebCore:
      
      Test: fast/dom/shadow/shadow-contents-event.html
      
      * dom/EventDispatcher.cpp:
      (WebCore::EventDispatcher::adjustToShadowBoundaries):
      
      LayoutTests:
      
      * fast/dom/shadow/details-summary-mouseover-expected.txt: Removed.
      * fast/dom/shadow/details-summary-mouseover.html: Removed.
      * fast/dom/shadow/shadow-contents-event-expected.txt: Added.
      * fast/dom/shadow/shadow-contents-event.html: Added.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93184 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f101ebb5
    • eric@webkit.org's avatar
      REGRESSION(92717): WinPort needs to parse version information from port_name · 0b0918e4
      eric@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66325
      
      Unreviewed.  Fixing an exception/typo seen on the bots (and testing to make sure it works).
      
      * Scripts/webkitpy/layout_tests/port/mac.py:
      * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93183 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0b0918e4
    • commit-queue@webkit.org's avatar
      Make it possible to explicitly prevent a preflight via ThreadableLoaderOptions · d090f6cc
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=65694
      
      Patch by Per-Erik Brodin <per-erik.brodin@ericsson.com> on 2011-08-16
      Reviewed by Alexey Proskuryakov.
      
      Source/WebCore:
      
      No new tests since there is no change in behavior.
      
      * fileapi/FileReaderLoader.cpp:
      (WebCore::FileReaderLoader::start):
      * loader/DocumentThreadableLoader.cpp:
      (WebCore::DocumentThreadableLoader::DocumentThreadableLoader):
      (WebCore::DocumentThreadableLoader::makeSimpleCrossOriginAccessRequest):
      * loader/ThreadableLoader.h:
      (WebCore::ThreadableLoaderOptions::ThreadableLoaderOptions):
      * notifications/Notification.cpp:
      (WebCore::Notification::startLoading):
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::createRequest):
      
      Source/WebKit/chromium:
      
      * src/AssociatedURLLoader.cpp:
      (WebKit::AssociatedURLLoader::loadAsynchronously):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@93182 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d090f6cc
  2. 16 Aug, 2011 11 commits