diff options
Diffstat (limited to 'testing/web-platform/tests/resources/webidl2/test/syntax/idl/reg-operations.widl')
-rw-r--r-- | testing/web-platform/tests/resources/webidl2/test/syntax/idl/reg-operations.widl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/resources/webidl2/test/syntax/idl/reg-operations.widl b/testing/web-platform/tests/resources/webidl2/test/syntax/idl/reg-operations.widl new file mode 100644 index 000000000..13997cb1d --- /dev/null +++ b/testing/web-platform/tests/resources/webidl2/test/syntax/idl/reg-operations.widl @@ -0,0 +1,17 @@ +// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 +interface Dimensions { + attribute unsigned long width; + attribute unsigned long height; +}; + +exception NoPointerDevice { }; + +interface Button { + + // An operation that takes no arguments, returns a boolean + boolean isMouseOver(); + + // Overloaded operations. + void setDimensions(Dimensions size); + void setDimensions(unsigned long width, unsigned long height); +};
\ No newline at end of file |