Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
PassCalling navigator.credentials.get() without a valid matching interface.
Asserts runNo asserts ran
Failnavigator.credentials.get() aborted with custom reasonpromise_rejects_exactly: function "function() { throw e }" threw object "NotSupportedError: The user agent does not support public key credentials." but we expected it to throw "custom reason"
Error
    at get_stack (https://wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://wpt.live/resources/testharness.js:4564:22)
    at assert (https://wpt.live/resources/testharness.js:4548:19)
    at assert_throws_exactly_impl (https://wpt.live/resources/testharness.js:2383:13)
    at https://wpt.live/resources/testharness.js:884:17
Asserts runNo asserts ran
Failnavigator.credentials.get() aborted with different objectspromise_rejects_exactly: function "function() { throw e }" threw object "NotSupportedError: The user agent does not support public key credentials." but we expected it to throw object "[object Object]"
    at async Test.<anonymous> (https://wpt.live/credential-management/credentialscontainer-get-basics.https.html:71:9)
Asserts runNo asserts ran
Failnavigator.credentials.get() rejects when aborted after the promise creationpromise_rejects_exactly: function "function() { throw e }" threw object "NotSupportedError: The user agent does not support public key credentials." but we expected it to throw object "Error: custom error"
Error
    at get_stack (https://wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://wpt.live/resources/testharness.js:4564:22)
    at assert (https://wpt.live/resources/testharness.js:4548:19)
    at assert_throws_exactly_impl (https://wpt.live/resources/testharness.js:2383:13)
    at https://wpt.live/resources/testharness.js:884:17
Asserts runNo asserts ran