--- a/spec/Overview-WebCryptoAPI.xml Thu Sep 25 10:29:28 2014 -0700
+++ b/spec/Overview-WebCryptoAPI.xml Thu Sep 25 10:59:01 2014 -0700
@@ -11020,7 +11020,7 @@
<var>normalizedAlgorithm</var> does not have length 16
bytes,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -11029,7 +11029,7 @@
<var>normalizedAlgorithm</var> is zero or is greater
than 128,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -11064,7 +11064,7 @@
<var>normalizedAlgorithm</var> does not have length 16
bytes,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -11073,7 +11073,7 @@
<var>normalizedAlgorithm</var> is zero or is greater
than 128,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -11117,7 +11117,7 @@
<var>normalizedAlgorithm</var> is not equal to one of
128, 192 or 256,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
@@ -11563,7 +11563,7 @@
<var>normalizedAlgorithm</var> does not have length 16
bytes,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -11602,7 +11602,7 @@
<var>normalizedAlgorithm</var> does not have length 16
bytes,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -11661,7 +11661,7 @@
<var>normalizedAlgorithm</var> is not equal to one of
128, 192 or 256,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
@@ -11998,7 +11998,7 @@
If the <a href="#dfn-AesDerivedKeyParams-length">length</a> member of
<var>normalizedDerivedKeyAlgorithm</var> is not 128, 192 or 256,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -12097,7 +12097,7 @@
<p>
If <var>length</var> is zero or greater than 128,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -12129,7 +12129,7 @@
<p>
If <var>length</var> is zero or greater than 128,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -12166,7 +12166,7 @@
<var>normalizedAlgorithm</var> is not equal to one of
128, 192 or 256,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -12260,7 +12260,7 @@
<p>
If the length in bits of <var>data</var> is not 128, 192 or 256
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
</ol>
@@ -13140,7 +13140,7 @@
If the <a href="#dfn-AesDerivedKeyParams-length">length</a> member of
<var>normalizedDerivedKeyAlgorithm</var> is not 128, 192 or 256, then <a
href="#concept-return-an-error">return an error</a> named <a
- href="#dfn-DataError"><code>DataError</code></a>.
+ href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -13303,7 +13303,7 @@
If the <a href="#dfn-AesKeyGenParams-length">length</a> member of
<var>normalizedAlgorithm</var> is not equal to one of 128, 192 or 256, then <a
href="#concept-return-an-error">return an error</a> named <a
- href="#dfn-DataError"><code>DataError</code></a>.
+ href="#dfn-DataError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -13653,7 +13653,7 @@
If the <a href="#dfn-AesDerivedKeyParams-length">length</a> property of
<var>normalizedDerivedKeyAlgorithm</var> is not 128, 192 or 256, then <a
href="#concept-return-an-error">return an error</a> named <a
- href="#dfn-DataError"><code>DataError</code></a>.
+ href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -13796,7 +13796,7 @@
If the <a href="#dfn-AesKeyGenParams-length">length</a> property of
<var>normalizedAlgorithm</var> is not equal to one of 128, 192 or 256, then <a
href="#concept-return-an-error">return an error</a> named <a
- href="#dfn-DataError"><code>DataError</code></a>.
+ href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -14125,7 +14125,7 @@
If the <a href="#dfn-AesDerivedKeyParams-length">length</a> member of
<var>normalizedDerivedKeyAlgorithm</var> is not 128, 192 or 256, then <a
href="#concept-return-an-error">return an error</a> named <a
- href="#dfn-DataError"><code>DataError</code></a>.
+ href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -14963,7 +14963,7 @@
<dt>Otherwise:</dt>
<dd>
<a href="#concept-return-an-error">Return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</dd>
</dl>
</li>
@@ -15331,7 +15331,7 @@
<p>
If <var>extractable</var> is false,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -15521,7 +15521,7 @@
If <var>usages</var> contains a value which is not one of
<code>"deriveKey"</code> or <code>"deriveBits"</code>, then <a
href="#concept-return-an-error">return an error</a> named <a
- href="#dfn-DataError"><code>DataError</code></a>.
+ href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -16281,7 +16281,7 @@
<li>
<p>
If <var>length</var> is null, then <a href="#concept-return-an-error">return
- an error</a> named <a href="#dfn-DataError"><code>DataError</code></a>.
+ an error</a> named <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -16568,7 +16568,7 @@
<p>
If <var>length</var> is null or is not a multiple of 8, then <a
href="#concept-return-an-error">return an error</a> named <a
- href="#dfn-DataError"><code>DataError</code></a>.
+ href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -16630,7 +16630,7 @@
<p>
If <var>extractable</var> is true, then <a
href="#concept-return-an-error">return an error</a> named <a
- href="#dfn-DataError"><code>DataError</code></a>.
+ href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
--- a/spec/Overview.html Thu Sep 25 10:29:28 2014 -0700
+++ b/spec/Overview.html Thu Sep 25 10:59:01 2014 -0700
@@ -10620,7 +10620,7 @@
<var>normalizedAlgorithm</var> does not have length 16
bytes,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -10629,7 +10629,7 @@
<var>normalizedAlgorithm</var> is zero or is greater
than 128,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -10660,7 +10660,7 @@
<var>normalizedAlgorithm</var> does not have length 16
bytes,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -10669,7 +10669,7 @@
<var>normalizedAlgorithm</var> is zero or is greater
than 128,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -10709,7 +10709,7 @@
<var>normalizedAlgorithm</var> is not equal to one of
128, 192 or 256,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
@@ -11143,7 +11143,7 @@
<var>normalizedAlgorithm</var> does not have length 16
bytes,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -11179,7 +11179,7 @@
<var>normalizedAlgorithm</var> does not have length 16
bytes,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -11234,7 +11234,7 @@
<var>normalizedAlgorithm</var> is not equal to one of
128, 192 or 256,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
@@ -11566,7 +11566,7 @@
If the <a href="#dfn-AesDerivedKeyParams-length">length</a> member of
<var>normalizedDerivedKeyAlgorithm</var> is not 128, 192 or 256,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -11665,7 +11665,7 @@
<p>
If <var>length</var> is zero or greater than 128,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -11697,7 +11697,7 @@
<p>
If <var>length</var> is zero or greater than 128,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -11734,7 +11734,7 @@
<var>normalizedAlgorithm</var> is not equal to one of
128, 192 or 256,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -11828,7 +11828,7 @@
<p>
If the length in bits of <var>data</var> is not 128, 192 or 256
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
</ol>
@@ -12684,7 +12684,7 @@
<li>
<p>
If the <a href="#dfn-AesDerivedKeyParams-length">length</a> member of
- <var>normalizedDerivedKeyAlgorithm</var> is not 128, 192 or 256, then <a href="#concept-return-an-error">return an error</a> named <a href="#dfn-DataError"><code>DataError</code></a>.
+ <var>normalizedDerivedKeyAlgorithm</var> is not 128, 192 or 256, then <a href="#concept-return-an-error">return an error</a> named <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -12835,7 +12835,7 @@
<li>
<p>
If the <a href="#dfn-AesKeyGenParams-length">length</a> member of
- <var>normalizedAlgorithm</var> is not equal to one of 128, 192 or 256, then <a href="#concept-return-an-error">return an error</a> named <a href="#dfn-DataError"><code>DataError</code></a>.
+ <var>normalizedAlgorithm</var> is not equal to one of 128, 192 or 256, then <a href="#concept-return-an-error">return an error</a> named <a href="#dfn-DataError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -13177,7 +13177,7 @@
<li>
<p>
If the <a href="#dfn-AesDerivedKeyParams-length">length</a> property of
- <var>normalizedDerivedKeyAlgorithm</var> is not 128, 192 or 256, then <a href="#concept-return-an-error">return an error</a> named <a href="#dfn-DataError"><code>DataError</code></a>.
+ <var>normalizedDerivedKeyAlgorithm</var> is not 128, 192 or 256, then <a href="#concept-return-an-error">return an error</a> named <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -13316,7 +13316,7 @@
<li>
<p>
If the <a href="#dfn-AesKeyGenParams-length">length</a> property of
- <var>normalizedAlgorithm</var> is not equal to one of 128, 192 or 256, then <a href="#concept-return-an-error">return an error</a> named <a href="#dfn-DataError"><code>DataError</code></a>.
+ <var>normalizedAlgorithm</var> is not equal to one of 128, 192 or 256, then <a href="#concept-return-an-error">return an error</a> named <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -13638,7 +13638,7 @@
<li>
<p>
If the <a href="#dfn-AesDerivedKeyParams-length">length</a> member of
- <var>normalizedDerivedKeyAlgorithm</var> is not 128, 192 or 256, then <a href="#concept-return-an-error">return an error</a> named <a href="#dfn-DataError"><code>DataError</code></a>.
+ <var>normalizedDerivedKeyAlgorithm</var> is not 128, 192 or 256, then <a href="#concept-return-an-error">return an error</a> named <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -14464,7 +14464,7 @@
<dt>Otherwise:</dt>
<dd>
<a href="#concept-return-an-error">Return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</dd>
</dl>
</li>
@@ -14817,7 +14817,7 @@
<p>
If <var>extractable</var> is false,
then <a href="#concept-return-an-error">return an error</a> named
- <a href="#dfn-DataError"><code>DataError</code></a>.
+ <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -14990,7 +14990,7 @@
<li>
<p>
If <var>usages</var> contains a value which is not one of
- <code>"deriveKey"</code> or <code>"deriveBits"</code>, then <a href="#concept-return-an-error">return an error</a> named <a href="#dfn-DataError"><code>DataError</code></a>.
+ <code>"deriveKey"</code> or <code>"deriveBits"</code>, then <a href="#concept-return-an-error">return an error</a> named <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -15724,7 +15724,7 @@
<li>
<p>
If <var>length</var> is null, then <a href="#concept-return-an-error">return
- an error</a> named <a href="#dfn-DataError"><code>DataError</code></a>.
+ an error</a> named <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -16006,7 +16006,7 @@
<ol>
<li>
<p>
- If <var>length</var> is null or is not a multiple of 8, then <a href="#concept-return-an-error">return an error</a> named <a href="#dfn-DataError"><code>DataError</code></a>.
+ If <var>length</var> is null or is not a multiple of 8, then <a href="#concept-return-an-error">return an error</a> named <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>
@@ -16064,7 +16064,7 @@
</li>
<li>
<p>
- If <var>extractable</var> is true, then <a href="#concept-return-an-error">return an error</a> named <a href="#dfn-DataError"><code>DataError</code></a>.
+ If <var>extractable</var> is true, then <a href="#concept-return-an-error">return an error</a> named <a href="#dfn-SyntaxError"><code>SyntaxError</code></a>.
</p>
</li>
<li>