Bug 209501

Summary: Implement Persistent Storage before shipping "7-Day Cap on All Script-Writeable Storage"
Product: WebKit Reporter: aaaaaaabcdefg123
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major CC: gsnedders, katherine_cheney, webkit-bug-importer, wilander
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: All   
OS: All   

Description aaaaaaabcdefg123 2020-03-24 14:37:24 PDT
IIUC, the upcoming "7-Day Cap on All Script-Writeable Storage" [1] will cause loss of user generated data stored in IndexedDB. Telling the user to come back to the web app within every 7 days, or to use an alternative browser, are not a viable solutions to this problem. Implementing Persistent Storage [2] or something equivalent would still allow such web apps to be usable in Safari. While we are all for improving privacy (ironically we store the user generated data in IndexedDB rather than on our servers for exactly that reason), please do not delete our users' data for which they might have spent a signifficant amount of time creating.


[1] https://webkit.org/blog/10218/full-third-party-cookie-blocking-and-more/
[2] https://storage.spec.whatwg.org/#persistence
Comment 1 Radar WebKit Bug Importer 2020-03-24 22:48:11 PDT
<rdar://problem/60859503>
Comment 2 Sam Sneddon [:gsnedders] 2021-08-12 10:07:37 PDT
arguably not a dupe, but practically another bug about the lack of persistent storage; let's discuss use-cases and potential solutions there

*** This bug has been marked as a duplicate of bug 209563 ***
Comment 3 John Wilander 2021-08-12 10:27:03 PDT
Home screen web apps on iOS and iPadOS already have a carveout. See "Home Screen Web Application Domain Exempt From ITP" here: https://webkit.org/blog/11338/cname-cloaking-and-bounce-tracking-defense/