RESOLVED FIXED 156091
CookieJar should support adding synthetic cookies for developer tools
https://bugs.webkit.org/show_bug.cgi?id=156091
Summary CookieJar should support adding synthetic cookies for developer tools
Blaze Burg
Reported 2016-03-31 16:33:13 PDT
.
Attachments
Proposed Fix (24.57 KB, patch)
2016-04-06 13:53 PDT, Blaze Burg
no flags
For EWS (26.22 KB, patch)
2016-04-06 16:38 PDT, Blaze Burg
no flags
For EWS (26.69 KB, patch)
2016-04-07 09:54 PDT, Blaze Burg
no flags
Blaze Burg
Comment 1 2016-03-31 16:34:36 PDT
This is needed to interactively edit cookies through Web Inspector, or add cookies to an ephemeral testing context (that would otherwise have no cookies).
Blaze Burg
Comment 2 2016-04-01 17:07:50 PDT
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!
Radar WebKit Bug Importer
Comment 3 2016-04-06 11:38:01 PDT
Blaze Burg
Comment 4 2016-04-06 13:53:36 PDT
Created attachment 275816 [details] Proposed Fix
Alex Christensen
Comment 5 2016-04-06 14:02:30 PDT
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.
Blaze Burg
Comment 6 2016-04-06 14:04:53 PDT
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.
Blaze Burg
Comment 7 2016-04-06 16:38:13 PDT
Blaze Burg
Comment 8 2016-04-07 09:54:13 PDT
Blaze Burg
Comment 9 2016-04-07 11:09:34 PDT
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.
WebKit Commit Bot
Comment 10 2016-04-07 12:00:54 PDT
Comment on attachment 275892 [details] For EWS Clearing flags on attachment: 275892 Committed r199167: <http://trac.webkit.org/changeset/199167>
WebKit Commit Bot
Comment 11 2016-04-07 12:01:01 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.