Wed, 31 Dec 2014 06:09:35 +0100
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 | <searchresults total_results="1111"> |
michael@0 | 3 | <!-- Passes even though XPI URL matches an installing AddonInstall. |
michael@0 | 4 | Tests optional attributes. --> |
michael@0 | 5 | <addon> |
michael@0 | 6 | <name>PASS</name> |
michael@0 | 7 | <type id="1">Extension</type> |
michael@0 | 8 | <guid>test1@tests.mozilla.org</guid> |
michael@0 | 9 | <version>1.1</version> |
michael@0 | 10 | <authors> |
michael@0 | 11 | <author> |
michael@0 | 12 | <name>Test Creator 1</name> |
michael@0 | 13 | <link>http://localhost:%PORT%/creator1.html</link> |
michael@0 | 14 | </author> |
michael@0 | 15 | <author> |
michael@0 | 16 | <name>Test Developer 1</name> |
michael@0 | 17 | <link>http://localhost:%PORT%/developer1.html</link> |
michael@0 | 18 | </author> |
michael@0 | 19 | </authors> |
michael@0 | 20 | <summary>Test Summary 1</summary> |
michael@0 | 21 | <description>Test Description 1</description> |
michael@0 | 22 | <eula>Test EULA 1</eula> |
michael@0 | 23 | <developer_comments>Test Developer Comments 1</developer_comments> |
michael@0 | 24 | <icon size="32">http://localhost:%PORT%/icon1.png</icon> |
michael@0 | 25 | <status id="8">Preliminarily Reviewed</status> |
michael@0 | 26 | <compatible_applications> |
michael@0 | 27 | <application> |
michael@0 | 28 | <appID>xpcshell@tests.mozilla.org</appID> |
michael@0 | 29 | <min_version>1</min_version> |
michael@0 | 30 | <max_version>1</max_version> |
michael@0 | 31 | </application> |
michael@0 | 32 | </compatible_applications> |
michael@0 | 33 | <previews> |
michael@0 | 34 | <preview primary="1"> |
michael@0 | 35 | <full type="image/png" width="400" height="300"> |
michael@0 | 36 | http://localhost:%PORT%/full1-1.png |
michael@0 | 37 | </full> |
michael@0 | 38 | <thumbnail type="image/png" width="200" height="150"> |
michael@0 | 39 | http://localhost:%PORT%/thumbnail1-1.png |
michael@0 | 40 | </thumbnail> |
michael@0 | 41 | <caption>Caption 1 - 1</caption> |
michael@0 | 42 | </preview> |
michael@0 | 43 | <preview primary="0"> |
michael@0 | 44 | <full type="image/png">http://localhost:%PORT%/full2-1.png</full> |
michael@0 | 45 | <thumbnail type="image/png">http://localhost:%PORT%/thumbnail2-1.png</thumbnail> |
michael@0 | 46 | <caption>Caption 2 - 1</caption> |
michael@0 | 47 | </preview> |
michael@0 | 48 | </previews> |
michael@0 | 49 | <rating>4</rating> |
michael@0 | 50 | <learnmore>http://localhost:%PORT%/learnmore1.html</learnmore> |
michael@0 | 51 | <support>http://localhost:%PORT%/support1.html</support> |
michael@0 | 52 | <contribution_data> |
michael@0 | 53 | <link>http://localhost:%PORT%/contribution1.html</link> |
michael@0 | 54 | <suggested_amount currency="USD">$11.11</suggested_amount> |
michael@0 | 55 | <meet_developers>http://localhost:%PORT%/meetDevelopers1.html</meet_developers> |
michael@0 | 56 | </contribution_data> |
michael@0 | 57 | <reviews num="1111">http://localhost:%PORT%/review1.html</reviews> |
michael@0 | 58 | <total_downloads>2222</total_downloads> |
michael@0 | 59 | <weekly_downloads>3333</weekly_downloads> |
michael@0 | 60 | <daily_users>4444</daily_users> |
michael@0 | 61 | <last_updated epoch="1265033045">2010-02-01T14:04:05Z</last_updated> |
michael@0 | 62 | <install size="5555">http://localhost:%PORT%/addons/test_AddonRepository_2.xpi</install> |
michael@0 | 63 | </addon> |
michael@0 | 64 | |
michael@0 | 65 | <addon_compatibility hosted="true" id="123"> |
michael@0 | 66 | <guid>test1@tests.mozilla.org</guid> |
michael@0 | 67 | <name>PASS</name> |
michael@0 | 68 | <version_ranges> |
michael@0 | 69 | <!-- Will be included --> |
michael@0 | 70 | <version_range type="incompatible"> |
michael@0 | 71 | <min_version>0.1</min_version> |
michael@0 | 72 | <max_version>0.2</max_version> |
michael@0 | 73 | <compatible_applications> |
michael@0 | 74 | <application> |
michael@0 | 75 | <name>XPCShell</name> |
michael@0 | 76 | <application_id>666</application_id> |
michael@0 | 77 | <min_version>3.0</min_version> |
michael@0 | 78 | <max_version>4.0</max_version> |
michael@0 | 79 | <appID>xpcshell@tests.mozilla.org</appID> |
michael@0 | 80 | </application> |
michael@0 | 81 | </compatible_applications> |
michael@0 | 82 | </version_range> |
michael@0 | 83 | <!-- Will be included --> |
michael@0 | 84 | <version_range type="incompatible"> |
michael@0 | 85 | <min_version>0.2</min_version> |
michael@0 | 86 | <max_version>0.3</max_version> |
michael@0 | 87 | <compatible_applications> |
michael@0 | 88 | <application> |
michael@0 | 89 | <name>XPCShell</name> |
michael@0 | 90 | <application_id>666</application_id> |
michael@0 | 91 | <min_version>5.0</min_version> |
michael@0 | 92 | <max_version>6.0</max_version> |
michael@0 | 93 | <appID>xpcshell@tests.mozilla.org</appID> |
michael@0 | 94 | </application> |
michael@0 | 95 | </compatible_applications> |
michael@0 | 96 | </version_range> |
michael@0 | 97 | <!-- Won't be included - invalid type attribute --> |
michael@0 | 98 | <version_range type="unknown"> |
michael@0 | 99 | <min_version>9</min_version> |
michael@0 | 100 | <max_version>10</max_version> |
michael@0 | 101 | <compatible_applications> |
michael@0 | 102 | <application> |
michael@0 | 103 | <name>XPCShell</name> |
michael@0 | 104 | <application_id>666</application_id> |
michael@0 | 105 | <min_version>10.0</min_version> |
michael@0 | 106 | <max_version>11.0</max_version> |
michael@0 | 107 | <appID>xpcshell@tests.mozilla.org</appID> |
michael@0 | 108 | </application> |
michael@0 | 109 | </compatible_applications> |
michael@0 | 110 | </version_range> |
michael@0 | 111 | <!-- Won't be included - no matching appID --> |
michael@0 | 112 | <version_range type="incompatible"> |
michael@0 | 113 | <min_version>0.2</min_version> |
michael@0 | 114 | <max_version>0.3</max_version> |
michael@0 | 115 | <compatible_applications> |
michael@0 | 116 | <application> |
michael@0 | 117 | <name>Unknown App</name> |
michael@0 | 118 | <application_id>123</application_id> |
michael@0 | 119 | <min_version>1.0</min_version> |
michael@0 | 120 | <max_version>999.0</max_version> |
michael@0 | 121 | <appID>unknown-app@tests.mozilla.org</appID> |
michael@0 | 122 | </application> |
michael@0 | 123 | </compatible_applications> |
michael@0 | 124 | </version_range> |
michael@0 | 125 | </version_ranges> |
michael@0 | 126 | </addon_compatibility> |
michael@0 | 127 | |
michael@0 | 128 | <!-- Fails because guid matches previously successful result --> |
michael@0 | 129 | <addon> |
michael@0 | 130 | <name>FAIL</name> |
michael@0 | 131 | <type id="1">Extension</type> |
michael@0 | 132 | <guid>test1@tests.mozilla.org</guid> |
michael@0 | 133 | <version>1.2</version> |
michael@0 | 134 | <authors><author><name>Test Creator 2</name></author></authors> |
michael@0 | 135 | <status id="4">Public</status> |
michael@0 | 136 | <summary>Add-on with a guid that matches a previously successful result should be ignored.</summary> |
michael@0 | 137 | <compatible_applications> |
michael@0 | 138 | <application> |
michael@0 | 139 | <appID>xpcshell@tests.mozilla.org</appID> |
michael@0 | 140 | <min_version>1</min_version> |
michael@0 | 141 | <max_version>1</max_version> |
michael@0 | 142 | </application> |
michael@0 | 143 | </compatible_applications> |
michael@0 | 144 | <install>http://localhost:%PORT%/test2.xpi</install> |
michael@0 | 145 | </addon> |
michael@0 | 146 | |
michael@0 | 147 | <!-- Fails because guid was not requested --> |
michael@0 | 148 | <addon> |
michael@0 | 149 | <name>FAIL</name> |
michael@0 | 150 | <type id="1">Extension</type> |
michael@0 | 151 | <guid>notRequested@tests.mozilla.org</guid> |
michael@0 | 152 | <version>1.3</version> |
michael@0 | 153 | <authors><author><name>Test Creator 3</name></author></authors> |
michael@0 | 154 | <status id="4">Public</status> |
michael@0 | 155 | <summary>Add-on with a guid that wasn't requested should be ignored.</summary> |
michael@0 | 156 | <compatible_applications> |
michael@0 | 157 | <application> |
michael@0 | 158 | <appID>xpcshell@tests.mozilla.org</appID> |
michael@0 | 159 | <min_version>1</min_version> |
michael@0 | 160 | <max_version>1</max_version> |
michael@0 | 161 | </application> |
michael@0 | 162 | </compatible_applications> |
michael@0 | 163 | <install>http://localhost:%PORT%/test3.xpi</install> |
michael@0 | 164 | </addon> |
michael@0 | 165 | |
michael@0 | 166 | <!-- Passes even though guid matches already installed add-on, |
michael@0 | 167 | type is unknown, no defined author elements, status is not Public, |
michael@0 | 168 | no compatible applications matched, no installs compatible with OS |
michael@0 | 169 | --> |
michael@0 | 170 | <addon> |
michael@0 | 171 | <name>PASS</name> |
michael@0 | 172 | <type id="9999">Unknown</type> |
michael@0 | 173 | <guid>test_AddonRepository_1@tests.mozilla.org</guid> |
michael@0 | 174 | <version>1.4</version> |
michael@0 | 175 | <status id="9999">Unknown</status> |
michael@0 | 176 | <compatible_applications> |
michael@0 | 177 | <application> |
michael@0 | 178 | <appID>unknown@tests.mozilla.org</appID> |
michael@0 | 179 | <min_version>1</min_version> |
michael@0 | 180 | <max_version>1</max_version> |
michael@0 | 181 | </application> |
michael@0 | 182 | </compatible_applications> |
michael@0 | 183 | <install os="UNKNOWN1">http://localhost:%PORT%/test4.xpi</install> |
michael@0 | 184 | <install os="UNKNOWN2">http://localhost:%PORT%/test4.xpi</install> |
michael@0 | 185 | </addon> |
michael@0 | 186 | </searchresults> |
michael@0 | 187 |