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

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

Issue 1722643003: Reland of [DevTools] Move screen orientation override to RenderWidgetScreenMetricsEmulator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
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
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();
959 InspectorTest.WorkerAgent = target.workerAgent(); 958 InspectorTest.WorkerAgent = target.workerAgent();
960 959
961 InspectorTest.consoleModel = target.consoleModel; 960 InspectorTest.consoleModel = target.consoleModel;
962 InspectorTest.networkManager = target.networkManager; 961 InspectorTest.networkManager = target.networkManager;
963 InspectorTest.resourceTreeModel = target.resourceTreeModel; 962 InspectorTest.resourceTreeModel = target.resourceTreeModel;
964 InspectorTest.networkLog = target.networkLog; 963 InspectorTest.networkLog = target.networkLog;
965 InspectorTest.debuggerModel = WebInspector.DebuggerModel.fromTarget(targ et); 964 InspectorTest.debuggerModel = WebInspector.DebuggerModel.fromTarget(targ et);
966 InspectorTest.runtimeModel = target.runtimeModel; 965 InspectorTest.runtimeModel = target.runtimeModel;
967 InspectorTest.domModel = WebInspector.DOMModel.fromTarget(target); 966 InspectorTest.domModel = WebInspector.DOMModel.fromTarget(target);
968 InspectorTest.cssModel = WebInspector.CSSStyleModel.fromTarget(target); 967 InspectorTest.cssModel = WebInspector.CSSStyleModel.fromTarget(target);
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
1200 _output("[page] " + text); 1199 _output("[page] " + text);
1201 } 1200 }
1202 1201
1203 function _output(result) 1202 function _output(result)
1204 { 1203 {
1205 if (!outputElement) 1204 if (!outputElement)
1206 createOutputElement(); 1205 createOutputElement();
1207 outputElement.appendChild(document.createTextNode(result)); 1206 outputElement.appendChild(document.createTextNode(result));
1208 outputElement.appendChild(document.createElement("br")); 1207 outputElement.appendChild(document.createElement("br"));
1209 } 1208 }
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | third_party/WebKit/LayoutTests/inspector/screen-orientation-override.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698