| Index: LayoutTests/inspector/console/console-format-es6-symbols-error.html
|
| diff --git a/LayoutTests/inspector/console/console-trace-arguments.html b/LayoutTests/inspector/console/console-format-es6-symbols-error.html
|
| similarity index 51%
|
| copy from LayoutTests/inspector/console/console-trace-arguments.html
|
| copy to LayoutTests/inspector/console/console-format-es6-symbols-error.html
|
| index edcbbc99e3509916e24991e62ef4d1c71c8069f4..bc59d01abb20d90ca5c58ce36178c10b0fa3e5c0 100644
|
| --- a/LayoutTests/inspector/console/console-trace-arguments.html
|
| +++ b/LayoutTests/inspector/console/console-format-es6-symbols-error.html
|
| @@ -4,29 +4,29 @@
|
| <script src="../../http/tests/inspector/console-test.js"></script>
|
| <script>
|
|
|
| -function a()
|
| +function logSymbolToConsoleWithError()
|
| {
|
| - console.trace(1, 2, 3);
|
| + Symbol.prototype.toString = function (arg) { throw new Error(); };
|
| + var smb = Symbol();
|
| + console.log(smb);
|
| }
|
|
|
| function test()
|
| {
|
| - function callback()
|
| + InspectorTest.evaluateInPage("logSymbolToConsoleWithError()", complete);
|
| +
|
| + function complete()
|
| {
|
| InspectorTest.dumpConsoleMessages();
|
| InspectorTest.completeTest();
|
| }
|
| - InspectorTest.evaluateInPage("setTimeout(a, 0)");
|
| - InspectorTest.addConsoleSniffer(callback);
|
| }
|
| -
|
| </script>
|
| </head>
|
|
|
| <body onload="runTest()">
|
| <p>
|
| -Tests that console.trace dumps arguments alongside the stack trace.
|
| +Tests that console properly displays information about ES6 Symbols.
|
| </p>
|
| -
|
| </body>
|
| </html>
|
|
|