You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
webidl2.js includes a function for parsing exceptions (I even went so far as to type these as IDLException in my typed branch); however, upon closer inspection, I don't believe WebIDL allows exceptions to be declared. See here:
An exception is a type of object that represents an error and which can be thrown or treated as a first class value by implementations. Web IDL does not allow exceptions to be defined, but instead has a number of pre-defined exceptions that specifications can reference and throw in their definition of operations, attributes, and so on.
I also don't see any reference to "exception" in the grammar, so I think this code should be removed (originally introduced here).
The text was updated successfully, but these errors were encountered:
webidl2.js includes a function for parsing exceptions (I even went so far as to type these as
IDLException
in my typed branch); however, upon closer inspection, I don't believe WebIDL allows exceptions to be declared. See here:I also don't see any reference to "exception" in the grammar, so I think this code should be removed (originally introduced here).
The text was updated successfully, but these errors were encountered: