mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-22 17:24:48 -05:00
14 lines
423 B
Text
14 lines
423 B
Text
// 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;
|
|
};
|