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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-events.html

Issue 2172753002: [DevTools] No longer store security origins in ResourceTreeModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Extracted security origins from the ResourceTreeModel 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/resource-tree/resource-tree-events.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-events.html b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-events.html
index 15351adcc799dab95611ff724ac545e6a84dd6ec..083579fe2fdf21860c1b4fde218774ea55228861 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-events.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-events.html
@@ -17,6 +17,8 @@ function test()
for (var eventName in WebInspector.ResourceTreeModel.EventTypes)
InspectorTest.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes[eventName], eventHandler.bind(this, eventName));
+ for (var eventName in WebInspector.SecurityOriginManager.EventTypes)
+ WebInspector.SecurityOriginManager.fromTarget(InspectorTest.mainTarget).addEventListener(WebInspector.SecurityOriginManager.EventTypes[eventName], eventHandler.bind(this, eventName));
function eventHandler(eventName, event)
{

Powered by Google App Engine
This is Rietveld 408576698