This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Algorithm normalization rules say that one should raise InvalidAlgorithmError, but it doesn't appear to be defined anywhere.
Changeset 168615685036 Since all errors are now asynchronous, our current approach is to "terminate this algorithm with an error" which will cause the Promise to be rejected with null.