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 937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
948 InspectorTest.DOMDebuggerAgent = target.domdebuggerAgent(); | 948 InspectorTest.DOMDebuggerAgent = target.domdebuggerAgent(); |
949 InspectorTest.DebuggerAgent = target.debuggerAgent(); | 949 InspectorTest.DebuggerAgent = target.debuggerAgent(); |
950 InspectorTest.EmulationAgent = target.emulationAgent(); | 950 InspectorTest.EmulationAgent = target.emulationAgent(); |
951 InspectorTest.HeapProfilerAgent = target.heapProfilerAgent(); | 951 InspectorTest.HeapProfilerAgent = target.heapProfilerAgent(); |
952 InspectorTest.InspectorAgent = target.inspectorAgent(); | 952 InspectorTest.InspectorAgent = target.inspectorAgent(); |
953 InspectorTest.LayerTreeAgent = target.layerTreeAgent(); | 953 InspectorTest.LayerTreeAgent = target.layerTreeAgent(); |
954 InspectorTest.NetworkAgent = target.networkAgent(); | 954 InspectorTest.NetworkAgent = target.networkAgent(); |
955 InspectorTest.PageAgent = target.pageAgent(); | 955 InspectorTest.PageAgent = target.pageAgent(); |
956 InspectorTest.ProfilerAgent = target.profilerAgent(); | 956 InspectorTest.ProfilerAgent = target.profilerAgent(); |
957 InspectorTest.RuntimeAgent = target.runtimeAgent(); | 957 InspectorTest.RuntimeAgent = target.runtimeAgent(); |
| 958 InspectorTest.ScreenOrientationAgent = target.screenOrientationAgent(); |
958 InspectorTest.WorkerAgent = target.workerAgent(); | 959 InspectorTest.WorkerAgent = target.workerAgent(); |
959 | 960 |
960 InspectorTest.consoleModel = target.consoleModel; | 961 InspectorTest.consoleModel = target.consoleModel; |
961 InspectorTest.networkManager = target.networkManager; | 962 InspectorTest.networkManager = target.networkManager; |
962 InspectorTest.resourceTreeModel = target.resourceTreeModel; | 963 InspectorTest.resourceTreeModel = target.resourceTreeModel; |
963 InspectorTest.networkLog = target.networkLog; | 964 InspectorTest.networkLog = target.networkLog; |
964 InspectorTest.debuggerModel = WebInspector.DebuggerModel.fromTarget(targ
et); | 965 InspectorTest.debuggerModel = WebInspector.DebuggerModel.fromTarget(targ
et); |
965 InspectorTest.runtimeModel = target.runtimeModel; | 966 InspectorTest.runtimeModel = target.runtimeModel; |
966 InspectorTest.domModel = WebInspector.DOMModel.fromTarget(target); | 967 InspectorTest.domModel = WebInspector.DOMModel.fromTarget(target); |
967 InspectorTest.cssModel = WebInspector.CSSStyleModel.fromTarget(target); | 968 InspectorTest.cssModel = WebInspector.CSSStyleModel.fromTarget(target); |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1199 _output("[page] " + text); | 1200 _output("[page] " + text); |
1200 } | 1201 } |
1201 | 1202 |
1202 function _output(result) | 1203 function _output(result) |
1203 { | 1204 { |
1204 if (!outputElement) | 1205 if (!outputElement) |
1205 createOutputElement(); | 1206 createOutputElement(); |
1206 outputElement.appendChild(document.createTextNode(result)); | 1207 outputElement.appendChild(document.createTextNode(result)); |
1207 outputElement.appendChild(document.createElement("br")); | 1208 outputElement.appendChild(document.createElement("br")); |
1208 } | 1209 } |
OLD | NEW |