https://github.com/web-platform-tests/wpt
Raw File
Tip revision: a8fad0798ea933c6e48cc7910959dd9add4b1ec1 authored by James Graham on 15 May 2018, 21:31:15 UTC
Don't assume file_is_test when there's a top-level non-assert error
Tip revision: a8fad07
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