Cannot allocate more than 10GB of HTML5 persistent storage

后端 未结 1 538
北荒
北荒 2021-01-04 08:12

When I try to execute

navigator.webkitPersistentStorage.requestQuota(1024 * 1024 * 1024 * 15, function (bytes) {
        console.log(\'Successfuly allocated          


        
1条回答
  •  一整个雨季
    2021-01-04 08:45

    I have reported bug to Google. Turns out that max persistent storage quota is indeed 10GB, but documentation saying "As large as the available space on the hard drive" is incorrect.

    https://bugs.chromium.org/p/chromium/issues/detail?id=540574&q=persistent%20storage&colspec=ID%20Pri%20M%20Stars%20ReleaseBlock%20Component%20Status%20Owner%20Summary%20OS%20Modified

    0 讨论(0)
提交回复
热议问题