[EME] Bug 20336 - Revert addition of keySystem attribute to HTMLSourceElement
authorDavid Dorwin <ddorwin@google.com>
Tue, 12 Aug 2014 14:44:47 -0700
changeset 392 b14f7a214d8a
parent 391 61071aaad6a9
child 393 c9bcd3f67fc2
[EME] Bug 20336 - Revert addition of keySystem attribute to HTMLSourceElement
encrypted-media/encrypted-media.html
encrypted-media/encrypted-media.xml
--- a/encrypted-media/encrypted-media.html	Tue Aug 12 14:35:17 2014 -0700
+++ b/encrypted-media/encrypted-media.html	Tue Aug 12 14:44:47 2014 -0700
@@ -377,14 +377,6 @@
   
   Promise&lt;sequence&lt;ArrayBuffer&gt;&gt; <a href="#dom-getusablekeyids">getUsableKeyIds</a>();
 };
-
-<div class="issue">
-<div class="issue-title"><span>Issue 2</span></div>
-<p class="">Extensions to <a href="#dom-htmlsourceelement">HTMLSourceElement</a> may be at risk as discussed in <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=23827">Bug 23827</a>.</p>
-</div>
-partial interface <dfn id="dom-htmlsourceelement">HTMLSourceElement</dfn> {
-  attribute DOMString <a href="#dom-sourcekeysystem">keySystem</a>;
-};
 </pre>
 
     <div class="note">
@@ -859,20 +851,6 @@
       </li>
     </ol>
 
-
-    <p>The <dfn id="dom-sourcecontentkeysystem"><code>keysystem</code></dfn> content attribute is added to <code><a href="#dom-htmlsourceelement">HTMLSourceElement</a></code>.
-    It specifies the <a href="#key-system">Key System</a> to be used with the <code><a href="http://www.w3.org/TR/html5/embedded-content-0.html#media-resource">media resource</a></code>.
-    </p>    
-
-    <p>The <dfn id="dom-sourcekeysystem"><code>keySystem</code></dfn> IDL attribute is added to <code><a href="#dom-htmlsourceelement">HTMLSourceElement</a></code>.
-    It must reflect the <code><a href="#dom-sourcecontentkeysystem">keysystem</a></code> content attribute.
-    </p>
-    
-    <p>The <a href="http://www.w3.org/TR/html5/embedded-content-0.html#concept-media-load-algorithm">resource selection algorithm</a> is modified to check the <code><a href="#dom-sourcecontentkeysystem">keysystem</a></code> attribute after the existing <em>step 5</em> of the <em>Otherwise</em> branch of <em>step 9</em>:</p>
-    <ol start="6">
-      <li><p>⌛ If <var title="">candidate</var> has a <code><a href="#dom-sourcecontentkeysystem">keysystem</a></code> attribute whose value represents a <a href="#key-system">Key System</a> that the user agent knows it cannot use with <code><a href="http://www.w3.org/TR/html5/embedded-content-0.html#attr-source-type">type</a></code>, then end the <a href="http://www.w3.org/TR/html5/webappapis.html#synchronous-section">synchronous section</a>, and jump down to the <i title="">failed</i> step below.</p></li>
-    </ol>
-
     <h3 id="exceptions">2.1. Exceptions</h3>
     <a name="error-names"></a>
     <p>The methods report errors by rejecting the returned promise with a <code><a href="http://www.w3.org/TR/dom/#exception-domexception">DOMException</a></code>.
--- a/encrypted-media/encrypted-media.xml	Tue Aug 12 14:35:17 2014 -0700
+++ b/encrypted-media/encrypted-media.xml	Tue Aug 12 14:44:47 2014 -0700
@@ -371,11 +371,6 @@
   
   Promise&lt;sequence&lt;ArrayBuffer&gt;&gt; <premethodref>getUsableKeyIds</premethodref>();
 };
-
-<div class="issue"><div class="issue-title"><span>Issue 2</span></div><p class="">Extensions to <precoderef>HTMLSourceElement</precoderef> may be at risk as discussed in <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=23827">Bug 23827</a>.</p></div>
-partial interface <precodedfn>HTMLSourceElement</precodedfn> {
-  attribute DOMString <precoderef prefix="source">keySystem</precoderef>;
-};
 </pre>
 
     <div class="note"><div class="noteHeader">Note</div>
@@ -806,20 +801,6 @@
       </li>
     </ol>
 
-<!-- Begin HTMLSourceElement -->
-    <p>The <codedfn prefix="sourcecontent">keysystem</codedfn> content attribute is added to <coderef>HTMLSourceElement</coderef>.
-    It specifies the <a href="#key-system">Key System</a> to be used with the <videoref name="media-resource">media resource</videoref>.
-    </p>    
-
-    <p>The <codedfn prefix="source">keySystem</codedfn> IDL attribute is added to <coderef>HTMLSourceElement</coderef>.
-    It must reflect the <coderef prefix="sourcecontent">keysystem</coderef> content attribute.
-    </p>
-    
-    <p>The <resource-selection-algorithm/> is modified to check the <coderef prefix="sourcecontent">keysystem</coderef> attribute after the existing <em>step 5</em> of the <em>Otherwise</em> branch of <em>step 9</em>:</p>
-    <ol start="6">
-      <li><p>&#8987; If <var title="">candidate</var> has a <coderef prefix="sourcecontent">keysystem</coderef> attribute whose value represents a <a href="#key-system">Key System</a> that the user agent knows it cannot use with <videoref name="attr-source-type">type</videoref>, then end the <synchronous-section/>, and jump down to the <i title="">failed</i> step below.</p></li>
-    </ol>
-
     <h3 id="exceptions">2.1. Exceptions</h3>
     <a name="error-names"></a>
     <p>The methods report errors by rejecting the returned promise with a <code><dom4ref name="exception-domexception">DOMException</dom4ref></code>.