Bug 26911: Using keys with mismatched curves in ECDH should be InvalidAccessError
authorMark Watson <watsonm@netflix.com>
Fri, 26 Sep 2014 11:38:42 -0700
changeset 245 fe69c74e7042
parent 244 15278b55b058
child 246 dbdc7abe4e32
Bug 26911: Using keys with mismatched curves in ECDH should be InvalidAccessError
spec/Overview-WebCryptoAPI.xml
spec/Overview.html
--- a/spec/Overview-WebCryptoAPI.xml	Fri Sep 26 11:30:58 2014 -0700
+++ b/spec/Overview-WebCryptoAPI.xml	Fri Sep 26 11:38:42 2014 -0700
@@ -9848,7 +9848,7 @@
                     href="#dfn-EcKeyAlgorithm-namedCurve">namedCurve</a> property of the [[<a
                     href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot of
                     <var>key</var>, then <a href="#concept-return-an-error">return an error</a>
-                    named <a href="#dfn-DataError"><code>DataError</code></a>.
+                    named <a href="#dfn-InvalidAccessError"><code>InvalidAccessError</code></a>.
                   </p>
                 </li>
                 <li>
--- a/spec/Overview.html	Fri Sep 26 11:30:58 2014 -0700
+++ b/spec/Overview.html	Fri Sep 26 11:38:42 2014 -0700
@@ -9504,7 +9504,7 @@
                     the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot of
                     <var>publicKey</var> is not equal to the <a href="#dfn-EcKeyAlgorithm-namedCurve">namedCurve</a> property of the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot of
                     <var>key</var>, then <a href="#concept-return-an-error">return an error</a>
-                    named <a href="#dfn-DataError"><code>DataError</code></a>.
+                    named <a href="#dfn-InvalidAccessError"><code>InvalidAccessError</code></a>.
                   </p>
                 </li>
                 <li>