| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <script src="../../../resources/js-test.js"></script> | |
| 5 </head> | |
| 6 <body> | |
| 7 <script> | |
| 8 description('Detaching a Range while deleteContents() is running should not caus
e a crash.'); | |
| 9 | |
| 10 window.jsTestIsAsync = true; | |
| 11 | |
| 12 window.addEventListener('message', function (event) { | |
| 13 if (event.data === 'done') { | |
| 14 testPassed('The browser did not crash.'); | |
| 15 document.body.removeChild(iframe); | |
| 16 finishJSTest(); | |
| 17 } | |
| 18 }, false); | |
| 19 | |
| 20 var iframe = document.createElement('iframe'); | |
| 21 iframe.src = 'resources/detach-range-during-deletecontents-iframe.xhtml'; | |
| 22 document.body.appendChild(iframe); | |
| 23 </script> | |
| 24 </body> | |
| 25 </html> | |
| OLD | NEW |