subresource-integrity

edit

WPT coverage of the tests of subresource-integrity at the revision c8fa86fb13d4. The tests link to their results in the browsers on wpt.fyi. The tentative tests (experimental features), the reftests and the crash tests are listed separately from the stable tests.

GroupPassingTestsDisabledPass rate
Stable57071%
Tentative318017%
Reftests000–
Crash tests000–
All825032%

Failure reasons

The tests that do not pass (failing or disabled), by kind of reason. A test with several reasons counts once per kind.

  • TEST BUG: 16
  • NOT IMPLEMENTED: 1

Stable tests

TestResultSubtestsKindDescription
integrity-policy/blocked-url-redirect.https.htmlTimeout0 / 1TEST BUGthe Integrity-Policy-Report-Only header of resources/report-only-frame.html has no endpoints, and "report violation" only generates a report for each endpoint of the policy (https://w3c.github.io/webappsec-subresource-integrity/#report-violation), so the ReportingObserver of the frame never gets an integrity-violation report and the test waits for it until it times out (same issue as blocked-url-service-worker.https.html). With an endpoint, the blockedURL of the reports is the URL of the request, not the target of its cross-origin redirect, as the test expects
integrity-policy/blocked-url-service-worker.https.htmlTimeout0 / 1TEST BUGthe Integrity-Policy-Report-Only header of resources/report-only-frame.html has no endpoints, and "report violation" only generates a report for each endpoint of the policy (https://w3c.github.io/webappsec-subresource-integrity/#report-violation), so the ReportingObserver of the frame never gets an integrity-violation report and the test waits for it until it times out
integrity-policy/parsing.htmlPass22 / 22
integrity-policy/preload-script-with-integrity.https.htmlPass1 / 1
integrity-policy/script.https.htmlPass24 / 24
integrity-policy/style.https.htmlPass24 / 24
subresource-integrity.htmlPass60 / 60

Tentative tests

TestResultSubtestsKindDescription
integrity-policy/tentative/signature.https.htmlPass1 / 1
signatures/tentative/accept-signature.parser-inserted.htmlFail0 / 4TEST BUGthe signatures of the responses have the tag="sri" parameter of an earlier draft: https://wicg.github.io/signature-based-sri/#verify-signature-assertions only verifies the signatures whose tag is ed25519-integrity (the others are ignored), so the responses whose integrity metadata requires the key are blocked, and the invalid signatures are not checked
signatures/tentative/accept-signature.window.jsFail0 / 7TEST BUGthe signatures of the responses have the tag="sri" parameter of an earlier draft: https://wicg.github.io/signature-based-sri/#verify-signature-assertions only verifies the signatures whose tag is ed25519-integrity (the others are ignored), so the responses whose integrity metadata requires the key are blocked, and the invalid signatures are not checked
signatures/tentative/authority.https.window.jsFail8 / 12TEST BUGthe signatures of the responses have the tag="sri" parameter of an earlier draft: https://wicg.github.io/signature-based-sri/#verify-signature-assertions only verifies the signatures whose tag is ed25519-integrity (the others are ignored), so the responses whose integrity metadata requires the key are blocked, and the invalid signatures are not checked
signatures/tentative/client-initiated.cross-origin.window.jsFail12 / 14TEST BUGthe signatures of the responses have the tag="sri" parameter of an earlier draft: https://wicg.github.io/signature-based-sri/#verify-signature-assertions only verifies the signatures whose tag is ed25519-integrity (the others are ignored), so the responses whose integrity metadata requires the key are blocked, and the invalid signatures are not checked
signatures/tentative/client-initiated.same-origin.window.jsFail7 / 10TEST BUGthe signatures of the responses have the tag="sri" parameter of an earlier draft: https://wicg.github.io/signature-based-sri/#verify-signature-assertions only verifies the signatures whose tag is ed25519-integrity (the others are ignored), so the responses whose integrity metadata requires the key are blocked, and the invalid signatures are not checked
signatures/tentative/csp.window.jsFail12 / 14TEST BUGthe signatures of the responses have the tag="sri" parameter of an earlier draft: https://wicg.github.io/signature-based-sri/#verify-signature-assertions only verifies the signatures whose tag is ed25519-integrity (the others are ignored), so the responses whose integrity metadata requires the key are blocked, and the invalid signatures are not checked
signatures/tentative/header-component.window.jsFail12 / 20TEST BUGthe signatures of the responses have the tag="sri" parameter of an earlier draft: https://wicg.github.io/signature-based-sri/#verify-signature-assertions only verifies the signatures whose tag is ed25519-integrity (the others are ignored), so the responses whose integrity metadata requires the key are blocked, and the invalid signatures are not checked
signatures/tentative/inline.htmlFail15 / 21NOT IMPLEMENTEDthe signature attribute of the inline scripts (an earlier draft of Signature-based SRI, not in https://wicg.github.io/signature-based-sri/)
signatures/tentative/path.window.jsFail8 / 12TEST BUGthe signatures of the responses have the tag="sri" parameter of an earlier draft: https://wicg.github.io/signature-based-sri/#verify-signature-assertions only verifies the signatures whose tag is ed25519-integrity (the others are ignored), so the responses whose integrity metadata requires the key are blocked, and the invalid signatures are not checked
signatures/tentative/query.window.jsFail10 / 15TEST BUGthe signatures of the responses have the tag="sri" parameter of an earlier draft: https://wicg.github.io/signature-based-sri/#verify-signature-assertions only verifies the signatures whose tag is ed25519-integrity (the others are ignored), so the responses whose integrity metadata requires the key are blocked, and the invalid signatures are not checked
signatures/tentative/scheme.window.jsFail4 / 6TEST BUGthe signatures of the responses have the tag="sri" parameter of an earlier draft: https://wicg.github.io/signature-based-sri/#verify-signature-assertions only verifies the signatures whose tag is ed25519-integrity (the others are ignored), so the responses whose integrity metadata requires the key are blocked, and the invalid signatures are not checked
signatures/tentative/script.window.jsFail9 / 14TEST BUGthe signatures of the responses have the tag="sri" parameter of an earlier draft: https://wicg.github.io/signature-based-sri/#verify-signature-assertions only verifies the signatures whose tag is ed25519-integrity (the others are ignored), so the responses whose integrity metadata requires the key are blocked, and the invalid signatures are not checked
signatures/tentative/server-initiated.window.jsFail5 / 10TEST BUGthe signatures of the responses have the tag="sri" parameter of an earlier draft: https://wicg.github.io/signature-based-sri/#verify-signature-assertions only verifies the signatures whose tag is ed25519-integrity (the others are ignored), so the responses whose integrity metadata requires the key are blocked, and the invalid signatures are not checked
signatures/tentative/status.window.jsFail12 / 18TEST BUGthe signatures of the responses have the tag="sri" parameter of an earlier draft: https://wicg.github.io/signature-based-sri/#verify-signature-assertions only verifies the signatures whose tag is ed25519-integrity (the others are ignored), so the responses whose integrity metadata requires the key are blocked, and the invalid signatures are not checked
signatures/tentative/unknown-parameter.window.jsFail8 / 12TEST BUGthe signatures of the responses have the tag="sri" parameter of an earlier draft: https://wicg.github.io/signature-based-sri/#verify-signature-assertions only verifies the signatures whose tag is ed25519-integrity (the others are ignored), so the responses whose integrity metadata requires the key are blocked, and the invalid signatures are not checked
unencoded-digest/tentative/fetch.any.jsPass126 / 126
unencoded-digest/tentative/script.window.jsPass42 / 42