Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / HTMLImageElement / constructor-mutation-event-dispatch.html
blob715c8871e911f95fc8b6fe616715e019ca1e5553
1 <head>
2 <script>
3 function listen(event)
7 function test()
9 if (window.testRunner)
10 testRunner.dumpAsText();
12 document.addEventListener("DOMSubtreeModified", listen, true);
13 new Image(1, 1);
15 </script>
16 </head>
17 <body onload="test()">
18 <p>
19 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=12353">http://bugs.webkit.org/show_bug.cgi?id=12353</a>
20 REGRESSION: Crash on load (mutation event dispatch under the image element constructor deletes the element)</i>.
21 </p>
22 <p>
23 No crash means test PASS.
24 </p>
25 </body>