1. 27 Sep, 2011 36 commits
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r96131. · 3b381c1e
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/96131
      https://bugs.webkit.org/show_bug.cgi?id=68927
      
      It made 18+ tests crash on all platform (Requested by
      Ossy_night on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-27
      
      Source/JavaScriptCore:
      
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::throwException):
      * interpreter/Interpreter.h:
      * jsc.cpp:
      (GlobalObject::finishCreation):
      * parser/Parser.h:
      (JSC::Parser::parse):
      * runtime/CommonIdentifiers.h:
      * runtime/Error.cpp:
      (JSC::addErrorInfo):
      * runtime/Error.h:
      
      LayoutTests:
      
      * fast/js/exception-properties-expected.txt:
      * fast/js/script-tests/exception-properties.js:
      * fast/js/script-tests/stack-trace.js: Removed.
      * fast/js/stack-trace-expected.txt: Removed.
      * fast/js/stack-trace.html: Removed.
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96146 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b381c1e
    • robert@webkit.org's avatar
      Reviewed by David Hyatt. · ec941c9f
      robert@webkit.org authored
      Replaced elements squeezed when width is specified as percentage inside a table with Auto layout
      https://bugs.webkit.org/show_bug.cgi?id=29447
      
      Source/WebCore:
      
      If inserting a 'replaced' element (e.g. image, plugin) in a table cell that is not descendant from
      a block with fixed layout then do not squeeze the element, let it use its intrinsic width and height.
      
      Test: fast/replaced/table-percent-width.html
      
      * rendering/RenderBox.cpp:
      (WebCore::avoidSqueezingWidth):
      (WebCore::avoidSqueezingHeight):
      (WebCore::RenderBox::containingBlockReplacedLogicalWidthForContent):
      (WebCore::RenderBox::computeReplacedLogicalWidthUsing):
      (WebCore::RenderBox::computeReplacedLogicalHeightUsing):
      * rendering/RenderBox.h:
      
      LayoutTests:
      
      * fast/replaced/table-percent-width.html: Added.
      * fast/replaced/table-percent-width-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96139 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ec941c9f
    • simon.fraser@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=67858 · c8bf6391
      simon.fraser@apple.com authored
      Roll r96070 back in now that the crash has been fixed in r96130.
      
      Source/WebCore:
      
      Reviewed by Darin Adler.
      
      When non-overlay scrollbars are hidden on a composited iframe, nothing invalidated
      the scrollbar areas or the scroll corner, so the scrollbars appear to remain.
      
      Fix by invalidating the scrollbars and scroll corner when they are removed. Invalidation
      on scrollbar creation appears to happen via updating the scrollbar style.
      
      Tested by compositing/iframes/repaint-after-losing-scrollbars.html which no longer shows
      stale scrollbars when run manually, even though the green squares are missing from the
      pixel result (bug 67878).
      
      * page/FrameView.cpp:
      (WebCore::FrameView::updateScrollCorner): Pass the corner rect into invalidateScrollCorner().
      * platform/ScrollView.cpp:
      (WebCore::ScrollView::setHasHorizontalScrollbar): Invalidate the scrollbar area if hiding it.
      (WebCore::ScrollView::setHasVerticalScrollbar): Ditto.
      (WebCore::ScrollView::updateScrollbars): In the case where both scrollbars are going away,
      compute the scroll corner rect while we still have scrollbars, and then invalidate it
      explicitly. (updateScrollCorner() doesn't, because it doesn't have access to the old corner
      rect.)
      * platform/ScrollableArea.cpp:
      (WebCore::ScrollableArea::invalidateScrollCorner): Pass the rect in, because we can't
      compute it in the case where the scrollbars are going away.
      * platform/ScrollableArea.h: Pass in a rect to invalidateScrollCorner(), which matches
      invalidateScrollbar().
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::destroyRootLayer): Pass the corner rect into invalidateScrollCorner().
      * rendering/RenderScrollbarPart.cpp: Ditto.
      (WebCore::RenderScrollbarPart::imageChanged): Ditto.
      
      LayoutTests:
      
      * compositing/iframes/repaint-after-losing-scrollbars-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96138 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8bf6391
    • commit-queue@webkit.org's avatar
      Autofocus on readonly inputs does not focus the element. · c35469b2
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=24092
      
      Patch by Kaustubh Atrawalkar <kaustubh@motorola.com> on 2011-09-27
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore:
      
      Readonly input elements should be autofocusable. Removed the check.
      
      Tests: fast/forms/autofocus-readonly-attribute.html
      
      * html/HTMLFormControlElement.cpp:
      (WebCore::shouldAutofocus):
      
      LayoutTests:
      
      * fast/forms/autofocus-readonly-attribute-expected.txt: Added.
      * fast/forms/autofocus-readonly-attribute.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96134 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c35469b2
    • mihaip@chromium.org's avatar
      Remove duplicate of fast/text/international/Geeza-Pro-vertical-metrics-adjustment.html · 870d6bdd
      mihaip@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68915
      
      Reviewed by Ryosuke Niwa.
      
      r92496 and r92881 were only trying to move the baselines to
      platform/mac-snowleopard/platform/mac/fast, but they also inadvertedly
      copied the test itself.
      
      * platform/mac-snowleopard/platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      870d6bdd
    • commit-queue@webkit.org's avatar
      Implement Error.stack · f177874f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66994
      
      Patch by Juan Carlos Montemayor Elosua <j.mont@me.com> on 2011-09-27
      Reviewed by Oliver Hunt.
      
      Source/JavaScriptCore:
      
      This patch utilizes topCallFrame to create a stack trace when
      an error is thrown. Users will also be able to use the stack()
      command in jsc to get arrays with stack trace information.
      
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * interpreter/Interpreter.cpp:
      (JSC::getCallerLine):
      (JSC::getSourceURLFromCallFrame):
      (JSC::getStackFrameCodeType):
      (JSC::Interpreter::getStackTrace):
      (JSC::Interpreter::throwException):
      * interpreter/Interpreter.h:
      (JSC::StackFrame::toString):
      * jsc.cpp:
      (GlobalObject::finishCreation):
      (functionJSCStack):
      * parser/Parser.h:
      (JSC::Parser::parse):
      * runtime/CommonIdentifiers.h:
      * runtime/Error.cpp:
      (JSC::addErrorInfo):
      * runtime/Error.h:
      
      LayoutTests:
      
      Unit tests that contain both normal and special cases for stack trace
      generation.
      
      * fast/js/exception-properties-expected.txt:
      * fast/js/script-tests/exception-properties.js:
      * fast/js/script-tests/stack-trace.js: Added.
      (printStack):
      (hostThrower):
      (callbacker):
      (outer):
      (inner):
      (evaler):
      (normalOuter):
      (normalInner):
      (scripterInner):
      (scripterOuter):
      * fast/js/stack-trace-expected.txt: Added.
      * fast/js/stack-trace.html: Added.
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96131 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f177874f
    • enne@google.com's avatar
      [Chromium] Layout Test compositing/video-page-visibility.html is failing on GPU linux · d93e30c5
      enne@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=68882
      
      	Unreviewed rebaseline.
      
      * platform/chromium-gpu-linux/compositing/video-page-visibility-expected.png: Added.
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96128 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d93e30c5
    • commit-queue@webkit.org's avatar
      AXObjectCache cleared unnecessarily when non-top Document is detached. · e45033b8
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68636
      
      Patch by Dominic Mazzoni <dmazzoni@google.com> on 2011-09-27
      Reviewed by Chris Fleizach.
      
      Source/WebCore:
      
      Test: accessibility/deleting-iframe-destroys-axcache.html
      
      * dom/Document.cpp:
      (WebCore::Document::attach):
      (WebCore::Document::detach):
      
      LayoutTests:
      
      * accessibility/deleting-iframe-destroys-axcache.html: Added.
      * platform/mac/accessibility/deleting-iframe-destroys-axcache-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e45033b8
    • rniwa@webkit.org's avatar
      dump-as-markup conversion: editing/pasteboard/merge-end-list.html and merge-end-table.html · 5408ee22
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68857
      
      Reviewed by Kent Tamura.
      
      Converted the tests into dump-as-markup tests. Also split each test into two tests.
      
      * editing/pasteboard/merge-end-list-2-expected.txt: Added.
      * editing/pasteboard/merge-end-list-2.html: Added.
      * editing/pasteboard/merge-end-list-expected.txt: Added.
      * editing/pasteboard/merge-end-list.html:
      * editing/pasteboard/merge-end-table-2-expected.txt: Added.
      * editing/pasteboard/merge-end-table-2.html: Added.
      * editing/pasteboard/merge-end-table-expected.txt: Added.
      * editing/pasteboard/merge-end-table.html:
      * platform/chromium-cg-mac-leopard/editing/pasteboard/merge-end-list-expected.png: Removed.
      * platform/chromium-cg-mac-leopard/editing/pasteboard/merge-end-table-expected.png: Removed.
      * platform/chromium-cg-mac/editing/pasteboard/merge-end-list-expected.png: Removed.
      * platform/chromium-cg-mac/editing/pasteboard/merge-end-table-expected.png: Removed.
      * platform/chromium-linux/editing/pasteboard/merge-end-list-expected.png: Removed.
      * platform/chromium-linux/editing/pasteboard/merge-end-table-expected.png: Removed.
      * platform/chromium-mac/editing/pasteboard/merge-end-list-expected.png: Removed.
      * platform/chromium-mac/editing/pasteboard/merge-end-table-expected.png: Removed.
      * platform/chromium-win/editing/pasteboard/merge-end-list-expected.png: Removed.
      * platform/chromium-win/editing/pasteboard/merge-end-list-expected.txt: Removed.
      * platform/chromium-win/editing/pasteboard/merge-end-table-expected.png: Removed.
      * platform/chromium-win/editing/pasteboard/merge-end-table-expected.txt: Removed.
      * platform/gtk/editing/pasteboard/merge-end-list-expected.png: Removed.
      * platform/gtk/editing/pasteboard/merge-end-list-expected.txt: Removed.
      * platform/gtk/editing/pasteboard/merge-end-table-expected.png: Removed.
      * platform/gtk/editing/pasteboard/merge-end-table-expected.txt: Removed.
      * platform/mac-leopard/editing/pasteboard/merge-end-list-expected.png: Removed.
      * platform/mac-leopard/editing/pasteboard/merge-end-table-expected.png: Removed.
      * platform/mac/editing/pasteboard/merge-end-list-expected.png: Removed.
      * platform/mac/editing/pasteboard/merge-end-list-expected.txt: Removed.
      * platform/mac/editing/pasteboard/merge-end-table-expected.png: Removed.
      * platform/mac/editing/pasteboard/merge-end-table-expected.txt: Removed.
      * platform/qt/editing/pasteboard/merge-end-list-expected.png: Removed.
      * platform/qt/editing/pasteboard/merge-end-list-expected.txt: Removed.
      * platform/qt/editing/pasteboard/merge-end-table-expected.png: Removed.
      * platform/qt/editing/pasteboard/merge-end-table-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96125 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5408ee22
    • jchaffraix@webkit.org's avatar
      Crash in WebCore::HTMLParser::createHead · 4ac55ef2
      jchaffraix@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=32426
      
      Reviewed by Darin Adler.
      
      The crash was fixed some time ago but the test was not landed which kept the bug open.
      
      * fast/parser/crash-HTMLParser-createHead.html: Added.
      Tweaked the test case as we now throw an exception (DOM Exception 12).
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4ac55ef2
    • jchaffraix@webkit.org's avatar
      Crash because CSSPrimitiveValue::computeLengthDouble assumes fontMetrics are available · 0412fbc9
      jchaffraix@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66291
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      Test: fast/canvas/crash-set-font.html
      
      This is Yet Another Missing updateFont (similar to bug 57756 and likely others). Here the issue is that
      applying one of the font properties could mutate the parent style's font if m_parentStyle == m_style.
      We would then query the newly created font when applying CSSPropertyFontSize, which has no font fallback
      list as Font::update was never called.
      
      The right fix would be to refactor of how we handle fonts to avoid such manual updates (see bug 62390).
      Until this happens, it is better not to crash.
      
      * css/CSSStyleSelector.cpp:
      (WebCore::CSSStyleSelector::applyProperty): Added updateFont() here as the fonts could have been
      mutated by the previous property change. Also added a comment explaining why it is safe to do it
      this way.
      
      LayoutTests:
      
      * fast/canvas/crash-set-font-expected.txt: Added.
      * fast/canvas/crash-set-font.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96122 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0412fbc9
    • loislo@chromium.org's avatar
      Unreviewed followupfix for r96110. · 17803022
      loislo@chromium.org authored
      This is a small adjustment of the heap size delta calculation.
      
      * inspector/performance/resources/performance-test.js:
      (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.done):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96114 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      17803022
    • loislo@chromium.org's avatar
      Web Inspector: UI performance: introduce heap size tracking stats. · a0fb964e
      loislo@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68901
      
      It is interesting how much the heap memory is used by Inspector in order of running the test.
      
      Reviewed by Yury Semikhatsky.
      
      Tools:
      
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::showDevTools):
      (TestShell::closeDevTools):
      
      LayoutTests:
      
      * inspector/performance/resources/network-append-30-requests.html:
      * inspector/performance/resources/performance-test.js:
      (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer):
      (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._getJSHeapSize):
      (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.done):
      (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._dump):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96110 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a0fb964e
    • wjmaclean@chromium.org's avatar
      Layout Test platform/chromium/compositing/zoom-animator-scale-test.html is failing. · 677c814c
      wjmaclean@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68852
      
      Rebaseline GPU tests for Mac, Win.
      
      Reviewed by Shinichiro Hamaji.
      
      * platform/chromium-gpu-cg-mac/platform/chromium/compositing/zoom-animator-scale-test-expected.png:
      * platform/chromium-gpu-mac/platform/chromium/compositing/zoom-animator-scale-test-expected.png:
      * platform/chromium-gpu-win/platform/chromium/compositing/zoom-animator-scale-test-expected.png:
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      677c814c
    • commit-queue@webkit.org's avatar
      Clipped high quality blur in skia has been fixed. Rebaseline layout tests. · 92b307b1
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68577
      
      Patch by Ben Wagner <bungeman@chromium.org> on 2011-09-27
      Reviewed by Kenneth Russell.
      
      * platform/chromium-linux-x86/fast/box-shadow: Removed.
      * platform/chromium-linux/fast/box-shadow/inset-box-shadows-expected.png:
      * platform/chromium-mac/fast/box-shadow/inset-box-shadow-radius-expected.png:
      * platform/chromium-mac/fast/box-shadow/inset-box-shadows-expected.png:
      * platform/chromium-mac/fast/box-shadow/shadow-buffer-partial-expected.png:
      * platform/chromium-win/fast/box-shadow/inset-box-shadow-radius-expected.png:
      * platform/chromium-win/fast/box-shadow/inset-box-shadows-expected.png:
      * platform/chromium-win/fast/box-shadow/shadow-buffer-partial-expected.png:
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96107 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      92b307b1
    • pfeldman@chromium.org's avatar
      Source/WebCore: Web Inspector: split DOM.attributesUpdated into... · 60657a7c
      pfeldman@chromium.org authored
      Source/WebCore: Web Inspector: split DOM.attributesUpdated into attributeModified and attributeRemoved.
      Send attribute name and value within the event.
      https://bugs.webkit.org/show_bug.cgi?id=68613
      
      Reviewed by Yury Semikhatsky.
      
      * dom/Element.cpp:
      (WebCore::Element::setAttribute):
      (WebCore::Element::removeAttribute):
      * inspector/Inspector.draft-01.json:
      * inspector/Inspector.json:
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::didModifyDOMAttr):
      (WebCore::InspectorDOMAgent::didRemoveDOMAttr):
      * inspector/InspectorDOMAgent.h:
      * inspector/InspectorInstrumentation.cpp:
      (WebCore::InspectorInstrumentation::didModifyDOMAttrImpl):
      (WebCore::InspectorInstrumentation::didRemoveDOMAttrImpl):
      * inspector/InspectorInstrumentation.h:
      (WebCore::InspectorInstrumentation::didModifyDOMAttr):
      (WebCore::InspectorInstrumentation::didRemoveDOMAttr):
      * inspector/front-end/DOMAgent.js:
      (WebInspector.DOMNode.prototype._addAttribute):
      (WebInspector.DOMNode.prototype._setAttribute):
      (WebInspector.DOMNode.prototype._removeAttribute):
      (WebInspector.DOMAgent.prototype._attributeModified):
      (WebInspector.DOMAgent.prototype._attributeRemoved):
      (WebInspector.DOMAgent.prototype._inlineStyleInvalidated):
      (WebInspector.DOMAgent.prototype._loadNodeAttributes):
      (WebInspector.DOMDispatcher.prototype.attributeModified):
      (WebInspector.DOMDispatcher.prototype.attributeRemoved):
      * inspector/front-end/ElementsPanel.js:
      (WebInspector.ElementsPanel):
      (WebInspector.ElementsPanel.prototype._attributesUpdated):
      * inspector/front-end/MetricsSidebarPane.js:
      (WebInspector.MetricsSidebarPane):
      (WebInspector.MetricsSidebarPane.prototype._attributesUpdated):
      * inspector/front-end/StylesSidebarPane.js:
      (WebInspector.StylesSidebarPane):
      (WebInspector.StylesSidebarPane.prototype._attributesModified):
      (WebInspector.StylesSidebarPane.prototype._attributesRemoved):
      (WebInspector.StylesSidebarPane.prototype._styleInvalidated):
      (WebInspector.StylePropertyTreeElement.prototype.event):
      (WebInspector.StylePropertyTreeElement.prototype):
      * inspector/validate-protocol-compatibility:
      
      LayoutTests: Web Inspector: split DOM.attributesUpdated into attributeModified and attributeRemoved. Send attribute name and value within the event.
      https://bugs.webkit.org/show_bug.cgi?id=68613
      
      Reviewed by Yury Semikhatsky.
      
      * inspector/elements/mutate-unknown-node.html-disabled:
      * inspector/elements/set-attribute.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      60657a7c
    • hamaji@chromium.org's avatar
      [Chromium] Layout Test fast/canvas/canvas-composite-transformclip.html is failing · 6e753ff0
      hamaji@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68895
      
      Unreviewed test_expectations.txt update.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e753ff0
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r96070 and r96075. · f134effc
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/96070
      http://trac.webkit.org/changeset/96075
      https://bugs.webkit.org/show_bug.cgi?id=68893
      
      WK2 tests started crashing after r96070 for SL and Qt
      (Requested by torarne on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-27
      
      Source/WebCore:
      
      * page/FrameView.cpp:
      (WebCore::FrameView::updateScrollCorner):
      * platform/ScrollView.cpp:
      (WebCore::ScrollView::setHasHorizontalScrollbar):
      (WebCore::ScrollView::setHasVerticalScrollbar):
      (WebCore::ScrollView::updateScrollbars):
      * platform/ScrollableArea.cpp:
      (WebCore::ScrollableArea::invalidateScrollCorner):
      * platform/ScrollableArea.h:
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::destroyRootLayer):
      * rendering/RenderScrollbarPart.cpp:
      (WebCore::RenderScrollbarPart::imageChanged):
      
      LayoutTests:
      
      * compositing/iframes/repaint-after-losing-scrollbars-expected.png:
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96102 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f134effc
    • hamaji@chromium.org's avatar
      [Chromium] Layout Test fast/canvas/webgl/premultiplyalpha-test.html is failing · 1e662f2e
      hamaji@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68885
      
      Unreviewed typo fix.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e662f2e
    • podivilov@chromium.org's avatar
      Web Inspector: migrate RawSourceCode clients to SourceMapping class. · 71473fac
      podivilov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68524
      
      Source/WebCore:
      
      Clients should use uiSourceCode(), rawLocationToUILocation(), uiLocationToRawLocation() methods of SourceMapping class.
      Initially, RawSourceCode may not have associated SourceMapping, so it is natural to extract this methods and associated state to a separate class.
      
      Reviewed by Yury Semikhatsky.
      
      * inspector/front-end/BreakpointManager.js:
      (WebInspector.BreakpointManager.prototype._materializeBreakpoint):
      (WebInspector.BreakpointManager.prototype._breakpointDebuggerLocationChanged):
      * inspector/front-end/DebuggerPresentationModel.js:
      (WebInspector.DebuggerPresentationModel.prototype.linkifyLocation.updateAnchor):
      (WebInspector.DebuggerPresentationModel.prototype.linkifyLocation):
      (WebInspector.DebuggerPresentationModel.prototype._addScript):
      (WebInspector.DebuggerPresentationModel.prototype._updateSourceMapping):
      (WebInspector.DebuggerPresentationModel.prototype._restoreBreakpoints):
      (WebInspector.DebuggerPresentationModel.prototype._restoreConsoleMessages):
      (WebInspector.DebuggerPresentationModel.prototype._consoleMessageAdded):
      (WebInspector.DebuggerPresentationModel.prototype._createPresentationMessage):
      (WebInspector.DebuggerPresentationModel.prototype.continueToLine):
      (WebInspector.PresentationCallFrame.prototype.get url):
      (WebInspector.PresentationCallFrame.prototype.sourceLine.sourceMappingUpdated):
      (WebInspector.PresentationCallFrame.prototype.sourceLine):
      (WebInspector.DebuggerPresentationModelResourceBinding.prototype.canSetContent):
      (WebInspector.DebuggerPresentationModelResourceBinding.prototype.setContent):
      * inspector/front-end/SourceFile.js:
      (WebInspector.RawSourceCode.prototype.get sourceMapping):
      
      LayoutTests:
      
      Reviewed by Yury Semikhatsky.
      
      * inspector/debugger/breakpoint-manager.html:
      * inspector/debugger/raw-source-code.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71473fac
    • commit-queue@webkit.org's avatar
      wrap attribute of textarea element cannot be accessed by JavaScript. · 401b2b0d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68592
      
      Patch by Vineet Chaudhary <vineet.chaudhary@motorola.com> on 2011-09-27
      Reviewed by Kent Tamura.
      
      Source/WebCore:
      
      Added JS interface for wrap attribute to HTMLTextAreaElement.idl.
      
      Test: fast/forms/textarea-wrap-attribute.html
      
      * html/HTMLTextAreaElement.idl:
      
      LayoutTests:
      
      Added test cases to check accessibility to wrap attribute by JS.
      
      * fast/forms/textarea-wrap-attribute-expected.txt: Added.
      * fast/forms/textarea-wrap-attribute.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96096 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      401b2b0d
    • hamaji@chromium.org's avatar
      [Chromium] Layout Test fast... · def7179e
      hamaji@chromium.org authored
      [Chromium] Layout Test fast compositing/geometry/limit-layer-bounds-transformed-overflow.html is failing
      https://bugs.webkit.org/show_bug.cgi?id=68886
      
      Unreviewed test_expectations.txt update.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      def7179e
    • hamaji@chromium.org's avatar
      [Chromium] Layout Test fast/canvas/webgl/premultiplyalpha-test.html is failing · 9a3719ad
      hamaji@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68885
      
      Unreviewed test_expectations.txt update.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96090 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9a3719ad
    • hamaji@chromium.org's avatar
      Layout Test platform/chromium/compositing/zoom-animator-scale-test.html is failing · f790b40a
      hamaji@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68852
      
      Unreviewed test_expectations.txt update. We may need GPU-CG, too.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f790b40a
    • hamaji@chromium.org's avatar
      [Crhomium] Layout Test compositing/video-page-visibility.html is failing on GPU linux · 6b152a8c
      hamaji@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68882
      
      Unreviewed test_expectations.txt update.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6b152a8c
    • hamaji@chromium.org's avatar
      [Crhomium] Layout Test svg/text/selection-(background-color|styles).xhtml is failing · 3054915b
      hamaji@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68881
      
      Unreviewed test_expectations.txt update.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96086 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3054915b
    • philn@webkit.org's avatar
      Unreviewed, GTK gardening · 9f6784cd
      philn@webkit.org authored
      * platform/gtk/Skipped: Skip svg/filters/animate-fill.svg failing
      in 32-Bits Release.
      * platform/gtk/test_expectations.txt: Mark
      media/video-timeupdate-reverse-play.html as flaky because of bug 67407.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f6784cd
    • hamaji@chromium.org's avatar
      [Chromium] Layout Test canvas/philip/tests/toDataURL.jpeg.*.html is failing on Mac 10.5 CG · c700c7c8
      hamaji@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68879
      
      Unreviewed test_expectations.txt update.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c700c7c8
    • commit-queue@webkit.org's avatar
      Audio element doesn't emit the 'playing' event every time it starts playing,... · 7138cf07
      commit-queue@webkit.org authored
      Audio element doesn't emit the 'playing' event every time it starts playing, after it has finished playing.
      https://bugs.webkit.org/show_bug.cgi?id=60972
      
      Patch by Arun Patole <bmf834@motorola.com> on 2011-09-27
      Reviewed by Philippe Normand.
      
      Source/WebCore:
      
      The paused attribute should be set to true and the media element should emit a 'paused' at the end of playback.
      WHATWG revision r6562: http://html5.org/tools/web-apps-tracker?from=6561&to=6562
      
      Test: media/media-element-play-after-eos.html
      
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::mediaPlayerTimeChanged): set m_paused to true and schedule 'pause' event when playback ended.
      
      LayoutTests:
      
      Update media tests as the 'pause' event should be fired
      and 'paused' should be set to true at the end of playback.
      
      * media/event-attributes-expected.txt:
      * media/event-attributes.html:
      * media/media-element-play-after-eos-expected.txt: Added.
      * media/media-element-play-after-eos.html: Added.
      * media/video-loop-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7138cf07
    • philn@webkit.org's avatar
      Unreviewed, GTK gardening. · 72c83ae7
      philn@webkit.org authored
      * platform/gtk/Skipped:
      Skip outdated canvas/philip/tests/2d.drawImage.outsidesource.html.
      * platform/gtk/test_expectations.txt:
      media/video-playing-and-pause.html is flaky.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72c83ae7
    • philn@webkit.org's avatar
      Unreviewed, GTK rebaseline after r95845, r95897 and r95857. · 3b9082b9
      philn@webkit.org authored
      * platform/gtk/fast/frames/flattening/frameset-flattening-advanced-expected.txt:
      * platform/gtk/fast/frames/flattening/frameset-flattening-subframesets-expected.txt:
      * platform/gtk/fast/ruby/ruby-text-before-after-content-expected.txt: Added.
      * platform/gtk/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
      * platform/gtk/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b9082b9
    • commit-queue@webkit.org's avatar
      <input> with autofocus doesn't lose focus when it has a certain onblur listener · d69bc2cf
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68513
      
      Patch by Rakesh KN <rakesh.kn@motorola.com> on 2011-09-27
      Reviewed by Kent Tamura.
      
      Source/WebCore:
      
      Test: fast/forms/autofocus-focus-only-once.html
      
      These changes make sure that an element is focused only once when autofocus attribute is used.
      
      * html/HTMLFormControlElement.cpp:
      (WebCore::HTMLFormControlElement::HTMLFormControlElement):
      (WebCore::shouldAutofocus):
      (WebCore::HTMLFormControlElement::attach):
      * html/HTMLFormControlElement.h:
      (WebCore::HTMLFormControlElement::hasAutofocused):
      (WebCore::HTMLFormControlElement::setAutofocused):
      
      LayoutTests:
      
      These changes make sure that an element is focused only once when autofocus attribute is used.
      
      * fast/forms/autofocus-focus-only-once-expected.txt: Added.
      * fast/forms/autofocus-focus-only-once.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d69bc2cf
    • reni@webkit.org's avatar
      [Qt] Add missing test expecteds after r95924. · c2ca481a
      reni@webkit.org authored
      Unreviewed gardening.
      
      * platform/qt/fast/ruby/ruby-base-merge-block-children-crash-expected.png: Added.
      * platform/qt/fast/ruby/ruby-base-merge-block-children-crash-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96077 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c2ca481a
    • rniwa@webkit.org's avatar
      dump-as-markup conversion: editing/deleting/delete-to-end-of-paragraph.html · 5e11a4d7
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68865
      
      Reviewed by Kent Tamura.
      
      Converted the test.
      
      * editing/deleting/delete-to-end-of-paragraph-expected.txt: Added.
      * editing/deleting/delete-to-end-of-paragraph.html:
      * platform/chromium-linux/editing/deleting/delete-to-end-of-paragraph-expected.png: Removed.
      * platform/chromium-win/editing/deleting/delete-to-end-of-paragraph-expected.png: Removed.
      * platform/chromium-win/editing/deleting/delete-to-end-of-paragraph-expected.txt: Removed.
      * platform/gtk/editing/deleting/delete-to-end-of-paragraph-expected.txt: Removed.
      * platform/mac-leopard/editing/deleting/delete-to-end-of-paragraph-expected.png: Removed.
      * platform/mac/editing/deleting/delete-to-end-of-paragraph-expected.png: Removed.
      * platform/mac/editing/deleting/delete-to-end-of-paragraph-expected.txt: Removed.
      * platform/qt/editing/deleting/delete-to-end-of-paragraph-expected.png: Removed.
      * platform/qt/editing/deleting/delete-to-end-of-paragraph-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96076 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5e11a4d7
    • reni@webkit.org's avatar
      [Qt] Skip two tests because they are failing after r96070. · 61948cd1
      reni@webkit.org authored
      Unreviewed gardening.
      
      * platform/qt/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      61948cd1
    • commit-queue@webkit.org's avatar
      Implement PopStateEvent.state with SerializedScriptValue and ScriptValue · f737e08e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68345
      
      Patch by Kentaro Hara <haraken@chromium.org> on 2011-09-26
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Previously, the following test cases fail or crash:
      
      - shouldBe("new PopStateEvent('eventType', { state: object1 }).state", "object1") -> FAIL
      - new PopStateEvent('eventType', { state: document }).state -> CRASH in DRT
      
      This is because PopStateEvent.state is implemented not as ScriptValue but as SerializedScriptValue.
      However, we cannot simply change the type of PopStateEvent.state to ScriptValue,
      since PopStateEvent can be constructed in the context that does not know ScriptValue.
      For example, Document.cpp calls PopStateEvent::create() with SerializedScriptValue
      popped from HistoryItem, but we cannot deserialize the SerializedScriptValue into
      the corresponding ScriptValue here because the deserialization requires ExecState.
      In other words, although we want to store PopStateEvent.state by ScriptValue internally,
      PopStateEvent still needs to provide an API to construct it with SerializedScriptValue.
      With these observations, this patch makes the following changes:
      
      - If PopStateEvent is constructed with ScriptValue, it is stored as ScriptValue internally.
      When PopStateEvent.state is called, the ScriptValue is returned.
      - If PopStateEvent is constructed with SerializedScriptValue, it is stored as
      SerializedScriptValue internally (since we cannot deserialize it into ScriptValue
      at this point). When PopStateEvent.state is called, the SerializedScriptValue is
      deserialized into the corresponding ScriptValue, and the ScriptValue is returned.
      
      Tests: fast/events/constructors/pop-state-event-constructor.html
             fast/events/fire-popstate-event.html
      
      * GNUmakefile.list.am: Added JSPopStateEventCustom.cpp.
      * UseJSC.cmake: Ditto.
      * WebCore.gypi: Ditto.
      * WebCore.pro: Ditto.
      * WebCore.xcodeproj/project.pbxproj: Ditto.
      * bindings/js/JSBindingsAllInOne.cpp: Ditto.
      * bindings/js/JSPopStateEventCustom.cpp:
      (WebCore::JSPopStateEvent::state): Custom getter for PopStateEvent.state.
      * bindings/v8/custom/V8PopStateEventCustom.cpp:
      (WebCore::V8PopStateEvent::stateAccessorGetter): Custom getter for PopStateEvent.state.
      * dom/PopStateEvent.cpp:
      (WebCore::PopStateEventInit::PopStateEventInit): Added initialization code for PopStateEvent.m_state.
      (WebCore::PopStateEvent::PopStateEvent): Ditto.
      (WebCore::PopStateEvent::create): Ditto.
      (WebCore::PopStateEvent::initPopStateEvent): Ditto.
      * dom/PopStateEvent.h:
      (WebCore::PopStateEvent::serializedState): Getter.
      (WebCore::PopStateEvent::state): Getter.
      * dom/PopStateEvent.idl: Change the type of 'stateArg' and 'state' to DOMObject. Added [CustomGetter] to 'state'.
      
      LayoutTests:
      
      * fast/events/constructors/pop-state-event-constructor-expected.txt:
      * fast/events/constructors/pop-state-event-constructor.html: Removed failures and crashes. Added one test case.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96073 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f737e08e
  2. 26 Sep, 2011 4 commits