mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Decoupled DOMErrorName from legacy error codes
This commit is contained in:
parent
c08ef4cb23
commit
23f15c94ef
2 changed files with 6 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue