summaryrefslogtreecommitdiffstats
path: root/toolkit/components/url-classifier/tests/mochitest/test_socialtracking_annotate.html
blob: f12dcf11ec701d115362e1fb3c6a9d220c8296fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!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],
           ["privacy.trackingprotection.emailtracking.enabled", false],
         ],
         false /* a tracking resource */);
SimpleTest.waitForExplicitFinish();

</script>
</body>
</html>