mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 02:17:45 -10:00
23 lines
504 B
Plaintext
23 lines
504 B
Plaintext
[SecureContext,
|
|
NoInterfaceObject,
|
|
Exposed=(Window,Worker)]
|
|
interface NavigatorStorage {
|
|
readonly attribute StorageManager storage;
|
|
};
|
|
Navigator implements NavigatorStorage;
|
|
WorkerNavigator implements 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;
|
|
};
|