Bug 240743

Summary: WKHTTPCookieStoreDeleteAllCookies should wait for response from network process before invoking callback
Product: WebKit Reporter: Yury Semikhatsky <yurys>
Component: WebKit2Assignee: Yury Semikhatsky <yurys>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, ap, jbedard, kkinnunen, sihui_liu, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 240671    
Bug Blocks:    

Description Yury Semikhatsky 2022-05-20 15:37:56 PDT
Today API::HTTPCookieStore::deleteAllCookies just dispatches its completion handler on the main loop while the cookies may not have been deleted yet.
Comment 1 Yury Semikhatsky 2022-05-20 15:45:58 PDT
Pull request: https://github.com/WebKit/WebKit/pull/865
Comment 2 Radar WebKit Bug Importer 2022-05-27 15:38:13 PDT
<rdar://problem/94057004>
Comment 3 Yury Semikhatsky 2022-06-01 15:12:20 PDT
Closing as it was fixed in https://github.com/WebKit/WebKit/commit/b7202854b8f9f74f2295bd478e632695b7470524