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

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

Issue 2758673002: [DevTools] Extract NetworkLog and HAREntry to a separate network_log module (Closed)
Patch Set: rebased Created 3 years, 9 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-test.js » ('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 3
4 var initialize_InspectorTest = function() { 4 var initialize_InspectorTest = function() {
5 Protocol.InspectorBackend.Options.suppressRequestErrors = true; 5 Protocol.InspectorBackend.Options.suppressRequestErrors = true;
6 var results = []; 6 var results = [];
7 7
8 function consoleOutputHook(messageType) 8 function consoleOutputHook(messageType)
9 { 9 {
10 InspectorTest.addResult(messageType + ": " + Array.prototype.slice.call(argu ments, 1)); 10 InspectorTest.addResult(messageType + ": " + Array.prototype.slice.call(argu ments, 1));
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 InspectorTest.cssModel = target.model(SDK.CSSModel); 988 InspectorTest.cssModel = target.model(SDK.CSSModel);
989 InspectorTest.powerProfiler = target.powerProfiler; 989 InspectorTest.powerProfiler = target.powerProfiler;
990 InspectorTest.cpuProfilerModel = target.model(SDK.CPUProfilerModel); 990 InspectorTest.cpuProfilerModel = target.model(SDK.CPUProfilerModel);
991 InspectorTest.heapProfilerModel = target.heapProfilerModel; 991 InspectorTest.heapProfilerModel = target.heapProfilerModel;
992 InspectorTest.animationModel = target.animationModel; 992 InspectorTest.animationModel = target.animationModel;
993 InspectorTest.serviceWorkerCacheModel = target.serviceWorkerCacheModel; 993 InspectorTest.serviceWorkerCacheModel = target.serviceWorkerCacheModel;
994 InspectorTest.serviceWorkerManager = target.model(SDK.ServiceWorkerManag er); 994 InspectorTest.serviceWorkerManager = target.model(SDK.ServiceWorkerManag er);
995 InspectorTest.tracingManager = target.model(SDK.TracingManager); 995 InspectorTest.tracingManager = target.model(SDK.TracingManager);
996 InspectorTest.mainTarget = target; 996 InspectorTest.mainTarget = target;
997 InspectorTest.consoleModel = ConsoleModel.consoleModel; 997 InspectorTest.consoleModel = ConsoleModel.consoleModel;
998 InspectorTest.networkLog = SDK.networkLog; 998 InspectorTest.networkLog = NetworkLog.networkLog;
999 }, 999 },
1000 1000
1001 targetRemoved: function(target) { } 1001 targetRemoved: function(target) { }
1002 }); 1002 });
1003 1003
1004 InspectorTest._panelsToPreload = []; 1004 InspectorTest._panelsToPreload = [];
1005 1005
1006 InspectorTest.preloadPanel = function(panelName) 1006 InspectorTest.preloadPanel = function(panelName)
1007 { 1007 {
1008 InspectorTest._panelsToPreload.push(panelName); 1008 InspectorTest._panelsToPreload.push(panelName);
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
1245 _output("[page] " + text); 1245 _output("[page] " + text);
1246 } 1246 }
1247 1247
1248 function _output(result) 1248 function _output(result)
1249 { 1249 {
1250 if (!outputElement) 1250 if (!outputElement)
1251 createOutputElement(); 1251 createOutputElement();
1252 outputElement.appendChild(document.createTextNode(result)); 1252 outputElement.appendChild(document.createTextNode(result));
1253 outputElement.appendChild(document.createElement("br")); 1253 outputElement.appendChild(document.createElement("br"));
1254 } 1254 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/network-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698