summaryrefslogtreecommitdiffstats
path: root/toolkit/components/antitracking/test/browser/browser_imageCache8.js
blob: b57bf1dca58b606114eaa1bcc5d6b4b472fe7e51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);