| |
| PASS navigator.credentials.create() with no argument. |
| PASS navigator.credentials.create() with empty argument. |
| FAIL navigator.credentials.create() with valid PasswordCredentialData promise_test: Unhandled rejection with value: object "NotSupportedError: Only PublicKeyCredential is supported." |
| FAIL navigator.credentials.create() with valid HTMLFormElement promise_test: Unhandled rejection with value: object "NotSupportedError: Only PublicKeyCredential is supported." |
| FAIL navigator.credentials.create() with bogus password data assert_throws: function "function () { throw e }" threw object "NotSupportedError: Only PublicKeyCredential is supported." ("NotSupportedError") expected object "TypeError" ("TypeError") |
| FAIL navigator.credentials.create() with valid FederatedCredentialData promise_test: Unhandled rejection with value: object "NotSupportedError: Only PublicKeyCredential is supported." |
| FAIL navigator.credentials.create() with bogus federated data assert_throws: function "function () { throw e }" threw object "NotSupportedError: Only PublicKeyCredential is supported." ("NotSupportedError") expected object "TypeError" ("TypeError") |
| PASS navigator.credentials.create() with bogus publicKey data |
| FAIL navigator.credentials.create() returns PublicKeyCredential promise_test: Unhandled rejection with value: object "TypeError: Member PublicKeyCredentialCreationOptions.pubKeyCredParams is required and must be an instance of sequence" |
| PASS navigator.credentials.create() with both PasswordCredentialData and FederatedCredentialData |
| FAIL navigator.credentials.create() with bogus password and federated data assert_throws: function "function () { throw e }" threw object "NotSupportedError: Only PublicKeyCredential is supported." ("NotSupportedError") expected object "TypeError" ("TypeError") |
| PASS navigator.credentials.create() with bogus federated and publicKey data |
| PASS navigator.credentials.create() with bogus password and publicKey data |
| PASS navigator.credentials.create() with bogus password, federated, and publicKey data |
| PASS navigator.credentials.create() with bogus data |
| |