summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/focus/support/focus-already-focused-iframe-middle.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/focus/support/focus-already-focused-iframe-middle.html')
-rw-r--r--testing/web-platform/tests/focus/support/focus-already-focused-iframe-middle.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/focus/support/focus-already-focused-iframe-middle.html b/testing/web-platform/tests/focus/support/focus-already-focused-iframe-middle.html
new file mode 100644
index 0000000000..71d9b71c34
--- /dev/null
+++ b/testing/web-platform/tests/focus/support/focus-already-focused-iframe-middle.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Middle</title>
+<script>
+window.onmessage = function(e) {
+ parent.postMessage(e.data, "*");
+}
+</script>
+</head>
+<body>
+<iframe src="focus-already-focused-iframe-inner.html"></iframe>
+</body>
+</html>