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

Unified Diff: third_party/WebKit/LayoutTests/inspector/report-API-errors.html

Issue 2851913002: [DevTools] Do not expose agents on Target
Patch Set: storage and tests.js Created 3 years, 8 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/report-API-errors.html
diff --git a/third_party/WebKit/LayoutTests/inspector/report-API-errors.html b/third_party/WebKit/LayoutTests/inspector/report-API-errors.html
index a60e7ad391b6e08434b2b5e2a7c3114ea952367f..cc5b9a03a5904628c971c25fc262d6f9ecbbad3a 100644
--- a/third_party/WebKit/LayoutTests/inspector/report-API-errors.html
+++ b/third_party/WebKit/LayoutTests/inspector/report-API-errors.html
@@ -18,8 +18,8 @@ function test()
InspectorTest.RuntimeAgent.evaluate("true", "test");
InspectorTest.RuntimeAgent.evaluate("true", "test", function(){});
InspectorTest.RuntimeAgent.evaluate("true", "test", undefined, function(){});
- InspectorTest.mainTarget._onMessage('{"method": "wrongDomain.something-strange", "params": {}}');
- InspectorTest.mainTarget._onMessage('{"method": "Inspector.something-strange", "params": {}}');
+ InspectorTest.mainTarget._dispatcher._onMessage('{"method": "wrongDomain.something-strange", "params": {}}');
+ InspectorTest.mainTarget._dispatcher._onMessage('{"method": "Inspector.something-strange", "params": {}}');
InspectorTest.completeTest();
}

Powered by Google App Engine
This is Rietveld 408576698