[EME] Bug 26797 - Fix load()'s return type.
authorDavid Dorwin <ddorwin@google.com>
Mon, 15 Sep 2014 13:04:47 -0700
changeset 428 79d5d9c3d701
parent 427 1f6528d9bf9d
child 429 1a115507e196
[EME] Bug 26797 - Fix load()'s return type.
encrypted-media/encrypted-media.html
encrypted-media/encrypted-media.xml
--- a/encrypted-media/encrypted-media.html	Wed Sep 10 11:17:37 2014 -0700
+++ b/encrypted-media/encrypted-media.html	Mon Sep 15 13:04:47 2014 -0700
@@ -104,7 +104,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 10 September 2014</h2>
+      <h2 id="draft-date">W3C Editor's Draft 15 September 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>
@@ -473,7 +473,7 @@
           <dt>If the user agent is <em>not</em> confident that the <var title="true">keySystem</var> implementation supporting <var title="true">initDataType</var> is available and usable to decrypt and enable playback of support playback of encrypted <a href="http://www.w3.org/TR/html5/embedded-content-0.html#media-data">media data</a> for all <var title="true">media types</var>
 </dt>
           <dd>Return "<code><a href="#dom-istypesupportedresultmaybe">maybe</a></code>".</dd>
-          <dt>If the user agent is <em>not</em> did not recognize one or more <var title="true">parameters</var>
+          <dt>If the user agent did <em>not</em> recognize one or more <var title="true">parameters</var>
 </dt>
           <dd>Return "<code><a href="#dom-istypesupportedresultmaybe">maybe</a></code>".</dd>
           <dt>Otherwise</dt>
@@ -489,7 +489,7 @@
           <dt>If the user agent is <em>not</em> confident that the <var title="true">keySystem</var> implementation supporting <var title="true">initDataType</var> is available and usable to decrypt and enable playback of support playback of encrypted <a href="http://www.w3.org/TR/html5/embedded-content-0.html#media-data">media data</a> for all <var title="true">media types</var> as specified by <var title="true">capability</var>
 </dt>
           <dd>Return "<code><a href="#dom-istypesupportedresultmaybe">maybe</a></code>".</dd>
-          <dt>If the user agent is <em>not</em> did not recognize one or more <var title="true">parameters</var>
+          <dt>If the user agent did <em>not</em> recognize one or more <var title="true">parameters</var>
 </dt>
           <dd>Return "<code><a href="#dom-istypesupportedresultmaybe">maybe</a></code>".</dd>
           <dt>Otherwise</dt>
@@ -510,7 +510,7 @@
 
   // session initialization
   Promise&lt;void&gt; <a href="#dom-generaterequest">generateRequest</a>(DOMString <a href="#initialization-data-type">initDataType</a>, (ArrayBuffer or ArrayBufferView) initData);
-  Promise&lt;bool&gt; <a href="#dom-load">load</a>(DOMString sessionId);
+  Promise&lt;boolean&gt; <a href="#dom-load">load</a>(DOMString sessionId);
 
   // session operations
   Promise&lt;void&gt; <a href="#dom-update">update</a>((ArrayBuffer or ArrayBufferView) response);
--- a/encrypted-media/encrypted-media.xml	Wed Sep 10 11:17:37 2014 -0700
+++ b/encrypted-media/encrypted-media.xml	Mon Sep 15 13:04:47 2014 -0700
@@ -103,7 +103,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 10 September 2014</h2>
+      <h2 id="draft-date">W3C Editor's Draft 15 September 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>
@@ -457,7 +457,7 @@
         <dl class="switch">
           <dt>If the user agent is <em>not</em> confident that the <var title="true">keySystem</var> implementation supporting <var title="true">initDataType</var> is available and usable to decrypt and enable playback of support playback of encrypted <videoanchor name="media-data">media data</videoanchor> for all <var title="true">media types</var></dt>
           <dd>Return "<coderef prefix="istypesupportedresult">maybe</coderef>".</dd>
-          <dt>If the user agent is <em>not</em> did not recognize one or more <var title="true">parameters</var></dt>
+          <dt>If the user agent did <em>not</em> recognize one or more <var title="true">parameters</var></dt>
           <dd>Return "<coderef prefix="istypesupportedresult">maybe</coderef>".</dd>
           <dt>Otherwise</dt>
           <dd>Return <var title="true">probably result</var>.</dd>
@@ -470,7 +470,7 @@
         <dl class="switch">
           <dt>If the user agent is <em>not</em> confident that the <var title="true">keySystem</var> implementation supporting <var title="true">initDataType</var> is available and usable to decrypt and enable playback of support playback of encrypted <videoanchor name="media-data">media data</videoanchor> for all <var title="true">media types</var> as specified by <var title="true">capability</var></dt>
           <dd>Return "<coderef prefix="istypesupportedresult">maybe</coderef>".</dd>
-          <dt>If the user agent is <em>not</em> did not recognize one or more <var title="true">parameters</var></dt>
+          <dt>If the user agent did <em>not</em> recognize one or more <var title="true">parameters</var></dt>
           <dd>Return "<coderef prefix="istypesupportedresult">maybe</coderef>".</dd>
           <dt>Otherwise</dt>
           <dd>Return <var title="true">probably result</var>.</dd>
@@ -490,7 +490,7 @@
 
   // session initialization
   Promise&lt;void&gt; <premethodref>generateRequest</premethodref>(DOMString <a href="#initialization-data-type">initDataType</a>, (ArrayBuffer or ArrayBufferView) initData);
-  Promise&lt;bool&gt; <premethodref>load</premethodref>(DOMString sessionId);
+  Promise&lt;boolean&gt; <premethodref>load</premethodref>(DOMString sessionId);
 
   // session operations
   Promise&lt;void&gt; <premethodref>update</premethodref>((ArrayBuffer or ArrayBufferView) response);