summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests/browser/browser_deadObjectOnUnload.html
blob: ceb40b20b622edf4c0f14d54fe2db09c230f2c0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE HTML>
<html>
<!--
Test page for https://bugzilla.mozilla.org/show_bug.cgi?id=1242643
-->
<head>
  <meta charset="utf-8">
  <title>Test page for Bug 1242643</title>
</head>
<body onUnload="onUnload();">
<p><span id="samplepage">sample page</span></p>
<script type="application/javascript">
  function onUnload() {
    console.log('in unload');
  }
</script>
</body>
</html>