diff --git a/index.bs b/index.bs index ea91d92..116abab 100644 --- a/index.bs +++ b/index.bs @@ -145,9 +145,9 @@ To open a bucket for a |storageKey| given a bucket |name| and optiona To validate a bucket name given string |name|, run the following steps: -1. If |name| contains any character that is not [=ASCII lower alpha=], [=ASCII digit=], U+005F (_), or U+002D(-), then return failure. +1. If |name| contains any [=code point=] that is not [=ASCII lower alpha=], [=ASCII digit=], U+005F (_), or U+002D(-), then return failure. -1. If |name| [=string/length=] is 0 or exceeds 64, then return failure. +1. If |name| [=string/code point length=] is 0 or exceeds 64, then return failure. 1. If |name| begins with U+005F (_) or U+002D(-), then return failure. @@ -178,7 +178,7 @@ The delete(|name|) method steps are 1. If the result of [=validate a bucket name=] with |name| is failure, then [=/reject=] |p| with an {{InvalidCharacterError}} and abort these steps. - 1. Let |bucket| be the [=/storage bucket=] named |name| in |storageKey| if one exists. Otherwise return. + 1. Let |bucket| be the [=/storage bucket=] with [=map/key=] |name| in [=bucket map=] if one exists. Otherwise return. 1. Remove |bucket|. @@ -308,8 +308,8 @@ The persisted() method steps are:

Quota

A [=/storage bucket=] has a quota value, a number-or-null, initially null. -Specifies the upper limit of usage which can be used by the bucket. The user agent MAY further limit -the realized storage space. +Specifies the upper limit of usage in bytes which can be used by the bucket. The user agent MAY further +limit the realized storage space. The storage usage of a [=/storage bucket=] is an [=implementation-defined=] rough estimate of the number of bytes used by all of its [=/storage bottle=]s.