mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-10-09 16:55:15 +00:00
18 lines
575 B
Plaintext
18 lines
575 B
Plaintext
// getraises and setraises are not longer valid Web IDL
|
|
interface Person {
|
|
|
|
// An attribute that can raise an exception if it is set to an invalid value.
|
|
attribute DOMString name setraises (InvalidName);
|
|
|
|
// An attribute whose value cannot be assigned to, and which can raise an
|
|
// exception some circumstances.
|
|
readonly attribute DOMString petName getraises (NoSuchPet);
|
|
};
|
|
|
|
exception SomeException {
|
|
};
|
|
|
|
interface ExceptionThrower {
|
|
// This attribute always throws a SomeException and never returns a value.
|
|
attribute long valueOf getraises(SomeException);
|
|
}; |