RESOLVED CONFIGURATION CHANGED179224
MutationObserver callback should be kept alive as long as its observed nodes are alive
https://bugs.webkit.org/show_bug.cgi?id=179224
Summary MutationObserver callback should be kept alive as long as its observed nodes ...
Ryosuke Niwa
Reported 2017-11-02 19:18:07 PDT
We don't keep it alive because we use a weak reference in JSMutationCallback :(
Attachments
Radar WebKit Bug Importer
Comment 1 2017-11-03 13:09:07 PDT
Ryosuke Niwa
Comment 2 2018-10-02 22:43:55 PDT
This already works today because JSMutationObserverOwner::isReachableFromOpaqueRoots checks every node being observed, and JSMutationObserver::visitAdditionalChildren visits the callback.
Note You need to log in before you can comment on or make changes to this bug.