1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/devtools/debugger/test/doc_conditional-breakpoints.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,35 @@ 1.4 +<!-- Any copyright is dedicated to the Public Domain. 1.5 + http://creativecommons.org/publicdomain/zero/1.0/ --> 1.6 +<!doctype html> 1.7 + 1.8 +<html> 1.9 + <head> 1.10 + <meta charset="utf-8"/> 1.11 + <title>Debugger test page</title> 1.12 + </head> 1.13 + 1.14 + <body> 1.15 + <button onclick="ermahgerd()">Click me!</button> 1.16 + 1.17 + <script type="text/javascript"> 1.18 + function ermahgerd() { 1.19 + var a = {}; 1.20 + debugger; 1.21 + a = "undefined"; 1.22 + a = "null"; 1.23 + a = "42"; 1.24 + a = "true"; 1.25 + a = "'nasu'"; 1.26 + a = "/regexp/"; 1.27 + a = "{}"; 1.28 + a = "function() {}"; 1.29 + a = "(function { return false; })()"; 1.30 + a = "a"; 1.31 + a = "a !== undefined"; 1.32 + a = "a !== null"; 1.33 + a = "b"; 1.34 + } 1.35 + </script> 1.36 + </body> 1.37 + 1.38 +</html>