@@ -3328,8 +3328,7 @@ and a <a for=/>response</a> <var>response</var>, is to run these steps:
3328
3328
<li><p> If <var> response</var> 's <a for=response>status</a> is 206 and <var> mimeType</var> is an
3329
3329
<a>opaque-response-blocklisted MIME type</a> , then return false.
3330
3330
3331
- <li><p> If <var> nosniff</var> is true and <var> mimeType</var> is an
3332
- <a>opaque-response-blocklisted MIME type</a> or its <a for="MIME type">essence</a> is
3331
+ <li><p> If <var> nosniff</var> is true and <var> mimeType</var> 's <a for="MIME type">essence</a> is
3333
3332
"<code> text/plain</code> ", then return false.
3334
3333
</ol>
3335
3334
@@ -3461,6 +3460,7 @@ run these steps:</p>
3461
3460
3462
3461
<hr>
3463
3462
3463
+ <div algorithm>
3464
3464
<p> To <dfn>obtain a copy of the first 1024 bytes of response</dfn> , given a <a for=/>response</a>
3465
3465
<var> response</var> , run these steps:
3466
3466
@@ -3522,9 +3522,11 @@ run these steps:</p>
3522
3522
3523
3523
<li> Return <var> first1024Bytes</var> .
3524
3524
</ol>
3525
+ </div>
3525
3526
3526
3527
<hr>
3527
3528
3529
+ <div algorithm>
3528
3530
<p> To <dfn>determine if response is JavaScript and not JSON</dfn> given a <a for=/>response</a>
3529
3531
<var> response</var> , run these steps:</p>
3530
3532
@@ -3580,6 +3582,7 @@ run these steps:</p>
3580
3582
3581
3583
<li><p> Return false.
3582
3584
</ol>
3585
+ </div>
3583
3586
3584
3587
3585
3588
<h4 id=orb-mime-type-sets>New MIME type sets</h4>
@@ -3598,12 +3601,14 @@ run these steps:</p>
3598
3601
whose <a for="MIME type">essence</a> is one of:
3599
3602
3600
3603
<ul class=brief>
3604
+ <li> "<code> application/dash+xml</code> "
3601
3605
<li> "<code> application/gzip</code> "
3602
3606
<li> "<code> application/msexcel</code> "
3603
3607
<li> "<code> application/mspowerpoint</code> "
3604
3608
<li> "<code> application/msword</code> "
3605
3609
<li> "<code> application/msword-template</code> "
3606
3610
<li> "<code> application/pdf</code> "
3611
+ <li> "<code> application/vnd.apple.mpegurl</code> "
3607
3612
<li> "<code> application/vnd.ces-quickpoint</code> "
3608
3613
<li> "<code> application/vnd.ces-quicksheet</code> "
3609
3614
<li> "<code> application/vnd.ces-quickword</code> "
@@ -3629,10 +3634,16 @@ whose <a for="MIME type">essence</a> is one of:
3629
3634
<li> "<code> application/x-protobuf</code> "
3630
3635
<li> "<code> application/x-protobuffer</code> "
3631
3636
<li> "<code> application/zip</code> "
3637
+ <li> "<code> audio/aac</code> "
3638
+ <li> "<code> audio/aacp</code> "
3639
+ <li> "<code> audio/mpegurl</code> "
3640
+ <li> "<code> audio/mpeg</code> "
3632
3641
<li> "<code> multipart/byteranges</code> "
3633
3642
<li> "<code> multipart/signed</code> "
3643
+ <li> "<code> multipart/x-mixed-replace</code> "
3634
3644
<li> "<code> text/event-stream</code> "
3635
3645
<li> "<code> text/csv</code> "
3646
+ <li> "<code> text/vtt</code> "
3636
3647
</ul>
3637
3648
3638
3649
@@ -5638,9 +5649,15 @@ these steps:
5638
5649
<a>HTTP-network-or-cache fetch</a> given <var> fetchParams</var> .
5639
5650
5640
5651
<li><p> If <var> request</var> 's <a for=request>response tainting</a> is "<code> opaque</code> ",
5641
- <var> response</var> 's <a for=response>status</a> is not a <a>redirect status</a> , and the
5642
- <a>opaque-response-safelist check</a> given <var> request</var> and <var> response</var> returns
5643
- false, then return a <a>network error</a> .
5652
+ <var> response</var> 's <a for=response>status</a> is not a <a>redirect status</a> , then
5653
+
5654
+ <ol>
5655
+ <li><p> If <var> request</var> 's <a for=request>initiator type</a> is "<code> fetch</code> ",
5656
+ then set <var> internalResponse</var> 's <a for=response >body</a> to null.
5657
+
5658
+ <li><p> Otherwise, if <a>opaque-response-safelist check</a> given <var> request</var> and <var> response</var> returns
5659
+ false, then return a <a>network error</a> .
5660
+ </ol>
5644
5661
5645
5662
<li><p> If <var> request</var> 's <a for=request>response tainting</a> is "<code> cors</code> " and
5646
5663
the <a>CORS check</a> for <var> request</var> and <var> response</var> returns failure, then return
0 commit comments