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

Unified Diff: remoting/webapp/crd/js/host_daemon_facade.js

Issue 1065733004: Added partial unit tests for host_controller.js. More to come. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hdf-unittest
Patch Set: Created 5 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: remoting/webapp/crd/js/host_daemon_facade.js
diff --git a/remoting/webapp/crd/js/host_daemon_facade.js b/remoting/webapp/crd/js/host_daemon_facade.js
index c09b374f21d8e63daa02d7b8de0edf30dd846e2a..2e09806e4910c292fba358a96442a178cc90c18d 100644
--- a/remoting/webapp/crd/js/host_daemon_facade.js
+++ b/remoting/webapp/crd/js/host_daemon_facade.js
@@ -201,7 +201,8 @@ remoting.HostDaemonFacade.prototype.onIncomingMessage_ = function(message) {
try {
var type = base.getStringAttr(message, 'type');
if (type != reply.type) {
- throw 'Expected reply type: ' + reply.type + ', got: ' + type;
+ throw 'Expected reply type: ' +
+ reply.type + ', got: ' + type;
Jamie 2015/04/07 01:13:12 No need for this change.
}
this.handleIncomingMessage_(message, reply.onDone);

Powered by Google App Engine
This is Rietveld 408576698