WebKit.git
9 years ago<rdar://problem/9835028> Font loading during layout can cause layout code to be re...
mitz@apple.com [Mon, 25 Jul 2011 20:00:49 +0000 (20:00 +0000)]
<rdar://problem/9835028> Font loading during layout can cause layout code to be re-entered via resource load delegate
https://bugs.webkit.org/show_bug.cgi?id=65123

Reviewed by Anders Carlsson.

Since CSSFontFaceSource::getFontData() can get called during layout, avoid calling out to loader
code from under it, and instead defer that work using a zero-delay timer.

* css/CSSFontFaceSource.cpp:
(WebCore::CSSFontFaceSource::CSSFontFaceSource):
(WebCore::CSSFontFaceSource::~CSSFontFaceSource):
(WebCore::CSSFontFaceSource::getFontData): Rather than starting the font load here, schedule
a zero-delay timer to do it.
(WebCore::CSSFontFaceSource::startLoadingTimerFired): Added. Starts loading the font if needed.
* css/CSSFontFaceSource.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91699 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-07-25 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Mon, 25 Jul 2011 19:55:13 +0000 (19:55 +0000)]
2011-07-25  Daniel Bates  <dbates@rim.com>

        Rename expected results file after changeset <http://trac.webkit.org/changeset/91689>.

        * fast/block/positioning/relayout-nested-positioned-elements-crash-expected.txt: Copied from LayoutTests/fast/block/positioning/relayout-nested-positioned-elements-expected-crash.txt.
        * fast/block/positioning/relayout-nested-positioned-elements-expected-crash.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91698 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUpdate baselines for GTK+ after several revisions.
mrobinson@webkit.org [Mon, 25 Jul 2011 19:50:14 +0000 (19:50 +0000)]
Update baselines for GTK+ after several revisions.

* platform/gtk/fast/dom/Window/window-postmessage-clone-expected.txt: Added.
* platform/gtk/fast/dom/Window/window-properties-expected.txt:
* platform/gtk/fast/events/offsetX-offsetY-expected.txt:
* platform/gtk/fast/forms/input-appearance-range-expected.txt:
* platform/gtk/fast/multicol/client-rects-expected.txt:
* platform/gtk/fast/multicol/float-avoidance-expected.png:
* platform/gtk/fast/multicol/float-avoidance-expected.txt:
* platform/gtk/fast/multicol/float-multicol-expected.txt:
* platform/gtk/fast/multicol/scrolling-overflow-expected.png:
* platform/gtk/fast/multicol/scrolling-overflow-expected.txt:
* platform/gtk/fast/multicol/single-line-expected.txt:
* platform/gtk/fast/multicol/span/anonymous-before-child-parent-crash-expected.png:
* platform/gtk/fast/multicol/span/anonymous-before-child-parent-crash-expected.txt:
* platform/gtk/fast/multicol/span/anonymous-split-block-crash-expected.png:
* platform/gtk/fast/multicol/span/anonymous-split-block-crash-expected.txt:
* platform/gtk/fast/multicol/span/anonymous-style-inheritance-expected.txt:
* platform/gtk/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.png:
* platform/gtk/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.txt:
* platform/gtk/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.txt:
* platform/gtk/fast/multicol/span/span-as-immediate-child-generated-content-expected.txt:
* platform/gtk/fast/multicol/span/span-as-immediate-child-property-removal-expected.txt:
* platform/gtk/fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.txt:
* platform/gtk/fast/multicol/span/span-as-immediate-columns-child-expected.txt:
* platform/gtk/fast/multicol/span/span-as-immediate-columns-child-removal-expected.txt:
* platform/gtk/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.txt:
* platform/gtk/fast/multicol/span/span-as-nested-columns-child-expected.txt:
* platform/gtk/fast/multicol/span/span-margin-collapsing-expected.txt:
* platform/gtk/fast/multicol/vertical-lr/float-avoidance-expected.png:
* platform/gtk/fast/multicol/vertical-lr/float-avoidance-expected.txt:
* platform/gtk/fast/multicol/vertical-lr/float-multicol-expected.txt:
* platform/gtk/fast/multicol/vertical-rl/float-avoidance-expected.png:
* platform/gtk/fast/multicol/vertical-rl/float-avoidance-expected.txt:
* platform/gtk/fast/multicol/vertical-rl/float-multicol-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1-SE/color-prop-05-t-expected.png:
* platform/gtk/svg/W3C-SVG-1.1-SE/color-prop-05-t-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1-SE/painting-marker-07-f-expected.png:
* platform/gtk/svg/W3C-SVG-1.1-SE/painting-marker-07-f-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1-SE/struct-use-14-f-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1-SE/styling-css-04-f-expected.png:
* platform/gtk/svg/W3C-SVG-1.1-SE/styling-css-04-f-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.png:
* platform/gtk/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1-SE/text-intro-02-b-expected.png:
* platform/gtk/svg/W3C-SVG-1.1-SE/text-intro-02-b-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.png:
* platform/gtk/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1-SE/text-intro-09-b-expected.png:
* platform/gtk/svg/W3C-SVG-1.1-SE/text-intro-09-b-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.png:
* platform/gtk/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt:
* platform/gtk/svg/custom/zero-path-square-cap-rendering-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91697 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt] Adopt GraphicsContext3DOpenGL.cpp and ANGLE (part 2)
commit-queue@webkit.org [Mon, 25 Jul 2011 19:20:46 +0000 (19:20 +0000)]
[Qt] Adopt GraphicsContext3DOpenGL.cpp and ANGLE (part 2)
https://bugs.webkit.org/show_bug.cgi?id=64878

Patch by Andrew Wason <rectalogic@rectalogic.com> on 2011-07-25
Reviewed by Noam Rosenthal.

Existing WebGL layout tests should test this.

Adopt GraphicsContext3DOpenGL.cpp and ANGLE compiler for Qt.

* WebCore.pro: Build ANGLE compiler and GraphicsContext3DOpenGL.cpp.
* platform/graphics/ANGLEWebKitBridge.h:
* platform/graphics/GraphicsContext3D.h: Expose exising ANGLEWebKitBridge compiler member for Qt.
* platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
* platform/graphics/qt/GraphicsContext3DQt.cpp:
(WebCore::GraphicsContext3D::GraphicsContext3D): Initialize ANGLE resources.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91694 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[chromium] More ICU roll test failures from the slow windows bot
enne@google.com [Mon, 25 Jul 2011 19:08:58 +0000 (19:08 +0000)]
[chromium] More ICU roll test failures from the slow windows bot
https://bugs.webkit.org/show_bug.cgi?id=65124

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91693 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[chromium] japanese-rl-selection-repaint also broken by ICU roll
enne@google.com [Mon, 25 Jul 2011 18:57:07 +0000 (18:57 +0000)]
[chromium] japanese-rl-selection-repaint also broken by ICU roll
https://bugs.webkit.org/show_bug.cgi?id=65124

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91690 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoREGRESSION (r85964): Improper relayout of some nested positioned elements
dbates@webkit.org [Mon, 25 Jul 2011 18:55:58 +0000 (18:55 +0000)]
REGRESSION (r85964): Improper relayout of some nested positioned elements
https://bugs.webkit.org/show_bug.cgi?id=64286

Reviewed by David Hyatt.

Source/WebCore:

Fixes an issue when traversing up the containing block hierarchy after skipping
relatively positioned inlines.

When processing a positioned element we skip any intermediate inlines to get to
to enclosing block B, but don't use the containing block for B (call this P_B) to
properly continue traversing up the containing block hierarchy. So, B may be
considered again instead of looking at P_B. Hence, we don't set the correct dirty
bits for P_B and may not schedule a relayout with respect to the correct layout node.

Test: fast/block/positioning/relayout-nested-positioned-elements-crash.html

* rendering/RenderObject.h:
(WebCore::RenderObject::markContainingBlocksForLayout):

LayoutTests:

Add test case to ensure we don't regress relayout of nested positioned elements.

* fast/block/positioning/relayout-nested-positioned-elements-expected-crash.txt: Added.
* fast/block/positioning/relayout-nested-positioned-elements-crash.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91689 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[chromium] japanese-rl-selection-clear broken by ICU roll
enne@google.com [Mon, 25 Jul 2011 18:43:21 +0000 (18:43 +0000)]
[chromium] japanese-rl-selection-clear broken by ICU roll
https://bugs.webkit.org/show_bug.cgi?id=65124

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91687 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoJSON errors should be informative
commit-queue@webkit.org [Mon, 25 Jul 2011 18:41:40 +0000 (18:41 +0000)]
JSON errors should be informative
https://bugs.webkit.org/show_bug.cgi?id=63339

Source/JavaScriptCore:

Added error messages to the JSON Parser.

Patch by Juan C. Montemayor <jmont@apple.com> on 2011-07-25
Reviewed by Oliver Hunt.

* runtime/JSONObject.cpp:
(JSC::JSONProtoFuncParse):
* runtime/LiteralParser.cpp:
(JSC::LiteralParser::Lexer::lex):
(JSC::LiteralParser::Lexer::lexString):
(JSC::LiteralParser::Lexer::lexNumber):
(JSC::LiteralParser::parse):
* runtime/LiteralParser.h:
(JSC::LiteralParser::getErrorMessage):
(JSC::LiteralParser::Lexer::sawError):
(JSC::LiteralParser::Lexer::getErrorMessage):

LayoutTests:

Updated expected test results.

Patch by Juan C. Montemayor <jmont@apple.com> on 2011-07-25
Reviewed by Oliver Hunt.

* fast/js/JSON-parse-expected.txt:
* platform/chromium/fast/js/JSON-parse-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91686 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[chromium] Mark media/remove-from-document as another flaky crasher.
enne@google.com [Mon, 25 Jul 2011 18:21:08 +0000 (18:21 +0000)]
[chromium] Mark media/remove-from-document as another flaky crasher.

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91683 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[chromium] More WebGL flaky crashers on Linux.
enne@google.com [Mon, 25 Jul 2011 18:11:03 +0000 (18:11 +0000)]
[chromium] More WebGL flaky crashers on Linux.

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91682 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoremoves last ENABLE(DRAG_SUPPORT) gtk check
commit-queue@webkit.org [Mon, 25 Jul 2011 18:08:37 +0000 (18:08 +0000)]
removes last ENABLE(DRAG_SUPPORT) gtk check
https://bugs.webkit.org/show_bug.cgi?id=64518

Patch by Arno Renevier <arno@renevier.net> on 2011-07-25
Reviewed by Martin Robinson.

* platform/gtk/ClipboardGtk.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91681 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[chromium] Mark some media tests as being crashers on Linux.
enne@google.com [Mon, 25 Jul 2011 18:03:32 +0000 (18:03 +0000)]
[chromium] Mark some media tests as being crashers on Linux.

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91680 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[CSS Exclusions] Use HANDLE_INHERIT_AND_INITIAL when parsing -webkit-wrap-shape
commit-queue@webkit.org [Mon, 25 Jul 2011 18:02:01 +0000 (18:02 +0000)]
[CSS Exclusions] Use HANDLE_INHERIT_AND_INITIAL when parsing -webkit-wrap-shape
https://bugs.webkit.org/show_bug.cgi?id=65096

Source/WebCore:

Also the 'inherit' keyword is now treated correctly. It will
copy the value from the parent style.

Patch by Alexandru Chiculita <achicu@adobe.com> on 2011-07-25
Reviewed by Tony Chang.

* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):

LayoutTests:

Fixed 'inherit' test to copy the value from the parent. Also, added new tests
for 'inerhit' with no value in the parent.

Patch by Alexandru Chiculita <achicu@adobe.com> on 2011-07-25
Reviewed by Tony Chang.

* fast/exclusions/parsing-wrap-shape-expected.txt:
* fast/exclusions/script-tests/parsing-wrap-shape.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91679 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoX86-64 assembler emits three instructions instead of two for certain
commit-queue@webkit.org [Mon, 25 Jul 2011 17:59:08 +0000 (17:59 +0000)]
X86-64 assembler emits three instructions instead of two for certain
loads and stores.
https://bugs.webkit.org/show_bug.cgi?id=65095

Patch by Filip Pizlo <fpizlo@apple.com> on 2011-07-25
Reviewed by Gavin Barraclough.

Simply made these four methods in the assembler use the scratch register,
which they were previously avoiding.  It still optimizes for the case where
an absolute address memory accesses is using EAX.  This results in a slight
performance improvement.

* assembler/MacroAssemblerX86_64.h:
(JSC::MacroAssemblerX86_64::load32):
(JSC::MacroAssemblerX86_64::store32):
(JSC::MacroAssemblerX86_64::loadPtr):
(JSC::MacroAssemblerX86_64::storePtr):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91678 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoOverhaul garden-o-matic frontend to integrate revision history and failures
abarth@webkit.org [Mon, 25 Jul 2011 17:51:07 +0000 (17:51 +0000)]
Overhaul garden-o-matic frontend to integrate revision history and failures
https://bugs.webkit.org/show_bug.cgi?id=65089

Reviewed by Dimitri Glazkov.

This is a major overhaul of the garden-o-matic frontend.  The new UI
integrates the revision history information with failures.  Failures
appear in context adjacent to the revisions that caused them (which are
highlighted).  Each buildbot receives a collumn to the left, which
indicates which revisions that bot has tested and whether that bot
showed the indicated failures.

Failures are selectable with checkboxes, and can then either be
examined or rebaselined.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.css:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/results_unittests.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui_unittests.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91677 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agodisable tests pending rebaseline with rotated text fix
commit-queue@webkit.org [Mon, 25 Jul 2011 17:47:31 +0000 (17:47 +0000)]
disable tests pending rebaseline with rotated text fix
https://bugs.webkit.org/show_bug.cgi?id=65114

Patch by Mike Reed <reed@google.com> on 2011-07-25
Reviewed by Stephen White.

* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91676 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[chromium] Mark gl-enum-enable-test as a flaky crasher.
enne@google.com [Mon, 25 Jul 2011 17:45:36 +0000 (17:45 +0000)]
[chromium] Mark gl-enum-enable-test as a flaky crasher.

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91675 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoglActiveTexture(0) is invalid
commit-queue@webkit.org [Mon, 25 Jul 2011 17:39:18 +0000 (17:39 +0000)]
glActiveTexture(0) is invalid
https://bugs.webkit.org/show_bug.cgi?id=65115

Patch by Andrew Wason <rectalogic@rectalogic.com> on 2011-07-25
Reviewed by Kenneth Russell.

Existing WebGL layout tests.

Fix invalid glActiveTexture(0) call.

* platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
(WebCore::GraphicsContext3D::prepareTexture):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91674 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed, rolling out r91665.
pfeldman@chromium.org [Mon, 25 Jul 2011 17:06:02 +0000 (17:06 +0000)]
Unreviewed, rolling out r91665.
http://trac.webkit.org/changeset/91665
https://bugs.webkit.org/show_bug.cgi?id=65118

