Bug 130251

Summary: [Cocoa] Expose a way to set the cookie accept policy
Product: WebKit Reporter: mitz
Component: WebKit2Assignee: mitz
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, ap, m.goleb+bugzilla, mhock, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Add -[WKProcessPool _setCookieAcceptPolicy:] andersca: review+

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.