| 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 var globals = []; | 7 var globals = []; |
| 8 | 8 |
| 9 function log(current) | 9 function log(current) |
| 10 { | 10 { |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 InspectorTest.expandConsoleMessages(dumpConsoleMessages); | 57 InspectorTest.expandConsoleMessages(dumpConsoleMessages); |
| 58 } | 58 } |
| 59 | 59 |
| 60 function dumpConsoleMessages() | 60 function dumpConsoleMessages() |
| 61 { | 61 { |
| 62 InspectorTest.dumpConsoleMessages(false, false, InspectorTest.textCo
ntentWithLineBreaks); | 62 InspectorTest.dumpConsoleMessages(false, false, InspectorTest.textCo
ntentWithLineBreaks); |
| 63 InspectorTest.completeTest(); | 63 InspectorTest.completeTest(); |
| 64 } | 64 } |
| 65 | 65 |
| 66 InspectorTest.evaluateInPage("log(" + current + ")"); | 66 InspectorTest.evaluateInPage("log(" + current + ")"); |
| 67 InspectorTest.runAfterPendingDispatches(evalInConsole); | 67 InspectorTest.deprecatedRunAfterPendingDispatches(evalInConsole); |
| 68 function evalInConsole() | 68 function evalInConsole() |
| 69 { | 69 { |
| 70 InspectorTest.evaluateInConsole("globals[" + current + "]"); | 70 InspectorTest.evaluateInConsole("globals[" + current + "]"); |
| 71 InspectorTest.runAfterPendingDispatches(advance); | 71 InspectorTest.deprecatedRunAfterPendingDispatches(advance); |
| 72 } | 72 } |
| 73 } | 73 } |
| 74 } | 74 } |
| 75 </script> | 75 </script> |
| 76 </head> | 76 </head> |
| 77 | 77 |
| 78 <body onload="onload()"> | 78 <body onload="onload()"> |
| 79 <p> | 79 <p> |
| 80 Tests that console properly displays information about ES6 features. | 80 Tests that console properly displays information about ES6 features. |
| 81 </p> | 81 </p> |
| 82 </body> | 82 </body> |
| 83 </html> | 83 </html> |
| OLD | NEW |