Re: Service Worker issues

2016-07-28 Thread Ben Kelly
On Thu, Jul 28, 2016 at 4:13 PM, Tab Atkins Jr. wrote: > > caches.open("blog - 2016-06-10 14:14:23 -0700").then(c => c.keys()) > > Promise { : "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-promi

Re: Service Worker issues

2016-07-28 Thread Tab Atkins Jr.
> caches.open("blog - 2016-06-10 14:14:23 -0700").then(c => c.keys()) > Promise { : "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 lo