mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
Move the CloseEventInit defaults into IDL.
This commit is contained in:
parent
692fc09041
commit
94b3617629
2 changed files with 5 additions and 12 deletions
|
@ -11,7 +11,7 @@ interface CloseEvent : Event {
|
|||
};
|
||||
|
||||
dictionary CloseEventInit : EventInit {
|
||||
boolean wasClean;
|
||||
unsigned short code;
|
||||
DOMString reason;
|
||||
boolean wasClean = true;
|
||||
unsigned short code = 0;
|
||||
DOMString reason = "";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue