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

Unified Diff: mojo/public/js/bindings/connection.js

Issue 250713003: Test sending corrupt mojo messages back from javascript. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Uint32 => Uint8 for consistency. Created 6 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: mojo/public/js/bindings/connection.js
diff --git a/mojo/public/js/bindings/connection.js b/mojo/public/js/bindings/connection.js
index ebf60adb7f8de5a94014d762db9c1ecbc0d8c356..c66f65354f333231db45c5c256da8f55e8d46f76 100644
--- a/mojo/public/js/bindings/connection.js
+++ b/mojo/public/js/bindings/connection.js
@@ -20,6 +20,10 @@ define("mojo/public/js/bindings/connection", [
this.remote = null;
};
+ Connection.prototype.setFuzzer = function(fuzzer) {
+ this.router_.setFuzzer(fuzzer);
+ }
abarth-chromium 2014/04/25 00:27:54 We shouldn't need this test code in the production
Matt Perry 2014/04/25 00:30:46 As Adam pointed out to me when I tried this, you c
Tom Sepez 2014/04/25 18:30:34 Yep. Was just trying to preserve some sort of lay
+
Connection.prototype.encounteredError = function() {
return this.router_.encounteredError();
};

Powered by Google App Engine
This is Rietveld 408576698