2012-03-31 08:42:20 +04:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* The origin of this IDL file is
|
2013-05-18 21:52:06 +04:00
|
|
|
* http://dom.spec.whatwg.org/#domerror
|
2012-03-31 08:42:20 +04:00
|
|
|
*
|
|
|
|
* Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
|
|
|
|
* liability, trademark and document use rules apply.
|
|
|
|
*/
|
|
|
|
|
2014-11-06 18:54:38 +03:00
|
|
|
[Constructor(DOMString name, optional DOMString message = ""),
|
2014-12-17 09:26:15 +03:00
|
|
|
Exposed=(Window,Worker,System)]
|
2012-03-31 08:42:20 +04:00
|
|
|
interface DOMError {
|
2017-08-08 17:43:32 +03:00
|
|
|
[Constant, UseCounter]
|
2012-03-31 08:42:20 +04:00
|
|
|
readonly attribute DOMString name;
|
2013-05-18 21:52:06 +04:00
|
|
|
|
2017-08-08 17:43:32 +03:00
|
|
|
[Constant, UseCounter]
|
2013-05-18 21:52:06 +04:00
|
|
|
readonly attribute DOMString message;
|
2012-03-31 08:42:20 +04:00
|
|
|
};
|