[EME] Bug 25923 - IDL type "sequence" is all lower case.
authorDavid Dorwin <ddorwin@google.com>
Mon, 13 Oct 2014 16:53:35 -0700
changeset 469 a162640cb5b7
parent 468 5e1803bb51e7
child 470 d915908c3a04
[EME] Bug 25923 - IDL type "sequence" is all lower case.
encrypted-media/encrypted-media-respec.html
encrypted-media/encrypted-media.html
--- a/encrypted-media/encrypted-media-respec.html	Mon Oct 13 16:23:29 2014 -0700
+++ b/encrypted-media/encrypted-media-respec.html	Mon Oct 13 16:53:35 2014 -0700
@@ -286,10 +286,9 @@
               <dd>
                 The <a def-id="keysystem"></a> for which access is being requested.
               </dd>
-              <!-- TODO: The template type is lost! 'Promise' is handled correctly. -->
-              <dt>optional Sequence&lt;<a>MediaKeySystemOptions</a>&gt; supportedConfigurations</dt>
+              <dt>optional sequence&lt;<a>MediaKeySystemOptions</a>&gt; supportedConfigurations</dt>
               <dd>
-                A Sequence of <a>MediaKeySystemOptions</a> configurations to try in order.
+                A sequence of <a>MediaKeySystemOptions</a> configurations to try in order.
                 The first element with a satisfiable combination will be used. 
               </dd>
             </dl>
@@ -932,7 +931,7 @@
                   <p>If the preceding step failed, reject <var>promise</var> with <a def-id="new-domexception-named"></a> <a def-id="appropriate-error-name"></a>.</p>
                 </li>
                 <li>
-                  <p>Resolve <var>promise</var> with a new Sequence object, each element of which contains one element of <var title="true">usable key ids</var>.</p>
+                  <p>Resolve <var>promise</var> with a new sequence object, each element of which contains one element of <var title="true">usable key ids</var>.</p>
                 </li>
               </ol>
             </li>
--- a/encrypted-media/encrypted-media.html	Mon Oct 13 16:23:29 2014 -0700
+++ b/encrypted-media/encrypted-media.html	Mon Oct 13 16:53:35 2014 -0700
@@ -445,7 +445,7 @@
   </p>
   <h1 class="title p-name" id="title" property="dcterms:title">Encrypted Media Extensions</h1>
   
-  <h2 property="dcterms:issued" datatype="xsd:dateTime" content="2014-10-13T23:22:27.000Z" id="w3c-editor-s-draft-13-october-2014"><abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft <time class="dt-published" datetime="2014-10-13">13 October 2014</time></h2>
+  <h2 property="dcterms:issued" datatype="xsd:dateTime" content="2014-10-13T23:52:04.000Z" id="w3c-editor-s-draft-13-october-2014"><abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft <time class="dt-published" datetime="2014-10-13">13 October 2014</time></h2>
   <dl>
     
       <dt>This version:</dt>
