summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolly Ross <sross@redhat.com>2016-02-24 16:13:06 -0500
committerSolly Ross <sross@redhat.com>2016-08-23 15:02:45 -0400
commitc7925074c43ee36d5ae078ead14ba249e7272457 (patch)
treefefd3ffa7b38342db552571185b53acda615a70b
parent6521c6ac0f260fb4719a8805e3799da17d48f35e (diff)
downloadnovnc-bug/misc-fixes.tar.gz
Revert poor workaround for brief Firefox bugbug/misc-fixes
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.
-rw-r--r--include/rfb.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/rfb.js b/include/rfb.js
index d0e6c8f..694c14b 100644
--- a/include/rfb.js
+++ b/include/rfb.js
@@ -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);