Breaks inspector tests on JSC (Requested by pfeldman on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-07-25

Source/WebCore:

* inspector/InjectedScriptSource.js:
(.):
():
* inspector/Inspector.json:
* inspector/front-end/ConsoleView.js:
(WebInspector.ConsoleView.prototype._format):
(WebInspector.ConsoleView.prototype._formatAsArrayEntry):
(WebInspector.ConsoleMessage.prototype._format):
* inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeElement.prototype._createTooltipForNode.setTooltip):
* inspector/front-end/ObjectPropertiesSection.js:
(WebInspector.ObjectPropertyTreeElement.prototype.update):
* inspector/front-end/PropertiesSidebarPane.js:
(WebInspector.PropertiesSidebarPane.prototype.update.nodePrototypesReady):
* inspector/front-end/RemoteObject.js:
(WebInspector.RemoteObject):
(WebInspector.RemoteObject.fromPrimitiveValue):
(WebInspector.RemoteObject.fromPayload):
(WebInspector.RemoteObject.prototype.callFunction):
(WebInspector.LocalJSONObject.prototype.get type):
* inspector/front-end/SourceFrame.js:
(WebInspector.SourceFrame.prototype._showPopup.showObjectPopup):
(WebInspector.SourceFrame.prototype._showPopup):
* inspector/front-end/inspector.js:
(WebInspector.log.logMessage):
(WebInspector.log):
(WebInspector.inspect):

LayoutTests:

* inspector/protocol/console-agent-expected.txt:
* inspector/protocol/runtime-agent-expected.txt:
* inspector/runtime/runtime-callFunctionOn.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91673 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed, rolling out r91668.
pfeldman@chromium.org [Mon, 25 Jul 2011 17:00:04 +0000 (17:00 +0000)]
Unreviewed, rolling out r91668.
http://trac.webkit.org/changeset/91668
https://bugs.webkit.org/show_bug.cgi?id=65117

Breaks inspector tests on JSC (Requested by pfeldman on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-07-25

Source/WebCore:

* inspector/InjectedScript.cpp:
(WebCore::InjectedScript::callFunctionOn):
* inspector/InjectedScript.h:
* inspector/InjectedScriptSource.js:
(.):
* inspector/Inspector.json:
* inspector/InspectorRuntimeAgent.cpp:
(WebCore::InspectorRuntimeAgent::callFunctionOn):

LayoutTests:

* inspector/runtime/runtime-callFunctionOn-expected.txt:
* inspector/runtime/runtime-callFunctionOn.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91672 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[buildbot] Add Qt Linux MIPSEL Configuration
zecke@webkit.org [Mon, 25 Jul 2011 16:40:29 +0000 (16:40 +0000)]
[buildbot] Add Qt Linux MIPSEL Configuration
https://bugs.webkit.org/show_bug.cgi?id=65116

Reviewed by Adam Roben.

Introduce a Qt Linux MIPS EL build slave. The configuration
is a build only configuration.

* BuildSlaveSupport/build.webkit.org-config/config.json: Add MIPS buildbot.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91671 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-07-25 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Mon, 25 Jul 2011 16:21:45 +0000 (16:21 +0000)]
2011-07-25  Pavel Podivilov  <podivilov@chromium.org>

        Web Inspector: unreviewed, fix pause-in-internal-script expectations.
        https://bugs.webkit.org/show_bug.cgi?id=65078

        * inspector/debugger/pause-in-internal-script-expected.txt:
        * platform/chromium/inspector/debugger/pause-in-internal-script-expected.txt: Copied from LayoutTests/inspector/debugger/pause-in-internal-script-expected.txt.
        * platform/qt/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91670 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt] Add more tests to cover the behavior of loadFinished() signal
caio.oliveira@openbossa.org [Mon, 25 Jul 2011 15:51:16 +0000 (15:51 +0000)]
[Qt] Add more tests to cover the behavior of loadFinished() signal
https://bugs.webkit.org/show_bug.cgi?id=63490

Reviewed by Benjamin Poulain.

* tests/qwebframe/tst_qwebframe.cpp:
(FakeReply::FakeReply):
(FakeNetworkManager::createRequest): Add a fake reply that gives 404 error code.

(tst_QWebFrame::loadFinishedAfterNotFoundError): Verify that we get loadFinished(false)
after a 404 error without contents.

* tests/qwebpage/tst_qwebpage.cpp:
(tst_QWebPage::errorPageExtensionLoadFinished): Verify if the argument of loadFinished()
is true when we use error page extension to produce our own error pages.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91669 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWeb Inspector: use dedicated type for object id in the protocol.
pfeldman@chromium.org [Mon, 25 Jul 2011 15:10:43 +0000 (15:10 +0000)]
Web Inspector: use dedicated type for object id in the protocol.
https://bugs.webkit.org/show_bug.cgi?id=65110

Reviewed by Yury Semikhatsky.

Source/WebCore:

* inspector/InjectedScript.cpp:
(WebCore::InjectedScript::callFunctionOn):
* inspector/InjectedScript.h:
* inspector/InjectedScriptSource.js:
(.):
* inspector/Inspector.json:
* inspector/InspectorRuntimeAgent.cpp:
(WebCore::InspectorRuntimeAgent::callFunctionOn):

LayoutTests:

* inspector/runtime/runtime-callFunctionOn-expected.txt:
* inspector/runtime/runtime-callFunctionOn.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91668 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt][WK2] Add multi-point touch mocking to MiniBrowser
vestbo@webkit.org [Mon, 25 Jul 2011 14:48:10 +0000 (14:48 +0000)]
[Qt][WK2] Add multi-point touch mocking to MiniBrowser

https://bugs.webkit.org/show_bug.cgi?id=64374

Reviewed by Benjamin Poulain.

Each mouse button generate a touch point. The touch point stay
virtually on screen if the mouse release happened while the Ctrl
modifier was pressed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91667 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Chromium] Web Inspector: live edit error should be revealed in Console
yurys@chromium.org [Mon, 25 Jul 2011 14:42:45 +0000 (14:42 +0000)]
[Chromium] Web Inspector: live edit error should be revealed in Console
https://bugs.webkit.org/show_bug.cgi?id=65109

Reviewed by Pavel Feldman.

* inspector/front-end/SourceFrame.js:
(WebInspector.SourceFrame.prototype.commitEditing.didEditContent):
(WebInspector.SourceFrame.prototype.commitEditing):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91666 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWeb Inspector: refactor remote object structure to contain value for primitive values.
pfeldman@chromium.org [Mon, 25 Jul 2011 14:24:55 +0000 (14:24 +0000)]
Web Inspector: refactor remote object structure to contain value for primitive values.
https://bugs.webkit.org/show_bug.cgi?id=65103

Reviewed by Yury Semikhatsky.

Source/WebCore:

* inspector/InjectedScriptSource.js:
* inspector/Inspector.json:
* inspector/front-end/ConsoleView.js:
(WebInspector.ConsoleView.prototype._format):
(WebInspector.ConsoleView.prototype._formatAsArrayEntry):
(WebInspector.ConsoleMessage.prototype._format):
* inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeElement.prototype._createTooltipForNode.setTooltip):
* inspector/front-end/ObjectPropertiesSection.js:
(WebInspector.ObjectPropertyTreeElement.prototype.update):
* inspector/front-end/PropertiesSidebarPane.js:
(WebInspector.PropertiesSidebarPane.prototype.update.nodePrototypesReady):
* inspector/front-end/RemoteObject.js:
(WebInspector.RemoteObject):
(WebInspector.RemoteObject.fromPrimitiveValue):
(WebInspector.RemoteObject.fromPayload):
(WebInspector.RemoteObject.prototype.get subtype):
(WebInspector.RemoteObject.prototype.callFunction):
(WebInspector.LocalJSONObject.prototype.get type):
(WebInspector.LocalJSONObject.prototype.get subtype):
* inspector/front-end/SourceFrame.js:
(WebInspector.SourceFrame.prototype._showPopup.showObjectPopup):
(WebInspector.SourceFrame.prototype._showPopup):
* inspector/front-end/inspector.js:
(WebInspector.log.logMessage):
(WebInspector.log):
(WebInspector.inspect):

LayoutTests:

* inspector/protocol/console-agent-expected.txt:
* inspector/protocol/runtime-agent-expected.txt:
* inspector/runtime/runtime-callFunctionOn.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91665 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt][WK2] Use NRWT for Qt-WK2
kbalazs@webkit.org [Mon, 25 Jul 2011 14:01:02 +0000 (14:01 +0000)]
[Qt][WK2] Use NRWT for Qt-WK2
https://bugs.webkit.org/show_bug.cgi?id=65097

Reviewed by Andreas Kling.

* Scripts/run-webkit-tests:
(useNewRunWebKitTests):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91664 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWeb Inspector: [Chromium] Fix mixing of retaining path in heap profiler.
mnaganov@chromium.org [Mon, 25 Jul 2011 12:52:37 +0000 (12:52 +0000)]
Web Inspector: [Chromium] Fix mixing of retaining path in heap profiler.
https://bugs.webkit.org/show_bug.cgi?id=65028

Reviewed by Pavel Feldman.

* inspector/front-end/DetailedHeapshotView.js:
(WebInspector.HeapSnapshotPathFinderState): Added
(WebInspector.HeapSnapshotRetainingPathsList): Extracted State-specific code

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91663 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt] Lot of RenderTree mismatches in fast/multicol
ossy@webkit.org [Mon, 25 Jul 2011 12:47:21 +0000 (12:47 +0000)]
[Qt] Lot of RenderTree mismatches in fast/multicol
https://bugs.webkit.org/show_bug.cgi?id=65077

Unreviewed gardening. Add Qt specific expected results after r91474.

* platform/qt/Skipped:
* platform/qt/fast/multicol/client-rects-expected.txt:
* platform/qt/fast/multicol/float-avoidance-expected.png: Added.
* platform/qt/fast/multicol/float-avoidance-expected.txt:
* platform/qt/fast/multicol/float-multicol-expected.png: Added.
* platform/qt/fast/multicol/float-multicol-expected.txt:
* platform/qt/fast/multicol/scrolling-overflow-expected.png:
* platform/qt/fast/multicol/scrolling-overflow-expected.txt:
* platform/qt/fast/multicol/span/anonymous-before-child-parent-crash-expected.png:
* platform/qt/fast/multicol/span/anonymous-before-child-parent-crash-expected.txt:
* platform/qt/fast/multicol/span/anonymous-split-block-crash-expected.png:
* platform/qt/fast/multicol/span/anonymous-split-block-crash-expected.txt:
* platform/qt/fast/multicol/span/anonymous-style-inheritance-expected.png:
* platform/qt/fast/multicol/span/anonymous-style-inheritance-expected.txt:
* platform/qt/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.png:
* platform/qt/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.txt:
* platform/qt/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.png:
* platform/qt/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.txt:
* platform/qt/fast/multicol/span/span-as-immediate-child-generated-content-expected.png:
* platform/qt/fast/multicol/span/span-as-immediate-child-generated-content-expected.txt:
* platform/qt/fast/multicol/span/span-as-immediate-child-property-removal-expected.png:
* platform/qt/fast/multicol/span/span-as-immediate-child-property-removal-expected.txt:
* platform/qt/fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.png:
* platform/qt/fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.txt:
* platform/qt/fast/multicol/span/span-as-immediate-columns-child-expected.png:
* platform/qt/fast/multicol/span/span-as-immediate-columns-child-expected.txt:
* platform/qt/fast/multicol/span/span-as-immediate-columns-child-removal-expected.png:
* platform/qt/fast/multicol/span/span-as-immediate-columns-child-removal-expected.txt:
* platform/qt/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.png:
* platform/qt/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.txt:
* platform/qt/fast/multicol/span/span-as-nested-columns-child-expected.png:
* platform/qt/fast/multicol/span/span-as-nested-columns-child-expected.txt:
* platform/qt/fast/multicol/span/span-as-nested-inline-block-child-expected.png:
* platform/qt/fast/multicol/span/span-as-nested-inline-block-child-expected.txt:
* platform/qt/fast/multicol/span/span-margin-collapsing-expected.png:
* platform/qt/fast/multicol/span/span-margin-collapsing-expected.txt:
* platform/qt/fast/multicol/vertical-lr/float-avoidance-expected.png:
* platform/qt/fast/multicol/vertical-lr/float-avoidance-expected.txt:
* platform/qt/fast/multicol/vertical-lr/float-multicol-expected.png:
* platform/qt/fast/multicol/vertical-lr/float-multicol-expected.txt:
* platform/qt/fast/multicol/vertical-rl/float-avoidance-expected.png:
* platform/qt/fast/multicol/vertical-rl/float-avoidance-expected.txt:
* platform/qt/fast/multicol/vertical-rl/float-multicol-expected.png:
* platform/qt/fast/multicol/vertical-rl/float-multicol-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91662 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWeb Inspector: worker inspector should show Scripts panel by default
yurys@chromium.org [Mon, 25 Jul 2011 12:17:50 +0000 (12:17 +0000)]
Web Inspector: worker inspector should show Scripts panel by default
https://bugs.webkit.org/show_bug.cgi?id=65099

Reviewed by Pavel Feldman.

* inspector/front-end/inspector.js:
(WebInspector._defaultPanelName):
(WebInspector.showPanel):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91661 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[EFL] Implement EFL-specific current time and monotonicallyIncreasingTime.
ryuan.choi@samsung.com [Mon, 25 Jul 2011 07:18:49 +0000 (07:18 +0000)]
[EFL] Implement EFL-specific current time and monotonicallyIncreasingTime.
https://bugs.webkit.org/show_bug.cgi?id=64354

Use ecore_time_unix_get which returns unix time as double type for currentTime
and ecore_time_get which uses monotonic clock for monotonicallyIncreasingTime.

Reviewed by Kent Tamura.

* wtf/CurrentTime.cpp:
(WTF::currentTime):
(WTF::monotonicallyIncreasingTime):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91660 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[EFL] Move macro checking inside ewk_view_context_menu_forward_event
commit-queue@webkit.org [Mon, 25 Jul 2011 07:10:45 +0000 (07:10 +0000)]
[EFL] Move macro checking inside ewk_view_context_menu_forward_event
https://bugs.webkit.org/show_bug.cgi?id=64682

When CONTEXT_MENUS macro is disabled method ewk_view_context_menu_forward_event just
returns EINA_FALSE and it avoid undefined reference during building.

Patch by Grzegorz Czajkowski <g.czajkowski@samsung.com> on 2011-07-25
Reviewed by Kent Tamura.

* ewk/ewk_view.cpp:
(ewk_view_context_menu_forward_event):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91659 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[EFL] Method ewk_context_menu_destroy returns EINA_FALSE if CONTEXT_MENUS macro is...
commit-queue@webkit.org [Mon, 25 Jul 2011 07:09:36 +0000 (07:09 +0000)]
[EFL] Method ewk_context_menu_destroy returns EINA_FALSE if CONTEXT_MENUS macro is disabled
https://bugs.webkit.org/show_bug.cgi?id=64683

Fix returned value and omit NULL checking if CONTEXT_MENUS macro is disabled
in ewk_context_menu_destroy.

Patch by Grzegorz Czajkowski <g.czajkowski@samsung.com> on 2011-07-25
Reviewed by Kent Tamura.

* ewk/ewk_contextmenu.cpp:
(ewk_context_menu_destroy):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91658 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoSmall cleanup of m_fontDirty tracking in CSSStyleSelector
macpherson@chromium.org [Mon, 25 Jul 2011 05:10:33 +0000 (05:10 +0000)]
Small cleanup of m_fontDirty tracking in CSSStyleSelector
https://bugs.webkit.org/show_bug.cgi?id=65090

Reviewed by Darin Adler.

1) Use existing setFontDescription helper where appropriate.
2) Move always used m_fontDirty check into updateFont()

No new tests / cleanup only.

* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::styleForElement):
(WebCore::CSSStyleSelector::styleForKeyframe):
(WebCore::CSSStyleSelector::pseudoStyleForElement):
(WebCore::CSSStyleSelector::styleForPage):
(WebCore::CSSStyleSelector::updateFontIfDirty):
(WebCore::CSSStyleSelector::applyProperty):
* css/CSSStyleSelector.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91657 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Chromium] Leftover of r91633 (SVG test move)
tkent@chromium.org [Mon, 25 Jul 2011 04:42:35 +0000 (04:42 +0000)]
[Chromium] Leftover of r91633 (SVG test move)

