Web Platform APIs
Here is a list of web platform APIs Deno implements:
You can find documentation about this API on MDN.
- The Deno user agent does not have a cookie jar. As such, the
set-cookie
header on a response is not processed, or filtered from the visible response headers. - Deno does not follow the same-origin policy, because the Deno user agent
currently does not have the concept of origins, and it does not have a cookie
jar. This means Deno does not need to protect against leaking authenticated
data cross origin. Because of this Deno does not implement the following
sections of the WHATWG specification:
- Section
3.2. CORS protocol
. - Section
3.5. CORB
. - Section
3.6. 'Cross-Origin-Resource-Policy' header
. Atomic HTTP redirect handling
.- The
opaqueredirect
response type.
- Section
- A
fetch
with aredirect
mode of will return abasic
response rather than anopaqueredirect
response.
You can find documentation about this API on .
- Events do not bubble, because Deno does not have a DOM hierarchy, so there is no tree for Events to bubble/capture through.
- Blob
- Channel Messaging API
- FormData
- setTimeout, setInterval, clearInterval
- URL
- URLSearchParams
- Web Workers API
Definitions that are specific to workers can be found in the file.