summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_windowwatcher_win_open.html
blob: 0237e49377c52352dd64dedb700b72c2c1e76332 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE HTML>
<html>
<body>
Opened Window<br/>

<script>

window.onload = function() {
  window.opener.parent.parent.postMessage({result: window.location.href}, "*");
  window.close();
}

</script>
</body>
</html>