Open Bug 1987818 Opened 7 months ago Updated 7 months ago

Refactor DOMMozPromiseRequestHolder to use GlobalTeardownObserver instead of DOMEventTargetHelper

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: asuth, Unassigned)

References

Details

Bug 1457187 introduced DOMMozPromiseRequestHolder to auto-disconnect MozPromise Thenables when the global dies. It was implemented using DOMEventTargetHelper which does more than is required. Bug 1456893 was filed on factoring out only the necessary bits and bug 1862244 subsequently introduced GlobalTeardownObserver so we can use that now.

See Also: → 1456893
You need to log in before you can comment on or make changes to this bug.