toolkit/mozapps/extensions/test/xpcshell/data/test_updatecheck.rdf

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <?xml version="1.0" encoding="UTF-8"?>
michael@0 2
michael@0 3 <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
michael@0 4 xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
michael@0 5 xmlns:em="http://www.mozilla.org/2004/em-rdf#">
michael@0 6
michael@0 7 <Description about="urn:mozilla:extension:updatecheck1@tests.mozilla.org">
michael@0 8 <em:updates>
michael@0 9 <Seq>
michael@0 10 <li>
michael@0 11 <Description>
michael@0 12 <em:version>1.0</em:version>
michael@0 13 <em:targetApplication>
michael@0 14 <Description>
michael@0 15 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 16 <em:minVersion>1</em:minVersion>
michael@0 17 <em:maxVersion>1</em:maxVersion>
michael@0 18 <em:updateLink>https://localhost:4444/addons/test1.xpi</em:updateLink>
michael@0 19 </Description>
michael@0 20 </em:targetApplication>
michael@0 21 </Description>
michael@0 22 </li>
michael@0 23 <!-- This update is incompatible and so should not be considered a valid
michael@0 24 update -->
michael@0 25 <li>
michael@0 26 <Description>
michael@0 27 <em:version>2.0</em:version>
michael@0 28 <em:targetApplication>
michael@0 29 <Description>
michael@0 30 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 31 <em:minVersion>2</em:minVersion>
michael@0 32 <em:maxVersion>2</em:maxVersion>
michael@0 33 <em:updateLink>https://localhost:4444/addons/test2.xpi</em:updateLink>
michael@0 34 </Description>
michael@0 35 </em:targetApplication>
michael@0 36 </Description>
michael@0 37 </li>
michael@0 38 <li>
michael@0 39 <Description>
michael@0 40 <em:version>3.0</em:version>
michael@0 41 <em:targetApplication>
michael@0 42 <Description>
michael@0 43 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 44 <em:minVersion>1</em:minVersion>
michael@0 45 <em:maxVersion>1</em:maxVersion>
michael@0 46 <em:updateLink>https://localhost:4444/addons/test3.xpi</em:updateLink>
michael@0 47 </Description>
michael@0 48 </em:targetApplication>
michael@0 49 </Description>
michael@0 50 </li>
michael@0 51 <li>
michael@0 52 <Description>
michael@0 53 <em:version>2.0</em:version>
michael@0 54 <em:targetApplication>
michael@0 55 <Description>
michael@0 56 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 57 <em:minVersion>1</em:minVersion>
michael@0 58 <em:maxVersion>2</em:maxVersion>
michael@0 59 <em:updateLink>https://localhost:4444/addons/test2.xpi</em:updateLink>
michael@0 60 </Description>
michael@0 61 </em:targetApplication>
michael@0 62 </Description>
michael@0 63 </li>
michael@0 64 <!-- This update is incompatible and so should not be considered a valid
michael@0 65 update -->
michael@0 66 <li>
michael@0 67 <Description>
michael@0 68 <em:version>4.0</em:version>
michael@0 69 <em:targetApplication>
michael@0 70 <Description>
michael@0 71 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 72 <em:minVersion>2</em:minVersion>
michael@0 73 <em:maxVersion>2</em:maxVersion>
michael@0 74 <em:updateLink>https://localhost:4444/addons/test4.xpi</em:updateLink>
michael@0 75 </Description>
michael@0 76 </em:targetApplication>
michael@0 77 </Description>
michael@0 78 </li>
michael@0 79 </Seq>
michael@0 80 </em:updates>
michael@0 81 </Description>
michael@0 82
michael@0 83 <!-- An update with no signature which will fail if retrieved with an update
michael@0 84 key. The updateLink will also be ignored since it is not secure and there
michael@0 85 is no updateHash. -->
michael@0 86 <RDF:Description about="urn:mozilla:extension:test_bug378216_5@tests.mozilla.org">
michael@0 87 <em:updates>
michael@0 88 <RDF:Seq>
michael@0 89 <RDF:li>
michael@0 90 <RDF:Description>
michael@0 91 <em:version>2.0</em:version>
michael@0 92 <em:targetApplication>
michael@0 93 <RDF:Description>
michael@0 94 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 95 <em:minVersion>1</em:minVersion>
michael@0 96 <em:maxVersion>1</em:maxVersion>
michael@0 97 <em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
michael@0 98 </RDF:Description>
michael@0 99 </em:targetApplication>
michael@0 100 </RDF:Description>
michael@0 101 </RDF:li>
michael@0 102 </RDF:Seq>
michael@0 103 </em:updates>
michael@0 104 </RDF:Description>
michael@0 105
michael@0 106 <!-- An update with a broken signature which will fail if retrieved with an
michael@0 107 update key. The updateLink will also be ignored since it is not secure
michael@0 108 and there is no updateHash. -->
michael@0 109 <RDF:Description about="urn:mozilla:extension:test_bug378216_7@tests.mozilla.org">
michael@0 110 <em:updates>
michael@0 111 <RDF:Seq>
michael@0 112 <RDF:li>
michael@0 113 <RDF:Description>
michael@0 114 <em:version>2.0</em:version>
michael@0 115 <em:targetApplication>
michael@0 116 <RDF:Description>
michael@0 117 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 118 <em:minVersion>1</em:minVersion>
michael@0 119 <em:maxVersion>2</em:maxVersion>
michael@0 120 <em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
michael@0 121 </RDF:Description>
michael@0 122 </em:targetApplication>
michael@0 123 </RDF:Description>
michael@0 124 </RDF:li>
michael@0 125 </RDF:Seq>
michael@0 126 </em:updates>
michael@0 127 <em:signature>MIGTMA0GCSqGSIb3DQEBBQUAA4GBAMO1O2gwSCCth1GwYMgscfaNakpN40PJfOWt
michael@0 128 ub2HVdg8+OXMciF8d/9eVWm8eH/IxuxyZlmRZTs3O5tv9eWAY5uBCtqDf1WgTsGk
michael@0 129 jrgZow1fITkZI7w0//C8eKdMLAtGueGfNs2IlTd5P/0KH/hf1rPc1wUqEqKCd4+L
michael@0 130 BcVq13ad</em:signature>
michael@0 131 </RDF:Description>
michael@0 132
michael@0 133 <!-- An update with a valid signature. The updateLink will be ignored since it
michael@0 134 is not secure and there is no updateHash. -->
michael@0 135 <RDF:Description about="urn:mozilla:extension:test_bug378216_8@tests.mozilla.org">
michael@0 136 <em:updates>
michael@0 137 <RDF:Seq>
michael@0 138 <RDF:li>
michael@0 139 <RDF:Description>
michael@0 140 <em:version>2.0</em:version>
michael@0 141 <em:targetApplication>
michael@0 142 <RDF:Description>
michael@0 143 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 144 <em:minVersion>1</em:minVersion>
michael@0 145 <em:maxVersion>1</em:maxVersion>
michael@0 146 <em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
michael@0 147 </RDF:Description>
michael@0 148 </em:targetApplication>
michael@0 149 </RDF:Description>
michael@0 150 </RDF:li>
michael@0 151 </RDF:Seq>
michael@0 152 </em:updates>
michael@0 153 <em:signature>MIGTMA0GCSqGSIb3DQEBBQUAA4GBAMH/33P/bn148mVkAB8i5X8c4LhY52E+MPUT
michael@0 154 yKHGpowZnRLgL2O0dfpm+rljOBfKi51322PFrsc6VIFml6x4Lrb5foxSyB0Vs9pb
michael@0 155 SEDFWUKquOQvceQ9iEx5Pe0VzrmUZgcQxd8ksSunWL4wJaBZ/evE5amFC6sw3pv/
michael@0 156 fjt8p3GN</em:signature>
michael@0 157 </RDF:Description>
michael@0 158
michael@0 159 <!-- An update with a valid signature. The updateLink will used since there is
michael@0 160 an updateHash to verify it. -->
michael@0 161 <RDF:Description about="urn:mozilla:extension:test_bug378216_9@tests.mozilla.org">
michael@0 162 <em:updates>
michael@0 163 <RDF:Seq>
michael@0 164 <RDF:li>
michael@0 165 <RDF:Description>
michael@0 166 <em:version>2.0</em:version>
michael@0 167 <em:targetApplication>
michael@0 168 <RDF:Description>
michael@0 169 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 170 <em:minVersion>1</em:minVersion>
michael@0 171 <em:maxVersion>1</em:maxVersion>
michael@0 172 <em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
michael@0 173 <em:updateHash>sha1:78fc1d2887eda35b4ad2e3a0b60120ca271ce6e6</em:updateHash>
michael@0 174 </RDF:Description>
michael@0 175 </em:targetApplication>
michael@0 176 </RDF:Description>
michael@0 177 </RDF:li>
michael@0 178 </RDF:Seq>
michael@0 179 </em:updates>
michael@0 180 <em:signature>MIGTMA0GCSqGSIb3DQEBBQUAA4GBAJ5Dv3Zd7/j5dLchCw9iO/cxPq8oOhOYD2M+
michael@0 181 jUKvmHCyTBRIEaJrE4N7yVbRYk++ERIfyVepLivsVi4pBmF7JTdw0NaKUA0LiOoT
michael@0 182 mRL8I7s5NPjCiiNcdqbncWyiZwIj1w1nkbWGTlH/gEjRW/LbvT4JAuec8yNFDa4S
michael@0 183 X8mOMf7k</em:signature>
michael@0 184 </RDF:Description>
michael@0 185
michael@0 186 <!-- An update with a valid signature. The updateLink will used since it is
michael@0 187 a secure URL. -->
michael@0 188 <RDF:Description about="urn:mozilla:extension:test_bug378216_10@tests.mozilla.org">
michael@0 189 <em:updates>
michael@0 190 <RDF:Seq>
michael@0 191 <RDF:li>
michael@0 192 <RDF:Description>
michael@0 193 <em:version>2.0</em:version>
michael@0 194 <em:targetApplication>
michael@0 195 <RDF:Description>
michael@0 196 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 197 <em:minVersion>1</em:minVersion>
michael@0 198 <em:maxVersion>1</em:maxVersion>
michael@0 199 <em:updateLink>https://localhost:4444/broken.xpi</em:updateLink>
michael@0 200 </RDF:Description>
michael@0 201 </em:targetApplication>
michael@0 202 </RDF:Description>
michael@0 203 </RDF:li>
michael@0 204 </RDF:Seq>
michael@0 205 </em:updates>
michael@0 206 <em:signature>MIGTMA0GCSqGSIb3DQEBBQUAA4GBAGvf7XqqoTl5WofrNq55E7W+UttOEDXLB3Oi
michael@0 207 XDiXe0i6njlozilseaUo1hgfQhhzN9gkyetP5tGBVcLRrVyliKpJmD6ABCVGW1lS
michael@0 208 qS+SEw7gDHyHkvwKMyWKedpRGChqLYnnf+Y+CX3MWLZLkwPXMKdTYgN3Rx0lEnJk
michael@0 209 37LSEMKE</em:signature>
michael@0 210 </RDF:Description>
michael@0 211
michael@0 212 <!-- An update with a valid signature. The updateLink will used since it is
michael@0 213 a secure URL. -->
michael@0 214 <RDF:Description about="urn:mozilla:extension:test_bug378216_11@tests.mozilla.org">
michael@0 215 <em:updates>
michael@0 216 <RDF:Seq>
michael@0 217 <RDF:li>
michael@0 218 <RDF:Description>
michael@0 219 <em:version>2.0</em:version>
michael@0 220 <em:targetApplication>
michael@0 221 <RDF:Description>
michael@0 222 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 223 <em:minVersion>1</em:minVersion>
michael@0 224 <em:maxVersion>1</em:maxVersion>
michael@0 225 <em:updateLink>https://localhost:4444/broken.xpi</em:updateLink>
michael@0 226 <em:updateHash>sha1:78fc1d2887eda35b4ad2e3a0b60120ca271ce6e6</em:updateHash>
michael@0 227 </RDF:Description>
michael@0 228 </em:targetApplication>
michael@0 229 </RDF:Description>
michael@0 230 </RDF:li>
michael@0 231 </RDF:Seq>
michael@0 232 </em:updates>
michael@0 233 <em:signature>MIGTMA0GCSqGSIb3DQEBBQUAA4GBACMX/KReOGSJ8CMGRroH1v3Gjv/Qs/pqH+Ow
michael@0 234 o+hCKWLUKx7hpJgVJkXXdAHW0U88NXlp1S2H0WqA7I/CdmNXJSPzzV/J4z1dZgXh
michael@0 235 JbW6mqNb0pj6nIe7g8OLzSxDgBmO4DUP5DAmnmqciJLWQzN7OdbcwrWz6xPN5kZF
michael@0 236 A90eF5zy</em:signature>
michael@0 237 </RDF:Description>
michael@0 238
michael@0 239 <!-- An update with a valid signature. The updateLink will used since the
michael@0 240 updateHash verifying it is not strong enough. -->
michael@0 241 <RDF:Description about="urn:mozilla:extension:test_bug378216_12@tests.mozilla.org">
michael@0 242 <em:updates>
michael@0 243 <RDF:Seq>
michael@0 244 <RDF:li>
michael@0 245 <RDF:Description>
michael@0 246 <em:version>2.0</em:version>
michael@0 247 <em:targetApplication>
michael@0 248 <RDF:Description>
michael@0 249 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 250 <em:minVersion>1</em:minVersion>
michael@0 251 <em:maxVersion>1</em:maxVersion>
michael@0 252 <em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
michael@0 253 <em:updateHash>md2:78fc1d2887eda35b4ad2e3a0b60120ca271ce6e6</em:updateHash>
michael@0 254 </RDF:Description>
michael@0 255 </em:targetApplication>
michael@0 256 </RDF:Description>
michael@0 257 </RDF:li>
michael@0 258 </RDF:Seq>
michael@0 259 </em:updates>
michael@0 260 <em:signature>MIGTMA0GCSqGSIb3DQEBBQUAA4GBAJRfcFvHIWxVyycCw8IjNmEhabc2uqA1zQwp
michael@0 261 5oKh3Y23hwIsQ6xy68Wtjte1NEYFRt5fWkbMXj9YQj6LpVbzBKiGATcrq6MycZKK
michael@0 262 o5N22cWbrKKRweJezTyN4eLfQg21pG7r8mdfS0bIA28ZVFtQOmORejoUesEouCGy
michael@0 263 eKYk9nS2</em:signature>
michael@0 264 </RDF:Description>
michael@0 265
michael@0 266 <!-- An update with a valid signature. The updateLink will used since it is
michael@0 267 a secure URL. -->
michael@0 268 <RDF:Description about="urn:mozilla:extension:test_bug378216_13@tests.mozilla.org">
michael@0 269 <em:updates>
michael@0 270 <RDF:Seq>
michael@0 271 <RDF:li>
michael@0 272 <RDF:Description>
michael@0 273 <em:version>2.0</em:version>
michael@0 274 <em:targetApplication>
michael@0 275 <RDF:Description>
michael@0 276 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 277 <em:minVersion>1</em:minVersion>
michael@0 278 <em:maxVersion>1</em:maxVersion>
michael@0 279 <em:updateLink>https://localhost:4444/broken.xpi</em:updateLink>
michael@0 280 <em:updateHash>md2:78fc1d2887eda35b4ad2e3a0b60120ca271ce6e6</em:updateHash>
michael@0 281 </RDF:Description>
michael@0 282 </em:targetApplication>
michael@0 283 </RDF:Description>
michael@0 284 </RDF:li>
michael@0 285 </RDF:Seq>
michael@0 286 </em:updates>
michael@0 287 <em:signature>MIGTMA0GCSqGSIb3DQEBBQUAA4GBALQKwzLFr/VOw3gJvv/LCh3/PWDd9FqmFnX+
michael@0 288 hJjBmCaUDtG7CXn1i0h8ed8IeRHpLLT7FCzVwU3bH9BUjdm8wc3ObtlNbd8go01a
michael@0 289 CoXz50r3rYPcYz4WS+7/+lvrUqsuWd9Wj+q0NeCPiNaaro6/AolE2Qf5JFRL3lxY
michael@0 290 lsKWAnVO</em:signature>
michael@0 291 </RDF:Description>
michael@0 292
michael@0 293 <!-- There should be no information present for test_bug378216_14 -->
michael@0 294
michael@0 295 <!-- Invalid update RDF -->
michael@0 296 <RDF:Description about="urn:mozilla:extension:test_bug378216_15@tests.mozilla.org">
michael@0 297 <em:updates>Foo</em:updates>
michael@0 298 </RDF:Description>
michael@0 299
michael@0 300 <!-- Various updates available - one is not compatible, but compatibility checking is disabled -->
michael@0 301 <Description about="urn:mozilla:extension:ignore-compat@tests.mozilla.org">
michael@0 302 <em:updates>
michael@0 303 <Seq>
michael@0 304 <li>
michael@0 305 <Description>
michael@0 306 <em:version>1.0</em:version>
michael@0 307 <em:targetApplication>
michael@0 308 <Description>
michael@0 309 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 310 <em:minVersion>0.1</em:minVersion>
michael@0 311 <em:maxVersion>0.2</em:maxVersion>
michael@0 312 <em:updateLink>https://localhost:4444/addons/test1.xpi</em:updateLink>
michael@0 313 </Description>
michael@0 314 </em:targetApplication>
michael@0 315 </Description>
michael@0 316 </li>
michael@0 317 <li>
michael@0 318 <Description>
michael@0 319 <em:version>2.0</em:version>
michael@0 320 <em:targetApplication>
michael@0 321 <Description>
michael@0 322 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 323 <em:minVersion>0.5</em:minVersion>
michael@0 324 <em:maxVersion>0.6</em:maxVersion>
michael@0 325 <em:updateLink>https://localhost:4444/addons/test2.xpi</em:updateLink>
michael@0 326 </Description>
michael@0 327 </em:targetApplication>
michael@0 328 </Description>
michael@0 329 </li>
michael@0 330 <!-- Update for future app versions - should never be compatible -->
michael@0 331 <li>
michael@0 332 <Description>
michael@0 333 <em:version>3.0</em:version>
michael@0 334 <em:targetApplication>
michael@0 335 <Description>
michael@0 336 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 337 <em:minVersion>2</em:minVersion>
michael@0 338 <em:maxVersion>3</em:maxVersion>
michael@0 339 <em:updateLink>https://localhost:4444/addons/test3.xpi</em:updateLink>
michael@0 340 </Description>
michael@0 341 </em:targetApplication>
michael@0 342 </Description>
michael@0 343 </li>
michael@0 344 </Seq>
michael@0 345 </em:updates>
michael@0 346 </Description>
michael@0 347
michael@0 348 <!-- Various updates available - one is not compatible, but compatibility checking is disabled -->
michael@0 349 <Description about="urn:mozilla:extension:compat-override@tests.mozilla.org">
michael@0 350 <em:updates>
michael@0 351 <Seq>
michael@0 352 <!-- Has compatibility override, but it doesn't match this app version -->
michael@0 353 <li>
michael@0 354 <Description>
michael@0 355 <em:version>1.0</em:version>
michael@0 356 <em:targetApplication>
michael@0 357 <Description>
michael@0 358 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 359 <em:minVersion>0.1</em:minVersion>
michael@0 360 <em:maxVersion>0.2</em:maxVersion>
michael@0 361 <em:updateLink>https://localhost:4444/addons/test1.xpi</em:updateLink>
michael@0 362 </Description>
michael@0 363 </em:targetApplication>
michael@0 364 </Description>
michael@0 365 </li>
michael@0 366 <!-- Has compatibility override, so is incompaible -->
michael@0 367 <li>
michael@0 368 <Description>
michael@0 369 <em:version>2.0</em:version>
michael@0 370 <em:targetApplication>
michael@0 371 <Description>
michael@0 372 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 373 <em:minVersion>0.5</em:minVersion>
michael@0 374 <em:maxVersion>0.6</em:maxVersion>
michael@0 375 <em:updateLink>https://localhost:4444/addons/test2.xpi</em:updateLink>
michael@0 376 </Description>
michael@0 377 </em:targetApplication>
michael@0 378 </Description>
michael@0 379 </li>
michael@0 380 <!-- Update for future app versions - should never be compatible -->
michael@0 381 <li>
michael@0 382 <Description>
michael@0 383 <em:version>3.0</em:version>
michael@0 384 <em:targetApplication>
michael@0 385 <Description>
michael@0 386 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 387 <em:minVersion>2</em:minVersion>
michael@0 388 <em:maxVersion>3</em:maxVersion>
michael@0 389 <em:updateLink>https://localhost:4444/addons/test3.xpi</em:updateLink>
michael@0 390 </Description>
michael@0 391 </em:targetApplication>
michael@0 392 </Description>
michael@0 393 </li>
michael@0 394 </Seq>
michael@0 395 </em:updates>
michael@0 396 </Description>
michael@0 397
michael@0 398 <!-- Opt-in to strict compatibility checking -->
michael@0 399 <Description about="urn:mozilla:extension:compat-strict-optin@tests.mozilla.org">
michael@0 400 <em:updates>
michael@0 401 <Seq>
michael@0 402 <li>
michael@0 403 <Description>
michael@0 404 <em:version>1.0</em:version>
michael@0 405 <em:targetApplication>
michael@0 406 <Description>
michael@0 407 <em:id>xpcshell@tests.mozilla.org</em:id>
michael@0 408 <em:minVersion>0.1</em:minVersion>
michael@0 409 <em:maxVersion>0.2</em:maxVersion>
michael@0 410 <em:strictCompatibility>true</em:strictCompatibility>
michael@0 411 <em:updateLink>https://localhost:4444/addons/test1.xpi</em:updateLink>
michael@0 412 </Description>
michael@0 413 </em:targetApplication>
michael@0 414 </Description>
michael@0 415 </li>
michael@0 416 </Seq>
michael@0 417 </em:updates>
michael@0 418 </Description>
michael@0 419 </RDF>

mercurial