Bug 285706

Summary: Avoid performing a `canNavigate` check multiple times on the same URL during a load
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: New BugsAssignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

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
Brent Fulgham
Comment 1 2025-01-09 13:40:05 PST
Brent Fulgham
Comment 2 2025-01-09 13:44:02 PST
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.