summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/extensions/test/xpcshell/data/test_bug299716.rdf
blob: d60d8ca3f7c2ca510d27644ffabd511294f365f1 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE RDF:RDF [
  <!ENTITY bug299716 "urn:mozilla:extension:bug299716">
  <!ENTITY addons_prefix "http://localhost:4444/addons/test_bug299716">
  <!ENTITY v0.2 "<em:version>0.2</em:version>">

  <!ENTITY xpcshell.app "
    <em:id>xpcshell@tests.mozilla.org</em:id>
    <em:minVersion>5</em:minVersion>
    <em:maxVersion>5</em:maxVersion>
  ">

  <!ENTITY toolkit.app "
    <em:id>toolkit@mozilla.org</em:id>
    <em:minVersion>1.9</em:minVersion>
    <em:maxVersion>1.9</em:maxVersion>
  ">

  <!ENTITY invalidRange "
    <em:minVersion>30</em:minVersion>
    <em:maxVersion>30</em:maxVersion>
  ">

  <!ENTITY xpcshell.invalid "
    <em:id>xpcshell@tests.mozilla.org</em:id>
    &invalidRange;
  ">

  <!ENTITY toolkit.invalid "
    <em:id>toolkit@mozilla.org</em:id>
    &invalidRange;
  ">
]>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:em="http://www.mozilla.org/2004/em-rdf#">
  <!-- XPCShell -->
  <RDF:Description about="&bug299716;-a@tests.mozilla.org">
    <em:updates>
      <RDF:Seq>
        <RDF:li RDF:resource="&bug299716;-a@tests.mozilla.org:0.2"/>
      </RDF:Seq>
    </em:updates>
  </RDF:Description>

  <RDF:Description about="&bug299716;-a@tests.mozilla.org:0.2">
    &v0.2;
    <em:targetApplication>
      <RDF:Description em:updateLink="&addons_prefix;_a_2.xpi">
        &xpcshell.app;
      </RDF:Description>
    </em:targetApplication>
  </RDF:Description>

  <!-- Toolkit -->
  <RDF:Description about="&bug299716;-b@tests.mozilla.org">
    <em:updates>
      <RDF:Seq>
        <RDF:li RDF:resource="&bug299716;-b@tests.mozilla.org:0.2"/>
      </RDF:Seq>
    </em:updates>
  </RDF:Description>

  <RDF:Description about="&bug299716;-b@tests.mozilla.org:0.2">
    &v0.2;
    <em:targetApplication>
      <RDF:Description em:updateLink="&addons_prefix;_b_2.xpi">
        &toolkit.app;
      </RDF:Description>
    </em:targetApplication>
  </RDF:Description>

  <!-- XPCShell + Toolkit -->
  <RDF:Description about="&bug299716;-c@tests.mozilla.org">
    <em:updates>
      <RDF:Seq>
        <RDF:li RDF:resource="&bug299716;-c@tests.mozilla.org:0.2"/>
      </RDF:Seq>
    </em:updates>
  </RDF:Description>

  <RDF:Description about="&bug299716;-c@tests.mozilla.org:0.2">
    &v0.2;
    <em:targetApplication>
      <RDF:Description em:updateLink="&addons_prefix;_c_2.xpi">
        &xpcshell.app;
      </RDF:Description>
    </em:targetApplication>
    <em:targetApplication>
      <RDF:Description em:updateLink="&addons_prefix;_c_2.xpi">
        &toolkit.app;
      </RDF:Description>
    </em:targetApplication>
  </RDF:Description>

  <!-- XPCShell (Toolkit invalid) -->
  <RDF:Description about="&bug299716;-d@tests.mozilla.org">
    <em:updates>
      <RDF:Seq>
        <RDF:li RDF:resource="&bug299716;-d@tests.mozilla.org:0.2"/>
      </RDF:Seq>
    </em:updates>
  </RDF:Description>

  <RDF:Description about="&bug299716;-d@tests.mozilla.org:0.2">
    &v0.2;
    <em:targetApplication>
      <RDF:Description em:updateLink="&addons_prefix;_d_2.xpi">
        &xpcshell.app;
      </RDF:Description>
    </em:targetApplication>
    <em:targetApplication>
      <RDF:Description em:updateLink="&addons_prefix;_d_2.xpi">
        &toolkit.invalid;
      </RDF:Description>
    </em:targetApplication>
  </RDF:Description>

  <!-- Toolkit (XPCShell invalid), should not install -->
  <RDF:Description about="&bug299716;-e@tests.mozilla.org">
    <em:updates>
      <RDF:Seq>
        <RDF:li RDF:resource="&bug299716;-e@tests.mozilla.org:0.2"/>
      </RDF:Seq>
    </em:updates>
  </RDF:Description>

  <RDF:Description about="&bug299716;-e@tests.mozilla.org:0.2">
    &v0.2;
    <em:targetApplication>
      <RDF:Description em:updateLink="&addons_prefix;_e_2.xpi">
        &xpcshell.invalid;
      </RDF:Description>
    </em:targetApplication>
    <em:targetApplication>
      <RDF:Description em:updateLink="&addons_prefix;_e_2.xpi">
        &toolkit.app;
      </RDF:Description>
    </em:targetApplication>
  </RDF:Description>

  <!-- None (XPCShell, Toolkit invalid), should not install -->
  <RDF:Description about="&bug299716;-f@tests.mozilla.org">
    <em:updates>
      <RDF:Seq>
        <RDF:li RDF:resource="&bug299716;-f@tests.mozilla.org:0.2"/>
      </RDF:Seq>
    </em:updates>
  </RDF:Description>

  <RDF:Description about="&bug299716;-f@tests.mozilla.org:0.2">
    &v0.2;
    <em:targetApplication>
      <RDF:Description em:updateLink="&addons_prefix;_f_2.xpi">
        &xpcshell.invalid;
      </RDF:Description>
    </em:targetApplication>
    <em:targetApplication>
      <RDF:Description em:updateLink="&addons_prefix;_f_2.xpi">
        &toolkit.invalid;
      </RDF:Description>
    </em:targetApplication>
  </RDF:Description>

  <!-- Toolkit (invalid), should not install -->
  <RDF:Description about="&bug299716;-g@tests.mozilla.org">
    <em:updates>
      <RDF:Seq>
        <RDF:li RDF:resource="&bug299716;-g@tests.mozilla.org:0.2"/>
      </RDF:Seq>
    </em:updates>
  </RDF:Description>

  <RDF:Description about="&bug299716;-g@tests.mozilla.org:0.2">
    &v0.2;
    <em:targetApplication>
      <RDF:Description em:updateLink="&addons_prefix;_g_2.xpi">
        &toolkit.invalid;
      </RDF:Description>
    </em:targetApplication>
  </RDF:Description>
</RDF:RDF>