- From: Alexander Shalamov via GitHub <sysbot+gh@w3.org>
- Date: Mon, 24 Apr 2017 09:28:11 +0000
- To: public-web-nfc@w3.org
alexshalamov has just created a new issue for https://github.com/w3c/web-nfc: == Throw TypeError when invalid type is provided to nfc.push function == SyntaxError should be used when there is a parsing error, invalid syntax, tokens. https://tc39.github.io/ecma262/#sec-native-error-types-used-in-this-standard-syntaxerror https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError In cases when invlid type is provided to the function, TypeError should be thrown https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError https://tc39.github.io/ecma262/#sec-native-error-types-used-in-this-standard-typeerror Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/110 using your GitHub account
Received on Monday, 24 April 2017 09:28:18 UTC