- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Thu, 28 Jul 2016 13:13:44 -0700
- To: Ben Kelly <bkelly@mozilla.com>
- Cc: Sam Ruby <rubys@intertwingly.net>, Webapps WG <public-webapps@w3.org>
> 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. ~TJ
Received on Thursday, 28 July 2016 20:14:31 UTC