| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 InspectorTest.expandConsoleMessages(dumpConsoleMessages); | 80 InspectorTest.expandConsoleMessages(dumpConsoleMessages); |
| 81 } | 81 } |
| 82 | 82 |
| 83 function dumpConsoleMessages() | 83 function dumpConsoleMessages() |
| 84 { | 84 { |
| 85 InspectorTest.dumpConsoleMessages(false, false, InspectorTest.textCo
ntentWithLineBreaks); | 85 InspectorTest.dumpConsoleMessages(false, false, InspectorTest.textCo
ntentWithLineBreaks); |
| 86 InspectorTest.completeTest(); | 86 InspectorTest.completeTest(); |
| 87 } | 87 } |
| 88 | 88 |
| 89 InspectorTest.evaluateInPage("log(" + current + ")"); | 89 InspectorTest.evaluateInPage("log(" + current + ")"); |
| 90 InspectorTest.runAfterPendingDispatches(evalInConsole); | 90 InspectorTest.deprecatedRunAfterPendingDispatches(evalInConsole); |
| 91 function evalInConsole() | 91 function evalInConsole() |
| 92 { | 92 { |
| 93 InspectorTest.evaluateInConsole("globals[" + current + "]"); | 93 InspectorTest.evaluateInConsole("globals[" + current + "]"); |
| 94 InspectorTest.runAfterPendingDispatches(advance); | 94 InspectorTest.deprecatedRunAfterPendingDispatches(advance); |
| 95 } | 95 } |
| 96 } | 96 } |
| 97 } | 97 } |
| 98 </script> | 98 </script> |
| 99 </head> | 99 </head> |
| 100 | 100 |
| 101 <body onload="onload()"> | 101 <body onload="onload()"> |
| 102 <p> | 102 <p> |
| 103 Tests that console properly displays information about ES6 features. | 103 Tests that console properly displays information about ES6 features. |
| 104 </p> | 104 </p> |
| 105 </body> | 105 </body> |
| 106 </html> | 106 </html> |
| OLD | NEW |