summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/focus/support/iframe-contentwindow-focus-with-different-site-intermediate-frame-inner.html
blob: c4997f5bd4fa4dc37a0316ab7045577d2edd54c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html>
<head>
    <title>iframe.contentWindow.focus() with different-site intermediate frame inner</title>
</head>
<body>
<script>
document.body.onfocus = function() {
    parent.postMessage("innerfocus;", "*");
}
</script>
</body>
</html>