summaryrefslogtreecommitdiffstats
path: root/devtools/client/webconsole/test/test-bug-585956-console-trace.html
blob: e658ba633d8ccb8134f8afc4bdf4706f49916819 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html lang="en">
  <head><meta charset="utf-8">
    <title>Web Console test for bug 585956 - console.trace()</title>
    <!-- Any copyright is dedicated to the Public Domain.
         http://creativecommons.org/publicdomain/zero/1.0/ -->
<script type="application/javascript">
window.foobar585956c = function(a) {
  console.trace();
  return a+"c";
};

function foobar585956b(a) {
  return foobar585956c(a+"b");
}

function foobar585956a(omg) {
  return foobar585956b(omg + "a");
}

foobar585956a("omg");
</script>
  </head>
  <body>
    <p>Web Console test for bug 585956 - console.trace().</p>
  </body>
</html>