mirror of
https://github.com/servo/servo.git
synced 2025-07-25 00:00:20 +01:00
Correct the initial value of wasClean in CloseEvent.
This commit is contained in:
parent
94b3617629
commit
6498240340
2 changed files with 1 additions and 6 deletions
|
@ -11,7 +11,7 @@ interface CloseEvent : Event {
|
||||||
};
|
};
|
||||||
|
|
||||||
dictionary CloseEventInit : EventInit {
|
dictionary CloseEventInit : EventInit {
|
||||||
boolean wasClean = true;
|
boolean wasClean = false;
|
||||||
unsigned short code = 0;
|
unsigned short code = 0;
|
||||||
DOMString reason = "";
|
DOMString reason = "";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
[constructor.html]
|
|
||||||
type: testharness
|
|
||||||
[new CloseEvent() without dictionary]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue