Index: Source/core/events/CompositionEvent.idl |
diff --git a/Source/core/events/CompositionEvent.idl b/Source/core/events/CompositionEvent.idl |
index 6577e746125270cbf05c437b63c04895c9ded1a3..309c7f38974ae8ff9c2ea6fe5e50c523ace08e04 100644 |
--- a/Source/core/events/CompositionEvent.idl |
+++ b/Source/core/events/CompositionEvent.idl |
@@ -23,18 +23,19 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-// http://www.w3.org/TR/DOM-Level-3-Events/#interface-CompositionEvent |
+// https://w3c.github.io/uievents/#interface-CompositionEvent |
[ |
Constructor(DOMString type, optional CompositionEventInit eventInitDict), |
] interface CompositionEvent : UIEvent { |
- |
readonly attribute DOMString data; |
- void initCompositionEvent([Default=Undefined] optional DOMString typeArg, |
- [Default=Undefined] optional boolean canBubbleArg, |
- [Default=Undefined] optional boolean cancelableArg, |
- [Default=Undefined] optional Window viewArg, |
- [Default=Undefined] optional DOMString dataArg); |
- |
+ // https://w3c.github.io/uievents/#idl-interface-CompositionEvent-initializers |
+ // TODO(philipj): None of the initCompositionEvent() arguments should be |
+ // optional, and the spec has a locale argument after data. |
+ void initCompositionEvent([Default=Undefined] optional DOMString type, |
+ [Default=Undefined] optional boolean bubbles, |
+ [Default=Undefined] optional boolean cancelable, |
+ [Default=Undefined] optional Window? view, |
+ [Default=Undefined] optional DOMString data); |
}; |