mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
implemented missed constructor for DOMException; fixed the tests expectations
This commit is contained in:
parent
34fda66dfa
commit
220a471b14
5 changed files with 95 additions and 520 deletions
|
@ -7,7 +7,11 @@
|
|||
* https://heycam.github.io/webidl/#es-DOMException-constructor-object
|
||||
*/
|
||||
|
||||
[ExceptionClass, Exposed=(Window,Worker)]
|
||||
[
|
||||
ExceptionClass,
|
||||
Exposed=(Window,Worker),
|
||||
Constructor(optional DOMString message="", optional DOMString name="Error")
|
||||
]
|
||||
interface DOMException {
|
||||
const unsigned short INDEX_SIZE_ERR = 1;
|
||||
const unsigned short DOMSTRING_SIZE_ERR = 2; // historical
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue