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

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

Issue 2109813003: [DevTools] No NetworkManager and NetworkLog for v8only mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing code review comments Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/network/network-choose-preview-view.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 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 953 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 InspectorTest.HeapProfilerAgent = target.heapProfilerAgent(); 964 InspectorTest.HeapProfilerAgent = target.heapProfilerAgent();
965 InspectorTest.InspectorAgent = target.inspectorAgent(); 965 InspectorTest.InspectorAgent = target.inspectorAgent();
966 InspectorTest.LayerTreeAgent = target.layerTreeAgent(); 966 InspectorTest.LayerTreeAgent = target.layerTreeAgent();
967 InspectorTest.NetworkAgent = target.networkAgent(); 967 InspectorTest.NetworkAgent = target.networkAgent();
968 InspectorTest.PageAgent = target.pageAgent(); 968 InspectorTest.PageAgent = target.pageAgent();
969 InspectorTest.ProfilerAgent = target.profilerAgent(); 969 InspectorTest.ProfilerAgent = target.profilerAgent();
970 InspectorTest.RuntimeAgent = target.runtimeAgent(); 970 InspectorTest.RuntimeAgent = target.runtimeAgent();
971 InspectorTest.WorkerAgent = target.workerAgent(); 971 InspectorTest.WorkerAgent = target.workerAgent();
972 972
973 InspectorTest.consoleModel = target.consoleModel; 973 InspectorTest.consoleModel = target.consoleModel;
974 InspectorTest.networkManager = target.networkManager; 974 InspectorTest.networkManager = WebInspector.NetworkManager.fromTarget(ta rget);
975 InspectorTest.resourceTreeModel = target.resourceTreeModel; 975 InspectorTest.resourceTreeModel = target.resourceTreeModel;
976 InspectorTest.networkLog = target.networkLog; 976 InspectorTest.networkLog = WebInspector.NetworkLog.fromTarget(target);
977 InspectorTest.debuggerModel = WebInspector.DebuggerModel.fromTarget(targ et); 977 InspectorTest.debuggerModel = WebInspector.DebuggerModel.fromTarget(targ et);
978 InspectorTest.runtimeModel = target.runtimeModel; 978 InspectorTest.runtimeModel = target.runtimeModel;
979 InspectorTest.domModel = WebInspector.DOMModel.fromTarget(target); 979 InspectorTest.domModel = WebInspector.DOMModel.fromTarget(target);
980 InspectorTest.cssModel = WebInspector.CSSModel.fromTarget(target); 980 InspectorTest.cssModel = WebInspector.CSSModel.fromTarget(target);
981 InspectorTest.workerManager = target.workerManager; 981 InspectorTest.workerManager = target.workerManager;
982 InspectorTest.powerProfiler = target.powerProfiler; 982 InspectorTest.powerProfiler = target.powerProfiler;
983 InspectorTest.cpuProfilerModel = target.cpuProfilerModel; 983 InspectorTest.cpuProfilerModel = target.cpuProfilerModel;
984 InspectorTest.heapProfilerModel = target.heapProfilerModel; 984 InspectorTest.heapProfilerModel = target.heapProfilerModel;
985 InspectorTest.animationModel = target.animationModel; 985 InspectorTest.animationModel = target.animationModel;
986 InspectorTest.serviceWorkerCacheModel = target.serviceWorkerCacheModel; 986 InspectorTest.serviceWorkerCacheModel = target.serviceWorkerCacheModel;
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
1212 _output("[page] " + text); 1212 _output("[page] " + text);
1213 } 1213 }
1214 1214
1215 function _output(result) 1215 function _output(result)
1216 { 1216 {
1217 if (!outputElement) 1217 if (!outputElement)
1218 createOutputElement(); 1218 createOutputElement();
1219 outputElement.appendChild(document.createTextNode(result)); 1219 outputElement.appendChild(document.createTextNode(result));
1220 outputElement.appendChild(document.createElement("br")); 1220 outputElement.appendChild(document.createElement("br"));
1221 } 1221 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/network/network-choose-preview-view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698