Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child_navigates_parent_submit.html |
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child_navigates_parent_submit.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child_navigates_parent_submit.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..72bc2ee1a614a56e4ae038b053b57bce426eeb19 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child_navigates_parent_submit.html |
@@ -0,0 +1,18 @@ |
+<!doctype html> |
+<title>Child document navigating parent via submit </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_submit-1.html"></iframe> |