WebIDLpedia

StorageManager interface

Definition

Storage Standard defines StorageManager



[SecureContext,
 Exposed=(Window,Worker)]
interface StorageManager {
  Promise<boolean> persisted();
  [Exposed=Window] Promise<boolean> persist();

  Promise<StorageEstimate> estimate();
};

This interface is extended in the following specifications:

Consolidated IDL (across mixin and partials)


[SecureContext,
 Exposed=(Window,Worker)]
interface StorageManager {
  Promise<boolean> persisted();
  [Exposed=Window] Promise<boolean> persist();

  Promise<StorageEstimate> estimate();
  Promise<FileSystemDirectoryHandle> getDirectory();
};

Methods and attributes that return objects implementing StorageManager

Referring IDL interfaces/dictionaries

Referring specifications