* platform/chromium-linux/fast/borders/svg-as-border-image-expected.png: Removed.
* platform/chromium-linux/svg/as-border-image/svg-as-border-image-expected.png: Copied from LayoutTests/platform/chromium-linux/fast/borders/svg-as-border-image-expected.png.
* platform/chromium-win/fast/borders/svg-as-border-image-expected.png: Removed.
* platform/chromium-win/fast/borders/svg-as-border-image-expected.txt: Removed.
* platform/chromium-win/svg/as-border-image/svg-as-border-image-expected.png: Copied from LayoutTests/platform/chromium-win/fast/borders/svg-as-border-image-expected.png.
* platform/chromium-win/svg/as-border-image/svg-as-border-image-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/borders/svg-as-border-image-expected.txt.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91656 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Chromium] Update expectations for r91637.
tkent@chromium.org [Mon, 25 Jul 2011 04:38:46 +0000 (04:38 +0000)]
[Chromium] Update expectations for r91637.

* platform/chromium-linux/svg/custom/text-linking-expected.png:
* platform/chromium-linux/svg/custom/tref-own-content-removal-expected.png: Added.
* platform/chromium-linux/svg/dynamic-updates/SVGTRefElement-dom-href-attr-expected.png:
* platform/chromium-mac-leopard/svg/custom/text-linking-expected.png: Added.
* platform/chromium-mac-leopard/svg/dynamic-updates/SVGTRefElement-dom-href-attr-expected.png: Added.
* platform/chromium-mac/svg/custom/text-linking-expected.png: Added.
* platform/chromium-win/svg/custom/text-linking-expected.png:
* platform/chromium-win/svg/custom/text-linking-expected.txt:
* platform/chromium-win/svg/custom/tref-own-content-removal-expected.png: Added.
* platform/chromium-win/svg/custom/tref-own-content-removal-expected.txt: Added.
* platform/chromium-win/svg/dynamic-updates/SVGTRefElement-dom-href-attr-expected.png:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91655 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoValidation message bubble position is incorrect if the containing block has paddings.
tkent@chromium.org [Mon, 25 Jul 2011 03:36:52 +0000 (03:36 +0000)]
Validation message bubble position is incorrect if the containing block has paddings.
https://bugs.webkit.org/show_bug.cgi?id=65091

Reviewed by Hajime Morita.

Source/WebCore:

* html/ValidationMessage.cpp:
(WebCore::adjustBubblePosition):
We don't need to subtract paddings because the origin of
position:aboslute is inside borders and outside of the padding.

LayoutTests:

* fast/forms/validation-message-in-relative-body.html: Update the test to cover a padding case.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91654 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-07-24 Rob Buis <rbuis@rim.com>
rwlbuis@webkit.org [Mon, 25 Jul 2011 02:16:57 +0000 (02:16 +0000)]
2011-07-24  Rob Buis  <rbuis@rim.com>

        Crash in SVGUseElement::updateContainerOffsets on <use> with no parent
        https://bugs.webkit.org/show_bug.cgi?id=63646

        Reviewed by Darin Adler.

        Prevent using invalid targetElementInstance->shadowTreeElement after shadow render tree recreation. This situation can
        only occur when there was a valid shadowTreeElement before setting xlink:href to empty/invalid.

        Test: svg/custom/use-shadow-root-parent-removal.svg

        * svg/SVGUseElement.cpp:
        (WebCore::SVGUseElement::svgAttributeChanged):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91653 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoFix AtomicString vs. String usage in JSC binding
paroga@webkit.org [Mon, 25 Jul 2011 01:27:05 +0000 (01:27 +0000)]
Fix AtomicString vs. String usage in JSC binding
https://bugs.webkit.org/show_bug.cgi?id=65085

Reviewed by Darin Adler.

Use ustringToAtomicString instead of ustringToString where appropriate.

* bindings/js/JSHTMLAllCollectionCustom.cpp:
* bindings/js/JSHTMLCollectionCustom.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91652 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoImplement CSSPropertyOutlineOffset in CSSStyleApplyProperty.
macpherson@chromium.org [Mon, 25 Jul 2011 00:38:25 +0000 (00:38 +0000)]
Implement CSSPropertyOutlineOffset in CSSStyleApplyProperty.
https://bugs.webkit.org/show_bug.cgi?id=64773

Reviewed by Dimitri Glazkov.

No new tests / refactoring only.

* css/CSSStyleApplyProperty.cpp:
(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91651 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoYet another unreviewed Qt fixery for the weekend.
kbalazs@webkit.org [Sun, 24 Jul 2011 20:54:23 +0000 (20:54 +0000)]
Yet another unreviewed Qt fixery for the weekend.

Don't use test_expectations until all of the Qt platforms switched to NRWT.
* platform/qt/Skipped:
* platform/qt/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91650 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed, rolling out r91635.
commit-queue@webkit.org [Sun, 24 Jul 2011 19:49:29 +0000 (19:49 +0000)]
Unreviewed, rolling out r91635.
http://trac.webkit.org/changeset/91635
https://bugs.webkit.org/show_bug.cgi?id=65083

It broke the minimal build (Requested by Ossy___OFFLINE on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-07-24

* QtTestBrowser/launcherwindow.cpp:
(LauncherWindow::initializeView):
(LauncherWindow::createChrome):
* QtTestBrowser/launcherwindow.h:
(WindowOptions::WindowOptions):
* QtTestBrowser/main.cpp:
(LauncherApplication::handleUserOptions):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91649 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRename garden-o-matic "alert" to "infobar" and increase the width to 100%.
abarth@webkit.org [Sun, 24 Jul 2011 18:48:54 +0000 (18:48 +0000)]
Rename garden-o-matic "alert" to "infobar" and increase the width to 100%.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/config.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.css:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui_unittests.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91648 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed gardening for Qt.
kbalazs@webkit.org [Sun, 24 Jul 2011 16:03:33 +0000 (16:03 +0000)]
Unreviewed gardening for Qt.

* platform/qt/svg/custom/tref-own-content-removal-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91647 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt] inspector/debugger/pause-in-internal-script.html fails
kbalazs@webkit.org [Sun, 24 Jul 2011 16:01:14 +0000 (16:01 +0000)]
[Qt] inspector/debugger/pause-in-internal-script.html fails
https://bugs.webkit.org/show_bug.cgi?id=65078

Unreviewed gardening for Qt.

* platform/qt/test_expectations.txt: Mark the test as expected TEXT failure.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91646 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt] Lot of RenderTree mismatches in fast/multicol
kbalazs@webkit.org [Sun, 24 Jul 2011 15:23:19 +0000 (15:23 +0000)]
[Qt] Lot of RenderTree mismatches in fast/multicol
https://bugs.webkit.org/show_bug.cgi?id=65077

Unreviewed gardening for Qt.

* platform/qt/test_expectations.txt: Add expected TEXT failures.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91645 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-07-24 Rob Buis <rbuis@rim.com>
rwlbuis@webkit.org [Sun, 24 Jul 2011 13:57:24 +0000 (13:57 +0000)]
2011-07-24  Rob Buis  <rbuis@rim.com>

        SVG <use> element is not repositioned when moved to x=0 y=0 through script
        https://bugs.webkit.org/show_bug.cgi?id=53767

        Reviewed by Nikolas Zimmermann.

        Only bail out on zero offset if it is not explicitly set.

        Test: svg/custom/use-move-to-offset.svg

        * rendering/svg/RenderSVGTransformableContainer.cpp:
        (WebCore::RenderSVGTransformableContainer::calculateLocalTransform):
        * rendering/svg/SVGShadowTreeElements.cpp:
        (WebCore::SVGShadowTreeContainerElement::SVGShadowTreeContainerElement):
        (WebCore::SVGShadowTreeContainerElement::setContainerOffset):
        * rendering/svg/SVGShadowTreeElements.h:
        (WebCore::SVGShadowTreeContainerElement::containerOffsetChanged):
        (WebCore::SVGShadowTreeContainerElement::setContainerOffsetChanged):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91644 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRefactor HTML tokenizer code in preparation for a new XML tokenizer
jpfau@apple.com [Sun, 24 Jul 2011 10:07:26 +0000 (10:07 +0000)]
Refactor HTML tokenizer code in preparation for a new XML tokenizer
https://bugs.webkit.org/show_bug.cgi?id=65000

Reviewed by Adam Barth.

* GNUmakefile.list.am:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* html/parser/HTMLDocumentParser.cpp:
(WebCore::HTMLNames::tokenizerStateForContextElement):
(WebCore::HTMLDocumentParser::pumpTokenizer):
* html/parser/HTMLTokenizer.cpp:
(WebCore::HTMLNames::isEndTagBufferingState):
(WebCore::HTMLTokenizer::HTMLTokenizer):
(WebCore::::shouldSkipNullCharacters):
(WebCore::HTMLTokenizer::reset):
(WebCore::HTMLTokenizer::flushEmitAndResumeIn):
(WebCore::HTMLTokenizer::nextToken):
(WebCore::HTMLTokenizer::updateStateFor):
* html/parser/HTMLTokenizer.h:
(WebCore::HTMLTokenizer::emitAndResumeIn):
(WebCore::HTMLTokenizer::emitAndReconsumeIn):
(WebCore::HTMLTokenizer::saveEndTagNameIfNeeded):
* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processStartTagForInBody):
(WebCore::HTMLTreeBuilder::processEndTag):
(WebCore::HTMLTreeBuilder::processGenericRCDATAStartTag):
(WebCore::HTMLTreeBuilder::processGenericRawTextStartTag):
(WebCore::HTMLTreeBuilder::processScriptStartTag):
* html/parser/TextDocumentParser.cpp:
(WebCore::TextDocumentParser::TextDocumentParser):
* html/parser/TextViewSourceParser.cpp:
(WebCore::TextViewSourceParser::TextViewSourceParser):
* xml/parser/MarkupTokenBase.h:
(WebCore::MarkupTokenBase::type):
* xml/parser/MarkupTokenizerBase.h: Added.
(WebCore::MarkupTokenizerBase::~MarkupTokenizerBase):
(WebCore::MarkupTokenizerBase::lineNumber):
(WebCore::MarkupTokenizerBase::columnNumber):
(WebCore::MarkupTokenizerBase::state):
(WebCore::MarkupTokenizerBase::setState):
(WebCore::MarkupTokenizerBase::forceNullCharacterReplacement):
(WebCore::MarkupTokenizerBase::setForceNullCharacterReplacement):
(WebCore::MarkupTokenizerBase::InputStreamPreprocessor::InputStreamPreprocessor):
(WebCore::MarkupTokenizerBase::InputStreamPreprocessor::nextInputCharacter):
(WebCore::MarkupTokenizerBase::InputStreamPreprocessor::peek):
(WebCore::MarkupTokenizerBase::InputStreamPreprocessor::advance):
(WebCore::MarkupTokenizerBase::InputStreamPreprocessor::shouldTreatNullAsEndOfFileMarker):
(WebCore::MarkupTokenizerBase::MarkupTokenizerBase):
(WebCore::MarkupTokenizerBase::bufferCharacter):
(WebCore::MarkupTokenizerBase::emitAndResumeIn):
(WebCore::MarkupTokenizerBase::emitAndReconsumeIn):
(WebCore::MarkupTokenizerBase::emitEndOfFile):
(WebCore::MarkupTokenizerBase::reset):
(WebCore::MarkupTokenizerBase::haveBufferedCharacterToken):
* xml/parser/MarkupTokenizerInlineMethods.h: Added.
(WebCore::isTokenizerWhitespace):
(WebCore::advanceStringAndASSERTIgnoringCase):
(WebCore::advanceStringAndASSERT):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91643 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoTestConfiguration should be hashable and comparable for equality.
dglazkov@chromium.org [Sun, 24 Jul 2011 03:30:17 +0000 (03:30 +0000)]
TestConfiguration should be hashable and comparable for equality.
https://bugs.webkit.org/show_bug.cgi?id=65070

Reviewed by Adam Barth.

* Scripts/webkitpy/layout_tests/models/test_configuration.py: Added __hash__ and __eq__ methods.
* Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py: Added unit tests.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91642 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRemove WTF namespace from isMainThread() calls
paroga@webkit.org [Sat, 23 Jul 2011 23:42:06 +0000 (23:42 +0000)]
Remove WTF namespace from isMainThread() calls
https://bugs.webkit.org/show_bug.cgi?id=65068

Reviewed by Sam Weinig.

Because of the using WTF::isMainThread in the header there is no
reason to include the namespace name when calling this function.

* bindings/js/JSMainThreadExecState.h:
* bindings/v8/DOMDataStore.cpp:
* bindings/v8/V8Binding.cpp:
* bindings/v8/V8DOMMap.cpp:
* bindings/v8/V8DOMWrapper.h:
* page/DOMWindow.cpp:
* page/History.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91641 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Chromium] Update expectations for r91636.
tkent@chromium.org [Sat, 23 Jul 2011 22:44:44 +0000 (22:44 +0000)]
[Chromium] Update expectations for r91636.

* platform/chromium-linux/fast/speech/input-appearance-numberandspeech-expected.png:
* platform/chromium-linux/fast/speech/input-appearance-numberandspeech-expected.txt:
* platform/chromium-mac-leopard/fast/speech/input-appearance-numberandspeech-expected.png:
* platform/chromium-mac/fast/speech/input-appearance-numberandspeech-expected.png:
* platform/chromium-mac/fast/speech/input-appearance-numberandspeech-expected.txt:
* platform/chromium-win/fast/speech/input-appearance-numberandspeech-expected.png:
* platform/chromium-win/fast/speech/input-appearance-numberandspeech-expected.txt:
* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91640 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoExtract TestConfiguration from base and write a few unit tests to capture current...
dglazkov@chromium.org [Sat, 23 Jul 2011 21:16:30 +0000 (21:16 +0000)]
Extract TestConfiguration from base and write a few unit tests to capture current behavior.
https://bugs.webkit.org/show_bug.cgi?id=65066

Reviewed by Adam Barth.

* Scripts/webkitpy/layout_tests/models/test_configuration.py: Added.
* Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py: Added.
* Scripts/webkitpy/layout_tests/port/base.py: Moved code to test_configuration.py

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91639 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoSwitching off acceleration for small canvas broke gpu tests
alokp@chromium.org [Sat, 23 Jul 2011 18:44:55 +0000 (18:44 +0000)]
Switching off acceleration for small canvas broke gpu tests
https://bugs.webkit.org/show_bug.cgi?id=65053

Reviewed by Stephen White.

Source/WebCore:

No new tests. These are supposed to fix existing canvas tests on gpu.

* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::shouldAccelerateCanvas):
* page/Settings.cpp:
(WebCore::Settings::Settings):
(WebCore::Settings::setLegacyAccelerated2dCanvasEnabled):
(WebCore::Settings::setMinimumAccelerated2dCanvasSize):
* page/Settings.h:
(WebCore::Settings::minimumAccelerated2dCanvasSize):

Source/WebKit/chromium:

* public/WebSettings.h:
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setMinimumAccelerated2dCanvasSize):
* src/WebSettingsImpl.h:

Tools:

