Re: [w3c/ServiceWorker] Fix: Align Cache API definitions with Storage spec (PR #1789)

@monica-ch commented on this pull request.



> @@ -2262,7 +2260,7 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
 
     The user agent *must* create a {{CacheStorage}} object when a {{Window}} object or a {{WorkerGlobalScope}} object is created and associate it with that <dfn for="CacheStorage">global object</dfn>.
 
-    A {{CacheStorage}} object represents a <a>name to cache map</a> of its associated [=CacheStorage/global object=]'s <a>environment settings object</a>'s [=environment settings object/origin=]. Multiple separate objects implementing the {{CacheStorage}} interface across documents and workers can all be associated with the same <a>name to cache map</a> simultaneously.
+    A {{CacheStorage}} object represents the [=name to cache map=] associated with its associated [=CacheStorage/global object=]'s [=environment settings object=]. Multiple separate objects implementing the {{CacheStorage}} interface across documents and workers can all be associated with the same <a>name to cache map</a> simultaneously.

and also, to maintain consistency here? 

A {{CacheStorage}} object represents the [=name to cache map=] associated with the result of running [=obtain a local storage bottle map=] with its associated [=CacheStorage/global object=]'s [=environment settings object=]....

What do you think?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1789#pullrequestreview-3191160680
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/ServiceWorker/pull/1789/review/3191160680@github.com>

Received on Saturday, 6 September 2025 00:14:56 UTC