Backout a74bd5095902, Bug 959405 - Please update the Buri Moz-central, 1.3, 1.2 with...
[gecko.git] / dom / webidl / DOMError.webidl
blob75e2a6e8883ca00778af4d9e1447404426e6c8ab
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4  * You can obtain one at http://mozilla.org/MPL/2.0/.
5  *
6  * The origin of this IDL file is
7  * http://dom.spec.whatwg.org/#domerror
8  *
9  * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
10  * liability, trademark and document use rules apply.
11  */
13 [Constructor(DOMString name, optional DOMString message = "")]
14 interface DOMError {
15   [Constant]
16   readonly attribute DOMString name;
18   [Constant]
19   readonly attribute DOMString message;
21   [ChromeOnly]
22   void init(DOMString name, optional DOMString message = "");