| Summary: | WKHTTPCookieStore.setCookie should flush the cookies to disk before calling completion handler when we are using the UIProcess's default cookie storage | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alex Christensen <achristensen> | ||||
| Component: | New Bugs | Assignee: | Alex Christensen <achristensen> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | beidson, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Alex Christensen
2020-06-25 20:58:59 PDT
Created attachment 402847 [details]
Patch
Committed r263551: <https://trac.webkit.org/changeset/263551> All reviewed patches have been landed. Closing bug and clearing flags on attachment 402847 [details]. Comment on attachment 402847 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=402847&action=review > Source/WebKit/UIProcess/API/Cocoa/APIHTTPCookieStoreCocoa.mm:42 > + ASSERT(RunLoop::isMain()); > + [[NSHTTPCookieStorage sharedHTTPCookieStorage] _saveCookies:makeBlockPtr([completionHandler = WTFMove(completionHandler)]() mutable { This being on the main thread caused hangs which I believe were resolved with http://trac.webkit.org/r264613 Reverting in https://bugs.webkit.org/show_bug.cgi?id=215530 |