mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Migrate to new constructor operation syntax
This commit is contained in:
parent
9706cd497d
commit
9ce82ea1ae
103 changed files with 659 additions and 413 deletions
|
@ -6,8 +6,9 @@
|
|||
* https://dom.spec.whatwg.org/#event
|
||||
*/
|
||||
|
||||
[Constructor(DOMString type, optional EventInit eventInitDict = {}), Exposed=(Window,Worker)]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface Event {
|
||||
[Throws] constructor(DOMString type, optional EventInit eventInitDict = {});
|
||||
[Pure]
|
||||
readonly attribute DOMString type;
|
||||
readonly attribute EventTarget? target;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue