summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests/browser/browser_consoleStack.html
blob: 37bfdb32f68a643b0658c9f74ed7c4a08247dc3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE HTML>
<html>
<!--
Test page for https://bugzilla.mozilla.org/show_bug.cgi?id=1471989
-->
<head>
  <meta charset="utf-8">
  <title>Test page for Bug 1471989</title>
</head>
<body onUnload="onUnload();">
<p><span id="samplepage">sample page</span></p>
<script type="application/javascript">
  // Get something sent to ConsoleStorageAPI that has a stack.
  console.trace("whatever");

  function onUnload() {
    console.log('in unload');
  }
</script>
</body>
</html>