summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/websockets/unload-a-document/003.html
blob: 554daf458a907ca77fd344b5064437ff0a4f0ef1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!doctype html>
<title>WebSockets: navigating nested browsing context</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=/common/utils.js></script>
<div id=log></div>
<script>
var uuid;
var t = async_test(function() {uuid = token()});
var navigate = t.step_func(function() {
  document.getElementsByTagName("iframe")[0].src = 'data:text/html,<body onload="history.back()">';
});
</script>
<iframe src=001-1.html></iframe>