@@ -3333,8 +3333,7 @@ and a <a for=/>response</a> <var>response</var>, is to run these steps:
3333
3333
<li><p> If <var> response</var> 's <a for=response>status</a> is 206 and <var> mimeType</var> is an
3334
3334
<a>opaque-response-blocklisted MIME type</a> , then return false.
3335
3335
3336
- <li><p> If <var> nosniff</var> is true and <var> mimeType</var> is an
3337
- <a>opaque-response-blocklisted MIME type</a> or its <a for="MIME type">essence</a> is
3336
+ <li><p> If <var> nosniff</var> is true and <var> mimeType</var> 's <a for="MIME type">essence</a> is
3338
3337
"<code> text/plain</code> ", then return false.
3339
3338
</ol>
3340
3339
@@ -3466,6 +3465,7 @@ run these steps:</p>
3466
3465
3467
3466
<hr>
3468
3467
3468
+ <div algorithm>
3469
3469
<p> To <dfn>obtain a copy of the first 1024 bytes of response</dfn> , given a <a for=/>response</a>
3470
3470
<var> response</var> , run these steps:
3471
3471
@@ -3527,9 +3527,11 @@ run these steps:</p>
3527
3527
3528
3528
<li> Return <var> first1024Bytes</var> .
3529
3529
</ol>
3530
+ </div>
3530
3531
3531
3532
<hr>
3532
3533
3534
+ <div algorithm>
3533
3535
<p> To <dfn>determine if response is JavaScript and not JSON</dfn> given a <a for=/>response</a>
3534
3536
<var> response</var> , run these steps:</p>
3535
3537
@@ -3585,6 +3587,7 @@ run these steps:</p>
3585
3587
3586
3588
<li><p> Return false.
3587
3589
</ol>
3590
+ </div>
3588
3591
3589
3592
3590
3593
<h4 id=orb-mime-type-sets>New MIME type sets</h4>
@@ -3603,12 +3606,14 @@ run these steps:</p>
3603
3606
whose <a for="MIME type">essence</a> is one of:
3604
3607
3605
3608
<ul class=brief>
3609
+ <li> "<code> application/dash+xml</code> "
3606
3610
<li> "<code> application/gzip</code> "
3607
3611
<li> "<code> application/msexcel</code> "
3608
3612
<li> "<code> application/mspowerpoint</code> "
3609
3613
<li> "<code> application/msword</code> "
3610
3614
<li> "<code> application/msword-template</code> "
3611
3615
<li> "<code> application/pdf</code> "
3616
+ <li> "<code> application/vnd.apple.mpegurl</code> "
3612
3617
<li> "<code> application/vnd.ces-quickpoint</code> "
3613
3618
<li> "<code> application/vnd.ces-quicksheet</code> "
3614
3619
<li> "<code> application/vnd.ces-quickword</code> "
@@ -3634,10 +3639,16 @@ whose <a for="MIME type">essence</a> is one of:
3634
3639
<li> "<code> application/x-protobuf</code> "
3635
3640
<li> "<code> application/x-protobuffer</code> "
3636
3641
<li> "<code> application/zip</code> "
3642
+ <li> "<code> audio/aac</code> "
3643
+ <li> "<code> audio/aacp</code> "
3644
+ <li> "<code> audio/mpegurl</code> "
3645
+ <li> "<code> audio/mpeg</code> "
3637
3646
<li> "<code> multipart/byteranges</code> "
3638
3647
<li> "<code> multipart/signed</code> "
3648
+ <li> "<code> multipart/x-mixed-replace</code> "
3639
3649
<li> "<code> text/event-stream</code> "
3640
3650
<li> "<code> text/csv</code> "
3651
+ <li> "<code> text/vtt</code> "
3641
3652
</ul>
3642
3653
3643
3654
@@ -5643,9 +5654,15 @@ these steps:
5643
5654
<a>HTTP-network-or-cache fetch</a> given <var> fetchParams</var> .
5644
5655
5645
5656
<li><p> If <var> request</var> 's <a for=request>response tainting</a> is "<code> opaque</code> ",
5646
- <var> response</var> 's <a for=response>status</a> is not a <a>redirect status</a> , and the
5647
- <a>opaque-response-safelist check</a> given <var> request</var> and <var> response</var> returns
5648
- false, then return a <a>network error</a> .
5657
+ <var> response</var> 's <a for=response>status</a> is not a <a>redirect status</a> , then
5658
+
5659
+ <ol>
5660
+ <li><p> If <var> request</var> 's <a for=request>initiator type</a> is "<code> fetch</code> ",
5661
+ then set <var> internalResponse</var> 's <a for=response >body</a> to null.
5662
+
5663
+ <li><p> Otherwise, if <a>opaque-response-safelist check</a> given <var> request</var> and <var> response</var> returns
5664
+ false, then return a <a>network error</a> .
5665
+ </ol>
5649
5666
5650
5667
<li><p> If <var> request</var> 's <a for=request>response tainting</a> is "<code> cors</code> " and
5651
5668
the <a>CORS check</a> for <var> request</var> and <var> response</var> returns failure, then return
0 commit comments