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

Unified Diff: remoting/webapp/client_screen.js

Issue 9564025: Display correct error message when the client fails to establish P2P connection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 10 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 | « remoting/webapp/_locales/en/messages.json ('k') | remoting/webapp/remoting.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/client_screen.js
diff --git a/remoting/webapp/client_screen.js b/remoting/webapp/client_screen.js
index 1a3e701d73a9fb826218848713ce4d0d643e68e3..de025fedeba110e53e01cc73f780668f7a6de6e8 100644
--- a/remoting/webapp/client_screen.js
+++ b/remoting/webapp/client_screen.js
@@ -247,7 +247,7 @@ function onClientStateChange_(oldState, newState) {
showConnectError_(remoting.Error.INCOMPATIBLE_PROTOCOL);
} else if (remoting.clientSession.error ==
remoting.ClientSession.ConnectionError.NETWORK_FAILURE) {
- showConnectError_(remoting.Error.GENERIC);
+ showConnectError_(remoting.Error.NETWORK_FAILURE);
} else {
showConnectError_(remoting.Error.GENERIC);
}
« no previous file with comments | « remoting/webapp/_locales/en/messages.json ('k') | remoting/webapp/remoting.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698