53.1subresource-integrity/integrity-policy/

71 / 73 WPT subtests passing

Failed
0
Timed out
2
Not run
0
Test files
6
Blocking files
0

Chrome 63 / 73 WPT subtests passing on the same files, none blocking

Tests

6 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
blocked-url-redirect.https.html0 / 1 passingChrome 1 / 10 failedExempt
Standing
Exempt runner status TIMEOUT
Chrome
Clean 1 / 1 WPT subtests passing runner status OK

Exempt from the 0.1 gate: Crane follows the browser majority

the frame's Integrity-Policy-Report-Only names no endpoints, so no integrity-violation report is generated and its ReportingObserver waits, as in Firefox and Safari; only Chrome notifies observers without an endpoint

Crane matches
Firefox, Safari
Chrome
wpt.fyi run 4786307730243584: 1/1 (Chrome 157, 2358bd4835)
Firefox
wpt.fyi run 4877168468033536: 0/1 TIMEOUT (Firefox 160, 2358bd4835)
Safari
wpt.fyi run 6479119966273536: 0/1 TIMEOUT (Safari 27.2, 2358bd4835)
Ruling
golden rule 2, no newer spec: the browser majority and the spec (SRI's report violation steps 11-12 queue a report once per endpoint, unchanged since 2025-07)
Revisit
when Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves

/subresource-integrity/integrity-policy/blocked-url-redirect.https.html TIMEOUT 0 / 1

  1. TIMEOUTblockedURL is the request URL, not the URL a cross-origin redirect led to
    Test timed out
blocked-url-service-worker.https.html0 / 1 passingChrome 0 / 10 failedExempt
Standing
Exempt runner status TIMEOUT
Chrome
Exempt 0 / 1 WPT subtests passing runner status OK

Exempt from the 0.1 gate: Crane follows the browser majority

the report-only policy names no endpoints, so no report is generated and the observer waits, as in Firefox and Safari; Chrome reports, with the service worker's response URL, and fails the assertion

Crane matches
Firefox, Safari
Chrome
wpt.fyi run 4786307730243584: 0/1 (Chrome 157, 2358bd4835)
Firefox
wpt.fyi run 4877168468033536: 0/1 TIMEOUT (Firefox 160, 2358bd4835)
Safari
wpt.fyi run 6479119966273536: 0/1 TIMEOUT (Safari 27.2, 2358bd4835)
Ruling
golden rule 2, no newer spec: the browser majority and the spec (SRI's report violation steps 11-12)
Revisit
when Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves

/subresource-integrity/integrity-policy/blocked-url-service-worker.https.html TIMEOUT 0 / 1

  1. TIMEOUTblockedURL is the request URL, not the URL of the opaque response the service worker provided
    Test timed out
parsing.html22 / 22 passingChrome 22 / 220 failedClean
Standing
Clean runner status OK
Chrome
Clean 22 / 22 WPT subtests passing runner status OK

/subresource-integrity/integrity-policy/parsing.html?type=enforce OK 11 / 11

11 passing subtests
  1. Ensure that test is working with a valid destination
  2. Ensure that test is working with a valid destination and source
  3. Ensure that an empty header does not block
  4. Ensure that a destination header with a token value does not parse
  5. Ensure that a destination header with an inner list of strings does not parse
  6. Ensure that a destination header with an inner list of single-quote strings does not parse
  7. Ensure that a destination header with an unclosed inner list does not parse
  8. Ensure that a destination header with a malformed inner list does not parse
  9. Ensure that an unknown destination does not enforce a policy
  10. Ensure that an unknown source causes the policy to not be enforced
  11. Ensure that an invalid source causes the policy to not be enforced

/subresource-integrity/integrity-policy/parsing.html?type=report OK 11 / 11

11 passing subtests
  1. Ensure that test is working with a valid destination
  2. Ensure that test is working with a valid destination and source
  3. Ensure that an empty header does not block
  4. Ensure that a destination header with a token value does not parse
  5. Ensure that a destination header with an inner list of strings does not parse
  6. Ensure that a destination header with an inner list of single-quote strings does not parse
  7. Ensure that a destination header with an unclosed inner list does not parse
  8. Ensure that a destination header with a malformed inner list does not parse
  9. Ensure that an unknown destination does not enforce a policy
  10. Ensure that an unknown source causes the policy to not be enforced
  11. Ensure that an invalid source causes the policy to not be enforced
preload-script-with-integrity.https.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Script with integrity in initial HTML should not trigger Integrity-Policy reports (tests preload scanner)
script.https.html24 / 24 passingChrome 24 / 240 failedClean
Standing
Clean runner status OK
Chrome
Clean 24 / 24 WPT subtests passing runner status OK

/subresource-integrity/integrity-policy/script.https.html?reporting=false OK 12 / 12

12 passing subtests
  1. Ensure that a script without integrity did not run
  2. Ensure that a script with unknown integrity algorithm did not run
  3. Ensure that a script without integrity algorithm runs and gets reported in report-only mode
  4. Ensure that a no-cors script gets blocked
  5. Ensure that ReportingObserver gets called without endpoints
  6. Ensure that a script with integrity runs
  7. Ensure that a data URI script with no integrity runs
  8. Ensure that a no-CORS data URI script with no integrity runs
  9. Ensure that a blob URL script with no integrity runs
  10. Ensure that a no-CORS blob URL script with no integrity runs
  11. Ensure that an about:blank URL script with no integrity does not trigger a report
  12. Ensure that a no-CORS about:blank URL script with no integrity does not trigger a report

/subresource-integrity/integrity-policy/script.https.html?reporting=true OK 12 / 12

12 passing subtests
  1. Ensure that a script without integrity did not run
  2. Ensure that a script with unknown integrity algorithm did not run
  3. Ensure that a script without integrity algorithm runs and gets reported in report-only mode
  4. Ensure that a no-cors script gets blocked
  5. Ensure that ReportingObserver gets called without endpoints
  6. Ensure that a script with integrity runs
  7. Ensure that a data URI script with no integrity runs
  8. Ensure that a no-CORS data URI script with no integrity runs
  9. Ensure that a blob URL script with no integrity runs
  10. Ensure that a no-CORS blob URL script with no integrity runs
  11. Ensure that an about:blank URL script with no integrity does not trigger a report
  12. Ensure that a no-CORS about:blank URL script with no integrity does not trigger a report
style.https.html24 / 24 passingChrome 15 / 240 failedClean
Standing
Clean runner status OK
Chrome
With failures 15 / 24 WPT subtests passing runner status OK

/subresource-integrity/integrity-policy/style.https.html?reporting=false OK 12 / 12

12 passing subtests
  1. Ensure that a style without integrity did not run
  2. Ensure that a style with unknown integrity algorithm did not run
  3. Ensure that a style without integrity algorithm runs and gets reported in report-only mode
  4. Ensure that a no-cors style gets blocked
  5. Ensure that ReportingObserver gets called without endpoints
  6. Ensure that a style with integrity runs
  7. Ensure that a data URI style with no integrity runs
  8. Ensure that a no-CORS data URI style with no integrity runs
  9. Ensure that a blob URL style with no integrity runs
  10. Ensure that a no-CORS blob URL style with no integrity runs
  11. Ensure that an about:blank URL style with no integrity does not trigger a report
  12. Ensure that a no-CORS about:blank URL style with no integrity does not trigger a report

/subresource-integrity/integrity-policy/style.https.html?reporting=true OK 12 / 12

12 passing subtests
  1. Ensure that a style without integrity did not run
  2. Ensure that a style with unknown integrity algorithm did not run
  3. Ensure that a style without integrity algorithm runs and gets reported in report-only mode
  4. Ensure that a no-cors style gets blocked
  5. Ensure that ReportingObserver gets called without endpoints
  6. Ensure that a style with integrity runs
  7. Ensure that a data URI style with no integrity runs
  8. Ensure that a no-CORS data URI style with no integrity runs
  9. Ensure that a blob URL style with no integrity runs
  10. Ensure that a no-CORS blob URL style with no integrity runs
  11. Ensure that an about:blank URL style with no integrity does not trigger a report
  12. Ensure that a no-CORS about:blank URL style with no integrity does not trigger a report

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.