chromium/third_party/blink/renderer/modules/buckets/storage_bucket_manager.idl

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://github.com/WICG/storage-buckets

[
  Exposed=(Window,Worker),
  RuntimeEnabled=StorageBuckets,
  SecureContext
] interface StorageBucketManager {
    [CallWith=ScriptState, RaisesException, MeasureAs=StorageBucketsOpen]
    Promise<StorageBucket> open(DOMString name, optional StorageBucketOptions options = {});
    [CallWith=ScriptState, RaisesException, Measure] Promise<sequence<DOMString>> keys();
    [CallWith=ScriptState, RaisesException, ImplementedAs=Delete, Measure] Promise<undefined> delete(DOMString name);
};