4 <title>Crash issue
339186</title>
5 <script src=
"../../resources/js-test.js"></script>
9 description('Should not crash if we load a test case from crbug.com/339186.');
11 window
.jsTestIsAsync
= true;
13 window
.addEventListener('message', didReceiveMessage
, false);
15 var iframe
= document
.createElement('iframe');
16 iframe
.src
= 'resources/deleteFromDocument-scoped-dispatch-event-crash-iframe.html';
17 document
.body
.appendChild(iframe
);
19 function didReceiveMessage(event
)
21 shouldBeEqualToString('event.data', 'FINISH');
22 document
.body
.removeChild(iframe
);
23 testPassed('Did not crash.');
24 window
.finishJSTest();