LayoutTests/ChangeLog

 12011-02-25 Xianzhu Wang <wangxianzhu@google.com>
 2
 3 Reviewed by NOBODY (OOPS!).
 4
 5 In layout tests, iframe's onload handler should not use script function
 6 defined after the iframe.
 7 https://bugs.webkit.org/show_bug.cgi?id=54942
 8
 9 Found and fixed more tests in addition to the first patch to bug 54942.
 10 Tried best to avoid expectation changes.
 11
 12 * editing/execCommand/find-after-replace.html:
 13 * editing/input/option-page-up-down.html:
 14 * editing/input/scroll-viewport-page-up-down.html:
 15 * editing/pasteboard/copy-standalone-image.html:
 16 * editing/pasteboard/drag-image-to-contenteditable-in-iframe.html:
 17 * editing/pasteboard/paste-noscript-xhtml.xhtml:
 18 * editing/selection/drag-in-iframe.html:
 19 * editing/undo/undo-iframe-location-change.html:
 20 * fast/dom/DOMImplementation/createDocument-with-used-doctype-expected.txt:
 21 * fast/dom/DOMImplementation/createDocument-with-used-doctype.html:
 22 * fast/dom/Window/window-postmessage-clone-frames.html:
 23 * fast/dynamic/paused-event-dispatch.html:
 24 * fast/events/keydown-remove-frame.html:
 25 * fast/events/mousedown-in-subframe-scrollbar.html:
 26 * fast/frames/content-opacity-2.html:
 27 * fast/frames/viewsource-plain-text-tags.html:
 28 * fast/frames/viewsource-unfinished-tags.html:
 29 * fast/history/form-submit-in-frame-via-onclick.html:
 30 * fast/history/form-submit-in-frame.html:
 31 * fast/xsl/xslt-text-expected.txt:
 32 * fast/xsl/xslt-text.html:
 33 * http/tests/messaging/cross-domain-message-send.html:
 34 * http/tests/misc/cached-scripts-expected.txt:
 35 * http/tests/misc/cached-scripts.html:
 36 * http/tests/plugins/post-url-file.html:
 37 * http/tests/security/listener/xss-inactive-closure.html:
 38 * http/tests/security/postMessage/delivery-order.html:
 39 * http/tests/security/postMessage/invalid-origin-throws-exception.html:
 40 * http/tests/security/postMessage/origin-unaffected-by-base-tag.html:
 41 * http/tests/security/postMessage/target-origin.html:
 42 * http/tests/security/xss-DENIED-getSVGDocument-iframe.html:
 43 * http/tests/xmlhttprequest/detaching-frame-2.html:
 44 * media/media-document-audio-repaint.html:
 45 * media/media-document-audio-size.html:
 46 * platform/mac/fast/dom/wrapper-classes-objc.html:
 47 * platform/mac/fast/loader/non-html-load-event.html:
 48 * scrollbars/hidden-iframe-scrollbar-crash2.html:
 49 * storage/close-during-stress-test.html:
 50 * svg/custom/js-update-transform-changes.svg:
 51
1522011-02-25 Sergio Villar Senin <svillar@igalia.com>
253
354 Unreviewed.
79669

LayoutTests/editing/execCommand/find-after-replace.html

 1<body onload="runTest()">
12<script>
23if (window.layoutTestController)
34 layoutTestController.dumpEditingCallbacks();
45</script>
56<p>This tests find and replace inside an editable iframe. You should see 'A B A B' below. With bug 4462420, you would see 'A B B A'.</p>
6 <iframe onload="runTest()" src="../resources/contenteditable-iframe-src.html"></iframe>
 7<iframe src="../resources/contenteditable-iframe-src.html"></iframe>
