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

Unified Diff: services/js/test/network_test.js

Issue 803173009: Mojo JS Bindings: Eliminate foo$ Stub and Proxy class members (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: sync Created 5 years, 11 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
« no previous file with comments | « mojo/services/public/js/shell.js ('k') | services/js/test/pingpong.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/js/test/network_test.js
diff --git a/services/js/test/network_test.js b/services/js/test/network_test.js
index fe994086f1f3b1663b152c84e53acb440ff33120..513c9a8375f0efd8d7d664666d32b3a025c10e0c 100644
--- a/services/js/test/network_test.js
+++ b/services/js/test/network_test.js
@@ -22,9 +22,9 @@ define("main", [
this.app = app;
var netService = app.shell.connectToService(
"mojo:network_service", NetworkService);
- var urlLoaderClient = {};
- netService.createURLLoader(urlLoaderClient);
- this.urlLoader = urlLoaderClient.remote$;
+ var urlLoader;
+ netService.createURLLoader(function(x){urlLoader = x;});
+ this.urlLoader = urlLoader;
}
getFileSize(url) {
« no previous file with comments | « mojo/services/public/js/shell.js ('k') | services/js/test/pingpong.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698