Removed keyadded event per bug 21854
authorAdrian Bateman <adrianba@microsoft.com>
Tue, 15 Oct 2013 07:30:52 -0700
changeset 168 4b466f3beae3
parent 167 56e209741937
child 169 91feb120903c
Removed keyadded event per bug 21854
encrypted-media/encrypted-media.html
encrypted-media/encrypted-media.xml
--- a/encrypted-media/encrypted-media.html	Fri Oct 04 16:26:59 2013 -0700
+++ b/encrypted-media/encrypted-media.html	Tue Oct 15 07:30:52 2013 -0700
@@ -56,7 +56,7 @@
     <div class="head">
       <p><a href="http://www.w3.org/"><img src="https://www.w3.org/Icons/w3c_home" alt="W3C" width="72" height="48"></a></p>
       <h1>Encrypted Media Extensions</h1>
-      <h2 id="draft-date">W3C Editor's Draft 17 September 2013</h2>
+      <h2 id="draft-date">W3C Editor's Draft 15 October 2013</h2>
       <dl>
         <dt>This Version:</dt>
         <dd><a href="http://dvcs.w3.org/hg/html-media/raw-file/default/encrypted-media/encrypted-media.html">http://dvcs.w3.org/hg/html-media/raw-file/default/encrypted-media/encrypted-media.html</a></dd>
@@ -531,7 +531,6 @@
              </li></ul>
           </li>
           <li><p>If <var title="true">next message</var> is null, let the state of the session be <code><a href="#dom-ready">READY</a></code> and <a href="http://www.w3.org/TR/html5/webappapis.html#queue-a-task">queue a task</a> to <a href="http://www.w3.org/TR/html5/webappapis.html#fire-a-simple-event">fire a simple event</a> named <code><a href="#dom-keyready">keyready</a></code> at the <code><a href="#dom-mediakeysession">MediaKeySession</a></code> object.</p></li>
-          <li><p>If <var title="true">did store key</var> is true, <a href="http://www.w3.org/TR/html5/webappapis.html#queue-a-task">queue a task</a> to <a href="http://www.w3.org/TR/html5/webappapis.html#fire-a-simple-event">fire a simple event</a> named <code><a href="#dom-keyadded">keyadded</a></code> at the <code><a href="#dom-mediakeysession">MediaKeySession</a></code> object.</p></li>
           <li>
 <p><i>Error</i>: If any of the preceding steps in the task failed</p>
               <ol>
@@ -553,7 +552,7 @@
     </ol>
 
     <p>The key acquisition process <em>may</em> involve the web page handling <code><a href="#dom-keymessage">keymessage</a></code> events, sending the message to a Key System-specific service, and calling <code><a href="#dom-update">update</a></code> with the response message.
-    <code><a href="#dom-update">update</a></code> calls may generate <code><a href="#dom-keyadded">keyadded</a></code> or <code><a href="#dom-keymessage">keymessage</a></code> events.
+    <code><a href="#dom-update">update</a></code> calls may generate <code><a href="#dom-keymessage">keymessage</a></code> events.
     During the process, the web page may wish to cancel the acquisition process.
     <span class="non-normative">For example, if the page cannot contact the license service because of network issues it may wish to fallback to an alternative key system.</span>
     The page calls <code><a href="#dom-close">close()</a></code> to cancel the a key acquisition session.
@@ -776,13 +775,6 @@
       </thead>
       <tbody>
         <tr>
-          <td><dfn id="dom-keyadded"><code>keyadded</code></dfn></td>
-          <td><code><a href="https://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event">Event</a></code></td>
-          <td>A key has been added as the result of a <code><a href="#dom-update">update()</a></code> call.
-          </td>
-          <td></td>
-        </tr>
-        <tr>
           <td><dfn id="dom-keyerror"><code>keyerror</code></dfn></td>
           <td><code><a href="https://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event">Event</a></code></td>
           <td>An error occurs in the session. The session moves to the <code><a href="#dom-stateerror">ERROR</a></code> state.</td>
--- a/encrypted-media/encrypted-media.xml	Fri Oct 04 16:26:59 2013 -0700
+++ b/encrypted-media/encrypted-media.xml	Tue Oct 15 07:30:52 2013 -0700
@@ -55,7 +55,7 @@
     <div class="head">
       <p><a href="http://www.w3.org/"><img src="https://www.w3.org/Icons/w3c_home" alt="W3C" width="72" height="48" /></a></p>
       <h1>Encrypted Media Extensions</h1>
-      <h2 id="draft-date">W3C Editor's Draft 17 September 2013</h2>
+      <h2 id="draft-date">W3C Editor's Draft 15 October 2013</h2>
       <dl>
         <dt>This Version:</dt>
         <dd><a href="http://dvcs.w3.org/hg/html-media/raw-file/default/encrypted-media/encrypted-media.html">http://dvcs.w3.org/hg/html-media/raw-file/default/encrypted-media/encrypted-media.html</a></dd>
@@ -510,7 +510,6 @@
              </li></ul>
           </li>
           <li><p>If <var title="true">next message</var> is null, let the state of the session be <coderef>READY</coderef> and <queue-a-task/> to <fire-a-simple-event/> named <coderef>keyready</coderef> at the <coderef>MediaKeySession</coderef> object.</p></li>
-          <li><p>If <var title="true">did store key</var> is true, <queue-a-task/> to <fire-a-simple-event/> named <coderef>keyadded</coderef> at the <coderef>MediaKeySession</coderef> object.</p></li>
           <li><p><i>Error</i>: If any of the preceding steps in the task failed</p>
               <ol>
                 <li><p>Create a new <coderef>MediaKeyError</coderef> object with the following attributes:</p>
@@ -530,7 +529,7 @@
     </ol>
 
     <p>The key acquisition process <em>may</em> involve the web page handling <coderef>keymessage</coderef> events, sending the message to a Key System-specific service, and calling <coderef>update</coderef> with the response message.
-    <coderef>update</coderef> calls may generate <coderef>keyadded</coderef> or <coderef>keymessage</coderef> events.
+    <coderef>update</coderef> calls may generate <coderef>keymessage</coderef> events.
     During the process, the web page may wish to cancel the acquisition process.
     <span class="non-normative">For example, if the page cannot contact the license service because of network issues it may wish to fallback to an alternative key system.</span>
     The page calls <methodref>close</methodref> to cancel the a key acquisition session.
@@ -730,13 +729,6 @@
       </thead>
       <tbody>
         <tr>
-          <td><codedfn>keyadded</codedfn></td>
-          <td><code><dom4ref name="event">Event</dom4ref></code></td>
-          <td>A key has been added as the result of a <methodref>update</methodref> call.
-          </td>
-          <td><!-- No Preconditions. --></td>
-        </tr>
-        <tr>
           <td><codedfn>keyerror</codedfn></td>
           <td><code><dom4ref name="event">Event</dom4ref></code></td>
           <td>An error occurs in the session. The session moves to the <coderef prefix="state">ERROR</coderef> state.</td>