2009-07-13 Simon Hausmann Reviewed by Ariya Hidayat. Enable a bunch of plugin layout tests for the Qt DRT. * platform/qt/Skipped: 2009-07-13 Simon Hausmann Reviewed by Ariya Hidayat. Removed two more storage tests from the Qt DRT skip list that relied on layoutTestController to be accessible in newly opened windows. * platform/qt/Skipped: 2009-07-13 Simon Hausmann Reviewed by Ariya Hidayat. Removed three tests from the Qt DRT Skip list that rely on LayoutTestController.setPrivateBrowsingEnabled and pass now. * platform/qt/Skipped: 2009-07-13 Simon Hausmann Reviewed by Ariya Hidayat. Enable a bunch of more storage layout tests for the Qt DRT, now that they pass. * platform/qt/Skipped: 2009-07-13 Simon Hausmann Reviewed by Ariya Hidayat. Enable some storage layout tests in the Qt DRT, as the pass now. * platform/qt/Skipped: 2009-07-13 Simon Hausmann Reviewed by Ariya Hidayat. Removed 20 more frame tests from the Qt skip list as they pass now after making sure we only dump after the main frame's loadFinished signal. * platform/qt/Skipped: 2009-07-13 Simon Hausmann Reviewed by Ariya Hidayat. Remove fast/frames/removal-before-attach-crash.html and fast/dom/StyleSheet/ownerNode-lifetime-2.html from the Qt DRT skip list, as they pass now with support for the GCController. * platform/qt/Skipped: 2009-07-13 Jan Michael Alonzo [Gtk] REGRESSION (r45440): fails at fast/events/frame-programmatic-focus.html Reviewed by Gustavo Noronha. Unskip fast/events/frame-programmatic-focus.html * platform/gtk/Skipped: 2009-07-13 Jan Michael Alonzo https://bugs.webkit.org/show_bug.cgi?id=26718 [Gtk] Add support for javascript windows for DRT Reviewed by Gustavo Noronha and Xan Lopez. Unskip tests that now pass due to support for JS windows in Gtk DRT. * platform/gtk/Skipped: 2009-07-13 Simon Hausmann Rubber-stamped by Oliver Hunt. Tweak mouseout-dead-subframe.html to be more robust. The test calls notifyDone() and then dumpAsText(). The latter call has no effect as notifyDone() performs the dump, but it passes in the mac DRT because the mime-type of the .html file is detected as text/plain and therefore the text is dumped instead of the render tree. Changed the testcase to call dumpAsText() first and then notifyDone(), to make it pass without relying on the mime type detection. That also makes the test pass in the Qt DRT. * fast/events/mouseout-dead-subframe.html: Swapped notifyDone() and dumpAsText() calls to call the former before the latter. * platform/qt/Skipped: Removed skipped test. 2009-07-13 Drew Wilson Reviewed by David Levin. Add ENABLE(SHARED_WORKERS) flag and define SharedWorker APIs https://bugs.webkit.org/show_bug.cgi?id=26932 Unit tests for new SharedWorker APIs (disabled by default). * fast/workers/shared-worker-constructor-expected.txt: Added. * fast/workers/shared-worker-constructor.html-disabled: Added. * fast/workers/shared-worker-event-listener-expected.txt: Added. * fast/workers/shared-worker-event-listener.html-disabled: Added. 2009-07-12 Adam Barth Reviewed by Oliver Hunt. Facebook Chat is broken due to XSS auditor https://bugs.webkit.org/show_bug.cgi?id=27179 Add some more test coverage to our handling of script tags with src attributes. Also, ensure that we don't raise the alarm when a URL parameter is injected directly into the attribute value. * http/tests/security/xssAuditor/resources/echo-script-src.pl: Added. * http/tests/security/xssAuditor/script-tag-src-redirect-safe-expected.txt: Copied from LayoutTests/http/tests/security/xssAuditor/base-href-safe-expected.txt. * http/tests/security/xssAuditor/script-tag-src-redirect-safe.html: Added. * http/tests/security/xssAuditor/script-tag-with-source-double-quote-expected.txt: Copied from LayoutTests/http/tests/security/xssAuditor/anchor-url-dom-write-location-expected.txt. * http/tests/security/xssAuditor/script-tag-with-source-double-quote.html: Added. * http/tests/security/xssAuditor/script-tag-with-source-no-quote-expected.txt: Copied from LayoutTests/http/tests/security/xssAuditor/anchor-url-dom-write-location-expected.txt. * http/tests/security/xssAuditor/script-tag-with-source-no-quote.html: Added. 2009-07-12 Eric Carlson Reviewed by Dan Bernstein. https://bugs.webkit.org/show_bug.cgi?id=27197 QuickTime supports data: urls, add a layout test. * media/audio-data-url-expected.txt: Added. * media/audio-data-url.html: Added. New test. * platform/gtk/Skipped: Skip the new test. 2009-07-12 Daniel Bates Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=27189 Tests that XSSAuditor does not block HTML Base elements whose path has the same host as the page. * http/tests/security/xssAuditor/base-href-safe3-expected.txt: Added. * http/tests/security/xssAuditor/base-href-safe3.html: Added. * http/tests/security/xssAuditor/resources/base-href/base-href-safe3.html: Added. 2009-07-11 Oliver Hunt Reviewed by Simon Fraser. Bug 27187 - Match Gecko behaviour for canvas path mutation APIs on an empty path Add tests for the behaviour of effected APIs. * fast/canvas/canvas-modify-emptyPath-expected.txt: Added. * fast/canvas/canvas-modify-emptyPath.html: Added. * fast/canvas/resources/canvas-modify-emptyPath.js: Added. (getColor): 2009-07-11 Eric Carlson Reviewed by Antti Koivisto. HTMLMediaElement.canPlayType "maybe" and "probably" reversed https://bugs.webkit.org/show_bug.cgi?id=27186 * media/video-can-play-type-expected.txt: * media/video-can-play-type.html: 2009-07-11 Simon Fraser Enable support for accelerated compositing and 3d transforms on Leopard. Reviewed by Oliver Hunt. Add Leopard-specific pixel results for compositing and 3d-transform tests, since there are gamma differences between Leopard and SnowLeopard. Also some layer intersection behavior differs betweeen the two. * platform/mac-leopard/compositing/direct-image-compositing-expected.checksum: Added. * platform/mac-leopard/compositing/direct-image-compositing-expected.png: Added. * platform/mac-leopard/compositing/geometry/root-layer-update-expected.checksum: Added. * platform/mac-leopard/compositing/geometry/root-layer-update-expected.png: Added. * platform/mac-leopard/compositing/overflow/overflow-positioning-expected.checksum: Added. * platform/mac-leopard/compositing/overflow/overflow-positioning-expected.png: Added. * platform/mac-leopard/compositing/repaint/become-overlay-composited-layer-expected.checksum: Added. * platform/mac-leopard/compositing/repaint/become-overlay-composited-layer-expected.png: Added. * platform/mac-leopard/compositing/repaint/layer-repaint-rects-expected.checksum: Added. * platform/mac-leopard/compositing/repaint/layer-repaint-rects-expected.png: Added. * platform/mac-leopard/transforms/3d/general/perspective-units-expected.checksum: Added. * platform/mac-leopard/transforms/3d/general/perspective-units-expected.png: Added. * platform/mac-leopard/transforms/3d/point-mapping/3d-point-mapping-2-expected.checksum: Added. * platform/mac-leopard/transforms/3d/point-mapping/3d-point-mapping-2-expected.png: Added. * platform/mac-leopard/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.checksum: Added. * platform/mac-leopard/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.png: Added. * platform/mac-leopard/transforms/3d/point-mapping/3d-point-mapping-deep-expected.checksum: Added. * platform/mac-leopard/transforms/3d/point-mapping/3d-point-mapping-deep-expected.png: Added. * platform/mac-leopard/transforms/3d/point-mapping/3d-point-mapping-expected.checksum: Added. * platform/mac-leopard/transforms/3d/point-mapping/3d-point-mapping-expected.png: Added. * platform/mac-leopard/transforms/3d/point-mapping/3d-point-mapping-origins-expected.checksum: Added. * platform/mac-leopard/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png: Added. * platform/mac-leopard/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.checksum: Added. * platform/mac-leopard/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.png: Added. * platform/mac-leopard/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.checksum: Added. * platform/mac-leopard/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png: Added. * platform/mac-tiger/fast/media/mq-transform-02-expected.checksum: Renamed from LayoutTests/platform/mac-leopard/fast/media/mq-transform-02-expected.checksum. * platform/mac-tiger/fast/media/mq-transform-02-expected.png: Renamed from LayoutTests/platform/mac-leopard/fast/media/mq-transform-02-expected.png. * platform/mac-tiger/fast/media/mq-transform-02-expected.txt: Renamed from LayoutTests/platform/mac-leopard/fast/media/mq-transform-02-expected.txt. * platform/mac-tiger/fast/media/mq-transform-03-expected.checksum: Renamed from LayoutTests/platform/mac-leopard/fast/media/mq-transform-03-expected.checksum. * platform/mac-tiger/fast/media/mq-transform-03-expected.png: Renamed from LayoutTests/platform/mac-leopard/fast/media/mq-transform-03-expected.png. * platform/mac-tiger/fast/media/mq-transform-03-expected.txt: Renamed from LayoutTests/platform/mac-leopard/fast/media/mq-transform-03-expected.txt. Fix the media query results for leopard, which now supports 3d transforms. Move the 3d-disabled results to the Tiger directory. 2009-07-10 Daniel Bates Reviewed by Adam Barth. https://bugs.webkit.org/show_bug.cgi?id=26921 Tests protection against HTML entities encoded attacks. * http/tests/security/xssAuditor/inline-event-HTML-entities-expected.txt: Added. * http/tests/security/xssAuditor/inline-event-HTML-entities.html: Added. * http/tests/security/xssAuditor/javascript-link-HTML-entities-control-char-expected.txt: Added. * http/tests/security/xssAuditor/javascript-link-HTML-entities-control-char.html: Added. * http/tests/security/xssAuditor/javascript-link-HTML-entities-expected.txt: Added. * http/tests/security/xssAuditor/javascript-link-HTML-entities-named-expected.txt: Added. * http/tests/security/xssAuditor/javascript-link-HTML-entities-named.html: Added. * http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt: Added. * http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char.html: Added. * http/tests/security/xssAuditor/javascript-link-HTML-entities.html: Added. * http/tests/security/xssAuditor/link-onclick-entities-expected.txt: Added. * http/tests/security/xssAuditor/link-onclick-entities.html: Added. * http/tests/security/xssAuditor/script-tag-entities-expected.txt: Added. * http/tests/security/xssAuditor/script-tag-entities.html: Added. * http/tests/security/xssAuditor/script-tag-with-source-entities-expected.txt: Added. * http/tests/security/xssAuditor/script-tag-with-source-entities.html: Added. 2009-07-10 Daniel Bates Reviewed by Adam Barth. https://bugs.webkit.org/show_bug.cgi?id=27151 Tests prevention of JavaScript URLs that contain null- and non-null control characters. * http/tests/security/xssAuditor/javascript-link-control-char-expected.txt: Added. * http/tests/security/xssAuditor/javascript-link-control-char.html: Added. * http/tests/security/xssAuditor/javascript-link-expected.txt: Added. * http/tests/security/xssAuditor/javascript-link-null-char-expected.txt: Added. * http/tests/security/xssAuditor/javascript-link-null-char.html: Added. * http/tests/security/xssAuditor/javascript-link.html: Added. * http/tests/security/xssAuditor/resources/echo-intertag-click-and-notify.pl: Added. 2009-07-10 Jan Michael Alonzo Skip tests in the Gtk port that - are dependent on eventSender - require platform-specific results - regressed (with links to the regression bug report) - failing (due to missing/incomplete implementation) * platform/gtk/Skipped: 2009-07-10 Eric Carlson Reviewed by Simon Fraser. . Update media tests for new SnowLeopard controller layout. * platform/mac/media/controls-after-reload-expected.txt: * platform/mac/media/controls-styling-expected.txt: * platform/mac/media/video-empty-source-expected.txt: * platform/mac/media/video-zoom-controls-expected.txt: 2009-07-10 Peter Kasting https://bugs.webkit.org/show_bug.cgi?id=19562 Disable a failing layout test caused by the patch for this bug until I have time to determine that the obvious fix is correct. * fast/dom/domListEnumeration.html: Removed. * fast/dom/domListEnumeration.html-disabled: Copied from LayoutTests/fast/dom/domListEnumeration.html. 2009-07-10 Michelangelo De Simone Reviewed by Adele Peterson. https://bugs.webkit.org/show_bug.cgi?id=19562 Minimal test case for ValidityState; more tests are going to be added along with specific validation routines. * fast/forms/ValidityState-001-expected.txt: Added. * fast/forms/ValidityState-001.html: Added. 2009-07-10 Simon Hausmann No Review, just re-ordering Qt DRT skip list. Moved skipped crash tests to the crash section. * platform/qt/Skipped: 2009-07-10 Dirk Pranke Reviewed by Darin Adler. Changing the test string from a platform-dependent file:/// to a more generic http://. https://bugs.webkit.org/show_bug.cgi?id=27138 * fast/dom/anchor-toString-expected.txt: * fast/dom/anchor-toString.html: 2009-07-10 Simon Hausmann No Review, just skipping a new test for Qt DRT. Skip fast/forms/slider-delete-while-dragging-thumb.html due to missing eventSender bits & pieces. * platform/qt/Skipped: 2009-07-10 Dan Bernstein Reviewed by Simon Fraser. - test for https://bugs.webkit.org/show_bug.cgi?id=27137 REGRESSION (r44311): Reproducible crash due to infinite recursion into FrameLoader::gotoAnchor() -> FrameView::layout() * fast/loader/goto-anchor-infinite-layout-expected.txt: Added. * fast/loader/goto-anchor-infinite-layout.html: Added. 2009-07-09 Simon Hausmann Reviewed by Holger Freyther. Re-enabled dom/xhtml/level2/html/HTMLBaseElement0{1,2} for the Qt DRT, as there's now a cross-platform result and it passes. * platform/qt/Skipped: * platform/qt/dom/xhtml/level2/html/HTMLBaseElement01-expected.txt: Removed. * platform/qt/dom/xhtml/level2/html/HTMLBaseElement02-expected.txt: Removed. 2009-07-08 Simon Hausmann Reviewed by Holger Freyther. https://bugs.webkit.org/show_bug.cgi?id=27108 Remove fast/loader/frame-creation-removal.html from the skip list, it passes now. * platform/qt/Skipped: 2009-07-08 Simon Hausmann Reviewed by Holger Freyther. https://bugs.webkit.org/show_bug.cgi?id=27109 Remove various tests from the Qt skip list that previously failed due to DRT side-effects. * platform/qt/Skipped: 2009-07-09 Oliver Hunt Reviewed by Maciej Stachowiak. Bug 27142 - canPlayType() should return empty string for unsupported content Update test to check for the empty string rather than "no" * media/video-can-play-type-expected.txt: * media/video-can-play-type.html: 2009-07-09 Roland Steiner Reviewed by Maciej Stachowiak. Test proper parsing of HTML5 and tags. Both tags are optional if followed by another / tag. See also https://bugs.webkit.org/show_bug.cgi?id=26985 * fast/ruby: Added. * fast/ruby/parse-rp-expected.txt: Added. * fast/ruby/parse-rp.html: Added. 2009-07-09 Maciej Stachowiak Reviewed by Darin Adler. REGRESSION: crash in edge cases of floating point parsing. https://bugs.webkit.org/show_bug.cgi?id=27110 Test cases for both JavaScript and CSS use of dtoa. * fast/css/number-parsing-crash-2-expected.txt: Added. * fast/css/number-parsing-crash-2.html: Added. * fast/css/number-parsing-crash-expected.txt: Added. * fast/css/number-parsing-crash.html: Added. * fast/js/number-parsing-crash-expected.txt: Added. * fast/js/number-parsing-crash.html: Added. * fast/js/resources/number-parsing-crash.js: Added. 2009-07-09 Drew Wilson Reviewed by Alexey Proskuryakov. https://bugs.webkit.org/show_bug.cgi?id=26903 Turned on CHANNEL_MESSAGING by default, re-enabled the various tests, and updated expected results. * fast/dom/Window/window-properties-expected.txt: * fast/dom/constructors-cached-navigate-expected.txt: * fast/events/message-channel-gc-2.html: Renamed from LayoutTests/fast/events/message-channel-gc-2.html-disabled. * fast/events/message-channel-gc-3.html: Renamed from LayoutTests/fast/events/message-channel-gc-3.html-disabled. * fast/events/message-channel-gc-4.html: Renamed from LayoutTests/fast/events/message-channel-gc-4.html-disabled. * fast/events/message-channel-gc.html: Renamed from LayoutTests/fast/events/message-channel-gc.html-disabled. * fast/events/message-channel-listener-circular-ownership.html: Renamed from LayoutTests/fast/events/message-channel-listener-circular-ownership.html-disabled. * fast/events/message-port-clone.html: Renamed from LayoutTests/fast/events/message-port-clone.html-disabled. * fast/events/message-port-constructor-for-deleted-document.html: Renamed from LayoutTests/fast/events/message-port-constructor-for-deleted-document.html-disabled. * fast/events/message-port-deleted-document.html: Renamed from LayoutTests/fast/events/message-port-deleted-document.html-disabled. * fast/events/message-port-deleted-frame.html: Renamed from LayoutTests/fast/events/message-port-deleted-frame.html-disabled. * fast/events/message-port-inactive-document.html: Renamed from LayoutTests/fast/events/message-port-inactive-document.html-disabled. * fast/events/message-port-no-wrapper.html: Renamed from LayoutTests/fast/events/message-port-no-wrapper.html-disabled. * fast/events/message-port.html: Renamed from LayoutTests/fast/events/message-port.html-disabled. * fast/js/global-constructors-expected.txt: * fast/workers/worker-cloneport.html: Renamed from LayoutTests/fast/workers/worker-cloneport.html-disabled. * fast/workers/worker-messageport-gc.html: Renamed from LayoutTests/fast/workers/worker-messageport-gc.html-disabled. * fast/workers/worker-messageport.html: Renamed from LayoutTests/fast/workers/worker-messageport.html-disabled. * http/tests/security/MessagePort/event-listener-context.html: Renamed from LayoutTests/http/tests/security/MessagePort/event-listener-context.html-disabled 2009-07-09 Pierre d'Herbemont Reviewed by Simon Fraser. Full page zoom breaks remaining and elapsed time display in the