--- a/encrypted-media/encrypted-media.html Mon Aug 11 16:02:03 2014 -0700
+++ b/encrypted-media/encrypted-media.html Mon Aug 11 16:08:48 2014 -0700
@@ -337,7 +337,7 @@
partial interface <dfn id="dom-htmlmediaelement">HTMLMediaElement</dfn> {
// Encrypted Media
readonly attribute <a href="#dom-mediakeys">MediaKeys</a>? <a href="#dom-attrmediakeys">mediaKeys</a>;
- Promise<any> <a href="#dom-setmediakeys">setMediaKeys</a>(<a href="#dom-mediakeys">MediaKeys</a>? mediaKeys);
+ Promise<void> <a href="#dom-setmediakeys">setMediaKeys</a>(<a href="#dom-mediakeys">MediaKeys</a>? mediaKeys);
attribute <a href="http://www.w3.org/TR/html5/webappapis.html#eventhandler">EventHandler</a> <a href="#dom-onneedkey">onneedkey</a>;
@@ -351,7 +351,7 @@
Promise<<a href="#dom-mediakeysession">MediaKeySession</a>> <a href="#dom-createsession">createSession</a>(DOMString <a href="#initialization-data-type">initDataType</a>, (ArrayBuffer or ArrayBufferView) initData, optional <a href="#dom-sessiontype">SessionType</a> sessionType = "<a href="#dom-sessiontypetemporary">temporary</a>");
Promise<<a href="#dom-mediakeysession">MediaKeySession</a>> <a href="#dom-loadsession">loadSession</a>(DOMString sessionId);
- Promise<any> <a href="#dom-setservercertificate">setServerCertificate</a>((ArrayBuffer or ArrayBufferView) serverCertificate);
+ Promise<void> <a href="#dom-setservercertificate">setServerCertificate</a>((ArrayBuffer or ArrayBufferView) serverCertificate);
static Promise<<a href="#dom-mediakeys">MediaKeys</a>> <a href="#dom-create">create</a>(DOMString <a href="#key-system">keySystem</a>)
static <a href="#dom-istypesupportedresult">IsTypeSupportedResult</a> <a href="#dom-istypesupported">isTypeSupported</a>(DOMstring <a href="#key-system">keySystem</a>, optional DOMString <a href="#initialization-data-type">initDataType</a>, optional DOMString contentType, optional DOMString capability);
@@ -368,12 +368,12 @@
// session properties
readonly attribute DOMString <a href="#dom-sessionid">sessionId</a>;
readonly attribute unrestricted double <a href="#dom-expiration">expiration</a>;
- readonly attribute Promise<any> <a href="#dom-closed">closed</a>;
+ readonly attribute Promise<void> <a href="#dom-closed">closed</a>;
// session operations
- Promise<any> <a href="#dom-update">update</a>((ArrayBuffer or ArrayBufferView) response);
- Promise<any> <a href="#dom-close">close</a>();
- Promise<any> <a href="#dom-remove">remove</a>();
+ Promise<void> <a href="#dom-update">update</a>((ArrayBuffer or ArrayBufferView) response);
+ Promise<void> <a href="#dom-close">close</a>();
+ Promise<void> <a href="#dom-remove">remove</a>();
Promise<sequence<ArrayBuffer>> <a href="#dom-getusablekeyids">getUsableKeyIds</a>();
};
--- a/encrypted-media/encrypted-media.xml Mon Aug 11 16:02:03 2014 -0700
+++ b/encrypted-media/encrypted-media.xml Mon Aug 11 16:08:48 2014 -0700
@@ -334,7 +334,7 @@
partial interface <precodedfn>HTMLMediaElement</precodedfn> {
// Encrypted Media
readonly attribute <precoderef>MediaKeys</precoderef>? <precoderef prefix="attr">mediaKeys</precoderef>;
- Promise<any> <premethodref>setMediaKeys</premethodref>(<precoderef>MediaKeys</precoderef>? mediaKeys);
+ Promise<void> <premethodref>setMediaKeys</premethodref>(<precoderef>MediaKeys</precoderef>? mediaKeys);
attribute <EventHandler/> <precoderef>onneedkey</precoderef>;
@@ -348,7 +348,7 @@
Promise<<precoderef>MediaKeySession</precoderef>> <premethodref>createSession</premethodref>(DOMString <a href="#initialization-data-type">initDataType</a>, (ArrayBuffer or ArrayBufferView) initData, optional <precoderef>SessionType</precoderef> sessionType = "<precoderef prefix="sessiontype">temporary</precoderef>");
Promise<<precoderef>MediaKeySession</precoderef>> <premethodref>loadSession</premethodref>(DOMString sessionId);
- Promise<any> <premethodref>setServerCertificate</premethodref>((ArrayBuffer or ArrayBufferView) serverCertificate);
+ Promise<void> <premethodref>setServerCertificate</premethodref>((ArrayBuffer or ArrayBufferView) serverCertificate);
static Promise<<precoderef>MediaKeys</precoderef>> <premethodref>create</premethodref>(DOMString <a href="#key-system">keySystem</a>)
static <precoderef>IsTypeSupportedResult</precoderef> <premethodref>isTypeSupported</premethodref>(DOMstring <a href="#key-system">keySystem</a>, optional DOMString <a href="#initialization-data-type">initDataType</a>, optional DOMString contentType, optional DOMString capability);
@@ -362,12 +362,12 @@
// session properties
readonly attribute DOMString <precoderef>sessionId</precoderef>;
readonly attribute unrestricted double <precoderef>expiration</precoderef>;
- readonly attribute Promise<any> <precoderef>closed</precoderef>;
+ readonly attribute Promise<void> <precoderef>closed</precoderef>;
// session operations
- Promise<any> <premethodref>update</premethodref>((ArrayBuffer or ArrayBufferView) response);
- Promise<any> <premethodref>close</premethodref>();
- Promise<any> <premethodref>remove</premethodref>();
+ Promise<void> <premethodref>update</premethodref>((ArrayBuffer or ArrayBufferView) response);
+ Promise<void> <premethodref>close</premethodref>();
+ Promise<void> <premethodref>remove</premethodref>();
Promise<sequence<ArrayBuffer>> <premethodref>getUsableKeyIds</premethodref>();
};