<!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>