tenfourfox/testing/web-platform/tests/WebIDL/valid/idl/attributes.widl
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

14 lines
295 B
Plaintext

// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06
exception InvalidName {
DOMString reason;
};
exception NoSuchPet { };
interface Person {
// A simple attribute that can be set to any value the range an unsigned
// short can take.
attribute unsigned short age;
};