Bug 188241

Summary: Make sure cookies get flushed to disk before exiting or suspending the network process
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, bfulgham, commit-queue, ews-watchlist, ggaren, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 177972    
Attachments:
Description Flags
Patch
none
Patch none

Chris Dumez
Reported 2018-08-01 15:20:31 PDT
Make sure cookies get flushed to disk before exiting or suspending the network process.
Attachments
Patch (8.62 KB, patch)
2018-08-01 15:24 PDT, Chris Dumez
no flags
Patch (8.67 KB, patch)
2018-08-01 16:05 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2018-08-01 15:24:55 PDT
EWS Watchlist
Comment 2 2018-08-01 15:26:27 PDT
Attachment 346306 [details] did not pass style-queue: ERROR: Source/WebKit/NetworkProcess/cocoa/NetworkProcessCocoa.mm:215: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 1 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Chris Dumez
Comment 3 2018-08-01 15:48:55 PDT
Chris Dumez
Comment 4 2018-08-01 15:55:45 PDT
Comment on attachment 346306 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=346306&action=review > Source/WebKit/Shared/ChildProcess.cpp:72 > + WorkQueue::create("com.apple.WebKit.ChildProcess.WatchDogQueue")->dispatchAfter(watchdogDelay, [] { This is a partial rollout of https://trac.webkit.org/changeset/231348/webkit to give the Network process a chance to sync cookies before exit.
Geoffrey Garen
Comment 5 2018-08-01 16:03:34 PDT
r=me too
Chris Dumez
Comment 6 2018-08-01 16:03:58 PDT
*** Bug 188236 has been marked as a duplicate of this bug. ***
Chris Dumez
Comment 7 2018-08-01 16:05:51 PDT
EWS Watchlist
Comment 8 2018-08-01 16:08:33 PDT
Attachment 346311 [details] did not pass style-queue: ERROR: Source/WebKit/NetworkProcess/cocoa/NetworkProcessCocoa.mm:215: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 1 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Commit Bot
Comment 9 2018-08-01 16:45:51 PDT
Comment on attachment 346311 [details] Patch Clearing flags on attachment: 346311 Committed r234486: <https://trac.webkit.org/changeset/234486>
WebKit Commit Bot
Comment 10 2018-08-01 16:45:52 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.