Bug 26911: Using keys with mismatched curves in ECDH should be InvalidAccessError
--- 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>