1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/mozapps/extensions/test/xpcshell/data/test_bug299716.rdf Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,181 @@ 1.4 +<?xml version="1.0" encoding="UTF-8"?> 1.5 +<!DOCTYPE RDF:RDF [ 1.6 + <!ENTITY bug299716 "urn:mozilla:extension:bug299716"> 1.7 + <!ENTITY addons_prefix "http://localhost:4444/addons/test_bug299716"> 1.8 + <!ENTITY v0.2 "<em:version>0.2</em:version>"> 1.9 + 1.10 + <!ENTITY xpcshell.app " 1.11 + <em:id>xpcshell@tests.mozilla.org</em:id> 1.12 + <em:minVersion>5</em:minVersion> 1.13 + <em:maxVersion>5</em:maxVersion> 1.14 + "> 1.15 + 1.16 + <!ENTITY toolkit.app " 1.17 + <em:id>toolkit@mozilla.org</em:id> 1.18 + <em:minVersion>1.9</em:minVersion> 1.19 + <em:maxVersion>1.9</em:maxVersion> 1.20 + "> 1.21 + 1.22 + <!ENTITY invalidRange " 1.23 + <em:minVersion>30</em:minVersion> 1.24 + <em:maxVersion>30</em:maxVersion> 1.25 + "> 1.26 + 1.27 + <!ENTITY xpcshell.invalid " 1.28 + <em:id>xpcshell@tests.mozilla.org</em:id> 1.29 + &invalidRange; 1.30 + "> 1.31 + 1.32 + <!ENTITY toolkit.invalid " 1.33 + <em:id>toolkit@mozilla.org</em:id> 1.34 + &invalidRange; 1.35 + "> 1.36 +]> 1.37 +<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 1.38 + xmlns:em="http://www.mozilla.org/2004/em-rdf#"> 1.39 + <!-- XPCShell --> 1.40 + <RDF:Description about="&bug299716;-a@tests.mozilla.org"> 1.41 + <em:updates> 1.42 + <RDF:Seq> 1.43 + <RDF:li RDF:resource="&bug299716;-a@tests.mozilla.org:0.2"/> 1.44 + </RDF:Seq> 1.45 + </em:updates> 1.46 + </RDF:Description> 1.47 + 1.48 + <RDF:Description about="&bug299716;-a@tests.mozilla.org:0.2"> 1.49 + &v0.2; 1.50 + <em:targetApplication> 1.51 + <RDF:Description em:updateLink="&addons_prefix;_a_2.xpi"> 1.52 + &xpcshell.app; 1.53 + </RDF:Description> 1.54 + </em:targetApplication> 1.55 + </RDF:Description> 1.56 + 1.57 + <!-- Toolkit --> 1.58 + <RDF:Description about="&bug299716;-b@tests.mozilla.org"> 1.59 + <em:updates> 1.60 + <RDF:Seq> 1.61 + <RDF:li RDF:resource="&bug299716;-b@tests.mozilla.org:0.2"/> 1.62 + </RDF:Seq> 1.63 + </em:updates> 1.64 + </RDF:Description> 1.65 + 1.66 + <RDF:Description about="&bug299716;-b@tests.mozilla.org:0.2"> 1.67 + &v0.2; 1.68 + <em:targetApplication> 1.69 + <RDF:Description em:updateLink="&addons_prefix;_b_2.xpi"> 1.70 + &toolkit.app; 1.71 + </RDF:Description> 1.72 + </em:targetApplication> 1.73 + </RDF:Description> 1.74 + 1.75 + <!-- XPCShell + Toolkit --> 1.76 + <RDF:Description about="&bug299716;-c@tests.mozilla.org"> 1.77 + <em:updates> 1.78 + <RDF:Seq> 1.79 + <RDF:li RDF:resource="&bug299716;-c@tests.mozilla.org:0.2"/> 1.80 + </RDF:Seq> 1.81 + </em:updates> 1.82 + </RDF:Description> 1.83 + 1.84 + <RDF:Description about="&bug299716;-c@tests.mozilla.org:0.2"> 1.85 + &v0.2; 1.86 + <em:targetApplication> 1.87 + <RDF:Description em:updateLink="&addons_prefix;_c_2.xpi"> 1.88 + &xpcshell.app; 1.89 + </RDF:Description> 1.90 + </em:targetApplication> 1.91 + <em:targetApplication> 1.92 + <RDF:Description em:updateLink="&addons_prefix;_c_2.xpi"> 1.93 + &toolkit.app; 1.94 + </RDF:Description> 1.95 + </em:targetApplication> 1.96 + </RDF:Description> 1.97 + 1.98 + <!-- XPCShell (Toolkit invalid) --> 1.99 + <RDF:Description about="&bug299716;-d@tests.mozilla.org"> 1.100 + <em:updates> 1.101 + <RDF:Seq> 1.102 + <RDF:li RDF:resource="&bug299716;-d@tests.mozilla.org:0.2"/> 1.103 + </RDF:Seq> 1.104 + </em:updates> 1.105 + </RDF:Description> 1.106 + 1.107 + <RDF:Description about="&bug299716;-d@tests.mozilla.org:0.2"> 1.108 + &v0.2; 1.109 + <em:targetApplication> 1.110 + <RDF:Description em:updateLink="&addons_prefix;_d_2.xpi"> 1.111 + &xpcshell.app; 1.112 + </RDF:Description> 1.113 + </em:targetApplication> 1.114 + <em:targetApplication> 1.115 + <RDF:Description em:updateLink="&addons_prefix;_d_2.xpi"> 1.116 + &toolkit.invalid; 1.117 + </RDF:Description> 1.118 + </em:targetApplication> 1.119 + </RDF:Description> 1.120 + 1.121 + <!-- Toolkit (XPCShell invalid), should not install --> 1.122 + <RDF:Description about="&bug299716;-e@tests.mozilla.org"> 1.123 + <em:updates> 1.124 + <RDF:Seq> 1.125 + <RDF:li RDF:resource="&bug299716;-e@tests.mozilla.org:0.2"/> 1.126 + </RDF:Seq> 1.127 + </em:updates> 1.128 + </RDF:Description> 1.129 + 1.130 + <RDF:Description about="&bug299716;-e@tests.mozilla.org:0.2"> 1.131 + &v0.2; 1.132 + <em:targetApplication> 1.133 + <RDF:Description em:updateLink="&addons_prefix;_e_2.xpi"> 1.134 + &xpcshell.invalid; 1.135 + </RDF:Description> 1.136 + </em:targetApplication> 1.137 + <em:targetApplication> 1.138 + <RDF:Description em:updateLink="&addons_prefix;_e_2.xpi"> 1.139 + &toolkit.app; 1.140 + </RDF:Description> 1.141 + </em:targetApplication> 1.142 + </RDF:Description> 1.143 + 1.144 + <!-- None (XPCShell, Toolkit invalid), should not install --> 1.145 + <RDF:Description about="&bug299716;-f@tests.mozilla.org"> 1.146 + <em:updates> 1.147 + <RDF:Seq> 1.148 + <RDF:li RDF:resource="&bug299716;-f@tests.mozilla.org:0.2"/> 1.149 + </RDF:Seq> 1.150 + </em:updates> 1.151 + </RDF:Description> 1.152 + 1.153 + <RDF:Description about="&bug299716;-f@tests.mozilla.org:0.2"> 1.154 + &v0.2; 1.155 + <em:targetApplication> 1.156 + <RDF:Description em:updateLink="&addons_prefix;_f_2.xpi"> 1.157 + &xpcshell.invalid; 1.158 + </RDF:Description> 1.159 + </em:targetApplication> 1.160 + <em:targetApplication> 1.161 + <RDF:Description em:updateLink="&addons_prefix;_f_2.xpi"> 1.162 + &toolkit.invalid; 1.163 + </RDF:Description> 1.164 + </em:targetApplication> 1.165 + </RDF:Description> 1.166 + 1.167 + <!-- Toolkit (invalid), should not install --> 1.168 + <RDF:Description about="&bug299716;-g@tests.mozilla.org"> 1.169 + <em:updates> 1.170 + <RDF:Seq> 1.171 + <RDF:li RDF:resource="&bug299716;-g@tests.mozilla.org:0.2"/> 1.172 + </RDF:Seq> 1.173 + </em:updates> 1.174 + </RDF:Description> 1.175 + 1.176 + <RDF:Description about="&bug299716;-g@tests.mozilla.org:0.2"> 1.177 + &v0.2; 1.178 + <em:targetApplication> 1.179 + <RDF:Description em:updateLink="&addons_prefix;_g_2.xpi"> 1.180 + &toolkit.invalid; 1.181 + </RDF:Description> 1.182 + </em:targetApplication> 1.183 + </RDF:Description> 1.184 +</RDF:RDF>