OLD | NEW |
1 <html> | 1 <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 <script> | 5 <script> |
6 | 6 |
7 function logSymbolToConsoleWithError() | 7 function logSymbolToConsoleWithError() |
8 { | 8 { |
9 Symbol.prototype.toString = function (arg) { throw new Error(); }; | 9 Symbol.prototype.toString = function (arg) { throw new Error(); }; |
10 var smb = Symbol(); | 10 var smb = Symbol(); |
(...skipping 12 matching lines...) Expand all Loading... |
23 } | 23 } |
24 </script> | 24 </script> |
25 </head> | 25 </head> |
26 | 26 |
27 <body onload="runTest()"> | 27 <body onload="runTest()"> |
28 <p> | 28 <p> |
29 Tests that console properly displays information about ES6 Symbols. | 29 Tests that console properly displays information about ES6 Symbols. |
30 </p> | 30 </p> |
31 </body> | 31 </body> |
32 </html> | 32 </html> |
OLD | NEW |