4 <script src=
"../../../resources/js-test.js"></script>
8 description('Detaching a Range while deleteContents() is running should not cause a crash.');
10 window
.jsTestIsAsync
= true;
12 window
.addEventListener('message', function (event
) {
13 if (event
.data
=== 'done') {
14 testPassed('The browser did not crash.');
15 document
.body
.removeChild(iframe
);
20 var iframe
= document
.createElement('iframe');
21 iframe
.src
= 'resources/detach-range-during-deletecontents-iframe.xhtml';
22 document
.body
.appendChild(iframe
);