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
285706
Avoid performing a `canNavigate` check multiple times on the same URL during a load
https://bugs.webkit.org/show_bug.cgi?id=285706
Summary
Avoid performing a `canNavigate` check multiple times on the same URL during ...
Brent Fulgham
Reported
2025-01-09 13:39:50 PST
The various refactoring involved in SiteIsolation cause `setLocation` to do two checks of `canNavigate`, when only one check is needed. Since this is a costly operation, we should avoid this duplicate call.
Attachments
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2025-01-09 13:40:05 PST
<
rdar://142633698
>
Brent Fulgham
Comment 2
2025-01-09 13:44:02 PST
Pull request:
https://github.com/WebKit/WebKit/pull/38805
EWS
Comment 3
2025-02-05 13:49:56 PST
Committed
289890@main
(17a1ef8126c8): <
https://commits.webkit.org/289890@main
> Reviewed commits have been landed. Closing PR #38805 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