Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ The <dfn method for="StorageBucketManager">open(|name|, |options|)</dfn> method

1. Let |r| be the result of running [=open a bucket=] with |shelf|, |name|, and |options|.

1. If |r| is failure, then [=queue a storage task=] to [=/reject=] |p| with a {{TypeError}}.
1. If |r| is failure, then [=queue a storage task=] to [=reject=] |p| with a {{TypeError}}.

1. Otherwise, [=queue a storage task=] to [=/resolve=] |p| with |r|.
1. Otherwise, [=queue a storage task=] to [=resolve=] |p| with |r|.

1. Return |p|.

Expand Down Expand Up @@ -190,13 +190,13 @@ The <dfn method for="StorageBucketManager">delete(|name|)</dfn> method steps are

1. Let |p| be [=a new promise=].

1. If the result of [=validate a bucket name=] with |name| is failure, then [=/reject=] |p| with an {{InvalidCharacterError}}.
1. If the result of [=validate a bucket name=] with |name| is failure, then [=reject=] |p| with an {{InvalidCharacterError}}.

1. Otherwise, [=enqueue the following steps=] to [=StorageBucketManager/storage bucket manager=]:

1. Run [=remove a bucket=] with |shelf| and |name|.

1. [=Queue a storage task=] to [=/resolve=] |p|.
1. [=Queue a storage task=] to [=resolve=] |p|.

1. Return |p|.

Expand Down Expand Up @@ -250,7 +250,7 @@ The <dfn method for="StorageBucketManager">keys()</dfn> method steps are:

1. If |bucket| is non-null, [=list/append=] |key| to |keys|.

1. [=Queue a storage task=] to [=/resolve=] |p| with |keys|.
1. [=Queue a storage task=] to [=resolve=] |p| with |keys|.

1. Return |p|.

Expand Down