Testing Staged Blocklist

To test a staged block:

  1. Go to about:config, find the extensions.blocklist.url pref and change the addons.mozilla.org part of the value to addons.allizom.org

Forcing a Blocklist Ping

  1. Open Error Console
  2. Paste and run this snippet:
 Components.classes["@mozilla.org/extensions/blocklist;1"].getService(Components.interfaces.nsITimerCallback).notify(null);

Testing Graphics Blocklist entries

(Note: this only applies to Windows.)

  1. If the blocklist entry is on staging, see above for testing a staged blocklist first.
  2. Ensure you're currently hardware accelerated by opening about:support and looking at the Graphics section. Check that you have:
    1. Direct2D true (if on Windows 7 or Vista with the platform update)
    2. Hardware accelerated windows 1/1 Direct3D 9 (or 10)
  3. Force a blocklist ping, as above.
  4. Wait 5 seconds.
  5. Restart your browser.
  6. Open about:support and look at the Graphics section again. Ensure that:
    1. Direct2D is false
    2. Hardware accelerated windows 0/1

Spoofing Hardware Details for Blocklist Testing

Sometimes you don't have hardware or software available to test a given blocklist entry. On Windows, you can spoof your hardware and software details to the graphics blacklist using environment variables.

Environment Variable Sample Value(s) Meaning
MOZ_GFX_SPOOF_DRIVER_VERSION 8.17.18.2563 The version of the driver you want to spoof.
MOZ_GFX_SPOOF_VENDOR_ID 0x1002 The PCI vendor ID of the card you want to spoof.
MOZ_GFX_SPOOF_DEVICE_ID 0x3245 The PCI device ID of the card you want to spoof.
MOZ_GFX_SPOOF_WINDOWS_VERSION
Windows 20000x50000
Windows XP0x50001
Windows Server 20030x50002
Windows Vista0x60000
Windows 70x60001
The numeric ID of the Windows version you want to spoof.