Index: LayoutTests/fast/frames/detach-frame-nested-no-crash.html |
diff --git a/LayoutTests/fast/frames/detach-frame-nested-no-crash.html b/LayoutTests/fast/frames/detach-frame-nested-no-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..808f086fe4833c3776b75b9e235ab019f3d91450 |
--- /dev/null |
+++ b/LayoutTests/fast/frames/detach-frame-nested-no-crash.html |
@@ -0,0 +1,18 @@ |
+<!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> |