astral icon indicating copy to clipboard operation
astral copied to clipboard

Not working on Safari browser on MAC (iOs, iPad)

Open colaru opened this issue 2 years ago • 3 comments

Is it working just in Chrome? Come on, guys ...we are in 2023 What about the other browsers on market? Uploading Screenshot 2023-02-23 at 06.24.53.png…

colaru avatar Feb 23 '23 04:02 colaru

Error -> Unhandled Promise Rejection: ReferenceError: Can't find variable: Worker

When initializing workers -> const a = new Worker(new URL(r.p + r.u(176), r.b)), s = new Worker(new URL(r.p + r.u(239), r.b))

Is something different in Safari for initializing workers comparing to Chrome?

colaru avatar Feb 28 '23 07:02 colaru

https://stackoverflow.com/questions/64045547/javascript-referenceerror-cant-find-variable-worker-in-safari-when-creating

colaru avatar Feb 28 '23 07:02 colaru

Hey there,

Safari does not support web workers spawning child web workers for some reason. I use this pretty heavily to orchestrate my relay queries outside of the main thread (to prevent the UI from being laggy).

astral works in firefox. I don't feel compelled to support safari when they don't support standard browser functionality and iOS and OSX have the option of using damus (as well as other web clients).

sorry about the delay in response, been away for a few days.

monlovesmango avatar Mar 01 '23 22:03 monlovesmango