Re: Service Worker issues

On Thu, Jul 28, 2016 at 4:13 PM, Tab Atkins Jr. <jackalmage@gmail.com>
wrote:

> > caches.open("blog - 2016-06-10 14:14:23 -0700").then(c => c.keys())
> > Promise { <state>: "pending" }
>
> Note that this test will *not* tell you whether or not c.keys()
> returns a promise; the .then callback is allowed to return a
> non-promise, and .then() always returns a promise regardless.  You
> have to log the return value of c.keys() directly.
>

caches.open("blog - 2016-06-10 14:14:23 -0700").then(c =>
console.log(c.keys()))
Promise { <state>: "pending" }
Promise { <state>: "pending" }

Received on Friday, 29 July 2016 02:55:17 UTC