OLD | NEW |
1 <html> | 1 <!-- NOTE: Test is being migrated (see crbug.com/667560) !--><html> |
2 <head> | 2 <head> |
3 <script src="../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../http/tests/inspector/inspector-test.js"></script> |
4 <script src="../../http/tests/inspector/console-test.js"></script> | 4 <script src="../../http/tests/inspector/console-test.js"></script> |
5 | 5 |
6 <script> | 6 <script> |
7 function b() | 7 function b() |
8 { | 8 { |
9 console.assert(false, 1); | 9 console.assert(false, 1); |
10 console.assert(false, "a", "b"); | 10 console.assert(false, "a", "b"); |
11 } | 11 } |
(...skipping 28 matching lines...) Expand all Loading... |
40 </script> | 40 </script> |
41 </head> | 41 </head> |
42 | 42 |
43 <body onload="runTest()"> | 43 <body onload="runTest()"> |
44 <p> | 44 <p> |
45 Tests that console.assert() will dump a message and stack trace with source URLs
and line numbers. | 45 Tests that console.assert() will dump a message and stack trace with source URLs
and line numbers. |
46 </p> | 46 </p> |
47 | 47 |
48 </body> | 48 </body> |
49 </html> | 49 </html> |
OLD | NEW |