LibWeb: Stub StorageManager idl interface

This commit is contained in:
Jamie Mansfield 2024-08-13 20:54:58 +01:00 committed by Tim Flynn
commit 1b84062c74
Notes: github-actions[bot] 2024-08-16 15:23:18 +00:00
10 changed files with 87 additions and 0 deletions

View file

@ -0,0 +1,14 @@
// https://storage.spec.whatwg.org/#storagemanager
[SecureContext, Exposed=(Window,Worker)]
interface StorageManager {
[FIXME] Promise<boolean> persisted();
[FIXME, Exposed=Window] Promise<boolean> persist();
[FIXME] Promise<StorageEstimate> estimate();
};
// https://storage.spec.whatwg.org/#dictdef-storageestimate
dictionary StorageEstimate {
unsigned long long usage;
unsigned long long quota;
};