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> |