Changeset 80456 in webkit
- Timestamp:
- Mar 7, 2011 12:19:58 AM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 44 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r80455 r80456 1 2011-03-07 Xianzhu Wang <wangxianzhu@google.com> 2 3 Reviewed by Tony Gentilcore. 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-expected.txt: 37 * http/tests/plugins/post-url-file.html: 38 * http/tests/security/listener/xss-inactive-closure-expected.html: 39 * http/tests/security/listener/xss-inactive-closure.html: 40 * http/tests/security/postMessage/delivery-order.html: 41 * http/tests/security/postMessage/invalid-origin-throws-exception-expected.txt: 42 * http/tests/security/postMessage/invalid-origin-throws-exception.html: 43 * http/tests/security/postMessage/origin-unaffected-by-base-tag.html: 44 * http/tests/security/postMessage/target-origin.html: 45 * http/tests/security/xss-DENIED-getSVGDocument-iframe.html: 46 * http/tests/xmlhttprequest/detaching-frame-2.html: 47 * media/media-document-audio-repaint.html: 48 * media/media-document-audio-size.html: 49 * platform/mac/fast/dom/wrapper-classes-objc.html: 50 * platform/mac/fast/loader/non-html-load-event-expected.txt: 51 * platform/mac/fast/loader/non-html-load-event.html: 52 * scrollbars/hidden-iframe-scrollbar-crash2.html: 53 * storage/close-during-stress-test.html: 54 * svg/custom/js-update-transform-changes.svg: 55 1 56 2011-03-06 Fumitoshi Ukai <ukai@chromium.org> 2 57 -
trunk/LayoutTests/editing/execCommand/find-after-replace.html
r19627 r80456 1 <body onload="runTest()"> 1 2 <script> 2 3 if (window.layoutTestController) … … 4 5 </script> 5 6 <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> 7 8 8 9 <script> … … 23 24 } 24 25 </script> 26 </body> -
trunk/LayoutTests/editing/input/option-page-up-down.html
r60268 r80456 81 81 </script> 82 82 </head> 83 <body >83 <body onload="runTest()"> 84 84 <div>Page up/down (option+page up/down on Mac) should move the move cursor and scroll the content 85 85 in contenteditable elements. This sample covers cursor position move test of a) iframe element containing 86 86 contenteditable 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> 88 88 <div id="editable" contenteditable="true" class="ahem" style="height:150px; overflow:auto;"></div> 89 89 <div id="results"></div> -
trunk/LayoutTests/editing/input/scroll-viewport-page-up-down.html
r60268 r80456 77 77 </script> 78 78 </head> 79 <body >79 <body onload="runTest()"> 80 80 <div>Page up/down (option+page up/down on Mac) should move the move cursor and scroll the content 81 81 in contenteditable elements. This sample covers scroll position test of a) iframe element containing … … 84 84 scroll the visible area by placing the cursor position in the middle. All other platforms will scroll by 85 85 keeping 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> 87 87 <div id="editable" contenteditable="true" class="ahem" style="height:150px; overflow:auto; padding: 0px; margin: 0px;"></div> 88 88 <div id="results"></div> -
trunk/LayoutTests/editing/pasteboard/copy-standalone-image.html
r20963 r80456 26 26 </style> 27 27 </head> 28 <body >28 <body onload="editingTest()"> 29 29 30 30 <p>This is an automatic test of copying an image document.</p> … … 33 33 test is passed.</p> 34 34 35 <iframe name="imageframe" src="../resources/abe.png" onload="javascript:editingTest()">35 <iframe name="imageframe" src="../resources/abe.png"> 36 36 </iframe> 37 37 -
trunk/LayoutTests/editing/pasteboard/drag-image-to-contenteditable-in-iframe.html
r24921 r80456 42 42 <title>Dragging an image to the end of a content editable div in an iframe</title> 43 43 </head> 44 <body >44 <body onload="runTest()"> 45 45 <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> 46 46 47 47 <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> 49 49 <ul id="console"></ul> 50 50 </body> -
trunk/LayoutTests/editing/pasteboard/paste-noscript-xhtml.xhtml
r53835 r80456 2 2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 3 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 <body onload="foo()"> 4 5 <div id="description"> 5 6 This test copies the content of an iframe and pastes it 6 7 in an editable area in an xhtml document and verifies that no script, handlers or javascript urls are copied. 7 8 </div> 8 <iframe id="iframe1" src="../resources/htmlcontent.html" onload="foo()"></iframe>9 <iframe id="iframe1" src="../resources/htmlcontent.html"></iframe> 9 10 <div id="pastehere" contenteditable="true"></div> 10 11 <ul id="console"></ul> … … 41 42 } 42 43 </script> 44 </body> 43 45 </html> -
trunk/LayoutTests/editing/selection/drag-in-iframe.html
r56962 r80456 1 1 <html> 2 <body contenteditable="true" >2 <body contenteditable="true" onload="test()"> 3 3 <p> 4 4 This is an automatic pixel test. To test interactively, drag selected text onto the iframe 5 5 below and verify that a drag caret appears inside the frame. 6 6 </p> 7 <iframe onload="test()"id="subframe" style="border: 1px solid black;"7 <iframe id="subframe" style="border: 1px solid black;" 8 8 src="data:text/html,<body contenteditable><span id='target'>There</span> should be a caret here --> <br>See it?</body>"></iframe> 9 9 <script> -
trunk/LayoutTests/editing/undo/undo-iframe-location-change.html
r79625 r80456 62 62 </script> 63 63 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> 65 66 <ul id="console"></ul> 67 </body> -
trunk/LayoutTests/fast/dom/DOMImplementation/createDocument-with-used-doctype-expected.txt
r79625 r80456 1 2 1 PASS 3 2 -
trunk/LayoutTests/fast/dom/DOMImplementation/createDocument-with-used-doctype.html
r79625 r80456 29 29 } 30 30 </script> 31 <div id="result">FAIL</div> 31 32 <iframe src="resources/createDocument-with-used-doctype-frame.html" onload="test()"></iframe> 32 <div id="result">FAIL</div>33 33 </body> -
trunk/LayoutTests/fast/dom/Window/window-postmessage-clone-frames.html
r75298 r80456 5 5 <input type="file" id="fileInput"> 6 6 <div id="console"></div> 7 <iframe src="resources/window-postmessage-clone-frames-frame.html" onload="startTest()"></iframe>8 7 <script> 9 8 if (window.layoutTestController) { … … 118 117 } 119 118 </script> 119 <iframe src="resources/window-postmessage-clone-frames-frame.html" onload="startTest()"></iframe> 120 120 </body> 121 121 </html> -
trunk/LayoutTests/fast/dynamic/paused-event-dispatch.html
r79625 r80456 1 <body onload="test()"> 1 2 <script> 2 3 function overflowChanged() … … 37 38 </p> 38 39 <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> 40 41 </div> 41 42 <div id="bottomBox" style="position: absolute; left: 0; top: 5000px; height: 10px; width: 10px;"></div> … … 44 45 </div> 45 46 <div id="result">FAIL</div> 47 </body> -
trunk/LayoutTests/fast/events/keydown-remove-frame.html
r36810 r80456 4 4 below should disappear and Safari should not crash. 5 5 </p> 6 <iframe onload="test()" id="iframe" src="resources/keydown-remove-frame-iframe.html"></iframe>7 6 <script> 8 7 function test() { … … 14 13 } 15 14 </script> 15 <iframe onload="test()" id="iframe" src="resources/keydown-remove-frame-iframe.html"></iframe> -
trunk/LayoutTests/fast/events/mousedown-in-subframe-scrollbar.html
r58937 r80456 1 <body >1 <body onload="test()"> 2 2 <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> 4 4 <div id="results"></div> 5 5 </body> -
trunk/LayoutTests/fast/frames/content-opacity-2.html
r43713 r80456 1 <body onload="test()"> 1 2 <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> 3 4 <script> 4 5 function test() … … 20 21 </script> 21 22 </div> 23 </body> -
trunk/LayoutTests/fast/frames/viewsource-plain-text-tags.html
r33509 r80456 33 33 <p>None of the "<test>" strings shown below should be colorized like HTML.</p> 34 34 <hr> 35 <div id="result"></div> 36 <hr> 35 37 <iframe viewsource src="resources/viewsource-frame-2.html" height="250" onload="report(this)"></iframe> 36 <hr>37 <div id="result"></div>38 38 </body> 39 39 </html> -
trunk/LayoutTests/fast/frames/viewsource-unfinished-tags.html
r44608 r80456 36 36 <p>"foobar" should be seen after the <script> tag and <textarea> tag.</p> 37 37 <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>41 38 <div id="result"> 42 39 <div id="script_result"></div> 43 40 <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> 44 44 </div> 45 45 </body> -
trunk/LayoutTests/fast/history/form-submit-in-frame-via-onclick.html
r68609 r80456 7 7 8 8 <pre id="console"></pre> 9 10 <iframe id="the-frame" src="resources/form-with-onclick-submit.html" onload="submitForm()"></iframe>11 9 12 10 <script> … … 41 39 } 42 40 </script> 41 42 <iframe id="the-frame" src="resources/form-with-onclick-submit.html" onload="submitForm()"></iframe> 43 43 44 </body> 44 45 </html> -
trunk/LayoutTests/fast/history/form-submit-in-frame.html
r68609 r80456 7 7 8 8 <pre id="console"></pre> 9 10 <iframe id="the-frame" src="resources/form-with-input-submit.html" onload="submitForm()"></iframe>11 9 12 10 <script> … … 41 39 } 42 40 </script> 41 42 <iframe id="the-frame" src="resources/form-with-input-submit.html" onload="submitForm()"></iframe> 43 43 44 </body> 44 45 </html> -
trunk/LayoutTests/fast/xsl/xslt-text-expected.txt
r33451 r80456 1 2 1 3 2 <head xmlns="http://www.w3.org/1999/xhtml"><title></title></head> -
trunk/LayoutTests/fast/xsl/xslt-text.html
r29920 r80456 16 16 } 17 17 </script> 18 <pre id="console"></pre> 18 19 <iframe onload="dumpDOM(this.contentDocument)" src="resources/xslt-text.xml"></iframe> 19 <pre id="console"></pre> -
trunk/LayoutTests/http/tests/messaging/cross-domain-message-send.html
r33006 r80456 28 28 29 29 </script> 30 <body >30 <body onload="postIt()"> 31 31 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> 33 33 34 34 <div id="result">waiting...</div> -
trunk/LayoutTests/http/tests/misc/cached-scripts-expected.txt
r24645 r80456 1 2 1 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. 3 2 SUCCESS 3 -
trunk/LayoutTests/http/tests/misc/cached-scripts.html
r24645 r80456 45 45 } 46 46 </script> 47 <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> 48 <div id="result">FAILURE</div> 47 49 <iframe src="resources/cached-scripts-subframe.html" onload="runTest(this)"> 48 50 </iframe> 49 <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>50 <div id="result">FAILURE</div>51 51 </html> -
trunk/LayoutTests/http/tests/plugins/post-url-file-expected.txt
r33076 r80456 1 1 2 2 3 3 -
trunk/LayoutTests/http/tests/plugins/post-url-file.html
r33076 r80456 19 19 } 20 20 </script> 21 <iframe id="result" name="result" onload="test()" src="data:text/html,FAIL"></iframe>22 21 <embed name="plg" type="application/x-webkit-test-netscape"></embed> 23 22 <pre id="log"></pre> 23 <iframe id="result" name="result" onload="test()" src="data:text/html,FAIL"></iframe> -
trunk/LayoutTests/http/tests/security/listener/xss-inactive-closure-expected.txt
r52497 r80456 3 3 You should see PASSED at the end of page if the test passes. 4 4 5 PASSED 5 6 6 PASSED -
trunk/LayoutTests/http/tests/security/listener/xss-inactive-closure.html
r52497 r80456 28 28 <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> 29 29 <p>You should see PASSED at the end of page if the test passes.</p> 30 <div id="result">PASSED</div> 30 31 <iframe id="targetChild" src=""></iframe> 31 32 <iframe src="resources/childWithButton.html" onload="onloadForButtonChild();"></iframe> 32 <div id="result">PASSED</div>33 33 </body> 34 34 </html> -
trunk/LayoutTests/http/tests/security/postMessage/delivery-order.html
r33006 r80456 23 23 </script> 24 24 <base href="http://www.example.com/"> 25 <body >25 <body onload="test()"> 26 26 <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" 28 28 id="child" width="800" height="300" style="border: 1px solid black;"> 29 29 </iframe></div> -
trunk/LayoutTests/http/tests/security/postMessage/invalid-origin-throws-exception-expected.txt
r58796 r80456 4 4 5 5 window.location.href = http://127.0.0.1:8000/security/postMessage/invalid-origin-throws-exception.html 6 7 6 waiting... 8 7 Encountered exception Error: SYNTAX_ERR: DOM Exception 12 while posting message to ''. … … 13 12 Posted message to 'http:' without any exceptions. 14 13 Received message: data="Received message: data="done" origin="http://127.0.0.1:8000"" origin="http://localhost:8000" 14 -
trunk/LayoutTests/http/tests/security/postMessage/invalid-origin-throws-exception.html
r40221 r80456 39 39 <body> 40 40 <div>window.location.href = <script>document.write(window.location.href);</script></div> 41 <div id="result">waiting...</div> 41 42 <div><iframe src="http://localhost:8000/security/postMessage/resources/post-message-listener.html" onload="test()" 42 43 id="child" width="800" height="300" style="border: 1px solid black;"> 43 44 </iframe></div> 44 <div id="result">waiting...</div>45 45 </body> 46 46 </html> -
trunk/LayoutTests/http/tests/security/postMessage/origin-unaffected-by-base-tag.html
r33006 r80456 20 20 </script> 21 21 <base href="http://www.example.com/"> 22 <body >22 <body onload="test()"> 23 23 <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" 25 25 id="child" width="800" height="300" style="border: 1px solid black;"> 26 26 </iframe></div> -
trunk/LayoutTests/http/tests/security/postMessage/target-origin.html
r33006 r80456 46 46 } 47 47 </script> 48 <body >48 <body onload="test()"> 49 49 <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" 51 51 id="child" width="800" height="300" style="border: 1px solid black;"> 52 52 </iframe></div> -
trunk/LayoutTests/http/tests/security/xss-DENIED-getSVGDocument-iframe.html
r48240 r80456 16 16 </script> 17 17 </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" 21 20 width="400" height="300"></iframe> 22 21 <div id="output"></div> -
trunk/LayoutTests/http/tests/xmlhttprequest/detaching-frame-2.html
r42992 r80456 1 1 <!doctype html> 2 <body >2 <body onload="test()"> 3 3 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=25420">bug 25240</a></p> 4 4 <script> … … 30 30 } 31 31 </script> 32 <iframe src="resources/echo-host.php" onload="test()"></iframe>32 <iframe src="resources/echo-host.php"></iframe> 33 33 <div id=result>FAIL: Script did not run.</div> 34 34 </body> -
trunk/LayoutTests/media/media-document-audio-repaint.html
r79359 r80456 1 <p>2 This tests that in a standalone media document with audio content, the media element repaints correctly3 while playing.4 </p>5 <iframe src="content/silence.wav" id="fr" width=380 height=330 onload="frameLoaded()"></iframe>6 1 <script> 7 2 if (window.layoutTestController) … … 24 19 } 25 20 </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> -
trunk/LayoutTests/media/media-document-audio-size.html
r58543 r80456 4 4 </p> 5 5 <pre id="console"></pre> 6 <iframe src="content/test.wav" id="fr" width=380 height=330 onload="frameLoaded()"></iframe>7 6 <script> 8 7 if (window.layoutTestController) { … … 29 28 } 30 29 </script> 30 <iframe src="content/test.wav" id="fr" width=380 height=330 onload="frameLoaded()"></iframe> -
trunk/LayoutTests/platform/mac/fast/dom/wrapper-classes-objc.html
r76208 r80456 13 13 </head> 14 14 <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>18 15 <script> 19 16 … … 317 314 318 315 </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> 319 319 </body> 320 320 </html> -
trunk/LayoutTests/platform/mac/fast/loader/non-html-load-event-expected.txt
r46207 r80456 1 PASS 1 2 2 PASS -
trunk/LayoutTests/platform/mac/fast/loader/non-html-load-event.html
r46208 r80456 8 8 } 9 9 </script> 10 <div id="result">FAIL</div> 10 11 <iframe src="../../../../fast/images/resources/green_rectangle.pdf" onload="frameLoaded()"></iframe> 11 <div id="result">FAIL</div> -
trunk/LayoutTests/scrollbars/hidden-iframe-scrollbar-crash2.html
r64780 r80456 7 7 } 8 8 </style> 9 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 starts14 an image load and is hidden before the image load is complete doesn't crash15 when the image load completes. The test passes if it does not crash.</p>16 </body>17 9 18 10 <script> … … 30 22 } 31 23 </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 29 an image load and is hidden before the image load is complete doesn't crash 30 when the image load completes. The test passes if it does not crash.</p> 31 </body> -
trunk/LayoutTests/storage/close-during-stress-test.html
r40632 r80456 3 3 <p>A JavaScript failure on the console is expected, however, as the global object is cleared when closing a frame. 4 4 It actually helps to cause database activity by throwing an exception from a callback.</p> 5 <iframe src="resources/stress-frame.html" onload="startTest()"></iframe>6 5 <script> 7 6 if (window.layoutTestController) { … … 17 16 } 18 17 </script> 18 <iframe src="resources/stress-frame.html" onload="startTest()"></iframe> 19 19 </body> -
trunk/LayoutTests/svg/custom/js-update-transform-changes.svg
r26410 r80456 2 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> 3 3 <svg width="450" height="450" xmlns="http://www.w3.org/2000/svg"> 4 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"/> 4 6 5 7 <script> … … 22 24 </script> 23 25 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 26 26 </svg>
Note: See TracChangeset
for help on using the changeset viewer.