diff options
Diffstat (limited to 'testing/web-platform/tests/WebIDL/valid/xml/stringifier-custom.widlprocxml')
-rw-r--r-- | testing/web-platform/tests/WebIDL/valid/xml/stringifier-custom.widlprocxml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/web-platform/tests/WebIDL/valid/xml/stringifier-custom.widlprocxml b/testing/web-platform/tests/WebIDL/valid/xml/stringifier-custom.widlprocxml new file mode 100644 index 000000000..cdab1ccfc --- /dev/null +++ b/testing/web-platform/tests/WebIDL/valid/xml/stringifier-custom.widlprocxml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE Definitions SYSTEM "widlprocxml.dtd"> +<Definitions> + <webidl>[Constructor] +interface Student { + attribute unsigned long id; + attribute DOMString? familyName; + attribute DOMString givenName; + + stringifier DOMString (); +};</webidl> + <Interface name="Student" id="::Student"> + <webidl>[Constructor] +interface Student { + attribute unsigned long id; + attribute DOMString? familyName; + attribute DOMString givenName; + + stringifier DOMString (); +};</webidl> + <ExtendedAttributeList> + <ExtendedAttribute name="Constructor"> + <webidl>Constructor</webidl> + </ExtendedAttribute> + </ExtendedAttributeList> + <Attribute name="id" id="::Student::id"> + <webidl> attribute unsigned long id;</webidl> + <Type type="unsigned long"/> + </Attribute> + <Attribute name="familyName" id="::Student::familyName"> + <webidl> attribute DOMString? familyName;</webidl> + <Type type="DOMString" nullable="nullable"/> + </Attribute> + <Attribute name="givenName" id="::Student::givenName"> + <webidl> attribute DOMString givenName;</webidl> + <Type type="DOMString"/> + </Attribute> + <Operation stringifier="stringifier"> + <webidl> stringifier DOMString ();</webidl> + <Type type="DOMString"/> + <ArgumentList/> + </Operation> + </Interface> +</Definitions> |