Bug 201563

Summary: Allow WKWebView users to enable ITP
Product: WebKit Reporter: Rajaram Gaunker <zimbabao>
Component: WebKit APIAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ajuma, daniel, ehsan, krzysztof.modras, mjs, webkit-bug-importer, wilander
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: iPhone / iPad   
OS: All   

Rajaram Gaunker
Reported 2019-09-06 14:39:46 PDT
Allow an option to enable ITP in WKWebView.
Attachments
Radar WebKit Bug Importer
Comment 1 2019-09-07 11:52:05 PDT
Maciej Stachowiak
Comment 2 2020-02-19 00:07:26 PST
We are reviewing approaches to this, but nothing to report just yet. We might just turn ITP on for all WKWebViews.
Krzysztof Jan Modras [:chrmod]
Comment 3 2020-02-19 01:26:44 PST
We also believe privacy should be by default. Many iOS app developers using WebViews have limited knowledge of the Web and their app will benefit greatly from more private default configuration. Having an option to control ITP in WKWebView would still be beneftial in couple use cases: - browsers may choose to roll out their own tracking prevention - some application may experience brakage due to ITP and may prefer to disable it Not sure to which object ITP setting belong, it may be any of those probably: WKWebViewConfiguration, WKPreferences or WKWebsiteDataStore (as ITP control storage policies).
Maciej Stachowiak
Comment 4 2020-02-19 03:11:39 PST
Let's assume ITP could end up on by default. It would be useful to hear from app developers who would want to turn it off if that happened. More specifically, why they want to do that, and how their app uses web views (is it general web browsing or some kind of content tied to the app?).
Ali Juma
Comment 5 2020-03-26 08:26:22 PDT
(In reply to Maciej Stachowiak from comment #4) > Let's assume ITP could end up on by default. It would be useful to hear from > app developers who would want to turn it off if that happened. More > specifically, why they want to do that, and how their app uses web views (is > it general web browsing or some kind of content tied to the app?). From the web browser standpoint, it'd be useful to give users the option to turn it off, for the same kinds of compatibility bugs for which Safari still offers users the option to turn it off. In other words, as long as there are sites that break with third-party cookies disabled, it'd be unfortunate if Safari has a workaround (disable ITP) but other browsers on iOS cannot offer this workaround.
Daniel Röder
Comment 6 2020-07-02 05:16:39 PDT
(In reply to Maciej Stachowiak from comment #4) > Let's assume ITP could end up on by default. It would be useful to hear from > app developers who would want to turn it off if that happened. More > specifically, why they want to do that, and how their app uses web views (is > it general web browsing or some kind of content tied to the app?). Such an Szenario is described here: https://bugs.webkit.org/show_bug.cgi?id=213879
Note You need to log in before you can comment on or make changes to this bug.