On Wed, Jul 23, 2014 at 2:33 AM, Ian Hickson <i...@hixie.ch> wrote: > That seems like it'd be no more complicated, but would involve less new > API surface (not to mention fewer new ways to shoot yourself in the foot, > e.g. getting the 'fetch-as' value wrong), and wouldn't require us to come > up with a way to enumerate all the kinds of fetch in an API.
We have already sort of done that enumeration for service workers and CSP. See http://fetch.spec.whatwg.org/#concept-request-context -- http://annevankesteren.nl/