summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/browsing-the-web/unloading-documents/unload/008.html
blob: 015507d8177fc73936b89fb1c110763fee153b0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!doctype html>
<title>pagehide IDL attribute</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
var iframe;
var t = async_test();
onload = function() {
  setTimeout(function() {
    var iframe = document.getElementsByTagName("iframe")[0];
    iframe.src="about:blank";
  }, 100)
};
</script>
<iframe src="008-1.html"></iframe>