Closed
Bug 1418179
Opened 8 years ago
Closed 8 years ago
ServiceWorkers failing to register
Categories
(Core :: DOM: Service Workers, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: me, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20171115094908
Steps to reproduce:
1. Bring up console
2. Go to the service workers demo indicated in the Mozilla service workers documentation. https://mdn.github.io/sw-test/
Actual results:
The console will print "Registration failed with SecurityError: The operation is insecure."
The page will not be cached as it is supposed to be.
Expected results:
Console should have indicated Service Worker "installing" or "active".
Testing on Chrome will indicate a success on the exact same page.
Updated•8 years ago
|
Component: Untriaged → DOM: Service Workers
Product: Firefox → Core
Comment 1•8 years ago
|
||
Do you have cookies disabled or set to clear on logout? We don't allow service workers in cases where storage is disabled right now. We also don't properly handle the "clear on logout" for things like service workers/IDB/Cache API so we are conservative and block service workers there.
Flags: needinfo?(me)
You were correct. I had set cookies to "keep unitl I close firefox". When I set it back to "they expire" then the service workers registered. Thanks.
Flags: needinfo?(me)
Comment 3•8 years ago
|
||
Thanks Miguel for confirmation. Close as invalid per comment 2.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•