mirror of
https://github.com/servo/servo.git
synced 2025-06-30 20:13:39 +01:00
25 lines
626 B
Text
25 lines
626 B
Text
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content of this file was automatically extracted from the
|
|
// "Storage Standard" 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;
|
|
};
|