Changeset 264490 in webkit
- Timestamp:
- Jul 16, 2020 6:07:27 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 32 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r264487 r264490 1 2020-07-16 Jiewen Tan <jiewen_tan@apple.com> 2 3 [WebAuthn] Add a console message: "User gesture is required to use the platform authenticator." 4 https://bugs.webkit.org/show_bug.cgi?id=214380 5 <rdar://problem/65300587> 6 7 Reviewed by Devin Rousso. 8 9 * http/wpt/credential-management/credentialscontainer-store-basics.https-expected.txt: 10 * http/wpt/webauthn/ctap-hid-failure.https-expected.txt: 11 * http/wpt/webauthn/ctap-hid-success.https-expected.txt: 12 * http/wpt/webauthn/ctap-nfc-failure.https-expected.txt: 13 * http/wpt/webauthn/idl.https-expected.txt: 14 * http/wpt/webauthn/public-key-credential-create-failure-hid-silent.https-expected.txt: 15 * http/wpt/webauthn/public-key-credential-create-failure-hid.https-expected.txt: 16 * http/wpt/webauthn/public-key-credential-create-failure-local-silent.https-expected.txt: 17 * http/wpt/webauthn/public-key-credential-create-failure-local.https-expected.txt: 18 * http/wpt/webauthn/public-key-credential-create-failure-nfc.https-expected.txt: 19 * http/wpt/webauthn/public-key-credential-create-failure-u2f-silent.https-expected.txt: 20 * http/wpt/webauthn/public-key-credential-create-failure-u2f.https-expected.txt: 21 * http/wpt/webauthn/public-key-credential-create-failure.https-expected.txt: 22 * http/wpt/webauthn/public-key-credential-create-success-hid.https-expected.txt: 23 * http/wpt/webauthn/public-key-credential-create-success-local.https-expected.txt: 24 * http/wpt/webauthn/public-key-credential-create-success-nfc.https-expected.txt: 25 * http/wpt/webauthn/public-key-credential-create-success-u2f.https-expected.txt: 26 * http/wpt/webauthn/public-key-credential-get-failure-hid-silent.https-expected.txt: 27 * http/wpt/webauthn/public-key-credential-get-failure-hid.https-expected.txt: 28 * http/wpt/webauthn/public-key-credential-get-failure-local-silent.https-expected.txt: 29 * http/wpt/webauthn/public-key-credential-get-failure-local.https-expected.txt: 30 * http/wpt/webauthn/public-key-credential-get-failure-nfc.https-expected.txt: 31 * http/wpt/webauthn/public-key-credential-get-failure-u2f-silent.https-expected.txt: 32 * http/wpt/webauthn/public-key-credential-get-failure-u2f.https-expected.txt: 33 * http/wpt/webauthn/public-key-credential-get-failure.https-expected.txt: 34 * http/wpt/webauthn/public-key-credential-get-success-hid.https-expected.txt: 35 * http/wpt/webauthn/public-key-credential-get-success-local.https-expected.txt: 36 * http/wpt/webauthn/public-key-credential-get-success-nfc.https-expected.txt: 37 * http/wpt/webauthn/public-key-credential-get-success-u2f.https-expected.txt: 38 1 39 2020-07-16 Hector Lopez <hector_i_lopez@apple.com> 2 40 -
trunk/LayoutTests/http/wpt/credential-management/credentialscontainer-store-basics.https-expected.txt
r227589 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 1 2 2 3 PASS navigator.credentials.store(). -
trunk/LayoutTests/http/wpt/webauthn/ctap-hid-failure.https-expected.txt
r238246 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 6 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 7 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 8 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 1 9 2 10 PASS CTAP HID with init sub stage data not sent error in a mock hid authenticator. -
trunk/LayoutTests/http/wpt/webauthn/ctap-hid-success.https-expected.txt
r238246 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 1 6 2 7 PASS CTAP HID with keep alive message in a mock hid authenticator. -
trunk/LayoutTests/http/wpt/webauthn/ctap-nfc-failure.https-expected.txt
r249059 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 1 3 2 4 PASS CTAP NFC with empty apdu response in a mock nfc authenticator. -
trunk/LayoutTests/http/wpt/webauthn/idl.https-expected.txt
r262254 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 1 3 Description 2 4 -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-create-failure-hid-silent.https-expected.txt
r245262 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 1 6 2 7 PASS PublicKeyCredential's [[create]] with malicious payload in a mock hid authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-create-failure-hid.https-expected.txt
r245262 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 6 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 7 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 1 8 2 9 PASS PublicKeyCredential's [[create]] with timeout in a mock hid authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-create-failure-local-silent.https-expected.txt
r258293 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 6 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 1 7 2 8 PASS PublicKeyCredential's [[create]] with unsupported public key credential parameters in a mock local authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-create-failure-local.https-expected.txt
r259680 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 6 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 7 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 8 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 9 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 1 10 2 11 PASS PublicKeyCredential's [[create]] with unsupported public key credential parameters in a mock local authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-create-failure-nfc.https-expected.txt
r252668 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 6 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 7 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 1 8 2 9 PASS PublicKeyCredential's [[create]] with timeout in a mock nfc authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-create-failure-u2f-silent.https-expected.txt
r239752 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 6 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 7 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 1 8 2 9 PASS PublicKeyCredential's [[create]] with malformed APDU payload in a mock hid authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-create-failure-u2f.https-expected.txt
r239752 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 6 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 7 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 1 8 2 9 PASS PublicKeyCredential's [[create]] with malformed APDU payload in a mock hid authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-create-failure.https-expected.txt
r245043 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 6 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 7 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 8 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 9 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 1 10 2 11 PASS PublicKeyCredential's [[create]] with timeout -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-create-success-hid.https-expected.txt
r250659 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 6 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 7 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 8 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 9 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 10 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 11 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 12 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 13 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 1 14 2 15 PASS PublicKeyCredential's [[create]] with minimum options in a mock hid authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-create-success-local.https-expected.txt
r258293 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 6 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 7 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 8 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 1 9 2 10 PASS PublicKeyCredential's [[create]] with minimum options in a mock local authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-create-success-nfc.https-expected.txt
r252668 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 6 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 7 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 1 8 2 9 PASS PublicKeyCredential's [[create]] with minimum options in a mock nfc authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-create-success-u2f.https-expected.txt
r245638 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 6 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 7 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 1 8 2 9 PASS PublicKeyCredential's [[create]] with minimum options in a mock u2f authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-get-failure-hid-silent.https-expected.txt
r245500 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 1 6 2 7 PASS PublicKeyCredential's [[get]] with malicious payload in a mock hid authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-get-failure-hid.https-expected.txt
r254356 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 6 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 7 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 1 8 2 9 PASS PublicKeyCredential's [[get]] with timeout in a mock hid authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-get-failure-local-silent.https-expected.txt
r258293 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 1 4 2 5 PASS PublicKeyCredential's [[get]] with no matched credentials in a mock local authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-get-failure-local.https-expected.txt
r236842 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 1 5 2 6 PASS PublicKeyCredential's [[get]] with no matched credentials in a mock local authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-get-failure-nfc.https-expected.txt
r249059 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 1 2 2 3 PASS PublicKeyCredential's [[get]] with timeout in a mock nfc authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-get-failure-u2f-silent.https-expected.txt
r239752 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 1 4 2 5 PASS PublicKeyCredential's [[get]] with malformed sign response in a mock hid authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-get-failure-u2f.https-expected.txt
r243193 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 1 6 2 7 PASS PublicKeyCredential's [[get]] with malformed sign response in a mock hid authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-get-failure.https-expected.txt
r245043 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events. 6 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 7 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 8 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 9 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 1 10 2 11 PASS PublicKeyCredential's [[get]] with timeout -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-get-success-hid.https-expected.txt
r256001 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 6 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 7 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 8 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 9 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 1 10 2 11 PASS PublicKeyCredential's [[get]] with minimum options in a mock hid authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-get-success-local.https-expected.txt
r236481 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 1 3 2 4 PASS PublicKeyCredential's [[get]] with minimum options in a mock local authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-get-success-nfc.https-expected.txt
r249059 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 1 3 2 4 PASS PublicKeyCredential's [[get]] with minimum options in a mock nfc authenticator. -
trunk/LayoutTests/http/wpt/webauthn/public-key-credential-get-success-u2f.https-expected.txt
r245500 r264490 1 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 2 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 3 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 4 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 5 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 6 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 7 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 8 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 9 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 10 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 11 CONSOLE MESSAGE: User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events. 1 12 2 13 PASS PublicKeyCredential's [[get]] with minimum options in a mock hid authenticator. -
trunk/Source/WebKit/ChangeLog
r264489 r264490 1 2020-07-16 Jiewen Tan <jiewen_tan@apple.com> 2 3 [WebAuthn] Add a console message: "User gesture is required to use the platform authenticator." 4 https://bugs.webkit.org/show_bug.cgi?id=214380 5 <rdar://problem/65300587> 6 7 Reviewed by Devin Rousso. 8 9 Covered by existing tests. 10 11 * WebProcess/WebAuthentication/WebAuthenticatorCoordinator.cpp: 12 (WebKit::WebAuthenticatorCoordinator::makeCredential): 13 (WebKit::WebAuthenticatorCoordinator::getAssertion): 14 1 15 2020-07-16 Per Arne Vollan <pvollan@apple.com> 2 16 -
trunk/Source/WebKit/WebProcess/WebAuthentication/WebAuthenticatorCoordinator.cpp
r260983 r264490 33 33 #include "WebFrame.h" 34 34 #include "WebPage.h" 35 #include <JavaScriptCore/ConsoleTypes.h> 35 36 #include <WebCore/AuthenticatorResponseData.h> 36 37 #include <WebCore/PublicKeyCredentialCreationOptions.h> … … 52 53 if (!webFrame) 53 54 return; 54 m_webPage.sendWithAsyncReply(Messages::WebAuthenticatorCoordinatorProxy::MakeCredential(webFrame->frameID(), webFrame->info(), hash, options, UserGestureIndicator::processingUserGesture()), WTFMove(handler)); 55 56 auto processingUserGesture = UserGestureIndicator::processingUserGesture(); 57 if (!processingUserGesture) 58 m_webPage.addConsoleMessage(webFrame->frameID(), MessageSource::Other, MessageLevel::Warning, "User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.create' within user activated events."_s); 59 60 m_webPage.sendWithAsyncReply(Messages::WebAuthenticatorCoordinatorProxy::MakeCredential(webFrame->frameID(), webFrame->info(), hash, options, processingUserGesture), WTFMove(handler)); 55 61 } 56 62 … … 60 66 if (!webFrame) 61 67 return; 62 m_webPage.sendWithAsyncReply(Messages::WebAuthenticatorCoordinatorProxy::GetAssertion(webFrame->frameID(), webFrame->info(), hash, options, UserGestureIndicator::processingUserGesture()), WTFMove(handler)); 68 69 auto processingUserGesture = UserGestureIndicator::processingUserGesture(); 70 if (!processingUserGesture) 71 m_webPage.addConsoleMessage(webFrame->frameID(), MessageSource::Other, MessageLevel::Warning, "User gesture is not detected. To use the platform authenticator, call 'navigator.credentials.get' within user activated events."_s); 72 73 m_webPage.sendWithAsyncReply(Messages::WebAuthenticatorCoordinatorProxy::GetAssertion(webFrame->frameID(), webFrame->info(), hash, options, processingUserGesture), WTFMove(handler)); 63 74 } 64 75
Note: See TracChangeset
for help on using the changeset viewer.