diff --git a/fetch.bs b/fetch.bs index 2d3c30e90..1e22c4c93 100644 --- a/fetch.bs +++ b/fetch.bs @@ -3328,8 +3328,7 @@ and a response response, is to run these steps:
If response's status is 206 and mimeType is an opaque-response-blocklisted MIME type, then return false. -
If nosniff is true and mimeType is an - opaque-response-blocklisted MIME type or its essence is +
If nosniff is true and mimeType's essence is
"text/plain
", then return false.
@@ -3461,6 +3460,7 @@ run these steps:
To obtain a copy of the first 1024 bytes of response, given a response response, run these steps: @@ -3522,9 +3522,11 @@ run these steps:
To determine if response is JavaScript and not JSON given a response response, run these steps:
@@ -3580,6 +3582,7 @@ run these steps:Return false. +
application/dash+xml
"
application/gzip
"
application/msexcel
"
application/mspowerpoint
"
application/msword
"
application/msword-template
"
application/pdf
"
+ application/vnd.apple.mpegurl
"
application/vnd.ces-quickpoint
"
application/vnd.ces-quicksheet
"
application/vnd.ces-quickword
"
@@ -3629,10 +3634,16 @@ whose essence is one of:
application/x-protobuf
"
application/x-protobuffer
"
application/zip
"
+ audio/aac
"
+ audio/aacp
"
+ audio/mpegurl
"
+ audio/mpeg
"
multipart/byteranges
"
multipart/signed
"
+ multipart/x-mixed-replace
"
text/event-stream
"
text/csv
"
+ text/vtt
"
If request's response tainting is "opaque
",
- response's status is not a redirect status, and the
- opaque-response-safelist check given request and response returns
- false, then return a network error.
+ response's status is not a redirect status, then
+
+
If request's initiator type is "fetch
",
+ then set internalResponse's body to null.
+
+
Otherwise, if opaque-response-safelist check given request and response returns + false, then return a network error. +
If request's response tainting is "cors
" and
the CORS check for request and response returns failure, then return