W3C home > Mailing lists > Public > public-webauthn@w3.org > October 2017

[webauthn] new commits pushed by jcjones

From: J.C. Jones via GitHub <sysbot+gh@w3.org>
Date: Wed, 11 Oct 2017 20:01:43 +0000
To: public-webauthn@w3.org
Message-ID: <push-b0a205bc0010df59ab4657f83429b33b932cf552-1507752087-sysbot+gh@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
  by J.C. Jones

* Merge pull request #619 from jcjones/618-isPlatformAuthenticatorAvailable

Fix #618 - Make PublicKeyCredential.isPlatformAuthenticatorAvailable static
  by J.C. Jones
Received on Wednesday, 11 October 2017 20:01:31 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 07:26:28 UTC