This is a testharness.js-based test.
[FAIL] navigator.credentials.get() with unknown allowCredentials.
promise_rejects_dom: function "function() { throw e }" threw object "TypeError: Failed to execute 'get' on 'CredentialsContainer': Failed to read the 'publicKey' property from 'CredentialRequestOptions': Failed to read the 'allowCredentials' property from 'PublicKeyCredentialRequestOptions': Failed to read the 'type' property from 'PublicKeyCredentialDescriptor': The provided value 'not-yet-supported-by-browser' is not a valid enum value of type PublicKeyCredentialType." that is not a DOMException NotAllowedError: property "code" is equal to undefined, expected 0
[FAIL] navigator.credentials.get() with mixing allowCredentials with first unknown type.
promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'get' on 'CredentialsContainer': Failed to read the 'publicKey' property from 'CredentialRequestOptions': Failed to read the 'allowCredentials' property from 'PublicKeyCredentialRequestOptions': Failed to read the 'type' property from 'PublicKeyCredentialDescriptor': The provided value 'not-yet-supported-by-browser' is not a valid enum value of type PublicKeyCredentialType."
[FAIL] navigator.credentials.get() with mixing allowCredentials with last unknown type.
promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'get' on 'CredentialsContainer': Failed to read the 'publicKey' property from 'CredentialRequestOptions': Failed to read the 'allowCredentials' property from 'PublicKeyCredentialRequestOptions': Failed to read the 'type' property from 'PublicKeyCredentialDescriptor': The provided value 'not-yet-supported-by-browser' is not a valid enum value of type PublicKeyCredentialType."
Harness: the test ran to completion.