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

// Copyright 2021 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

enum StorageBucketDurability {
  "strict",
  "relaxed"
};

dictionary StorageBucketOptions {
  boolean persisted;
  [RuntimeEnabled=StorageBucketsDurability] StorageBucketDurability durability;
  [EnforceRange] unsigned long long quota;
  DOMHighResTimeStamp expires;
};