Cache.addAll() takes an array of Request objects, both in the Service Worker spec and the MDN docs. Except that it doesn’t 
-
-
Replying to @dietrich
Looks like it does? http://searchfox.org/mozilla-central/source/dom/webidl/Cache.webidl#23 …
1 reply 0 retweets 0 likes -
Replying to @fabricedesre
It does look like that, right?! But in every example and in practice, it’s an array of string URLs.
1 reply 0 retweets 0 likes -
Replying to @dietrich
that's because requestinfo is either a request or a url: http://searchfox.org/mozilla-central/source/servo/components/script/dom/webidls/Request.webidl#7 …
1 reply 0 retweets 0 likes -
Replying to @fabricedesre
Sure, but that’s not what MDN says, and the spec says Request not RequestInfo. Imma update these docs...
1 reply 0 retweets 0 likes -
-
Replying to @fabricedesre
Call me crazy. Even the spec mentions *nothing* about this. I reread it a few times. I hope I’m wrong.
1 reply 0 retweets 0 likes
Adding actual Request objects via ‘new Request(url)’ does work, thankfully. MDN says Request.Request ctor works, but it doesn’t even exist 
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.