Closed
Bug 1456981
Opened 6 years ago
Closed 6 years ago
Use DOMMozPromiseRequestHolder in ServiceWorkerContainer
Categories
(Core :: DOM: Service Workers, enhancement, P2)
Core
DOM: Service Workers
Tracking
()
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: bkelly, Assigned: bkelly)
References
Details
Attachments
(1 file)
(deleted),
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
In bug 1455695 I added a helper class to correctly disconnect MozPromise thenables when the global is disconnected. We should use it in ServiceWorkerContainer.
Assignee | ||
Comment 1•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6d4ad65b9f6ef35ee8b91b6445c1f420083e4088
Updated•6 years ago
|
Priority: -- → P2
Assignee | ||
Comment 2•6 years ago
|
||
Comment on attachment 8971021 [details] [diff] [review] Use DOMMozPromiseRequestHolder in ServiceWorkerContainer. r=baku This patch makes us use the DOMMozPromiseRequestHolder in the ServiceWorkerContainer methods.
Attachment #8971021 -
Flags: review?(amarchesini)
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
Actually, we probably do need to wait for bug 1456466 so we can have the auto-suppressing CopyableErrorResult type. Otherwise disconnecting a rejected MozPromise here will assert that the ErrorResult was not consumed.
Updated•6 years ago
|
Attachment #8971021 -
Flags: review?(amarchesini) → review+
Pushed by bkelly@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/43385aef5932 Use DOMMozPromiseRequestHolder in ServiceWorkerContainer. r=baku
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/43385aef5932
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in
before you can comment on or make changes to this bug.
Description
•