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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/workspace-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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
index 6b7c24cf1b702f8c55abdfcb95f3e456073b0741..0f7f0db9f7599189235da7b5a28b4295e3c5dcd7 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
@@ -44,7 +44,8 @@ InspectorTest.createMockTarget = function(id, debuggerModelConstructor, capabili
this.consoleModel = new WebInspector.ConsoleModel(this);
this.networkManager = new WebInspector.NetworkManager(this);
this.runtimeModel = new WebInspector.RuntimeModel(this);
- this.resourceTreeModel = new WebInspector.ResourceTreeModel(this);
+ this.securityOriginManager = WebInspector.SecurityOriginManager.fromTarget(this);
+ this.resourceTreeModel = new WebInspector.ResourceTreeModel(this, this.networkManager, this.securityOriginManager);
this.resourceTreeModel._inspectedPageURL = InspectorTest.resourceTreeModel._inspectedPageURL;
this.resourceTreeModel._cachedResourcesProcessed = true;
this.resourceTreeModel._frameAttached("42", 0);

Powered by Google App Engine
This is Rietveld 408576698