| Index: remoting/webapp/unittests/ipc_unittest.js
|
| diff --git a/remoting/webapp/unittests/ipc_unittest.js b/remoting/webapp/unittests/ipc_unittest.js
|
| index 9434cabe97c3adcc2aa5dfaf37aac2c54f6b9173..e786147e50933e2f64e4e70155cbb72b0d6f3644 100644
|
| --- a/remoting/webapp/unittests/ipc_unittest.js
|
| +++ b/remoting/webapp/unittests/ipc_unittest.js
|
| @@ -6,6 +6,7 @@
|
|
|
| 'use strict';
|
|
|
| +/** @type {base.Ipc} */
|
| var ipc_;
|
|
|
| function pass() {
|
| @@ -62,7 +63,7 @@ QUnit.asyncTest(
|
| function() {
|
| var handler = sinon.spy();
|
| ipc_.register('foo', handler);
|
| - ipc_.unregister('foo', handler);
|
| + ipc_.unregister('foo');
|
| base.Ipc.invoke('foo', 'hello', 'world').then(fail, function(error) {
|
| sinon.assert.notCalled(handler);
|
| QUnit.equal(error, base.Ipc.Error.UNSUPPORTED_REQUEST_TYPE);
|
|
|