Move the CloseEventInit defaults into IDL.

This commit is contained in:
Ms2ger 2015-05-06 12:13:29 +02:00
parent 692fc09041
commit 94b3617629
2 changed files with 5 additions and 12 deletions

View file

@ -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 = "";
};