@@ -3232,9 +3232,9 @@ Cross-Origin-Resource-Policy = %s"same-origin" / %s"same-site" / %s"cross-or
3232
3232
</code></pre>
3233
3233
3234
3234
<p> To perform a <dfn export>cross-origin resource policy check</dfn> , given an <a for=url>origin</a>
3235
- <var> origin</var> , an <a for=/>environment settings object</a> <var> settingsObject</var> , a
3236
- <a for=/>response</a> <var> response</var> , and an optional boolean <var> forNavigation </var> , run
3237
- these steps:
3235
+ <var> origin</var> , an <a for=/>environment settings object</a> <var> settingsObject</var> , a string
3236
+ <var> destination </var> , a <a for=/>response</a> <var> response</var> , and an optional boolean
3237
+ <var> forNavigation </var> , run these steps:
3238
3238
3239
3239
<ol>
3240
3240
<li><p> Set <var> forNavigation</var> to false if it is not given.
@@ -3254,14 +3254,14 @@ these steps:
3254
3254
<var> embedderPolicy</var> 's <a for="embedder policy">report only value</a> , <var> response</var> ,
3255
3255
and <var> forNavigation</var> returns <b> blocked</b> , then
3256
3256
<a>queue a cross-origin embedder policy CORP violation report</a> with <var> response</var> ,
3257
- <var> settingsObject</var> , and true.
3257
+ <var> settingsObject</var> , <var> destination </var> , and true.
3258
3258
3259
3259
<li><p> If the <a>cross-origin resource policy internal check</a> with <var> origin</var> ,
3260
3260
<var> embedderPolicy</var> 's <a for="embedder policy">value</a> , <var> response</var> , and
3261
3261
<var> forNavigation</var> returns <b> allowed</b> , then return <b> allowed</b> .
3262
3262
3263
3263
<li><p> <a>Queue a cross-origin embedder policy CORP violation report</a> with <var> response</var> ,
3264
- <var> settingsObject</var> , and false.
3264
+ <var> settingsObject</var> , <var> destination </var> , and false.
3265
3265
3266
3266
<li><p> Return <b> blocked</b> .
3267
3267
</ol>
@@ -3341,7 +3341,8 @@ these steps:
3341
3341
3342
3342
<p> To <dfn>queue a cross-origin embedder policy CORP violation report</dfn> , given a
3343
3343
<a for=/>response</a> <var> response</var> , an <a for=/>environment settings object</a>
3344
- <var> settingsObject</var> , and a boolean <var> reportOnly</var> , run these steps:
3344
+ <var> settingsObject</var> , a string <var> destination</var> , and a boolean <var> reportOnly</var> ,
3345
+ run these steps:
3345
3346
3346
3347
<ol>
3347
3348
<li><p> Let <var> endpoint</var> be <var> settingsObject</var> 's
@@ -3350,10 +3351,13 @@ these steps:
3350
3351
<var> settingsObject</var> 's <a for="environment settings object">embedder policy</a>' s
3351
3352
<a for="embedder policy">reporting endpoint</a> otherwise.
3352
3353
3353
- <li><p> Let <var> serialized url </var> be the result of
3354
+ <li><p> Let <var> serializedURL </var> be the result of
3354
3355
<a lt="serialize a response URL for reporting">serializing a response URL for reporting</a> with
3355
3356
<var> response</var> .
3356
3357
3358
+ <li><p> Let <var> disposition</var> be "<code> reporting</code> " if <var> reportOnly</var> is true,
3359
+ and "<code> enforce</code> " otherwise.
3360
+
3357
3361
<li>
3358
3362
<p> Let <var> body</var> be a new object containing the following properties:
3359
3363
@@ -3368,8 +3372,16 @@ these steps:
3368
3372
<td> "<code> corp</code> "
3369
3373
</tr>
3370
3374
<tr>
3371
- <td> "<code> blocked-url</code> "
3372
- <td><var> serialized url</var>
3375
+ <td> "<code> blockedURL</code> "
3376
+ <td><var> serializedURL</var>
3377
+ </tr>
3378
+ <tr>
3379
+ <td> "<code> destination</code> "
3380
+ <td><var> destination</var>
3381
+ </tr>
3382
+ <tr>
3383
+ <td> "<code> disposition</code> "
3384
+ <td><var> disposition</var>
3373
3385
</tr>
3374
3386
</tbody>
3375
3387
</table>
0 commit comments