Bug 169624 - WKWebView pick us cookie accept policy from sharedCookieStore
Summary: WKWebView pick us cookie accept policy from sharedCookieStore
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad iOS 10
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-03-14 13:12 PDT by Eugene But
Modified: 2022-02-09 10:14 PST (History)
1 user (show)

See Also:


Attachments
Test app (31.16 KB, application/zip)
2017-03-14 13:12 PDT, Eugene But
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene But 2017-03-14 13:12:20 PDT
Summary:
WKWebView picks up cookie policy from [NSHTTPCookieStorage sharedHTTPCookieStorage] after app relaunch.

Steps to Reproduce:
1.) Build and run attached test app on device (does not repro on Simulator)
2.) Close the app
3.) Launch app again
4.) Click "Try it" button in the bottom of the page

Expected Results:
"Cookies enabled: true" should be displayed

Actual Results:
"Cookies enabled: false" is displayed
Comment 1 Eugene But 2017-03-14 13:12:33 PDT
Created attachment 304414 [details]
Test app
Comment 2 Eugene But 2017-03-14 13:12:55 PDT
rdar://31044827