Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Side by Side Diff: LayoutTests/fast/dom/HTMLScriptElement/script-moving-from-non-contextdoc.html

Issue 913473002: Testing a fix to crbug.com/456059. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: refactored Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <iframe src=resources/append-child-adopt-node-frame.html></iframe> 2 <iframe src=resources/move-back-from-non-contextdoc.html></iframe>
3 <iframe src=resources/append-child-adopt-node-frame.svg></iframe> 3 <iframe src=resources/move-from-non-contextdoc-to-iframe.html></iframe>
4 <iframe src=resources/move-back-from-non-contextdoc.svg></iframe>
4 <script> 5 <script>
5 testRunner.waitUntilDone(); 6 testRunner.waitUntilDone();
6 testRunner.dumpAsText(); 7 testRunner.dumpAsText();
7 8
8 // Don't use js-test.js because this bug is about <script> loading and 9 // Don't use js-test.js because this bug is about <script> loading and
9 // it makes sense to keep this small and easy to debug when regress. 10 // it makes sense to keep this small and easy to debug when regress.
10 console.log("PASS unless crash."); 11 console.log("PASS unless crash.");
11 12
12 var count = document.querySelectorAll("iframe").length; 13 var count = document.querySelectorAll("iframe").length;
13 14
14 function done() { 15 function done() {
15 if (--count) 16 if (--count)
16 return; 17 return;
17 testRunner.notifyDone(); 18 testRunner.notifyDone();
18 } 19 }
19 </script> 20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698