cookie-status / cookie-status-dev

The cookiestatus.com website is a learning resource for the various tracking protection mechanisms implemented by the major browsers and browser engines.
https://www.cookiestatus.com/
MIT License
103 stars 7 forks source link

iOS | Safari vs WKWebView vs SFSafariViewController #39

Open olivierlemasletikamoon opened 2 years ago

olivierlemasletikamoon commented 2 years ago

Hi there,

With regard to Safari browsing on iOS, do you have an idea of how the Safari browser interacts with (i) WKWebView and (ii) SFSafariViewController?

Unfortunately, Safari's developer mode does not allow for debugging of in-app browsing, making it harder to understand potential continuity between in-app and the default browser (Safari) on iOS.

It would be great if the cookie status table could answer the following questions: 1/ are WKWebView cookies persistent from in-app to Safari browsing? 2/ are SFSafariViewController cookies persistent from in-app to Safari browsing? 3/ in other words, are WKWebView and SFSafariViewController considered as the same browser as Safari, or not?

Any clarification on this greyish zone would be very much appreciated.

Best regards,

OL

sgal commented 1 year ago

Hi @olivierlemasletikamoon! WKWebView and SFSafariViewController are not the same and cookie sharing between them is not possible. Also, following rules apply: