credential-management

edit

WPT coverage of the tests of credential-management 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
Stable716044%
Tentative000–
Reftests000–
Crash tests000–
All716044%

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: 6
  • NOT IMPLEMENTED: 4

Stable tests

TestResultSubtestsKindDescription
credentialscontainer-create-basics.https.htmlFail13 / 17TEST BUGPasswordCredentialData.origin and FederatedCredentialInit.origin are required members (https://w3c.github.io/webappsec-credential-management/#dictdef-passwordcredentialdata): the test creates the credential without origin, whose conversion throws a TypeError (Chromium does not require it); "rejects when aborted after the promise creation" calls create({ signal }) without a type of credential, which is rejected with a NotSupportedError at once; the test expects the promise to stay pending until the signal is aborted
credentialscontainer-frame-basics.https.htmlTimeout0 / 1TEST BUGthe data: document posts its message while it is parsed, before the load event of the iframe, and the test only listens for the message after the load event: the message is missed (the test also times out in Edge)
credentialscontainer-get-basics.https.htmlFail3 / 6TEST BUG, NOT IMPLEMENTEDget({ password: true, federated }) expects a NotAllowedError for the lack of user activation, which the algorithm does not require (https://w3c.github.io/webappsec-credential-management/#algorithm-request): the request resolves with null (no stored credential); and get({ signal }) without a type of credential is rejected with a NotSupportedError at once (step 7), while the test expects the promise to stay pending until the signal is aborted; the otp member (WebOTP, OTPCredential) of CredentialRequestOptions: it is ignored, so get() with a password and otp requests the passwords instead of rejecting the combination with a NotSupportedError
credentialscontainer-prevent-silent-access.https.htmlPass1 / 1
federatedcredential-framed-get.sub.https.htmlPass6 / 6
historical.https.htmlPass1 / 1
idlharness.https.window.jsFail79 / 96TEST BUGthe test creates the PasswordCredential and FederatedCredential objects without origin, a required member of their dictionaries (https://w3c.github.io/webappsec-credential-management/#dictdef-passwordcredentialdata): the constructors throw, so the objects are not tested
non-fully-active.https.htmlPass1 / 1
origin-bound-opaque-origin-top-level-allow-same-origin.https.htmlPass3 / 3
origin-bound-opaque-origin-top-level.https.htmlFail1 / 3TEST BUGPasswordCredentialData.origin and FederatedCredentialInit.origin are required members (https://w3c.github.io/webappsec-credential-management/#dictdef-passwordcredentialdata): the test creates the credential without origin, whose conversion throws a TypeError (Chromium does not require it), before the origin is checked
origin-bound-opaque-origin.https.htmlFail4 / 9TEST BUGPasswordCredentialData.origin and FederatedCredentialInit.origin are required members (https://w3c.github.io/webappsec-credential-management/#dictdef-passwordcredentialdata): the test creates the credential without origin, whose conversion throws a TypeError (Chromium does not require it), before the origin is checked
otpcredential-get-basics.https.htmlFail2 / 6NOT IMPLEMENTEDthe WebOTP API (OTPCredential, https://wicg.github.io/web-otp/); the tests also need the mock SMS receiver of Chromium (otpcredential-helper.js throws "Unsupported browser")
otpcredential-iframe.https.htmlFail0 / 3NOT IMPLEMENTEDthe WebOTP API (OTPCredential, https://wicg.github.io/web-otp/); the tests also need the mock SMS receiver of Chromium (otpcredential-helper.js throws "Unsupported browser")
otpcredential-store.https.htmlFail0 / 1NOT IMPLEMENTEDthe WebOTP API (OTPCredential, https://wicg.github.io/web-otp/); the tests also need the mock SMS receiver of Chromium (otpcredential-helper.js throws "Unsupported browser")
passwordcredential-framed-get.sub.https.htmlPass6 / 6
require_securecontext.htmlPass1 / 1