[html5] r3868 - [] (0) Change how <keygen> is made optional so that support is detectable from s [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Sep 15 17:44:30 PDT 2009


Author: ianh
Date: 2009-09-15 17:44:30 -0700 (Tue, 15 Sep 2009)
New Revision: 3868

Modified:
   index
   source
Log:
[] (0) Change how <keygen> is made optional so that support is detectable from script.

Modified: index
===================================================================
--- index	2009-09-16 00:32:38 UTC (rev 3867)
+++ index	2009-09-16 00:44:30 UTC (rev 3868)
@@ -36937,7 +36937,9 @@
   attribute is an <a href=#enumerated-attribute>enumerated attribute</a>. The following
   table lists the keywords and states for the attribute — the
   keywords in the left column map to the states listed in the cell in
-  the second column on the same row as the keyword.</p>
+  the second column on the same row as the keyword. User agents are
+  not required to support these values, and must only recognise values
+  whose corresponding algorithms they support.</p>
 
   <table><thead><tr><th> Keyword <th> State
    <tbody><tr><td> <code title="">rsa</code>
@@ -36948,7 +36950,7 @@
      <td> <i title="">EC</i>
 -->
   </table><p>The <i>invalid value default</i> state is the <i title="">unknown</i> state. The <i>missing value default</i> state
-  is the <i title="">RSA</i> state.</p>
+  is the <i title="">RSA</i> state, if it is supported, or the <i title="">unknown</i> state otherwise.</p>
 
   <p class=note>This specification does not specify what key types
   user agents are to support — it is possible for a user agent
@@ -36974,8 +36976,7 @@
     <dl class=switch><!-- v2 (see above)
 
      <dt>If the <code title="attr-keygen-keytype">keytype</code>
-     attribute is in the <i title="">EC</i> state and the user agent
-     supports an EC signature algorithm</dt>
+     attribute is in the <i title="">EC</i> state</dt>
 
      <dd>
 
@@ -36986,8 +36987,7 @@
      </dd>
 
      --><dt>If the <code title=attr-keygen-keytype><a href=#attr-keygen-keytype>keytype</a></code>
-     attribute is in the <i title="">RSA</i> state, and the user agent
-     supports an RSA signature algorithm</dt>
+     attribute is in the <i title="">RSA</i> state</dt>
 
      <dd>
 
@@ -36999,8 +36999,7 @@
 
      </dd>
 
-     <dt>Otherwise, the <code title=attr-keygen-keytype><a href=#attr-keygen-keytype>keytype</a></code> attribute is in the <i title="">unknown</i> state, or the user agent does not support
-     the selected key type</dt>
+     <dt>Otherwise, the <code title=attr-keygen-keytype><a href=#attr-keygen-keytype>keytype</a></code> attribute is in the <i title="">unknown</i> state</dt>
 
      <dd>
 
@@ -37123,10 +37122,14 @@
 
   </dl><div class=impl>
 
-  <p>The <dfn id=dom-keygen-challenge title=dom-keygen-challenge><code>challenge</code></dfn> and <dfn id=dom-keygen-keytype title=dom-keygen-keytype><code>keytype</code></dfn> IDL attributes
-  must <a href=#reflect>reflect</a> the respective content attributes of the
+  <p>The <dfn id=dom-keygen-challenge title=dom-keygen-challenge><code>challenge</code></dfn> IDL
+  attribute must <a href=#reflect>reflect</a> the content attributes of the
   same name.</p>
 
+  <p>The <dfn id=dom-keygen-keytype title=dom-keygen-keytype><code>keytype</code></dfn>
+  IDL attribute must <a href=#reflect>reflect</a> the content attributes of
+  the same name, <a href=#limited-to-only-known-values>limited to only known values</a>.</p>
+
   <p>The <dfn id=dom-keygen-type title=dom-keygen-type><code>type</code></dfn> IDL
   attribute must return the value "<code title="">keygen</code>".</p>
 

Modified: source
===================================================================
--- source	2009-09-16 00:32:38 UTC (rev 3867)
+++ source	2009-09-16 00:44:30 UTC (rev 3868)
@@ -41281,7 +41281,9 @@
   attribute is an <span>enumerated attribute</span>. The following
   table lists the keywords and states for the attribute — the
   keywords in the left column map to the states listed in the cell in
-  the second column on the same row as the keyword.</p>
+  the second column on the same row as the keyword. User agents are
+  not required to support these values, and must only recognise values
+  whose corresponding algorithms they support.</p>
 
   <table>
    <thead> <tr> <th> Keyword <th> State
@@ -41298,7 +41300,8 @@
 
   <p>The <i>invalid value default</i> state is the <i
   title="">unknown</i> state. The <i>missing value default</i> state
-  is the <i title="">RSA</i> state.</p>
+  is the <i title="">RSA</i> state, if it is supported, or the <i
+  title="">unknown</i> state otherwise.</p>
 
   <p class="note">This specification does not specify what key types
   user agents are to support — it is possible for a user agent
@@ -41328,8 +41331,7 @@
      <!-- v2 (see above)
 
      <dt>If the <code title="attr-keygen-keytype">keytype</code>
-     attribute is in the <i title="">EC</i> state and the user agent
-     supports an EC signature algorithm</dt>
+     attribute is in the <i title="">EC</i> state</dt>
 
      <dd>
 
@@ -41342,8 +41344,7 @@
      -->
 
      <dt>If the <code title="attr-keygen-keytype">keytype</code>
-     attribute is in the <i title="">RSA</i> state, and the user agent
-     supports an RSA signature algorithm</dt>
+     attribute is in the <i title="">RSA</i> state</dt>
 
      <dd>
 
@@ -41358,8 +41359,7 @@
 
      <dt>Otherwise, the <code
      title="attr-keygen-keytype">keytype</code> attribute is in the <i
-     title="">unknown</i> state, or the user agent does not support
-     the selected key type</dt>
+     title="">unknown</i> state</dt>
 
      <dd>
 
@@ -41513,11 +41513,14 @@
   <div class="impl">
 
   <p>The <dfn
-  title="dom-keygen-challenge"><code>challenge</code></dfn> and <dfn
-  title="dom-keygen-keytype"><code>keytype</code></dfn> IDL attributes
-  must <span>reflect</span> the respective content attributes of the
+  title="dom-keygen-challenge"><code>challenge</code></dfn> IDL
+  attribute must <span>reflect</span> the content attributes of the
   same name.</p>
 
+  <p>The <dfn title="dom-keygen-keytype"><code>keytype</code></dfn>
+  IDL attribute must <span>reflect</span> the content attributes of
+  the same name, <span>limited to only known values</span>.</p>
+
   <p>The <dfn title="dom-keygen-type"><code>type</code></dfn> IDL
   attribute must return the value "<code title="">keygen</code>".</p>
 




More information about the Commit-Watchers mailing list