Closed Bug 1456893 Opened 7 years ago Closed 7 months ago

factor DETH global binding out into a separate GlobalObjectBindable class

Categories

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

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1862244

People

(Reporter: bkelly, Unassigned)

References

Details

In bug 1456466 I am adding a helper class called DOMMozPromiseRequestHolder that auto-disconnects MozPromise Thenables when the global is closed. To do this its extending DETH even though its not really an event target. This bug is to split the global binding logic out into a separate class so things like this helper class can use it without incurring all the DETH event listener baggage.
I need to wait to do this until the tree thaws after the FF61 soft freeze.
Priority: -- → P3
Depends on: 1457187
No longer depends on: 1456466
This would be nice code cleanup, but I did not get to it. Sorry.
Assignee: ben → nobody
Status: ASSIGNED → NEW
Component: DOM → DOM: Core & HTML
Severity: normal → S3

This was addressed through the introduction of GlobalTeardownObserver as a new intermediate base-class in bug 1862244 by :saschanaz.

Status: NEW → RESOLVED
Closed: 7 months ago
Duplicate of bug: 1862244
Resolution: --- → DUPLICATE

I filed bug 1987818 to track updating DOMMozPromiseRequestHolder to use GlobalTeardownObserver since this bug presumably was going to do that but was only filed about extracting out what is now GlobalTeardownObserver.

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