Closed Bug 1383256 Opened 8 years ago Closed 8 years ago

navigator.serviceWorker is undefined

Categories

(Core :: DOM: Service Workers, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: collimarco91, Unassigned, NeedInfo)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8 Steps to reproduce: I'm a developer at Pushpad (https://pushpad.xyz). Personally I've never had problems with Firefox and push notifications usually works fine. You can test it yourself: https://pushpad.xyz/demo However some customers (2 at the moment) have reported an issue. When they visit the page (see the demo for example), they get the following error in the Firefox console: > TypeError: navigator.serviceWorker is undefined In particular: - a user has posted this on StackOverflow: https://stackoverflow.com/questions/38255482/pushpad-error-on-firefox-47-navigator-serviceworker-is-undefined - another user has reported problems with Firefox 54 both on mac and windows Personally I can't reproduce the issue. Any ideas about what is going on? === TL;DR Visit https://pushpad.xyz/demo with Firefox Actual results: You get this error in the Firefox console: > TypeError: navigator.serviceWorker is undefined Expected results: The service worker registration should have been successful.
Are the users on an ESR build or running in private browsing mode? In both of those cases we disable service workers currently. Note, users can enable private browsing mode all the time in their preferences. If you get the output from about:support for the users we can take a look.
Flags: needinfo?(collimarco91)
Please re-open if you get more info. And thank you for reporting (don't let me closing this affect your future engagement, please)!
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME

Please reopen. It looks like navigator.serviceWorker is undefined in Private Mode.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: