Bug 209501 - Implement Persistent Storage before shipping "7-Day Cap on All Script-Writeable Storage"
Summary: Implement Persistent Storage before shipping "7-Day Cap on All Script-Writeab...
Status: RESOLVED DUPLICATE of bug 209563
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Safari Technology Preview
Hardware: All All
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-03-24 14:37 PDT by aaaaaaabcdefg123
Modified: 2021-08-12 10:27 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/