Bug 26214: Normalize on NotSupportedError for recognized but unsupported key formats in exportKey
--- a/spec/Overview-WebCryptoAPI.xml Thu Sep 25 11:07:56 2014 -0700
+++ b/spec/Overview-WebCryptoAPI.xml Thu Sep 25 14:28:27 2014 -0700
@@ -10883,13 +10883,6 @@
</li>
</ol>
</dd>
- <dt>Otherwise:</dt>
- <dd>
- <p>
- <a href="#concept-return-an-error">Return an error</a> named
- <a href="#dfn-NotSupportedError"><code>NotSupportedError</code></a>.
- </p>
- </dd>
</dl>
</li>
<li>
@@ -11444,6 +11437,13 @@
</li>
</ol>
</dd>
+ <dt>Otherwise:</dt>
+ <dd>
+ <p>
+ <a href="#concept-return-an-error">Return an error</a> named
+ <a href="#dfn-NotSupportedError"><code>NotSupportedError</code></a>.
+ </p>
+ </dd>
</dl>
</li>
<li>
@@ -11981,6 +11981,13 @@
</li>
</ol>
</dd>
+ <dt>Otherwise:</dt>
+ <dd>
+ <p>
+ <a href="#concept-return-an-error">Return an error</a> named
+ <a href="#dfn-NotSupportedError"><code>NotSupportedError</code></a>.
+ </p>
+ </dd>
</dl>
</li>
<li>
@@ -12485,6 +12492,13 @@
</li>
</ol>
</dd>
+ <dt>Otherwise:</dt>
+ <dd>
+ <p>
+ <a href="#concept-return-an-error">Return an error</a> named
+ <a href="#dfn-NotSupportedError"><code>NotSupportedError</code></a>.
+ </p>
+ </dd>
</dl>
</li>
<li>
@@ -13120,8 +13134,10 @@
</dd>
<dt>Otherwise:</dt>
<dd>
- <a href="#concept-return-an-error">Return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <p>
+ <a href="#concept-return-an-error">Return an error</a> named
+ <a href="#dfn-NotSupportedError"><code>NotSupportedError</code></a>.
+ </p>
</dd>
</dl>
</li>
@@ -13636,6 +13652,13 @@
</li>
</ol>
</dd>
+ <dt>Otherwise:</dt>
+ <dd>
+ <p>
+ <a href="#concept-return-an-error">Return an error</a> named
+ <a href="#dfn-NotSupportedError"><code>NotSupportedError</code></a>.
+ </p>
+ </dd>
</dl>
</li>
<li>
@@ -14108,6 +14131,13 @@
</li>
</ol>
</dd>
+ <dt>Otherwise:</dt>
+ <dd>
+ <p>
+ <a href="#concept-return-an-error">Return an error</a> named
+ <a href="#dfn-NotSupportedError"><code>NotSupportedError</code></a>.
+ </p>
+ </dd>
</dl>
</li>
<li>
@@ -14928,6 +14958,13 @@
</li>
</ol>
</dd>
+ <dt>Otherwise:</dt>
+ <dd>
+ <p>
+ <a href="#concept-return-an-error">Return an error</a> named
+ <a href="#dfn-NotSupportedError"><code>NotSupportedError</code></a>.
+ </p>
+ </dd>
</dl>
</li>
<li>
--- a/spec/Overview.html Thu Sep 25 11:07:56 2014 -0700
+++ b/spec/Overview.html Thu Sep 25 14:28:27 2014 -0700
@@ -10483,13 +10483,6 @@
</li>
</ol>
</dd>
- <dt>Otherwise:</dt>
- <dd>
- <p>
- <a href="#concept-return-an-error">Return an error</a> named
- <a href="#dfn-NotSupportedError"><code>NotSupportedError</code></a>.
- </p>
- </dd>
</dl>
</li>
<li>
@@ -11024,6 +11017,13 @@
</li>
</ol>
</dd>
+ <dt>Otherwise:</dt>
+ <dd>
+ <p>
+ <a href="#concept-return-an-error">Return an error</a> named
+ <a href="#dfn-NotSupportedError"><code>NotSupportedError</code></a>.
+ </p>
+ </dd>
</dl>
</li>
<li>
@@ -11549,6 +11549,13 @@
</li>
</ol>
</dd>
+ <dt>Otherwise:</dt>
+ <dd>
+ <p>
+ <a href="#concept-return-an-error">Return an error</a> named
+ <a href="#dfn-NotSupportedError"><code>NotSupportedError</code></a>.
+ </p>
+ </dd>
</dl>
</li>
<li>
@@ -12048,6 +12055,13 @@
</li>
</ol>
</dd>
+ <dt>Otherwise:</dt>
+ <dd>
+ <p>
+ <a href="#concept-return-an-error">Return an error</a> named
+ <a href="#dfn-NotSupportedError"><code>NotSupportedError</code></a>.
+ </p>
+ </dd>
</dl>
</li>
<li>
@@ -12666,8 +12680,10 @@
</dd>
<dt>Otherwise:</dt>
<dd>
- <a href="#concept-return-an-error">Return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <p>
+ <a href="#concept-return-an-error">Return an error</a> named
+ <a href="#dfn-NotSupportedError"><code>NotSupportedError</code></a>.
+ </p>
</dd>
</dl>
</li>
@@ -13162,6 +13178,13 @@
</li>
</ol>
</dd>
+ <dt>Otherwise:</dt>
+ <dd>
+ <p>
+ <a href="#concept-return-an-error">Return an error</a> named
+ <a href="#dfn-NotSupportedError"><code>NotSupportedError</code></a>.
+ </p>
+ </dd>
</dl>
</li>
<li>
@@ -13623,6 +13646,13 @@
</li>
</ol>
</dd>
+ <dt>Otherwise:</dt>
+ <dd>
+ <p>
+ <a href="#concept-return-an-error">Return an error</a> named
+ <a href="#dfn-NotSupportedError"><code>NotSupportedError</code></a>.
+ </p>
+ </dd>
</dl>
</li>
<li>
@@ -14429,6 +14459,13 @@
</li>
</ol>
</dd>
+ <dt>Otherwise:</dt>
+ <dd>
+ <p>
+ <a href="#concept-return-an-error">Return an error</a> named
+ <a href="#dfn-NotSupportedError"><code>NotSupportedError</code></a>.
+ </p>
+ </dd>
</dl>
</li>
<li>