diff options
Diffstat (limited to 'testing/web-platform/tests/resources/webidl2/test/syntax/idl/attributes.widl')
-rw-r--r-- | testing/web-platform/tests/resources/webidl2/test/syntax/idl/attributes.widl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/resources/webidl2/test/syntax/idl/attributes.widl b/testing/web-platform/tests/resources/webidl2/test/syntax/idl/attributes.widl new file mode 100644 index 000000000..7e1d691cb --- /dev/null +++ b/testing/web-platform/tests/resources/webidl2/test/syntax/idl/attributes.widl @@ -0,0 +1,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; + +};
\ No newline at end of file |