Bug 224834

Summary: [Cocoa] Prevent GPU and WebContent processes from attempting to connect to the AppSSO service
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit Misc.Assignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, bfulgham, cdumez, cmarcelo, ews-watchlist, jiewen_tan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 226393    
Attachments:
Description Flags
Patch
none
Patch for landing none

Description Brent Fulgham 2021-04-20 15:29:29 PDT
CFNetwork will attempt to check in with the AppSSO service under certain load operations. But WebKit handles the AppSSO flow prior to load, and hand the necessary state to CFNetwork to control loads. We don't want CFNetwork to attempt to connect to AppSSO on its own.

We need to tell CFNetwork that we've already make the assessment of whether AppSSO is needed so that it doesn't attempt to reach out on its own.
Comment 1 Brent Fulgham 2021-04-20 15:29:49 PDT
<rdar://problem/72157514>
Comment 2 Brent Fulgham 2021-04-20 15:33:48 PDT
Created attachment 426601 [details]
Patch
Comment 3 Jiewen Tan 2021-04-20 16:06:46 PDT
Comment on attachment 426601 [details]
Patch

LGTM. r=me.
Comment 4 Brent Fulgham 2021-04-20 16:29:19 PDT
Created attachment 426612 [details]
Patch for landing
Comment 5 EWS 2021-04-20 18:05:38 PDT
Committed r276340 (236818@main): <https://commits.webkit.org/236818@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 426612 [details].