Bug 310726

Summary: [Web Inspector] [Site Isolation] Add inspector test for Page.overrideUserAgent 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-03-25 12:41:29 PDT
Add a layout test that verifies Page.overrideUserAgent propagates to cross-origin iframes when site isolation is enabled. The test overrides the user agent via Web Inspector, reloads, and confirms that navigator.userAgent in a cross-origin iframe (running in a separate process) reflects the overridden value.
Attachments
Brandon
Comment 1 2026-03-25 12:41:46 PDT
Brandon
Comment 2 2026-03-25 12:43:25 PDT
EWS
Comment 3 2026-03-27 12:48:56 PDT
Committed 310099@main (e3fd42a59227): <https://commits.webkit.org/310099@main> Reviewed commits have been landed. Closing PR #61346 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.