lighthouse 13.6.0-dev.20261117 → 13.6.0-dev.20261118

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58,8 +58,11 @@ class OriginIsolation extends Audit {
58
58
  })
59
59
  .flatMap(h => h.value);
60
60
 
61
- // Sanitize the header value.
62
- coopHeaders = coopHeaders.map(v => v.toLowerCase().replace(/\s/g, ''));
61
+ // COOP is a Structured Field item: the policy token can be followed by parameters such as
62
+ // `report-to`, which don't change the policy (e.g. `same-origin; report-to="coop"`).
63
+ // https://html.spec.whatwg.org/multipage/browsers.html#obtain-coop
64
+ // Sanitize the header value and ignore any parameters.
65
+ coopHeaders = coopHeaders.map(v => v.split(';')[0].toLowerCase().replace(/\s/g, ''));
63
66
 
64
67
  return coopHeaders;
65
68
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lighthouse",
3
3
  "type": "module",
4
- "version": "13.6.0-dev.20261117",
4
+ "version": "13.6.0-dev.20261118",
5
5
  "description": "Automated auditing, performance metrics, and best practices for the web.",
6
6
  "main": "./core/index.js",
7
7
  "bin": {