Closed
Bug 1456981
Opened 7 years ago
Closed 7 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)
6.96 KB,
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•7 years ago
|
||
Updated•7 years ago
|
Priority: -- → P2
Assignee | ||
Comment 2•7 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•7 years ago
|
Assignee | ||
Comment 3•7 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•7 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•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 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
•