Bug 25912: remove requirement to populate the message field of the DOMException
--- a/spec/Overview-WebCryptoAPI.xml Fri Sep 26 10:02:03 2014 -0700
+++ b/spec/Overview-WebCryptoAPI.xml Fri Sep 26 10:47:58 2014 -0700
@@ -2703,7 +2703,7 @@
The methods of the <a href="#dfn-SubtleCrypto">SubtleCrypto</a> interface return errors
by rejecting the returned promise with a
<a href="#dfn-DOMException">DOMException</a>. The following DOMException types from
- [<a href="#DOM4">DOM4</a>] are used with messages as shown in the following table:
+ [<a href="#DOM4">DOM4</a>] are used:
</p>
<table>
<tbody>
@@ -2757,8 +2757,7 @@
<dfn id="concept-return-an-error">return an error</dfn> named <var>error</var>,
where <var>error</var>
is one of the above error names, the user agent must return a
- <a href="#dfn-DOMException">DOMException</a> with name <var>error</var> and message as
- defined in the above two tables.
+ <a href="#dfn-DOMException">DOMException</a> with name <var>error</var>.
</p>
</div>
</div>
--- a/spec/Overview.html Fri Sep 26 10:02:03 2014 -0700
+++ b/spec/Overview.html Fri Sep 26 10:47:58 2014 -0700
@@ -2656,7 +2656,7 @@
The methods of the <a href="#dfn-SubtleCrypto">SubtleCrypto</a> interface return errors
by rejecting the returned promise with a
<a href="#dfn-DOMException">DOMException</a>. The following DOMException types from
- [<a href="#DOM4">DOM4</a>] are used with messages as shown in the following table:
+ [<a href="#DOM4">DOM4</a>] are used:
</p>
<table>
<tbody>
@@ -2710,8 +2710,7 @@
<dfn id="concept-return-an-error">return an error</dfn> named <var>error</var>,
where <var>error</var>
is one of the above error names, the user agent must return a
- <a href="#dfn-DOMException">DOMException</a> with name <var>error</var> and message as
- defined in the above two tables.
+ <a href="#dfn-DOMException">DOMException</a> with name <var>error</var>.
</p>
</div>
</div>