diff options
Diffstat (limited to 'testing/web-platform/tests/focus/support/iframe-focuses-parent-different-site-inner.html')
-rw-r--r-- | testing/web-platform/tests/focus/support/iframe-focuses-parent-different-site-inner.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/focus/support/iframe-focuses-parent-different-site-inner.html b/testing/web-platform/tests/focus/support/iframe-focuses-parent-different-site-inner.html new file mode 100644 index 0000000000..8f2098e3fb --- /dev/null +++ b/testing/web-platform/tests/focus/support/iframe-focuses-parent-different-site-inner.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>iframe focuses parent different site inner</title> +</head> +<body> +<script> +window.onmessage = function() { + parent.focus(); + setTimeout(function() { + parent.postMessage("finished", "*"); + }, 500); +} +</script> +</body> +</html> |