mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add optional annotations for initEvent method of Event interface
This commit is contained in:
parent
cc8a9fa928
commit
fd2341bc78
3 changed files with 1 additions and 7 deletions
|
@ -35,7 +35,7 @@ interface Event {
|
|||
[Constant]
|
||||
readonly attribute DOMTimeStamp timeStamp;
|
||||
|
||||
void initEvent(DOMString type, boolean bubbles, boolean cancelable);
|
||||
void initEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false);
|
||||
};
|
||||
|
||||
dictionary EventInit {
|
||||
|
|
|
@ -3,9 +3,6 @@
|
|||
[Calling initEvent must unset the stop propagation flag.]
|
||||
expected: FAIL
|
||||
|
||||
[Tests initEvent's default parameter values.]
|
||||
expected: FAIL
|
||||
|
||||
[Properties of initEvent(type, true, true)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -878,9 +878,6 @@
|
|||
[Event interface: attribute composed]
|
||||
expected: FAIL
|
||||
|
||||
[Event interface: operation initEvent(DOMString, boolean, boolean)]
|
||||
expected: FAIL
|
||||
|
||||
[Event interface: document.createEvent("Event") must inherit property "srcElement" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue