Add unlimitedStorage permission (#930)

IndexedDB storage may be evicted by the browser at its discretion [1].
Granting the unlimitedStorage permission ensures that IndexedDB data
will not be evicted [2], and allows the extension to store more than
5MB of data if needed [3].

[1]: https://web.dev/storage-for-the-web/#eviction
[2]: https://crbug.com/680392#c5
[3]: https://developer.chrome.com/apps/declare_permissions#unlimitedStorage
This commit is contained in:
mcpower 2020-05-17 05:51:50 +10:00 committed by GitHub
parent 43f6bdf4ed
commit 367d1672c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@
"webRequestBlocking", "webRequestBlocking",
"contextMenus", "contextMenus",
"storage", "storage",
"unlimitedStorage",
"alarms", "alarms",
"identity", "identity",
"<all_urls>" "<all_urls>"