Closed Bug 1371176 Opened 7 years ago Closed 7 years ago

Service Workers fail registration after return to stable Firefox build after testing on Firefox Nightly with same profile

Categories

(Core :: DOM: Service Workers, defect)

53 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1246615

People

(Reporter: bhhronik, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

Steps to reproduce:

I had been testing Service Workers consistently on v53. However, I wanted to see if an issue I was seeing was also present on Beta and Nightly builds(using the same default profile for all). 

I then returned back to v53 to notice that the Service Worker was failing to register with "ServiceWorker script at http://localhost:4200/sw.js for scope http://localhost:4200/ encountered an error during installation", where it had previously been installing just fine.

I was able to fix this by creating a new profile and launch v53 with that.


Actual results:

Service worker registration fails on v53 after testing on nightly build with same profile.


Expected results:

Service worker registration behaves the same on v53 before and after testing on a nightly build, without requiring the need to create a separate profile.
Sorry, realized I left off information that the failure type was TypeError.
Component: Untriaged → DOM: Service Workers
Product: Firefox → Core
Sorry you ran into this. It's is a known "using a profile from the future" issue.

Andrew Sutherland has been noting these. Andrew, how are we tracking these?
Flags: needinfo?(bugmail)
We've haven't been entirely consistent in how we tie the effects of bug 1246615 to that bug.  In many cases there have been mitigations possible so we just end up setting a dependency or a "see also".  I think at this point we should just be duping every instance to bug 1246615 to better convey how many people are getting burnt by this.  We can spin-off any specific mitigations to their own bugs that can "see also" bug 1246615.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(bugmail)
Resolution: --- → DUPLICATE
Thanks Andrew, will comment on the referenced bug
You need to log in before you can comment on or make changes to this bug.