File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1643,10 +1643,10 @@ this algorithm returns normally if compilation is allowed, and throws a
16431643    };
16441644  </pre> 
16451645
1646-   When a directive that impacts [=script-like=]  [=request/destinations=]  has a `report-hash` value ,
1647-   and a [=/request=]  with a [=script-like=]   [=request/destination=]  is fetched, a  <dfn export>csp 
1648-   hash report</dfn>  will be generated and sent out to a reporting endpoint associated with the  <a 
1649-   for="/"> policy</a> .
1646+   When a directive that impacts [=script-like=]  [=request/destinations=]  has a `report-sha256` ,
1647+   `report-sha384` or `report-sha512` value,  and a [=/request=]  with a [=script-like=] 
1648+   [=request/destination=]  is fetched, a  <dfn export>csp  hash report</dfn>  will be generated and
1649+   sent out to a reporting endpoint associated with the  <a  for="/">policy</a> .
16501650
16511651  <p> <a>csp hash reports</a>  have the <a>report type</a>  "csp-hash".</p> 
16521652
@@ -1681,7 +1681,8 @@ Content-Type: application/reports+json
16811681    "document_url": "https://example.com/",
16821682    "subresource_url": "https://example.com/main.js",
16831683    "hash": "sha256-badbeef",
1684-     "type": "subresource"
1684+     "type": "subresource",
1685+     "destination": "script"
16851686  }
16861687}]
16871688```
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments