| Index: Source/core/events/UIEvent.idl
|
| diff --git a/Source/core/events/UIEvent.idl b/Source/core/events/UIEvent.idl
|
| index 039d20c76671b7e9608fb3244971abc94ce9a961..e8bbf79880c5ac3266fae1ef1415df79cf2ef8ac 100644
|
| --- a/Source/core/events/UIEvent.idl
|
| +++ b/Source/core/events/UIEvent.idl
|
| @@ -17,16 +17,20 @@
|
| * Boston, MA 02110-1301, USA.
|
| */
|
|
|
| +// https://w3c.github.io/uievents/#interface-UIEvent
|
| +
|
| [
|
| Constructor(DOMString type, optional UIEventInit eventInitDict)
|
| ] interface UIEvent : Event {
|
| readonly attribute Window? view;
|
| readonly attribute long detail;
|
|
|
| - void initUIEvent([Default=Undefined] optional DOMString type,
|
| - [Default=Undefined] optional boolean canBubble,
|
| + // https://w3c.github.io/uievents/#idl-interface-UIEvent-initializers
|
| + // TODO(philipj): None of the initUIEvent() arguments should be optional.
|
| + void initUIEvent([Default=Undefined] optional DOMString type,
|
| + [Default=Undefined] optional boolean bubbles,
|
| [Default=Undefined] optional boolean cancelable,
|
| - [Default=Undefined] optional Window view,
|
| + [Default=Undefined] optional Window? view,
|
| [Default=Undefined] optional long detail);
|
|
|
| // Non-standard
|
|
|