Confirmed users
487
edits
Rpappalardo (talk | contribs) m (Fix broken link) |
Rpappalardo (talk | contribs) m (Updates to mozxxx -track lists) |
||
| Line 64: | Line 64: | ||
'''SHAVAR LISTS''' | '''SHAVAR LISTS''' | ||
We'll use 6 different lists in testing | We'll use 6 different lists in testing: | ||
* | * mozfull-track-digest256 (diary testing list) | ||
* | * mozfull-trackwhite-digest256 | ||
* mozstd-track-digest256 | |||
* mozstd-trackwhite-digest256 | |||
2 production lists | Old lists: | ||
2 production lists | |||
* mozpub-track-digest256 | * mozpub-track-digest256 | ||
* mozpub-trackwhite-digest256 | * mozpub-trackwhite-digest256 | ||
| Line 112: | Line 116: | ||
** we can do that for almost all the e2e test and validation test, but we can't do that for the "update" test | ** we can do that for almost all the e2e test and validation test, but we can't do that for the "update" test | ||
* TEST #0 gets executed twice | * TEST #0 gets executed twice | ||
** once w/ [[#Setup_.231|Setup #1]] to verify | ** once w/ [[#Setup_.231|Setup #1]] to verify mozstd cache files | ||
** once w/ [[#Setup_.232|Setup #2]] to verify | ** once w/ [[#Setup_.232|Setup #2]] to verify mozfull cache files | ||
[[#top]] | [[#top]] | ||
| Line 127: | Line 131: | ||
<code> | <code> | ||
$ curl -d" " 'https:// | $ curl -d" " 'https://shavar.stage.mozaws.net/list?client=foo&appver=1&pver=2.2' | ||
</code> | </code> | ||
| Line 133: | Line 137: | ||
<code> | <code> | ||
mozfull-track-digest256 | |||
mozpub-shumway-digest256 | |||
mozpub-track-digest256 | |||
mozstd-track-digest256 | |||
mozstd-trackwhite-digest256 | |||
moztestpub-track-digest256 | |||
moztestpub-trackwhite-digest256 | |||
</code> | </code> | ||
Next: | Next: | ||
mozstd lists: | |||
<code> | <code> | ||
$ curl -d" | $ curl -d"mozstd-track-digest256;" 'https://shavar.stage.mozaws.net/downloads?client=foo&appver=1&pver=2.2' | ||
</code> | </code> | ||
| Line 151: | Line 158: | ||
<code> | <code> | ||
n:3600 | n:3600 | ||
i: | i:mozstd-track-digest256 | ||
u:tracking-protection.stage.mozaws.net/ | u:tracking-protection.stage.mozaws.net/mozstd-track-digest256/1442275596 | ||
</code> | |||
mozfull lists: | |||
<code> | |||
$ curl -d"mozfull-track-digest256;" 'https://shavar.stage.mozaws.net/downloads?client=foo&appver=1&pver=2.2' | |||
</code> | |||
Should return this: | |||
<code> | |||
n:3600 | |||
i:mozfull-track-digest256 | |||
u:tracking-protection.stage.mozaws.net/mozfull-track-digest256/1442275596 | |||
</code> | </code> | ||
| Line 398: | Line 418: | ||
'''VERIFY DISABLED''' | '''VERIFY DISABLED''' | ||
* update URL has registered correctly (line #8) | * update URL has registered correctly (line #8) | ||
** Registering whitelist- | ** Registering whitelist- mozstd-trackwhite-digest256 (line #10) - or mozfull | ||
** Checking for updates on shavar server: "checkForUpdates with https:// | ** Checking for updates on shavar server: "checkForUpdates with https://shavar.services.mozilla.com" (line #61) | ||
** Request to shavar server begins with: "makeUpdateRequestForEntry_: request | ** Request to shavar server begins with: "makeUpdateRequestForEntry_: request mozstd-track-digest256;a:1440776223" (line #108) | ||
** Update success for both lists: "update success for | ** 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! | ** NOTE: if line #112 failure, rest of test will likely not work! | ||
* visit youtube.com | * visit youtube.com | ||
** you should NOT 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 | * In the: Tools > Web Developer > Browser Console, you should see that googlesyndication.com was blocked because of TrackingProtection | ||
[[#top]] | [[#top]] | ||