| OLD | NEW |
| 1 var initialize_ConsoleTest = function() { | 1 var initialize_ConsoleTest = function() { |
| 2 | 2 |
| 3 InspectorTest.showConsolePanel = function() | 3 InspectorTest.showConsolePanel = function() |
| 4 { | 4 { |
| 5 WebInspector.showPanel("console"); | 5 WebInspector.showPanel("console"); |
| 6 WebInspector.drawer.immediatelyFinishAnimation(); | 6 WebInspector.drawer.immediatelyFinishAnimation(); |
| 7 } | 7 } |
| 8 | 8 |
| 9 InspectorTest.dumpConsoleMessages = function(printOriginatingCommand, dumpClassN
ames) | 9 InspectorTest.dumpConsoleMessages = function(printOriginatingCommand, dumpClassN
ames) |
| 10 { | 10 { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 if (m._parameters) | 81 if (m._parameters) |
| 82 InspectorTest.addResult("FAILED: message parameters list is not
empty: " + m._parameters); | 82 InspectorTest.addResult("FAILED: message parameters list is not
empty: " + m._parameters); |
| 83 else | 83 else |
| 84 InspectorTest.addResult("SUCCESS: message parameters list is emp
ty. "); | 84 InspectorTest.addResult("SUCCESS: message parameters list is emp
ty. "); |
| 85 } else { | 85 } else { |
| 86 InspectorTest.addResult("FAILED: didn't find _parameters field in th
e message."); | 86 InspectorTest.addResult("FAILED: didn't find _parameters field in th
e message."); |
| 87 } | 87 } |
| 88 } | 88 } |
| 89 } | 89 } |
| 90 | 90 |
| 91 InspectorTest.waitUntilMessageReceived = function(callback) |
| 92 { |
| 93 InspectorTest.addSniffer(WebInspector.console, "addMessage", callback, false
); |
| 91 } | 94 } |
| 95 |
| 96 } |
| OLD | NEW |