diff -r fdf0d272d74a encrypted-media/encrypted-media.html --- a/encrypted-media/encrypted-media.html Mon Jan 14 17:46:57 2013 -0800 +++ b/encrypted-media/encrypted-media.html Mon Jan 14 18:40:18 2013 -0800 @@ -324,7 +324,7 @@
If type is null or an empty string and initData is not null or an empty string, throw an INVALID_ACCESS_ERR exception and abort these steps.
If type contains a MIME type that is not supported or is not supported by the keySystem, throw a NOT_SUPPORTED_ERR exception and abort these steps.
If type is not supported by the user agent and keySystem nor, throw a NOT_SUPPORTED_ERR exception and abort these steps. In most cases, this means type is not a supported media type.
Let cdm be the cdm loaded in the MediaKeys constructor.
Add the new object to an internal list of session objects.
Schedule a task to generate a key request, providing type, initData, and the new object.
+Schedule a task to complete initializion of the session, providing type, initData, and the new object. In most cases, this results in generation of a key request.
The user agent will asynchronously execute the following steps in the task:
Let defaultURL be null.
Use cdm to generate a key request and follow the steps for the first matching condition from the following list:
+Use cdm to complete initializion and follow the steps for the first matching condition from the following list:
Let key request be a key request generated by the CDM using initData, if provided.
+Let response be a message related to successful initialization.
Note: cdm must not use any data, including media data, not provided via initData.
+In most cases, this is a key request generated by the CDM using type and initData, if provided.
type may be used to determine how to interpret initData.
If initData is not null and contains a default URL for keySystem, let defaultURL be that URL.
queue a task to fire a simple event named keymessage at the new object
The event is of type MediaKeyMessageEvent and has:
message = key requestmessage = responsedestinationURL = defaultURL
Note: message may be a request for multiple keys, depending on the keySystem and/or initData. This is transparent to the application.
If type is null or an empty string and initData is not null or an empty string, throw an
If type contains a MIME type that is not supported or is not supported by the
If type is not supported by the user agent and
Let cdm be the cdm loaded in the MediaKeys constructor.
Add the new object to an internal list of session objects.
Schedule a task to generate a key request, providing type, initData, and the new object.
+Schedule a task to complete initializion of the session, providing type, initData, and the new object. In most cases, this results in generation of a key request.
The user agent will asynchronously execute the following steps in the task:
Let defaultURL be null.
Use cdm to generate a key request and follow the steps for the first matching condition from the following list:
+Use cdm to complete initializion and follow the steps for the first matching condition from the following list:
Let key request be a key request generated by the CDM using initData, if provided.
+Let response be a message related to successful initialization.
Note: cdm must not use any data, including
In most cases, this is a key request generated by the CDM using type and initData, if provided.
type may be used to determine how to interpret initData.
If initData is not null and contains a default URL for keySystem, let defaultURL be that URL.
The event is of type
Note: