summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resources/webidl2/test/syntax/idl/attributes.widl
blob: 7e1d691cbe28afdc58082a7fd81cbdb4f37cf456 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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;

};