diff --git a/explainer.md b/explainer.md index dc56dc8..7799dc8 100644 --- a/explainer.md +++ b/explainer.md @@ -28,6 +28,7 @@ - [Accessing storage APIs from buckets](#accessing-storage-apis-from-buckets) - [Deleting buckets](#deleting-buckets) - [Enumerating buckets](#enumerating-buckets) +- [Maximum bucket count](#maximum-bucket-count) - [Getting a bucket's quota usage](#getting-a-buckets-quota-usage) - [Storage policy: Persistence](#storage-policy-persistence) - [Storage policy: Durability](#storage-policy-durability) @@ -298,6 +299,14 @@ This function is provided for debugging / logging purposes, and may have significant performance implications. +## Maximum bucket count + +A user agent can specify the maximum number of buckets allowed for an origin. + +```javascript +console.log(navigator.storageBuckets.maxCount); // 5 +``` + ## Getting a bucket's quota usage In order to support eviction at bucket granularity, user agents are expected to