Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / misc / clone-in-DOMContentLoaded.html
blobf2ef11dd0ddab6e8641097fb48f190eb12575c83
1 PASS
2 <title>Test that we don't crash when we clone inside DOMContentLoaded</title>
3 <body>
4 <style>
5 * { cursor: -webkit-image-set(url("https://does-not-exist") 251x), pointer; }
6 </style>
7 <script>
8 if (window.testRunner) {
9 testRunner.dumpAsText();
10 testRunner.waitUntilDone();
13 function appendAndClone() {
14 document.body.appendChild(document.createElementNS("http://www.w3.org/1998/Math/MathML", "mstack"));
15 document.body.cloneNode(true);
16 if (window.testRunner)
17 testRunner.notifyDone();
19 document.addEventListener("DOMContentLoaded", appendAndClone, false);
20 </script>