.
This is needed to interactively edit cookies through Web Inspector, or add cookies to an ephemeral testing context (that would otherwise have no cookies).
Moving parts: 1. New CookieJar method. 2. New platform method(s) in PlatformCookieJar. 3. New WebCookieManager[Proxy] methods and messages. 4. Hook up inspector / automation to the new method!
<rdar://problem/25581340>
Created attachment 275816 [details] Proposed Fix
Comment on attachment 275816 [details] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=275816&action=review > Source/WebCore/platform/network/mac/CookieJarMac.mm:269 > +#if !USE(CFNETWORK) This whole file is inside of !USE(CFNETWORK). This is not needed.
Comment on attachment 275816 [details] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=275816&action=review >> Source/WebCore/platform/network/mac/CookieJarMac.mm:269 >> +#if !USE(CFNETWORK) > > This whole file is inside of !USE(CFNETWORK). This is not needed. Well, most of it. Oops.
Created attachment 275829 [details] For EWS
Created attachment 275892 [details] For EWS
Writing a test will be in a followup. It will use TestWebKitAPI and a new C SPI for WKCookie object and WKCookieManager method. See https://bugs.webkit.org/show_bug.cgi?id=156345.
Comment on attachment 275892 [details] For EWS Clearing flags on attachment: 275892 Committed r199167: <http://trac.webkit.org/changeset/199167>
All reviewed patches have been landed. Closing bug.