Bug 218167

Summary: private API _setCookieAcceptPolicy failure in iOS14
Product: WebKit Reporter: zhanqianXu <ztxuzhanqian>
Component: WebKit APIAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Major CC: achristensen, beidson, sihui_liu, smoley, webkit-bug-importer, wilander
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

zhanqianXu
Reported 2020-10-25 23:18:34 PDT
I set it up in iOS13 using private methods. This is code: [self.webView.configuration.processPool performSelector:@selector(_setCookieAcceptPolicy:) withObject:NSHTTPCookieAcceptPolicyAlways afterDelay:0]; On iOS13.It's working and policy is always.But on iOS14.It's failure and policy is never.Even though I set it NSHTTPCookieAcceptPolicyAlways. So I think it is failure in iOS14 and I change my code,This code has been deleted.But when I updated my App,It‘s not working on iOS14!!! I should uninstall my App and install,It can be works. So is there any way to change it in iOS14? In addition to uninstall.
Attachments
Smoley
Comment 1 2020-10-26 13:15:17 PDT
Thanks for filing, can you please attach a test case and specific steps to reproduce this?
Radar WebKit Bug Importer
Comment 2 2020-10-26 13:15:27 PDT
Alexey Proskuryakov
Comment 3 2020-10-26 14:59:59 PDT
We do not recommend using SPIs. If you can describe the overall goal, there may be a supported way that we can recommend. webkit-help mailing list or Slack would be a better venue for this question, as changing an SPI behavior is not a WebKit bug.
Note You need to log in before you can comment on or make changes to this bug.