Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 <!-- Any copyright is dedicated to the Public Domain.
2 http://creativecommons.org/publicdomain/zero/1.0/ -->
3 <!doctype html>
5 <html>
6 <head>
7 <meta charset="utf-8"/>
8 <title>Debugger test page</title>
9 </head>
11 <body>
12 <script type="text/javascript">
13 function simpleCall() {
14 debugger;
15 }
17 function evalCall() {
18 eval("debugger;");
19 }
21 var gRecurseLimit = 100;
22 var gRecurseDepth = 0;
24 function recurse() {
25 if (++gRecurseDepth == gRecurseLimit) {
26 debugger;
27 gRecurseDepth = 0;
28 return;
29 }
30 recurse();
31 }
32 </script>
33 </body>
35 </html>