@@ -751,8 +751,8 @@
         <h3 id="requestMediaKeySystemAccess" role="heading"><span class="secno">2.1 </span>requestMediaKeySystemAccess()</h3>
 
         <pre class="idl"><span class="idlInterface" id="idl-def-Navigator">partial interface <span class="idlInterfaceID">Navigator</span> {
-<span class="idlMethod">    <span class="idlMethType">Promise&lt;<a href="#idl-def-MediaKeySystemAccess" class="idlType"><code>MediaKeySystemAccess</code></a>&gt;</span> <span class="idlMethName"><a href="#widl-Navigator-requestMediaKeySystemAccess-Promise-MediaKeySystemAccess--DOMString-keySystem-Sequence-MediaKeySystemOptions--supportedConfigurations">requestMediaKeySystemAccess</a></span> (<span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">keySystem</span></span>, <span class="idlParam">optional <span class="idlParamType">Sequence<mediakeysystemoptions></mediakeysystemoptions></span> <span class="idlParamName">supportedConfigurations</span></span>);</span>
-};</span></pre><section id="methods"><h4 role="heading" id="h4_methods"><span class="secno">2.1.1 </span>Methods</h4><dl class="methods"><dt id="widl-Navigator-requestMediaKeySystemAccess-Promise-MediaKeySystemAccess--DOMString-keySystem-Sequence-MediaKeySystemOptions--supportedConfigurations"><code>requestMediaKeySystemAccess</code></dt><dd>
+<span class="idlMethod">    <span class="idlMethType">Promise&lt;<a href="#idl-def-MediaKeySystemAccess" class="idlType"><code>MediaKeySystemAccess</code></a>&gt;</span> <span class="idlMethName"><a href="#widl-Navigator-requestMediaKeySystemAccess-Promise-MediaKeySystemAccess--DOMString-keySystem-sequence-MediaKeySystemOptions--supportedConfigurations">requestMediaKeySystemAccess</a></span> (<span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">keySystem</span></span>, <span class="idlParam">optional <span class="idlParamType">sequence&lt;<a href="#idl-def-MediaKeySystemOptions" class="idlType"><code>MediaKeySystemOptions</code></a>&gt;</span> <span class="idlParamName">supportedConfigurations</span></span>);</span>
+};</span></pre><section id="methods"><h4 role="heading" id="h4_methods"><span class="secno">2.1.1 </span>Methods</h4><dl class="methods"><dt id="widl-Navigator-requestMediaKeySystemAccess-Promise-MediaKeySystemAccess--DOMString-keySystem-sequence-MediaKeySystemOptions--supportedConfigurations"><code>requestMediaKeySystemAccess</code></dt><dd>
             <p>Requests access to the specified <a href="#key-system">Key System</a>.
               When <code>supportedConfigurations</code> is specified, the combination specified by at least one of its elements must be supported.
               The resulting <a href="#idl-def-MediaKeySystemAccess" class="idlType"><code>MediaKeySystemAccess</code></a> will correspond to the first such elment.
@@ -767,8 +767,8 @@
             
           <table class="parameters"><tbody><tr><th>Parameter</th><th>Type</th><th>Nullable</th><th>Optional</th><th>Description</th></tr><tr><td class="prmName">keySystem</td><td class="prmType"><code>DOMString</code></td><td class="prmNullFalse"><span role="img" aria-label="False">✘</span></td><td class="prmOptFalse"><span role="img" aria-label="False">✘</span></td><td class="prmDesc">
                 The <a href="#key-system">Key System</a> for which access is being requested.
-              </td></tr><tr><td class="prmName">supportedConfigurations</td><td class="prmType"><code>Sequence<mediakeysystemoptions></mediakeysystemoptions></code></td><td class="prmNullFalse"><span role="img" aria-label="False">✘</span></td><td class="prmOptTrue"><span role="img" aria-label="True">✔</span></td><td class="prmDesc">
-                A Sequence of <a href="#idl-def-MediaKeySystemOptions" class="idlType"><code>MediaKeySystemOptions</code></a> configurations to try in order.
+              </td></tr><tr><td class="prmName">supportedConfigurations</td><td class="prmType"><code>sequence&lt;<a href="#idl-def-MediaKeySystemOptions" class="idlType"><code>MediaKeySystemOptions</code></a>&gt;</code></td><td class="prmNullFalse"><span role="img" aria-label="False">✘</span></td><td class="prmOptTrue"><span role="img" aria-label="True">✔</span></td><td class="prmDesc">
+                A sequence of <a href="#idl-def-MediaKeySystemOptions" class="idlType"><code>MediaKeySystemOptions</code></a> configurations to try in order.
                 The first element with a satisfiable combination will be used. 
               </td></tr></tbody></table><div><em>Return type: </em><code>Promise&lt;<a href="#idl-def-MediaKeySystemAccess" class="idlType"><code>MediaKeySystemAccess</code></a>&gt;</code></div><p>When this method is invoked, the user agent must run the following steps:</p><ol class="method-algorithm">
               <li><p>If <var title="true">keySystem</var> is an empty string, return a promise rejected with a new <code><a href="http://heycam.github.io/webidl/#dfn-DOMException">DOMException</a></code> whose name is <code><a href="#dfn-InvalidAccessError">InvalidAccessError</a></code>.</p></li>
@@ -1129,7 +1129,7 @@
                   <p>If the preceding step failed, reject <var>promise</var> with a new <code><a href="http://heycam.github.io/webidl/#dfn-DOMException">DOMException</a></code> whose name is the appropriate <a href="#error-names">error name</a>.</p>
                 </li>
                 <li>
-                  <p>Resolve <var>promise</var> with a new Sequence object, each element of which contains one element of <var title="true">usable key ids</var>.</p>
+                  <p>Resolve <var>promise</var> with a new sequence object, each element of which contains one element of <var title="true">usable key ids</var>.</p>
                 </li>
               </ol>
             </li>