summaryrefslogtreecommitdiffstats
path: root/toolkit/components/antitracking/test/browser/browser_imageCache4.js
blob: 8fcc298cf002069e2838a41699405de06cc266d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
let cookieBehavior = BEHAVIOR_REJECT_TRACKER;
let blockingByAllowList = false;
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);