Closed Bug 1174110 Opened 9 years ago Closed 9 years ago

The service worker still remains registered when uninstalling the service-worker-enabled application

Categories

(Core :: DOM: Service Workers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
FxOS-S1 (26Jun)
Tracking Status
firefox41 --- fixed

People

(Reporter: noemi, Assigned: ferjm)

References

Details

Attachments

(1 file)

STR required b2g:

1. In the browser app, opens appA
2. appA registers a SW1
3. about:sw in b2g shows up SW1
3. Install appA
4. Open appA directly, appA registers SW2
5. Uninstall appA
6. about:sw in b2g shows up both SW1 and SW2

Expected:
Once Bug 1169249 has been landed we expect about:sw in b2g just showing up SW1

Currently:
Both SW1 and SW2 show up in about:sw in b2g. Even closing/opening settings or restarting the device
Assignee: nobody → ferjmoreno
Whiteboard: [s4]
Status: NEW → ASSIGNED
Target Milestone: --- → NGA S3 (26Jun)
Works for apps installed via WebIDE, but it seems that it doesn't work for self-installed apps. I'll look at this on the next sprint.
Whiteboard: [s4]
Attached patch v1Splinter Review
Attachment #8623044 - Flags: review?(fabrice)
Attachment #8623044 - Flags: review?(fabrice) → review+
https://hg.mozilla.org/mozilla-central/rev/a1b614ffa042
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Just checked in m-c and the service worker is unregistered when uninstalling the service-worker-enabled application in case of self-installed applications. Thanks for fixing it so quickly!
As NGA Program Manager suggested, let's replace the NGA-X milestones with FxOS-Sx ones (more generic ones), once Bug 1174794 has already landed
Target Milestone: NGA S3 (26Jun) → FxOS-S1 (26Jun)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: