[webauthn] Pull Request: Fix feature detection.

mikewest has just submitted a new pull request for https://github.com/w3c/webauthn:

== Fix feature detection. ==
The current feature detection code will throw a 'ReferenceError', as 'PublicKeyCredential'
doesn't exist. Adding 'window.' turns it into a property lookup, which fails gracefully.

See https://github.com/w3c/webauthn/pull/808

Received on Monday, 19 February 2018 08:08:17 UTC