Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML5 FileSystem: How to revoke granted quota?

I use window.webkitStorageInfo.requestQuota() to get disk quota. Everything works as it should but I can't revoke already granted quota for debug purposes. Seems there is no API for that. And more over I can't find how it can be done through Chrome interface. I've found this link: chrome://quota-internals/ but it just provides a read only info. I am developing chrome extension and even uninstalling/installing of it doesn't help. Who knows how to reset local disk storage settings for the site (or extension) or even the storage as a whole?

like image 540
Konstantin Smolyanin Avatar asked Jan 15 '23 02:01

Konstantin Smolyanin


2 Answers

  1. Go to: chrome://settings/content
  2. Under cookies click: All Cookies and Site Data
  3. Filter down to the host you want to revoke access for
  4. Click through the permissions (filesystem, database, cookie, etc.) you want to remove.

rm permissions

There is also this: https://developers.google.com/chrome/whitepapers/storage#reset

like image 77
Matt Wonlaw Avatar answered Jan 22 '23 04:01

Matt Wonlaw


This is a bug crbug.com/121463

like image 37
ebidel Avatar answered Jan 22 '23 05:01

ebidel