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
292299
WebChromeClient::page() should return a raw pointer instead of a reference
https://bugs.webkit.org/show_bug.cgi?id=292299
Summary
WebChromeClient::page() should return a raw pointer instead of a reference
Chris Dumez
Reported
2025-04-29 15:10:56 PDT
WebChromeClient::page() should return a raw pointer instead of a reference since it can return a null pointer. So far, we've spot-fixed null -dereference crashes but we should address the situation more generally by returning a raw pointer.
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2025-04-29 15:12:58 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/44712
EWS
Comment 2
2025-04-29 18:30:04 PDT
Committed
294312@main
(47438b5caa88): <
https://commits.webkit.org/294312@main
> Reviewed commits have been landed. Closing PR #44712 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-04-29 18:31:14 PDT
<
rdar://problem/150331491
>
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