| OLD | NEW |
| 1 if (window.GCController) | 1 if (window.GCController) |
| 2 GCController.collectAll(); | 2 GCController.collectAll(); |
| 3 var initialize_InspectorTest = function() { | 3 var initialize_InspectorTest = function() { |
| 4 | 4 |
| 5 var results = []; | 5 var results = []; |
| 6 | 6 |
| 7 function consoleOutputHook(messageType) | 7 function consoleOutputHook(messageType) |
| 8 { | 8 { |
| 9 InspectorTest.addResult(messageType + ": " + Array.prototype.slice.call(argu
ments, 1)); | 9 InspectorTest.addResult(messageType + ": " + Array.prototype.slice.call(argu
ments, 1)); |
| 10 } | 10 } |
| (...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 890 { | 890 { |
| 891 function moduleSorter(left, right) | 891 function moduleSorter(left, right) |
| 892 { | 892 { |
| 893 return String.naturalOrderComparator(left._descriptor.name, right._descr
iptor.name); | 893 return String.naturalOrderComparator(left._descriptor.name, right._descr
iptor.name); |
| 894 } | 894 } |
| 895 | 895 |
| 896 InspectorTest.addResult("Loaded modules:"); | 896 InspectorTest.addResult("Loaded modules:"); |
| 897 var modules = self.runtime._modules; | 897 var modules = self.runtime._modules; |
| 898 modules.sort(moduleSorter); | 898 modules.sort(moduleSorter); |
| 899 for (var i = 0; i < modules.length; ++i) { | 899 for (var i = 0; i < modules.length; ++i) { |
| 900 if (modules[i]._loaded) | 900 if (modules[i]._loadedForTest) |
| 901 InspectorTest.addResult(" " + modules[i]._descriptor.name); | 901 InspectorTest.addResult(" " + modules[i]._descriptor.name); |
| 902 } | 902 } |
| 903 if (next) | 903 if (next) |
| 904 next(); | 904 next(); |
| 905 } | 905 } |
| 906 | 906 |
| 907 InspectorTest.TimeoutMock = function() | 907 InspectorTest.TimeoutMock = function() |
| 908 { | 908 { |
| 909 this._timeoutId = 0; | 909 this._timeoutId = 0; |
| 910 this._timeoutIdToProcess = {}; | 910 this._timeoutIdToProcess = {}; |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1213 _output("[page] " + text); | 1213 _output("[page] " + text); |
| 1214 } | 1214 } |
| 1215 | 1215 |
| 1216 function _output(result) | 1216 function _output(result) |
| 1217 { | 1217 { |
| 1218 if (!outputElement) | 1218 if (!outputElement) |
| 1219 createOutputElement(); | 1219 createOutputElement(); |
| 1220 outputElement.appendChild(document.createTextNode(result)); | 1220 outputElement.appendChild(document.createTextNode(result)); |
| 1221 outputElement.appendChild(document.createElement("br")); | 1221 outputElement.appendChild(document.createElement("br")); |
| 1222 } | 1222 } |
| OLD | NEW |