mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
Move WebExtensions enabled Add-ons Manager
This commit is contained in:
parent
d7d16e7fbb
commit
358cd0404a
1100 changed files with 133 additions and 106 deletions
|
|
@ -1,30 +0,0 @@
|
|||
Components.utils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
this.EXPORTED_SYMBOLS = [ "monitor" ];
|
||||
|
||||
function notify(event, originalMethod, data, reason) {
|
||||
let info = {
|
||||
event,
|
||||
data: Object.assign({}, data, {
|
||||
installPath: data.installPath.path,
|
||||
resourceURI: data.resourceURI.spec,
|
||||
}),
|
||||
reason
|
||||
};
|
||||
|
||||
let subject = {wrappedJSObject: {data}};
|
||||
|
||||
Services.obs.notifyObservers(subject, "bootstrapmonitor-event", JSON.stringify(info));
|
||||
|
||||
// If the bootstrap scope already declares a method call it
|
||||
if (originalMethod)
|
||||
originalMethod(data, reason);
|
||||
}
|
||||
|
||||
// Allows a simple one-line bootstrap script:
|
||||
// Components.utils.import("resource://xpcshelldata/bootstrapmonitor.jsm").monitor(this);
|
||||
this.monitor = function(scope) {
|
||||
for (let event of ["install", "startup", "shutdown", "uninstall"]) {
|
||||
scope[event] = notify.bind(null, event, scope[event]);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist">
|
||||
<emItems>
|
||||
<emItem id="softblock1@tests.mozilla.org">
|
||||
<versionRange severity="1" minVersion="2" maxVersion="3"/>
|
||||
</emItem>
|
||||
<emItem id="softblock2@tests.mozilla.org">
|
||||
<versionRange severity="1" minVersion="2" maxVersion="3"/>
|
||||
</emItem>
|
||||
<emItem id="softblock3@tests.mozilla.org">
|
||||
<versionRange severity="1" minVersion="2" maxVersion="3"/>
|
||||
</emItem>
|
||||
<emItem id="softblock4@tests.mozilla.org">
|
||||
<versionRange severity="1" minVersion="2" maxVersion="3"/>
|
||||
</emItem>
|
||||
<emItem id="softblock5@tests.mozilla.org">
|
||||
<versionRange severity="1" minVersion="2" maxVersion="3"/>
|
||||
</emItem>
|
||||
<emItem id="hardblock@tests.mozilla.org">
|
||||
<versionRange minVersion="2" maxVersion="3"/>
|
||||
</emItem>
|
||||
<!-- Two RegExp matches, so test flags work - first shouldn't match. -->
|
||||
<emItem id="/^RegExp/">
|
||||
<versionRange severity="1" minVersion="2" maxVersion="3"/>
|
||||
</emItem>
|
||||
<emItem id="/^RegExp/i">
|
||||
<versionRange severity="2" minVersion="2" maxVersion="3"/>
|
||||
</emItem>
|
||||
</emItems>
|
||||
</blocklist>
|
||||
|
|
@ -1,144 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
||||
<RDF:Description about="urn:mozilla:extension:softblock1@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>2</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_soft1_2.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:softblock2@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>2</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_soft2_2.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:softblock3@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>2</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_soft3_2.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:softblock4@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>2</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_soft4_2.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:theme:softblock5@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>2</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_soft5_2.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:hardblock@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>2</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_hard1_2.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:regexpblock@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>2</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_regexp1_2.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
</RDF:RDF>
|
||||
|
|
@ -1,144 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
||||
<RDF:Description about="urn:mozilla:extension:softblock1@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>3</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_soft1_3.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:softblock2@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>3</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_soft2_3.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:softblock3@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>3</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_soft3_3.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:softblock4@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>3</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_soft4_3.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:theme:softblock5@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>3</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_soft5_3.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:hardblock@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>3</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_hard1_3.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:regexpblock@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>3</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_regexp1_3.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
</RDF:RDF>
|
||||
|
|
@ -1,144 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
||||
<RDF:Description about="urn:mozilla:extension:softblock1@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>4</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_soft1_1.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:softblock2@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>4</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_soft2_1.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:softblock3@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>4</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_soft3_1.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:softblock4@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>4</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_soft4_1.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:theme:softblock5@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>4</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_soft5_1.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:hardblock@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>4</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_hard1_1.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:regexpblock@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>4</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>0</em:minVersion>
|
||||
<em:maxVersion>*</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/addons/blocklist_regexp1_1.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
</RDF:RDF>
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist">
|
||||
<emItems>
|
||||
<emItem id="softblock1@tests.mozilla.org">
|
||||
<versionRange severity="1">
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="2" maxVersion="2.*"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="softblock2@tests.mozilla.org">
|
||||
<versionRange severity="1">
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="2" maxVersion="2.*"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="softblock3@tests.mozilla.org">
|
||||
<versionRange severity="1">
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="2" maxVersion="2.*"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="softblock4@tests.mozilla.org">
|
||||
<versionRange severity="1">
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="2" maxVersion="2.*"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="softblock5@tests.mozilla.org">
|
||||
<versionRange severity="1">
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="2" maxVersion="2.*"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="hardblock@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="2" maxVersion="2.*"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="/^RegExp/">
|
||||
<versionRange severity="1">
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="2" maxVersion="2.*"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="/^RegExp/i">
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="2" maxVersion="2.*"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
</emItems>
|
||||
</blocklist>
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist"/>
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist">
|
||||
<emItems>
|
||||
<emItem id="softblock1@tests.mozilla.org">
|
||||
<versionRange severity="1"/>
|
||||
</emItem>
|
||||
<emItem id="softblock2@tests.mozilla.org">
|
||||
<versionRange severity="1"/>
|
||||
</emItem>
|
||||
<emItem id="softblock3@tests.mozilla.org">
|
||||
<versionRange severity="1"/>
|
||||
</emItem>
|
||||
<emItem id="softblock4@tests.mozilla.org">
|
||||
<versionRange severity="1"/>
|
||||
</emItem>
|
||||
<emItem id="softblock5@tests.mozilla.org">
|
||||
<versionRange severity="1"/>
|
||||
</emItem>
|
||||
<emItem id="hardblock@tests.mozilla.org"/>
|
||||
<emItem id="/^RegExp/">
|
||||
<versionRange severity="1"/>
|
||||
</emItem>
|
||||
<emItem id="/^RegExp/i"/>
|
||||
</emItems>
|
||||
</blocklist>
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist">
|
||||
<emItems>
|
||||
<emItem id="softblock1@tests.mozilla.org">
|
||||
<versionRange severity="1" minVersion="1" maxVersion="2"/>
|
||||
</emItem>
|
||||
<emItem id="softblock2@tests.mozilla.org">
|
||||
<versionRange severity="1" minVersion="1" maxVersion="2"/>
|
||||
</emItem>
|
||||
<emItem id="softblock3@tests.mozilla.org">
|
||||
<versionRange severity="1" minVersion="1" maxVersion="2"/>
|
||||
</emItem>
|
||||
<emItem id="softblock4@tests.mozilla.org">
|
||||
<versionRange severity="1" minVersion="1" maxVersion="2"/>
|
||||
</emItem>
|
||||
<emItem id="softblock5@tests.mozilla.org">
|
||||
<versionRange severity="1" minVersion="1" maxVersion="2"/>
|
||||
</emItem>
|
||||
<emItem id="hardblock@tests.mozilla.org">
|
||||
<versionRange minVersion="1" maxVersion="2"/>
|
||||
</emItem>
|
||||
<emItem id="/^RegExp/i">
|
||||
<versionRange minVersion="1" maxVersion="2"/>
|
||||
</emItem>
|
||||
</emItems>
|
||||
</blocklist>
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist">
|
||||
<emItems>
|
||||
<emItem id="test_bug455906_1@tests.mozilla.org" blockID="test_bug455906_1@tests.mozilla.org"/>
|
||||
<emItem id="test_bug455906_2@tests.mozilla.org" blockID="test_bug455906_2@tests.mozilla.org"/>
|
||||
<emItem id="test_bug455906_3@tests.mozilla.org" blockID="test_bug455906_3@tests.mozilla.org"/>
|
||||
<emItem id="test_bug455906_4@tests.mozilla.org" blockID="test_bug455906_4@tests.mozilla.org"/>
|
||||
<emItem id="test_bug455906_5@tests.mozilla.org" blockID="test_bug455906_5@tests.mozilla.org"/>
|
||||
<emItem id="test_bug455906_6@tests.mozilla.org" blockID="test_bug455906_6@tests.mozilla.org"/>
|
||||
<emItem id="test_bug455906_7@tests.mozilla.org" blockID="test_bug455906_7@tests.mozilla.org"/>
|
||||
</emItems>
|
||||
<pluginItems>
|
||||
<pluginItem blockID="test_bug455906_plugin">
|
||||
<match name="name" exp="^test_bug455906"/>
|
||||
</pluginItem>
|
||||
</pluginItems>
|
||||
</blocklist>
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist">
|
||||
<emItems>
|
||||
<emItem id="dummy_bug455906_2@tests.mozilla.org"/>
|
||||
</emItems>
|
||||
</blocklist>
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist">
|
||||
<emItems>
|
||||
<emItem id="test_bug455906_4@tests.mozilla.org">
|
||||
<versionRange severity="-1"/>
|
||||
</emItem>
|
||||
<emItem id="test_bug455906_5@tests.mozilla.org">
|
||||
<versionRange severity="1"/>
|
||||
</emItem>
|
||||
<emItem id="test_bug455906_6@tests.mozilla.org">
|
||||
<versionRange severity="2"/>
|
||||
</emItem>
|
||||
<emItem id="dummy_bug455906_1@tests.mozilla.org"/>
|
||||
</emItems>
|
||||
<pluginItems>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug455906_4$"/>
|
||||
<versionRange severity="0"/>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug455906_5$"/>
|
||||
<versionRange severity="1"/>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug455906_6$"/>
|
||||
<versionRange severity="2"/>
|
||||
</pluginItem>
|
||||
</pluginItems>
|
||||
</blocklist>
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist">
|
||||
<emItems>
|
||||
<emItem id="test_bug455906_1@tests.mozilla.org">
|
||||
<versionRange severity="-1"/>
|
||||
</emItem>
|
||||
<emItem id="test_bug455906_2@tests.mozilla.org">
|
||||
<versionRange severity="-1"/>
|
||||
</emItem>
|
||||
<emItem id="test_bug455906_3@tests.mozilla.org">
|
||||
<versionRange severity="-1"/>
|
||||
</emItem>
|
||||
<emItem id="test_bug455906_4@tests.mozilla.org">
|
||||
<versionRange severity="-1"/>
|
||||
</emItem>
|
||||
<emItem id="test_bug455906_5@tests.mozilla.org">
|
||||
<versionRange severity="-1"/>
|
||||
</emItem>
|
||||
<emItem id="test_bug455906_6@tests.mozilla.org">
|
||||
<versionRange severity="-1"/>
|
||||
</emItem>
|
||||
<emItem id="test_bug455906_7@tests.mozilla.org">
|
||||
<versionRange severity="-1"/>
|
||||
</emItem>
|
||||
</emItems>
|
||||
<pluginItems>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug455906"/>
|
||||
<versionRange severity="-1"/>
|
||||
</pluginItem>
|
||||
</pluginItems>
|
||||
</blocklist>
|
||||
|
|
@ -1 +0,0 @@
|
|||
This is a corrupt zip file
|
||||
Binary file not shown.
Binary file not shown.
|
|
@ -1 +0,0 @@
|
|||
Components.utils.import("resource://xpcshell-data/BootstrapMonitor.jsm").monitor(this);
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
||||
|
||||
<Description about="urn:mozilla:install-manifest">
|
||||
<em:id>bootstrap1@tests.mozilla.org</em:id>
|
||||
<em:version>1.0</em:version>
|
||||
<em:bootstrap>true</em:bootstrap>
|
||||
|
||||
<!-- Front End MetaData -->
|
||||
<em:name>Test Bootstrap 1</em:name>
|
||||
<em:description>Test Description</em:description>
|
||||
|
||||
<em:iconURL>chrome://foo/skin/icon.png</em:iconURL>
|
||||
<em:aboutURL>chrome://foo/content/about.xul</em:aboutURL>
|
||||
<em:optionsURL>chrome://foo/content/options.xul</em:optionsURL>
|
||||
|
||||
<em:targetApplication>
|
||||
<Description>
|
||||
<em:id>xpcshell@tests.mozilla.org</em:id>
|
||||
<em:minVersion>1</em:minVersion>
|
||||
<em:maxVersion>1</em:maxVersion>
|
||||
</Description>
|
||||
</em:targetApplication>
|
||||
|
||||
</Description>
|
||||
</RDF>
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist">
|
||||
<emItems>
|
||||
</emItems>
|
||||
<pluginItems>
|
||||
<pluginItem blockID="test_plugin_wInfoURL">
|
||||
<match name="name" exp="^test_with_infoURL"/>
|
||||
<match name="version" exp="^5"/>
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="1" maxVersion="*"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
<infoURL>http://test.url.com/</infoURL>
|
||||
</pluginItem>
|
||||
<pluginItem blockID="test_plugin_wAltInfoURL">
|
||||
<match name="name" exp="^test_with_altInfoURL"/>
|
||||
<match name="version" exp="^5"/>
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="1" maxVersion="*"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
<infoURL>http://alt.test.url.com/</infoURL>
|
||||
</pluginItem>
|
||||
<pluginItem blockID="test_plugin_noInfoURL">
|
||||
<match name="name" exp="^test_no_infoURL"/>
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="1" maxVersion="*"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<pluginItem blockID="test_plugin_newVersion">
|
||||
<match name="name" exp="^test_newVersion"/>
|
||||
<infoURL>http://test.url2.com/</infoURL>
|
||||
<versionRange minVersion="1" maxVersion="2">
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="1" maxVersion="*"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
</pluginItems>
|
||||
</blocklist>
|
||||
|
|
@ -1 +0,0 @@
|
|||
Not an xml file!
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<foobar></barfoo>
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<test></test>
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<updates>
|
||||
<addons></addons>
|
||||
</updates>
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<updates>
|
||||
<addons>
|
||||
<addon id="test1" URL="http://example.com/test1.xpi"/>
|
||||
<addon id="test2" URL="http://example.com/test2.xpi" hashFunction="md5" hashValue="djhfgsjdhf"/>
|
||||
<addon id="test3" URL="http://example.com/test3.xpi" version="1.0" size="45"/>
|
||||
<addon id="test4"/>
|
||||
<addon URL="http://example.com/test5.xpi"/>
|
||||
</addons>
|
||||
</updates>
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<updates></updates>
|
||||
Binary file not shown.
|
|
@ -1,29 +0,0 @@
|
|||
Components.utils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
const VERSION = 1;
|
||||
|
||||
// Test steps chain from pref observers on *_reason,
|
||||
// so always set that last
|
||||
function install(data, reason) {
|
||||
Services.prefs.setIntPref("bootstraptest.installed_version", VERSION);
|
||||
Services.prefs.setIntPref("bootstraptest.install_oldversion", data.oldVersion);
|
||||
Services.prefs.setIntPref("bootstraptest.install_reason", reason);
|
||||
}
|
||||
|
||||
function startup(data, reason) {
|
||||
Services.prefs.setIntPref("bootstraptest.active_version", VERSION);
|
||||
Services.prefs.setIntPref("bootstraptest.startup_oldversion", data.oldVersion);
|
||||
Services.prefs.setIntPref("bootstraptest.startup_reason", reason);
|
||||
}
|
||||
|
||||
function shutdown(data, reason) {
|
||||
Services.prefs.setIntPref("bootstraptest.active_version", 0);
|
||||
Services.prefs.setIntPref("bootstraptest.shutdown_newversion", data.newVersion);
|
||||
Services.prefs.setIntPref("bootstraptest.shutdown_reason", reason);
|
||||
}
|
||||
|
||||
function uninstall(data, reason) {
|
||||
Services.prefs.setIntPref("bootstraptest.installed_version", 0);
|
||||
Services.prefs.setIntPref("bootstraptest.uninstall_newversion", data.newVersion);
|
||||
Services.prefs.setIntPref("bootstraptest.uninstall_reason", reason);
|
||||
}
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
||||
|
||||
<Description about="urn:mozilla:install-manifest">
|
||||
<em:id>test@tests.mozilla.org</em:id>
|
||||
<em:version>1.0</em:version>
|
||||
<em:bootstrap>true</em:bootstrap>
|
||||
|
||||
<!-- Front End MetaData -->
|
||||
<em:name>Test Add-on</em:name>
|
||||
<em:updateURL>http://localhost:4444/update.rdf</em:updateURL>
|
||||
|
||||
<em:targetApplication>
|
||||
<Description>
|
||||
<em:id>xpcshell@tests.mozilla.org</em:id>
|
||||
<em:minVersion>2</em:minVersion>
|
||||
<em:maxVersion>5</em:maxVersion>
|
||||
</Description>
|
||||
</em:targetApplication>
|
||||
|
||||
</Description>
|
||||
</RDF>
|
||||
|
|
@ -1 +0,0 @@
|
|||
This test file can be altered to break signing checks.
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
Components.utils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
const VERSION = 2;
|
||||
|
||||
// Test steps chain from pref observers on *_reason,
|
||||
// so always set that last
|
||||
function install(data, reason) {
|
||||
Services.prefs.setIntPref("bootstraptest.installed_version", VERSION);
|
||||
Services.prefs.setIntPref("bootstraptest.install_oldversion", data.oldVersion);
|
||||
Services.prefs.setIntPref("bootstraptest.install_reason", reason);
|
||||
}
|
||||
|
||||
function startup(data, reason) {
|
||||
Services.prefs.setIntPref("bootstraptest.active_version", VERSION);
|
||||
Services.prefs.setIntPref("bootstraptest.startup_oldversion", data.oldVersion);
|
||||
Services.prefs.setIntPref("bootstraptest.startup_reason", reason);
|
||||
}
|
||||
|
||||
function shutdown(data, reason) {
|
||||
Services.prefs.setIntPref("bootstraptest.active_version", 0);
|
||||
Services.prefs.setIntPref("bootstraptest.shutdown_newversion", data.newVersion);
|
||||
Services.prefs.setIntPref("bootstraptest.shutdown_reason", reason);
|
||||
}
|
||||
|
||||
function uninstall(data, reason) {
|
||||
Services.prefs.setIntPref("bootstraptest.installed_version", 0);
|
||||
Services.prefs.setIntPref("bootstraptest.uninstall_newversion", data.newVersion);
|
||||
Services.prefs.setIntPref("bootstraptest.uninstall_reason", reason);
|
||||
}
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
||||
|
||||
<Description about="urn:mozilla:install-manifest">
|
||||
<em:id>test@tests.mozilla.org</em:id>
|
||||
<em:version>2.0</em:version>
|
||||
<em:bootstrap>true</em:bootstrap>
|
||||
|
||||
<!-- Front End MetaData -->
|
||||
<em:name>Test Add-on</em:name>
|
||||
<em:updateURL>http://localhost:4444/update.rdf</em:updateURL>
|
||||
|
||||
<em:targetApplication>
|
||||
<Description>
|
||||
<em:id>xpcshell@tests.mozilla.org</em:id>
|
||||
<em:minVersion>4</em:minVersion>
|
||||
<em:maxVersion>6</em:maxVersion>
|
||||
</Description>
|
||||
</em:targetApplication>
|
||||
|
||||
</Description>
|
||||
</RDF>
|
||||
|
|
@ -1 +0,0 @@
|
|||
This test file can be altered to break signing checks.
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,23 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
||||
|
||||
<Description about="urn:mozilla:install-manifest">
|
||||
<em:id>test@tests.mozilla.org</em:id>
|
||||
<em:version>1.0</em:version>
|
||||
|
||||
<!-- Front End MetaData -->
|
||||
<em:name>Test Add-on</em:name>
|
||||
<em:updateURL>http://localhost:4444/update.rdf</em:updateURL>
|
||||
|
||||
<em:targetApplication>
|
||||
<Description>
|
||||
<em:id>xpcshell@tests.mozilla.org</em:id>
|
||||
<em:minVersion>2</em:minVersion>
|
||||
<em:maxVersion>5</em:maxVersion>
|
||||
</Description>
|
||||
</em:targetApplication>
|
||||
|
||||
</Description>
|
||||
</RDF>
|
||||
|
|
@ -1 +0,0 @@
|
|||
This test file can be altered to break signing checks.
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
||||
|
||||
<Description about="urn:mozilla:install-manifest">
|
||||
<em:id>test@tests.mozilla.org</em:id>
|
||||
<em:version>2.0</em:version>
|
||||
|
||||
<!-- Front End MetaData -->
|
||||
<em:name>Test Add-on</em:name>
|
||||
<em:updateURL>http://localhost:4444/update.rdf</em:updateURL>
|
||||
|
||||
<em:targetApplication>
|
||||
<Description>
|
||||
<em:id>xpcshell@tests.mozilla.org</em:id>
|
||||
<em:minVersion>4</em:minVersion>
|
||||
<em:maxVersion>6</em:maxVersion>
|
||||
</Description>
|
||||
</em:targetApplication>
|
||||
|
||||
</Description>
|
||||
</RDF>
|
||||
|
|
@ -1 +0,0 @@
|
|||
This test file can be altered to break signing checks.
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1 +0,0 @@
|
|||
Components.utils.import("resource://xpcshell-data/BootstrapMonitor.jsm").monitor(this);
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,820 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<searchresults total_results="1111">
|
||||
<!-- Passes all requirements -->
|
||||
<addon>
|
||||
<name>PASS</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test1@tests.mozilla.org</guid>
|
||||
<version>1.1</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Test Creator 1</name>
|
||||
<link>http://localhost:%PORT%/creator1.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<status id="8">Preliminarily Reviewed</status>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<!-- Test that a negative rating is ignored -->
|
||||
<rating>-2</rating>
|
||||
<!-- Test that a <reviews> with a blank review URL is ignored -->
|
||||
<reviews num=" 1111 "> </reviews>
|
||||
<!-- Test that a negative total_downloads is ignored -->
|
||||
<total_downloads>-2</total_downloads>
|
||||
<install>http://localhost:%PORT%/test1.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Passes requirements. Tests optional attributes. Also tests that
|
||||
integer properties that are NaN in the XML are ignored -->
|
||||
<addon>
|
||||
<name>PASS</name>
|
||||
<!-- Test that extensions pass -->
|
||||
<type id="1">Extension</type>
|
||||
<guid>test2@tests.mozilla.org</guid>
|
||||
<version>1.2</version>
|
||||
<authors>
|
||||
<!-- Test that the first author becomes the creator,
|
||||
and the second one is a developer -->
|
||||
<author>
|
||||
<name>Test Creator 2</name>
|
||||
<link>http://localhost:%PORT%/creator2.html</link>
|
||||
</author>
|
||||
<author>
|
||||
<name>Test Developer 2</name>
|
||||
<link>http://localhost:%PORT%/developer2.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<summary><h1>Test Summary 2</h1><p>paragraph</p></summary>
|
||||
<description>Test Description 2<br>newline</description>
|
||||
<developer_comments>Test Developer
|
||||
Comments 2</developer_comments>
|
||||
<eula>Test EULA 2</eula>
|
||||
<icon size="64">http://localhost:%PORT%/icon2-64.png</icon>
|
||||
<icon size="48">http://localhost:%PORT%/icon2-48.png</icon>
|
||||
<icon size="32">http://localhost:%PORT%/icon2-32.png</icon>
|
||||
<status id="4">Public</status>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<!-- Test that multiple preview images are correctly parsed -->
|
||||
<previews>
|
||||
<preview primary="0">
|
||||
<full type="image/png">http://localhost:%PORT%/full1-2.png</full>
|
||||
<thumbnail type="image/png">http://localhost:%PORT%/thumbnail1-2.png</thumbnail>
|
||||
</preview>
|
||||
<preview primary="0">
|
||||
<full type="image/png">http://localhost:%PORT%/full2-2.png</full>
|
||||
<thumbnail type="image/png">http://localhost:%PORT%/thumbnail2-2.png</thumbnail>
|
||||
<caption>Caption 2</caption>
|
||||
</preview>
|
||||
</previews>
|
||||
<rating>NaN</rating>
|
||||
<!-- Test that learnmore is used as the add-on's homepageURL
|
||||
if there is no homepage defined -->
|
||||
<learnmore>http://localhost:%PORT%/learnmore2.html</learnmore>
|
||||
<homepage/>
|
||||
<support>http://localhost:%PORT%/support2.html</support>
|
||||
<contribution_data>
|
||||
<link>http://localhost:%PORT%/contribution2.html</link>
|
||||
<meet_developers>http://localhost:%PORT%/meetDevelopers2.html</meet_developers>
|
||||
</contribution_data>
|
||||
<reviews num="NaN">http://localhost:%PORT%/review2.html</reviews>
|
||||
<total_downloads>NaN</total_downloads>
|
||||
<weekly_downloads>NaN</weekly_downloads>
|
||||
<daily_users>NaN</daily_users>
|
||||
<last_updated epoch="NaN">Not an acual date</last_updated>
|
||||
<install size="NaN" os="ALL">http://localhost:%PORT%/test2.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Passes requirements. Tests optional attributes with extra whitespace. -->
|
||||
<addon>
|
||||
<name> PASS </name>
|
||||
<!-- Test that themes pass -->
|
||||
<type id=" 2 ">Theme</type>
|
||||
<guid> test3@tests.mozilla.org </guid>
|
||||
<version> 1.3 </version>
|
||||
<authors>
|
||||
<!-- Test that authors with blank names are ignored -->
|
||||
<author>
|
||||
<name> </name>
|
||||
<link> http://localhost:%PORT%/ignore3.html </link>
|
||||
</author>
|
||||
<!-- Test that authors with blank links are ignored -->
|
||||
<author>
|
||||
<name> Test Creator Ignore </name>
|
||||
<link> </link>
|
||||
</author>
|
||||
<author>
|
||||
<name> Test Creator 3 </name>
|
||||
<link> http://localhost:%PORT%/creator3.html </link>
|
||||
</author>
|
||||
<author>
|
||||
<name> First Test Developer 3 </name>
|
||||
<link> http://localhost:%PORT%/developer1-3.html </link>
|
||||
</author>
|
||||
<author>
|
||||
<name> </name>
|
||||
<link> </link>
|
||||
</author>
|
||||
<author>
|
||||
<name> Second Test Developer 3 </name>
|
||||
<link> http://localhost:%PORT%/developer2-3.html </link>
|
||||
</author>
|
||||
</authors>
|
||||
<summary> Test Summary 3 </summary>
|
||||
<description> Test Description 3<br><ul><li>List item 1<li>List item 2</ul> </description>
|
||||
<developer_comments> Test Developer Comments 3 </developer_comments>
|
||||
<eula> Test EULA 3 </eula>
|
||||
<icon size="32"> http://localhost:%PORT%/icon3.png </icon>
|
||||
<status id=" 8 ">Preliminarily Reviewed</status>
|
||||
<!-- Test that an incompatible + compatible application list passes -->
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID> unknown@tests.mozilla.org </appID>
|
||||
<min_version> 1 </min_version>
|
||||
<max_version> 1 </max_version>
|
||||
</application>
|
||||
<application>
|
||||
<appID> xpcshell@tests.mozilla.org </appID>
|
||||
<min_version> 1 </min_version>
|
||||
<max_version> 1 </max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<!-- Test that primary images appear first in the add-on's screenshots array -->
|
||||
<previews>
|
||||
<preview primary=" 0 ">
|
||||
<full type=" image/png "> http://localhost:%PORT%/full2-3.png </full>
|
||||
<caption> Caption 2 - 3 </caption>
|
||||
</preview>
|
||||
<!-- Test that a preview without a <full> element is ignored -->
|
||||
<preview primary=" 0 ">
|
||||
<caption> Caption ignore - 3 </caption>
|
||||
</preview>
|
||||
<!-- Test that a preview with an empty <full> element is ignored -->
|
||||
<preview primary=" 0 ">
|
||||
<full type=" image/png "> </full>
|
||||
<caption> Caption ignore - 3 </caption>
|
||||
<preview primary=" 1 ">
|
||||
<full type=" image/png "> http://localhost:%PORT%/full1-3.png </full>
|
||||
<thumbnail type=" image/png "> http://localhost:%PORT%/thumbnail1-3.png </thumbnail>
|
||||
<caption> Caption 1 - 3 </caption>
|
||||
</preview>
|
||||
<preview primary=" 0 ">
|
||||
<full type=" image/png "> http://localhost:%PORT%/full3-3.png </full>
|
||||
<thumbnail type=" image/png "> http://localhost:%PORT%/thumbnail3-3.png </thumbnail>
|
||||
<caption> Caption 3 - 3 </caption>
|
||||
</preview>
|
||||
</preview>
|
||||
</previews>
|
||||
<!-- Test that a rating between 1 and 5 is correctly parsed -->
|
||||
<rating> 2 </rating>
|
||||
<!-- Test that hompage is used as the add-on's homepageURL
|
||||
even if learnmore is defined -->
|
||||
<learnmore> http://localhost:%PORT%/learnmore3.html </learnmore>
|
||||
<homepage> http://localhost:%PORT%/homepage3.html </homepage>
|
||||
<support> http://localhost:%PORT%/support3.html </support>
|
||||
<contribution_data>
|
||||
<link> http://localhost:%PORT%/contribution3.html </link>
|
||||
<suggested_amount currency="USD"> $11.11 </suggested_amount>
|
||||
<meet_developers> http://localhost:%PORT%/meetDevelopers3.html </meet_developers>
|
||||
</contribution_data>
|
||||
<reviews num=" 1111 "> http://localhost:%PORT%/review3.html </reviews>
|
||||
<total_downloads> 2222 </total_downloads>
|
||||
<weekly_downloads> 3333 </weekly_downloads>
|
||||
<daily_users> 4444 </daily_users>
|
||||
<last_updated epoch=" 1265033045 "> 2010-02-01T14:04:05Z </last_updated>
|
||||
<!-- Test that an incompatible install is ignored -->
|
||||
<install size=" 9999 " os=" UNKNOWN "> http://localhost:%PORT%/fail3.xpi </install>
|
||||
<!-- Test that OS matching is case-insensitive -->
|
||||
<install size=" 5555 " os=" xpCShell " hash=" sha1:c26f0b0d62e5dcddcda95074d3f3fedb9bbc26e3 "> http://localhost:%PORT%/test3.xpi </install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because name is undefined -->
|
||||
<addon>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test4@tests.mozilla.org</guid>
|
||||
<version>1.4</version>
|
||||
<authors><author><name>Test Creator 4</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with undefined name should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test4.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because name is empty-->
|
||||
<addon>
|
||||
<name> </name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test5@tests.mozilla.org</guid>
|
||||
<version>1.5</version>
|
||||
<authors><author><name>Test Creator 5</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with empty name should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test5.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because type is undefined -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<guid>test6@tests.mozilla.org</guid>
|
||||
<version>1.6</version>
|
||||
<authors><author><name>Test Creator 6</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with undefined type should be ignored</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test6.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because type is empty -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="">Empty id attribute</type>
|
||||
<guid>test7@tests.mozilla.org</guid>
|
||||
<version>1.7</version>
|
||||
<authors><author><name>Test Creator 7</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with empty type should be ignored</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test7.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because type is unknown -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="9999">Unknown</type>
|
||||
<guid>test8@tests.mozilla.org</guid>
|
||||
<version>1.8</version>
|
||||
<authors><author><name>Test Creator 8</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with unknown type should be ignored</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test8.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because guid is undefined -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<version>1.9</version>
|
||||
<authors><author><name>Test Creator 9</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with undefined guid should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test9.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because guid is empty -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid> </guid>
|
||||
<version>1.10</version>
|
||||
<authors><author><name>Test Creator 10</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with empty guid should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test10.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because guid matches previously successful result -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test1@tests.mozilla.org</guid>
|
||||
<version>1.11</version>
|
||||
<authors><author><name>Test Creator 11</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with a guid that matches a previously successful result should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test11.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because guid matches already installed add-on -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test_AddonRepository_1@tests.mozilla.org</guid>
|
||||
<version>1.12</version>
|
||||
<authors><author><name>Test Creator 12</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with a guid that matches an installed Addon should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test12.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because version is undefined -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test13@tests.mozilla.org</guid>
|
||||
<authors><author><name>Test Creator 13</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with undefined version should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test13.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because version is empty -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test14@tests.mozilla.org</guid>
|
||||
<version> </version>
|
||||
<authors><author><name>Test Creator 14</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with empty version should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test14.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because authors undefined -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test15@tests.mozilla.org</guid>
|
||||
<version>1.15</version>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with undefined authors should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test15.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because it has no defined author elements -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test16@tests.mozilla.org</guid>
|
||||
<version>1.16</version>
|
||||
<authors></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with no defined author elements should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test16.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because no non-empty author elements -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test17@tests.mozilla.org</guid>
|
||||
<version>1.17</version>
|
||||
<authors>
|
||||
<author><name></name></author>
|
||||
<author><name></name> </author>
|
||||
</authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with no non-empty author elements should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test17.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because status is undefined -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test18@tests.mozilla.org</guid>
|
||||
<version>1.18</version>
|
||||
<authors><author><name>Test Creator 18</name></author></authors>
|
||||
<summary>Add-on with undefined status should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test18.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because status is not Public -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test19@tests.mozilla.org</guid>
|
||||
<version>1.19</version>
|
||||
<authors><author><name>Test Creator 19</name></author></authors>
|
||||
<status id="9999">Unknown</status>
|
||||
<summary>Add-on with non-Public status should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test19.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because compatible_applications is undefined -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test20@tests.mozilla.org</guid>
|
||||
<version>1.20</version>
|
||||
<authors><author><name>Test Creator 20</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with undefined compatible_applications should be ignored.</summary>
|
||||
<install>http://localhost:%PORT%/test20.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because no compatible applications matched -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test21@tests.mozilla.org</guid>
|
||||
<version>1.21</version>
|
||||
<authors><author><name>Test Creator 21</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with no compatible applications should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>unknown@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test21.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because compatible application's min version is undefined -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test22@tests.mozilla.org</guid>
|
||||
<version>1.22</version>
|
||||
<authors><author><name>Test Creator 22</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with too high of a compatible application min version should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<max_version>2.0</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test22.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because compatible application's min version too high -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test23@tests.mozilla.org</guid>
|
||||
<version>1.23</version>
|
||||
<authors><author><name>Test Creator 23</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with too high of a compatible application min version should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1.1</min_version>
|
||||
<max_version>2.0</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test23.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because compatible application's max version is undefined -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test24@tests.mozilla.org</guid>
|
||||
<version>1.24</version>
|
||||
<authors><author><name>Test Creator 24</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with too low of a compatible application max version should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>0.9</min_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test24.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because compatible application's max version is too low -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test25@tests.mozilla.org</guid>
|
||||
<version>1.25</version>
|
||||
<authors><author><name>Test Creator 25</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with too low of a compatible application max version should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>0.9</min_version>
|
||||
<max_version>0.9.9</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test25.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because XPI URL is undefined -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test26@tests.mozilla.org</guid>
|
||||
<version>1.26</version>
|
||||
<authors><author><name>Test Creator 26</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with undefined XPI URL should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because XPI URL is empty -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test27@tests.mozilla.org</guid>
|
||||
<version>1.27</version>
|
||||
<authors><author><name>Test Creator 27</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with an empty XPI URL should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install> </install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because install not compatible with OS -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test28@tests.mozilla.org</guid>
|
||||
<version>1.28</version>
|
||||
<authors><author><name>Test Creator 28</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with no installs with compatible OS should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install os="UNKNOWN1">http://localhost:%PORT%/test28.xpi</install>
|
||||
<install os="UNKNOWN2">http://localhost:%PORT%/test28.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because XPI URL matches an installing AddonInstall -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test29@tests.mozilla.org</guid>
|
||||
<version>1.29</version>
|
||||
<authors><author><name>Test Creator 29</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with an XPI URL that matches an installing AddonInstall should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/addons/test_AddonRepository_2.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Passes because the add-on has the right payment info -->
|
||||
<addon>
|
||||
<name>PASS</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>purchase1@tests.mozilla.org</guid>
|
||||
<version>2.0</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Test Creator - Last Passing</name>
|
||||
<link>http://localhost:%PORT%/creatorLastPassing.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<status id="4">Public</status>
|
||||
<all_compatible_os>
|
||||
<os>ALL</os>
|
||||
</all_compatible_os>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<rating>5</rating>
|
||||
<payment_data>
|
||||
<link>http://localhost:%PORT%/purchaseURL1</link>
|
||||
<amount amount="5">$5</amount>
|
||||
</payment_data>
|
||||
</addon>
|
||||
|
||||
<!-- Passes because the add-on has the right payment info -->
|
||||
<addon>
|
||||
<name>PASS</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>purchase2@tests.mozilla.org</guid>
|
||||
<version>2.0</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Test Creator - Last Passing</name>
|
||||
<link>http://localhost:%PORT%/creatorLastPassing.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<status id="4">Public</status>
|
||||
<all_compatible_os>
|
||||
<os>XPCShell</os>
|
||||
</all_compatible_os>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<rating>5</rating>
|
||||
<payment_data>
|
||||
<link>http://localhost:%PORT%/purchaseURL2</link>
|
||||
<amount amount="10.0">$10</amount>
|
||||
</payment_data>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because the add-on doesn't match the platform -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>purchase3@tests.mozilla.org</guid>
|
||||
<version>2.0</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Test Creator - Last Passing</name>
|
||||
<link>http://localhost:%PORT%/creatorLastPassing.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<status id="4">Public</status>
|
||||
<all_compatible_os>
|
||||
<os>FOO</os>
|
||||
</all_compatible_os>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<rating>5</rating>
|
||||
<payment_data>
|
||||
<link>http://localhost:%PORT%/purchaseURL3</link>
|
||||
<amount amount="10">$10</amount>
|
||||
</payment_data>
|
||||
</addon>
|
||||
|
||||
<!-- Passes because the Addon that has a matching XPI URL
|
||||
has a state = STATE_AVAILABLE (non-active install). This is the
|
||||
last passing add-on. -->
|
||||
<addon>
|
||||
<name>PASS</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test-lastPassing@tests.mozilla.org</guid>
|
||||
<version>2.0</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Test Creator - Last Passing</name>
|
||||
<link>http://localhost:%PORT%/creatorLastPassing.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<status id="4">Public</status>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<!-- Test that a rating > 5 becomes a rating = 5 -->
|
||||
<rating>10</rating>
|
||||
<install>http://localhost:%PORT%/addons/test_AddonRepository_3.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because of MAX_RESULTS limit. The previous <addon> should
|
||||
be the last passing add-on in order to correctly test the limit. -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test-surpassesLimit@tests.mozilla.org</guid>
|
||||
<version>9.9</version>
|
||||
<authors><author><name>Test Creator - Surpasses Limit</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on should not be added because doing so would surpass MAX_RESULTS limit</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test-surpassesLimit.xpi</install>
|
||||
</addon>
|
||||
</searchresults>
|
||||
|
||||
|
|
@ -1,182 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<searchresults total_results="1111">
|
||||
<addon>
|
||||
<name>Repo Add-on 1</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test_AddonRepository_1@tests.mozilla.org</guid>
|
||||
<version>2.1</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Repo Add-on 1 - Creator</name>
|
||||
<link>http://localhost:4444/repo/1/creator.html</link>
|
||||
</author>
|
||||
<author>
|
||||
<name>Repo Add-on 1 - First Developer</name>
|
||||
<link>http://localhost:4444/repo/1/firstDeveloper.html</link>
|
||||
</author>
|
||||
<author>
|
||||
<name>Repo Add-on 1 - Second Developer</name>
|
||||
<link>http://localhost:4444/repo/1/secondDeveloper.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<summary>Repo Add-on 1 - Description<br>Second line</summary>
|
||||
<description><p>Repo Add-on 1 - Full Description &amp; some extra</p></description>
|
||||
<eula>Repo Add-on 1 - EULA</eula>
|
||||
<developer_comments>Repo Add-on 1
|
||||
Developer Comments</developer_comments>
|
||||
<icon size="32">http://localhost/repo/1/icon.png</icon>
|
||||
<status id="4">Public</status>
|
||||
<rating>1</rating>
|
||||
<learnmore>http://localhost/repo/1/learnmore.html</learnmore>
|
||||
<homepage>http://localhost/repo/1/homepage.html</homepage>
|
||||
<support>http://localhost/repo/1/support.html</support>
|
||||
<contribution_data>
|
||||
<link>http://localhost/repo/1/contribution.html</link>
|
||||
<suggested_amount currency="USD">$11.11</suggested_amount>
|
||||
<meet_developers>http://localhost/repo/1/meetDevelopers.html</meet_developers>
|
||||
</contribution_data>
|
||||
<reviews num="1111">http://localhost/repo/1/review.html</reviews>
|
||||
<total_downloads>2221</total_downloads>
|
||||
<weekly_downloads>3331</weekly_downloads>
|
||||
<daily_users>4441</daily_users>
|
||||
<last_updated epoch="9">1970-01-01T00:00:09Z</last_updated>
|
||||
<install size="9">http://localhost:4444/repo/1/install.xpi</install>
|
||||
</addon>
|
||||
|
||||
<addon>
|
||||
<name>Repo Add-on 2</name>
|
||||
<type id="2">Theme</type>
|
||||
<guid>test_AddonRepository_2@tests.mozilla.org</guid>
|
||||
<version>2.2</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Repo Add-on 2 - Creator</name>
|
||||
<link>http://localhost:4444/repo/2/creator.html</link>
|
||||
</author>
|
||||
<author>
|
||||
<name>Repo Add-on 2 - First Developer</name>
|
||||
<link>http://localhost:4444/repo/2/firstDeveloper.html</link>
|
||||
</author>
|
||||
<author>
|
||||
<name>Repo Add-on 2 - Second Developer</name>
|
||||
<link>http://localhost:4444/repo/2/secondDeveloper.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<summary>Repo Add-on 2 - Description</summary>
|
||||
<description>Repo Add-on 2 - Full Description</description>
|
||||
<eula>Repo Add-on 2 - EULA</eula>
|
||||
<developer_comments>Repo Add-on 2 - Developer Comments</developer_comments>
|
||||
<icon size="32">http://localhost/repo/2/icon.png</icon>
|
||||
<status id="9">Unknown</status>
|
||||
<previews>
|
||||
<preview primary="1">
|
||||
<full type="image/png">http://localhost:4444/repo/2/firstFull.png</full>
|
||||
<thumbnail type="image/png">http://localhost:4444/repo/2/firstThumbnail.png</thumbnail>
|
||||
<caption>Repo Add-on 2 - First Caption</caption>
|
||||
</preview>
|
||||
<preview primary="0">
|
||||
<full type="image/png">http://localhost:4444/repo/2/secondFull.png</full>
|
||||
<thumbnail type="image/png">http://localhost:4444/repo/2/secondThumbnail.png</thumbnail>
|
||||
<caption>Repo Add-on 2 - Second Caption</caption>
|
||||
</preview>
|
||||
</previews>
|
||||
<rating>2</rating>
|
||||
<learnmore>http://localhost/repo/2/learnmore.html</learnmore>
|
||||
<homepage>http://localhost/repo/2/homepage.html</homepage>
|
||||
<support>http://localhost/repo/2/support.html</support>
|
||||
<contribution_data>
|
||||
<link>http://localhost/repo/2/contribution.html</link>
|
||||
<meet_developers>http://localhost/repo/2/meetDevelopers.html</meet_developers>
|
||||
</contribution_data>
|
||||
<reviews num="1112">http://localhost/repo/2/review.html</reviews>
|
||||
<total_downloads>2222</total_downloads>
|
||||
<weekly_downloads>3332</weekly_downloads>
|
||||
<daily_users>4442</daily_users>
|
||||
<last_updated epoch="9">1970-01-01T00:00:09Z</last_updated>
|
||||
<install size="9">http://localhost:4444/repo/2/install.xpi</install>
|
||||
</addon>
|
||||
|
||||
<addon>
|
||||
<name>Repo Add-on 3</name>
|
||||
<type id="2">Theme</type>
|
||||
<guid>test_AddonRepository_3@tests.mozilla.org</guid>
|
||||
<version>2.3</version>
|
||||
<icon size="32">http://localhost/repo/3/icon.png</icon>
|
||||
<previews>
|
||||
<preview primary="1">
|
||||
<full type="image/png">http://localhost:4444/repo/3/firstFull.png</full>
|
||||
<thumbnail type="image/png">http://localhost:4444/repo/3/firstThumbnail.png</thumbnail>
|
||||
<caption>Repo Add-on 3 - First Caption</caption>
|
||||
</preview>
|
||||
<preview primary="0">
|
||||
<full type="image/png">http://localhost:4444/repo/3/secondFull.png</full>
|
||||
<thumbnail type="image/png">http://localhost:4444/repo/3/secondThumbnail.png</thumbnail>
|
||||
<caption>Repo Add-on 3 - Second Caption</caption>
|
||||
</preview>
|
||||
</previews>
|
||||
</addon>
|
||||
|
||||
<addon_compatibility hosted="true" id="123">
|
||||
<guid>test_AddonRepository_1@tests.mozilla.org</guid>
|
||||
<name>PASS</name>
|
||||
<version_ranges>
|
||||
<!-- Will be included -->
|
||||
<version_range type="incompatible">
|
||||
<min_version>0.1</min_version>
|
||||
<max_version>0.2</max_version>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<name>XPCShell</name>
|
||||
<application_id>666</application_id>
|
||||
<min_version>3.0</min_version>
|
||||
<max_version>4.0</max_version>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
</version_range>
|
||||
<!-- Will be included -->
|
||||
<version_range type="incompatible">
|
||||
<min_version>0.2</min_version>
|
||||
<max_version>0.3</max_version>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<name>XPCShell</name>
|
||||
<application_id>666</application_id>
|
||||
<min_version>5.0</min_version>
|
||||
<max_version>6.0</max_version>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
</version_range>
|
||||
<!-- Won't be included - invalid type attribute -->
|
||||
<version_range type="unknown">
|
||||
<min_version>9</min_version>
|
||||
<max_version>10</max_version>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<name>XPCShell</name>
|
||||
<application_id>666</application_id>
|
||||
<min_version>10.0</min_version>
|
||||
<max_version>11.0</max_version>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
</version_range>
|
||||
<!-- Won't be included - no matching appID -->
|
||||
<version_range type="incompatible">
|
||||
<min_version>0.2</min_version>
|
||||
<max_version>0.3</max_version>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<name>Unknown App</name>
|
||||
<application_id>123</application_id>
|
||||
<min_version>1.0</min_version>
|
||||
<max_version>999.0</max_version>
|
||||
<appID>unknown-app@tests.mozilla.org</appID>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
</version_range>
|
||||
</version_ranges>
|
||||
</addon_compatibility>
|
||||
</searchresults>
|
||||
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<searchresults total_results="123">
|
||||
<addon>
|
||||
<name>Test Repo Add-on - ignore</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>compatmode-ignore@tests.mozilla.org</guid>
|
||||
<version>1.1</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Test Creator 1</name>
|
||||
<link>http://localhost:%PORT%/creator1.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test1.xpi</install>
|
||||
</addon>
|
||||
</searchresults>
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<searchresults total_results="123">
|
||||
<addon>
|
||||
<name>Test Repo Add-on - normal</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>compatmode-normal@tests.mozilla.org</guid>
|
||||
<version>1.1</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Test Creator 1</name>
|
||||
<link>http://localhost:%PORT%/creator1.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test1.xpi</install>
|
||||
</addon>
|
||||
</searchresults>
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<searchresults total_results="123">
|
||||
<addon>
|
||||
<name>Test Repo Add-on - strict</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>compatmode-strict@tests.mozilla.org</guid>
|
||||
<version>1.1</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Test Creator 1</name>
|
||||
<link>http://localhost:%PORT%/creator1.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test1.xpi</install>
|
||||
</addon>
|
||||
</searchresults>
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<searchresults total_results="9999" />
|
||||
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<searchresults total_results="9999">
|
||||
<!-- Cause XML parse error so that the search fails -->
|
||||
<!-- <addon> -->
|
||||
<name>PASS</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test1@tests.mozilla.org</guid>
|
||||
<version>1.1</version>
|
||||
<authors><author><name>Test Creator 1</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test1.xpi</install>
|
||||
</addon>
|
||||
</searchresults>
|
||||
|
||||
|
|
@ -1,187 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<searchresults total_results="1111">
|
||||
<!-- Passes even though XPI URL matches an installing AddonInstall.
|
||||
Tests optional attributes. -->
|
||||
<addon>
|
||||
<name>PASS</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test1@tests.mozilla.org</guid>
|
||||
<version>1.1</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Test Creator 1</name>
|
||||
<link>http://localhost:%PORT%/creator1.html</link>
|
||||
</author>
|
||||
<author>
|
||||
<name>Test Developer 1</name>
|
||||
<link>http://localhost:%PORT%/developer1.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<summary>Test Summary 1</summary>
|
||||
<description>Test Description 1</description>
|
||||
<eula>Test EULA 1</eula>
|
||||
<developer_comments>Test Developer Comments 1</developer_comments>
|
||||
<icon size="32">http://localhost:%PORT%/icon1.png</icon>
|
||||
<status id="8">Preliminarily Reviewed</status>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<previews>
|
||||
<preview primary="1">
|
||||
<full type="image/png" width="400" height="300">
|
||||
http://localhost:%PORT%/full1-1.png
|
||||
</full>
|
||||
<thumbnail type="image/png" width="200" height="150">
|
||||
http://localhost:%PORT%/thumbnail1-1.png
|
||||
</thumbnail>
|
||||
<caption>Caption 1 - 1</caption>
|
||||
</preview>
|
||||
<preview primary="0">
|
||||
<full type="image/png">http://localhost:%PORT%/full2-1.png</full>
|
||||
<thumbnail type="image/png">http://localhost:%PORT%/thumbnail2-1.png</thumbnail>
|
||||
<caption>Caption 2 - 1</caption>
|
||||
</preview>
|
||||
</previews>
|
||||
<rating>4</rating>
|
||||
<learnmore>http://localhost:%PORT%/learnmore1.html</learnmore>
|
||||
<support>http://localhost:%PORT%/support1.html</support>
|
||||
<contribution_data>
|
||||
<link>http://localhost:%PORT%/contribution1.html</link>
|
||||
<suggested_amount currency="USD">$11.11</suggested_amount>
|
||||
<meet_developers>http://localhost:%PORT%/meetDevelopers1.html</meet_developers>
|
||||
</contribution_data>
|
||||
<reviews num="1111">http://localhost:%PORT%/review1.html</reviews>
|
||||
<total_downloads>2222</total_downloads>
|
||||
<weekly_downloads>3333</weekly_downloads>
|
||||
<daily_users>4444</daily_users>
|
||||
<last_updated epoch="1265033045">2010-02-01T14:04:05Z</last_updated>
|
||||
<install size="5555">http://localhost:%PORT%/addons/test_AddonRepository_2.xpi</install>
|
||||
</addon>
|
||||
|
||||
<addon_compatibility hosted="true" id="123">
|
||||
<guid>test1@tests.mozilla.org</guid>
|
||||
<name>PASS</name>
|
||||
<version_ranges>
|
||||
<!-- Will be included -->
|
||||
<version_range type="incompatible">
|
||||
<min_version>0.1</min_version>
|
||||
<max_version>0.2</max_version>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<name>XPCShell</name>
|
||||
<application_id>666</application_id>
|
||||
<min_version>3.0</min_version>
|
||||
<max_version>4.0</max_version>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
</version_range>
|
||||
<!-- Will be included -->
|
||||
<version_range type="incompatible">
|
||||
<min_version>0.2</min_version>
|
||||
<max_version>0.3</max_version>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<name>XPCShell</name>
|
||||
<application_id>666</application_id>
|
||||
<min_version>5.0</min_version>
|
||||
<max_version>6.0</max_version>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
</version_range>
|
||||
<!-- Won't be included - invalid type attribute -->
|
||||
<version_range type="unknown">
|
||||
<min_version>9</min_version>
|
||||
<max_version>10</max_version>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<name>XPCShell</name>
|
||||
<application_id>666</application_id>
|
||||
<min_version>10.0</min_version>
|
||||
<max_version>11.0</max_version>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
</version_range>
|
||||
<!-- Won't be included - no matching appID -->
|
||||
<version_range type="incompatible">
|
||||
<min_version>0.2</min_version>
|
||||
<max_version>0.3</max_version>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<name>Unknown App</name>
|
||||
<application_id>123</application_id>
|
||||
<min_version>1.0</min_version>
|
||||
<max_version>999.0</max_version>
|
||||
<appID>unknown-app@tests.mozilla.org</appID>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
</version_range>
|
||||
</version_ranges>
|
||||
</addon_compatibility>
|
||||
|
||||
<!-- Fails because guid matches previously successful result -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>test1@tests.mozilla.org</guid>
|
||||
<version>1.2</version>
|
||||
<authors><author><name>Test Creator 2</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with a guid that matches a previously successful result should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test2.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Fails because guid was not requested -->
|
||||
<addon>
|
||||
<name>FAIL</name>
|
||||
<type id="1">Extension</type>
|
||||
<guid>notRequested@tests.mozilla.org</guid>
|
||||
<version>1.3</version>
|
||||
<authors><author><name>Test Creator 3</name></author></authors>
|
||||
<status id="4">Public</status>
|
||||
<summary>Add-on with a guid that wasn't requested should be ignored.</summary>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test3.xpi</install>
|
||||
</addon>
|
||||
|
||||
<!-- Passes even though guid matches already installed add-on,
|
||||
type is unknown, no defined author elements, status is not Public,
|
||||
no compatible applications matched, no installs compatible with OS
|
||||
-->
|
||||
<addon>
|
||||
<name>PASS</name>
|
||||
<type id="2">Theme</type>
|
||||
<guid>test_AddonRepository_1@tests.mozilla.org</guid>
|
||||
<version>1.4</version>
|
||||
<status id="9999">Unknown</status>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>unknown@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install os="UNKNOWN1">http://localhost:%PORT%/test4.xpi</install>
|
||||
<install os="UNKNOWN2">http://localhost:%PORT%/test4.xpi</install>
|
||||
</addon>
|
||||
</searchresults>
|
||||
|
||||
|
|
@ -1,70 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:addon1@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<!-- app id compatible update available -->
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>2</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>xpcshell@tests.mozilla.org</em:id>
|
||||
<em:minVersion>1</em:minVersion>
|
||||
<em:maxVersion>1</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/broken.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:addon2@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<!-- app id compatible update available -->
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>2</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>xpcshell@tests.mozilla.org</em:id>
|
||||
<em:minVersion>1</em:minVersion>
|
||||
<em:maxVersion>1</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/broken.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:addon3@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<!-- app id compatible update available -->
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>2</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>xpcshell@tests.mozilla.org</em:id>
|
||||
<em:minVersion>1</em:minVersion>
|
||||
<em:maxVersion>1</em:maxVersion>
|
||||
<em:updateLink>http://localhost:%PORT%/broken.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
</RDF:RDF>
|
||||
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist">
|
||||
<emItems>
|
||||
<emItem name="/^Mozilla Corp\.$/">
|
||||
<versionRange severity="1">
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="1" maxVersion="2.*"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="/block2/" name="/^Moz/" creator="Dangerous"
|
||||
homepageURL="/\.dangerous\.com/" updateURL="/\.dangerous\.com/">
|
||||
<versionRange severity="3">
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="1" maxVersion="2.*"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
</emItems>
|
||||
</blocklist>
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist">
|
||||
<emItems>
|
||||
<emItem id="block1@tests.mozilla.org">
|
||||
<prefs>
|
||||
<pref>test.blocklist.pref1</pref>
|
||||
<pref>test.blocklist.pref2</pref>
|
||||
</prefs>
|
||||
<versionRange severity="1">
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="1" maxVersion="2.*"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="block2@tests.mozilla.org">
|
||||
<prefs>
|
||||
<pref>test.blocklist.pref3</pref>
|
||||
<pref>test.blocklist.pref4</pref>
|
||||
</prefs>
|
||||
<versionRange severity="3">
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="1" maxVersion="2.*"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
</emItems>
|
||||
</blocklist>
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist">
|
||||
<emItems>
|
||||
<emItem id="/block1/">
|
||||
<versionRange severity="1">
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="1" maxVersion="2.*"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="/block1/">
|
||||
<versionRange severity="2">
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="1" maxVersion="2.*"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
</emItems>
|
||||
</blocklist>
|
||||
|
|
@ -1,181 +0,0 @@
|
|||
<?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>
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
||||
<RDF:Description about="urn:mozilla:extension:bug299716-2@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>0.1</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>1.9</em:minVersion>
|
||||
<em:maxVersion>2.0.*</em:maxVersion>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
</RDF:RDF>
|
||||
|
|
@ -1,91 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:bug324121_2@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<!-- app id compatible update available -->
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>2</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>xpcshell@tests.mozilla.org</em:id>
|
||||
<em:minVersion>3</em:minVersion>
|
||||
<em:maxVersion>3</em:maxVersion>
|
||||
<em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:bug324121_3@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<!-- app id incompatible update available -->
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>2</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>xpcshell@tests.mozilla.org</em:id>
|
||||
<em:minVersion>2</em:minVersion>
|
||||
<em:maxVersion>2</em:maxVersion>
|
||||
<em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:bug324121_6@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<!-- toolkit id compatible update available -->
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>2</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>3</em:minVersion>
|
||||
<em:maxVersion>3</em:maxVersion>
|
||||
<em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:bug324121_7@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<!-- toolkit id incompatible update available -->
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>2</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>2</em:minVersion>
|
||||
<em:maxVersion>2</em:maxVersion>
|
||||
<em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
</RDF:RDF>
|
||||
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist">
|
||||
<emItems>
|
||||
<emItem id="test_bug393285_2@tests.mozilla.org"/>
|
||||
<emItem id="test_bug393285_3a@tests.mozilla.org">
|
||||
<versionRange minVersion="1.0" maxVersion="1.0"/>
|
||||
</emItem>
|
||||
<emItem id="test_bug393285_3b@tests.mozilla.org">
|
||||
<versionRange minVersion="1.0" maxVersion="1.0"/>
|
||||
</emItem>
|
||||
<emItem id="test_bug393285_4@tests.mozilla.org">
|
||||
<versionRange minVersion="1.0" maxVersion="1.0">
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="1.0" maxVersion="1.0"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="test_bug393285_5@tests.mozilla.org" os="Darwin"/>
|
||||
<emItem id="test_bug393285_6@tests.mozilla.org" os="XPCShell"/>
|
||||
<emItem id="test_bug393285_7@tests.mozilla.org" os="Darwin,XPCShell,WINNT"/>
|
||||
<emItem id="test_bug393285_8@tests.mozilla.org" xpcomabi="x86-msvc"/>
|
||||
<emItem id="test_bug393285_9@tests.mozilla.org" xpcomabi="noarch-spidermonkey"/>
|
||||
<emItem id="test_bug393285_10@tests.mozilla.org" xpcomabi="ppc-gcc3,noarch-spidermonkey,x86-msvc"/>
|
||||
<emItem id="test_bug393285_11@tests.mozilla.org" os="Darwin" xpcomabi="ppc-gcc3,x86-msvc"/>
|
||||
<emItem id="test_bug393285_12@tests.mozilla.org" os="Darwin" xpcomabi="ppc-gcc3,noarch-spidermonkey,x86-msvc"/>
|
||||
<emItem id="test_bug393285_13@tests.mozilla.org" os="XPCShell" xpcomabi="ppc-gcc3,x86-msvc"/>
|
||||
<emItem id="test_bug393285_14@tests.mozilla.org" os="XPCShell,WINNT" xpcomabi="ppc-gcc3,x86-msvc,noarch-spidermonkey"/>
|
||||
</emItems>
|
||||
</blocklist>
|
||||
|
|
@ -1,159 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:bug394300_1@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<!-- Not a valid install - incompatible app versions -->
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>20</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>xpcshell@tests.mozilla.org</em:id>
|
||||
<em:minVersion>2</em:minVersion>
|
||||
<em:maxVersion>2</em:maxVersion>
|
||||
<em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
<!-- Valid install should be the version detected -->
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>10</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>xpcshell@tests.mozilla.org</em:id>
|
||||
<em:minVersion>1</em:minVersion>
|
||||
<em:maxVersion>1</em:maxVersion>
|
||||
<em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
<!-- Valid install. Detecting this would indicate that the order
|
||||
of entries is playing a part in the update detection. -->
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>6</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>xpcshell@tests.mozilla.org</em:id>
|
||||
<em:minVersion>1</em:minVersion>
|
||||
<em:maxVersion>1</em:maxVersion>
|
||||
<em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
<!-- Not a valid install - no minVersion or maxVersion specified -->
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>40</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>xpcshell@tests.mozilla.org</em:id>
|
||||
<em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
<!-- Not a valid install - incompatible app versions -->
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>30</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>xpcshell@tests.mozilla.org</em:id>
|
||||
<em:minVersion>2</em:minVersion>
|
||||
<em:maxVersion>2</em:maxVersion>
|
||||
<em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:mozilla:extension:bug394300_2@tests.mozilla.org">
|
||||
<em:updates>
|
||||
<RDF:Seq>
|
||||
<!-- Not a valid install - incompatible app versions -->
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>20</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>2</em:minVersion>
|
||||
<em:maxVersion>2</em:maxVersion>
|
||||
<em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
<!-- Valid install should be the version detected -->
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>10</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>1.9</em:minVersion>
|
||||
<em:maxVersion>1.9</em:maxVersion>
|
||||
<em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
<!-- Valid install. Detecting this would indicate that the order
|
||||
of entries is playing a part in the update detection. -->
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>6</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>1.9</em:minVersion>
|
||||
<em:maxVersion>1.9</em:maxVersion>
|
||||
<em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
<!-- Not a valid install - no minVersion or maxVersion specified -->
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>40</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
<!-- Not a valid install - incompatible app versions -->
|
||||
<RDF:li>
|
||||
<RDF:Description>
|
||||
<em:version>30</em:version>
|
||||
<em:targetApplication>
|
||||
<RDF:Description>
|
||||
<em:id>toolkit@mozilla.org</em:id>
|
||||
<em:minVersion>2</em:minVersion>
|
||||
<em:maxVersion>2</em:maxVersion>
|
||||
<em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
|
||||
</RDF:Description>
|
||||
</em:targetApplication>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
</em:updates>
|
||||
</RDF:Description>
|
||||
|
||||
</RDF:RDF>
|
||||
|
||||
|
|
@ -1,185 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<searchresults total_results="100">
|
||||
<addon>
|
||||
<name>TEST</name>
|
||||
<type id='1'>Extension</type>
|
||||
<guid>test1@tests.mozilla.org</guid>
|
||||
<version>1.0</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Test Creator</name>
|
||||
<link>http://localhost:%PORT%/creator.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<status id='4'>Public</status>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test.xpi</install>
|
||||
</addon>
|
||||
|
||||
<addon>
|
||||
<name>TEST</name>
|
||||
<rating>-5</rating>
|
||||
<type id='1'>Extension</type>
|
||||
<guid>test2@tests.mozilla.org</guid>
|
||||
<version>1.0</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Test Creator</name>
|
||||
<link>http://localhost:%PORT%/creator.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<status id='4'>Public</status>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test.xpi</install>
|
||||
</addon>
|
||||
|
||||
<addon>
|
||||
<name>TEST</name>
|
||||
<rating>0</rating>
|
||||
<type id='1'>Extension</type>
|
||||
<guid>test3@tests.mozilla.org</guid>
|
||||
<version>1.0</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Test Creator</name>
|
||||
<link>http://localhost:%PORT%/creator.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<status id='4'>Public</status>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test.xpi</install>
|
||||
</addon>
|
||||
|
||||
<addon>
|
||||
<name>TEST</name>
|
||||
<rating>2</rating>
|
||||
<type id='1'>Extension</type>
|
||||
<guid>test4@tests.mozilla.org</guid>
|
||||
<version>1.0</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Test Creator</name>
|
||||
<link>http://localhost:%PORT%/creator.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<status id='4'>Public</status>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test.xpi</install>
|
||||
</addon>
|
||||
|
||||
<addon>
|
||||
<name>TEST</name>
|
||||
<rating>4</rating>
|
||||
<type id='1'>Extension</type>
|
||||
<guid>test5@tests.mozilla.org</guid>
|
||||
<version>1.0</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Test Creator</name>
|
||||
<link>http://localhost:%PORT%/creator.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<status id='4'>Public</status>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test.xpi</install>
|
||||
</addon>
|
||||
|
||||
<addon>
|
||||
<name>TEST</name>
|
||||
<rating>5</rating>
|
||||
<type id='1'>Extension</type>
|
||||
<guid>test6@tests.mozilla.org</guid>
|
||||
<version>1.0</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Test Creator</name>
|
||||
<link>http://localhost:%PORT%/creator.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<status id='4'>Public</status>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test.xpi</install>
|
||||
</addon>
|
||||
|
||||
<addon>
|
||||
<name>TEST</name>
|
||||
<rating>10</rating>
|
||||
<type id='1'>Extension</type>
|
||||
<guid>test7@tests.mozilla.org</guid>
|
||||
<version>1.0</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Test Creator</name>
|
||||
<link>http://localhost:%PORT%/creator.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<status id='4'>Public</status>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test.xpi</install>
|
||||
</addon>
|
||||
|
||||
<addon>
|
||||
<name>TEST</name>
|
||||
<rating>100</rating>
|
||||
<type id='1'>Extension</type>
|
||||
<guid>test8@tests.mozilla.org</guid>
|
||||
<version>1.0</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Test Creator</name>
|
||||
<link>http://localhost:%PORT%/creator.html</link>
|
||||
</author>
|
||||
</authors>
|
||||
<status id='4'>Public</status>
|
||||
<compatible_applications>
|
||||
<application>
|
||||
<appID>xpcshell@tests.mozilla.org</appID>
|
||||
<min_version>1</min_version>
|
||||
<max_version>1</max_version>
|
||||
</application>
|
||||
</compatible_applications>
|
||||
<install>http://localhost:%PORT%/test.xpi</install>
|
||||
</addon>
|
||||
</searchresults>
|
||||
|
|
@ -1,333 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist">
|
||||
<emItems>
|
||||
<!-- All extensions are version 5 and tests run against appVersion 3 -->
|
||||
|
||||
<!-- Test 1 not listed, should never get blocked -->
|
||||
<!-- Always blocked -->
|
||||
<emItem id="test_bug449027_2@tests.mozilla.org"/>
|
||||
<!-- Always blocked -->
|
||||
<emItem id="test_bug449027_3@tests.mozilla.org">
|
||||
<versionRange/>
|
||||
</emItem>
|
||||
<!-- Not blocked since neither version range matches -->
|
||||
<emItem id="test_bug449027_4@tests.mozilla.org">
|
||||
<versionRange minVersion="6"/>
|
||||
<versionRange maxVersion="4"/>
|
||||
</emItem>
|
||||
<!-- Invalid version range, should not block -->
|
||||
<emItem id="test_bug449027_5@tests.mozilla.org">
|
||||
<versionRange minVersion="6" maxVersion="4"/>
|
||||
</emItem>
|
||||
<!-- Should block all of these -->
|
||||
<emItem id="test_bug449027_6@tests.mozilla.org">
|
||||
<versionRange minVersion="7" maxVersion="8"/>
|
||||
<versionRange minVersion="5" maxVersion="6"/>
|
||||
<versionRange maxVersion="4"/>
|
||||
</emItem>
|
||||
<emItem id="test_bug449027_7@tests.mozilla.org">
|
||||
<versionRange maxVersion="4"/>
|
||||
<versionRange minVersion="4" maxVersion="5"/>
|
||||
<versionRange minVersion="6" maxVersion="7"/>
|
||||
</emItem>
|
||||
<emItem id="test_bug449027_8@tests.mozilla.org">
|
||||
<versionRange minVersion="2" maxVersion="2"/>
|
||||
<versionRange minVersion="4" maxVersion="6"/>
|
||||
<versionRange minVersion="7" maxVersion="8"/>
|
||||
</emItem>
|
||||
<emItem id="test_bug449027_9@tests.mozilla.org">
|
||||
<versionRange minVersion="4"/>
|
||||
</emItem>
|
||||
<emItem id="test_bug449027_10@tests.mozilla.org">
|
||||
<versionRange minVersion="5"/>
|
||||
</emItem>
|
||||
<emItem id="test_bug449027_11@tests.mozilla.org">
|
||||
<versionRange maxVersion="6"/>
|
||||
</emItem>
|
||||
<emItem id="test_bug449027_12@tests.mozilla.org">
|
||||
<versionRange maxVersion="5"/>
|
||||
</emItem>
|
||||
|
||||
<!-- This should block all versions for any application -->
|
||||
<emItem id="test_bug449027_13@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication/>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<!-- Shouldn't block -->
|
||||
<emItem id="test_bug449027_14@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="foo@bar.com"/>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<!-- Should block for any version of the app -->
|
||||
<emItem id="test_bug449027_15@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org"/>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<!-- Should still block -->
|
||||
<emItem id="test_bug449027_16@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<!-- Not blocked since neither version range matches -->
|
||||
<emItem id="test_bug449027_17@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="4"/>
|
||||
<versionRange maxVersion="2"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<!-- Invalid version range, should not block -->
|
||||
<emItem id="test_bug449027_18@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="6" maxVersion="4"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<!-- Should block all of these -->
|
||||
<emItem id="test_bug449027_19@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="foo@bar.com"/>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="5" maxVersion="6"/>
|
||||
<versionRange minVersion="3" maxVersion="4"/>
|
||||
<versionRange maxVersion="2"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="test_bug449027_20@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange maxVersion="2"/>
|
||||
<versionRange minVersion="2" maxVersion="3"/>
|
||||
<versionRange minVersion="4" maxVersion="5"/>
|
||||
</targetApplication>
|
||||
<targetApplication id="foo@bar.com"/>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="test_bug449027_21@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="1" maxVersion="1"/>
|
||||
<versionRange minVersion="2" maxVersion="4"/>
|
||||
<versionRange minVersion="5" maxVersion="6"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="test_bug449027_22@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="foo@bar.com"/>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="3"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="test_bug449027_23@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="2"/>
|
||||
</targetApplication>
|
||||
<targetApplication id="foo@bar.com"/>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="test_bug449027_24@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange maxVersion="3"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="test_bug449027_25@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange maxVersion="4"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
</emItems>
|
||||
<pluginItems>
|
||||
<!-- All plugins are version 5 and tests run against appVersion 3 -->
|
||||
|
||||
<!-- Test 1 not listed, should never get blocked -->
|
||||
<!-- Always blocked -->
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_2$"/>
|
||||
</pluginItem>
|
||||
<!-- Always blocked -->
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_3$"/>
|
||||
<versionRange/>
|
||||
</pluginItem>
|
||||
<!-- Not blocked since neither version range matches -->
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_4$"/>
|
||||
<versionRange minVersion="6"/>
|
||||
<versionRange maxVersion="4"/>
|
||||
</pluginItem>
|
||||
<!-- Invalid version range, should not block -->
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_5$"/>
|
||||
<versionRange minVersion="6" maxVersion="4"/>
|
||||
</pluginItem>
|
||||
<!-- Should block all of these -->
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_6$"/>
|
||||
<versionRange minVersion="7" maxVersion="8"/>
|
||||
<versionRange minVersion="5" maxVersion="6"/>
|
||||
<versionRange maxVersion="4"/>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_7$"/>
|
||||
<versionRange maxVersion="4"/>
|
||||
<versionRange minVersion="4" maxVersion="5"/>
|
||||
<versionRange minVersion="6" maxVersion="7"/>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_8$"/>
|
||||
<versionRange minVersion="2" maxVersion="2"/>
|
||||
<versionRange minVersion="4" maxVersion="6"/>
|
||||
<versionRange minVersion="7" maxVersion="8"/>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_9$"/>
|
||||
<versionRange minVersion="4"/>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_10$"/>
|
||||
<versionRange minVersion="5"/>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_11$"/>
|
||||
<versionRange maxVersion="6"/>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_12$"/>
|
||||
<versionRange maxVersion="5"/>
|
||||
</pluginItem>
|
||||
|
||||
<!-- This should block all versions for any application -->
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_13$"/>
|
||||
<versionRange>
|
||||
<targetApplication/>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<!-- Shouldn't block -->
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_14$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="foo@bar.com"/>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<!-- Should block for any version of the app -->
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_15$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org"/>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<!-- Should still block -->
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_16$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<!-- Not blocked since neither version range matches -->
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_17$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="4"/>
|
||||
<versionRange maxVersion="2"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<!-- Invalid version range, should not block -->
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_18$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="6" maxVersion="4"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<!-- Should block all of these -->
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_19$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="foo@bar.com"/>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="5" maxVersion="6"/>
|
||||
<versionRange minVersion="3" maxVersion="4"/>
|
||||
<versionRange maxVersion="2"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_20$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange maxVersion="2"/>
|
||||
<versionRange minVersion="2" maxVersion="3"/>
|
||||
<versionRange minVersion="4" maxVersion="5"/>
|
||||
</targetApplication>
|
||||
<targetApplication id="foo@bar.com"/>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_21$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="1" maxVersion="1"/>
|
||||
<versionRange minVersion="2" maxVersion="4"/>
|
||||
<versionRange minVersion="5" maxVersion="6"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_22$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="foo@bar.com"/>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="3"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_23$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange minVersion="2"/>
|
||||
</targetApplication>
|
||||
<targetApplication id="foo@bar.com"/>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_24$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange maxVersion="3"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_25$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="xpcshell@tests.mozilla.org">
|
||||
<versionRange maxVersion="4"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
</pluginItems>
|
||||
</blocklist>
|
||||
|
|
@ -1,208 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist">
|
||||
<emItems>
|
||||
<!-- All extensions are version 5 and tests run against toolkitVersion 8 -->
|
||||
|
||||
<!-- Test 1-14 not listed, should never get blocked -->
|
||||
|
||||
<!-- Should block for any version of the app -->
|
||||
<emItem id="test_bug449027_15@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="toolkit@mozilla.org"/>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<!-- Should still block -->
|
||||
<emItem id="test_bug449027_16@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<!-- Not blocked since neither version range matches -->
|
||||
<emItem id="test_bug449027_17@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange minVersion="9"/>
|
||||
<versionRange maxVersion="7"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<!-- Invalid version range, should not block -->
|
||||
<emItem id="test_bug449027_18@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange minVersion="11" maxVersion="9"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<!-- Should block all of these -->
|
||||
<emItem id="test_bug449027_19@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="foo@bar.com"/>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange minVersion="10" maxVersion="11"/>
|
||||
<versionRange minVersion="8" maxVersion="9"/>
|
||||
<versionRange maxVersion="7"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="test_bug449027_20@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange maxVersion="7"/>
|
||||
<versionRange minVersion="7" maxVersion="8"/>
|
||||
<versionRange minVersion="9" maxVersion="10"/>
|
||||
</targetApplication>
|
||||
<targetApplication id="foo@bar.com"/>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="test_bug449027_21@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange minVersion="6" maxVersion="6"/>
|
||||
<versionRange minVersion="7" maxVersion="9"/>
|
||||
<versionRange minVersion="10" maxVersion="11"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="test_bug449027_22@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="foo@bar.com"/>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange minVersion="8"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="test_bug449027_23@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange minVersion="7"/>
|
||||
</targetApplication>
|
||||
<targetApplication id="foo@bar.com"/>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="test_bug449027_24@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange maxVersion="8"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
<emItem id="test_bug449027_25@tests.mozilla.org">
|
||||
<versionRange>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange maxVersion="9"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</emItem>
|
||||
</emItems>
|
||||
<pluginItems>
|
||||
<!-- All plugins are version 5 and tests run against appVersion 3 -->
|
||||
|
||||
<!-- Test 1-14 not listed, should never get blocked -->
|
||||
<!-- Should block for any version of the app -->
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_15$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="toolkit@mozilla.org"/>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<!-- Should still block -->
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_16$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<!-- Not blocked since neither version range matches -->
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_17$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange minVersion="9"/>
|
||||
<versionRange maxVersion="7"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<!-- Invalid version range, should not block -->
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_18$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange minVersion="11" maxVersion="9"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<!-- Should block all of these -->
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_19$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="foo@bar.com"/>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange minVersion="10" maxVersion="11"/>
|
||||
<versionRange minVersion="8" maxVersion="9"/>
|
||||
<versionRange maxVersion="7"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_20$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange maxVersion="7"/>
|
||||
<versionRange minVersion="7" maxVersion="8"/>
|
||||
<versionRange minVersion="9" maxVersion="10"/>
|
||||
</targetApplication>
|
||||
<targetApplication id="foo@bar.com"/>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_21$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange minVersion="6" maxVersion="6"/>
|
||||
<versionRange minVersion="7" maxVersion="9"/>
|
||||
<versionRange minVersion="10" maxVersion="11"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_22$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="foo@bar.com"/>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange minVersion="8"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_23$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange minVersion="7"/>
|
||||
</targetApplication>
|
||||
<targetApplication id="foo@bar.com"/>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_24$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange maxVersion="8"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
<pluginItem>
|
||||
<match name="name" exp="^test_bug449027_25$"/>
|
||||
<versionRange>
|
||||
<targetApplication id="toolkit@mozilla.org">
|
||||
<versionRange maxVersion="9"/>
|
||||
</targetApplication>
|
||||
</versionRange>
|
||||
</pluginItem>
|
||||
</pluginItems>
|
||||
</blocklist>
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue