Bug 1480443 - Part 3: Disable FastBlock in URL Classifier tests. r=dimi,francois
authorCosmin Sabou <csabou@mozilla.com>
Sat, 01 Sep 2018 11:06:32 +0300
changeset 492152 1082415e378fab5986f9c6b90d638d8a03690574
parent 492151 6280d28ae6af633341c0984d68cdc88d57adbcad
child 492168 a6c9a7299ec2a7169ec1f9dd5fa699e883515ecc
push id1815
push userffxbld-merge
push dateMon, 15 Oct 2018 10:40:45 +0000
treeherdermozilla-release@18d4c09e9378 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdimi, francois
bugs1480443
milestone63.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 1480443 - Part 3: Disable FastBlock in URL Classifier tests. r=dimi,francois
toolkit/components/url-classifier/tests/mochitest/test_classifier.html
toolkit/components/url-classifier/tests/mochitest/test_classify_ping.html
--- a/toolkit/components/url-classifier/tests/mochitest/test_classifier.html
+++ b/toolkit/components/url-classifier/tests/mochitest/test_classifier.html
@@ -166,16 +166,17 @@ function testService() {
 }
 
 SpecialPowers.pushPrefEnv(
   {"set": [["urlclassifier.malwareTable", "test-malware-simple,test-unwanted-simple,test-harmful-simple"],
            ["urlclassifier.phishTable", "test-phish-simple"],
            ["urlclassifier.downloadBlockTable", "test-block-simple"],
            ["urlclassifier.trackingTable", "test-track-simple"],
            ["browser.safebrowsing.debug", true],
+           ["browser.fastblock.enabled", false],
            ["privacy.trackingprotection.annotate_channels", true]]},
   function() {
     classifierHelper.waitForInit()
       .then(() => classifierHelper.addUrlToDB(testData))
       .then(updateSuccess)
       .catch(err => {
         updateError(err);
       })
--- a/toolkit/components/url-classifier/tests/mochitest/test_classify_ping.html
+++ b/toolkit/components/url-classifier/tests/mochitest/test_classify_ping.html
@@ -126,14 +126,15 @@
       });
   }
 
   SimpleTest.waitForExplicitFinish();
   SimpleTest.registerCleanupFunction(cleanup);
   SpecialPowers.pushPrefEnv({"set": [
     ["browser.send_pings", true],
     ["urlclassifier.trackingTable", "test-track-simple"],
+    ["browser.fastblock.enabled", false],
   ]}, runTest);
 
 </script>
 </pre>
 </body>
 </html>