Open Bug 1266409 Opened 8 years ago Updated 2 years ago

service workers are disabled when setting "Never remember history"

Categories

(Firefox :: General, defect)

48 Branch
defect

Tracking

()

Tracking Status
firefox48 --- affected

People

(Reporter: jdescottes, Unassigned)

Details

STRs:
- check navigator.serviceWorker is defined in webconsole
- open preferences
- go to privacy
- set History to "Never remember history"
- restart the browser as prompted
- navigator.serviceWorker is now false

Is this an expected behavior? 

If yes, UIs such as about:debugging and about:serviceworkers need to check this in order to display a message explaining service workers will not work with the current setting.
Dan, maybe you know the expected behavior here?
Flags: needinfo?(dan.callahan)
"Never remember history" is the same as always being in private browsing.
It sets browser.privatebrowsing.autostart to true.
Sorry for the delay in responding.

I don't know what the right behavior is, but based on :ochameau's response, adding a message to about:debugging and about:serviceworkers seems like a reasonable step.

Our user-facing ServiceWorker story in general is pretty rough, e.g. Bug 1253031 - Impossible to clear data cached by Service Workers through any exposed UI. I'll be working to get some traction on that this quarter.
Flags: needinfo?(dan.callahan)
Component: Bookmarks & History → General
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.