summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/browsing-the-web/unloading-documents/001.html
blob: 1ef88d3cc133645fa06faf57ff5199d28b137e86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!doctype html>
<title>document.open in unload</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
var t = async_test();
var win;

t.step(function() {
  win = window.open("support/001-1.html");
});

add_completion_callback(function() {win.close()});
</script>