webidl
webidl copied to clipboard
"an exception was thrown" is not consistently used
@domfarolino pointed out https://webidl.spec.whatwg.org/#an-exception-was-thrown to me, but this doesn't seem to be consistently adopted by this document. It's also unclear to me if this should be in Infra as that also has guidance.
seems related to https://infra.spec.whatwg.org/#algorithm-control-flow it should probably explicitly link to https://tc39.es/ecma262/#sec-throw-an-exception
also just found https://webidl.spec.whatwg.org/#dfn-throw