window.webkitStorageInfo.queryUsageAndQuota()
window.webkitStorageInfo.requestQuota()
The deprecation thread predates the Intent process, but has been marked as deprecated since 2013 (https://bugs.webkit.org/show_bug.cgi?id=88396).
Blink componentThe top level use counter (PrefixedStorageInfo) still reports 0.6% of page loads, but we think this can’t be trusted since enumeration of global properties is common and will tick the counter. The actual usage of the methods on webkitStorageInfo: is significantly lower:
window.webkitStorageInfo.queryUsageAndQuota() - 0.000632%
window.webkitStorageInfo.requestQuota() - 0.000172%
As a replacement for window.webkitStorageInfo.queryUsageAndQuota(), we recommend using the now standardized navigator.storage.estimate(). This has been added to Chrome since M61, and adopted by Firefox since M57.
window.webkitStorageinfo.requestQuota() will not have a recommended replacement. Although navigator.webkitXXXStorage.requestQuota() will still exist, this has never been standardized or adopted by other browsers. Its current usage is at 0.01% and will need to do some work before full removal, but we are motivated to remove them. Explicitly requesting quota is only used in conjunction with the deprecated and Chrome-only webkitRequestFileSystem() API, which we also hope to remove when feasible.
This removal is part of a larger effort to remove deprecated storage APIs from the codebase. For feedback on other API deprecations, please use this doc for commenting.
Gecko: Never implemented
WebKit: Never implemented
Web developers: No signals
The low usage counters indicate that this is something that could relatively safely be removed, though I wonder if you have taken a look at any of the sites listed with the usage counter?
/Daniel
--
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/1534fcf9-585e-437c-a014-9eb5ba82ed2en%40chromium.org.
window.webkitStorageInfo.requestQuota (163 total urls)
90 urls - browserfs - not actively worked on
38 urls - dojo - old version / checks if exists first
12 urls - mymonero js - old version / checks if exists first
6 urls - sencha ext js - old version?
16 urls remain (8 checks if exists first)
window.webkitStorageInfo.queryUsageAndQuota (285 total urls)
237 urls - twitter share js (example) - checks if exists first
38 urls - dojo - checks if exists first
2 urls - meteor.js - checks if exists first
8 urls remain (6 checks if exists first)
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
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/1c4da014-02c2-4bf1-9085-6efcb4857401n%40chromium.org.
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/1534fcf9-585e-437c-a014-9eb5ba82ed2en%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/1c4da014-02c2-4bf1-9085-6efcb4857401n%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/d0ab3481-0469-3d74-1d03-11a70d6da3be%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/13fd6dd9-aceb-4fd8-af25-4603d523c478n%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/f2fa2d9e-1da7-edec-5fe6-9a28fede890e%40chromium.org.
Is this shipping in 106?
--
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/000000000000faac1205e6ec9e4f%40google.com.
NOT shipping in 106.Since this is not a security-motivated removal (there are other APIs that provide the same data), despite the usage numbers being extremely low we are holding until we've made our best effort to reach out to partners using Chrome in scenarios where we may not have usage metrics, just to avoid surprises.ayui@ will update the thread when we have a new target milestone.
On Tue, Aug 23, 2022 at 11:20 AM jmedley via Chromestatus <admin+jmedley@cr-status.appspotmail.com> wrote:Is this shipping in 106?
--
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.