gecko/dom/interfaces/svg/nsIDOMSVGException.idl
2012-05-21 12:12:37 +01:00

22 lines
731 B
Plaintext

/* -*- Mode: C++; 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/. */
/**
* Corresponds to http://www.w3.org/TR/SVG11/svgdom.html#InterfaceSVGException
*/
#include "domstubs.idl"
[scriptable, uuid(64e6f0e1-af99-4bb9-ab25-7e56012f0021)]
interface nsIDOMSVGException : nsISupports
{
// SVGExceptionCode
const unsigned short SVG_WRONG_TYPE_ERR = 0;
const unsigned short SVG_INVALID_VALUE_ERR = 1;
const unsigned short SVG_MATRIX_NOT_INVERTABLE = 2;
readonly attribute unsigned short code;
};