Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / HTMLScriptElement / append-child-adopt-node-crash.html
blob78e41261c47c18e5e7f24fb40e752ba3baff16b8
1 <!DOCTYPE html>
2 <iframe src=resources/append-child-adopt-node-frame.html></iframe>
3 <iframe src=resources/append-child-adopt-node-frame.svg></iframe>
4 <script>
5 testRunner.waitUntilDone();
6 testRunner.dumpAsText();
8 // 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 console.log("PASS unless crash.");
12 var count = document.querySelectorAll("iframe").length;
14 function done() {
15 if (--count)
16 return;
17 testRunner.notifyDone();
19 </script>