Source/WebCore: [V8] Crash in npObjectGetProperty() in V8NPObject.cpp
[WebKit-https.git] / LayoutTests / plugins / attach-during-destroy.html
1 <p>
2     Test for <i><a href="rdar://problem/7194735">rdar://problem/7194735</a> Crashes at RenderText::RenderText()</i>.
3 </p>
4 <p>
5     This test should not crash or cause an assertion failure.
6 </p>
7 <embed type="application/x-webkit-test-netscape" ondestroy="destroyed()">
8 <div id="target"></div>
9 <script>
10     function destroyed()
11     {
12         var target = document.getElementById("target");
13         target.innerHTML = "text";
14     }
15
16     if (window.layoutTestController)
17         layoutTestController.dumpAsText();
18
19     document.body.offsetTop;
20     location.href = "data:text/html,Test for rdar://problem/7194735 PASSED.";
21 </script>