[EME] Bug 24227 - Rename closed event to close
authorAdrian Bateman <adrianba@microsoft.com>
Tue, 21 Jan 2014 07:37:57 -0800
changeset 232 413d03f8655c
parent 231 1cbd047358a4
child 233 5d550036ae29
[EME] Bug 24227 - Rename closed event to close
encrypted-media/encrypted-media.html
encrypted-media/encrypted-media.xml
--- a/encrypted-media/encrypted-media.html	Tue Jan 07 09:19:07 2014 -0800
+++ b/encrypted-media/encrypted-media.html	Tue Jan 21 07:37:57 2014 -0800
@@ -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 7 January 2014</h2>
+      <h2 id="draft-date">W3C Editor's Draft 21 January 2014</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>
@@ -742,7 +742,7 @@
         </tr>
         <tr>
           <td><dfn id="dom-stateclosed"><code>CLOSED</code></dfn></td>
-          <td>A <code><a href="#dom-eventclosed">closed</a></code> event has been fired at the <code><a href="#dom-mediakeysession">MediaKeySession</a></code>. No further events will be fired at the <code><a href="#dom-mediakeysession">MediaKeySession</a></code>.</td>
+          <td>A <code><a href="#dom-eventclose">close</a></code> event has been fired at the <code><a href="#dom-mediakeysession">MediaKeySession</a></code>. No further events will be fired at the <code><a href="#dom-mediakeysession">MediaKeySession</a></code>.</td>
         </tr>
       </tbody>
     </table>
@@ -891,7 +891,7 @@
           <td></td>
         </tr>
         <tr>
-          <td><dfn id="dom-eventclosed"><code>closed</code></dfn></td>
+          <td><dfn id="dom-eventclose"><code>close</code></dfn></td>
           <td><code><a href="https://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event">Event</a></code></td>
           <td>
             The session is no longer needed. The session moves to the <code><a href="#dom-stateclosed">CLOSED</a></code> state.
@@ -1050,7 +1050,7 @@
     <ol>
       <li><p>Implementations may clear the internal state associated with the <code><a href="#dom-mediakeysession">MediaKeySession</a></code>, including keys and licences, to release resources but are not required to do so.</p></li>
       <li><p>Let the state of the <code><a href="#dom-mediakeysession">MediaKeySession</a></code> be <code><a href="#dom-stateclosed">CLOSED</a></code>.</p></li>
-      <li><p><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-eventclosed">closed</a></code> at the <code><a href="#dom-mediakeysession">MediaKeySession</a></code> object.</p></li>
+      <li><p><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-eventclose">close</a></code> at the <code><a href="#dom-mediakeysession">MediaKeySession</a></code> object.</p></li>
     </ol>
     <p class="non-normative">Note: Keys in other sessions should be unaffected, even if they have overlapping key IDs.</p>
 
--- a/encrypted-media/encrypted-media.xml	Tue Jan 07 09:19:07 2014 -0800
+++ b/encrypted-media/encrypted-media.xml	Tue Jan 21 07:37:57 2014 -0800
@@ -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 7 January 2014</h2>
+      <h2 id="draft-date">W3C Editor's Draft 21 January 2014</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>
@@ -703,7 +703,7 @@
         </tr>
         <tr>
           <td><codedfn prefix="state">CLOSED</codedfn></td>
-          <td>A <coderef prefix="event">closed</coderef> event has been fired at the <coderef>MediaKeySession</coderef>. No further events will be fired at the <coderef>MediaKeySession</coderef>.</td>
+          <td>A <coderef prefix="event">close</coderef> event has been fired at the <coderef>MediaKeySession</coderef>. No further events will be fired at the <coderef>MediaKeySession</coderef>.</td>
         </tr>
       </tbody>
     </table>
@@ -843,7 +843,7 @@
           <td><!-- No Preconditions. --></td>
         </tr>
         <tr>
-          <td><codedfn prefix="event">closed</codedfn></td>
+          <td><codedfn prefix="event">close</codedfn></td>
           <td><code><dom4ref name="event">Event</dom4ref></code></td>
           <td>
             The session is no longer needed. The session moves to the <coderef prefix="state">CLOSED</coderef> state.
@@ -992,7 +992,7 @@
     <ol>
       <li><p>Implementations may clear the internal state associated with the <coderef>MediaKeySession</coderef>, including keys and licences, to release resources but are not required to do so.</p></li>
       <li><p>Let the state of the <coderef>MediaKeySession</coderef> be <coderef prefix="state">CLOSED</coderef>.</p></li>
-      <li><p><Queue-a-task/> to <fire-a-simple-event/> named <coderef prefix="event">closed</coderef> at the <coderef>MediaKeySession</coderef> object.</p></li>
+      <li><p><Queue-a-task/> to <fire-a-simple-event/> named <coderef prefix="event">close</coderef> at the <coderef>MediaKeySession</coderef> object.</p></li>
     </ol>
     <p class="non-normative">Note: Keys in other sessions should be unaffected, even if they have overlapping key IDs.</p>