mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue