diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /netwerk/test/unit_ipc/test_trackingProtection_annotateChannels_wrap2.js | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'netwerk/test/unit_ipc/test_trackingProtection_annotateChannels_wrap2.js')
-rw-r--r-- | netwerk/test/unit_ipc/test_trackingProtection_annotateChannels_wrap2.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/netwerk/test/unit_ipc/test_trackingProtection_annotateChannels_wrap2.js b/netwerk/test/unit_ipc/test_trackingProtection_annotateChannels_wrap2.js new file mode 100644 index 0000000000..ab5eb356fd --- /dev/null +++ b/netwerk/test/unit_ipc/test_trackingProtection_annotateChannels_wrap2.js @@ -0,0 +1,26 @@ +const { UrlClassifierTestUtils } = ChromeUtils.importESModule( + "resource://testing-common/UrlClassifierTestUtils.sys.mjs" +); + +function run_test() { + do_get_profile(); + Services.prefs.setBoolPref( + "privacy.trackingprotection.annotate_channels", + true + ); + Services.prefs.setBoolPref( + "privacy.trackingprotection.lower_network_priority", + true + ); + do_test_pending(); + UrlClassifierTestUtils.addTestTrackers().then(() => { + run_test_in_child( + "../unit/test_trackingProtection_annotateChannels.js", + () => { + UrlClassifierTestUtils.cleanupTestTrackers(); + do_test_finished(); + } + ); + do_test_finished(); + }); +} |