[web-nfc] Pull Request: User permission is required before checking NFC adapter/setting state

beaufortfrancois has just submitted a new pull request for https://github.com/w3c/web-nfc:

== User permission is required before checking NFC adapter/setting state ==
In order to better protect users against fingerprinting, user permission must be required before checking NFC adapter/setting state. This means web pages can't have access to the information whether NFC adapter is available or user has disabled NFC preference without asking user for permission to use Web NFC. Without this change, this is currently possible in the spec. Note that Chromium implementation already checks for user permission first before push and scan operations.

FIX #527

See https://github.com/w3c/web-nfc/pull/530

Received on Friday, 10 January 2020 04:35:51 UTC