Chrome giving wrong Used quota and Remaining Quota Value
Reported by
nikisha....@gmail.com,
Dec 5 2016
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36 Steps to reproduce the problem: 1. Added data in indexed db, gives Used quota 2. But the remaining quota value remains same What is the expected behavior? What went wrong? Chrome is not giving expected Used quota and Remaining Quota Values Did this work before? N/A Chrome version: 54.0.2840.99 Channel: n/a OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: Shockwave Flash 23.0 r0
,
Dec 5 2016
,
Dec 5 2016
None of the quota APIs return a "remaining quota" value; they all return usage and quota (i.e. total of used + available).
window.webkitStorageInfo.queryUsageAndQuota(TEMPORARY, (used, quota) => {
console.log(used, quota);
});
navigator.webkitTemporaryStorage.queryUsageAndQuota((used, quota) => {
console.log(used, quota);
});
navigator.storageQuota.queryInfo().then(info => {
console.log(info.used, info.quota);
});
navigator.storage.estimate().then(estimate => {
console.log(estimate.usage, estimate.quota);
});
,
Dec 5 2016
I should clarify - I'm resolving as "WontFix" assuming there's a misunderstanding about what the "quota" value returned means and that everything is working as intended. If I'm wrong, please comment and we can re-open! |
|||
►
Sign in to add a comment |
|||
Comment 1 by ajha@chromium.org
, Dec 5 2016Labels: M-54