| <!DOCTYPE html> | |
| <html> | |
| <script src="../../resources/js-test.js"></script> | |
| <script> | |
| description("Verifies that nested frame detach does not crash."); | |
| if (window.testRunner) | |
| testRunner.dumpAsText(); | |
| var count = 0; | |
| function removeFrame() { | |
| document.body.removeChild(document.getElementById("frame")); | |
| if (++count == 2) | |
| testRunner.notifyDone(); | |
| } | |
| </script> | |
| <iframe id="frame" src="resources/detach-frame-nested-subframe.html"></iframe> | |
| </html> |