Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / insert-image-changing-visibility-crash.html
blobafb7f867a86cf2f02ecf74be4d78ac28f1ef48d5
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Issue 348283</title>
5 <script src="../../resources/js-test.js"></script>
6 </head>
7 <body>
8 <script>
9 description('Should not crash if we load a test case from crbug.com/348283.');
11 window.jsTestIsAsync = true;
13 window.addEventListener('message', didReceiveMessage, false);
15 var iframe = document.createElement('iframe');
16 iframe.src = 'resources/insert-image-changing-visibility-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();
26 </script>
27 </body>
28 </html>