Index: core/html/MediaKeyEvent.idl |
diff --git a/core/html/MediaKeyEvent.idl b/core/html/MediaKeyEvent.idl |
index c1e08c239a34c9d4266282bd6cf1229c00bd65c7..ec80808d74529ecfb822df60892a2f70884432a2 100644 |
--- a/core/html/MediaKeyEvent.idl |
+++ b/core/html/MediaKeyEvent.idl |
@@ -24,15 +24,15 @@ |
*/ |
[ |
+ EventConstructor, |
RuntimeEnabled=PrefixedEncryptedMedia, |
- ConstructorTemplate=Event |
] interface MediaKeyEvent : Event { |
[InitializedByEventConstructor] readonly attribute DOMString keySystem; |
[InitializedByEventConstructor] readonly attribute DOMString sessionId; |
[InitializedByEventConstructor] readonly attribute Uint8Array initData; |
[InitializedByEventConstructor] readonly attribute Uint8Array message; |
[InitializedByEventConstructor] readonly attribute DOMString defaultURL; |
- [InitializedByEventConstructor] readonly attribute MediaKeyError errorCode; |
+ [InitializedByEventConstructor] readonly attribute MediaKeyError? errorCode; |
[InitializedByEventConstructor] readonly attribute unsigned short systemCode; |
}; |