// 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; | |
}; |