summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/WebIDL/valid/xml/treatasnull.widlprocxml
blob: a57ae163f0b98774dc84db1a975ff77992a8ced3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Definitions SYSTEM "widlprocxml.dtd">
<Definitions>
  <webidl>interface Dog {
  attribute DOMString name;
  attribute DOMString owner;

  boolean isMemberOfBreed([TreatNullAs=EmptyString] DOMString breedName);
};</webidl>
  <Interface name="Dog" id="::Dog">
    <webidl>interface Dog {
  attribute DOMString name;
  attribute DOMString owner;

  boolean isMemberOfBreed([TreatNullAs=EmptyString] DOMString breedName);
};</webidl>
    <Attribute name="name" id="::Dog::name">
      <webidl>  attribute DOMString name;</webidl>
      <Type type="DOMString"/>
    </Attribute>
    <Attribute name="owner" id="::Dog::owner">
      <webidl>  attribute DOMString owner;</webidl>
      <Type type="DOMString"/>
    </Attribute>
    <Operation name="isMemberOfBreed" id="::Dog::isMemberOfBreed">
      <webidl>  boolean isMemberOfBreed([TreatNullAs=EmptyString] DOMString breedName);</webidl>
      <Type type="boolean"/>
      <ArgumentList>
        <Argument name="breedName">
          <ExtendedAttributeList>
            <ExtendedAttribute name="TreatNullAs" value="EmptyString">
              <webidl>TreatNullAs</webidl>
            </ExtendedAttribute>
          </ExtendedAttributeList>
          <Type type="DOMString"/>
        </Argument>
      </ArgumentList>
    </Operation>
  </Interface>
</Definitions>