Bug 266656

Summary: Use WeakRef instead of CheckedPtr for WebExtensionAPIPort
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Chris Dumez
Reported 2023-12-19 13:22:47 PST
Use WeakRef instead of CheckedPtr for WebExtensionAPIPort for storage in containers. This generates more actionable crashes. Also make the constructors private since the class is refcounted.
Attachments
Chris Dumez
Comment 1 2023-12-19 13:24:22 PST
EWS
Comment 2 2023-12-19 15:36:17 PST
Committed 272307@main (d912bb4b043e): <https://commits.webkit.org/272307@main> Reviewed commits have been landed. Closing PR #22054 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2023-12-19 15:37:14 PST
Note You need to log in before you can comment on or make changes to this bug.