Re: [slightlyoff/ServiceWorker] Add cache.name property (#869)

It feels like a layering violation for the owned thing to know details about its owner.  I'd rather have the CacheStorage provide a query method.

Also, no matter where we want to put it it will need to be asynchronous.  If you want to just capture the name at the time of opening it you can just do:

```
caches.open('foo', function(c) {
  c.name = 'foo';
});
```

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/869#issuecomment-206469980

Received on Wednesday, 6 April 2016 17:15:16 UTC