Bug 272557 - [Site Isolation] http/tests/navigation/page-cache-shared-worker.html crashes
Summary: [Site Isolation] http/tests/navigation/page-cache-shared-worker.html crashes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Process Model (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Charlie Wolfe
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-04-11 14:43 PDT by Charlie Wolfe
Modified: 2024-04-11 23:59 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie Wolfe 2024-04-11 14:43:37 PDT
`topDocument()` will use the document of the root frame when site isolation is enabled, so we fail an allowsFirstPartyForCookies check in the network process. Use `Document::topOrigin()` instead.
Comment 1 Radar WebKit Bug Importer 2024-04-11 14:44:34 PDT
<rdar://problem/126300675>
Comment 2 Charlie Wolfe 2024-04-11 14:45:22 PDT
Pull request: https://github.com/WebKit/WebKit/pull/27167
Comment 3 EWS 2024-04-11 23:59:22 PDT
Committed 277418@main (b573c0f764bf): <https://commits.webkit.org/277418@main>

Reviewed commits have been landed. Closing PR #27167 and removing active labels.