Commit 5ecfbdd7 authored by dmaclach@chromium.org's avatar dmaclach@chromium.org

Fix up flicker, and parsing by Xcode.

The javascript as written had trouble being parsed by the Xcode IDE due to the // in the regexp.
By turning off the height:100% in the css, we don't redraw the entire screen every time we
update the bandwidth stats.

BUG=none
TEST=Make a connection and turn on Quartz Debug on Mac. Turn on Flash screen updates. The entire screen should not flash once per second.

Review URL: http://codereview.chromium.org/7008020

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86723 0039d316-1c4b-4281-b951-d872f2087c98
parent 259676ac
...@@ -90,7 +90,6 @@ h1 { ...@@ -90,7 +90,6 @@ h1 {
-webkit-user-select: none; -webkit-user-select: none;
overflow: auto; overflow: auto;
width: 100%; width: 100%;
height: 100%;
} }
.gaia_font { .gaia_font {
......
...@@ -118,7 +118,8 @@ function init() { ...@@ -118,7 +118,8 @@ function init() {
remoting.plugin = plugin; remoting.plugin = plugin;
// Only allow https connections to the httpXmppProxy. // 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: ' + addToDebugLog('Aborting. httpXmppProxy does not specify https protocol: ' +
remoting.httpXmppProxy); remoting.httpXmppProxy);
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment