RESOLVED FIXED 130251
[Cocoa] Expose a way to set the cookie accept policy
https://bugs.webkit.org/show_bug.cgi?id=130251
Summary [Cocoa] Expose a way to set the cookie accept policy
mitz
Reported 2014-03-14 11:09:04 PDT
[Cocoa] Expose a way to set the cookie accept policy
Attachments
Add -[WKProcessPool _setCookieAcceptPolicy:] (3.38 KB, patch)
2014-03-14 11:10 PDT, mitz
andersca: review+
mitz
Comment 1 2014-03-14 11:10:54 PDT
Created attachment 226736 [details] Add -[WKProcessPool _setCookieAcceptPolicy:]
Radar WebKit Bug Importer
Comment 2 2014-03-19 10:41:40 PDT
Alexey Proskuryakov
Comment 3 2014-03-20 09:46:42 PDT
Shouldn't this be a setting on a session? Process pool seems like a wrong place to change cookie settings.
mitz
Comment 4 2014-03-20 09:54:10 PDT
I forgot to say that this was committed in <http://trac.webkit.org/r165632>. (In reply to comment #3) > Shouldn't this be a setting on a session? Process pool seems like a wrong place to change cookie settings. Can you explain what you mean by “session”? I agree that process pool is not right—this is just Cocoa SPI that mirrors the C SPI.
Alexey Proskuryakov
Comment 5 2014-03-20 10:40:09 PDT
> Can you explain what you mean by “session”? WKSessionRef - which doesn't control cookies at the moment, but the idea is that it will mirror NSURLSession properties, encapsulating all storage settings. I don't know if we began to expose WKSessionRef in Objective-C API yet.
Note You need to log in before you can comment on or make changes to this bug.