| 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 953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 964 InspectorTest.HeapProfilerAgent = target.heapProfilerAgent(); | 964 InspectorTest.HeapProfilerAgent = target.heapProfilerAgent(); |
| 965 InspectorTest.InspectorAgent = target.inspectorAgent(); | 965 InspectorTest.InspectorAgent = target.inspectorAgent(); |
| 966 InspectorTest.LayerTreeAgent = target.layerTreeAgent(); | 966 InspectorTest.LayerTreeAgent = target.layerTreeAgent(); |
| 967 InspectorTest.NetworkAgent = target.networkAgent(); | 967 InspectorTest.NetworkAgent = target.networkAgent(); |
| 968 InspectorTest.PageAgent = target.pageAgent(); | 968 InspectorTest.PageAgent = target.pageAgent(); |
| 969 InspectorTest.ProfilerAgent = target.profilerAgent(); | 969 InspectorTest.ProfilerAgent = target.profilerAgent(); |
| 970 InspectorTest.RuntimeAgent = target.runtimeAgent(); | 970 InspectorTest.RuntimeAgent = target.runtimeAgent(); |
| 971 InspectorTest.WorkerAgent = target.workerAgent(); | 971 InspectorTest.WorkerAgent = target.workerAgent(); |
| 972 | 972 |
| 973 InspectorTest.consoleModel = target.consoleModel; | 973 InspectorTest.consoleModel = target.consoleModel; |
| 974 InspectorTest.networkManager = target.networkManager; | 974 InspectorTest.networkManager = WebInspector.NetworkManager.fromTarget(ta
rget); |
| 975 InspectorTest.resourceTreeModel = target.resourceTreeModel; | 975 InspectorTest.resourceTreeModel = target.resourceTreeModel; |
| 976 InspectorTest.networkLog = target.networkLog; | 976 InspectorTest.networkLog = WebInspector.NetworkLog.fromTarget(target); |
| 977 InspectorTest.debuggerModel = WebInspector.DebuggerModel.fromTarget(targ
et); | 977 InspectorTest.debuggerModel = WebInspector.DebuggerModel.fromTarget(targ
et); |
| 978 InspectorTest.runtimeModel = target.runtimeModel; | 978 InspectorTest.runtimeModel = target.runtimeModel; |
| 979 InspectorTest.domModel = WebInspector.DOMModel.fromTarget(target); | 979 InspectorTest.domModel = WebInspector.DOMModel.fromTarget(target); |
| 980 InspectorTest.cssModel = WebInspector.CSSModel.fromTarget(target); | 980 InspectorTest.cssModel = WebInspector.CSSModel.fromTarget(target); |
| 981 InspectorTest.workerManager = target.workerManager; | 981 InspectorTest.workerManager = target.workerManager; |
| 982 InspectorTest.powerProfiler = target.powerProfiler; | 982 InspectorTest.powerProfiler = target.powerProfiler; |
| 983 InspectorTest.cpuProfilerModel = target.cpuProfilerModel; | 983 InspectorTest.cpuProfilerModel = target.cpuProfilerModel; |
| 984 InspectorTest.heapProfilerModel = target.heapProfilerModel; | 984 InspectorTest.heapProfilerModel = target.heapProfilerModel; |
| 985 InspectorTest.animationModel = target.animationModel; | 985 InspectorTest.animationModel = target.animationModel; |
| 986 InspectorTest.serviceWorkerCacheModel = target.serviceWorkerCacheModel; | 986 InspectorTest.serviceWorkerCacheModel = target.serviceWorkerCacheModel; |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1212 _output("[page] " + text); | 1212 _output("[page] " + text); |
| 1213 } | 1213 } |
| 1214 | 1214 |
| 1215 function _output(result) | 1215 function _output(result) |
| 1216 { | 1216 { |
| 1217 if (!outputElement) | 1217 if (!outputElement) |
| 1218 createOutputElement(); | 1218 createOutputElement(); |
| 1219 outputElement.appendChild(document.createTextNode(result)); | 1219 outputElement.appendChild(document.createTextNode(result)); |
| 1220 outputElement.appendChild(document.createElement("br")); | 1220 outputElement.appendChild(document.createElement("br")); |
| 1221 } | 1221 } |
| OLD | NEW |