browser/devtools/debugger/test/doc_conditional-breakpoints.html

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:c08cda5422e5
1 <!-- Any copyright is dedicated to the Public Domain.
2 http://creativecommons.org/publicdomain/zero/1.0/ -->
3 <!doctype html>
4
5 <html>
6 <head>
7 <meta charset="utf-8"/>
8 <title>Debugger test page</title>
9 </head>
10
11 <body>
12 <button onclick="ermahgerd()">Click me!</button>
13
14 <script type="text/javascript">
15 function ermahgerd() {
16 var a = {};
17 debugger;
18 a = "undefined";
19 a = "null";
20 a = "42";
21 a = "true";
22 a = "'nasu'";
23 a = "/regexp/";
24 a = "{}";
25 a = "function() {}";
26 a = "(function { return false; })()";
27 a = "a";
28 a = "a !== undefined";
29 a = "a !== null";
30 a = "b";
31 }
32 </script>
33 </body>
34
35 </html>

mercurial