WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
179224
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-11-03 13:09:07 PDT
<
rdar://problem/35341598
>
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.
Top of Page
Format For Printing
XML
Clone This Bug