diff options
Diffstat (limited to 'testing/web-platform/tests/WebIDL/valid/xml/namedconstructor.widlprocxml')
-rw-r--r-- | testing/web-platform/tests/WebIDL/valid/xml/namedconstructor.widlprocxml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/web-platform/tests/WebIDL/valid/xml/namedconstructor.widlprocxml b/testing/web-platform/tests/WebIDL/valid/xml/namedconstructor.widlprocxml new file mode 100644 index 000000000..9f6616128 --- /dev/null +++ b/testing/web-platform/tests/WebIDL/valid/xml/namedconstructor.widlprocxml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE Definitions SYSTEM "widlprocxml.dtd"> +<Definitions> + <webidl>[NamedConstructor=Audio, + NamedConstructor=Audio(DOMString src)] +interface HTMLAudioElement : <ref>HTMLMediaElement</ref> { +};</webidl> + <Interface name="HTMLAudioElement" id="::HTMLAudioElement"> + <webidl>[NamedConstructor=Audio, + NamedConstructor=Audio(DOMString src)] +interface HTMLAudioElement : <ref>HTMLMediaElement</ref> { +};</webidl> + <ExtendedAttributeList> + <ExtendedAttribute name="NamedConstructor" value="Audio"> + <webidl>NamedConstructor</webidl> + </ExtendedAttribute> + <ExtendedAttribute name="NamedConstructor" value="Audio"> + <webidl> NamedConstructor=Audio(DOMString src)</webidl> + <ArgumentList> + <Argument name="src"> + <Type type="DOMString"/> + </Argument> + </ArgumentList> + </ExtendedAttribute> + </ExtendedAttributeList> + <InterfaceInheritance> + <Name name="HTMLMediaElement"/> + </InterfaceInheritance> + </Interface> +</Definitions> |