Bug 311836

Summary: [Web Inspector] [Site Isolation] Add inspector test for Page.setEmulatedMedia with cross-origin iframes under site isolation
Product: WebKit Reporter: Brandon <brandonstewart>
Component: Web InspectorAssignee: Brandon <brandonstewart>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Brandon
Reported 2026-04-09 11:49:22 PDT
Add a layout test that verifies Page.setEmulatedMedia propagates to cross-origin iframes when site isolation is enabled. The test emulates print media via Web Inspector, reloads, and confirms that @media print styles in a cross-origin iframe (running in a separate process) are correctly applied.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-04-09 11:49:28 PDT
Brandon
Comment 2 2026-04-09 11:50:15 PDT
EWS
Comment 3 2026-04-17 06:42:14 PDT
Committed 311447@main (5a58e93edb20): <https://commits.webkit.org/311447@main> Reviewed commits have been landed. Closing PR #62371 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.