Closed
Bug 1232444
Opened 10 years ago
Closed 10 years ago
only persist service worker registrations that successfully install
Categories
(Core :: DOM: Service Workers, defect)
Core
DOM: Service Workers
Tracking
()
RESOLVED
FIXED
mozilla46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: bkelly, Assigned: bkelly)
References
Details
Attachments
(1 file)
2.39 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
Currently we call StoreRegistration() immediately at the start of a registration or update.
Instead, we should wait until a service worker is successfully installed. We have no facility to re-run the install event on startup, so if the browser closes before installation finishes we should just forget the registration anyway. The page can start the register again when its next visited.
This will also fix some warning spam we currently have.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8698215 -
Flags: review?(amarchesini)
Assignee | ||
Comment 2•10 years ago
|
||
Updated•10 years ago
|
Attachment #8698215 -
Flags: review?(amarchesini) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Oh yea, we depend on bug 1231974. This burned the tree since that hasn't landed yet.
Backed out:
https://hg.mozilla.org/integration/mozilla-inbound/rev/55979cd464b0
![]() |
||
Comment 6•10 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in
before you can comment on or make changes to this bug.
Description
•