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

Unified Diff: remoting/webapp/me2mom/remoting_session.js

Issue 7008020: Fix up flicker, and parsing by Xcode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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/me2mom/main.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/me2mom/remoting_session.js
diff --git a/remoting/webapp/me2mom/remoting_session.js b/remoting/webapp/me2mom/remoting_session.js
index 23e8ea720faa120528ba050bbaabc15b02703c8b..1177ca5c503a271636c37e16a02f29577b47034a 100644
--- a/remoting/webapp/me2mom/remoting_session.js
+++ b/remoting/webapp/me2mom/remoting_session.js
@@ -118,7 +118,8 @@ function init() {
remoting.plugin = plugin;
// Only allow https connections to the httpXmppProxy.
- if (remoting.httpXmppProxy.search(/^ *https:\/\//) == -1) {
+ var regExp = /^ *https:\/\//;
+ if (remoting.httpXmppProxy.search(regExp) == -1) {
addToDebugLog('Aborting. httpXmppProxy does not specify https protocol: ' +
remoting.httpXmppProxy);
return;
« no previous file with comments | « remoting/webapp/me2mom/main.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698