Harness status: OK
Found 4 tests
Result | Test Name | Message |
---|---|---|
Pass | Calling navigator.credentials.get() without a valid matching interface. | Asserts runNo asserts ran |
Fail | navigator.credentials.get() aborted with custom reason | promise_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 |
Fail | navigator.credentials.get() aborted with different objects | promise_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 |
Fail | navigator.credentials.get() rejects when aborted after the promise creation | promise_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 |