mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 23:53:20 +00:00
15 lines
423 B
Text
15 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;
|
||
|
};
|