Closed Bug 958684 Opened 7 years ago Closed 7 years ago

Promises leak AsyncErrorReporter

Categories

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

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: nsm, Assigned: nsm)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file)

The fix for Bug 887687 preserves wrappers, so that Promises that are around on shutdown will be destroyed during XPCOM shutdown. If the promise has been rejected, but the rejection not handled, the NS_DispatchToMainThread() call in Promise::MaybeReportRejected() fails, and the AsyncErrorReporter leaks.
Assignee: nobody → nsm.nikhil
Attachment #8358590 - Flags: review?(continuation) → review+
https://hg.mozilla.org/mozilla-central/rev/e7b3360cd07a
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Whiteboard: [qa-]
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.