78
89<script>
910function runTest() {

@@function runTest() {
2223 doc.execCommand("Paste");
2324}
2425</script>
 26</body>
79657

LayoutTests/editing/input/option-page-up-down.html

@@function runCursorMoveTest(testName, fra
8080}
8181</script>
8282</head>
83 <body>
 83<body onload="runTest()">
8484<div>Page up/down (option+page up/down on Mac) should move the move cursor and scroll the content
8585in contenteditable elements. This sample covers cursor position move test of a) iframe element containing
8686contenteditable body, and b) content editable div element.</div>
87 <iframe src="../resources/contenteditable-iframe-fixed-size-src.html" onload="runTest()"></iframe>
 87<iframe src="../resources/contenteditable-iframe-fixed-size-src.html"></iframe>
8888<div id="editable" contenteditable="true" class="ahem" style="height:150px; overflow:auto;"></div>
8989<div id="results"></div>
90 </body>
9190\ No newline at end of file
 91</body>
79657

LayoutTests/editing/input/scroll-viewport-page-up-down.html

@@function runScrollingTest(testName, fram
7676}
7777</script>
7878</head>
79 <body>
 79<body onload="runTest()">
8080<div>Page up/down (option+page up/down on Mac) should move the move cursor and scroll the content
8181in contenteditable elements. This sample covers scroll position test of a) iframe element containing
8282contenteditable body and b) content editable div element. Even though the cursor will move exactly to
8383the same location on all platforms (covered by test option-page-up-down.html), please note that Mac will
8484scroll the visible area by placing the cursor position in the middle. All other platforms will scroll by
8585keeping the cursor aligned with the top edge of the visible area. </div>
86 <iframe src="../resources/contenteditable-iframe-fixed-size-src.html" onload="runTest()" style="height:150px; padding: 0px;"></iframe>
 86<iframe src="../resources/contenteditable-iframe-fixed-size-src.html" style="height:150px; padding: 0px;"></iframe>
8787<div id="editable" contenteditable="true" class="ahem" style="height:150px; overflow:auto; padding: 0px; margin: 0px;"></div>
8888<div id="results"></div>
89 </body>
9089\ No newline at end of file
 90</body>
79657

LayoutTests/editing/pasteboard/copy-standalone-image.html

@@iframe {
2525}
2626</style>
2727</head>
28 <body>
 28<body onload="editingTest()">
2929
3030<p>This is an automatic test of copying an image document.</p>
3131<p>To perform this test manually, click once in the image frame, choose Edit -> Copy
3232then click in the red box and paste the image. If the image pastes successfully the
3333test is passed.</p>
3434
35 <iframe name="imageframe" src="../resources/abe.png" onload="javascript:editingTest()">
 35<iframe name="imageframe" src="../resources/abe.png">
3636</iframe>
3737
3838<div id="dest" class="editable" contenteditable="true"> </div>
79657

LayoutTests/editing/pasteboard/drag-image-to-contenteditable-in-iframe.html

