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
This proposal does not say anything about DOMError, however, your polyfill returns true for it. Unlike DOMException, it's not a Error subclass. So, should Error.isError(new DOMError(1)) be true?
The text was updated successfully, but these errors were encountered:
I was under the impression that it's not possible to actually produce a DOMError in modern browsers (short of manually constructing it), and that it's deprecated in webidl. Safari and Firefox don't seem to implement it at all, altho i see Chrome does.
This proposal does not say anything about
DOMError
, however, your polyfill returnstrue
for it. UnlikeDOMException
, it's not aError
subclass. So, shouldError.isError(new DOMError(1))
betrue
?The text was updated successfully, but these errors were encountered: