Avoid PhantomJS BroadcastChannel failure user/berick/broadcast-channel-phantom-fix
authorBill Erickson <berickxx@gmail.com>
Thu, 9 Nov 2017 16:39:12 +0000 (11:39 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 9 Nov 2017 16:39:13 +0000 (11:39 -0500)
commit6a8a49c8fbd3f62c5e6d939a7f65fd1096fee65d
tree86f07dfed22f5d268858c19ada11a29119610049
parenta4c36a7f0e258614cc659c9ee5b5e96829955dcd
Avoid PhantomJS BroadcastChannel failure

Current version of PhantomJS used for unit tests, etc. does not
recognize the relatively new BroadcastChannel object.  Avoid trying to
create such a channel when the executing code does not recognize it.

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