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

Unified Diff: extensions/test/data/api_test_base_unittest.js

Issue 2571903003: Mojo JS bindings: switch most usage of "connection"/"router" module to "bindings". (Closed)
Patch Set: remove the changes to web_ui_mojo.js which seemed to cause flakiness. Created 4 years 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: extensions/test/data/api_test_base_unittest.js
diff --git a/extensions/test/data/api_test_base_unittest.js b/extensions/test/data/api_test_base_unittest.js
index 6aa8b7819c2d19efb806f97db1094c4ade1e3ba9..094a623968110292ce76abeff5ee517125a7cc75 100644
--- a/extensions/test/data/api_test_base_unittest.js
+++ b/extensions/test/data/api_test_base_unittest.js
@@ -36,14 +36,14 @@ unittestBindings.exportTests([
},
function testMojoModulesAreAvailable() {
Promise.all([
- requireAsync('mojo/public/js/connection'),
+ requireAsync('mojo/public/js/bindings'),
requireAsync('mojo/public/js/core'),
requireAsync('content/public/renderer/frame_interfaces'),
]).then(test.callback(function(modules) {
- var connection = modules[0];
+ var bindings = modules[0];
var core = modules[1];
var frameInterfaces = modules[2];
- test.assertTrue(!!connection.Connection);
+ test.assertTrue(!!bindings.Binding);
test.assertTrue(!!core.createMessagePipe);
test.assertTrue(!!frameInterfaces.getInterface);
}));
« no previous file with comments | « extensions/renderer/resources/mime_handler_private_custom_bindings.js ('k') | headless/lib/embedder_mojo_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698