Closed Bug 1402215 Opened 7 years ago Closed 7 years ago

ServiceWorkerRegistrar should complete the shutting down procedure also when PBackground is not ready yet

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: baku, Assigned: baku)

Details

Attachments

(1 obsolete file)

No description provided.
Attached patch fix.patch (obsolete) — Splinter Review
Attachment #8911047 - Flags: review?(bugmail)
:bkelly, do you have any preferred approach between what I landed in https://bugzilla.mozilla.org/show_bug.cgi?id=1047098#c59 (expedited for 56) and this approach? Note that bug 1283609 landed, improving the "synchronously create PBackground" story. There was also some discussion on bug 1384618. No follow-up has been filed yet, but we might be much closer to PBackground always being synchronously created now. Feel free to steal the review, etc.
Flags: needinfo?(bkelly)
The current code looks better to me. I'm not sure it makes sense to create the PBackground actor in ProfileStopped if it doesn't already exist.
Flags: needinfo?(bkelly)
(In reply to Ben Kelly [:bkelly] from comment #3) > The current code looks better to me. I'm not sure it makes sense to create > the PBackground actor in ProfileStopped if it doesn't already exist. Yeah, I wrote this patch basically to support "fast" xpcshell tests.
Attachment #8911047 - Attachment is obsolete: true
Attachment #8911047 - Flags: review?(bugmail)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: