- From: Ben Kelly <bkelly@mozilla.com>
- Date: Thu, 28 Jul 2016 22:54:47 -0400
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: Sam Ruby <rubys@intertwingly.net>, Webapps WG <public-webapps@w3.org>
Received on Friday, 29 July 2016 02:55:17 UTC
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