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
308305
Encapsulate URL getter
https://bugs.webkit.org/show_bug.cgi?id=308305
Summary
Encapsulate URL getter
adrian_taylor
Reported
2026-02-20 07:44:11 PST
Swift/C++ interop documentation at
https://www.swift.org/documentation/cxx-interop/#:~:text=Swift.-,Safely%20Accessing%20References%20with%20Dependent%20Lifetime,-The
recomends a particular pattern for calling methods that return non-foreign-reference-types by reference. We should adopt that pattern in WebBackForwardList.swift where we are getting the URL field of a WebBackForwardListItem.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-02-20 07:44:19 PST
<
rdar://problem/170804691
>
adrian_taylor
Comment 2
2026-02-20 07:47:15 PST
Pull request:
https://github.com/WebKit/WebKit/pull/59091
EWS
Comment 3
2026-02-20 13:30:31 PST
Committed
307938@main
(c753cf14407b): <
https://commits.webkit.org/307938@main
> Reviewed commits have been landed. Closing PR #59091 and removing active labels.
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