@@function runTest() {
4141</script>
4242<title>Dragging an image to the end of a content editable div in an iframe</title>
4343</head>
44 <body>
 44<body onload="runTest()">
4545 <p>This tests that we can drag an image into the last position of a content editable div in an iframe that already contains an image, without crashing.</p>
4646
4747 <img id="dragme" src="../resources/abe.png"/>
48  <iframe id="drag_target" onload="runTest();" src="resources/drag-image-to-contenteditable-iframe.html"></iframe>
 48 <iframe id="drag_target" src="resources/drag-image-to-contenteditable-iframe.html"></iframe>
4949 <ul id="console"></ul>
5050</body>
5151</html>
79657

LayoutTests/editing/pasteboard/paste-noscript-xhtml.xhtml

11<?xml version="1.0" encoding="UTF-8"?>
22<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
33<html xmlns="http://www.w3.org/1999/xhtml">
 4<body onload="foo()">
45<div id="description">
56This test copies the content of an iframe and pastes it
67in an editable area in an xhtml document and verifies that no script, handlers or javascript urls are copied.
78</div>
8 <iframe id="iframe1" src="../resources/htmlcontent.html" onload="foo()"></iframe>
 9<iframe id="iframe1" src="../resources/htmlcontent.html"></iframe>
910<div id="pastehere" contenteditable="true"></div>
1011<ul id="console"></ul>
1112<script>

@@function log(str) {
4041 console.appendChild(li);
4142}
4243</script>
 44</body>
4345</html>
79657

LayoutTests/editing/selection/drag-in-iframe.html

11<html>
2 <body contenteditable="true">
 2<body contenteditable="true" onload="test()">
33 <p>
44 This is an automatic pixel test. To test interactively, drag selected text onto the iframe
55 below and verify that a drag caret appears inside the frame.
66 </p>
7  <iframe onload="test()" id="subframe" style="border: 1px solid black;"
 7 <iframe id="subframe" style="border: 1px solid black;"
88 src="data:text/html,<body contenteditable><span id='target'>There</span> should be a caret here --> <br>See it?</body>"></iframe>
99 <script>
1010 function dragAndDrop()
79657

LayoutTests/editing/undo/undo-iframe-location-change.html

@@if (window.layoutTestController) {
6161
6262</script>
6363
64 <iframe name="iframe" src="../resources/contenteditable-iframe-src.html" onload="runTest()"></iframe>
 64<body onload="runTest()">
 65<iframe name="iframe" src="../resources/contenteditable-iframe-src.html"></iframe>
6566<ul id="console"></ul>
 67</body>
79657

LayoutTests/fast/dom/DOMImplementation/createDocument-with-used-doctype-expected.txt

1 
21PASS
32
79657

LayoutTests/fast/dom/DOMImplementation/createDocument-with-used-doctype.html

@@function test()
2828 }
2929}
3030</script>
31 <iframe src="resources/createDocument-with-used-doctype-frame.html" onload="test()"></iframe>
3231<div id="result">FAIL</div>
 32<iframe src="resources/createDocument-with-used-doctype-frame.html" onload="test()"></iframe>
3333</body>
79657

LayoutTests/fast/dom/Window/window-postmessage-clone-frames.html

