Services/TrackingProtection/ShavarTesting

< Services‎ | TrackingProtection
Revision as of 01:47, 4 March 2015 by Rpappalardo (talk | contribs) (Adding first draft of shavar testing page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Last updated: 2015/03/04
Draft-template-image.png THIS PAGE IS A WORKING DRAFT Pencil-emoji U270F-gray.png
The page may be difficult to navigate, and some information on its subject might be incomplete and/or evolving rapidly.
If you have any questions or ideas, please add them as a new topic on the discussion page.

Overview=

Tracking protection data is provided by a shavar server: https://github.com/mozilla-services/shavar

When deploying a new release, both end-2-end and performance tests will first be performed in a staging environment prior to production deployment. Following deployment to production, end-2-end tests can again be used to verify deployment success.


Verification Of Stage Deployments

End-2-End Test

SETUP

  • Download Firefox Nightly: [1]
  • Launch with a clean profile
  • open about:config in your URL
  • search: "tracking" - to see all relevant config options
  • Double click on: "browser.safebrowsing.debug" - to set to true
  • Double click on: "browser.trackingprotection.updateURL" - and replace server with staging server URL
    • "tracking.mozilla.services.com" (production server)
    • "tracking.stage.mozaws.net" (stage server)
  • Restart firefox
    • Note: you only need to do this if you change the update URL
  • Double click on: "Enable privacy.trackingprotection.enabled" - to set to true
    • Note: you may see the update messages in the console if "browser.safebrowsing.debug" is enabled.


TEST

To test if the list has been updated, open the following test page:

You should see a bunch of empty boxes and a shield in the upper left corner. At this point, you know that the list has been updated from stage (without crashing) and that the list is catching stuff.


Load Testing

Load testing is performed on stage only! <TBD>


Quick Verification of Production Deployments

<TBD>

Reference

[TrackingProtection]