Revision e50487174bea36de374e7acecaceb260fd448b82 authored by Jonathon Kereliuk on 10 April 2018, 18:20:46 UTC, committed by jgraham on 10 April 2018, 18:20:46 UTC
1 parent 1e801bf
Raw File
storage.idl
// GENERATED CONTENT - DO NOT EDIT
// Content of this file was automatically extracted from the Storage spec.
// See https://storage.spec.whatwg.org/

[SecureContext]
interface mixin NavigatorStorage {
  readonly attribute StorageManager storage;
};
Navigator includes NavigatorStorage;
WorkerNavigator includes NavigatorStorage;

[SecureContext,
 Exposed=(Window,Worker)]
interface StorageManager {
  Promise<boolean> persisted();
  [Exposed=Window] Promise<boolean> persist();

  Promise<StorageEstimate> estimate();
};

dictionary StorageEstimate {
  unsigned long long usage;
  unsigned long long quota;
};
back to top