44<div id="description"></div>
55<input type="file" id="fileInput">
66<div id="console"></div>
7 <iframe src="resources/window-postmessage-clone-frames-frame.html" onload="startTest()"></iframe>
87<script>
98if (window.layoutTestController) {
109 layoutTestController.dumpAsText();

@@function startTest() {
117116 tryPostMessage('"done"');
118117}
119118</script>
 119<iframe src="resources/window-postmessage-clone-frames-frame.html" onload="startTest()"></iframe>
120120</body>
121121</html>
79657

LayoutTests/fast/dynamic/paused-event-dispatch.html

 1<body onload="test()">
12<script>
23 function overflowChanged()
34 {

3637 ASSERT in ~FrameView while viewing/reloading WICD test case</i>.
3738</p>
3839<div>
39  <iframe onload="test()" style="width: 100%;" src="resources/paused-event-dispatch-iframe.html"></iframe>
 40 <iframe style="width: 100%;" src="resources/paused-event-dispatch-iframe.html"></iframe>
4041</div>
4142<div id="bottomBox" style="position: absolute; left: 0; top: 5000px; height: 10px; width: 10px;"></div>
4243<div style="height: 100px; width: 100px; overflow: auto;" id="overflow">
4344 <div style="height: 200px;" id="tallBox"></div>
4445</div>
4546<div id="result">FAIL</div>
 47</body>
79657

LayoutTests/fast/events/keydown-remove-frame.html

33 event processing. To test manually, press any letter key. The iframe
44 below should disappear and Safari should not crash.
55</p>
6 <iframe onload="test()" id="iframe" src="resources/keydown-remove-frame-iframe.html"></iframe>
76<script>
87 function test() {
98 document.getElementById("iframe").focus();

1312 }
1413 }
1514</script>
 15<iframe onload="test()" id="iframe" src="resources/keydown-remove-frame-iframe.html"></iframe>
79657

LayoutTests/fast/events/mousedown-in-subframe-scrollbar.html

1 <body>
 1<body onload="test()">
22 <p>This tests that clicking on a scrollbar in a frame does not clear selections in the frame.</p>
3  <iframe id="fr" onload="test()" src="resources/mousedown-in-subframe-scrollbar.html"></iframe>
 3 <iframe id="fr" src="resources/mousedown-in-subframe-scrollbar.html"></iframe>
44 <div id="results"></div>
55</body>
66<script>
79657

LayoutTests/fast/frames/content-opacity-2.html

 1<body onload="test()">
12<div style="float: left; background-image: url(../replaced/resources/1x1-green.png)">
2  <iframe id="iframe" onload="test()" src="resources/empty-body.html"></iframe>
 3 <iframe id="iframe" src="resources/empty-body.html"></iframe>
34 <script>
45 function test()
56 {

1920 }
2021 </script>
2122</div>
 23</body>
79657

LayoutTests/fast/frames/viewsource-plain-text-tags.html

3232<p>You should see a frame in 'view source' mode below.</p>
3333<p>None of the "&lt;test&gt;" strings shown below should be colorized like HTML.</p>
3434<hr>
35 <iframe viewsource src="resources/viewsource-frame-2.html" height="250" onload="report(this)"></iframe>
36 <hr>
3735<div id="result"></div>
 36<hr>
 37<iframe viewsource src="resources/viewsource-frame-2.html" height="250" onload="report(this)"></iframe>
3838</body>
3939</html>
79657

LayoutTests/fast/frames/viewsource-unfinished-tags.html

3535<p>You should see a frame in 'view source' mode below.</p>
3636<p>"foobar" should be seen after the &lt;script&gt; tag and &lt;textarea&gt; tag.</p>
3737<hr>
38 <iframe viewsource src="resources/viewsource-frame-unfinished-script.html" height="250" onload="report(this, 'script')"></iframe>
39 <iframe viewsource src="resources/viewsource-frame-unfinished-textarea.html" height="250" onload="report(this, 'textarea')"></iframe>
40 <hr>
4138<div id="result">
4239<div id="script_result"></div>
4340<div id="textarea_result"></div>
 41<hr>
 42<iframe viewsource src="resources/viewsource-frame-unfinished-script.html" height="250" onload="report(this, 'script')"></iframe>
 43<iframe viewsource src="resources/viewsource-frame-unfinished-textarea.html" height="250" onload="report(this, 'textarea')"></iframe>
4444</div>
4545</body>
4646</html>
79657

LayoutTests/fast/history/form-submit-in-frame-via-onclick.html

77
88<pre id="console"></pre>
99
10 <iframe id="the-frame" src="resources/form-with-onclick-submit.html" onload="submitForm()"></iframe>
11 
1210<script>
1311if (window.layoutTestController) {
1412 layoutTestController.clearBackForwardList();

@@function submitForm()
4038 }, 0);
4139}
4240</script>
 41
 42<iframe id="the-frame" src="resources/form-with-onclick-submit.html" onload="submitForm()"></iframe>
 43
4344</body>
44 </html>
4545\ No newline at end of file
 46</html>
79657

LayoutTests/fast/history/form-submit-in-frame.html

77
88<pre id="console"></pre>
99
10 <iframe id="the-frame" src="resources/form-with-input-submit.html" onload="submitForm()"></iframe>
11 
1210<script>
1311if (window.layoutTestController) {
1412 layoutTestController.clearBackForwardList();

@@function submitForm()
4038 }, 0);
4139}
4240</script>
 41
 42<iframe id="the-frame" src="resources/form-with-input-submit.html" onload="submitForm()"></iframe>
 43
4344</body>
44 </html>
4545\ No newline at end of file
 46</html>
79657

LayoutTests/fast/xsl/xslt-text-expected.txt

