Confirmed users
487
edits
Rpappalardo (talk | contribs) m (Update to TEST #2) |
Rpappalardo (talk | contribs) m (Update to TEST #3) |
||
| Line 357: | Line 357: | ||
=== TEST #3: verify whitelist updates === | === TEST #3: verify whitelist updates === | ||
''' | '''SUMMARY''' | ||
* | * This test is similar to TEST #1, but now we verify the whitelist update (vs. blacklist update) | ||
* | * Normally googlesyndication is whitelisted so that it doesn't get blocked from YouTube | ||
* By removing it from whitelist, we should be able to verify that it now gets blocked! | |||
''' | '''VERIFY ENABLED''' | ||
Start Debuggging | |||
* Restart Firefox from terminal to force list updates on client | |||
* The pref set in STEP #0 (browser.safebrowsing.debug) will output debug messages like so: https://pastebin.mozilla.org/8844272 | |||
* Debug output will start in terminal 10 - 30 secs after you start browser | |||
* | '''REMOVE FROM WHITELIST''' | ||
* | |||
* update | * Remove googlesyndication.com from the "Google" organization json blog in the whitelist - https://github.com/mozilla-services/shavar-test-lists | ||
* | * This will trigger the stage list creation script (Cloud Services QA or Ops team can monitor this in Jenkins) | ||
* | |||
* | '''VERIFY DISABLED''' | ||
* update URL has registered correctly (line #8) | |||
** Registering whitelist- mozpub-trackwhite-digest256 (line #10) | |||
** Checking for updates on shavar server: "checkForUpdates with https://tracking.services.mozilla.com" (line #61) | |||
** Request to shavar server begins with: "makeUpdateRequestForEntry_: request mozpub-track-digest256;a:1440776223" (line #108) | |||
** Update success for both lists: "update success for mozpub-track-digest256,mozpub-trackwhite-digest256" (line #112) | |||
** NOTE: if line #112 failure, rest of test will likely not work! | |||
* visit youtube.com | * visit youtube.com | ||
* you should see the shield in the url bar | ** you should NOT see the shield in the url bar | ||
* | * In the: Tools > Web Developer > Browser Console, you should see that googlesyndication.com was blocked because of TrackingProtection | ||
[[#top]] | [[#top]] | ||