@@ -1098,7 +1098,7 @@ spec:SRI; urlPrefix: https://w3c.github.io/webappsec-subresource-integrity
10981098
10991099  4.  Return |result|.
11001100
1101-   <h4 id="should -report-hash" algorithm dfn export>Should  report hash? </h4> 
1101+   <h4 id="potentially -report-hash" algorithm dfn export>Potentially  report hash</h4> 
11021102
11031103  Given a [=response=]  |response|, a [=/request=]  |request|, a [=directive=]  |directive| and a
11041104  [=content security policy object=]  |policy|, run the following steps:
@@ -1640,13 +1640,12 @@ this algorithm returns normally if compilation is allowed, and throws a
16401640    };
16411641  </pre> 
16421642
1643-   When a [= `report-hash`=]  directive is present , <dfn export>csp hash report</dfn>  may be generated
1644-   and  sent out to a reporting endpoint associated with the <a for="/">policy</a> .
1643+   When a directive has a  `report-hash` value , <dfn export>csp hash report</dfn>  may be generated and 
1644+   sent out to a reporting endpoint associated with the <a for="/">policy</a> .
16451645
16461646  <p> <a>csp hash reports</a>  have the <a>report type</a>  "csp-hash".</p> 
16471647
1648-   <p> <a>csp violation reports</a>  are not <a>visible to 
1649-   <code>ReportingObserver</code>s</a> .
1648+   <p> <a>csp hash reports</a>  are not <a>visible to <code>ReportingObserver</code>s</a> .
16501649
16511650  <p> A <dfn>csp hash report body</dfn>  is a [=struct=]  with the following fields:
16521651      <dfn for="csp hash report body">documentURL</dfn> ,
@@ -3691,17 +3690,6 @@ this algorithm returns normally if compilation is allowed, and throws a
36913690    directive-value = <a grammar>token</a> 
36923691  </pre> 
36933692
3694-   <h4 id="directive-report-hash">`report-hash`</h4> 
3695- 
3696-   The <dfn export>`report-hash`</dfn>  directive signifies that script hash reports
3697-   should be sent to <a lt="endpoint">reporting endpoints</a>  [[REPORTING]] . The
3698-   directive's name and value are described by the following ABNF:
3699- 
3700-   <pre> 
3701-     directive-name  = "report-hash"
3702-     directive-value = <a grammar>token</a> 
3703-   </pre> 
3704- 
37053693  <h3 id="directives-elsewhere"> 
37063694    Directives Defined in Other Documents 
37073695  </h3> 
@@ -3796,7 +3784,7 @@ this algorithm returns normally if compilation is allowed, and throws a
37963784          |response|, |request|, |directive|'s <a for="directive">value</a> ,
37973785          and |policy|, is "`Does Not Match`", return "`Blocked`".
37983786
3799-       5. Call [=should  report hash? =]  with |response|, |request|, |directive| and |policy|.
3787+       5. Call [=potentially  report hash=]  with |response|, |request|, |directive| and |policy|.
38003788  2.  Return "`Allowed`".
38013789
38023790  <h4 id="matching-urls">URL Matching</h4> 
0 commit comments