OLD | NEW |
1 var initialize_InspectorTest = function() { | 1 var initialize_InspectorTest = function() { |
2 | 2 |
3 var results = []; | 3 var results = []; |
4 | 4 |
5 function consoleOutputHook(messageType) | 5 function consoleOutputHook(messageType) |
6 { | 6 { |
7 InspectorTest.addResult(messageType + ": " + Array.prototype.slice.call(argu
ments, 1)); | 7 InspectorTest.addResult(messageType + ": " + Array.prototype.slice.call(argu
ments, 1)); |
8 } | 8 } |
9 | 9 |
10 window._originalConsoleLog = console.log.bind(console); | 10 window._originalConsoleLog = console.log.bind(console); |
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
809 InspectorTest.DOMDebuggerAgent = target.domdebuggerAgent(); | 809 InspectorTest.DOMDebuggerAgent = target.domdebuggerAgent(); |
810 InspectorTest.DebuggerAgent = target.debuggerAgent(); | 810 InspectorTest.DebuggerAgent = target.debuggerAgent(); |
811 InspectorTest.EmulationAgent = target.emulationAgent(); | 811 InspectorTest.EmulationAgent = target.emulationAgent(); |
812 InspectorTest.HeapProfilerAgent = target.heapProfilerAgent(); | 812 InspectorTest.HeapProfilerAgent = target.heapProfilerAgent(); |
813 InspectorTest.InspectorAgent = target.inspectorAgent(); | 813 InspectorTest.InspectorAgent = target.inspectorAgent(); |
814 InspectorTest.LayerTreeAgent = target.layerTreeAgent(); | 814 InspectorTest.LayerTreeAgent = target.layerTreeAgent(); |
815 InspectorTest.NetworkAgent = target.networkAgent(); | 815 InspectorTest.NetworkAgent = target.networkAgent(); |
816 InspectorTest.PageAgent = target.pageAgent(); | 816 InspectorTest.PageAgent = target.pageAgent(); |
817 InspectorTest.ProfilerAgent = target.profilerAgent(); | 817 InspectorTest.ProfilerAgent = target.profilerAgent(); |
818 InspectorTest.RuntimeAgent = target.runtimeAgent(); | 818 InspectorTest.RuntimeAgent = target.runtimeAgent(); |
819 InspectorTest.ScreenOrientationAgent = target.screenOrientationAgent(); | |
820 InspectorTest.WorkerAgent = target.workerAgent(); | 819 InspectorTest.WorkerAgent = target.workerAgent(); |
821 | 820 |
822 InspectorTest.consoleModel = target.consoleModel; | 821 InspectorTest.consoleModel = target.consoleModel; |
823 InspectorTest.networkManager = target.networkManager; | 822 InspectorTest.networkManager = target.networkManager; |
824 InspectorTest.resourceTreeModel = target.resourceTreeModel; | 823 InspectorTest.resourceTreeModel = target.resourceTreeModel; |
825 InspectorTest.networkLog = target.networkLog; | 824 InspectorTest.networkLog = target.networkLog; |
826 InspectorTest.debuggerModel = WebInspector.DebuggerModel.fromTarget(targ
et); | 825 InspectorTest.debuggerModel = WebInspector.DebuggerModel.fromTarget(targ
et); |
827 InspectorTest.runtimeModel = target.runtimeModel; | 826 InspectorTest.runtimeModel = target.runtimeModel; |
828 InspectorTest.domModel = WebInspector.DOMModel.fromTarget(target); | 827 InspectorTest.domModel = WebInspector.DOMModel.fromTarget(target); |
829 InspectorTest.cssModel = WebInspector.CSSStyleModel.fromTarget(target); | 828 InspectorTest.cssModel = WebInspector.CSSStyleModel.fromTarget(target); |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1062 _output("[page] " + text); | 1061 _output("[page] " + text); |
1063 } | 1062 } |
1064 | 1063 |
1065 function _output(result) | 1064 function _output(result) |
1066 { | 1065 { |
1067 if (!outputElement) | 1066 if (!outputElement) |
1068 createOutputElement(); | 1067 createOutputElement(); |
1069 outputElement.appendChild(document.createTextNode(result)); | 1068 outputElement.appendChild(document.createTextNode(result)); |
1070 outputElement.appendChild(document.createElement("br")); | 1069 outputElement.appendChild(document.createElement("br")); |
1071 } | 1070 } |
OLD | NEW |