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

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

Issue 2441933002: [DevTools] Refactor connection-related classes. (Closed)
Patch Set: test fixes 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..481ec0970ae096bbe2217af62b146cb8cc3bd83b 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.connection._messageReceived({data: '{"method": "wrongDomain.something-strange", "params": {}}'});
+ InspectorTest.connection._messageReceived({data: '{"method": "Inspector.something-strange", "params": {}}'});
InspectorTest.completeTest();
}

Powered by Google App Engine
This is Rietveld 408576698