Confirmed users
487
edits
Rpappalardo (talk | contribs) (Update list additions /deletions) |
Rpappalardo (talk | contribs) m (Fix list delivery / creation tests) |
||
| Line 193: | Line 193: | ||
== List Delivery & Creation Tests == | == List Delivery & Creation Tests == | ||
=== Summary === | |||
These tests are executed once for each data list | |||
* moztestpub | |||
* mozstd | * mozstd | ||
* mozfull | * mozfull | ||
=== Setup #1 === | === Setup #1 === | ||
| Line 207: | Line 208: | ||
* NOTE: use mozstd, til patch lands | * NOTE: use mozstd, til patch lands | ||
'''SET CUSTOM PREFS ( | '''SET CUSTOM PREFS (moztestpub)''' | ||
<source lang="bash"> | <source lang="bash"> | ||
user_pref("browser.startup.homepage", "http://itisatrap.org/firefox/its-a-tracker.html "); | user_pref("browser.startup.homepage", "http://itisatrap.org/firefox/its-a-tracker.html "); | ||
| Line 216: | Line 217: | ||
user_pref("browser.safebrowsing.provider.mozilla.updateURL", "https://shavar.stage.mozaws.net/downloads?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2"); | user_pref("browser.safebrowsing.provider.mozilla.updateURL", "https://shavar.stage.mozaws.net/downloads?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2"); | ||
user_pref("privacy.trackingprotection.enabled", true); | user_pref("privacy.trackingprotection.enabled", true); | ||
user_pref("urlclassifier.trackingTable", "test-track-simple, | user_pref("urlclassifier.trackingTable", "test-track-simple,moztestpub-track-digest256"); | ||
user_pref("urlclassifier.trackingWhitelistTable", "test-trackwhite-simple, | user_pref("urlclassifier.trackingWhitelistTable", "test-trackwhite-simple,moztestpub-trackwhite-digest256"); | ||
user_pref("urlclassifier.disallow_completions", "test-malware-simple,test-phish-simple,test-unwanted-simple,test-track-simple,test-trackwhite-simple,goog-downloadwhite-digest256, | user_pref("urlclassifier.disallow_completions", "test-malware-simple,test-phish-simple,test-unwanted-simple,test-track-simple,test-trackwhite-simple,goog-downloadwhite-digest256,moztestpub-track-digest256,moztestpub-trackwhite-digest256"); | ||
user_pref("browser.safebrowsing.provider.mozilla.lists", " | user_pref("browser.safebrowsing.provider.mozilla.lists", "moztestpub-track-digest256,moztestpub-trackwhite-digest256"); | ||
</source> | </source> | ||
'''SET CUSTOM PREFS ( | '''SET CUSTOM PREFS (mozstd)''' | ||
<source lang="bash"> | <source lang="bash"> | ||
user_pref("browser.startup.homepage", "http://itisatrap.org/firefox/its-a-tracker.html "); | user_pref("browser.startup.homepage", "http://itisatrap.org/firefox/its-a-tracker.html "); | ||
| Line 231: | Line 232: | ||
user_pref("browser.safebrowsing.provider.mozilla.updateURL", "https://shavar.stage.mozaws.net/downloads?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2"); | user_pref("browser.safebrowsing.provider.mozilla.updateURL", "https://shavar.stage.mozaws.net/downloads?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2"); | ||
user_pref("privacy.trackingprotection.enabled", true); | user_pref("privacy.trackingprotection.enabled", true); | ||
user_pref("urlclassifier.trackingTable", "test-track-simple, | user_pref("urlclassifier.trackingTable", "test-track-simple,mozstd-track-digest256"); | ||
user_pref("urlclassifier.trackingWhitelistTable", "test-trackwhite-simple,mozstd-trackwhite-digest256"); | user_pref("urlclassifier.trackingWhitelistTable", "test-trackwhite-simple,mozstd-trackwhite-digest256"); | ||
user_pref("urlclassifier.disallow_completions", "test-malware-simple,test-phish-simple,test-unwanted-simple,test-track-simple,test-trackwhite-simple,goog-downloadwhite-digest256, | user_pref("urlclassifier.disallow_completions", "test-malware-simple,test-phish-simple,test-unwanted-simple,test-track-simple,test-trackwhite-simple,goog-downloadwhite-digest256,mozstd-track-digest256,mozstd-trackwhite-digest256"); | ||
user_pref("browser.safebrowsing.provider.mozilla.lists", " | user_pref("browser.safebrowsing.provider.mozilla.lists", "mozstd-track-digest256,mozstd-trackwhite-digest256"); | ||
</source> | </source> | ||
'''SET CUSTOM PREFS ( | '''SET CUSTOM PREFS (mozfull)''' | ||
<source lang="bash"> | <source lang="bash"> | ||
user_pref("browser.startup.homepage", "http://itisatrap.org/firefox/its-a-tracker.html "); | user_pref("browser.startup.homepage", "http://itisatrap.org/firefox/its-a-tracker.html "); | ||
| Line 246: | Line 247: | ||
user_pref("browser.safebrowsing.provider.mozilla.updateURL", "https://shavar.stage.mozaws.net/downloads?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2"); | user_pref("browser.safebrowsing.provider.mozilla.updateURL", "https://shavar.stage.mozaws.net/downloads?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2"); | ||
user_pref("privacy.trackingprotection.enabled", true); | user_pref("privacy.trackingprotection.enabled", true); | ||
user_pref("urlclassifier.trackingTable", "test-track-simple, | user_pref("urlclassifier.trackingTable", "test-track-simple,mozfull-track-digest256"); | ||
user_pref("urlclassifier.trackingWhitelistTable", "test-trackwhite-simple, | user_pref("urlclassifier.trackingWhitelistTable", "test-trackwhite-simple,mozstd-trackwhite-digest256"); | ||
user_pref("urlclassifier.disallow_completions", "test-malware-simple,test-phish-simple,test-unwanted-simple,test-track-simple,test-trackwhite-simple,goog-downloadwhite-digest256, | user_pref("urlclassifier.disallow_completions", "test-malware-simple,test-phish-simple,test-unwanted-simple,test-track-simple,test-trackwhite-simple,goog-downloadwhite-digest256,mozfull-track-digest256,mozstd-trackwhite-digest256"); | ||
user_pref("browser.safebrowsing.provider.mozilla.lists", " | user_pref("browser.safebrowsing.provider.mozilla.lists", "mozfull-track-digest256,mozstd-trackwhite-digest256"); | ||
</source> | </source> | ||
* !!!!! restart Firefox !!!!!! | * !!!!! restart Firefox !!!!!! | ||
Replace production URL with stage URL for the following prefs: | Replace production URL with stage URL for the following prefs: | ||
| Line 272: | Line 274: | ||
[[#top]] | [[#top]] | ||
=== TEST #0: verify | === TEST #0.1: verify list files download / cache === | ||
'''SUMMARY''' | |||
Once the list updates are done, look into the cache directory and verify: | |||
moztestpub, mozstd, mozfull list files should be present and with correct filesize(s). | |||
'''FILESIZES''' | |||
blacklists should be < 100K | blacklists should be < 100K | ||
* moztestpub-track-digest256 | |||
* mozstd-track-digest256 | * mozstd-track-digest256 | ||
* mozfull-track-digest256 | * mozfull-track-digest256 | ||
whitelists should be < 400K | whitelists should be < 400K | ||
* moztestpub-trackwhite-digest256 | |||
* mozstd-trackwhite-digest256 | * mozstd-trackwhite-digest256 | ||
''''CACHE LOCATION''' | |||
For moztestpub lists: | |||
<code> | |||
~/.cache/mozilla/firefox/XXXX/safebrowsing/moztestpub-track{,white}-digest256.* on Linux | |||
~/Library/Caches/Firefox/Profiles/XXXX/safebrowsing/moztestpub-track{,white}-digest256.* on Mac | |||
</code> | |||
For mozstd lists: | For mozstd lists: | ||
| Line 297: | Line 310: | ||
</code> | </code> | ||
'''LIST FILES / SIZE''' | |||
for moztestpub lists: | |||
<code> | <code> | ||
-rw-r--r-- 1 johnnyquest staff 52620 Sep 15 10:55 moztestpub-track-digest256.cache | |||
-rw-r--r-- 1 johnnyquest staff 16 Sep 15 10:55 moztestpub-track-digest256.pset | |||
-rw-r--r-- 1 johnnyquest staff 59380 Sep 15 10:55 moztestpub-track-digest256.sbstore | |||
-rw-r--r-- 1 johnnyquest staff 321676 Sep 15 10:55 moztestpub-trackwhite-digest256.cache | |||
-rw-r--r-- 1 johnnyquest staff 16 Sep 15 10:55 moztestpub-trackwhite-digest256.pset | |||
-rw-r--r-- 1 johnnyquest staff 362068 Sep 15 10:55 moztestpub-trackwhite-digest256.sbstore | |||
</code> | </code> | ||
for mozstd lists: | for mozstd lists: | ||
| Line 311: | Line 328: | ||
-rw-r--r-- 1 johnnyquest staff 59380 Sep 15 10:55 mozstd-track-digest256.sbstore | -rw-r--r-- 1 johnnyquest staff 59380 Sep 15 10:55 mozstd-track-digest256.sbstore | ||
-rw-r--r-- 1 johnnyquest staff 321676 Sep 15 10:55 mozstd-trackwhite-digest256.cache | -rw-r--r-- 1 johnnyquest staff 321676 Sep 15 10:55 mozstd-trackwhite-digest256.cache | ||
-rw-r--r-- 1 | -rw-r--r-- 1 johnnyquest staff 16 Sep 15 10:55 mozstd-trackwhite-digest256.pset | ||
-rw-r--r-- 1 johnnyquest staff 362068 Sep 15 10:55 mozstd-trackwhite-digest256.sbstore | -rw-r--r-- 1 johnnyquest staff 362068 Sep 15 10:55 mozstd-trackwhite-digest256.sbstore | ||
</code> | </code> | ||
| Line 322: | Line 339: | ||
</code> | </code> | ||
=== TEST #0.2: verify its-a-tracker page === | |||
* Pull up this page: http://itisatrap.org/firefox/its-a-tracker.html | * Pull up this page: http://itisatrap.org/firefox/its-a-tracker.html | ||
* Ensure that it is all green | * Ensure that it is all green | ||
** blacklist and whitelist are working | |||
* This page doesn't hit shavar server at all | * This page doesn't hit shavar server at all | ||
* If not working, then either | * If not working, then either about:config issue or client issue - repeat above! | ||
=== TEST #0.3: verify CNN page === | |||
* Pull up CNN: http://www.cnn.com | * Pull up CNN: http://www.cnn.com | ||
* make sure that the Shield shows up | * make sure that the Shield shows up | ||
* the developer tool console tab should indicate that something was blocked by tracking protection - should say something like URL blocked because of tracking | * the developer tool console tab should indicate that something was blocked by tracking protection - should say something like URL blocked because of tracking | ||
=== TEST #0.4: verify YouTube page === | |||
* Pull up Youtube: https://www.youtube.com | * Pull up Youtube: https://www.youtube.com | ||
* | * Make sure that googlesyndication.com is NOT blocked by tracking protection on that site | ||
* | * If the whitelist doesn't work, the Tools > WebDeveloper > BrowserConsole should indicate that googlesyndication.com was blocked by TP | ||
* | * If you see in console tab that googlesyndication.com is blocked, that's a sign that TP is NOT Working | ||
[[#top]] | [[#top]] | ||