[pointerevents] Concern about "InvalidPointerId" DOMException.

yuki3 has just created a new issue for https://github.com/w3c/pointerevents:

== Concern about "InvalidPointerId" DOMException. ==
Web IDL defines DOMException with many kinds of names.  See [Web IDL 2.7.1. Error names](https://heycam.github.io/webidl/#idl-DOMException-error-names).

Except for obsolete web standards, all other web standards (AFAIK) are using DOMExceptions defined in Web IDL and do not define DOMExceptions with own names.  I think that it's better to use DOMExceptions already defined in Web IDL instead of defining own "InvalidPointerId", or to define a new DOMException in Web IDL (not in Pointer Events standard) if it's really necessary.

By the way, AFAIK, "InvalidPointerId" is the only instance that doesn't end with the suffix "Error" among all DOMException names.


Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/256 using your GitHub account

Received on Wednesday, 6 June 2018 12:33:49 UTC