Bug 247582 - Ensure AddAllowedFirstPartyForCookies message is processed before ScheduleResourceLoad
Summary: Ensure AddAllowedFirstPartyForCookies message is processed before ScheduleRes...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Process Model (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alex Christensen
URL:
Keywords: InRadar
: 247658 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-11-07 13:13 PST by Alex Christensen
Modified: 2022-11-09 20:57 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Christensen 2022-11-07 13:13:13 PST
It turns out that message order isn't defined between UI->network and UI->web->network so to ensure AddAllowedFirstPartyForCookies is processed first, use sendWithAsyncReply.  Also, I'm pretty sure one of the message sending locations was redundant.
Comment 1 Radar WebKit Bug Importer 2022-11-07 13:13:40 PST
<rdar://problem/102056030>
Comment 2 Alex Christensen 2022-11-07 13:14:22 PST
Pull request: https://github.com/WebKit/WebKit/pull/6218
Comment 3 EWS 2022-11-09 10:34:46 PST
Committed 256488@main (3d4ebd0d31cd): <https://commits.webkit.org/256488@main>

Reviewed commits have been landed. Closing PR #6218 and removing active labels.
Comment 4 Fujii Hironori 2022-11-09 20:57:32 PST
*** Bug 247658 has been marked as a duplicate of this bug. ***