| 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 964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 975 InspectorTest.InspectorAgent = target.inspectorAgent(); | 975 InspectorTest.InspectorAgent = target.inspectorAgent(); |
| 976 InspectorTest.NetworkAgent = target.networkAgent(); | 976 InspectorTest.NetworkAgent = target.networkAgent(); |
| 977 InspectorTest.PageAgent = target.pageAgent(); | 977 InspectorTest.PageAgent = target.pageAgent(); |
| 978 InspectorTest.ProfilerAgent = target.profilerAgent(); | 978 InspectorTest.ProfilerAgent = target.profilerAgent(); |
| 979 InspectorTest.RuntimeAgent = target.runtimeAgent(); | 979 InspectorTest.RuntimeAgent = target.runtimeAgent(); |
| 980 InspectorTest.TargetAgent = target.targetAgent(); | 980 InspectorTest.TargetAgent = target.targetAgent(); |
| 981 | 981 |
| 982 InspectorTest.networkManager = SDK.NetworkManager.fromTarget(target); | 982 InspectorTest.networkManager = SDK.NetworkManager.fromTarget(target); |
| 983 InspectorTest.securityOriginManager = SDK.SecurityOriginManager.fromTarg
et(target); | 983 InspectorTest.securityOriginManager = SDK.SecurityOriginManager.fromTarg
et(target); |
| 984 InspectorTest.resourceTreeModel = SDK.ResourceTreeModel.fromTarget(targe
t); | 984 InspectorTest.resourceTreeModel = SDK.ResourceTreeModel.fromTarget(targe
t); |
| 985 InspectorTest.debuggerModel = SDK.DebuggerModel.fromTarget(target); | 985 InspectorTest.debuggerModel = target.model(SDK.DebuggerModel); |
| 986 InspectorTest.runtimeModel = target.runtimeModel; | 986 InspectorTest.runtimeModel = target.runtimeModel; |
| 987 InspectorTest.domModel = SDK.DOMModel.fromTarget(target); | 987 InspectorTest.domModel = SDK.DOMModel.fromTarget(target); |
| 988 InspectorTest.cssModel = target.model(SDK.CSSModel); | 988 InspectorTest.cssModel = target.model(SDK.CSSModel); |
| 989 InspectorTest.powerProfiler = target.powerProfiler; | 989 InspectorTest.powerProfiler = target.powerProfiler; |
| 990 InspectorTest.cpuProfilerModel = target.model(SDK.CPUProfilerModel); | 990 InspectorTest.cpuProfilerModel = target.model(SDK.CPUProfilerModel); |
| 991 InspectorTest.heapProfilerModel = target.heapProfilerModel; | 991 InspectorTest.heapProfilerModel = target.heapProfilerModel; |
| 992 InspectorTest.animationModel = target.animationModel; | 992 InspectorTest.animationModel = target.animationModel; |
| 993 InspectorTest.serviceWorkerCacheModel = target.serviceWorkerCacheModel; | 993 InspectorTest.serviceWorkerCacheModel = target.serviceWorkerCacheModel; |
| 994 InspectorTest.serviceWorkerManager = target.model(SDK.ServiceWorkerManag
er); | 994 InspectorTest.serviceWorkerManager = target.model(SDK.ServiceWorkerManag
er); |
| 995 InspectorTest.tracingManager = target.model(SDK.TracingManager); | 995 InspectorTest.tracingManager = target.model(SDK.TracingManager); |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1245 _output("[page] " + text); | 1245 _output("[page] " + text); |
| 1246 } | 1246 } |
| 1247 | 1247 |
| 1248 function _output(result) | 1248 function _output(result) |
| 1249 { | 1249 { |
| 1250 if (!outputElement) | 1250 if (!outputElement) |
| 1251 createOutputElement(); | 1251 createOutputElement(); |
| 1252 outputElement.appendChild(document.createTextNode(result)); | 1252 outputElement.appendChild(document.createTextNode(result)); |
| 1253 outputElement.appendChild(document.createElement("br")); | 1253 outputElement.appendChild(document.createElement("br")); |
| 1254 } | 1254 } |
| OLD | NEW |