[webauthn] Merged Pull Request: Fix feature detection.

selfissued has just merged mikewest's pull request 808 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.


<!--
    This comment and the below content is programatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.s3.amazonaws.com/mikewest/webauthn/pull/808.html" title="Last updated on Feb 19, 2018, 8:08 AM GMT (1fe138a)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/webauthn/808/05335d4...mikewest:1fe138a.html" title="Last updated on Feb 19, 2018, 8:08 AM GMT (1fe138a)">Diff</a>

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

Received on Wednesday, 21 February 2018 18:29:17 UTC