Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: LayoutTests/http/tests/inspector/inspector-test.js

Issue 1195793008: [DevTools] Implement screen orientation override. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Restore test Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/inspector/screen-orientation-override.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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();
819 InspectorTest.WorkerAgent = target.workerAgent(); 820 InspectorTest.WorkerAgent = target.workerAgent();
820 821
821 InspectorTest.consoleModel = target.consoleModel; 822 InspectorTest.consoleModel = target.consoleModel;
822 InspectorTest.networkManager = target.networkManager; 823 InspectorTest.networkManager = target.networkManager;
823 InspectorTest.resourceTreeModel = target.resourceTreeModel; 824 InspectorTest.resourceTreeModel = target.resourceTreeModel;
824 InspectorTest.networkLog = target.networkLog; 825 InspectorTest.networkLog = target.networkLog;
825 InspectorTest.debuggerModel = WebInspector.DebuggerModel.fromTarget(targ et); 826 InspectorTest.debuggerModel = WebInspector.DebuggerModel.fromTarget(targ et);
826 InspectorTest.runtimeModel = target.runtimeModel; 827 InspectorTest.runtimeModel = target.runtimeModel;
827 InspectorTest.domModel = WebInspector.DOMModel.fromTarget(target); 828 InspectorTest.domModel = WebInspector.DOMModel.fromTarget(target);
828 InspectorTest.cssModel = WebInspector.CSSStyleModel.fromTarget(target); 829 InspectorTest.cssModel = WebInspector.CSSStyleModel.fromTarget(target);
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
1061 _output("[page] " + text); 1062 _output("[page] " + text);
1062 } 1063 }
1063 1064
1064 function _output(result) 1065 function _output(result)
1065 { 1066 {
1066 if (!outputElement) 1067 if (!outputElement)
1067 createOutputElement(); 1068 createOutputElement();
1068 outputElement.appendChild(document.createTextNode(result)); 1069 outputElement.appendChild(document.createTextNode(result));
1069 outputElement.appendChild(document.createElement("br")); 1070 outputElement.appendChild(document.createElement("br"));
1070 } 1071 }
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/screen-orientation-override.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698