Bug 22567: Fix typographical errors in the wrap/unwrap steps
authorRyan Sleevi <sleevi@google.com>
Wed, 03 Jul 2013 16:18:09 -0700
changeset 57 0fd27a9abdd5
parent 56 ec111797d17a
child 58 0551d57b7b6b
Bug 22567: Fix typographical errors in the wrap/unwrap steps
spec/Overview-WebCryptoAPI.xml
spec/Overview.html
--- a/spec/Overview-WebCryptoAPI.xml	Wed Jul 03 16:18:07 2013 -0700
+++ b/spec/Overview-WebCryptoAPI.xml	Wed Jul 03 16:18:09 2013 -0700
@@ -1918,7 +1918,7 @@
               </li>
               <li>
                 <p>
-                  If <var>Key</var>.<a href="#dfn-Key-extractable"><code>extractable</code></a> is not true,
+                  If <var>key</var>.<a href="#dfn-Key-extractable"><code>extractable</code></a> is not true,
                   terminate this algorithm with an error.
                 </p>         
               </li>
@@ -1971,7 +1971,7 @@
               <li>
                 <p>
                   If <var>normalizedUnwrapAlgorithm</var> does not describe a
-                  <a href="#algorithms">registered algorithm</a> that supports the wrapKey
+                  <a href="#algorithms">registered algorithm</a> that supports the unwrapKey
                   operation, throw a <code>NotSupportedError</code> and
                   <a href="#terminate-the-algorithm">terminate the algorithm</a>.
                 </p>
@@ -2039,17 +2039,10 @@
                   terminate this algorithm with an error.
                 </p>
               </li>
-              
-              <li>
-                <p>
-                  If <var>Key</var>.<a href="#dfn-Key-extractable"><code>extractable</code></a> is not true,
-                  terminate this algorithm with an error.
-                </p>         
-              </li>
               <li>
                  <p>
                    Let <var>bytes</var> be the result of executing the <a href="#dfn-SubtleCrypto-method-decrypt">decrypt</a>
-                   algorithm, with <var>unwrapAlgorithm</var> as <code>algorithm</code>, <var>unwrapKey</var>
+                   algorithm, with <var>unwrapAlgorithm</var> as <code>algorithm</code>, <var>unwrappingKey</var>
                    as <code>key</code>, and with <var>wrappedKey</var> as <code>buffer</code>.
                  </p>
               </li>
--- a/spec/Overview.html	Wed Jul 03 16:18:07 2013 -0700
+++ b/spec/Overview.html	Wed Jul 03 16:18:09 2013 -0700
@@ -1927,7 +1927,7 @@
               </li>
               <li>
                 <p>
-                  If <var>Key</var>.<a href="#dfn-Key-extractable"><code>extractable</code></a> is not true,
+                  If <var>key</var>.<a href="#dfn-Key-extractable"><code>extractable</code></a> is not true,
                   terminate this algorithm with an error.
                 </p>         
               </li>
@@ -1980,7 +1980,7 @@
               <li>
                 <p>
                   If <var>normalizedUnwrapAlgorithm</var> does not describe a
-                  <a href="#algorithms">registered algorithm</a> that supports the wrapKey
+                  <a href="#algorithms">registered algorithm</a> that supports the unwrapKey
                   operation, throw a <code>NotSupportedError</code> and
                   <a href="#terminate-the-algorithm">terminate the algorithm</a>.
                 </p>
@@ -2048,17 +2048,10 @@
                   terminate this algorithm with an error.
                 </p>
               </li>
-              
-              <li>
-                <p>
-                  If <var>Key</var>.<a href="#dfn-Key-extractable"><code>extractable</code></a> is not true,
-                  terminate this algorithm with an error.
-                </p>         
-              </li>
               <li>
                  <p>
                    Let <var>bytes</var> be the result of executing the <a href="#dfn-SubtleCrypto-method-decrypt">decrypt</a>
-                   algorithm, with <var>unwrapAlgorithm</var> as <code>algorithm</code>, <var>unwrapKey</var>
+                   algorithm, with <var>unwrapAlgorithm</var> as <code>algorithm</code>, <var>unwrappingKey</var>
                    as <code>key</code>, and with <var>wrappedKey</var> as <code>buffer</code>.
                  </p>
               </li>