* DumpRenderTree/chromium/WebPreferences.cpp:
(WebPreferences::reset):
(WebPreferences::applyTo):
* DumpRenderTree/chromium/WebPreferences.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91638 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-07-23 Rob Buis <rbuis@rim.com>
rwlbuis@webkit.org [Sat, 23 Jul 2011 18:17:03 +0000 (18:17 +0000)]
2011-07-23  Rob Buis  <rbuis@rim.com>

        Freed SVGTRefElement used in SVGStyledElement::buildPendingResourcesIfNeeded
        https://bugs.webkit.org/show_bug.cgi?id=64758

        Reviewed by Nikolas Zimmermann.

        Fix the crash by storing referenced content inside a shadow tree. This way removing child nodes of
        the <tref> does not remove the referenced content.

        * dom/Text.cpp:
        (WebCore::Text::recalcStyle):
        * dom/Text.h:
        * svg/SVGTRefElement.cpp:
        (WebCore::SVGShadowText::create):
        (WebCore::SVGShadowText::SVGShadowText):
        (WebCore::SVGShadowText::createRenderer):
        (WebCore::SVGShadowText::recalcStyle):
        (WebCore::SVGTRefElement::updateReferencedText):
        (WebCore::SVGTRefElement::childShouldCreateRenderer):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91637 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoSource/WebCore: Display number field without using a thousand separator.
commit-queue@webkit.org [Sat, 23 Jul 2011 16:21:14 +0000 (16:21 +0000)]
Source/WebCore: Display number field without using a thousand separator.
https://bugs.webkit.org/show_bug.cgi?id=65064

Patch by Shinya Kawanaka <shinyak@google.com> on 2011-07-23
Reviewed by Kent Tamura.

Separated formatters for parsing and displaying.
Removed a test for thousand separator.

* manual-tests/input-number-localization.html:
Removed a test for thousand separator.
Made the test description more specific.
* platform/text/LocalizedNumberICU.cpp:
(WebCore::createFormatterForCurrentLocaleToDisplay):
Added to introduce a formatter for display.
(WebCore::numberFormatterForParsing):
Changed the name to be clear.
(WebCore::numberFormatterForDisplay): Added.
(WebCore::parseLocalizedNumber): Used numberFormatterForParsing.
(WebCore::formatLocalizedNumber): Used numberFormatterForDisplay.
* platform/text/mac/LocalizedNumberMac.mm:
(WebCore::createFormatterForCurrentLocaleForDisplay):
Added to introduce a formatter for display.
(WebCore::numberFormatterForParsing):
Changed the name to be clear.
(WebCore::numberFormatterForDisplay): Added.
(WebCore::parseLocalizedNumber): Used numberFormatterForParsing.
(WebCore::formatLocalizedNumber): Used numberFormatterForDisplay.

LayoutTests: Marked fast/speech/input-appearance-numberandspeech.html flaky on Mac and Windows.
https://bugs.webkit.org/show_bug.cgi?id=65064

Patch by Shinya Kawanaka <shinyak@google.com> on 2011-07-23
Reviewed by Kent Tamura.

* platform/chromium/test_expectations.txt:
  Mark fast/speech/input-appearance-numberandspeech.html flaky on Mac and Windows.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91636 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt] Add option to turn on disk caching in QtTestBrowser
commit-queue@webkit.org [Sat, 23 Jul 2011 15:39:47 +0000 (15:39 +0000)]
[Qt] Add option to turn on disk caching in QtTestBrowser
https://bugs.webkit.org/show_bug.cgi?id=65007

Patch by Keith Kyzivat <keith.kyzivat@nokia.com> on 2011-07-23
Reviewed by Noam Rosenthal.

Add menu item and command line option to turn on disk caching in
QtTestBrowser. Simple QNetworkDiskCache added to the page's
QNetworkAccssManager.

* QtTestBrowser/launcherwindow.cpp:
(LauncherWindow::initializeView):
(LauncherWindow::createChrome):
(LauncherWindow::setDiskCache):
* QtTestBrowser/launcherwindow.h:
(WindowOptions::WindowOptions):
* QtTestBrowser/main.cpp:
(LauncherApplication::handleUserOptions):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91635 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Chromium] Turn on new WebSocket protocol in worker shadow page
yutak@chromium.org [Sat, 23 Jul 2011 14:54:52 +0000 (14:54 +0000)]
[Chromium] Turn on new WebSocket protocol in worker shadow page
https://bugs.webkit.org/show_bug.cgi?id=64852

Reviewed by Dmitry Titov.

