| Index: modules/encryptedmedia/MediaKeySession.idl
|
| diff --git a/modules/encryptedmedia/MediaKeySession.idl b/modules/encryptedmedia/MediaKeySession.idl
|
| index c0b7f8cf7a1ec94a59a0fd8f39bc5c6f602f01ad..5a2ba3734aa09ed0eb3d3715c297b5e2d6292bf2 100644
|
| --- a/modules/encryptedmedia/MediaKeySession.idl
|
| +++ b/modules/encryptedmedia/MediaKeySession.idl
|
| @@ -21,10 +21,12 @@
|
| * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| - */
|
| + */
|
|
|
| [
|
| - RuntimeEnabled=EncryptedMedia
|
| + ActiveDOMObject,
|
| + RuntimeEnabled=EncryptedMedia,
|
| + WillBeGarbageCollected
|
| ] interface MediaKeySession : EventTarget {
|
| // error state
|
| readonly attribute MediaKeyError error;
|
| @@ -34,11 +36,6 @@
|
| readonly attribute DOMString sessionId;
|
|
|
| // session operations
|
| - [RaisesException] void update(Uint8Array key);
|
| - void close();
|
| -
|
| - // EventHandlers
|
| - [RuntimeEnabled=EncryptedMedia] attribute EventHandler onwebkitkeyadded;
|
| - [RuntimeEnabled=EncryptedMedia] attribute EventHandler onwebkitkeyerror;
|
| - [RuntimeEnabled=EncryptedMedia] attribute EventHandler onwebkitkeymessage;
|
| + [RaisesException] void update(Uint8Array response);
|
| + [RaisesException] void release();
|
| };
|
|
|