Those cookies whose Max-Age is set to zero must be erased, but there's a bug in the condition.
Created attachment 347206 [details] PATCH
Comment on attachment 347206 [details] PATCH View in context: https://bugs.webkit.org/attachment.cgi?id=347206&action=review > Source/WebCore/platform/network/curl/CookieJarDB.cpp:352 > + if (!cookie.session && expires <= ::time(0)) There are better ways of getting the current time in WebCore, like MonotonicTime::now
Comment on attachment 347206 [details] PATCH View in context: https://bugs.webkit.org/attachment.cgi?id=347206&action=review >> Source/WebCore/platform/network/curl/CookieJarDB.cpp:352 >> + if (!cookie.session && expires <= ::time(0)) > > There are better ways of getting the current time in WebCore, like MonotonicTime::now Alright. Thanks!
Created attachment 347326 [details] fix
Comment on attachment 347326 [details] fix Clearing flags on attachment: 347326 Committed r234973: <https://trac.webkit.org/changeset/234973>
All reviewed patches have been landed. Closing bug.
<rdar://problem/43403772>