summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/windows/support-nested-browsing-contexts.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/html/browsers/windows/support-nested-browsing-contexts.html')
-rw-r--r--testing/web-platform/tests/html/browsers/windows/support-nested-browsing-contexts.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/browsers/windows/support-nested-browsing-contexts.html b/testing/web-platform/tests/html/browsers/windows/support-nested-browsing-contexts.html
new file mode 100644
index 000000000..e92b69d7e
--- /dev/null
+++ b/testing/web-platform/tests/html/browsers/windows/support-nested-browsing-contexts.html
@@ -0,0 +1,12 @@
+<body>
+<script>
+ var i = document.createElement("iframe");
+ i.name = "nested1";
+ document.body.appendChild(i);
+
+ window.opener.postMessage({
+ "name": window.name,
+ "isTop": window.top === window
+ }, "*");
+</script>
+</body>