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 hereEach 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.html 0 / 1 passingChrome 1 / 10 failedExempt
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
- ¶
TIMEOUTblockedURL is the request URL, not the URL a cross-origin redirect led to
Test timed out
blocked-url-service-worker.https.html 0 / 1 passingChrome 0 / 10 failedExempt
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
- ¶
TIMEOUTblockedURL is the request URL, not the URL of the opaque response the service worker provided
Test timed out
parsing.html 22 / 22 passingChrome 22 / 220 failedClean
/subresource-integrity/integrity-policy/parsing.html?type=enforce OK 11 / 11
11 passing subtests
- Ensure that test is working with a valid destination
- Ensure that test is working with a valid destination and source
- Ensure that an empty header does not block
- Ensure that a destination header with a token value does not parse
- Ensure that a destination header with an inner list of strings does not parse
- Ensure that a destination header with an inner list of single-quote strings does not parse
- Ensure that a destination header with an unclosed inner list does not parse
- Ensure that a destination header with a malformed inner list does not parse
- Ensure that an unknown destination does not enforce a policy
- Ensure that an unknown source causes the policy to not be enforced
- 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
- Ensure that test is working with a valid destination
- Ensure that test is working with a valid destination and source
- Ensure that an empty header does not block
- Ensure that a destination header with a token value does not parse
- Ensure that a destination header with an inner list of strings does not parse
- Ensure that a destination header with an inner list of single-quote strings does not parse
- Ensure that a destination header with an unclosed inner list does not parse
- Ensure that a destination header with a malformed inner list does not parse
- Ensure that an unknown destination does not enforce a policy
- Ensure that an unknown source causes the policy to not be enforced
- Ensure that an invalid source causes the policy to not be enforced
preload-script-with-integrity.https.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Script with integrity in initial HTML should not trigger Integrity-Policy reports (tests preload scanner)
script.https.html 24 / 24 passingChrome 24 / 240 failedClean
/subresource-integrity/integrity-policy/script.https.html?reporting=false OK 12 / 12
12 passing subtests
- Ensure that a script without integrity did not run
- Ensure that a script with unknown integrity algorithm did not run
- Ensure that a script without integrity algorithm runs and gets reported in report-only mode
- Ensure that a no-cors script gets blocked
- Ensure that ReportingObserver gets called without endpoints
- Ensure that a script with integrity runs
- Ensure that a data URI script with no integrity runs
- Ensure that a no-CORS data URI script with no integrity runs
- Ensure that a blob URL script with no integrity runs
- Ensure that a no-CORS blob URL script with no integrity runs
- Ensure that an about:blank URL script with no integrity does not trigger a report
- 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
- Ensure that a script without integrity did not run
- Ensure that a script with unknown integrity algorithm did not run
- Ensure that a script without integrity algorithm runs and gets reported in report-only mode
- Ensure that a no-cors script gets blocked
- Ensure that ReportingObserver gets called without endpoints
- Ensure that a script with integrity runs
- Ensure that a data URI script with no integrity runs
- Ensure that a no-CORS data URI script with no integrity runs
- Ensure that a blob URL script with no integrity runs
- Ensure that a no-CORS blob URL script with no integrity runs
- Ensure that an about:blank URL script with no integrity does not trigger a report
- Ensure that a no-CORS about:blank URL script with no integrity does not trigger a report
style.https.html 24 / 24 passingChrome 15 / 240 failedClean
/subresource-integrity/integrity-policy/style.https.html?reporting=false OK 12 / 12
12 passing subtests
- Ensure that a style without integrity did not run
- Ensure that a style with unknown integrity algorithm did not run
- Ensure that a style without integrity algorithm runs and gets reported in report-only mode
- Ensure that a no-cors style gets blocked
- Ensure that ReportingObserver gets called without endpoints
- Ensure that a style with integrity runs
- Ensure that a data URI style with no integrity runs
- Ensure that a no-CORS data URI style with no integrity runs
- Ensure that a blob URL style with no integrity runs
- Ensure that a no-CORS blob URL style with no integrity runs
- Ensure that an about:blank URL style with no integrity does not trigger a report
- 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
- Ensure that a style without integrity did not run
- Ensure that a style with unknown integrity algorithm did not run
- Ensure that a style without integrity algorithm runs and gets reported in report-only mode
- Ensure that a no-cors style gets blocked
- Ensure that ReportingObserver gets called without endpoints
- Ensure that a style with integrity runs
- Ensure that a data URI style with no integrity runs
- Ensure that a no-CORS data URI style with no integrity runs
- Ensure that a blob URL style with no integrity runs
- Ensure that a no-CORS blob URL style with no integrity runs
- Ensure that an about:blank URL style with no integrity does not trigger a report
- Ensure that a no-CORS about:blank URL style with no integrity does not trigger a report