Re: [whatwg/fetch] What is expected effect of setting Request type and destination? For example, to "audio"? (#555)

Javascript code cannot set the `type` or `destination` properties.  They are readonly and the `RequestInit` dictionary does not support them.

These properties are set by the browser for internally generated requests in order to apply various policies to the request.  For example, some types/destinations are allowed mixed content while others are not, etc.

-- 
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/555#issuecomment-309606099

Received on Tuesday, 20 June 2017 00:02:07 UTC