gecko/toolkit/mozapps/extensions/test/unit/data/test_bug449027_toolkit.xml

209 lines
7.2 KiB
XML

<?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>