Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/002.html |
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/002.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/002.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fd35b0d28ffe7f2020a7c70ee3208a9187197066 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/002.html |
@@ -0,0 +1,23 @@ |
+<!doctype html> |
+<title>Multiple simultaneous navigations</title> |
+<script src="../../../../../../resources/testharness.js"></script> |
+<script src="../../../../../../resources/testharnessreport.js"></script> |
+<div id="log"></div> |
+<iframe src="about:blank"></iframe> |
+<script> |
+var t = async_test(); |
+onload = t.step_func(function() { |
+ var iframe = document.getElementsByTagName("iframe")[0]; |
+ |
+ setTimeout(t.step_func(function() { |
+ iframe.src = "002-1.html?pipe=trickle(d1)"; |
+ setTimeout(t.step_func(function(){iframe.src = "002-2.html"}), 500); |
+ }), 100); |
+}); |
+ |
+onmessage = t.step_func(function(e) { |
+ assert_equals(e.data, "002-2"); |
+ t.done(); |
+}); |
+ |
+</script> |