Revert poor workaround for brief Firefox bug

This commit reverts a fix for a bug which briefly occured on certain
nightlies of Firefox.  It was never intended to persist in the code
base, and is causing other actual errors to be swallowed.
This commit is contained in:
Solly Ross 2016-02-24 16:13:06 -05:00
parent e93807ade2
commit 2a10f1bd56
1 changed files with 1 additions and 8 deletions

View File

@ -1165,14 +1165,7 @@ var RFB;
this._timing.last_fbu = (new Date()).getTime();
var handler = this._encHandlers[this._FBU.encoding];
try {
//ret = this._encHandlers[this._FBU.encoding]();
ret = handler();
} catch (ex) {
console.log("missed " + this._FBU.encoding + ": " + handler);
ret = this._encHandlers[this._FBU.encoding]();
}
ret = this._encHandlers[this._FBU.encoding]();
now = (new Date()).getTime();
this._timing.cur_fbu += (now - this._timing.last_fbu);