w3c / orientation-sensor

Orientation Sensor
https://www.w3.org/TR/orientation-sensor/
Other
12 stars 21 forks source link

Stop calling TypeError a DOMException #64

Closed rakuco closed 5 years ago

rakuco commented 5 years ago

Per https://heycam.github.io/webidl/#exceptiondef-typeerror, a TypeError is not part a DOMException; it is a simple exception corresponding to its ECMAScript counterpart of the same name.

Fixes #63


Preview | Diff

rakuco commented 5 years ago

Some specs just refer to TypeError as <code>TypeError</code> rather than linking to its Web IDL definition; I didn't find anything wrong with what we're currently doing though.