LP#1268619 disable shared workers pending browser issues collab/berick/websockets
authorBill Erickson <berick@esilibrary.com>
Mon, 4 Aug 2014 18:26:36 +0000 (14:26 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 4 Aug 2014 18:26:36 +0000 (14:26 -0400)
commit40983e6db4683d019f1875feae3eb047bead3eeb
treee99ed6b00939f216bcd4a55bf9fc20ca4d819616
parent2e53a5a4ebbca5e7caeb50d28ddd12b6b9ea4839
LP#1268619 disable shared workers pending browser issues

There appears to be a bug in Chromium where loading the same page
multiple times (without a refresh or cache clear) causes the
SharedWorker to fail to instantiate on every other page load.
Further research pending.  Disabling SharedWorker's entirely for
now.

Note, to replicate, load a page using shared workers, focus the
browser address bar, hit Enter to load the page again.  The shared
worker will fail to load on every other page load, though it will
appear to the SharedWorker caller (opensrf.js) that the port is open.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
src/javascript/opensrf.js