Skip to content

Commit 168cc8c

Browse files
authored
Clarify code comment (#1636)
An attempt at fixing #1635.
1 parent 2d7be2b commit 168cc8c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/index.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,8 +1009,9 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
10091009
event.waitUntil(
10101010
// Open a cache of resources.
10111011
caches.open("shell-v1").then(cache => {
1012-
// Begins the process of fetching them.
1013-
// The coast is only clear when all the resources are ready.
1012+
// Begins the process of fetching them. Succeeds only once all
1013+
// resources have been stored. Even just one failing resource
1014+
// causes the entire operation to fail.
10141015
return cache.addAll([
10151016
"/app.html",
10161017
"/assets/v1/base.css",

0 commit comments

Comments
 (0)