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

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

Issue 2172753002: [DevTools] No longer store security origins in ResourceTreeModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test failures 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
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 944 matching lines...) Expand 10 before | Expand all | Expand 10 after
955 InspectorTest.InspectorAgent = target.inspectorAgent(); 955 InspectorTest.InspectorAgent = target.inspectorAgent();
956 InspectorTest.LayerTreeAgent = target.layerTreeAgent(); 956 InspectorTest.LayerTreeAgent = target.layerTreeAgent();
957 InspectorTest.NetworkAgent = target.networkAgent(); 957 InspectorTest.NetworkAgent = target.networkAgent();
958 InspectorTest.PageAgent = target.pageAgent(); 958 InspectorTest.PageAgent = target.pageAgent();
959 InspectorTest.ProfilerAgent = target.profilerAgent(); 959 InspectorTest.ProfilerAgent = target.profilerAgent();
960 InspectorTest.RuntimeAgent = target.runtimeAgent(); 960 InspectorTest.RuntimeAgent = target.runtimeAgent();
961 InspectorTest.WorkerAgent = target.workerAgent(); 961 InspectorTest.WorkerAgent = target.workerAgent();
962 962
963 InspectorTest.consoleModel = target.consoleModel; 963 InspectorTest.consoleModel = target.consoleModel;
964 InspectorTest.networkManager = WebInspector.NetworkManager.fromTarget(ta rget); 964 InspectorTest.networkManager = WebInspector.NetworkManager.fromTarget(ta rget);
965 InspectorTest.securityOriginManager = WebInspector.SecurityOriginManager .fromTarget(target);
965 InspectorTest.resourceTreeModel = target.resourceTreeModel; 966 InspectorTest.resourceTreeModel = target.resourceTreeModel;
966 InspectorTest.networkLog = WebInspector.NetworkLog.fromTarget(target); 967 InspectorTest.networkLog = WebInspector.NetworkLog.fromTarget(target);
967 InspectorTest.debuggerModel = WebInspector.DebuggerModel.fromTarget(targ et); 968 InspectorTest.debuggerModel = WebInspector.DebuggerModel.fromTarget(targ et);
968 InspectorTest.runtimeModel = target.runtimeModel; 969 InspectorTest.runtimeModel = target.runtimeModel;
969 InspectorTest.domModel = WebInspector.DOMModel.fromTarget(target); 970 InspectorTest.domModel = WebInspector.DOMModel.fromTarget(target);
970 InspectorTest.cssModel = WebInspector.CSSModel.fromTarget(target); 971 InspectorTest.cssModel = WebInspector.CSSModel.fromTarget(target);
971 InspectorTest.workerManager = target.workerManager; 972 InspectorTest.workerManager = target.workerManager;
972 InspectorTest.powerProfiler = target.powerProfiler; 973 InspectorTest.powerProfiler = target.powerProfiler;
973 InspectorTest.cpuProfilerModel = target.cpuProfilerModel; 974 InspectorTest.cpuProfilerModel = target.cpuProfilerModel;
974 InspectorTest.heapProfilerModel = target.heapProfilerModel; 975 InspectorTest.heapProfilerModel = target.heapProfilerModel;
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
1212 _output("[page] " + text); 1213 _output("[page] " + text);
1213 } 1214 }
1214 1215
1215 function _output(result) 1216 function _output(result)
1216 { 1217 {
1217 if (!outputElement) 1218 if (!outputElement)
1218 createOutputElement(); 1219 createOutputElement();
1219 outputElement.appendChild(document.createTextNode(result)); 1220 outputElement.appendChild(document.createTextNode(result));
1220 outputElement.appendChild(document.createElement("br")); 1221 outputElement.appendChild(document.createElement("br"));
1221 } 1222 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698