[web-nfc] If invalid URL pattern is provided to watch() method, reject promise with SyntaxError

alexshalamov has just created a new issue for https://github.com/w3c/web-nfc:

== If invalid URL pattern is provided to watch() method, reject promise with SyntaxError ==
At the moment, if invalid URL pattern is passed to watch() method, API provides no indication about this error condition. It would be good to inform developer immediately, otherwise 'dispatching NFC content' would not work without valid reason.

Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/122 using your GitHub account

Received on Wednesday, 24 May 2017 14:37:28 UTC