Extension Blocklisting:Testing

From MozillaWiki
Jump to navigation Jump to search

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

How to Test

  • Install extension, etc.
  • Edit firefox.js:
pref("extensions.blocklist.url", "http://morgamic.khan-vm.mozilla.org/amo/site/blocklist/1/%APP_ID%/%APP_VERSION%/");
  • Edit about:config:
app.update.timer = 60
extensions.blocklist.interval = 60
app.update.lastUpdateTime.blocklist-background-update-timer (reset it)
  • Restart.
  • In about 60s you should see the add-on in question disabled in the EM.

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

  • Download/install

https://bugzilla.mozilla.org/show_bug.cgi?id=382356#c40 previous versions of IDM]

  • See 'how to test' above. Follow the rest of the steps.
  • Restart.

Repeat these steps for the following cases/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