Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BroadcastChannel not supported in Safari #9

Open
damianpm opened this issue Jun 16, 2021 · 0 comments
Open

BroadcastChannel not supported in Safari #9

damianpm opened this issue Jun 16, 2021 · 0 comments

Comments

@damianpm
Copy link
Contributor

Authentication files (authServiceWorker.ts and authHelper.ts) use BroadcastChannel, but it's not supported in Safari, it fails with the following error:


[Error] ReferenceError: Can't find variable: BroadcastChannel
	(anonymous function) (logoutButton.js:20458)
	(anonymous function) (logoutButton.js:9)
	(anonymous function) (logoutButton.js:20470)
	(anonymous function) (logoutButton.js:9)
	(anonymous function) (logoutButton.js:20490)
	Global Code (logoutButton.js:20534)
[Error] ReferenceError: Can't find variable: BroadcastChannel
	(anonymous function) (login.js:20459)
	(anonymous function) (login.js:9)
	(anonymous function) (login.js:20471)
	(anonymous function) (login.js:9)
	(anonymous function) (login.js:20505)
	Global Code (login.js:20549)
[Log] ServiceWorker registration failed:  (login, line 90)
TypeError: ReferenceError: Can't find variable: BroadcastChannel

See compatibility table at:
https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel#browser_compatibility,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant