Index: Source/modules/encryptedmedia/MediaKeys.idl |
diff --git a/Source/modules/encryptedmedia/MediaKeys.idl b/Source/modules/encryptedmedia/MediaKeys.idl |
index 93e6168bc6a806cdbde9edeea84d46334acc8baa..05dded46dae0f42b76153e5fd081176ceddaeb7c 100644 |
--- a/Source/modules/encryptedmedia/MediaKeys.idl |
+++ b/Source/modules/encryptedmedia/MediaKeys.idl |
@@ -36,7 +36,8 @@ enum SessionType { |
readonly attribute DOMString keySystem; |
[CallWith=ScriptState] static Promise create(DOMString keySystem); |
- [CallWith=ScriptState] Promise createSession(DOMString initDataType, Uint8Array initData, optional SessionType sessionType = "temporary"); |
+ [CallWith=ScriptState] Promise createSession(DOMString initDataType, ArrayBuffer initData, optional SessionType sessionType = "temporary"); |
+ [CallWith=ScriptState] Promise createSession(DOMString initDataType, ArrayBufferView initData, optional SessionType sessionType = "temporary"); |
static boolean isTypeSupported(DOMString keySystem, optional DOMString contentType = null); |
}; |