Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child_navigates_parent_location.html |
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child_navigates_parent_location.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child_navigates_parent_location.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..517a08b268e8db5a342b53bbe2c5ad6e3f5da6f2 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child_navigates_parent_location.html |
@@ -0,0 +1,17 @@ |
+<!doctype html> |
+<title>Child document navigating parent via location </title> |
+<script src="../../../../../../resources/testharness.js"></script> |
+<script src="../../../../../../resources/testharnessreport.js"></script> |
+<div id="log"></div> |
+<script> |
+var t = async_test(); |
+var events = []; |
+onmessage = t.step_func(function(e) { |
+ events.push(e.data); |
+ if (events.length == 3) { |
+ assert_array_equals(events, ["initial", "inner", "destination"]); |
+ t.done(); |
+ } |
+}); |
+</script> |
+<iframe src="child_navigates_parent_location-1.html"></iframe> |