| Index: mojo/public/js/connection.js
|
| diff --git a/mojo/public/js/connection.js b/mojo/public/js/connection.js
|
| index 62e8798fb2d736fea2d68e075aba818ff6df92ca..413ccb3cce6668fb84ffe4bb183d8191133952d4 100644
|
| --- a/mojo/public/js/connection.js
|
| +++ b/mojo/public/js/connection.js
|
| @@ -25,6 +25,11 @@ define("mojo/public/js/connection", [
|
| this.remote = remoteProxy;
|
|
|
| this.router_.setIncomingReceiver(localStub);
|
| + this.router_.setErrorHandler(() => {
|
| + if (StubBindings(this.local) &&
|
| + StubBindings(this.local).connectionErrorHandler)
|
| + StubBindings(this.local).connectionErrorHandler();
|
| + });
|
| if (this.remote)
|
| this.remote.receiver_ = router;
|
|
|
|
|