1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/devtools/webconsole/test/test-console-assert.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html dir="ltr" xml:lang="en-US" lang="en-US"> 1.6 + <head> 1.7 + <!-- 1.8 + Any copyright is dedicated to the Public Domain. 1.9 + http://creativecommons.org/publicdomain/zero/1.0/ 1.10 + --> 1.11 + <meta charset="utf-8"> 1.12 + <title>console.assert() test</title> 1.13 + <script type="text/javascript"> 1.14 + function test() { 1.15 + console.log("start"); 1.16 + console.assert(false, "false assert"); 1.17 + console.assert(0, "falsy assert"); 1.18 + console.assert(true, "true assert"); 1.19 + console.log("end"); 1.20 + } 1.21 + </script> 1.22 + </head> 1.23 + <body> 1.24 + <p>test console.assert()</p> 1.25 + <button onclick="test();">test console.assert()</button> 1.26 + </body> 1.27 +</html>