- From: Zhiqiang Zhang via GitHub <sysbot+gh@w3.org>
- Date: Tue, 22 Dec 2015 15:40:42 +0000
- To: public-web-nfc@w3.org
zqzhang has just created a new issue for https://github.com/w3c/web-nfc: == Wrong use of `SyntaxError` == The 7th step of the push a message algorithm at https://w3c.github.io/web-nfc/#dfn-push-a-message says > If the type of the message parameter is not DOMString or ArrayBuffer, and it is not an instance of NFCPushMessage, reject promise with "SyntaxError", and abort these steps. Since here checks parameter's type, it shall reject promise with `"TypeError"`. Also per the WebIDL spec, here shall be `"TypeError"`. Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/99 using your GitHub account
Received on Tuesday, 22 December 2015 15:40:44 UTC