11
2 
32<head xmlns="http://www.w3.org/1999/xhtml"><title></title></head>
43<body xmlns="http://www.w3.org/1999/xhtml">
54<pre>CHARACTERS IN XSLT: &lt;&lt;&lt;&amp;ั‚ะตัั‚&amp;&gt;&gt;&gt;
79657

LayoutTests/fast/xsl/xslt-text.html

1515 log(doc.documentElement.innerHTML);
1616 }
1717</script>
18 <iframe onload="dumpDOM(this.contentDocument)" src="resources/xslt-text.xml"></iframe>
1918<pre id="console"></pre>
 19<iframe onload="dumpDOM(this.contentDocument)" src="resources/xslt-text.xml"></iframe>
79657

LayoutTests/http/tests/messaging/cross-domain-message-send.html

@@addEventListener('message', receiver, fa
2727
2828
2929</script>
30 <body>
 30<body onload="postIt()">
3131
32  <iframe src="http://localhost:8000/messaging/resources/cross-domain-message-receive.html" id="receiver" onload="postIt();"></iframe>
 32 <iframe src="http://localhost:8000/messaging/resources/cross-domain-message-receive.html" id="receiver"></iframe>
3333
3434 <div id="result">waiting...</div>
3535
79657

LayoutTests/http/tests/misc/cached-scripts-expected.txt

1 
21This tests that when script that calls document.write to write out two new script tags while being parsed causes both scripts to be executed, even if the first one is cached.
32SUCCESS
 3
79657

LayoutTests/http/tests/misc/cached-scripts.html

@@function runTest(f) {
4444 }
4545}
4646</script>
47 <iframe src="resources/cached-scripts-subframe.html" onload="runTest(this)">
48 </iframe>
4947<div>This tests that when script that calls document.write to write out two new script tags while being parsed causes both scripts to be executed, even if the first one is cached.</div>
5048<div id="result">FAILURE</div>
 49<iframe src="resources/cached-scripts-subframe.html" onload="runTest(this)">
 50</iframe>
5151</html>
79657

LayoutTests/http/tests/plugins/post-url-file.html

1818 }
1919 }
2020</script>
21 <iframe id="result" name="result" onload="test()" src="data:text/html,FAIL"></iframe>
2221<embed name="plg" type="application/x-webkit-test-netscape"></embed>
2322<pre id="log"></pre>
 23<iframe id="result" name="result" onload="test()" src="data:text/html,FAIL"></iframe>
79657

LayoutTests/http/tests/security/xss-DENIED-getSVGDocument-iframe.html

@@function runTest() {
1515}
1616</script>
1717</head>
18 <body>
19 <iframe onload="runTest()"
20  id="svgobject" src="http://localhost:8080/security/resources/empty-svg.php"
 18<body onload="runTest()">
 19<iframe id="svgobject" src="http://localhost:8080/security/resources/empty-svg.php"
2120 width="400" height="300"></iframe>
2221<div id="output"></div>
2322</body>
79657

LayoutTests/http/tests/security/listener/xss-inactive-closure.html

2727<body>
2828 <p>This tests that when a frame navigates to a new page, closures in the old page cannot access page content of the new page if there are from different domains.</p>
2929 <p>You should see PASSED at the end of page if the test passes.</p>
 30 <div id="result">PASSED</div>
3031 <iframe id="targetChild" src=""></iframe>
3132 <iframe src="resources/childWithButton.html" onload="onloadForButtonChild();"></iframe>
32  <div id="result">PASSED</div>
3333</body>
3434</html>
79657

LayoutTests/http/tests/security/postMessage/delivery-order.html

@@function test() {
2222}
2323</script>
2424<base href="http://www.example.com/">
25 <body>
 25<body onload="test()">
2626<div>window.location.href = <script>document.write(document.location.href);</script></div>
27 <div><iframe src="http://localhost:8000/security/postMessage/resources/post-message-listener.html" onload="test()"
 27<div><iframe src="http://localhost:8000/security/postMessage/resources/post-message-listener.html"
