| OLD | NEW |
| 1 if (window.GCController) | 1 if (window.GCController) |
| 2 GCController.collectAll(); | 2 GCController.collectAll(); |
| 3 | 3 |
| 4 var initialize_InspectorTest = function() { | 4 var initialize_InspectorTest = function() { |
| 5 Protocol.InspectorBackend.Options.suppressRequestErrors = true; | 5 Protocol.InspectorBackend.Options.suppressRequestErrors = true; |
| 6 var results = []; | 6 var results = []; |
| 7 | 7 |
| 8 function consoleOutputHook(messageType) | 8 function consoleOutputHook(messageType) |
| 9 { | 9 { |
| 10 InspectorTest.addResult(messageType + ": " + Array.prototype.slice.call(argu
ments, 1)); | 10 InspectorTest.addResult(messageType + ": " + Array.prototype.slice.call(argu
ments, 1)); |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 InspectorTest.addResult("== " + listenerItems[j].eventListener()
.listenerType()); | 348 InspectorTest.addResult("== " + listenerItems[j].eventListener()
.listenerType()); |
| 349 InspectorTest.dumpObjectPropertyTreeElement(listenerItems[j]); | 349 InspectorTest.dumpObjectPropertyTreeElement(listenerItems[j]); |
| 350 } | 350 } |
| 351 } | 351 } |
| 352 callback(); | 352 callback(); |
| 353 } | 353 } |
| 354 | 354 |
| 355 if (force) | 355 if (force) |
| 356 listenersArrived(); | 356 listenersArrived(); |
| 357 else | 357 else |
| 358 InspectorTest.addSniffer(Components.EventListenersView.prototype, "_even
tListenersArrivedForTest", listenersArrived); | 358 InspectorTest.addSniffer(EventListeners.EventListenersView.prototype, "_
eventListenersArrivedForTest", listenersArrived); |
| 359 } | 359 } |
| 360 | 360 |
| 361 InspectorTest.dumpNavigatorView = function(navigatorView, dumpIcons) | 361 InspectorTest.dumpNavigatorView = function(navigatorView, dumpIcons) |
| 362 { | 362 { |
| 363 dumpNavigatorTreeOutline(navigatorView._scriptsTree); | 363 dumpNavigatorTreeOutline(navigatorView._scriptsTree); |
| 364 | 364 |
| 365 function dumpNavigatorTreeElement(prefix, treeElement) | 365 function dumpNavigatorTreeElement(prefix, treeElement) |
| 366 { | 366 { |
| 367 var titleText = ''; | 367 var titleText = ''; |
| 368 if (treeElement._leadingIconsElement && dumpIcons) { | 368 if (treeElement._leadingIconsElement && dumpIcons) { |
| (...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1226 _output("[page] " + text); | 1226 _output("[page] " + text); |
| 1227 } | 1227 } |
| 1228 | 1228 |
| 1229 function _output(result) | 1229 function _output(result) |
| 1230 { | 1230 { |
| 1231 if (!outputElement) | 1231 if (!outputElement) |
| 1232 createOutputElement(); | 1232 createOutputElement(); |
| 1233 outputElement.appendChild(document.createTextNode(result)); | 1233 outputElement.appendChild(document.createTextNode(result)); |
| 1234 outputElement.appendChild(document.createElement("br")); | 1234 outputElement.appendChild(document.createElement("br")); |
| 1235 } | 1235 } |
| OLD | NEW |