Hi,
It seems that the browser.runtime.onInstalled API is not working on Safari WebExtenison.
According to MDN, that API is supported, but according to my test, either installing it or toggling enable/disable checkbox on the Preference menu, the event listener is not called.
Not sure it is my testing issue or it is actually not supported.
Thanks!
It seems that the browser.runtime.onInstalled API is not working on Safari WebExtenison.
According to MDN, that API is supported, but according to my test, either installing it or toggling enable/disable checkbox on the Preference menu, the event listener is not called.
Not sure it is my testing issue or it is actually not supported.
Thanks!
-
—
mayfield
Add a CommentFor Safari 15 on iOS this appears to be very unreliable. The onInstalled is not consistently invoked and in repeated tests it only occasionally runs. It's almost like the background page is being terminated before the onInstalled handler finishes. Perhaps related to async calls.