[whatwg/fetch] Fold request type into destination (#581)

Since ba175cf1100045da83ed0d7768629653aa979c20 merged there's no reason for type and destination to be different fields as far as I can tell. We'll need to change the following specifications to make this change:

* Fetch
* CSP, https://w3c.github.io/webappsec-csp/#effective-directive-for-a-request (and maybe elsewhere?)
* Mixed Content, https://w3c.github.io/webappsec-mixed-content/#should-block-fetch
* HTML

In Fetch we should mention these specifications in a source comment below the definition of destination so we know where the dependencies are. SRI https://w3c.github.io/webappsec-subresource-integrity/ is another dependency but doesn't use type currently so doesn't need to be updated.

I can do Fetch and HTML. @yoavweiss are you willing to do CSP and Mixed Content?

cc @mikewest

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/581

Received on Monday, 21 August 2017 07:26:06 UTC