fune/toolkit/components/url-classifier/tests/mochitest/test_socialtracking_annotate.html
Jean-Yves Avenard e6d0e7dfda Bug 1588899 - P1. Move classification flags related method to nsIClassifiedChannel. r=Ehsan,baku
This is where it should have been in the first place. Those attributes belong there.

Differential Revision: https://phabricator.services.mozilla.com/D49577

--HG--
extra : moz-landing-system : lando
2019-10-19 04:30:24 +00:00

31 lines
1.3 KiB
HTML

<!DOCTYPE HTML>
<html>
<head>
<title>Test the relationship between annotation vs blocking - socialtracking</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<script type="text/javascript" src="features.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body>
<script class="testbody" type="text/javascript">
runTests(SpecialPowers.Ci.nsIClassifiedChannel.CLASSIFIED_SOCIALTRACKING,
[
["privacy.socialtracking.block_cookies.enabled", false],
["privacy.trackingprotection.enabled", false],
["privacy.trackingprotection.annotate_channels", false],
["urlclassifier.features.fingerprinting.annotate.blacklistHosts", ""],
["urlclassifier.features.fingerprinting.annotate.blacklistTables", ""],
["privacy.trackingprotection.fingerprinting.enabled", false],
["urlclassifier.features.cryptomining.annotate.blacklistHosts", ""],
["urlclassifier.features.cryptomining.annotate.blacklistTables", ""],
["privacy.trackingprotection.cryptomining.enabled", false],
["privacy.trackingprotection.socialtracking.enabled", true],
],
false /* a tracking resource */);
SimpleTest.waitForExplicitFinish();
</script>
</body>
</html>