[Cocoa] Expose a way to set the cookie accept policy
Created attachment 226736 [details] Add -[WKProcessPool _setCookieAcceptPolicy:]
<rdar://problem/16368388>
Shouldn't this be a setting on a session? Process pool seems like a wrong place to change cookie settings.
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.
> 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.