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)
Core
DOM: Core & HTML
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.
| Reporter | ||
Comment 1•7 years ago
|
||
I need to wait to do this until the tree thaws after the FF61 soft freeze.
Updated•7 years ago
|
Priority: -- → P3
| Reporter | ||
Updated•7 years ago
|
| Reporter | ||
Comment 2•7 years ago
|
||
This would be nice code cleanup, but I did not get to it. Sorry.
Assignee: ben → nobody
Status: ASSIGNED → NEW
| Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
Updated•3 years ago
|
Severity: normal → S3
Comment 3•7 months ago
|
||
This was addressed through the introduction of GlobalTeardownObserver as a new intermediate base-class in bug 1862244 by :saschanaz.
Comment 4•7 months ago
|
||
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.
Description
•