From e5aeefc5a02d851bdfdffe2baf725632c1ebad6e Mon Sep 17 00:00:00 2001
From: Sean Feng 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
" 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: Return false.
+text/plain
", then return false.
@@ -3461,6 +3460,7 @@ run these steps:
+
+New MIME type sets
@@ -3598,12 +3601,14 @@ run these steps:
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