Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 15a901280e38649116e2bdd90c1d63f9215e2a6b
https://github.com/WebKit/WebKit/commit/15a901280e38649116e2bdd90c1d63f9215e2a6b
Author: Roberto Rodriguez <[email protected]>
Date: 2026-04-13 (Mon, 13 Apr 2026)
Changed paths:
M
LayoutTests/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades-expected.txt
M
LayoutTests/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades.html
M
LayoutTests/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/nested-frame.html
M
LayoutTests/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/nested-nested-frame.html
M LayoutTests/platform/ios-site-isolation/TestExpectations
M LayoutTests/platform/mac-site-isolation/TestExpectations
R
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades-expected.txt
Log Message:
-----------
[Site Isolation] Rewrite proper-nested-upgrades.html to not depend on frame
load callback ordering
https://bugs.webkit.org/show_bug.cgi?id=311895
rdar://174459705
Reviewed by Sihui Liu.
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.
*
LayoutTests/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades-expected.txt:
*
LayoutTests/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades.html:
*
LayoutTests/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/nested-frame.html:
*
LayoutTests/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/nested-nested-frame.html:
* LayoutTests/platform/ios-site-isolation/TestExpectations:
* LayoutTests/platform/mac-site-isolation/TestExpectations:
*
LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades-expected.txt:
Removed.
Canonical link: https://commits.webkit.org/311152@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications