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

Unified Diff: LayoutTests/fast/frames/resources/detach-frame-nested-subframe.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 | « LayoutTests/fast/frames/detach-frame-nested-no-crash-expected.txt ('k') | Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/frames/resources/detach-frame-nested-subframe.html
diff --git a/LayoutTests/fast/frames/resources/detach-frame-nested-subframe.html b/LayoutTests/fast/frames/resources/detach-frame-nested-subframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..189cd4899491593a84c7732a6ebc593bf1509fe8
--- /dev/null
+++ b/LayoutTests/fast/frames/resources/detach-frame-nested-subframe.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<script>
+function createXHR(url) {
+ var x = new XMLHttpRequest();
+ x.onabort = window.parent.removeFrame;
+ x.open('GET', url);
+ return x;
+}
+
+function runTest () {
+ var x1 = createXHR('resources/not-there.txt');
+ var x2 = createXHR('resources/not-there-either.txt');
+ x1.send();
+ x2.send();
+}
+window.onload = runTest;
+</script>
+</html>
« no previous file with comments | « LayoutTests/fast/frames/detach-frame-nested-no-crash-expected.txt ('k') | Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698