1
0
Fork 0
firefox/toolkit/components/antitracking/test/browser/browser_imageCache8.js
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

13 lines
459 B
JavaScript

let cookieBehavior = BEHAVIOR_REJECT_TRACKER;
let blockingByAllowList = true;
let expectedBlockingNotifications =
Ci.nsIWebProgressListener.STATE_COOKIES_BLOCKED_TRACKER;
let rootDir = getRootDirectory(gTestPath);
let jar = getJar(rootDir);
if (jar) {
let tmpdir = extractJarToTmp(jar);
rootDir = "file://" + tmpdir.path + "/";
}
/* import-globals-from imageCacheWorker.js */
Services.scriptloader.loadSubScript(rootDir + "imageCacheWorker.js", this);