2828 id="child" width="800" height="300" style="border: 1px solid black;">
2929</iframe></div>
3030<div id="result">waiting...</div>
79657

LayoutTests/http/tests/security/postMessage/invalid-origin-throws-exception.html

@@function test() {
3838</script>
3939<body>
4040<div>window.location.href = <script>document.write(window.location.href);</script></div>
 41<div id="result">waiting...</div>
4142<div><iframe src="http://localhost:8000/security/postMessage/resources/post-message-listener.html" onload="test()"
4243 id="child" width="800" height="300" style="border: 1px solid black;">
4344</iframe></div>
44 <div id="result">waiting...</div>
4545</body>
4646</html>
79657

LayoutTests/http/tests/security/postMessage/origin-unaffected-by-base-tag.html

@@function test() {
1919}
2020</script>
2121<base href="http://www.example.com/">
22 <body>
 22<body onload="test()">
2323<div>window.location.href = <script>document.write(window.location.href);</script></div>
24 <div><iframe src="http://localhost:8000/security/postMessage/resources/post-message-listener.html" onload="test()"
 24<div><iframe src="http://localhost:8000/security/postMessage/resources/post-message-listener.html"
2525 id="child" width="800" height="300" style="border: 1px solid black;">
2626</iframe></div>
2727<div id="result">waiting...</div>
79657

LayoutTests/http/tests/security/postMessage/target-origin.html

@@function test() {
4545 win.postMessage('done', '*');
4646}
4747</script>
48 <body>
 48<body onload="test()">
4949<div>window.location.href = <script>document.write(window.location.href);</script></div>
50 <div><iframe src="http://localhost:8000/security/postMessage/resources/post-message-listener.html" onload="test()"
 50<div><iframe src="http://localhost:8000/security/postMessage/resources/post-message-listener.html"
5151 id="child" width="800" height="300" style="border: 1px solid black;">
5252</iframe></div>
5353<div id="result">waiting...</div>
79657

LayoutTests/http/tests/xmlhttprequest/detaching-frame-2.html

11<!doctype html>
2 <body>
 2<body onload="test()">
33<p><a href="https://bugs.webkit.org/show_bug.cgi?id=25420">bug 25240</a></p>
44<script>
55 if (window.layoutTestController) {

2929 frames[0].location = frames[0].location.toString().replace("127.0.0.1", "localhost")
3030 }
3131</script>
32 <iframe src="resources/echo-host.php" onload="test()"></iframe>
 32<iframe src="resources/echo-host.php"></iframe>
3333<div id=result>FAIL: Script did not run.</div>
3434</body>
79657

LayoutTests/media/media-document-audio-repaint.html

1 <p>
2  This tests that in a standalone media document with audio content, the media element repaints correctly
3  while playing.
4 </p>
5 <iframe src="content/silence.wav" id="fr" width=380 height=330 onload="frameLoaded()"></iframe>
61<script>
72 if (window.layoutTestController)
83 layoutTestController.waitUntilDone();

2318 }, 100)
2419 }
2520</script>
 21<p>
 22 This tests that in a standalone media document with audio content, the media element repaints correctly
 23 while playing.
 24</p>
 25<iframe src="content/silence.wav" id="fr" width=380 height=330 onload="frameLoaded()"></iframe>
 26<script>// To produce the same layout as before iframe was moved down to avoid rebaselines of different platforms.
 27// https://bugs.webkit.org/show_bug.cgi?id=54942
 28</script>
79657

LayoutTests/media/media-document-audio-size.html

33 size.
44</p>
55<pre id="console"></pre>
6 <iframe src="content/test.wav" id="fr" width=380 height=330 onload="frameLoaded()"></iframe>
76<script>
87 if (window.layoutTestController) {
98 layoutTestController.dumpAsText();

2827 layoutTestController.notifyDone();
2928 }
3029</script>
 30<iframe src="content/test.wav" id="fr" width=380 height=330 onload="frameLoaded()"></iframe>
