Index: core/events/UIEvent.idl |
diff --git a/core/events/UIEvent.idl b/core/events/UIEvent.idl |
index bfa6da92568bf7fe1c74a4b7174ae65de3e027d6..df8ec347ddcd25615ea8415f8818619925a32ec1 100644 |
--- a/core/events/UIEvent.idl |
+++ b/core/events/UIEvent.idl |
@@ -18,9 +18,9 @@ |
*/ |
[ |
- ConstructorTemplate=Event |
+ EventConstructor, |
] interface UIEvent : Event { |
- [InitializedByEventConstructor] readonly attribute Window view; |
+ [InitializedByEventConstructor] readonly attribute Window? view; |
[InitializedByEventConstructor] readonly attribute long detail; |
void initUIEvent([Default=Undefined] optional DOMString type, |