Bug 1593573 - Use skipURLs prefs instead of whitelist testEntries in social tracking UI test. r=xeonchen
authorNihanth Subramanya <nhnt11@gmail.com>
Mon, 04 Nov 2019 16:49:11 +0000
changeset 500406 eaf25cd8fd0357f04a5e25d662e8232c2a366a70
parent 500405 be848609eea8b155c542412ca96dacabed7f7cff
child 500407 067a556bb614b3b377581c79367adbc1ae220d24
push id114164
push useraiakab@mozilla.com
push dateTue, 05 Nov 2019 10:06:15 +0000
treeherdermozilla-inbound@4d585c7edc76 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersxeonchen
bugs1593573
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1593573 - Use skipURLs prefs instead of whitelist testEntries in social tracking UI test. r=xeonchen Differential Revision: https://phabricator.services.mozilla.com/D51646
browser/base/content/test/trackingUI/browser_trackingUI_socialtracking.js
--- a/browser/base/content/test/trackingUI/browser_trackingUI_socialtracking.js
+++ b/browser/base/content/test/trackingUI/browser_trackingUI_socialtracking.js
@@ -17,21 +17,18 @@ add_task(async function setup() {
         "urlclassifier.features.socialtracking.blacklistHosts",
         "social-tracking.example.org",
       ],
       [
         "urlclassifier.features.socialtracking.annotate.blacklistHosts",
         "social-tracking.example.org",
       ],
       // Whitelist trackertest.org loaded by default in trackingPage.html
-      ["urlclassifier.trackingWhitelistTable.testEntries", "example.com"],
-      [
-        "urlclassifier.trackingAnnotationWhitelistTable.testEntries",
-        "example.com",
-      ],
+      ["urlclassifier.trackingSkipURLs", "trackertest.org"],
+      ["urlclassifier.trackingAnnotationSkipURLs", "trackertest.org"],
       ["privacy.trackingprotection.enabled", false],
       ["privacy.trackingprotection.annotate_channels", true],
     ],
   });
 });
 
 async function testIdentityState(hasException) {
   let promise = BrowserTestUtils.openNewForegroundTab({