Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Unified Diff: LayoutTests/fast/frames/detach-frame-nested-no-crash.html

Issue 923363002: Gracefully handle nested frame detaches. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/frames/detach-frame-nested-no-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/fast/frames/detach-frame-nested-no-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698