79657

LayoutTests/platform/mac/fast/dom/wrapper-classes-objc.html

1212</style>
1313</head>
1414<body>
15 <p id="description"></p>
16 <div id="console"></div>
17 <iframe id="xmlframe" onload="frameLoaded()" style="height:0px" src="data:application/xhtml+xml,<?xml version='1.0' encoding='UTF-8'?><body/>"></iframe>
1815<script>
1916
2017if (window.layoutTestController)

@@function frameLoaded()
316313}
317314
318315</script>
 316<p id="description"></p>
 317<div id="console"></div>
 318<iframe id="xmlframe" onload="frameLoaded()" style="height:0px" src="data:application/xhtml+xml,<?xml version='1.0' encoding='UTF-8'?><body/>"></iframe>
319319</body>
320320</html>
79657

LayoutTests/platform/mac/fast/loader/non-html-load-event.html

77 document.getElementById("result").firstChild.data = "PASS";
88 }
99</script>
10 <iframe src="../../../../fast/images/resources/green_rectangle.pdf" onload="frameLoaded()"></iframe>
1110<div id="result">FAIL</div>
 11<iframe src="../../../../fast/images/resources/green_rectangle.pdf" onload="frameLoaded()"></iframe>
79657

LayoutTests/scrollbars/hidden-iframe-scrollbar-crash2.html

77}
88</style>
99
10 <body>
11 <iframe id="iframe" src="resources/hidden-iframe-scrollbar-crash2.html" width="50px" onload="load()"></iframe>
12 
13 <p>This tests to make sure that an iframe with custom scrollbars that starts
14 an image load and is hidden before the image load is complete doesn't crash
15 when the image load completes. The test passes if it does not crash.</p>
16 </body>
17 
1810<script>
1911function load()
2012{

@@if (window.layoutTestController) {
2921 layoutTestController.dumpAsText();
3022}
3123</script>
 24
 25<body>
 26<iframe id="iframe" src="resources/hidden-iframe-scrollbar-crash2.html" width="50px" onload="load()"></iframe>
 27
 28<p>This tests to make sure that an iframe with custom scrollbars that starts
 29an image load and is hidden before the image load is complete doesn't crash
 30when the image load completes. The test passes if it does not crash.</p>
 31</body>
79657

LayoutTests/storage/close-during-stress-test.html

22<p>Should not crash or cause an assertion failure.</p>
33<p>A JavaScript failure on the console is expected, however, as the global object is cleared when closing a frame.
44It actually helps to cause database activity by throwing an exception from a callback.</p>
5 <iframe src="resources/stress-frame.html" onload="startTest()"></iframe>
65<script>
76if (window.layoutTestController) {
87 layoutTestController.waitUntilDone();

@@function startTest()
1615 setTimeout("layoutTestController.notifyDone()", 500);
1716}
1817</script>
 18<iframe src="resources/stress-frame.html" onload="startTest()"></iframe>
1919</body>
79657

LayoutTests/svg/custom/js-update-transform-changes.svg

22<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
33<svg width="450" height="450" xmlns="http://www.w3.org/2000/svg">
44
 5<polygon transform="translate(-1000 -1000)" id="polygon" fill="none" stroke="#00FF00" stroke-width="8" points="270,265 300,285 320,265 340,285 280,320 390,320 420,280 280,225"/>
 6
57<script>
68if (window.layoutTestController)
79 layoutTestController.waitUntilDone();

@@function move()
2123}
2224</script>
2325
24 <polygon transform="translate(-1000 -1000)" id="polygon" fill="none" stroke="#00FF00" stroke-width="8" points="270,265 300,285 320,265 340,285 280,320 390,320 420,280 280,225"/>
25 
2626</svg>
79657