Decoupled DOMErrorName from legacy error codes

This commit is contained in:
Alan Jeffrey 2019-07-18 16:54:29 -05:00
parent c08ef4cb23
commit 23f15c94ef
2 changed files with 6 additions and 10 deletions

View file

@ -38,10 +38,6 @@ interface DOMException {
const unsigned short TIMEOUT_ERR = 23;
const unsigned short INVALID_NODE_TYPE_ERR = 24;
const unsigned short DATA_CLONE_ERR = 25;
// Only the first 25 errors are given codes in
// https://heycam.github.io/webidl/#idl-DOMException
const unsigned short NOT_READABLE_ERR = 26;
const unsigned short OPERATION_ERR = 27;
// Error code as u16
readonly attribute unsigned short code;