mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #22480 - cdeler:implement-DOMException-constructor, r=jdm
Implement dom exception constructor The constructor method was implemented I have a question: should I edit `./mach test-wpt` expectations? --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #22412 - [x] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22480) <!-- Reviewable:end -->
This commit is contained in:
commit
6d308c3577
158 changed files with 553 additions and 522 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