https://github.com/web-platform-tests/wpt
Raw File
Tip revision: ad4489b5132d14d65cdb52845d1c1f8694b9d4cc authored by Ms2ger on 13 March 2018, 16:12:19 UTC
Add tests for transferring ImageBitmap objects.
Tip revision: ad4489b
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