- From: Jungkee Song <notifications@github.com>
- Date: Thu, 07 May 2015 03:40:05 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Thursday, 7 May 2015 10:40:32 UTC
I'm not entirely clear about the promise resolution values of the cache methods: ```js CacheStorage.match().then(response => {}); CacheStorage.open().then(cache => {}); Cache.match().then(response => {}); Cache.matchAll().then(responses => {}); Cache.keys().then(requests => {}); ``` IMO, the resolved values of the promise returned from the above methods should be the same object as well. WDYT? /cc @wanderview To make it clear, resolved/returned `ServiceWorkerRegistration` objects / `ServiceWorker` objects are the same objects, and resolved/returned `Client` / `WindowClient` objects are distinct objects in the current spec. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/416#issuecomment-99809109
Received on Thursday, 7 May 2015 10:40:32 UTC