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

Unified Diff: third_party/WebKit/LayoutTests/inspector/schema-get-domains-matches-agents.html

Issue 2450973002: [DevTools] Inherit WI.Target from Protocol.Target. (Closed)
Patch Set: Created 4 years, 2 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/inspector/schema-get-domains-matches-agents.html
diff --git a/third_party/WebKit/LayoutTests/inspector/schema-get-domains-matches-agents.html b/third_party/WebKit/LayoutTests/inspector/schema-get-domains-matches-agents.html
index 97db0bc62b530cb3f157a6a2d63a504376c5bf3f..a2c0da89ba682899dcdc85b2e7eb404d5c644ad7 100644
--- a/third_party/WebKit/LayoutTests/inspector/schema-get-domains-matches-agents.html
+++ b/third_party/WebKit/LayoutTests/inspector/schema-get-domains-matches-agents.html
@@ -15,7 +15,7 @@ function test()
return;
}
var domainNames = domains.map(domain => domain.name).sort();
- var agentNames = Object.keys(target._agentsMap).sort();
+ var agentNames = Object.keys(target._agents).sort();
for (var domain of domainNames) {
if (agentNames.indexOf(domain) === -1)
InspectorTest.addResult("agent " + domain + " is missing from target");

Powered by Google App Engine
This is Rietveld 408576698