diff options
Diffstat (limited to 'testing/web-platform/tests/WebIDL/valid/xml/getter-setter.widlprocxml')
-rw-r--r-- | testing/web-platform/tests/WebIDL/valid/xml/getter-setter.widlprocxml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/web-platform/tests/WebIDL/valid/xml/getter-setter.widlprocxml b/testing/web-platform/tests/WebIDL/valid/xml/getter-setter.widlprocxml new file mode 100644 index 000000000..76afc058c --- /dev/null +++ b/testing/web-platform/tests/WebIDL/valid/xml/getter-setter.widlprocxml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE Definitions SYSTEM "widlprocxml.dtd"> +<Definitions> + <webidl>interface Dictionary { + readonly attribute unsigned long propertyCount; + + getter float (DOMString propertyName); + setter void (DOMString propertyName, float propertyValue); +};</webidl> + <Interface name="Dictionary" id="::Dictionary"> + <webidl>interface Dictionary { + readonly attribute unsigned long propertyCount; + + getter float (DOMString propertyName); + setter void (DOMString propertyName, float propertyValue); +};</webidl> + <Attribute readonly="readonly" name="propertyCount" id="::Dictionary::propertyCount"> + <webidl> readonly attribute unsigned long propertyCount;</webidl> + <Type type="unsigned long"/> + </Attribute> + <Operation getter="getter"> + <webidl> getter float (DOMString propertyName);</webidl> + <Type type="float"/> + <ArgumentList> + <Argument name="propertyName"> + <Type type="DOMString"/> + </Argument> + </ArgumentList> + </Operation> + <Operation setter="setter"> + <webidl> setter void (DOMString propertyName, float propertyValue);</webidl> + <Type type="void"/> + <ArgumentList> + <Argument name="propertyName"> + <Type type="DOMString"/> + </Argument> + <Argument name="propertyValue"> + <Type type="float"/> + </Argument> + </ArgumentList> + </Operation> + </Interface> +</Definitions> |