Bug 218167
| Summary: | private API _setCookieAcceptPolicy failure in iOS14 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | zhanqianXu <ztxuzhanqian> |
| Component: | WebKit API | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Smoley
Thanks for filing, can you please attach a test case and specific steps to reproduce this?
Radar WebKit Bug Importer
<rdar://problem/70692213>
Alexey Proskuryakov
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.