Contact emails
cfre...@chromium.org, m...@chromium.org
Explainer
https://docs.google.com/document/d/1Cm2Hv_-RMqQPqruGL2rUyiTRgqMyHMJbNyNvhLH6KWU/edit
Specification
None
Summary
We plan to deprecate and remove support of the `window.PERSISTENT` quota type in `webkitRequestFileSystem`. `webkitRequestFileSystem` will still accept a `type` parameter and use of the PERSISTENT and TEMPORARY types will create filesystems with separate roots, but the PERSISTENT type will no longer grant access to a persistent filesystem.
We will also modify `navigator.webkitPersistentStorage` to be an alias for `navigator.webkitTemporaryStorage`.
Finally, we will also begin ignoring the `storageType` parameter (either `window.PERSISTENT` or `window.TEMPORARY`) in methods of the `webkitStorageInfo` API (which is deprecated).
Blink component
Motivation
Support for the PERSISTENT quota type contributes some amount of complexity to the quota system, but `webkitRequestFileSystem` is the only consumer, with relatively low usage. Additionally, support for persistent quota will hinder work on storage partitioning, so it would be helpful to simplify the quota system prior to partitioning storage.
Initial public proposal
None
TAG review
None
TAG review status
Not applicable
Risks
Because we plan to just change the “lifetime” of the persistent filesystem (rather than, e.g., merging it with the temporary filesystem), risks are fairly minimal. Usage of the PERSISTENT type with `webkitRequestFileSystem` is low, about 0.4% of pageloads.
Regarding making `navigator.webkitPersistentStorage` an alias for `navigator.webkitTemporaryStorage`, we believe this presents the least risk, since this way the quota for the `window.PERSISTENT` filesystem will still be accurately reported to sites that query it.
Regarding ignoring `storageType`: since persistent quota will no longer exist, our choices are to ignore the storage type completely, or throw an exception if kPersistent is used. The former presents the least risk of breakage.
Interoperability and Compatibility
None. No other browser supports the APIs affected here.
Gecko: No signal
WebKit: No signal
Web developers: No signals
Is this feature fully tested by web-platform-tests?
No
Flag name
None
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5176235376246784
This intent message was generated by Chrome Platform Status.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/c415cd1e-fbba-4cb6-9c83-62e7d608e04an%40chromium.org.
Hey folks!I'm quite supportive of deprecating the entire `webkitRequestFileSystem` API, and this seems like a reasonable first step. I appreciate the data you've gathered thus far through HTTP Archive, and your analysis matches my suppositions: incognito detection drove much of the usage, and since that abuse doesn't even work anymore, the API serves little purpose.That said, 0.4% is a lot of percent. Is there a migration story for folks who were using it in good faith? You pointed to one or two sites in your analysis that seemed to be doing so: would we just wipe user's previously-persistent data, or would it be transparently switched to temporary storage?
Also, I note that third-party usage of PERSISTENT is quite low, hovering around 0.0003% (https://www.chromestatus.com/metrics/feature/timeline/popularity/3879). I wonder if there's an opportunity to simply break it in those contexts? Have you done any analysis on that subset of pages?
Also also, I'm also somewhat dismayed to note that TEMPORARY usage is at 10% of page views (https://www.chromestatus.com/metrics/feature/timeline/popularity/2996). That's high! Can I safely assume that that's overwhelmingly incognito detection as well? If so, is there a path to removal?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAKXHy%3Dd_r83Lf4NDokigV%2BKCOs98b_EeJ9NcWASj1eVOD_4Mqg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CA%2BOSsVa1KT2sc4eSJNvG9hc0LSHNc1YNJhgi7DwnqSHjZ7tvCQ%40mail.gmail.com.
Since the 0.4% usage numbers are suspected to be a very loose upper-bound, I wonder what's the best strategy here.Is there a way to use-count cases where storage quota would run out as temporary but not as persistent?
If not, are you planning to roll this out with a kill-switch while monitoring filed issues for breakage?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfVjqW2hFpzhTzwj05P7AmvOKN%3DPFJq3pz5DwDSoqjOucw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/c415cd1e-fbba-4cb6-9c83-62e7d608e04an%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAKXHy%3Dd_r83Lf4NDokigV%2BKCOs98b_EeJ9NcWASj1eVOD_4Mqg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CA%2BOSsVa1KT2sc4eSJNvG9hc0LSHNc1YNJhgi7DwnqSHjZ7tvCQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
Do we have stats on potential storage pressure evictions that would be changed as a result of this change (as that appears to be the only place behavior differs)? And is there any UI that we display (e.g. in cache/storage clearing) that will be affected?
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/c415cd1e-fbba-4cb6-9c83-62e7d608e04an%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAKXHy%3Dd_r83Lf4NDokigV%2BKCOs98b_EeJ9NcWASj1eVOD_4Mqg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CA%2BOSsVa1KT2sc4eSJNvG9hc0LSHNc1YNJhgi7DwnqSHjZ7tvCQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/c415cd1e-fbba-4cb6-9c83-62e7d608e04an%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAKXHy%3Dd_r83Lf4NDokigV%2BKCOs98b_EeJ9NcWASj1eVOD_4Mqg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CA%2BOSsVa1KT2sc4eSJNvG9hc0LSHNc1YNJhgi7DwnqSHjZ7tvCQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/80b73287-a86b-4f15-93dd-1b2740726a3fn%40chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.