Bug 296613

Summary: Store the opaque root in Node
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: New BugsAssignee: Ryosuke Niwa <rniwa>
Status: REOPENED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 296830    
Bug Blocks:    

Ryosuke Niwa
Reported 2025-07-29 00:03:01 PDT
Turns out there is no memory regression from storing the opaque root in Node. So store the opaque root in Node instead of using a lock to update document scope.
Attachments
Ryosuke Niwa
Comment 1 2025-07-29 00:08:31 PDT
EWS
Comment 2 2025-07-29 17:32:08 PDT
Committed 298015@main (7f2645c0c68b): <https://commits.webkit.org/298015@main> Reviewed commits have been landed. Closing PR #48647 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-07-29 17:33:13 PDT
Ryosuke Niwa
Comment 4 2025-08-01 16:44:08 PDT
Reopened Bugzilla. Caused a stale pointer in some cases, tracking revert in https://bugs.webkit.org/show_bug.cgi?id=296830.
Note You need to log in before you can comment on or make changes to this bug.