Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c14b33d618b86af71d1a5e61fc66fd552c43ffce
https://github.com/WebKit/WebKit/commit/c14b33d618b86af71d1a5e61fc66fd552c43ffce
Author: Brent Fulgham <[email protected]>
Date: 2026-04-29 (Wed, 29 Apr 2026)
Changed paths:
M LayoutTests/TestExpectations
R
LayoutTests/http/tests/security/window-opened-from-sandboxed-iframe-should-inherit-sandbox-expected.txt
R
LayoutTests/http/tests/security/window-opened-from-sandboxed-iframe-should-inherit-sandbox.html
A
LayoutTests/imported/w3c/web-platform-tests/html/browsers/sandboxing/resources/set-opener-flag-and-postmessage.html
A
LayoutTests/imported/w3c/web-platform-tests/html/browsers/sandboxing/sandbox-popup-inherits-script-blocking-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/html/browsers/sandboxing/sandbox-popup-inherits-script-blocking.html
Log Message:
-----------
Migrate window-opened-from-sandboxed-iframe-should-inherit-sandbox.html to a
WPT
https://bugs.webkit.org/show_bug.cgi?id=313516
<rdar://problem/61733642>
Reviewed by Anne van Kesteren.
While investigating the cause of test flakiness in our WebKit-specific CSP test
`http/tests/security/window-opened-from-sandboxed-iframe-should-inherit-sandbox.html`
I realized that this coverage does not exist in WPT, and should.
This patch converts the existing test into a WPT test. It also revises the
logic of the
test to avoid the event-firing logic that caused timing dependencies that could
lead
to flakiness. The test just needs to confirm the script in the sub-frame
doesn't run,
which can be done without an artificial click event.
* LayoutTests/TestExpectations:
*
LayoutTests/http/tests/security/window-opened-from-sandboxed-iframe-should-inherit-sandbox-expected.txt:
Removed.
*
LayoutTests/http/tests/security/window-opened-from-sandboxed-iframe-should-inherit-sandbox.html:
Removed.
*
LayoutTests/imported/w3c/web-platform-tests/html/browsers/sandboxing/resources/set-opener-flag-and-postmessage.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/html/browsers/sandboxing/sandbox-popup-inherits-script-blocking-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/html/browsers/sandboxing/sandbox-popup-inherits-script-blocking.html:
Added.
Canonical link: https://commits.webkit.org/312312@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications