Index: modules/encryptedmedia/MediaEncryptedEvent.idl |
diff --git a/modules/encryptedmedia/MediaKeyNeededEvent.idl b/modules/encryptedmedia/MediaEncryptedEvent.idl |
similarity index 81% |
rename from modules/encryptedmedia/MediaKeyNeededEvent.idl |
rename to modules/encryptedmedia/MediaEncryptedEvent.idl |
index c99a180b5e19e0f54eb9b594bb8312c74201b30c..ec07de9bc377db8b8b30730350cc690769338ff9 100644 |
--- a/modules/encryptedmedia/MediaKeyNeededEvent.idl |
+++ b/modules/encryptedmedia/MediaEncryptedEvent.idl |
@@ -23,11 +23,13 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// https://w3c.github.io/encrypted-media/#mediaencryptedevent |
+ |
[ |
- EventConstructor, |
- RuntimeEnabled=EncryptedMedia |
-] interface MediaKeyNeededEvent : Event { |
- readonly attribute DOMString contentType; |
- readonly attribute Uint8Array initData; |
+ Constructor(DOMString type, optional MediaEncryptedEventInit eventInitDict), |
+ RuntimeEnabled=EncryptedMedia, |
+] interface MediaEncryptedEvent : Event { |
+ readonly attribute DOMString initDataType; |
+ readonly attribute ArrayBuffer? initData; |
}; |