Extension Blocklisting:Testing: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(New page: Page to plan blocklist addition tests. General goal: make sure we do not negatively effect users with new blocklist additions. = Basic checks = # Extensions are not disabled for applicat...)
 
No edit summary
Line 22: Line 22:
       </versionRange>
       </versionRange>
     </emItem>
     </emItem>
   </emItems>
   </emItems>
  </blocklist>
  </blocklist>

Revision as of 18:39, 19 November 2007

Page to plan blocklist addition tests. General goal: make sure we do not negatively effect users with new blocklist additions.

Basic checks

  1. Extensions are not disabled for application versions that aren't specified
  2. Extensions are not disabled for versions that aren't specified
  3. Extensions are disabled for versions that are specified
  4. Extensions are disabled for application versions that are specified

IDM Testing

Blocklist URL (need VPN): http://morgamic.khan-vm.mozilla.org/amo/site/blocklist/1/%7Bec8030f7-c20a-464f-9b0e-13a3a9e97384%7D/3.0a1/

Resulting XML:

<?xml version="1.0"?>
<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist">
  <emItems>
    <emItem id="mozilla_cc@internetdownloadmanager.com">
      <versionRange minVersion="2.1" maxVersion="3.3">
        <targetApplication id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}">
           <versionRange minVersion="3.0a1" maxVersion="*"/>
        </targetApplication>
      </versionRange>
    </emItem>
  </emItems>
</blocklist>

Assertions:

  1. IDM extension disabled for all Firefox clients 3.0a1 and greater, having IDM extension versions between 2.1 and 3.3
  2. IDM extension is not affected for
    1. Extension versions outside this range, any app version
    2. Applications less than 3.0a1, any extension version