- From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
- Date: Mon, 26 Sep 2016 23:58:46 +0000
- To: public-web-bluetooth-log@w3.org
jyasskin has just submitted a new pull request for https://github.com/WebBluetoothCG/web-bluetooth: == Throw a TypeError instead of a SyntaxError for bad UUIDs. == https://heycam.github.io/webidl/#idl-exceptions says that SyntaxError is "for use only by the ECMAScript parser". We use TypeError for bad enums, so it makes sense for malformatted UUID strings too. Preview at https://api.csswg.org/bikeshed/?url=https://raw.githubusercontent.com/jyasskin/web-bluetooth-1/syntax-to-type-error/index.bs See https://github.com/WebBluetoothCG/web-bluetooth/pull/298
Received on Monday, 26 September 2016 23:58:54 UTC