You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 13, 2020. It is now read-only.
@guybedford I believe not, it's hitting the throw in this case. Eventually all environments will support fetch so it would be nice to make that the default anyways.
@OliverJAsh You can execute any script as a service worker, so that includes es6ml. You might want to bundle it with some other script that calls System.import if you want it to actually do something though.
Activity
guybedford commentedon May 15, 2015
Does XHR not work inside of service workers?
OliverJAsh commentedon May 15, 2015
How would we download and execute SystemJS in a service worker at all?
matthewp commentedon May 15, 2015
@guybedford I believe not, it's hitting the
throw
in this case. Eventually all environments will supportfetch
so it would be nice to make that the default anyways.@OliverJAsh You can execute any script as a service worker, so that includes es6ml. You might want to bundle it with some other script that calls
System.import
if you want it to actually do something though.guybedford commentedon May 15, 2015
Ok, sure, yes it makes sense to use
fetch
if its supported as an API here anyway.Add support for new async fetch API
Add support for new async fetch API
Add support for new async fetch API
guybedford commentedon Feb 10, 2016
I believe support for this was added in #448.