]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1731496 Avoid PhantomJS BroadcastChannel failure
authorBill Erickson <berickxx@gmail.com>
Thu, 9 Nov 2017 16:39:12 +0000 (11:39 -0500)
committerDan Wells <dbw2@calvin.edu>
Fri, 10 Nov 2017 17:14:34 +0000 (12:14 -0500)
commitd5a8ecfb05739bcbcf61a12337916df44da98a63
treeee28301ef0430423a3ef64bb9faa1f91e86a7547
parent70eaf2ac18952fca6d74d530dc2b7803e48ec370
LP#1731496 Avoid PhantomJS BroadcastChannel failure

Avoid attempts to create BroadcastChannel objects in contexts where the
object does not exist.  Specifically, allow PhantomJS to run unit tesst
without dying on:

ReferenceError: Can't find variable: BroadcastChannel

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/web/js/ui/default/staff/services/auth.js