[web-nfc] Inconsistency on failure to parse URLs and absolute URLs (#623)

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

== Inconsistency on failure to parse URLs and absolute URLs ==
https://w3c.github.io/web-nfc/#mapping-url-to-ndef says:
> * Let url be the result of parsing record's data.
> * If url is failure, throw a TypeError and abort these steps.

https://w3c.github.io/web-nfc/#mapping-absolute-url-to-ndef says:
> * If the result of parsing record's data is failure, throw a SyntaxError and abort these steps.

They should both throw the same type of error.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 21 September 2021 10:35:13 UTC