Index: core/dom/DOMException.idl |
diff --git a/core/dom/DOMException.idl b/core/dom/DOMException.idl |
index c4e8919514c95ac4c9c2a4e0bb0602ae960a03d5..a2f4571d479aa356f8ba455c452c142306921b2f 100644 |
--- a/core/dom/DOMException.idl |
+++ b/core/dom/DOMException.idl |
@@ -26,7 +26,12 @@ |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// Web IDL exceptions are defined in prose rather than IDL. |
+// http://heycam.github.io/webidl/#idl-exceptions |
+// http://heycam.github.io/webidl/#es-DOMException |
+ |
[ |
+ Constructor(optional DOMString message = "", optional DOMString name = "Error"), |
Exposed=(Window,Worker), |
DoNotCheckConstants, |
GarbageCollected, |
@@ -77,4 +82,3 @@ |
const unsigned short INVALID_NODE_TYPE_ERR = 24; |
const unsigned short DATA_CLONE_ERR = 25; |
}; |
- |