Closed
Bug 1694616
Opened 4 years ago
Closed 4 years ago
Don't use FunctionRef in MutationObservers.
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
88 Branch
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
Details
Attachments
(2 files)
No description provided.
Assignee | ||
Comment 1•4 years ago
|
||
FunctionRef is so easily inlineable, looking at the comments in D95354.
This also removes some duplication, so it's win-win.
I fixed the assertion to restore the original meaning, since it seems it
was accidentally changed in that revision.
Also added some comments on why the different ordering for removals and
non-removals.
Assignee | ||
Comment 2•4 years ago
|
||
We don't override any of the methods. I wonder when this stopped being
useful, it seemed useless before bug 1420547 already, and the comment
oes back to bug 342062...
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/32dbd706ce4e
Document doesn't need to inherit from nsStubMutationObserver. r=smaug
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a46e483b3ae0
Don't use FunctionRef in MutationObservers. r=smaug
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/32dbd706ce4e
https://hg.mozilla.org/mozilla-central/rev/a46e483b3ae0
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox88:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•