From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../tests/interfaces/storage-buckets.tentative.idl | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 testing/web-platform/tests/interfaces/storage-buckets.tentative.idl (limited to 'testing/web-platform/tests/interfaces/storage-buckets.tentative.idl') diff --git a/testing/web-platform/tests/interfaces/storage-buckets.tentative.idl b/testing/web-platform/tests/interfaces/storage-buckets.tentative.idl new file mode 100644 index 0000000000..73d72ceab9 --- /dev/null +++ b/testing/web-platform/tests/interfaces/storage-buckets.tentative.idl @@ -0,0 +1,36 @@ +[ + Exposed=(Window,Worker), + SecureContext +] interface StorageBucketManager { + Promise open(DOMString name, + optional StorageBucketOptions options = {}); + Promise> keys(); + Promise delete(DOMString name); +}; + +dictionary StorageBucketOptions { + boolean persisted = false; + StorageBucketDurability durability = "relaxed"; + unsigned long long? quota = null; + DOMTimeStamp? expires = null; +}; + +enum StorageBucketDurability { + "strict", + "relaxed" +}; + +[ + Exposed=(Window,Worker), + SecureContext +] interface StorageBucket { + [Exposed=Window] Promise persist(); + Promise persisted(); + + Promise estimate(); + + Promise durability(); + + Promise setExpires(DOMTimeStamp expires); + Promise expires(); +}; -- cgit v1.2.3