diff options
Diffstat (limited to 'testing/web-platform/tests/WebIDL/valid/xml/variadic-operations.widlprocxml')
-rw-r--r-- | testing/web-platform/tests/WebIDL/valid/xml/variadic-operations.widlprocxml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/web-platform/tests/WebIDL/valid/xml/variadic-operations.widlprocxml b/testing/web-platform/tests/WebIDL/valid/xml/variadic-operations.widlprocxml new file mode 100644 index 000000000..0bc9f7844 --- /dev/null +++ b/testing/web-platform/tests/WebIDL/valid/xml/variadic-operations.widlprocxml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE Definitions SYSTEM "widlprocxml.dtd"> +<Definitions> + <webidl>interface IntegerSet { + readonly attribute unsigned long cardinality; + + void union(long... ints); + void intersection(long... ints); +};</webidl> + <Interface name="IntegerSet" id="::IntegerSet"> + <webidl>interface IntegerSet { + readonly attribute unsigned long cardinality; + + void union(long... ints); + void intersection(long... ints); +};</webidl> + <Attribute readonly="readonly" name="cardinality" id="::IntegerSet::cardinality"> + <webidl> readonly attribute unsigned long cardinality;</webidl> + <Type type="unsigned long"/> + </Attribute> + <Operation name="union" id="::IntegerSet::union"> + <webidl> void union(long... ints);</webidl> + <Type type="void"/> + <ArgumentList> + <Argument ellipsis="ellipsis" name="ints"> + <Type type="long"/> + </Argument> + </ArgumentList> + </Operation> + <Operation name="intersection" id="::IntegerSet::intersection"> + <webidl> void intersection(long... ints);</webidl> + <Type type="void"/> + <ArgumentList> + <Argument ellipsis="ellipsis" name="ints"> + <Type type="long"/> + </Argument> + </ArgumentList> + </Operation> + </Interface> +</Definitions> |