chromium/third_party/blink/web_tests/external/wpt/webauthn/createcredential-pubkeycredparams.https-expected.txt

This is a testharness.js-based test.
[FAIL] Bad pubKeyCredParams: first param has bad type ("something-else")
  promise_rejects_dom: Expected  bad parameters to fail function "function() { throw e }" threw object "TypeError: Failed to execute 'create' on 'CredentialsContainer': Failed to read the 'publicKey' property from 'CredentialCreationOptions': Failed to read the 'pubKeyCredParams' property from 'PublicKeyCredentialCreationOptions': Failed to read the 'type' property from 'PublicKeyCredentialParameters': The provided value 'something-else' is not a valid enum value of type PublicKeyCredentialType." that is not a DOMException NotSupportedError: property "code" is equal to undefined, expected 9
[FAIL] Bad pubKeyCredParams: first param has bad type ("")
  promise_rejects_dom: Expected  bad parameters to fail function "function() { throw e }" threw object "TypeError: Failed to execute 'create' on 'CredentialsContainer': Failed to read the 'publicKey' property from 'CredentialCreationOptions': Failed to read the 'pubKeyCredParams' property from 'PublicKeyCredentialCreationOptions': Failed to read the 'type' property from 'PublicKeyCredentialParameters': The provided value '' is not a valid enum value of type PublicKeyCredentialType." that is not a DOMException NotSupportedError: property "code" is equal to undefined, expected 9
[FAIL] Bad pubKeyCredParams: first param has bad type (null)
  promise_rejects_dom: Expected  bad parameters to fail function "function() { throw e }" threw object "TypeError: Failed to execute 'create' on 'CredentialsContainer': Failed to read the 'publicKey' property from 'CredentialCreationOptions': Failed to read the 'pubKeyCredParams' property from 'PublicKeyCredentialCreationOptions': Failed to read the 'type' property from 'PublicKeyCredentialParameters': The provided value 'null' is not a valid enum value of type PublicKeyCredentialType." that is not a DOMException NotSupportedError: property "code" is equal to undefined, expected 9
[FAIL] Bad pubKeyCredParams: first param has bad type (empty object)
  promise_rejects_dom: Expected  bad parameters to fail function "function() { throw e }" threw object "TypeError: Failed to execute 'create' on 'CredentialsContainer': Failed to read the 'publicKey' property from 'CredentialCreationOptions': Failed to read the 'pubKeyCredParams' property from 'PublicKeyCredentialCreationOptions': Failed to read the 'type' property from 'PublicKeyCredentialParameters': The provided value '[object Object]' is not a valid enum value of type PublicKeyCredentialType." that is not a DOMException NotSupportedError: property "code" is equal to undefined, expected 9
Harness: the test ran to completion.