* src/WebWorkerBase.cpp:
(WebKit::WebWorkerBase::initializeLoader):
Initialize the value of WebCore::Settings::useHixie76WebSocketProtocol()
for a new shadow page. The default value of this flag is overridden through
WebPreferences (located in webkit/glue in Chromium source tree) but a shadow
page does not receive the preference values from it.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91634 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-07-23 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Sat, 23 Jul 2011 11:18:22 +0000 (11:18 +0000)]
2011-07-23  Nikolas Zimmermann  <nzimmermann@rim.com>

        Move several SVG specific tests out of fast/(backgrounds|borders) into svg/(as-background-image|as-border-image) as
        we're only running pixel tests for the svg/ subdirectory on a daily base. Also it's easier to spot errors this way.
        Updated all Skipped/test_expectations.txt files as well.

        Rubber-stamped by Maciej Stachowiak.

        * fast/backgrounds/animated-svg-as-background.html: Removed.
        * fast/backgrounds/resources/animated-rect-fixed-size.svg: Removed.
        * fast/backgrounds/resources/balloon.svg: Removed.
        * fast/backgrounds/resources/eyes.svg: Removed.
        * fast/backgrounds/resources/hearts.svg: Removed.
        * fast/backgrounds/resources/map.svg: Removed.
        * fast/backgrounds/resources/mouse-repel.svg: Removed.
        * fast/backgrounds/svg-as-background-1.html: Removed.
        * fast/backgrounds/svg-as-background-2.html: Removed.
        * fast/backgrounds/svg-as-background-3.html: Removed.
        * fast/backgrounds/svg-as-background-4.html: Removed.
        * fast/backgrounds/svg-as-background-5.html: Removed.
        * fast/backgrounds/svg-as-background-6.html: Removed.
        * fast/borders/resources/large-tiles.png: Removed.
        * fast/borders/resources/tiles-fixed-size.svg: Removed.
        * fast/borders/resources/tiles-relative-size.svg: Removed.
        * fast/borders/resources/tiles.png: Removed.
        * fast/borders/svg-as-border-image-2.html: Removed.
        * fast/borders/svg-as-border-image.html: Removed.
        * platform/chromium-linux/fast/backgrounds/animated-svg-as-background-expected.png: Removed.
        * platform/chromium-linux/fast/backgrounds/svg-as-background-1-expected.png: Removed.
        * platform/chromium-linux/fast/backgrounds/svg-as-background-2-expected.png: Removed.
        * platform/chromium-linux/fast/backgrounds/svg-as-background-3-expected.png: Removed.
        * platform/chromium-linux/fast/backgrounds/svg-as-background-4-expected.png: Removed.
        * platform/chromium-linux/fast/backgrounds/svg-as-background-5-expected.png: Removed.
        * platform/chromium-linux/fast/borders/svg-as-border-image-2-expected.png: Removed.
        * platform/chromium-linux/svg/as-background-image: Added.
        * platform/chromium-linux/svg/as-background-image/animated-svg-as-background-expected.png: Copied from platform/chromium-linux/fast/backgrounds/animated-svg-as-background-expected.png.
        * platform/chromium-linux/svg/as-background-image/svg-as-background-1-expected.png: Copied from platform/chromium-linux/fast/backgrounds/svg-as-background-1-expected.png.
        * platform/chromium-linux/svg/as-background-image/svg-as-background-2-expected.png: Copied from platform/chromium-linux/fast/backgrounds/svg-as-background-2-expected.png.
        * platform/chromium-linux/svg/as-background-image/svg-as-background-3-expected.png: Copied from platform/chromium-linux/fast/backgrounds/svg-as-background-3-expected.png.
        * platform/chromium-linux/svg/as-background-image/svg-as-background-4-expected.png: Copied from platform/chromium-linux/fast/backgrounds/svg-as-background-4-expected.png.
        * platform/chromium-linux/svg/as-background-image/svg-as-background-5-expected.png: Copied from platform/chromium-linux/fast/backgrounds/svg-as-background-5-expected.png.
        * platform/chromium-linux/svg/as-background-image/svg-as-background-with-relative-size-expected.png: Copied from platform/chromium-linux/svg/as-image/svg-as-background-with-relative-size-expected.png.
        * platform/chromium-linux/svg/as-background-image/svg-background-partial-redraw-expected.png: Copied from platform/chromium-linux/svg/as-image/svg-background-partial-redraw-expected.png.
        * platform/chromium-linux/svg/as-border-image: Added.
        * platform/chromium-linux/svg/as-border-image/svg-as-border-image-2-expected.png: Copied from platform/chromium-linux/fast/borders/svg-as-border-image-2-expected.png.
        * platform/chromium-linux/svg/as-image/svg-as-background-with-relative-size-expected.png: Removed.
        * platform/chromium-linux/svg/as-image/svg-background-partial-redraw-expected.png: Removed.
        * platform/chromium-mac-leopard/fast/backgrounds/svg-as-background-1-expected.png: Removed.
        * platform/chromium-mac-leopard/fast/backgrounds/svg-as-background-3-expected.png: Removed.
        * platform/chromium-mac-leopard/fast/borders/svg-as-border-image-2-expected.png: Removed.
        * platform/chromium-mac-leopard/svg/as-background-image: Added.
        * platform/chromium-mac-leopard/svg/as-background-image/svg-as-background-1-expected.png: Copied from platform/chromium-mac-leopard/fast/backgrounds/svg-as-background-1-expected.png.
        * platform/chromium-mac-leopard/svg/as-background-image/svg-as-background-3-expected.png: Copied from platform/chromium-mac-leopard/fast/backgrounds/svg-as-background-3-expected.png.
        * platform/chromium-mac-leopard/svg/as-background-image/svg-as-background-with-relative-size-expected.png: Copied from platform/chromium-mac-leopard/svg/as-image/svg-as-background-with-relative-size-expected.png.
        * platform/chromium-mac-leopard/svg/as-background-image/svg-background-partial-redraw-expected.png: Copied from platform/chromium-mac-leopard/svg/as-image/svg-background-partial-redraw-expected.png.
        * platform/chromium-mac-leopard/svg/as-border-image: Added.
        * platform/chromium-mac-leopard/svg/as-border-image/svg-as-border-image-2-expected.png: Copied from platform/chromium-mac-leopard/fast/borders/svg-as-border-image-2-expected.png.
        * platform/chromium-mac-leopard/svg/as-image/svg-as-background-with-relative-size-expected.png: Removed.
        * platform/chromium-mac-leopard/svg/as-image/svg-background-partial-redraw-expected.png: Removed.
        * platform/chromium-mac/fast/backgrounds/animated-svg-as-background-expected.png: Removed.
        * platform/chromium-mac/fast/backgrounds/svg-as-background-1-expected.png: Removed.
        * platform/chromium-mac/fast/backgrounds/svg-as-background-3-expected.png: Removed.
        * platform/chromium-mac/svg/as-background-image: Added.
        * platform/chromium-mac/svg/as-background-image/animated-svg-as-background-expected.png: Copied from platform/chromium-mac/fast/backgrounds/animated-svg-as-background-expected.png.
        * platform/chromium-mac/svg/as-background-image/svg-as-background-1-expected.png: Copied from platform/chromium-mac/fast/backgrounds/svg-as-background-1-expected.png.
        * platform/chromium-mac/svg/as-background-image/svg-as-background-3-expected.png: Copied from platform/chromium-mac/fast/backgrounds/svg-as-background-3-expected.png.
        * platform/chromium-mac/svg/as-background-image/svg-background-partial-redraw-expected.png: Copied from platform/chromium-mac/svg/as-image/svg-background-partial-redraw-expected.png.
        * platform/chromium-mac/svg/as-image/svg-background-partial-redraw-expected.png: Removed.
        * platform/chromium-win/fast/backgrounds/animated-svg-as-background-expected.png: Removed.
        * platform/chromium-win/fast/backgrounds/animated-svg-as-background-expected.txt: Removed.
        * platform/chromium-win/fast/backgrounds/svg-as-background-1-expected.png: Removed.
        * platform/chromium-win/fast/backgrounds/svg-as-background-1-expected.txt: Removed.
        * platform/chromium-win/fast/backgrounds/svg-as-background-2-expected.png: Removed.
        * platform/chromium-win/fast/backgrounds/svg-as-background-2-expected.txt: Removed.
        * platform/chromium-win/fast/backgrounds/svg-as-background-3-expected.png: Removed.
        * platform/chromium-win/fast/backgrounds/svg-as-background-3-expected.txt: Removed.
        * platform/chromium-win/fast/backgrounds/svg-as-background-4-expected.png: Removed.
        * platform/chromium-win/fast/backgrounds/svg-as-background-4-expected.txt: Removed.
        * platform/chromium-win/fast/backgrounds/svg-as-background-5-expected.png: Removed.
        * platform/chromium-win/fast/backgrounds/svg-as-background-5-expected.txt: Removed.
        * platform/chromium-win/fast/backgrounds/svg-as-background-6-expected.png: Removed.
        * platform/chromium-win/fast/backgrounds/svg-as-background-6-expected.txt: Removed.
        * platform/chromium-win/fast/borders/svg-as-border-image-2-expected.png: Removed.
        * platform/chromium-win/fast/borders/svg-as-border-image-2-expected.txt: Removed.
        * platform/chromium-win/svg/as-background-image: Added.
        * platform/chromium-win/svg/as-background-image/animated-svg-as-background-expected.png: Copied from platform/chromium-win/fast/backgrounds/animated-svg-as-background-expected.png.
        * platform/chromium-win/svg/as-background-image/animated-svg-as-background-expected.txt: Copied from platform/chromium-win/fast/backgrounds/animated-svg-as-background-expected.txt.
        * platform/chromium-win/svg/as-background-image/svg-as-background-1-expected.png: Copied from platform/chromium-win/fast/backgrounds/svg-as-background-1-expected.png.
        * platform/chromium-win/svg/as-background-image/svg-as-background-1-expected.txt: Copied from platform/chromium-win/fast/backgrounds/svg-as-background-1-expected.txt.
        * platform/chromium-win/svg/as-background-image/svg-as-background-2-expected.png: Copied from platform/chromium-win/fast/backgrounds/svg-as-background-2-expected.png.
        * platform/chromium-win/svg/as-background-image/svg-as-background-2-expected.txt: Copied from platform/chromium-win/fast/backgrounds/svg-as-background-2-expected.txt.
        * platform/chromium-win/svg/as-background-image/svg-as-background-3-expected.png: Copied from platform/chromium-win/fast/backgrounds/svg-as-background-3-expected.png.
        * platform/chromium-win/svg/as-background-image/svg-as-background-3-expected.txt: Copied from platform/chromium-win/fast/backgrounds/svg-as-background-3-expected.txt.
        * platform/chromium-win/svg/as-background-image/svg-as-background-4-expected.png: Copied from platform/chromium-win/fast/backgrounds/svg-as-background-4-expected.png.
        * platform/chromium-win/svg/as-background-image/svg-as-background-4-expected.txt: Copied from platform/chromium-win/fast/backgrounds/svg-as-background-4-expected.txt.
        * platform/chromium-win/svg/as-background-image/svg-as-background-5-expected.png: Copied from platform/chromium-win/fast/backgrounds/svg-as-background-5-expected.png.
        * platform/chromium-win/svg/as-background-image/svg-as-background-5-expected.txt: Copied from platform/chromium-win/fast/backgrounds/svg-as-background-5-expected.txt.
        * platform/chromium-win/svg/as-background-image/svg-as-background-6-expected.png: Copied from platform/chromium-win/fast/backgrounds/svg-as-background-6-expected.png.
        * platform/chromium-win/svg/as-background-image/svg-as-background-6-expected.txt: Copied from platform/chromium-win/fast/backgrounds/svg-as-background-6-expected.txt.
        * platform/chromium-win/svg/as-background-image/svg-as-background-expected.txt: Copied from platform/chromium-win/svg/as-image/svg-as-background-expected.txt.
        * platform/chromium-win/svg/as-background-image/svg-as-background-with-relative-size-expected.png: Copied from platform/chromium-win/svg/as-image/svg-as-background-with-relative-size-expected.png.
        * platform/chromium-win/svg/as-background-image/svg-as-background-with-relative-size-expected.txt: Copied from platform/chromium-win/svg/as-image/svg-as-background-with-relative-size-expected.txt.
        * platform/chromium-win/svg/as-background-image/svg-as-background-with-viewBox-expected.txt: Copied from platform/chromium-win/svg/as-image/svg-as-background-with-viewBox-expected.txt.
        * platform/chromium-win/svg/as-background-image/svg-as-tiled-background-expected.txt: Copied from platform/chromium-win/svg/as-image/svg-as-tiled-background-expected.txt.
        * platform/chromium-win/svg/as-background-image/svg-background-partial-redraw-expected.png: Copied from platform/chromium-win/svg/as-image/svg-background-partial-redraw-expected.png.
        * platform/chromium-win/svg/as-background-image/svg-background-partial-redraw-expected.txt: Copied from platform/chromium-win/svg/as-image/svg-background-partial-redraw-expected.txt.
        * platform/chromium-win/svg/as-background-image/svg-width-100p-as-background-expected.txt: Copied from platform/chromium-win/svg/as-image/svg-width-100p-as-background-expected.txt.
        * platform/chromium-win/svg/as-border-image: Added.
        * platform/chromium-win/svg/as-border-image/svg-as-border-image-2-expected.png: Copied from platform/chromium-win/fast/borders/svg-as-border-image-2-expected.png.
        * platform/chromium-win/svg/as-border-image/svg-as-border-image-2-expected.txt: Copied from platform/chromium-win/fast/borders/svg-as-border-image-2-expected.txt.
        * platform/chromium-win/svg/as-image/svg-as-background-expected.txt: Removed.
        * platform/chromium-win/svg/as-image/svg-as-background-with-relative-size-expected.png: Removed.
        * platform/chromium-win/svg/as-image/svg-as-background-with-relative-size-expected.txt: Removed.
        * platform/chromium-win/svg/as-image/svg-as-background-with-viewBox-expected.txt: Removed.
        * platform/chromium-win/svg/as-image/svg-as-tiled-background-expected.txt: Removed.
        * platform/chromium-win/svg/as-image/svg-background-partial-redraw-expected.png: Removed.
        * platform/chromium-win/svg/as-image/svg-background-partial-redraw-expected.txt: Removed.
        * platform/chromium-win/svg/as-image/svg-width-100p-as-background-expected.txt: Removed.
        * platform/chromium/test_expectations.txt:
        * platform/gtk/fast/backgrounds/animated-svg-as-background-expected.txt: Removed.
        * platform/gtk/fast/backgrounds/svg-as-background-1-expected.txt: Removed.
        * platform/gtk/fast/backgrounds/svg-as-background-2-expected.txt: Removed.
        * platform/gtk/fast/backgrounds/svg-as-background-3-expected.txt: Removed.
        * platform/gtk/fast/backgrounds/svg-as-background-4-expected.txt: Removed.
        * platform/gtk/fast/backgrounds/svg-as-background-5-expected.txt: Removed.
        * platform/gtk/fast/backgrounds/svg-as-background-6-expected.txt: Removed.
        * platform/gtk/fast/borders/svg-as-border-image-2-expected.png: Removed.
        * platform/gtk/fast/borders/svg-as-border-image-2-expected.txt: Removed.
        * platform/gtk/svg/as-background-image: Added.
        * platform/gtk/svg/as-background-image/animated-svg-as-background-expected.txt: Copied from platform/gtk/fast/backgrounds/animated-svg-as-background-expected.txt.
        * platform/gtk/svg/as-background-image/svg-as-background-1-expected.txt: Copied from platform/gtk/fast/backgrounds/svg-as-background-1-expected.txt.
        * platform/gtk/svg/as-background-image/svg-as-background-2-expected.txt: Copied from platform/gtk/fast/backgrounds/svg-as-background-2-expected.txt.
        * platform/gtk/svg/as-background-image/svg-as-background-3-expected.txt: Copied from platform/gtk/fast/backgrounds/svg-as-background-3-expected.txt.
        * platform/gtk/svg/as-background-image/svg-as-background-4-expected.txt: Copied from platform/gtk/fast/backgrounds/svg-as-background-4-expected.txt.
        * platform/gtk/svg/as-background-image/svg-as-background-5-expected.txt: Copied from platform/gtk/fast/backgrounds/svg-as-background-5-expected.txt.
        * platform/gtk/svg/as-background-image/svg-as-background-6-expected.txt: Copied from platform/gtk/fast/backgrounds/svg-as-background-6-expected.txt.
        * platform/gtk/svg/as-background-image/svg-as-background-expected.png: Copied from platform/gtk/svg/as-image/svg-as-background-expected.png.
        * platform/gtk/svg/as-background-image/svg-as-background-expected.txt: Copied from platform/gtk/svg/as-image/svg-as-background-expected.txt.
        * platform/gtk/svg/as-background-image/svg-as-background-with-relative-size-expected.png: Copied from platform/gtk/svg/as-image/svg-as-background-with-relative-size-expected.png.
        * platform/gtk/svg/as-background-image/svg-as-background-with-relative-size-expected.txt: Copied from platform/gtk/svg/as-image/svg-as-background-with-relative-size-expected.txt.
        * platform/gtk/svg/as-background-image/svg-as-background-with-viewBox-expected.png: Copied from platform/gtk/svg/as-image/svg-as-background-with-viewBox-expected.png.
        * platform/gtk/svg/as-background-image/svg-as-background-with-viewBox-expected.txt: Copied from platform/gtk/svg/as-image/svg-as-background-with-viewBox-expected.txt.
        * platform/gtk/svg/as-background-image/svg-as-tiled-background-expected.png: Copied from platform/gtk/svg/as-image/svg-as-tiled-background-expected.png.
        * platform/gtk/svg/as-background-image/svg-as-tiled-background-expected.txt: Copied from platform/gtk/svg/as-image/svg-as-tiled-background-expected.txt.
        * platform/gtk/svg/as-background-image/svg-background-partial-redraw-expected.txt: Copied from platform/gtk/svg/as-image/svg-background-partial-redraw-expected.txt.
        * platform/gtk/svg/as-background-image/svg-width-100p-as-background-expected.png: Copied from platform/gtk/svg/as-image/svg-width-100p-as-background-expected.png.
        * platform/gtk/svg/as-background-image/svg-width-100p-as-background-expected.txt: Copied from platform/gtk/svg/as-image/svg-width-100p-as-background-expected.txt.
        * platform/gtk/svg/as-border-image: Added.
        * platform/gtk/svg/as-border-image/svg-as-border-image-2-expected.png: Copied from platform/gtk/fast/borders/svg-as-border-image-2-expected.png.
        * platform/gtk/svg/as-border-image/svg-as-border-image-2-expected.txt: Copied from platform/gtk/fast/borders/svg-as-border-image-2-expected.txt.
        * platform/gtk/svg/as-image/svg-as-background-expected.png: Removed.
        * platform/gtk/svg/as-image/svg-as-background-expected.txt: Removed.
        * platform/gtk/svg/as-image/svg-as-background-with-relative-size-expected.png: Removed.
        * platform/gtk/svg/as-image/svg-as-background-with-relative-size-expected.txt: Removed.
        * platform/gtk/svg/as-image/svg-as-background-with-viewBox-expected.png: Removed.
        * platform/gtk/svg/as-image/svg-as-background-with-viewBox-expected.txt: Removed.
        * platform/gtk/svg/as-image/svg-as-tiled-background-expected.png: Removed.
        * platform/gtk/svg/as-image/svg-as-tiled-background-expected.txt: Removed.
        * platform/gtk/svg/as-image/svg-background-partial-redraw-expected.txt: Removed.
        * platform/gtk/svg/as-image/svg-width-100p-as-background-expected.png: Removed.
        * platform/gtk/svg/as-image/svg-width-100p-as-background-expected.txt: Removed.
        * platform/mac-leopard/fast/backgrounds/svg-as-background-1-expected.png: Removed.
        * platform/mac-leopard/fast/backgrounds/svg-as-background-2-expected.png: Removed.
        * platform/mac-leopard/fast/backgrounds/svg-as-background-3-expected.png: Removed.
        * platform/mac-leopard/fast/backgrounds/svg-as-background-5-expected.png: Removed.
        * platform/mac-leopard/fast/backgrounds/svg-as-background-6-expected.png: Removed.
        * platform/mac-leopard/fast/borders/svg-as-border-image-2-expected.png: Removed.
        * platform/mac-leopard/svg/as-background-image: Added.
        * platform/mac-leopard/svg/as-background-image/svg-as-background-1-expected.png: Copied from platform/mac-leopard/fast/backgrounds/svg-as-background-1-expected.png.
        * platform/mac-leopard/svg/as-background-image/svg-as-background-2-expected.png: Copied from platform/mac-leopard/fast/backgrounds/svg-as-background-2-expected.png.
        * platform/mac-leopard/svg/as-background-image/svg-as-background-3-expected.png: Copied from platform/mac-leopard/fast/backgrounds/svg-as-background-3-expected.png.
        * platform/mac-leopard/svg/as-background-image/svg-as-background-5-expected.png: Copied from platform/mac-leopard/fast/backgrounds/svg-as-background-5-expected.png.
        * platform/mac-leopard/svg/as-background-image/svg-as-background-6-expected.png: Copied from platform/mac-leopard/fast/backgrounds/svg-as-background-6-expected.png.
        * platform/mac-leopard/svg/as-background-image/svg-background-partial-redraw-expected.png: Copied from platform/mac-leopard/svg/as-image/svg-background-partial-redraw-expected.png.
        * platform/mac-leopard/svg/as-border-image: Added.
        * platform/mac-leopard/svg/as-border-image/svg-as-border-image-2-expected.png: Copied from platform/mac-leopard/fast/borders/svg-as-border-image-2-expected.png.
        * platform/mac-leopard/svg/as-image/svg-background-partial-redraw-expected.png: Removed.
        * platform/mac/fast/backgrounds/animated-svg-as-background-expected.png: Removed.
        * platform/mac/fast/backgrounds/animated-svg-as-background-expected.txt: Removed.
        * platform/mac/fast/backgrounds/svg-as-background-1-expected.png: Removed.
        * platform/mac/fast/backgrounds/svg-as-background-1-expected.txt: Removed.
        * platform/mac/fast/backgrounds/svg-as-background-2-expected.png: Removed.
        * platform/mac/fast/backgrounds/svg-as-background-2-expected.txt: Removed.
        * platform/mac/fast/backgrounds/svg-as-background-3-expected.png: Removed.
        * platform/mac/fast/backgrounds/svg-as-background-3-expected.txt: Removed.
        * platform/mac/fast/backgrounds/svg-as-background-4-expected.png: Removed.
        * platform/mac/fast/backgrounds/svg-as-background-4-expected.txt: Removed.
        * platform/mac/fast/backgrounds/svg-as-background-5-expected.png: Removed.
        * platform/mac/fast/backgrounds/svg-as-background-5-expected.txt: Removed.
        * platform/mac/fast/backgrounds/svg-as-background-6-expected.png: Removed.
        * platform/mac/fast/backgrounds/svg-as-background-6-expected.txt: Removed.
        * platform/mac/fast/borders/svg-as-border-image-2-expected.png: Removed.
        * platform/mac/fast/borders/svg-as-border-image-2-expected.txt: Removed.
        * platform/mac/fast/borders/svg-as-border-image-expected.png: Removed.
        * platform/mac/fast/borders/svg-as-border-image-expected.txt: Removed.
        * platform/mac/svg/as-background-image: Added.
        * platform/mac/svg/as-background-image/animated-svg-as-background-expected.png: Copied from platform/mac/fast/backgrounds/animated-svg-as-background-expected.png.
        * platform/mac/svg/as-background-image/animated-svg-as-background-expected.txt: Copied from platform/mac/fast/backgrounds/animated-svg-as-background-expected.txt.
        * platform/mac/svg/as-background-image/svg-as-background-1-expected.png: Copied from platform/mac/fast/backgrounds/svg-as-background-1-expected.png.
        * platform/mac/svg/as-background-image/svg-as-background-1-expected.txt: Copied from platform/mac/fast/backgrounds/svg-as-background-1-expected.txt.
        * platform/mac/svg/as-background-image/svg-as-background-2-expected.png: Copied from platform/mac/fast/backgrounds/svg-as-background-2-expected.png.
        * platform/mac/svg/as-background-image/svg-as-background-2-expected.txt: Copied from platform/mac/fast/backgrounds/svg-as-background-2-expected.txt.
        * platform/mac/svg/as-background-image/svg-as-background-3-expected.png: Copied from platform/mac/fast/backgrounds/svg-as-background-3-expected.png.
        * platform/mac/svg/as-background-image/svg-as-background-3-expected.txt: Copied from platform/mac/fast/backgrounds/svg-as-background-3-expected.txt.
        * platform/mac/svg/as-background-image/svg-as-background-4-expected.png: Copied from platform/mac/fast/backgrounds/svg-as-background-4-expected.png.
        * platform/mac/svg/as-background-image/svg-as-background-4-expected.txt: Copied from platform/mac/fast/backgrounds/svg-as-background-4-expected.txt.
        * platform/mac/svg/as-background-image/svg-as-background-5-expected.png: Copied from platform/mac/fast/backgrounds/svg-as-background-5-expected.png.
        * platform/mac/svg/as-background-image/svg-as-background-5-expected.txt: Copied from platform/mac/fast/backgrounds/svg-as-background-5-expected.txt.
        * platform/mac/svg/as-background-image/svg-as-background-6-expected.png: Copied from platform/mac/fast/backgrounds/svg-as-background-6-expected.png.
        * platform/mac/svg/as-background-image/svg-as-background-6-expected.txt: Copied from platform/mac/fast/backgrounds/svg-as-background-6-expected.txt.
        * platform/mac/svg/as-background-image/svg-as-background-expected.png: Copied from platform/mac/svg/as-image/svg-as-background-expected.png.
        * platform/mac/svg/as-background-image/svg-as-background-expected.txt: Copied from platform/mac/svg/as-image/svg-as-background-expected.txt.
        * platform/mac/svg/as-background-image/svg-as-background-with-relative-size-expected.png: Copied from platform/mac/svg/as-image/svg-as-background-with-relative-size-expected.png.
        * platform/mac/svg/as-background-image/svg-as-background-with-relative-size-expected.txt: Copied from platform/mac/svg/as-image/svg-as-background-with-relative-size-expected.txt.
        * platform/mac/svg/as-background-image/svg-as-background-with-viewBox-expected.png: Copied from platform/mac/svg/as-image/svg-as-background-with-viewBox-expected.png.
        * platform/mac/svg/as-background-image/svg-as-background-with-viewBox-expected.txt: Copied from platform/mac/svg/as-image/svg-as-background-with-viewBox-expected.txt.
        * platform/mac/svg/as-background-image/svg-as-tiled-background-expected.png: Copied from platform/mac/svg/as-image/svg-as-tiled-background-expected.png.
        * platform/mac/svg/as-background-image/svg-as-tiled-background-expected.txt: Copied from platform/mac/svg/as-image/svg-as-tiled-background-expected.txt.
        * platform/mac/svg/as-background-image/svg-background-partial-redraw-expected.png: Copied from platform/mac/svg/as-image/svg-background-partial-redraw-expected.png.
        * platform/mac/svg/as-background-image/svg-background-partial-redraw-expected.txt: Copied from platform/mac/svg/as-image/svg-background-partial-redraw-expected.txt.
        * platform/mac/svg/as-background-image/svg-width-100p-as-background-expected.png: Copied from platform/mac/svg/as-image/svg-width-100p-as-background-expected.png.
        * platform/mac/svg/as-background-image/svg-width-100p-as-background-expected.txt: Copied from platform/mac/svg/as-image/svg-width-100p-as-background-expected.txt.
        * platform/mac/svg/as-border-image: Added.
        * platform/mac/svg/as-border-image/svg-as-border-image-2-expected.png: Copied from platform/mac/fast/borders/svg-as-border-image-2-expected.png.
        * platform/mac/svg/as-border-image/svg-as-border-image-2-expected.txt: Copied from platform/mac/fast/borders/svg-as-border-image-2-expected.txt.
        * platform/mac/svg/as-border-image/svg-as-border-image-expected.png: Copied from platform/mac/fast/borders/svg-as-border-image-expected.png.
        * platform/mac/svg/as-border-image/svg-as-border-image-expected.txt: Copied from platform/mac/fast/borders/svg-as-border-image-expected.txt.
        * platform/mac/svg/as-image/svg-as-background-expected.png: Removed.
        * platform/mac/svg/as-image/svg-as-background-expected.txt: Removed.
        * platform/mac/svg/as-image/svg-as-background-with-relative-size-expected.png: Removed.
        * platform/mac/svg/as-image/svg-as-background-with-relative-size-expected.txt: Removed.
        * platform/mac/svg/as-image/svg-as-background-with-viewBox-expected.png: Removed.
        * platform/mac/svg/as-image/svg-as-background-with-viewBox-expected.txt: Removed.
        * platform/mac/svg/as-image/svg-as-tiled-background-expected.png: Removed.
        * platform/mac/svg/as-image/svg-as-tiled-background-expected.txt: Removed.
        * platform/mac/svg/as-image/svg-background-partial-redraw-expected.png: Removed.
        * platform/mac/svg/as-image/svg-background-partial-redraw-expected.txt: Removed.
        * platform/mac/svg/as-image/svg-width-100p-as-background-expected.png: Removed.
        * platform/mac/svg/as-image/svg-width-100p-as-background-expected.txt: Removed.
        * platform/qt-mac/Skipped:
        * platform/qt/Skipped:
        * platform/qt/fast/backgrounds/animated-svg-as-background-expected.txt: Removed.
        * platform/qt/fast/backgrounds/svg-as-background-1-expected.txt: Removed.
        * platform/qt/fast/backgrounds/svg-as-background-2-expected.txt: Removed.
        * platform/qt/fast/backgrounds/svg-as-background-3-expected.txt: Removed.
        * platform/qt/fast/backgrounds/svg-as-background-4-expected.txt: Removed.
        * platform/qt/fast/backgrounds/svg-as-background-5-expected.txt: Removed.
        * platform/qt/fast/backgrounds/svg-as-background-6-expected.txt: Removed.
        * platform/qt/svg/as-background-image: Added.
        * platform/qt/svg/as-background-image/animated-svg-as-background-expected.txt: Copied from platform/qt/fast/backgrounds/animated-svg-as-background-expected.txt.
        * platform/qt/svg/as-background-image/svg-as-background-1-expected.txt: Copied from platform/qt/fast/backgrounds/svg-as-background-1-expected.txt.
        * platform/qt/svg/as-background-image/svg-as-background-2-expected.txt: Copied from platform/qt/fast/backgrounds/svg-as-background-2-expected.txt.
        * platform/qt/svg/as-background-image/svg-as-background-3-expected.txt: Copied from platform/qt/fast/backgrounds/svg-as-background-3-expected.txt.
        * platform/qt/svg/as-background-image/svg-as-background-4-expected.txt: Copied from platform/qt/fast/backgrounds/svg-as-background-4-expected.txt.
        * platform/qt/svg/as-background-image/svg-as-background-5-expected.txt: Copied from platform/qt/fast/backgrounds/svg-as-background-5-expected.txt.
        * platform/qt/svg/as-background-image/svg-as-background-6-expected.txt: Copied from platform/qt/fast/backgrounds/svg-as-background-6-expected.txt.
        * platform/qt/svg/as-background-image/svg-as-background-expected.txt: Copied from platform/qt/svg/as-image/svg-as-background-expected.txt.
        * platform/qt/svg/as-background-image/svg-as-background-with-relative-size-expected.png: Copied from platform/qt/svg/as-image/svg-as-background-with-relative-size-expected.png.
        * platform/qt/svg/as-background-image/svg-as-background-with-relative-size-expected.txt: Copied from platform/qt/svg/as-image/svg-as-background-with-relative-size-expected.txt.
        * platform/qt/svg/as-background-image/svg-as-background-with-viewBox-expected.png: Copied from platform/qt/svg/as-image/svg-as-background-with-viewBox-expected.png.
        * platform/qt/svg/as-background-image/svg-as-background-with-viewBox-expected.txt: Copied from platform/qt/svg/as-image/svg-as-background-with-viewBox-expected.txt.
        * platform/qt/svg/as-background-image/svg-as-tiled-background-expected.txt: Copied from platform/qt/svg/as-image/svg-as-tiled-background-expected.txt.
        * platform/qt/svg/as-background-image/svg-background-partial-redraw-expected.png: Copied from platform/qt/svg/as-image/svg-background-partial-redraw-expected.png.
        * platform/qt/svg/as-background-image/svg-background-partial-redraw-expected.txt: Copied from platform/qt/svg/as-image/svg-background-partial-redraw-expected.txt.
        * platform/qt/svg/as-background-image/svg-width-100p-as-background-expected.txt: Copied from platform/qt/svg/as-image/svg-width-100p-as-background-expected.txt.
        * platform/qt/svg/as-image/svg-as-background-expected.txt: Removed.
        * platform/qt/svg/as-image/svg-as-background-with-relative-size-expected.png: Removed.
        * platform/qt/svg/as-image/svg-as-background-with-relative-size-expected.txt: Removed.
        * platform/qt/svg/as-image/svg-as-background-with-viewBox-expected.png: Removed.
        * platform/qt/svg/as-image/svg-as-background-with-viewBox-expected.txt: Removed.
        * platform/qt/svg/as-image/svg-as-tiled-background-expected.txt: Removed.
        * platform/qt/svg/as-image/svg-background-partial-redraw-expected.png: Removed.
        * platform/qt/svg/as-image/svg-background-partial-redraw-expected.txt: Removed.
        * platform/qt/svg/as-image/svg-width-100p-as-background-expected.txt: Removed.
        * svg/as-background-image: Added.
        * svg/as-background-image/animated-svg-as-background.html: Copied from fast/backgrounds/animated-svg-as-background.html.
        * svg/as-background-image/resources: Added.
        * svg/as-background-image/resources/animated-rect-relative-size.svg: Copied from fast/backgrounds/resources/animated-rect-relative-size.svg.
        * svg/as-background-image/resources/balloon.svg: Copied from fast/backgrounds/resources/balloon.svg.
        * svg/as-background-image/resources/butterfly.svg: Copied from svg/as-image/resources/butterfly.svg.
        * svg/as-background-image/resources/circle.svg: Copied from svg/as-image/resources/circle.svg.
        * svg/as-background-image/resources/eyes.svg: Copied from fast/backgrounds/resources/eyes.svg.
        * svg/as-background-image/resources/green-fixed-size-rect.svg: Copied from svg/as-image/resources/green-fixed-size-rect.svg.
        * svg/as-background-image/resources/green-relative-size-rect-with-viewBox.svg: Copied from svg/as-image/resources/green-relative-size-rect-with-viewBox.svg.
        * svg/as-background-image/resources/hearts.svg: Copied from fast/backgrounds/resources/hearts.svg.
        * svg/as-background-image/resources/linguistics.svg: Copied from fast/backgrounds/resources/linguistics.svg.
        * svg/as-background-image/resources/map.svg: Copied from fast/backgrounds/resources/map.svg.
        * svg/as-background-image/resources/mouse-repel.svg: Copied from fast/backgrounds/resources/mouse-repel.svg.
        * svg/as-background-image/resources/svg-as-background-with-relative-size.svg: Copied from svg/as-image/resources/svg-as-background-with-relative-size.svg.
        * svg/as-background-image/resources/width-100-percent.svg: Copied from svg/as-image/resources/width-100-percent.svg.
        * svg/as-background-image/svg-as-background-1.html: Copied from fast/backgrounds/svg-as-background-1.html.
        * svg/as-background-image/svg-as-background-2.html: Copied from fast/backgrounds/svg-as-background-2.html.
        * svg/as-background-image/svg-as-background-3.html: Copied from fast/backgrounds/svg-as-background-3.html.
        * svg/as-background-image/svg-as-background-4.html: Copied from fast/backgrounds/svg-as-background-4.html.
        * svg/as-background-image/svg-as-background-5.html: Copied from fast/backgrounds/svg-as-background-5.html.
        * svg/as-background-image/svg-as-background-6.html: Copied from fast/backgrounds/svg-as-background-6.html.
        * svg/as-background-image/svg-as-background-with-relative-size.html: Copied from svg/as-image/svg-as-background-with-relative-size.html.
        * svg/as-background-image/svg-as-background-with-viewBox.html: Copied from svg/as-image/svg-as-background-with-viewBox.html.
        * svg/as-background-image/svg-as-background.html: Copied from svg/as-image/svg-as-background.html.
        * svg/as-background-image/svg-as-tiled-background.html: Copied from svg/as-image/svg-as-tiled-background.html.
        * svg/as-background-image/svg-background-crash-on-refresh-expected.txt: Copied from svg/as-image/svg-background-crash-on-refresh-expected.txt.
        * svg/as-background-image/svg-background-crash-on-refresh.html: Copied from svg/as-image/svg-background-crash-on-refresh.html.
        * svg/as-background-image/svg-background-partial-redraw.html: Copied from svg/as-image/svg-background-partial-redraw.html.
        * svg/as-background-image/svg-width-100p-as-background.html: Copied from svg/as-image/svg-width-100p-as-background.html.
        * svg/as-border-image: Added.
        * svg/as-border-image/resources: Added.
        * svg/as-border-image/resources/large-tiles.png: Copied from fast/borders/resources/large-tiles.png.
        * svg/as-border-image/resources/tiles-fixed-size.svg: Copied from fast/borders/resources/tiles-fixed-size.svg.
        * svg/as-border-image/resources/tiles-relative-size.svg: Copied from fast/borders/resources/tiles-relative-size.svg.
        * svg/as-border-image/resources/tiles.png: Copied from fast/borders/resources/tiles.png.
        * svg/as-border-image/svg-as-border-image-2.html: Copied from fast/borders/svg-as-border-image-2.html.
        * svg/as-border-image/svg-as-border-image.html: Copied from fast/borders/svg-as-border-image.html.
        * svg/as-image/resources/butterfly.svg: Removed.
        * svg/as-image/resources/green-relative-size-rect-with-viewBox.svg: Removed.
        * svg/as-image/resources/svg-as-background-with-relative-size.svg: Removed.
        * svg/as-image/resources/width-100-percent.svg: Removed.
        * svg/as-image/svg-as-background-with-relative-size.html: Removed.
        * svg/as-image/svg-as-background-with-viewBox.html: Removed.
        * svg/as-image/svg-as-background.html: Removed.
        * svg/as-image/svg-as-tiled-background.html: Removed.
        * svg/as-image/svg-background-crash-on-refresh-expected.txt: Removed.
        * svg/as-image/svg-background-crash-on-refresh.html: Removed.
        * svg/as-image/svg-background-partial-redraw.html: Removed.
        * svg/as-image/svg-width-100p-as-background.html: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91633 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Chromium] Update expectations for r91574.
