- From: J.C. Jones via GitHub <sysbot+gh@w3.org>
- Date: Wed, 11 Oct 2017 20:01:43 +0000
- To: public-webauthn@w3.org
The following commits were just pushed by jcjones to https://github.com/w3c/webauthn: * Fix #618 - Make PublicKeyCredential.isPlatformAuthenticatorAvailable static The example in the spec shows static usage of isPlatformAuthenticatorAvailable, but isPlatformAuthenticatorAvailable is defined [Unscopable], which is a regular operation which is defined as being not static. I think the static method of using this is what we want, actually. Declaring this as a non-static method on PublicKeyCredential means users need to obtain a concrete PublicKeyCredential object on which to call isPlatformAuthenticatorAvailable(). This leads to a situation where you have to first complete a call to navigator.credentials.create() in order to call isPlatformAuthenticatorAvailable(). by J.C. Jones https://github.com/w3c/webauthn/commit/d0a010cd6a23b96044ae0708dd8bb33bff66dc78 * Merge pull request #619 from jcjones/618-isPlatformAuthenticatorAvailable Fix #618 - Make PublicKeyCredential.isPlatformAuthenticatorAvailable static by J.C. Jones https://github.com/w3c/webauthn/commit/b0a205bc0010df59ab4657f83429b33b932cf552
Received on Wednesday, 11 October 2017 20:01:31 UTC