Bug 311895

Summary: [Site Isolation] Rewrite proper-nested-upgrades.html to not depend on frame load callback ordering
Product: WebKit Reporter: roberto_rodriguez2
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

roberto_rodriguez2
Reported 2026-04-09 19:32:11 PDT
Layout test http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades.html currently uses dumpFrameLoadCallbacks() which produces ordering-dependent output. With site isolation, child frames in a separate process complete their load callbacks before the main frame's process receives the cross-process completion notification, changing the expected callback order from non-site isolation behavior. However, the actual CSP upgrade behavior works correctly. Rewrite the test to verify upgrade behavior directly using postMessage without relying on callback order observations.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-04-09 19:32:17 PDT
roberto_rodriguez2
Comment 2 2026-04-09 19:40:31 PDT
EWS
Comment 3 2026-04-13 17:54:39 PDT
Committed 311152@main (15a901280e38): <https://commits.webkit.org/311152@main> Reviewed commits have been landed. Closing PR #62411 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.