tkent@chromium.org [Sat, 23 Jul 2011 08:15:09 +0000 (08:15 +0000)]
[Chromium] Update expectations for r91574.

* platform/chromium-win/fast/forms/input-appearance-range-expected.png:
* platform/chromium-win/fast/forms/input-appearance-range-expected.txt:
* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91632 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoAdd crashing and failing expectations for canvas and css tests after r91628.
rniwa@webkit.org [Sat, 23 Jul 2011 04:11:01 +0000 (04:11 +0000)]
Add crashing and failing expectations for canvas and css tests after r91628.
The failures are tracked by the bug 65063.

* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91631 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoAdd crash expectation for http/tests/media/video-error-abort.html on Chromium Mac...
rniwa@webkit.org [Sat, 23 Jul 2011 03:54:38 +0000 (03:54 +0000)]
Add crash expectation for http/tests/media/video-error-abort.html on Chromium Mac and Chromium Windows,
tracked by the bug 65062.

* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91630 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[chromium] Seperate texture management for contents textures vs render surface textures
jamesr@google.com [Sat, 23 Jul 2011 01:55:24 +0000 (01:55 +0000)]
[chromium] Seperate texture management for contents textures vs render surface textures
https://bugs.webkit.org/show_bug.cgi?id=64771

Reviewed by Kenneth Russell.

Splits the chromium texture management across two TextureManagers, one for contents textures and one for render
surfaces.  The lifetimes and relative evicition costs for these types of textures are significantly different.
Content textures need to be managed from paint time through draw time and evicting them is generally expensive,
since replacing the texture requires doing a software repaint into a buffer, creating a new texture, and
uploading the contents into the texture.  Render surface textures are only used while drawing and never contain
useful contents between frames.  The only reason to preserve a render surface texture between frames is to avoid
having to create the texture on the next frame, they never contain useful contents across frames.

The contents texture limits remain the same.  Render surfaces are allocated the difference between the high
memory bound and the contents texture memory use during a frame and the difference between the low memory bound
and the contents texture memory use between frames.

Covered by existing compositing tests.

* platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::releaseTextures):
(WebCore::LayerRendererChromium::drawLayers):
(WebCore::LayerRendererChromium::updateLayers):
(WebCore::LayerRendererChromium::initializeSharedObjects):
(WebCore::LayerRendererChromium::cleanupSharedObjects):
* platform/graphics/chromium/LayerRendererChromium.h:
(WebCore::LayerRendererChromium::contentsTextureManager):
(WebCore::LayerRendererChromium::renderSurfaceTextureManager):
* platform/graphics/chromium/LayerTilerChromium.cpp:
(WebCore::LayerTilerChromium::createTile):
* platform/graphics/chromium/RenderSurfaceChromium.cpp:
(WebCore::RenderSurfaceChromium::prepareContentsTexture):
* platform/graphics/chromium/TextureManager.cpp:
(WebCore::TextureManager::TextureManager):
(WebCore::TextureManager::setMemoryLimitBytes):
(WebCore::TextureManager::requestTexture):
* platform/graphics/chromium/TextureManager.h:
(WebCore::TextureManager::create):
(WebCore::TextureManager::currentMemoryUseBytes):
* platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
(WebCore::CCHeadsUpDisplay::draw):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91629 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-07-22 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sat, 23 Jul 2011 00:39:54 +0000 (00:39 +0000)]
2011-07-22  Simon Fraser  <simon.fraser@apple.com>

        Avoiding painting backgrounds if they are fully obscures by an object's foreground
        https://bugs.webkit.org/show_bug.cgi?id=65030

        Reviewed by Dan Bernstein.

        Some pages use animated loading GIFs as the background of <img>,
        but WebKit keeps animating these after the <img> has loaded.

        Thwart this by avoiding the painting of such backgrounds, if we can
        determine that they are completely obscured by the border and content
        of the element.

        * platform/graphics/BitmapImage.h:
        (WebCore::BitmapImage::currentFrameHasAlpha): Utility method, since currentFrame()
        is protected.
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::paintBoxDecorations): Call paintBackground().
        (WebCore::RenderBox::paintBackground): New wrapper for the paintFillLayers() which
        paints the background layers, plus some code we call in a couple of places. This
        checks the new backgroundIsObscured() method before doing any painting.
        * rendering/RenderBox.h:
        (WebCore::RenderBox::backgroundIsObscured): New virtual method that determines
        whether any of the background is visible.
        * rendering/RenderBoxModelObject.h:
        * rendering/RenderBoxModelObject.cpp:
        (WebCore::BorderEdge::obscuresBackground): Returns true if this edge will
        entirely hide the background under it.
        (WebCore::RenderBoxModelObject::borderObscuresBackground): Determine whether
        the border hides the background.
        * rendering/RenderImage.cpp:
        (WebCore::RenderImage::backgroundIsObscured): Override the RenderBox method
        and return true if the image is a loaded, opaque bitmap image, and the background
        won't show in the border or padding areas.
        * rendering/RenderImage.h:
        * rendering/RenderTable.cpp:
        (WebCore::RenderTable::paintBoxDecorations): Use paintBackground().

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91628 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoPatch by Sommer Panage <panage@apple.com> on 2011-07-22
commit-queue@webkit.org [Sat, 23 Jul 2011 00:19:05 +0000 (00:19 +0000)]
Patch by Sommer Panage <panage@apple.com> on 2011-07-22
Reviewed by Oliver Hunt.

export JSContextCreateBacktrace as SPI in JSContextRefPrivate.h
https://bugs.webkit.org/show_bug.cgi?id=64981

UIAutomation for iOS would like to support a Javascript backtrace in our error logs.
Currently, the C API does not provide the tools to do this. However, the private API
does expose the necessary functionality to get a backtrace
(via Interpreter::retrieveLastCaller). We recognize this information may result in
failure in the cases of programs run by 'eval', stack frames beneath host function
call frames, and in programs run from other programs. Thus, we propose exporting our
JSContextCreateBacktrace in JSContextRefPrivate.h. This will provide us with the tools
we need while not advertising an API that isn't really ready for full use.

* API/JSContextRef.cpp:
* API/JSContextRefPrivate.h:
* JavaScriptCore.exp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91627 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoHTMLImageElement::crossOrigin is hard to use because of caching
kbr@google.com [Sat, 23 Jul 2011 00:18:34 +0000 (00:18 +0000)]
HTMLImageElement::crossOrigin is hard to use because of caching
https://bugs.webkit.org/show_bug.cgi?id=64813

Reviewed by Adam Barth.

Source/WebCore:

Reload the resource if the allowCredentials flag doesn't match that in the request.

Test: http/tests/security/canvas-remote-read-remote-image-blocked-then-allowed.html

* loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::requestResource):
(WebCore::CachedResourceLoader::determineRevalidationPolicy):
* loader/cache/CachedResourceLoader.h:

LayoutTests:

* http/tests/security/canvas-remote-read-remote-image-blocked-then-allowed-expected.txt: Added.
* http/tests/security/canvas-remote-read-remote-image-blocked-then-allowed.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91626 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoChromium Mac rebaseline after r91605.
rniwa@webkit.org [Sat, 23 Jul 2011 00:16:19 +0000 (00:16 +0000)]
Chromium Mac rebaseline after r91605.

* platform/chromium-mac/fast/repaint/fixed-after-scroll-expected.png: Added.
* platform/chromium-mac/fast/repaint/fixed-scale-expected.png: Added.
* platform/chromium-mac/fast/repaint/fixed-table-cell-expected.png: Added.
* platform/chromium-mac/fast/repaint/fixed-table-overflow-expected.png: Added.
* platform/chromium-mac/fast/repaint/fixed-table-overflow-zindex-expected.png: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91625 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoDon't match 'DEBUG' when trying to filter BUG modifiers.
ojan@chromium.org [Sat, 23 Jul 2011 00:10:09 +0000 (00:10 +0000)]
Don't match 'DEBUG' when trying to filter BUG modifiers.
* TestResultServer/static-dashboards/flakiness_dashboard.html:
* TestResultServer/static-dashboards/flakiness_dashboard_tests.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91624 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-07-22 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sat, 23 Jul 2011 00:01:57 +0000 (00:01 +0000)]
2011-07-22  Simon Fraser  <simon.fraser@apple.com>

        Need to update the acceleratesDrawing status on a layer when switching to/from tiled layers
        https://bugs.webkit.org/show_bug.cgi?id=65057

        Reviewed by Joseph Pecoraro.

        When switching to or from tiled layers, we need to update the new layer's
        acceleratesDrawing status.

        * platform/graphics/ca/GraphicsLayerCA.cpp:
        (WebCore::GraphicsLayerCA::swapFromOrToTiledLayer):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91623 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoFix issue loading gtests since there's no g_expectations.
ojan@chromium.org [Fri, 22 Jul 2011 23:58:12 +0000 (23:58 +0000)]
Fix issue loading gtests since there's no g_expectations.
Also, make filing a bug file a webkit.org bug, not a crbug since
the link is only shown for layout tests.
* TestResultServer/static-dashboards/dashboard_base.js:
* TestResultServer/static-dashboards/flakiness_dashboard.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91622 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[chromium] Remove code that attempted to explicitly sync compositing state before...
jamesr@google.com [Fri, 22 Jul 2011 23:37:51 +0000 (23:37 +0000)]
[chromium] Remove code that attempted to explicitly sync compositing state before compositing
https://bugs.webkit.org/show_bug.cgi?id=65055

Reviewed by Kenneth Russell.

There was some logic in WebViewImpl to try to synchronously calculate compositing requirements and sync
compositing state on all frames before painting in an attempt to flush out all pending updates before entering
the composite routines. The idea behind this code was that it would allow us to not worry about compositing
turning off in the middle of a composite operation due to things like RenderLayer overlap being lazily
calculated.  In practice, we still need to be defensive to compositing requirements updating during the
composite anyway and this code is quite expensive on some pages (10ms+ on the HTML specification on my box).

* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::layout):
* src/WebViewImpl.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91621 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agopull test expectations into the dashboard from wvn.webkit.org
ojan@chromium.org [Fri, 22 Jul 2011 23:33:05 +0000 (23:33 +0000)]
pull test expectations into the dashboard from wvn.webkit.org
https://bugs.webkit.org/show_bug.cgi?id=65054

Reviewed by Adam Barth.

Now that svn.webkit.org supports cors headers, we can just grab the txt
file from there instead of generating a JSON file that we upload
to appengine. We'll stop generating the JSON file in a followup patch.

* TestResultServer/static-dashboards/dashboard_base.js:
* TestResultServer/static-dashboards/flakiness_dashboard.html:
* TestResultServer/static-dashboards/flakiness_dashboard_tests.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91620 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoFix typo so the tool works on a case-sensitive file system.
abarth@webkit.org [Fri, 22 Jul 2011 23:32:15 +0000 (23:32 +0000)]
Fix typo so the tool works on a case-sensitive file system.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91619 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogarden-o-matic should know what patches are landing
abarth@webkit.org [Fri, 22 Jul 2011 23:30:14 +0000 (23:30 +0000)]
garden-o-matic should know what patches are landing
https://bugs.webkit.org/show_bug.cgi?id=64978

Reviewed by Dimitri Glazkov.

This patch adds a display of the recently committed patches to
garden-o-matic.  The UI needs iteration, but this patch establishes the
plumbing.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Trac.js:
    - Teach trac how to extract more information from the commit log.
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/config.js:
    - Add a data attribute for storing the revision.
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
    - Add a container for the recent commit history.
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.css:
    - CSS for displaying non-ugly commit history.
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
    - Wire up trac to the UI container.
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui.js:
    - A basic, compact display for a list of commits.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91618 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoAdd [Optional=CallWithDefaultValues] flag and use it in initXXXEvent declarations
commit-queue@webkit.org [Fri, 22 Jul 2011 23:26:54 +0000 (23:26 +0000)]
Add [Optional=CallWithDefaultValues] flag and use it in initXXXEvent declarations
https://bugs.webkit.org/show_bug.cgi?id=64973

Patch by Mark Pilgrim <pilgrim@chromium.org> on 2011-07-22
Reviewed by Adam Barth.

We are doing away with the interface-level LegacyDefaultOptionalArguments
flag. To handle some cases of the old behavior, we need to define a new
(argument-level) flag so that functions can define optional arguments
but not have to declare every single combination of arguments in C++.
The old code generator handled this by calling a single C++ function
with all arguments, but with default values for the "optional" arguments.
Thus, this patch invents a new argument-level flag called
[Optional=CallWithDefaultValue] that emulates the old behavior.

This patch also fixes all the initXXXEvent declarations to remove the
LegacyDefaultOptionalArguments flag and use the new
[Optional=CallWithDefaultValue] flag only on the specific arguments that
require it for backward compatibility.

No new tests, all existing tests pass.

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateFunctionCallback):
* dom/BeforeLoadEvent.idl:
* dom/BeforeProcessEvent.idl:
* dom/CompositionEvent.idl:
* dom/CustomEvent.idl:
* dom/DeviceMotionEvent.idl:
* dom/DeviceOrientationEvent.idl:
* dom/ErrorEvent.idl:
* dom/Event.idl:
* dom/HashChangeEvent.idl:
* dom/KeyboardEvent.idl:
* dom/MessageEvent.idl:
* dom/MouseEvent.idl:
* dom/MutationEvent.idl:
* dom/OverflowEvent.idl:
* dom/PageTransitionEvent.idl:
* dom/PopStateEvent.idl:
* dom/ProgressEvent.idl:
* dom/StreamEvent.idl:
* dom/TextEvent.idl:
* dom/TouchEvent.idl:
* dom/UIEvent.idl:
* dom/WebKitAnimationEvent.idl:
* dom/WebKitTransitionEvent.idl:
* dom/WheelEvent.idl:
* html/canvas/WebGLContextEvent.idl:
* storage/StorageEvent.idl:
* websockets/CloseEvent.idl:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91617 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoSource/WebCore: [WebKit2] Changing the cookie accept policy in Private Browsing doesn...
jberlin@webkit.org [Fri, 22 Jul 2011 23:22:21 +0000 (23:22 +0000)]
Source/WebCore: [WebKit2] Changing the cookie accept policy in Private Browsing doesn’t work
https://bugs.webkit.org/show_bug.cgi?id=64997

Reviewed by Ada Chan.

* WebCore.exp.in:
* platform/mac/WebCoreSystemInterface.h:
* platform/mac/WebCoreSystemInterface.mm:

Source/WebKit2: [WebKit2] Changing the cookie accept policy in Private Browsing doesn’t work.
https://bugs.webkit.org/show_bug.cgi?id=64997

Reviewed by Ada Chan.

* WebProcess/Cookies/mac/WebCookieManagerMac.mm:
(WebKit::WebCookieManager::platformSetHTTPCookieAcceptPolicy):
Set the policy on the Cookie Storage used by the Private Browsing Storage Session as well.
* WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
(InitWebCoreSystemInterface):

WebKitLibraries: [WebKit2] Changing the cookie accept policy in Private Browsing doesn’t work.
https://bugs.webkit.org/show_bug.cgi?id=64997

Reviewed by Ada Chan.

Add a wrapper around the setter for the CF HTTP cookie accept policy (since it is not
declared in the public headers on Snow Leopard). This wrapper is not necessary for Windows.

* WebKitSystemInterface.h:
* libWebKitSystemInterfaceLeopard.a:
* libWebKitSystemInterfaceLion.a:
* libWebKitSystemInterfaceSnowLeopard.a:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91616 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoFix bug when switching from layout-tests to another test-type if
ojan@chromium.org [Fri, 22 Jul 2011 23:05:43 +0000 (23:05 +0000)]
Fix bug when switching from layout-tests to another test-type if
ToT webkit.org is the selected group.
* TestResultServer/static-dashboards/flakiness_dashboard.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91615 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoAdd back in line accidentally deleted in http://trac.webkit.org/changeset/91612.
ojan@chromium.org [Fri, 22 Jul 2011 22:59:26 +0000 (22:59 +0000)]
Add back in line accidentally deleted in trac.webkit.org/changeset/91612.
* TestResultServer/static-dashboards/flakiness_dashboard.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91614 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoHook v8 up to cryptographicallyRandomValues as an entropy source.
cdn@chromium.org [Fri, 22 Jul 2011 22:42:51 +0000 (22:42 +0000)]
Hook v8 up to cryptographicallyRandomValues as an entropy source.
https://bugs.webkit.org/show_bug.cgi?id=64887

Reviewed by Adam Barth.

* public/WebKitClient.h:
* src/WebKit.cpp:
(WebKit::generateEntropy):
(WebKit::initialize):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91613 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agosimplify the flakiness dashboard to only show modifiers/expectations for the current...
ojan@chromium.org [Fri, 22 Jul 2011 22:31:48 +0000 (22:31 +0000)]
simplify the flakiness dashboard to only show modifiers/expectations for the current builder
https://bugs.webkit.org/show_bug.cgi?id=65049

Reviewed by Tony Chang.

This communicates less information, but probably makes the dashboard more usable.
Also make it show that bug lines that don't point to bug numbers still
show up in the bugs column (e.g. BUG_TONY) and stop showing the extra/missing
columns in any view. The data is still used, but only in the view that updates
the test_expectations.txt file.

* TestResultServer/static-dashboards/dashboard_base.js:
* TestResultServer/static-dashboards/flakiness_dashboard.html:
* TestResultServer/static-dashboards/flakiness_dashboard_tests.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91612 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoPerform the JavaScript navigation check on a complete URL
commit-queue@webkit.org [Fri, 22 Jul 2011 22:23:08 +0000 (22:23 +0000)]
Perform the JavaScript navigation check on a complete URL
https://bugs.webkit.org/show_bug.cgi?id=65038

Patch by Sergey Glazunov <serg.glazunov@gmail.com> on 2011-07-22
Reviewed by Adam Barth.

Source/WebCore:

Test: http/tests/security/xss-DENIED-document-baseURI-javascript.html

* page/DOMWindow.cpp:
(WebCore::DOMWindow::setLocation):
(WebCore::DOMWindow::createWindow):
(WebCore::DOMWindow::open):

LayoutTests:

