Services/TrackingProtection/Shavar Server - Testing: Difference between revisions

whitelist deletions
m (formatting)
(whitelist deletions)
Line 552: Line 552:
'''SUMMARY'''
'''SUMMARY'''


* This test is similar to TEST #1, but now we verify the whitelist update (vs. blacklist update)
* This test is similar to [[#blacklist_deletions|blacklist deletions]], but now we verify the whitelist update (vs. blacklist update)
* Normally googlesyndication is whitelisted so that it doesn't get blocked from YouTube
* 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!
* By removing it from whitelist, we should be able to verify that it now gets blocked!
Line 560: Line 560:
Start Debuggging
Start Debuggging
* Restart Firefox from terminal to force list updates on client
* 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
* The pref set in [[#list_delivery|list delivery]] (browser.safebrowsing.debug) will begin outputting debug messages 10 - 30 secs after you start browser
* Debug output will start in terminal 10 - 30 secs after you start browser
* see: https://pastebin.mozilla.org/8844272


==== delete from whitelist ====  
==== delete from whitelist ====  
Line 570: Line 570:
==== verify disabled ====  
==== verify disabled ====  


* update URL has registered correctly (line #8)
Verify debugging log:
** Registering whitelist- mozstd-trackwhite-digest256 (line #10) - or mozfull
 
** Checking for updates on shavar server: "checkForUpdates with https://shavar.services.mozilla.com" (line #61)
'''update URL has registered correctly'''
** Request to shavar server begins with: "makeUpdateRequestForEntry_: request mozstd-track-digest256;a:1440776223" (line #108)
* i.e: listmanager: 09:44:04 GMT-0700 (PDT): registering mozpub-track-digest256 with https://tracking.services.mozilla.com/downloads?client=SAFEBROWSING_ID&appver=43.0a1&pver=2.2
** Update success for both lists: "update success for mozstd-track-digest256,mozstd-trackwhite-digest256" (line #112)
 
** NOTE: if line #112 failure, rest of test will likely not work!  
'''Registering whitelist- mozstd-trackwhite-digest256'''
* visit youtube.com
* listmanager: 09:44:04 GMT-0700 (PDT): registering mozpub-trackwhite-digest256 with https://tracking.services.mozilla.com/downloads?client=SAFEBROWSING_ID&appver=43.0a1&pver=2.2
** you should see the shield in the url bar
 
'''Checking for updates on shavar server'''
* listmanager: 09:44:07 GMT-0700 (PDT): checkForUpdates with https://tracking.services.mozilla.com/downloads?client=SAFEBROWSING_ID&appver=43.0a1&pver=2.2
 
'''Request to shavar server begins'''
* listmanager: 09:44:07 GMT-0700 (PDT): makeUpdateRequestForEntry_: request mozpub-track-digest256;a:1440776223
 
'''Update success for both lists'''
* listmanager: 09:44:07 GMT-0700 (PDT): update success for mozpub-track-digest256,mozpub-trackwhite-digest256 from https://tracking.services.mozilla.com/downloads?client=SAFEBROWSING_ID&appver=43.0a1&pver=2.2: 2700
 
'''NOTE'''
* if update success fails, rest of test will likely not work!  
 
'''visit youtube.com'''
* you should see the shield in the url bar (whitelist isn't blocking because deleted)
* In the: Tools > Web Developer > Browser Console, you should see that googlesyndication.com was blocked because of TrackingProtection
* In the: Tools > Web Developer > Browser Console, you should see that googlesyndication.com was blocked because of TrackingProtection


[[#top]]
[[#top]]
Confirmed users
487

edits