[WebAuthN] Import a JS CBOR coder
[WebKit-https.git] / LayoutTests / http / wpt / webauthn / public-key-credential-get-failure-local.https.html
index 7f4dd96..f305a43 100644 (file)
@@ -6,17 +6,17 @@
 <script>
     // Default mock configuration. Tests need to override if they need different configuration.
     if (window.testRunner)
-        testRunner.setWebAuthenticationMockConfiguration({ local: { acceptAuthentication: false, acceptAttestation: false, privateKeyBase64: "" } });
+        testRunner.setWebAuthenticationMockConfiguration({ local: { acceptAuthentication: false, acceptAttestation: false } });
 
     promise_test(t => {
         const options = {
             publicKey: {
                 challenge: asciiToUint8Array("123456"),
                 allowCredentials: [
-                    { type: "public-key", id: Base64URL.parse(testCredentialIdBase64url), transports: ["usb"] },
-                    { type: "public-key", id: Base64URL.parse(testCredentialIdBase64url), transports: ["nfc"] },
-                    { type: "public-key", id: Base64URL.parse(testCredentialIdBase64url), transports: ["ble"] },
-                    { type: "public-key", id: Base64URL.parse(testCredentialIdBase64url), transports: ["internal"] }
+                    { type: "public-key", id: Base64URL.parse(testCredentialIdBase64), transports: ["usb"] },
+                    { type: "public-key", id: Base64URL.parse(testCredentialIdBase64), transports: ["nfc"] },
+                    { type: "public-key", id: Base64URL.parse(testCredentialIdBase64), transports: ["ble"] },
+                    { type: "public-key", id: Base64URL.parse(testCredentialIdBase64), transports: ["internal"] }
                 ]
             }
         };