* http/tests/security/xss-DENIED-document-baseURI-javascript-expected.txt: Added.
* http/tests/security/xss-DENIED-document-baseURI-javascript.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91611 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=65051
barraclough@apple.com [Fri, 22 Jul 2011 22:22:21 +0000 (22:22 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=65051
DFG JIT - Enable by default for mac platform on x86-64.

Rubber Stamped by Geoff Garen.

This is now a performance progression.

* wtf/Platform.h:
    - Removed definition of ENABLE_DFG_JIT_RESTRICTIONS.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91610 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=65047
barraclough@apple.com [Fri, 22 Jul 2011 22:08:52 +0000 (22:08 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=65047
DFG JIT - Add support for op_resolve/op_resolve_base

Reviewed by Sam Weinig.

These are necessary for any significant eval code coverage
(and as such increase LayoutTest coverage).

* dfg/DFGAliasTracker.h:
(JSC::DFG::AliasTracker::recordResolve):
    - Conservatively blow aliasing optimizations for now.
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock):
    - Add support for op_resolve/op_resolve_base.
* dfg/DFGJITCodeGenerator.h:
(JSC::DFG::JITCodeGenerator::callOperation):
    - Add call with exec, identifer aguments.
* dfg/DFGNode.h:
    - Add new node types.
(JSC::DFG::Node::hasIdentifier):
    - Resolve nodes have identifiers, too!
* dfg/DFGNonSpeculativeJIT.cpp:
(JSC::DFG::NonSpeculativeJIT::compile):
    - Add generation for new Nodes.
* dfg/DFGOperations.cpp:
* dfg/DFGOperations.h:
    - Added new operations.
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compile):
    - Add generation for new Nodes.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91607 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRevert r91595 for it broke Chromium Windows build.
rniwa@webkit.org [Fri, 22 Jul 2011 21:31:04 +0000 (21:31 +0000)]
Revert r91595 for it broke Chromium Windows build.

* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91606 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRenderLayer fixed position logic needs more basic testing
jchaffraix@webkit.org [Fri, 22 Jul 2011 21:28:10 +0000 (21:28 +0000)]
RenderLayer fixed position logic needs more basic testing
https://bugs.webkit.org/show_bug.cgi?id=64650

Reviewed by James Robinson.

Those test checks that basic repainting with position: fixed and
scrolling works correctly. The tests are mostly platform-agnostic as they
don't use any text or native controls.

* fast/repaint/resources/default.css: Added.
Default style sheet for the following tests. This style sheet sets the default size to
avoid complicated calculation and adds some neat classes.

* fast/repaint/fixed-scroll-simple.html: Added.
Filed https://bugs.webkit.org/show_bug.cgi?id=64639 about this test as we repaint too much.

* fast/repaint/fixed-after-scroll-expected.txt: Added.
* fast/repaint/fixed-after-scroll.html: Added.
* fast/repaint/fixed-scale.html: Added.
* fast/repaint/fixed-table-cell.html: Added.
* fast/repaint/fixed-table-overflow-zindex.html: Added.
* fast/repaint/fixed-table-overflow.html: Added.
Added those new repaint dumpAsText(true) tests.

* fast/repaint/fixed-scale-expected.txt: Added.
* fast/repaint/fixed-scroll-simple-expected.txt: Added.
* fast/repaint/fixed-table-cell-expected.txt: Added.
* fast/repaint/fixed-table-overflow-expected.txt: Added.
* fast/repaint/fixed-table-overflow-zindex-expected.txt: Added.
* platform/chromium/fast/repaint/fixed-after-scroll-expected.png: Added.
* platform/chromium/fast/repaint/fixed-scale-expected.png: Added.
* platform/chromium/fast/repaint/fixed-scroll-simple-expected.png: Added.
* platform/chromium/fast/repaint/fixed-table-cell-expected.png: Added.
* platform/chromium/fast/repaint/fixed-table-overflow-expected.png: Added.
* platform/chromium/fast/repaint/fixed-table-overflow-zindex-expected.png: Added.
* platform/mac/fast/repaint/fixed-after-scroll-expected.png: Added.
* platform/mac/fast/repaint/fixed-scale-expected.png: Added.
* platform/mac/fast/repaint/fixed-scroll-simple-expected.png: Added.
* platform/mac/fast/repaint/fixed-table-cell-expected.png: Added.
* platform/mac/fast/repaint/fixed-table-overflow-expected.png: Added.
* platform/mac/fast/repaint/fixed-table-overflow-zindex-expected.png: Added.
* platform/qt/fast/repaint/fixed-after-scroll-expected.png: Added.
* platform/qt/fast/repaint/fixed-scale-expected.png: Added.
* platform/qt/fast/repaint/fixed-scroll-simple-expected.png: Added.
* platform/qt/fast/repaint/fixed-table-cell-expected.png: Added.
* platform/qt/fast/repaint/fixed-table-overflow-expected.png: Added.
* platform/qt/fast/repaint/fixed-table-overflow-zindex-expected.png: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91605 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoChromium test expectation update; also rebaseline a test after r91574.
rniwa@webkit.org [Fri, 22 Jul 2011 21:25:01 +0000 (21:25 +0000)]
Chromium test expectation update; also rebaseline a test after r91574.

* platform/chromium-mac/media/video-volume-slider-expected.txt:
* platform/chromium-win/media/video-volume-slider-expected.txt:
* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91604 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoBORDER attribute with the IMG tag, using percentage values not working.
commit-queue@webkit.org [Fri, 22 Jul 2011 20:27:56 +0000 (20:27 +0000)]
BORDER attribute with the IMG tag, using percentage values not working.
https://bugs.webkit.org/show_bug.cgi?id=20226

Patch by Mihnea Ovidenie <mihnea@adobe.com> on 2011-07-22
Reviewed by Simon Fraser.

When border presentational attribute of image element has % in it, it should be parsed using
HTML parser rules. In this case, the algorithm is the one used described in:
http://www.whatwg.org/specs/web-apps/current-work/#rules-for-parsing-non-negative-integers

Source/WebCore:

* html/HTMLImageElement.cpp:
(WebCore::parseBorderWidthAttribute):
(WebCore::HTMLImageElement::parseMappedAttribute):
* html/parser/HTMLParserIdioms.cpp:
(WebCore::parseHTMLNonNegativeInteger):
* html/parser/HTMLParserIdioms.h:

LayoutTests:

* fast/images/border-expected.txt:
* fast/images/script-tests/border.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91601 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoDocumentLoader keeps a reference to all URL strings ever loaded in m_resourcesClientK...
commit-queue@webkit.org [Fri, 22 Jul 2011 20:17:44 +0000 (20:17 +0000)]
DocumentLoader keeps a reference to all URL strings ever loaded in m_resourcesClientKnowsAbout leading to lots of memory waste
https://bugs.webkit.org/show_bug.cgi?id=61894

Patch by Scott Graham <scottmg@chromium.org> on 2011-07-22
Reviewed by James Robinson.

DocumentLoader::m_resourcesClientKnowsAbout is a set of all the URLs
that have passed through FrameLoader::dispatchWillSendRequest() and is
used by FrameLoader::loadedResourceFromMemoryCached to decide whether
to inform the FrameLoader's m_client about this load.  Unfortunately,
this set holds a reference to the URL string for every resource
loaded, so on pages that use data URLs to "load" large amounts of data
this leaks lots of memory. The cache improves performance going through
FrameLoader::loadResourceFromMemoryCache, so rather than removing it,
simply exclude 'data:' urls from the cache to save the majority of
memory that is held for too long.

* loader/DocumentLoader.h:
(WebCore::DocumentLoader::didTellClientAboutLoad):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91600 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUse software rendering for small canvas
alokp@chromium.org [Fri, 22 Jul 2011 20:04:56 +0000 (20:04 +0000)]
Use software rendering for small canvas
https://bugs.webkit.org/show_bug.cgi?id=64958

Reviewed by Stephen White.

No new tests. Does not affect rendering output, just canvas backing.
If there is a regression, they should be caught by existing canvas tests.

* html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::reset):
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::shouldAccelerateCanvas):
(WebCore::CanvasRenderingContext2D::CanvasRenderingContext2D):
(WebCore::CanvasRenderingContext2D::reset):
(WebCore::CanvasRenderingContext2D::platformLayer):
(WebCore::CanvasRenderingContext2D::clearAcceleration):
(WebCore::CanvasRenderingContext2D::resetAcceleration):
* html/canvas/CanvasRenderingContext2D.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91599 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-07-22 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Fri, 22 Jul 2011 19:57:42 +0000 (19:57 +0000)]
2011-07-22  Nate Chapin  <japhet@chromium.org>

        Unreviewed, chromium expectations update.
        media/adopt-node-crash.html hasn't been flaky recently.

        * platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91598 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoFix repainting of composited fixed position elements in iframes
enne@google.com [Fri, 22 Jul 2011 19:52:52 +0000 (19:52 +0000)]
Fix repainting of composited fixed position elements in iframes
https://bugs.webkit.org/show_bug.cgi?id=64010

Reviewed by Simon Fraser.

Source/WebCore:

In cases where an iframe's contents have their own graphics layer, the
invalidation during scrolling was being sent to the wrong render
layer. Fixed by checking if such a layer exists and routing scrolling
invalidations there first.

* page/FrameView.cpp:
(WebCore::FrameView::scrollContentsSlowPath):

LayoutTests:

* compositing/iframes/fixed-position-iframe-expected.png: Added.
* compositing/iframes/fixed-position-iframe-expected.txt: Added.
* compositing/iframes/fixed-position-iframe.html: Added.
* compositing/iframes/resources/fixed-position-subframe.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91597 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoImprove (i.e., speed up) .gyp(i) files for Chromium
commit-queue@webkit.org [Fri, 22 Jul 2011 19:42:17 +0000 (19:42 +0000)]
Improve (i.e., speed up) .gyp(i) files for Chromium
https://bugs.webkit.org/show_bug.cgi?id=65032

Patch by Viet-Trung Luu <viettrungluu@chromium.org> on 2011-07-22
Reviewed by Adam Barth.

Begin splitting off webcore_(privateheader_)files into separate lists
(dom/html/svg in this patch), to avoid the very slow pattern of
excluding all files and then filtering to include selected files.

Test by building (in all supported configurations).

* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91595 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoadd placeholder RenderFlexibleBox.cpp files
tony@chromium.org [Fri, 22 Jul 2011 19:35:52 +0000 (19:35 +0000)]
add placeholder RenderFlexibleBox.cpp files
https://bugs.webkit.org/show_bug.cgi?id=64982

Reviewed by Ojan Vafai.

No new tests, just adding new files and making sure it compiles.
Also adding the isFlexibleBox identifier to RenderObject.

* CMakeLists.txt:
* GNUmakefile.list.am:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* rendering/RenderFlexibleBox.cpp: Added.
(WebCore::RenderFlexibleBox::RenderFlexibleBox): Inherit from RenderBlock like the old flexbox.
(WebCore::RenderFlexibleBox::~RenderFlexibleBox):
(WebCore::RenderFlexibleBox::renderName):
(WebCore::RenderFlexibleBox::layoutBlock):
* rendering/RenderFlexibleBox.h: Added.
(WebCore::RenderFlexibleBox::isFlexibleBox):
* rendering/RenderObject.h:
(WebCore::RenderObject::isFlexibleBox):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91594 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[chromium] Force slow scrolling path for non-composited frames in a composited page
jamesr@google.com [Fri, 22 Jul 2011 19:26:38 +0000 (19:26 +0000)]
[chromium] Force slow scrolling path for non-composited frames in a composited page
https://bugs.webkit.org/show_bug.cgi?id=64991

Reviewed by Darin Fisher.

The chromium compositor does not properly handle fast path scrolls for non-composited iframe in a composited
page.

* page/FrameView.cpp:
(WebCore::FrameView::useSlowRepaints):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91591 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agohook in the rest of the bots to the dashboard now they run NRWT
ojan@chromium.org [Fri, 22 Jul 2011 19:16:25 +0000 (19:16 +0000)]
hook in the rest of the bots to the dashboard now they run NRWT
https://bugs.webkit.org/show_bug.cgi?id=64985

Reviewed by Adam Barth.

* TestResultServer/static-dashboards/builders.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91586 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUpdate results after change to make columns and column-span establish
weinig@apple.com [Fri, 22 Jul 2011 19:15:23 +0000 (19:15 +0000)]
Update results after change to make columns and column-span establish
formatting contexts in r91497

* fast/multicol/single-line-expected.txt:
* platform/mac/fast/multicol/float-multicol-expected.txt:
* platform/mac/fast/multicol/scrolling-overflow-expected.txt:
* platform/mac/fast/multicol/span/anonymous-before-child-parent-crash-expected.txt:
* platform/mac/fast/multicol/span/anonymous-split-block-crash-expected.txt:
* platform/mac/fast/multicol/span/anonymous-style-inheritance-expected.txt:
* platform/mac/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.txt:
* platform/mac/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.txt:
* platform/mac/fast/multicol/span/span-as-immediate-child-generated-content-expected.txt:
* platform/mac/fast/multicol/span/span-as-immediate-child-property-removal-expected.txt:
* platform/mac/fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.txt:
* platform/mac/fast/multicol/span/span-as-immediate-columns-child-expected.txt:
* platform/mac/fast/multicol/span/span-as-immediate-columns-child-removal-expected.txt:
* platform/mac/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.txt:
* platform/mac/fast/multicol/span/span-as-nested-columns-child-expected.txt:
* platform/mac/fast/multicol/span/span-margin-collapsing-expected.txt:
* platform/mac/fast/multicol/vertical-lr/float-multicol-expected.txt:
* platform/mac/fast/multicol/vertical-rl/float-multicol-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91585 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRemove surfaceType() and texture() methods from Chromium video frame classes.
scherkus@chromium.org [Fri, 22 Jul 2011 19:07:41 +0000 (19:07 +0000)]
Remove surfaceType() and texture() methods from Chromium video frame classes.
https://bugs.webkit.org/show_bug.cgi?id=64818

Reviewed by Kenneth Russell.

Source/WebCore:

No tests as code was never being executed.

* platform/graphics/chromium/VideoFrameChromium.h:
* platform/graphics/chromium/VideoLayerChromium.cpp:
(WebCore::VideoLayerChromium::updateCompositorResources):
* platform/graphics/chromium/VideoLayerChromium.h:

Source/WebKit/chromium:

* public/WebVideoFrame.h:
* src/AssertMatchingEnums.cpp:
* src/VideoFrameChromiumImpl.cpp:
* src/VideoFrameChromiumImpl.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91584 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoSource/WebCore: Don't treat child frame loads as back-forward navigations
japhet@chromium.org [Fri, 22 Jul 2011 19:01:56 +0000 (19:01 +0000)]
Source/WebCore: Don't treat child frame loads as back-forward navigations
after the load event fires. This can lead to loading
the wrong url in the child frame.
https://bugs.webkit.org/show_bug.cgi?id=64895

Reviewed by Mihai Parparita.

Test: fast/loader/child-frame-add-after-back-forward.html

* dom/Document.h: Drive-by FIXME.
* loader/DocumentLoader.h: Drive-by FIXME.
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::loadURLIntoChildFrame):

LayoutTests: Test for https://bugs.webkit.org/show_bug.cgi?id=64895.

Reviewed by Mihai Parparita.

* fast/loader/child-frame-add-after-back-forward-expected.txt: Added.
* fast/loader/child-frame-add-after-back-forward.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91583 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=65036
barraclough@apple.com [Fri, 22 Jul 2011 18:25:57 +0000 (18:25 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=65036
Messing with the register allocation within flow control = badness.

Reviewed by Sam Weinig.

* dfg/DFGNonSpeculativeJIT.cpp:
(JSC::DFG::NonSpeculativeJIT::compile):
    - Fix register allocation.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91578 268f45cc-cd09-0410-ab3c-d52691b4dbfc