WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
266656
Use WeakRef instead of CheckedPtr for WebExtensionAPIPort
https://bugs.webkit.org/show_bug.cgi?id=266656
Summary
Use WeakRef instead of CheckedPtr for WebExtensionAPIPort
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
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2023-12-19 13:24:22 PST
Pull request:
https://github.com/WebKit/WebKit/pull/22054
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
<
rdar://problem/119898123
>
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