tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

storage.idl (667B)


      1 // GENERATED CONTENT - DO NOT EDIT
      2 // Content was automatically extracted by Reffy into webref
      3 // (https://github.com/w3c/webref)
      4 // Source: Storage Standard (https://storage.spec.whatwg.org/)
      5 
      6 [SecureContext]
      7 interface mixin NavigatorStorage {
      8  [SameObject] readonly attribute StorageManager storage;
      9 };
     10 Navigator includes NavigatorStorage;
     11 WorkerNavigator includes NavigatorStorage;
     12 
     13 [SecureContext,
     14 Exposed=(Window,Worker)]
     15 interface StorageManager {
     16  Promise<boolean> persisted();
     17  [Exposed=Window] Promise<boolean> persist();
     18 
     19  Promise<StorageEstimate> estimate();
     20 };
     21 
     22 dictionary StorageEstimate {
     23  unsigned long long usage;
     24  unsigned long long quota;
     25 };