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

Unified Diff: third_party/WebKit/LayoutTests/inspector/report-API-errors.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/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 3ba297fdc3ef52cc929db2d328b3c6d318389777..b9e40bf21ea994369218e0d38bc18e8cb57407b7 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.connection.dispatch('{"method": "wrongDomain.something-strange", "params": {}}');
- InspectorTest.connection.dispatch('{"method": "Inspector.something-strange", "params": {}}');
+ InspectorTest.mainTarget._onMessage('{"method": "wrongDomain.something-strange", "params": {}}');
+ InspectorTest.mainTarget._onMessage('{"method": "Inspector.something-strange", "params": {}}');
InspectorTest.completeTest();
}

Powered by Google App Engine
This is Rietveld 408576698