In section 5.3 of the spec, it says that an IllegalValueError should be thrown under certain conditions. However I couldn't find a definition of an IllegalValueError and it seems to be not a known DOMException. At least according to this list: https://heycam.github.io/webidl/#idl-DOMException-error-names