(default settings) |
brave 1.58 private |
chrome 117.0 private |
edge 117.0 private |
firefox 117.0a1 private |
opera 102.0 private |
safari 17.0 private |
tor 13.0a1 private |
vivaldi 6.2 private |
---|---|---|---|---|---|---|---|---|
State Partitioning tests
Which browsers isolate websites to prevent them from sharing data to track you?
A common vulnerability of web browsers is that they allow tracking companies to 'tag' your browser with some data ('state') that identifies you. When third-party trackers are embedded in websites, they can see this identifying data as you browse to different websites. Fortunately, it is possible for this category of leaks to be fixed by partitioning all data stored in the browser such that no data can be shared between websites.
| ||||||||
Alt-SvcAlt-Svc allows the server to indicate to the web browser that a resource should be loaded on a different server. Because this is a persistent setting, it could be used to track users across websites if it is not correctly partitioned. |
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same first party: h3, h3
result, different first party: h2, h2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same first party: h3, h3
result, different first party: h2, h2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same first party: h3, h3
result, different first party: h2, h2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same first party: h3, h3
result, different first party: h2, h2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same first party: h3, h3
result, different first party: h2, h2
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same first party: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported
result, different first party: h2, h2, h2, h2, h2
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same first party: Error: Unsupported, Error: Unsupported
result, different first party: h2, h2
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same first party: h3, h3
result, different first party: h2, h2
unsupported: false, false
passed: true, true
test failed: false, false
|
blobA 'blob URL' is a local reference to some raw data. Trackers can use a blob URL to share data between websites. |
write: (secret) => {
try {
let blobURL = URL.createObjectURL(new Blob([secret]));
fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async (secret) => {
let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`);
let result = await response.json();
let blobUrl = decodeURIComponent(result.blobUrl);
let blobResponse = await fetch(blobUrl);
return blobResponse.text();
}
result, same first party: d9b3957c-92cf-4fec-b44c-864c60c96810, dba08b66-81a1-48aa-8061-f2b2884302be
result, different first party: Error: Failed to fetch, Error: Failed to fetch
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => {
try {
let blobURL = URL.createObjectURL(new Blob([secret]));
fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async (secret) => {
let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`);
let result = await response.json();
let blobUrl = decodeURIComponent(result.blobUrl);
let blobResponse = await fetch(blobUrl);
return blobResponse.text();
}
result, same first party: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed, bbda6652-188a-44a8-8c11-55f9896c8874
result, different first party: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed, bbda6652-188a-44a8-8c11-55f9896c8874
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (secret) => {
try {
let blobURL = URL.createObjectURL(new Blob([secret]));
fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async (secret) => {
let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`);
let result = await response.json();
let blobUrl = decodeURIComponent(result.blobUrl);
let blobResponse = await fetch(blobUrl);
return blobResponse.text();
}
result, same first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
result, different first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (secret) => {
try {
let blobURL = URL.createObjectURL(new Blob([secret]));
fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async (secret) => {
let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`);
let result = await response.json();
let blobUrl = decodeURIComponent(result.blobUrl);
let blobResponse = await fetch(blobUrl);
return blobResponse.text();
}
result, same first party: 626f2908-e655-4e4b-b34b-7c7b90c3352d, b247a9c6-e9ca-48a5-b148-579bc2a97d36
result, different first party: 626f2908-e655-4e4b-b34b-7c7b90c3352d, b247a9c6-e9ca-48a5-b148-579bc2a97d36
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (secret) => {
try {
let blobURL = URL.createObjectURL(new Blob([secret]));
fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async (secret) => {
let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`);
let result = await response.json();
let blobUrl = decodeURIComponent(result.blobUrl);
let blobResponse = await fetch(blobUrl);
return blobResponse.text();
}
result, same first party: 07130129-76ea-439d-8ac9-e0fa7c154515, a383f45d-f8b4-4fe8-83c2-5524eba15d48
result, different first party: 07130129-76ea-439d-8ac9-e0fa7c154515, a383f45d-f8b4-4fe8-83c2-5524eba15d48
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (secret) => {
try {
let blobURL = URL.createObjectURL(new Blob([secret]));
fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async (secret) => {
let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`);
let result = await response.json();
let blobUrl = decodeURIComponent(result.blobUrl);
let blobResponse = await fetch(blobUrl);
return blobResponse.text();
}
result, same first party: Error: Load failed, Error: Load failed, Error: Load failed, Error: Load failed, Error: Load failed
result, different first party: Error: Load failed, Error: Load failed, Error: Load failed, Error: Load failed, Error: Load failed
unsupported: false, false, false, false, false
passed: undefined
test failed: true, true, true, true, true
|
write: (secret) => {
try {
let blobURL = URL.createObjectURL(new Blob([secret]));
fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async (secret) => {
let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`);
let result = await response.json();
let blobUrl = decodeURIComponent(result.blobUrl);
let blobResponse = await fetch(blobUrl);
return blobResponse.text();
}
result, same first party: 12ff9eb7-ae67-4869-afe8-f0ab2211dd36, 024714be-05c2-454b-a0b0-a8889df2364f
result, different first party: Error: NetworkError when attempting to fetch resource., Error: NetworkError when attempting to fetch resource.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => {
try {
let blobURL = URL.createObjectURL(new Blob([secret]));
fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async (secret) => {
let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`);
let result = await response.json();
let blobUrl = decodeURIComponent(result.blobUrl);
let blobResponse = await fetch(blobUrl);
return blobResponse.text();
}
result, same first party: fc54449d-9e9a-4a62-a674-bc12b1a14df5, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2
result, different first party: fc54449d-9e9a-4a62-a674-bc12b1a14df5, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2
unsupported: false, false
passed: false, false
test failed: false, false
|
BroadcastChannelA BroadcastChannel is designed to send messages between tabs. In some browsers it can be used for cross-site communication and tracking. |
write: (secret) => {
try {
let bc = new BroadcastChannel("secrets");
bc.onmessage = (event) => {
if (event.data === "request") {
bc.postMessage(secret);
}
};
} catch (e) {
throw new Error("Unsupported");
}
}
read: () =>
new Promise((resolve, reject) => {
let bc = new BroadcastChannel("secrets");
bc.onmessage = (event) => {
if (event.data !== "request") {
resolve(event.data);
}
};
bc.postMessage("request");
setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000);
})
result, same first party: d9b3957c-92cf-4fec-b44c-864c60c96810, dba08b66-81a1-48aa-8061-f2b2884302be
result, different first party: Error: no BroadcastChannel message, Error: no BroadcastChannel message
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => {
try {
let bc = new BroadcastChannel("secrets");
bc.onmessage = (event) => {
if (event.data === "request") {
bc.postMessage(secret);
}
};
} catch (e) {
throw new Error("Unsupported");
}
}
read: () =>
new Promise((resolve, reject) => {
let bc = new BroadcastChannel("secrets");
bc.onmessage = (event) => {
if (event.data !== "request") {
resolve(event.data);
}
};
bc.postMessage("request");
setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000);
})
result, same first party: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed, bbda6652-188a-44a8-8c11-55f9896c8874
result, different first party: Error: no BroadcastChannel message, bbda6652-188a-44a8-8c11-55f9896c8874
unsupported: false, false
passed: true, false
test failed: false, false
|
write: (secret) => {
try {
let bc = new BroadcastChannel("secrets");
bc.onmessage = (event) => {
if (event.data === "request") {
bc.postMessage(secret);
}
};
} catch (e) {
throw new Error("Unsupported");
}
}
read: () =>
new Promise((resolve, reject) => {
let bc = new BroadcastChannel("secrets");
bc.onmessage = (event) => {
if (event.data !== "request") {
resolve(event.data);
}
};
bc.postMessage("request");
setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000);
})
result, same first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
result, different first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (secret) => {
try {
let bc = new BroadcastChannel("secrets");
bc.onmessage = (event) => {
if (event.data === "request") {
bc.postMessage(secret);
}
};
} catch (e) {
throw new Error("Unsupported");
}
}
read: () =>
new Promise((resolve, reject) => {
let bc = new BroadcastChannel("secrets");
bc.onmessage = (event) => {
if (event.data !== "request") {
resolve(event.data);
}
};
bc.postMessage("request");
setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000);
})
result, same first party: 626f2908-e655-4e4b-b34b-7c7b90c3352d, b247a9c6-e9ca-48a5-b148-579bc2a97d36
result, different first party: Error: no BroadcastChannel message, Error: no BroadcastChannel message
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => {
try {
let bc = new BroadcastChannel("secrets");
bc.onmessage = (event) => {
if (event.data === "request") {
bc.postMessage(secret);
}
};
} catch (e) {
throw new Error("Unsupported");
}
}
read: () =>
new Promise((resolve, reject) => {
let bc = new BroadcastChannel("secrets");
bc.onmessage = (event) => {
if (event.data !== "request") {
resolve(event.data);
}
};
bc.postMessage("request");
setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000);
})
result, same first party: 07130129-76ea-439d-8ac9-e0fa7c154515, a383f45d-f8b4-4fe8-83c2-5524eba15d48
result, different first party: 07130129-76ea-439d-8ac9-e0fa7c154515, a383f45d-f8b4-4fe8-83c2-5524eba15d48
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (secret) => {
try {
let bc = new BroadcastChannel("secrets");
bc.onmessage = (event) => {
if (event.data === "request") {
bc.postMessage(secret);
}
};
} catch (e) {
throw new Error("Unsupported");
}
}
read: () =>
new Promise((resolve, reject) => {
let bc = new BroadcastChannel("secrets");
bc.onmessage = (event) => {
if (event.data !== "request") {
resolve(event.data);
}
};
bc.postMessage("request");
setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000);
})
result, same first party: Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message
result, different first party: Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message
unsupported: false, false, false, false, false
passed: undefined
test failed: true, true, true, true, true
|
write: (secret) => {
try {
let bc = new BroadcastChannel("secrets");
bc.onmessage = (event) => {
if (event.data === "request") {
bc.postMessage(secret);
}
};
} catch (e) {
throw new Error("Unsupported");
}
}
read: () =>
new Promise((resolve, reject) => {
let bc = new BroadcastChannel("secrets");
bc.onmessage = (event) => {
if (event.data !== "request") {
resolve(event.data);
}
};
bc.postMessage("request");
setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000);
})
result, same first party: 12ff9eb7-ae67-4869-afe8-f0ab2211dd36, 024714be-05c2-454b-a0b0-a8889df2364f
result, different first party: Error: The operation is insecure., Error: The operation is insecure.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => {
try {
let bc = new BroadcastChannel("secrets");
bc.onmessage = (event) => {
if (event.data === "request") {
bc.postMessage(secret);
}
};
} catch (e) {
throw new Error("Unsupported");
}
}
read: () =>
new Promise((resolve, reject) => {
let bc = new BroadcastChannel("secrets");
bc.onmessage = (event) => {
if (event.data !== "request") {
resolve(event.data);
}
};
bc.postMessage("request");
setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000);
})
result, same first party: fc54449d-9e9a-4a62-a674-bc12b1a14df5, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2
result, different first party: fc54449d-9e9a-4a62-a674-bc12b1a14df5, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2
unsupported: false, false
passed: false, false
test failed: false, false
|
CacheStorageThe Cache API is a content storage mechanism originally introduced to support ServiceWorkers. If the same Cache object is accessible to multiple websites, it can be abused to track users. |
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same first party: d9b3957c-92cf-4fec-b44c-864c60c96810, dba08b66-81a1-48aa-8061-f2b2884302be
result, different first party: Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent., Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same first party: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed, bbda6652-188a-44a8-8c11-55f9896c8874
result, different first party: Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent., Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
result, different first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
unsupported: false, false
passed: false, false
test failed: false, false
| –
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same first party: Error: The operation is insecure., Error: The operation is insecure.
result, different first party: Error: The operation is insecure., Error: The operation is insecure.
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same first party: 07130129-76ea-439d-8ac9-e0fa7c154515, a383f45d-f8b4-4fe8-83c2-5524eba15d48
result, different first party: Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent., Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same first party: Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url')
result, different first party: Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url')
unsupported: false, false, false, false, false
passed: undefined
test failed: true, true, true, true, true
| –
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same first party: Error: The operation is insecure., Error: The operation is insecure.
result, different first party: Error: The operation is insecure., Error: The operation is insecure.
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same first party: fc54449d-9e9a-4a62-a674-bc12b1a14df5, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2
result, different first party: Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent., Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent.
unsupported: false, false
passed: true, true
test failed: false, false
|
cookie (HTTP)The cookie, first introduced by Netscape in 1994, is a small amount of data stored by your browser on a website's behalf. It has legitimate uses, but it is also the classic cross-site tracking mechanism, and today still the most popular method of tracking users across websites. Browsers can stop cookies from being used for cross-site tracking by either blocking or partitioning them. |
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same first party: d9b3957c-92cf-4fec-b44c-864c60c96810_http, dba08b66-81a1-48aa-8061-f2b2884302be_http
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same first party: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed_http, bbda6652-188a-44a8-8c11-55f9896c8874_http
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same first party: 90d06281-daf3-4505-b247-f3d8529c095b_http, 4b81b4f0-07aa-4208-a274-887ccabec369_http
result, different first party: 90d06281-daf3-4505-b247-f3d8529c095b_http, 4b81b4f0-07aa-4208-a274-887ccabec369_http
unsupported: false, false
passed: false, false
test failed: false, false
|
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same first party: 626f2908-e655-4e4b-b34b-7c7b90c3352d_http, b247a9c6-e9ca-48a5-b148-579bc2a97d36_http
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same first party: 07130129-76ea-439d-8ac9-e0fa7c154515_http, a383f45d-f8b4-4fe8-83c2-5524eba15d48_http
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same first party: , , , ,
result, different first party: , , , ,
unsupported: false, false, false, false, false
passed: undefined
test failed: true, true, true, true, true
|
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same first party: 12ff9eb7-ae67-4869-afe8-f0ab2211dd36_http, 024714be-05c2-454b-a0b0-a8889df2364f_http
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same first party: fc54449d-9e9a-4a62-a674-bc12b1a14df5_http, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2_http
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
cookie (JS)The cookie, first introduced by Netscape in 1994, is a small amount of data stored by your browser on a website's behalf. It has legitimate uses, but it is also the classic cross-site tracking mechanism, and today still the most popular method of tracking users across websites. Browsers can stop cookies from being used for cross-site tracking by either blocking or partitioning them. |
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same first party: d9b3957c-92cf-4fec-b44c-864c60c96810_js, dba08b66-81a1-48aa-8061-f2b2884302be_js
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same first party: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed_js, bbda6652-188a-44a8-8c11-55f9896c8874_js
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same first party: 90d06281-daf3-4505-b247-f3d8529c095b_js, 4b81b4f0-07aa-4208-a274-887ccabec369_js
result, different first party: 90d06281-daf3-4505-b247-f3d8529c095b_js, 4b81b4f0-07aa-4208-a274-887ccabec369_js
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same first party: 626f2908-e655-4e4b-b34b-7c7b90c3352d_js, b247a9c6-e9ca-48a5-b148-579bc2a97d36_js
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same first party: 07130129-76ea-439d-8ac9-e0fa7c154515_js, a383f45d-f8b4-4fe8-83c2-5524eba15d48_js
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same first party: , , , ,
result, different first party: , , , ,
unsupported: false, false, false, false, false
passed: undefined
test failed: true, true, true, true, true
|
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same first party: 12ff9eb7-ae67-4869-afe8-f0ab2211dd36_js, 024714be-05c2-454b-a0b0-a8889df2364f_js
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same first party: fc54449d-9e9a-4a62-a674-bc12b1a14df5_js, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2_js
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
CookieStoreThe Cookie Store API is an alternative asynchronous API for managing cookies, supported by some browsers. |
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same first party: d9b3957c-92cf-4fec-b44c-864c60c96810, dba08b66-81a1-48aa-8061-f2b2884302be
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same first party: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed, bbda6652-188a-44a8-8c11-55f9896c8874
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
result, different first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
unsupported: false, false
passed: false, false
test failed: false, false
| –
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same first party: Error: Unsupported, Error: Unsupported
result, different first party: Error: Unsupported, Error: Unsupported
unsupported: true, true
passed: undefined
test failed: false, false
|
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same first party: 07130129-76ea-439d-8ac9-e0fa7c154515, a383f45d-f8b4-4fe8-83c2-5524eba15d48
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same first party: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported
result, different first party: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same first party: Error: Unsupported, Error: Unsupported
result, different first party: Error: Unsupported, Error: Unsupported
unsupported: true, true
passed: undefined
test failed: false, false
|
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same first party: fc54449d-9e9a-4a62-a674-bc12b1a14df5, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
CSS cacheCSS stylesheets are cached, and if that cache is shared between websites, it can be used to track users across sites. |
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same first party: fake_7679854569822302, fake_28652624103399216
result, different first party: fake_3674581943194719, fake_16839464369441748
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same first party: fake_4756863873561421, fake_12417835615347372
result, different first party: fake_4756863873561421, fake_12417835615347372
unsupported: false, false
passed: false, false
test failed: false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same first party: fake_22660223836985804, fake_5877607707657333
result, different first party: fake_22660223836985804, fake_5877607707657333
unsupported: false, false
passed: false, false
test failed: false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same first party: fake_5052096624085123, fake_36095592922690867
result, different first party: fake_03559941418939694, fake_047188273002601866
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same first party: fake_34851750522187985, fake_24063934883479865
result, different first party: fake_34851750522187985, fake_24063934883479865
unsupported: false, false
passed: false, false
test failed: false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same first party: fake_5675554134142093, fake_8483419904719547, fake_5049184048048851, fake_17697185367992763, fake_8620479799985181
result, different first party: fake_27889929480585884, fake_5147017660952464, fake_9318238543427491, fake_031687462999890226, fake_7939948351651827
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same first party: fake_6374336285746547, fake_6954234442111704
result, different first party: fake_7717105886860736, fake_2950587192983549
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same first party: fake_22683922627943054, fake_8669863297244689
result, different first party: fake_22683922627943054, fake_8669863297244689
unsupported: false, false
passed: false, false
test failed: false, false
|
favicon cacheA favicon is an icon that represents a website, typically shown in browser tab and bookmarks menu. If the favicon cache is not partitioned, it can be used to track users across websites. |
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same first party: 1, 1, 1, 1, 1
result, different first party: 2, 2, 2, 2, 2
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same first party: 2, 2
result, different first party: 3, 3
unsupported: false, false
passed: true, true
test failed: false, false
|
fetch cacheWhen a resource is received via the Fetch API, it is frequently cached. That cache can potentially be abused for cross-site tracking. |
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same first party: 2, 2, 2, 2, 2
result, different first party: 3, 3, 3, 3, 3
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
font cacheWeb fonts are sometimes stored in their own cache, which is vulnerable to being abused for cross-site tracking. |
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 1, 1
unsupported: false, false
passed: false, false
test failed: false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 1, 1
unsupported: false, false
passed: false, false
test failed: false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 1, 1
unsupported: false, false
passed: false, false
test failed: false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 2, 2, 2, 2, 2
result, different first party: 3, 3, 3, 3, 3
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 1, 1
unsupported: false, false
passed: false, false
test failed: false, false
|
getDirectorynavigator.storage.getDirectory exposes a location for storing files to web content. In some cases, these files may be shared across tabs. |
write: async (secret) => {
try {
const root = await navigator.storage.getDirectory();
const fileHandle = await root.getFileHandle("secret.txt", { create: true });
const stream = await fileHandle.createWritable();
await stream.write(secret);
await stream.close();
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
try {
const root = await navigator.storage.getDirectory();
const fileHandle = await root.getFileHandle("secret.txt");
const file = await fileHandle.getFile();
return file.text();
} catch (e) {
throw new Error("Unsupported");
}
}
result, same first party: d9b3957c-92cf-4fec-b44c-864c60c96810, dba08b66-81a1-48aa-8061-f2b2884302be
result, different first party: Error: Unsupported, Error: Unsupported
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
try {
const root = await navigator.storage.getDirectory();
const fileHandle = await root.getFileHandle("secret.txt", { create: true });
const stream = await fileHandle.createWritable();
await stream.write(secret);
await stream.close();
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
try {
const root = await navigator.storage.getDirectory();
const fileHandle = await root.getFileHandle("secret.txt");
const file = await fileHandle.getFile();
return file.text();
} catch (e) {
throw new Error("Unsupported");
}
}
result, same first party: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed, bbda6652-188a-44a8-8c11-55f9896c8874
result, different first party: Error: Unsupported, Error: Unsupported
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
try {
const root = await navigator.storage.getDirectory();
const fileHandle = await root.getFileHandle("secret.txt", { create: true });
const stream = await fileHandle.createWritable();
await stream.write(secret);
await stream.close();
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
try {
const root = await navigator.storage.getDirectory();
const fileHandle = await root.getFileHandle("secret.txt");
const file = await fileHandle.getFile();
return file.text();
} catch (e) {
throw new Error("Unsupported");
}
}
result, same first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
result, different first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
unsupported: false, false
passed: false, false
test failed: false, false
| –
write: async (secret) => {
try {
const root = await navigator.storage.getDirectory();
const fileHandle = await root.getFileHandle("secret.txt", { create: true });
const stream = await fileHandle.createWritable();
await stream.write(secret);
await stream.close();
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
try {
const root = await navigator.storage.getDirectory();
const fileHandle = await root.getFileHandle("secret.txt");
const file = await fileHandle.getFile();
return file.text();
} catch (e) {
throw new Error("Unsupported");
}
}
result, same first party: Error: Unsupported, Error: Unsupported
result, different first party: Error: Unsupported, Error: Unsupported
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async (secret) => {
try {
const root = await navigator.storage.getDirectory();
const fileHandle = await root.getFileHandle("secret.txt", { create: true });
const stream = await fileHandle.createWritable();
await stream.write(secret);
await stream.close();
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
try {
const root = await navigator.storage.getDirectory();
const fileHandle = await root.getFileHandle("secret.txt");
const file = await fileHandle.getFile();
return file.text();
} catch (e) {
throw new Error("Unsupported");
}
}
result, same first party: 07130129-76ea-439d-8ac9-e0fa7c154515, a383f45d-f8b4-4fe8-83c2-5524eba15d48
result, different first party: Error: Unsupported, Error: Unsupported
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: async (secret) => {
try {
const root = await navigator.storage.getDirectory();
const fileHandle = await root.getFileHandle("secret.txt", { create: true });
const stream = await fileHandle.createWritable();
await stream.write(secret);
await stream.close();
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
try {
const root = await navigator.storage.getDirectory();
const fileHandle = await root.getFileHandle("secret.txt");
const file = await fileHandle.getFile();
return file.text();
} catch (e) {
throw new Error("Unsupported");
}
}
result, same first party: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported
result, different first party: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: async (secret) => {
try {
const root = await navigator.storage.getDirectory();
const fileHandle = await root.getFileHandle("secret.txt", { create: true });
const stream = await fileHandle.createWritable();
await stream.write(secret);
await stream.close();
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
try {
const root = await navigator.storage.getDirectory();
const fileHandle = await root.getFileHandle("secret.txt");
const file = await fileHandle.getFile();
return file.text();
} catch (e) {
throw new Error("Unsupported");
}
}
result, same first party: Error: Unsupported, Error: Unsupported
result, different first party: Error: Unsupported, Error: Unsupported
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async (secret) => {
try {
const root = await navigator.storage.getDirectory();
const fileHandle = await root.getFileHandle("secret.txt", { create: true });
const stream = await fileHandle.createWritable();
await stream.write(secret);
await stream.close();
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
try {
const root = await navigator.storage.getDirectory();
const fileHandle = await root.getFileHandle("secret.txt");
const file = await fileHandle.getFile();
return file.text();
} catch (e) {
throw new Error("Unsupported");
}
}
result, same first party: fc54449d-9e9a-4a62-a674-bc12b1a14df5, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2
result, different first party: Error: Unsupported, Error: Unsupported
unsupported: false, false
passed: true, true
test failed: false, false
|
H1 connectionHTTP/1.x are the classic web connection protocols. If these connections are re-used across websites, they can be used to track users. |
write: async (secret) => {
await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"});
}
read: async () => {
let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"});
return await response.text();
}
result, same first party: d9b3957c-92cf-4fec-b44c-864c60c96810, dba08b66-81a1-48aa-8061-f2b2884302be
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"});
}
read: async () => {
let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"});
return await response.text();
}
result, same first party: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed, bbda6652-188a-44a8-8c11-55f9896c8874
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"});
}
read: async () => {
let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"});
return await response.text();
}
result, same first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"});
}
read: async () => {
let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"});
return await response.text();
}
result, same first party: 626f2908-e655-4e4b-b34b-7c7b90c3352d, b247a9c6-e9ca-48a5-b148-579bc2a97d36
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"});
}
read: async () => {
let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"});
return await response.text();
}
result, same first party: 07130129-76ea-439d-8ac9-e0fa7c154515, a383f45d-f8b4-4fe8-83c2-5524eba15d48
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"});
}
read: async () => {
let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"});
return await response.text();
}
result, same first party: , , , ,
result, different first party: , , , ,
unsupported: false, false, false, false, false
passed: undefined
test failed: true, true, true, true, true
|
write: async (secret) => {
await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"});
}
read: async () => {
let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"});
return await response.text();
}
result, same first party: 12ff9eb7-ae67-4869-afe8-f0ab2211dd36, 024714be-05c2-454b-a0b0-a8889df2364f
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"});
}
read: async () => {
let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"});
return await response.text();
}
result, same first party: fc54449d-9e9a-4a62-a674-bc12b1a14df5, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
H2 connectionHTTP/2 is a web connection protocol introduced in 2015. Some browsers re-use HTTP/2 connections across websites and can thus be used to track users. |
write: async (secret) => {
await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"});
}
read: async () => {
let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"});
return await response.text();
}
result, same first party: d9b3957c-92cf-4fec-b44c-864c60c96810, dba08b66-81a1-48aa-8061-f2b2884302be
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"});
}
read: async () => {
let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"});
return await response.text();
}
result, same first party: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed, bbda6652-188a-44a8-8c11-55f9896c8874
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"});
}
read: async () => {
let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"});
return await response.text();
}
result, same first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"});
}
read: async () => {
let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"});
return await response.text();
}
result, same first party: 626f2908-e655-4e4b-b34b-7c7b90c3352d, b247a9c6-e9ca-48a5-b148-579bc2a97d36
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"});
}
read: async () => {
let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"});
return await response.text();
}
result, same first party: 07130129-76ea-439d-8ac9-e0fa7c154515, a383f45d-f8b4-4fe8-83c2-5524eba15d48
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"});
}
read: async () => {
let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"});
return await response.text();
}
result, same first party: , , , ,
result, different first party: , , , ,
unsupported: false, false, false, false, false
passed: undefined
test failed: true, true, true, true, true
|
write: async (secret) => {
await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"});
}
read: async () => {
let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"});
return await response.text();
}
result, same first party: 12ff9eb7-ae67-4869-afe8-f0ab2211dd36, 024714be-05c2-454b-a0b0-a8889df2364f
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"});
}
read: async () => {
let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"});
return await response.text();
}
result, same first party: fc54449d-9e9a-4a62-a674-bc12b1a14df5, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
H3 connectionHTTP/3 is a new standard HTTP connection protocol, still in draft but widely supported by browsers. If it is not partitioned, it can be used to track users across websites. |
write: async (secret) => {
// Ensure that we can switch over to h3 via alt-svc:
for (let i = 0; i<3; ++i) {
await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"});
await sleepMs(500);
}
// Are we now connecting over h3?
let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"});
let text = await response.text();
// Empty response text indicates we are not connecting over h3:
if (text.trim() === "") {
throw new Error("Unsupported");
}
}
read: async () => {
let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`);
return await response.text();
}
result, same first party: 446c711ebdc78bd840e45dc315fdc662, bf6706880e781c41faf3b77661e02e09
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
// Ensure that we can switch over to h3 via alt-svc:
for (let i = 0; i<3; ++i) {
await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"});
await sleepMs(500);
}
// Are we now connecting over h3?
let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"});
let text = await response.text();
// Empty response text indicates we are not connecting over h3:
if (text.trim() === "") {
throw new Error("Unsupported");
}
}
read: async () => {
let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`);
return await response.text();
}
result, same first party: b6cfaffcb7a0a11f1452f964c834dc32, f550cf9e772d495f78e59bdcb8a0f679
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
// Ensure that we can switch over to h3 via alt-svc:
for (let i = 0; i<3; ++i) {
await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"});
await sleepMs(500);
}
// Are we now connecting over h3?
let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"});
let text = await response.text();
// Empty response text indicates we are not connecting over h3:
if (text.trim() === "") {
throw new Error("Unsupported");
}
}
read: async () => {
let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`);
return await response.text();
}
result, same first party: 7ebec7f1d53d254122474c14a4446320, d52005fafc098939f16a56d1b593f61b
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
// Ensure that we can switch over to h3 via alt-svc:
for (let i = 0; i<3; ++i) {
await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"});
await sleepMs(500);
}
// Are we now connecting over h3?
let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"});
let text = await response.text();
// Empty response text indicates we are not connecting over h3:
if (text.trim() === "") {
throw new Error("Unsupported");
}
}
read: async () => {
let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`);
return await response.text();
}
result, same first party: 2cc89a00212cd4f16e8dec866d56b89e, c19fb8a1940a3f75a23d25da705dec10
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
// Ensure that we can switch over to h3 via alt-svc:
for (let i = 0; i<3; ++i) {
await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"});
await sleepMs(500);
}
// Are we now connecting over h3?
let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"});
let text = await response.text();
// Empty response text indicates we are not connecting over h3:
if (text.trim() === "") {
throw new Error("Unsupported");
}
}
read: async () => {
let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`);
return await response.text();
}
result, same first party: b92c1a5cc0594660c97cee96a20a5f3f, fee63bd0b16fbe1a41c473a059873744
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: async (secret) => {
// Ensure that we can switch over to h3 via alt-svc:
for (let i = 0; i<3; ++i) {
await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"});
await sleepMs(500);
}
// Are we now connecting over h3?
let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"});
let text = await response.text();
// Empty response text indicates we are not connecting over h3:
if (text.trim() === "") {
throw new Error("Unsupported");
}
}
read: async () => {
let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`);
return await response.text();
}
result, same first party: , , , ,
result, different first party: , , , ,
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: async (secret) => {
// Ensure that we can switch over to h3 via alt-svc:
for (let i = 0; i<3; ++i) {
await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"});
await sleepMs(500);
}
// Are we now connecting over h3?
let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"});
let text = await response.text();
// Empty response text indicates we are not connecting over h3:
if (text.trim() === "") {
throw new Error("Unsupported");
}
}
read: async () => {
let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`);
return await response.text();
}
result, same first party: ,
result, different first party: ,
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async (secret) => {
// Ensure that we can switch over to h3 via alt-svc:
for (let i = 0; i<3; ++i) {
await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"});
await sleepMs(500);
}
// Are we now connecting over h3?
let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"});
let text = await response.text();
// Empty response text indicates we are not connecting over h3:
if (text.trim() === "") {
throw new Error("Unsupported");
}
}
read: async () => {
let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`);
return await response.text();
}
result, same first party: 5a2c6f584754c7774adf314797f5967c, 98603539dc7f325abcedc7552baaa634
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
HSTS cacheThe HTTP Strict-Transport-Security response header allows a website to signal that it should only be accessed via HTTPS. The browser remembers this directive in a database, but if this database is not partitioned, then it can be used to track users across websites." |
write: set HSTS flag
read: read HSTS flag
result, same first party: not tested, not tested
result, different first party: Used http, Used http
unsupported: false, false
passed: true, true
test failed: false, false
|
write: set HSTS flag
read: read HSTS flag
result, same first party: not tested, not tested
result, different first party: Upgraded to https, Upgraded to https
unsupported: false, false
passed: false, false
test failed: false, false
|
write: set HSTS flag
read: read HSTS flag
result, same first party: not tested, not tested
result, different first party: Upgraded to https, Upgraded to https
unsupported: false, false
passed: false, false
test failed: false, false
|
write: set HSTS flag
read: read HSTS flag
result, same first party: not tested, not tested
result, different first party: Used http, Used http
unsupported: false, false
passed: true, true
test failed: false, false
|
write: set HSTS flag
read: read HSTS flag
result, same first party: not tested, not tested
result, different first party: Upgraded to https, Upgraded to https
unsupported: false, false
passed: false, false
test failed: false, false
|
write: set HSTS flag
read: read HSTS flag
result, same first party: not tested, not tested, not tested, not tested, not tested
result, different first party: Used http, Used http, Used http, Used http, Used http
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: null
read: null
result, same first party: ,
result, different first party: HTTPS used by default; no HSTS cache issue expected, HTTPS used by default; no HSTS cache issue expected
unsupported: ,
passed: true, true
test failed: false, false
|
write: set HSTS flag
read: read HSTS flag
result, same first party: not tested, not tested
result, different first party: Upgraded to https, Upgraded to https
unsupported: false, false
passed: false, false
test failed: false, false
|
iframe cacheAn iframe is an element in a web page than allows websites to embed a second web page. Caching of this web page could be abused for cross-site tracking. |
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 2, 2, 2, 2, 2
result, different first party: 3, 3, 3, 3, 3
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
image cacheCaching of images in web browsers is a standard behavior. But if that cache leaks between websites, it can be abused for cross-site tracking. |
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 1, 1
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 1, 1
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 1, 1
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 2, 2, 2, 2, 2
result, different first party: 3, 3, 3, 3, 3
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same first party: 1, 1
result, different first party: 1, 1
unsupported: false, false
passed: false, false
test failed: false, false
|
indexedDBThe IndexedDB API exposes a transactional database to web pages. That database can be used to track users across websites, unless it is partitioned. |
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same first party: d9b3957c-92cf-4fec-b44c-864c60c96810, dba08b66-81a1-48aa-8061-f2b2884302be
result, different first party: Error: The user denied permission to access the database., Error: The user denied permission to access the database.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same first party: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed, bbda6652-188a-44a8-8c11-55f9896c8874
result, different first party: Error: The user denied permission to access the database., Error: The user denied permission to access the database.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
result, different first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
unsupported: false, false
passed: false, false
test failed: false, false
|
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same first party: 626f2908-e655-4e4b-b34b-7c7b90c3352d, b247a9c6-e9ca-48a5-b148-579bc2a97d36
result, different first party: undefined
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same first party: 07130129-76ea-439d-8ac9-e0fa7c154515, a383f45d-f8b4-4fe8-83c2-5524eba15d48
result, different first party: Error: The user denied permission to access the database., Error: The user denied permission to access the database.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same first party: undefined
result, different first party: undefined
unsupported: false, false, false, false, false
passed: undefined
test failed: true, true, true, true, true
|
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same first party: 12ff9eb7-ae67-4869-afe8-f0ab2211dd36, 024714be-05c2-454b-a0b0-a8889df2364f
result, different first party: Error: The operation is insecure., Error: The operation is insecure.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same first party: fc54449d-9e9a-4a62-a674-bc12b1a14df5, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2
result, different first party: Error: The user denied permission to access the database., Error: The user denied permission to access the database.
unsupported: false, false
passed: true, true
test failed: false, false
|
localStorageThe localStorage API gives websites access to a key-value database that will remain available across visits. If the localStorage API is not partitioned or blocked, it can also be used to track users across websites. |
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same first party: d9b3957c-92cf-4fec-b44c-864c60c96810, dba08b66-81a1-48aa-8061-f2b2884302be
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same first party: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed, bbda6652-188a-44a8-8c11-55f9896c8874
result, different first party: Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document., Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
result, different first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same first party: 626f2908-e655-4e4b-b34b-7c7b90c3352d, b247a9c6-e9ca-48a5-b148-579bc2a97d36
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same first party: 07130129-76ea-439d-8ac9-e0fa7c154515, a383f45d-f8b4-4fe8-83c2-5524eba15d48
result, different first party: Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document., Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same first party: , , , ,
result, different first party: , , , ,
unsupported: false, false, false, false, false
passed: undefined
test failed: true, true, true, true, true
|
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same first party: 12ff9eb7-ae67-4869-afe8-f0ab2211dd36, 024714be-05c2-454b-a0b0-a8889df2364f
result, different first party: Error: The operation is insecure., Error: The operation is insecure.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same first party: fc54449d-9e9a-4a62-a674-bc12b1a14df5, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2
result, different first party: Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document., Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
unsupported: false, false
passed: true, true
test failed: false, false
|
locksnavigator.locks (only supported in some browsers) allows scripts on multiple tabs to coordinate. If this API is not partitioned, it can be used for cross-site tracking. |
write: async (key) => {
if (navigator.locks) {
navigator.locks.request(key, lock => new Promise((f,r) => {}));
let queryResult = await navigator.locks.query();
return queryResult.held[0].clientId;
} else {
throw new Error("Unsupported");
}
}
read: async () => {
if (navigator.locks) {
let queryResult = await navigator.locks.query();
return queryResult.held[0].name;
}
}
result, same first party: d9b3957c-92cf-4fec-b44c-864c60c96810, dba08b66-81a1-48aa-8061-f2b2884302be
result, different first party: Error: The request was denied., Error: The request was denied.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
if (navigator.locks) {
navigator.locks.request(key, lock => new Promise((f,r) => {}));
let queryResult = await navigator.locks.query();
return queryResult.held[0].clientId;
} else {
throw new Error("Unsupported");
}
}
read: async () => {
if (navigator.locks) {
let queryResult = await navigator.locks.query();
return queryResult.held[0].name;
}
}
result, same first party: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed, bbda6652-188a-44a8-8c11-55f9896c8874
result, different first party: Error: The request was denied., Error: The request was denied.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
if (navigator.locks) {
navigator.locks.request(key, lock => new Promise((f,r) => {}));
let queryResult = await navigator.locks.query();
return queryResult.held[0].clientId;
} else {
throw new Error("Unsupported");
}
}
read: async () => {
if (navigator.locks) {
let queryResult = await navigator.locks.query();
return queryResult.held[0].name;
}
}
result, same first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
result, different first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
unsupported: false, false
passed: false, false
test failed: false, false
|
write: async (key) => {
if (navigator.locks) {
navigator.locks.request(key, lock => new Promise((f,r) => {}));
let queryResult = await navigator.locks.query();
return queryResult.held[0].clientId;
} else {
throw new Error("Unsupported");
}
}
read: async () => {
if (navigator.locks) {
let queryResult = await navigator.locks.query();
return queryResult.held[0].name;
}
}
result, same first party: 626f2908-e655-4e4b-b34b-7c7b90c3352d, b247a9c6-e9ca-48a5-b148-579bc2a97d36
result, different first party: Error: LockManager.query: query() is not allowed in this context, Error: LockManager.query: query() is not allowed in this context
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
if (navigator.locks) {
navigator.locks.request(key, lock => new Promise((f,r) => {}));
let queryResult = await navigator.locks.query();
return queryResult.held[0].clientId;
} else {
throw new Error("Unsupported");
}
}
read: async () => {
if (navigator.locks) {
let queryResult = await navigator.locks.query();
return queryResult.held[0].name;
}
}
result, same first party: 07130129-76ea-439d-8ac9-e0fa7c154515, a383f45d-f8b4-4fe8-83c2-5524eba15d48
result, different first party: Error: The request was denied., Error: The request was denied.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
if (navigator.locks) {
navigator.locks.request(key, lock => new Promise((f,r) => {}));
let queryResult = await navigator.locks.query();
return queryResult.held[0].clientId;
} else {
throw new Error("Unsupported");
}
}
read: async () => {
if (navigator.locks) {
let queryResult = await navigator.locks.query();
return queryResult.held[0].name;
}
}
result, same first party: Error: undefined is not an object (evaluating 'queryResult.held[0].name'), Error: undefined is not an object (evaluating 'queryResult.held[0].name'), Error: undefined is not an object (evaluating 'queryResult.held[0].name'), Error: undefined is not an object (evaluating 'queryResult.held[0].name'), Error: undefined is not an object (evaluating 'queryResult.held[0].name')
result, different first party: Error: undefined is not an object (evaluating 'queryResult.held[0].name'), Error: undefined is not an object (evaluating 'queryResult.held[0].name'), Error: undefined is not an object (evaluating 'queryResult.held[0].name'), Error: undefined is not an object (evaluating 'queryResult.held[0].name'), Error: undefined is not an object (evaluating 'queryResult.held[0].name')
unsupported: false, false, false, false, false
passed: undefined
test failed: true, true, true, true, true
|
write: async (key) => {
if (navigator.locks) {
navigator.locks.request(key, lock => new Promise((f,r) => {}));
let queryResult = await navigator.locks.query();
return queryResult.held[0].clientId;
} else {
throw new Error("Unsupported");
}
}
read: async () => {
if (navigator.locks) {
let queryResult = await navigator.locks.query();
return queryResult.held[0].name;
}
}
result, same first party: 12ff9eb7-ae67-4869-afe8-f0ab2211dd36, 024714be-05c2-454b-a0b0-a8889df2364f
result, different first party: Error: LockManager.query: query() is not allowed in this context, Error: LockManager.query: query() is not allowed in this context
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
if (navigator.locks) {
navigator.locks.request(key, lock => new Promise((f,r) => {}));
let queryResult = await navigator.locks.query();
return queryResult.held[0].clientId;
} else {
throw new Error("Unsupported");
}
}
read: async () => {
if (navigator.locks) {
let queryResult = await navigator.locks.query();
return queryResult.held[0].name;
}
}
result, same first party: fc54449d-9e9a-4a62-a674-bc12b1a14df5, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2
result, different first party: Error: The request was denied., Error: The request was denied.
unsupported: false, false
passed: true, true
test failed: false, false
|
prefetch cacheA suggests to browsers they should fetch a resource ahead of time and cache it. But if browsers don't partition this cache, it can be used to track users across websites. |
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same first party: 1, 1
result, different first party: 1, 1
unsupported: false, false
passed: false, false
test failed: false, false
|
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same first party: 1, 1
result, different first party: 1, 1
unsupported: false, false
passed: false, false
test failed: false, false
|
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same first party: 1, 1
result, different first party: 1, 1
unsupported: false, false
passed: false, false
test failed: false, false
| –
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same first party: Error: No requests received, Error: No requests received, Error: No requests received, Error: No requests received, Error: No requests received
result, different first party: Error: No requests received, Error: No requests received, Error: No requests received, Error: No requests received, Error: No requests received
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same first party: Error: No requests received, Error: No requests received
result, different first party: Error: No requests received, Error: No requests received
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same first party: 1, 1
result, different first party: 1, 1
unsupported: false, false
passed: false, false
test failed: false, false
|
ServiceWorkerThe ServiceWorker API allows websites to run code in the background and store content in the browser for offline use. If a ServiceWorker can be accessed from multiple websites, it can be abused to track users across sites. |
write: async (key) => {
if (!navigator.serviceWorker) {
throw new Error("Unsupported");
}
let registration = await navigator.serviceWorker.register(
'serviceWorker.js');
console.log(registration);
await navigator.serviceWorker.ready;
console.log("service worker ready");
await sleepMs(100);
await fetch(`serviceworker-write?secret=${key}`);
}
read: async () => {
console.log("trying to register the serviceworker now...");
const registration = await Promise.race([
navigator.serviceWorker.register('serviceWorker.js'),
sleepMs(500)
]);
if (registration === undefined) {
// We timed out or otherwise failed.
throw new Error("ServiceWorker registration failed");
}
console.log(registration);
await navigator.serviceWorker.ready;
console.log("service worker ready");
await sleepMs(100);
let response = await fetch("serviceworker-read");
return await response.text();
}
result, same first party: <html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
, <html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
result, different first party: Error: Failed to register a ServiceWorker for scope ('https://test-pages.privacytests2.org/') with script ('https://test-pages.privacytests2.org/serviceWorker.js'): The user denied permission to use Service Worker., Error: Failed to register a ServiceWorker for scope ('https://test-pages.privacytests2.org/') with script ('https://test-pages.privacytests2.org/serviceWorker.js'): The user denied permission to use Service Worker.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
if (!navigator.serviceWorker) {
throw new Error("Unsupported");
}
let registration = await navigator.serviceWorker.register(
'serviceWorker.js');
console.log(registration);
await navigator.serviceWorker.ready;
console.log("service worker ready");
await sleepMs(100);
await fetch(`serviceworker-write?secret=${key}`);
}
read: async () => {
console.log("trying to register the serviceworker now...");
const registration = await Promise.race([
navigator.serviceWorker.register('serviceWorker.js'),
sleepMs(500)
]);
if (registration === undefined) {
// We timed out or otherwise failed.
throw new Error("ServiceWorker registration failed");
}
console.log(registration);
await navigator.serviceWorker.ready;
console.log("service worker ready");
await sleepMs(100);
let response = await fetch("serviceworker-read");
return await response.text();
}
result, same first party: <html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
, <html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
result, different first party: Error: Failed to register a ServiceWorker for scope ('https://test-pages.privacytests2.org/') with script ('https://test-pages.privacytests2.org/serviceWorker.js'): The user denied permission to use Service Worker., Error: Failed to register a ServiceWorker for scope ('https://test-pages.privacytests2.org/') with script ('https://test-pages.privacytests2.org/serviceWorker.js'): The user denied permission to use Service Worker.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
if (!navigator.serviceWorker) {
throw new Error("Unsupported");
}
let registration = await navigator.serviceWorker.register(
'serviceWorker.js');
console.log(registration);
await navigator.serviceWorker.ready;
console.log("service worker ready");
await sleepMs(100);
await fetch(`serviceworker-write?secret=${key}`);
}
read: async () => {
console.log("trying to register the serviceworker now...");
const registration = await Promise.race([
navigator.serviceWorker.register('serviceWorker.js'),
sleepMs(500)
]);
if (registration === undefined) {
// We timed out or otherwise failed.
throw new Error("ServiceWorker registration failed");
}
console.log(registration);
await navigator.serviceWorker.ready;
console.log("service worker ready");
await sleepMs(100);
let response = await fetch("serviceworker-read");
return await response.text();
}
result, same first party: <html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
, <html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
result, different first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: async (key) => {
if (!navigator.serviceWorker) {
throw new Error("Unsupported");
}
let registration = await navigator.serviceWorker.register(
'serviceWorker.js');
console.log(registration);
await navigator.serviceWorker.ready;
console.log("service worker ready");
await sleepMs(100);
await fetch(`serviceworker-write?secret=${key}`);
}
read: async () => {
console.log("trying to register the serviceworker now...");
const registration = await Promise.race([
navigator.serviceWorker.register('serviceWorker.js'),
sleepMs(500)
]);
if (registration === undefined) {
// We timed out or otherwise failed.
throw new Error("ServiceWorker registration failed");
}
console.log(registration);
await navigator.serviceWorker.ready;
console.log("service worker ready");
await sleepMs(100);
let response = await fetch("serviceworker-read");
return await response.text();
}
result, same first party: Error: can't access property "register", navigator.serviceWorker is undefined, Error: can't access property "register", navigator.serviceWorker is undefined
result, different first party: Error: can't access property "register", navigator.serviceWorker is undefined, Error: can't access property "register", navigator.serviceWorker is undefined
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async (key) => {
if (!navigator.serviceWorker) {
throw new Error("Unsupported");
}
let registration = await navigator.serviceWorker.register(
'serviceWorker.js');
console.log(registration);
await navigator.serviceWorker.ready;
console.log("service worker ready");
await sleepMs(100);
await fetch(`serviceworker-write?secret=${key}`);
}
read: async () => {
console.log("trying to register the serviceworker now...");
const registration = await Promise.race([
navigator.serviceWorker.register('serviceWorker.js'),
sleepMs(500)
]);
if (registration === undefined) {
// We timed out or otherwise failed.
throw new Error("ServiceWorker registration failed");
}
console.log(registration);
await navigator.serviceWorker.ready;
console.log("service worker ready");
await sleepMs(100);
let response = await fetch("serviceworker-read");
return await response.text();
}
result, same first party: <html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
, <html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
result, different first party: Error: Failed to register a ServiceWorker for scope ('https://test-pages.privacytests2.org/') with script ('https://test-pages.privacytests2.org/serviceWorker.js'): The user denied permission to use Service Worker., Error: Failed to register a ServiceWorker for scope ('https://test-pages.privacytests2.org/') with script ('https://test-pages.privacytests2.org/serviceWorker.js'): The user denied permission to use Service Worker.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
if (!navigator.serviceWorker) {
throw new Error("Unsupported");
}
let registration = await navigator.serviceWorker.register(
'serviceWorker.js');
console.log(registration);
await navigator.serviceWorker.ready;
console.log("service worker ready");
await sleepMs(100);
await fetch(`serviceworker-write?secret=${key}`);
}
read: async () => {
console.log("trying to register the serviceworker now...");
const registration = await Promise.race([
navigator.serviceWorker.register('serviceWorker.js'),
sleepMs(500)
]);
if (registration === undefined) {
// We timed out or otherwise failed.
throw new Error("ServiceWorker registration failed");
}
console.log(registration);
await navigator.serviceWorker.ready;
console.log("service worker ready");
await sleepMs(100);
let response = await fetch("serviceworker-read");
return await response.text();
}
result, same first party: , , , ,
result, different first party: , , , ,
unsupported: false, false, false, false, false
passed: undefined
test failed: true, true, true, true, true
| –
write: async (key) => {
if (!navigator.serviceWorker) {
throw new Error("Unsupported");
}
let registration = await navigator.serviceWorker.register(
'serviceWorker.js');
console.log(registration);
await navigator.serviceWorker.ready;
console.log("service worker ready");
await sleepMs(100);
await fetch(`serviceworker-write?secret=${key}`);
}
read: async () => {
console.log("trying to register the serviceworker now...");
const registration = await Promise.race([
navigator.serviceWorker.register('serviceWorker.js'),
sleepMs(500)
]);
if (registration === undefined) {
// We timed out or otherwise failed.
throw new Error("ServiceWorker registration failed");
}
console.log(registration);
await navigator.serviceWorker.ready;
console.log("service worker ready");
await sleepMs(100);
let response = await fetch("serviceworker-read");
return await response.text();
}
result, same first party: Error: navigator.serviceWorker is undefined, Error: navigator.serviceWorker is undefined
result, different first party: Error: navigator.serviceWorker is undefined, Error: navigator.serviceWorker is undefined
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async (key) => {
if (!navigator.serviceWorker) {
throw new Error("Unsupported");
}
let registration = await navigator.serviceWorker.register(
'serviceWorker.js');
console.log(registration);
await navigator.serviceWorker.ready;
console.log("service worker ready");
await sleepMs(100);
await fetch(`serviceworker-write?secret=${key}`);
}
read: async () => {
console.log("trying to register the serviceworker now...");
const registration = await Promise.race([
navigator.serviceWorker.register('serviceWorker.js'),
sleepMs(500)
]);
if (registration === undefined) {
// We timed out or otherwise failed.
throw new Error("ServiceWorker registration failed");
}
console.log(registration);
await navigator.serviceWorker.ready;
console.log("service worker ready");
await sleepMs(100);
let response = await fetch("serviceworker-read");
return await response.text();
}
result, same first party: <html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
, <html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
result, different first party: Error: Failed to register a ServiceWorker for scope ('https://test-pages.privacytests2.org/') with script ('https://test-pages.privacytests2.org/serviceWorker.js'): The user denied permission to use Service Worker., Error: Failed to register a ServiceWorker for scope ('https://test-pages.privacytests2.org/') with script ('https://test-pages.privacytests2.org/serviceWorker.js'): The user denied permission to use Service Worker.
unsupported: false, false
passed: true, true
test failed: false, false
|
SharedWorkerThe SharedWorker API allows scripts from multiple tabs to share a background thread of computation. If SharedWorker is not partitioned, then it can be abused to shared data between websites in your browser. |
write: async (secret) => {
try {
let worker = new SharedWorker("supercookies_sharedworker.js");
worker.port.start();
// console.log("worker", worker);
const messagePromise = new Promise((resolve) => {
worker.port.onmessage = (e) => resolve(e.data);
});
worker.port.postMessage(secret);
await messagePromise;
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let worker = new SharedWorker("supercookies_sharedworker.js");
worker.port.start();
const messagePromise = new Promise((resolve, reject) => {
worker.port.onmessage = (e) => resolve(e.data);
setTimeout(() => reject(new Error("no SharedWorker message received")), 200);
});
worker.port.postMessage("request");
const message = await messagePromise;
if (message === "none") {
throw new Error("Unsupported");
}
return message;
}
result, same first party: d9b3957c-92cf-4fec-b44c-864c60c96810, dba08b66-81a1-48aa-8061-f2b2884302be
result, different first party: Error: no SharedWorker message received, Error: no SharedWorker message received
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
try {
let worker = new SharedWorker("supercookies_sharedworker.js");
worker.port.start();
// console.log("worker", worker);
const messagePromise = new Promise((resolve) => {
worker.port.onmessage = (e) => resolve(e.data);
});
worker.port.postMessage(secret);
await messagePromise;
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let worker = new SharedWorker("supercookies_sharedworker.js");
worker.port.start();
const messagePromise = new Promise((resolve, reject) => {
worker.port.onmessage = (e) => resolve(e.data);
setTimeout(() => reject(new Error("no SharedWorker message received")), 200);
});
worker.port.postMessage("request");
const message = await messagePromise;
if (message === "none") {
throw new Error("Unsupported");
}
return message;
}
result, same first party: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed, bbda6652-188a-44a8-8c11-55f9896c8874
result, different first party: Error: no SharedWorker message received, Error: no SharedWorker message received
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
try {
let worker = new SharedWorker("supercookies_sharedworker.js");
worker.port.start();
// console.log("worker", worker);
const messagePromise = new Promise((resolve) => {
worker.port.onmessage = (e) => resolve(e.data);
});
worker.port.postMessage(secret);
await messagePromise;
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let worker = new SharedWorker("supercookies_sharedworker.js");
worker.port.start();
const messagePromise = new Promise((resolve, reject) => {
worker.port.onmessage = (e) => resolve(e.data);
setTimeout(() => reject(new Error("no SharedWorker message received")), 200);
});
worker.port.postMessage("request");
const message = await messagePromise;
if (message === "none") {
throw new Error("Unsupported");
}
return message;
}
result, same first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
result, different first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
unsupported: false, false
passed: false, false
test failed: false, false
|
write: async (secret) => {
try {
let worker = new SharedWorker("supercookies_sharedworker.js");
worker.port.start();
// console.log("worker", worker);
const messagePromise = new Promise((resolve) => {
worker.port.onmessage = (e) => resolve(e.data);
});
worker.port.postMessage(secret);
await messagePromise;
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let worker = new SharedWorker("supercookies_sharedworker.js");
worker.port.start();
const messagePromise = new Promise((resolve, reject) => {
worker.port.onmessage = (e) => resolve(e.data);
setTimeout(() => reject(new Error("no SharedWorker message received")), 200);
});
worker.port.postMessage("request");
const message = await messagePromise;
if (message === "none") {
throw new Error("Unsupported");
}
return message;
}
result, same first party: 626f2908-e655-4e4b-b34b-7c7b90c3352d, b247a9c6-e9ca-48a5-b148-579bc2a97d36
result, different first party: Error: Unsupported, Error: Unsupported
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
try {
let worker = new SharedWorker("supercookies_sharedworker.js");
worker.port.start();
// console.log("worker", worker);
const messagePromise = new Promise((resolve) => {
worker.port.onmessage = (e) => resolve(e.data);
});
worker.port.postMessage(secret);
await messagePromise;
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let worker = new SharedWorker("supercookies_sharedworker.js");
worker.port.start();
const messagePromise = new Promise((resolve, reject) => {
worker.port.onmessage = (e) => resolve(e.data);
setTimeout(() => reject(new Error("no SharedWorker message received")), 200);
});
worker.port.postMessage("request");
const message = await messagePromise;
if (message === "none") {
throw new Error("Unsupported");
}
return message;
}
result, same first party: 07130129-76ea-439d-8ac9-e0fa7c154515, a383f45d-f8b4-4fe8-83c2-5524eba15d48
result, different first party: Error: no SharedWorker message received, Error: no SharedWorker message received
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
try {
let worker = new SharedWorker("supercookies_sharedworker.js");
worker.port.start();
// console.log("worker", worker);
const messagePromise = new Promise((resolve) => {
worker.port.onmessage = (e) => resolve(e.data);
});
worker.port.postMessage(secret);
await messagePromise;
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let worker = new SharedWorker("supercookies_sharedworker.js");
worker.port.start();
const messagePromise = new Promise((resolve, reject) => {
worker.port.onmessage = (e) => resolve(e.data);
setTimeout(() => reject(new Error("no SharedWorker message received")), 200);
});
worker.port.postMessage("request");
const message = await messagePromise;
if (message === "none") {
throw new Error("Unsupported");
}
return message;
}
result, same first party: Error: Unsupported, Error: no SharedWorker message received, Error: Unsupported, Error: no SharedWorker message received, Error: Unsupported
result, different first party: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported
unsupported: true, false, true, false, true
passed: undefined
test failed: false, true, false, true, false
|
write: async (secret) => {
try {
let worker = new SharedWorker("supercookies_sharedworker.js");
worker.port.start();
// console.log("worker", worker);
const messagePromise = new Promise((resolve) => {
worker.port.onmessage = (e) => resolve(e.data);
});
worker.port.postMessage(secret);
await messagePromise;
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let worker = new SharedWorker("supercookies_sharedworker.js");
worker.port.start();
const messagePromise = new Promise((resolve, reject) => {
worker.port.onmessage = (e) => resolve(e.data);
setTimeout(() => reject(new Error("no SharedWorker message received")), 200);
});
worker.port.postMessage("request");
const message = await messagePromise;
if (message === "none") {
throw new Error("Unsupported");
}
return message;
}
result, same first party: 12ff9eb7-ae67-4869-afe8-f0ab2211dd36, 024714be-05c2-454b-a0b0-a8889df2364f
result, different first party: Error: The operation is insecure., Error: The operation is insecure.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
try {
let worker = new SharedWorker("supercookies_sharedworker.js");
worker.port.start();
// console.log("worker", worker);
const messagePromise = new Promise((resolve) => {
worker.port.onmessage = (e) => resolve(e.data);
});
worker.port.postMessage(secret);
await messagePromise;
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let worker = new SharedWorker("supercookies_sharedworker.js");
worker.port.start();
const messagePromise = new Promise((resolve, reject) => {
worker.port.onmessage = (e) => resolve(e.data);
setTimeout(() => reject(new Error("no SharedWorker message received")), 200);
});
worker.port.postMessage("request");
const message = await messagePromise;
if (message === "none") {
throw new Error("Unsupported");
}
return message;
}
result, same first party: fc54449d-9e9a-4a62-a674-bc12b1a14df5, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2
result, different first party: Error: no SharedWorker message received, Error: no SharedWorker message received
unsupported: false, false
passed: true, true
test failed: false, false
|
TLS Session IDThe TLS protocol is used by HTTPS to make connections secure. If the browser were to re-use a TLS session, then the session ID could be used to track users across websites. |
write: async () => {
let results = await fetch("https://tls.privacytests2.org:8900/");
return (await results.json()).sessionId;
}
read: async () => {
let results = await fetch("https://tls.privacytests2.org:8900/");
return (await results.json()).sessionId;
}
result, same first party: 52ec8fc135c1f27d4d857e96854acb4b552b56170002321d257bd12a4ca9a55f, 463bbc5fea1b1951a9e33256e20856704a8d7fca1b459b6e6cb3294def327a4d
result, different first party: b0ea94089bd031550729433c1cdfa6b10be804d680a33d239008232ce7e8d4ce, 6c8c86899612d9e23b48c5f6eaf89c4c14cefd112a317cfbabdabfbe390dce0e
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async () => {
let results = await fetch("https://tls.privacytests2.org:8900/");
return (await results.json()).sessionId;
}
read: async () => {
let results = await fetch("https://tls.privacytests2.org:8900/");
return (await results.json()).sessionId;
}
result, same first party: 113b690293428a9f44e59a4ee3a9e78aacd50587c48c5fcaabfcfacf952b6c1b, 473df4c6970d1000e06dc331af4100ccb7a784bbb8bc05d961d0b82d5f36aa84
result, different first party: 81bd6cd8ad96a6ccfc624d57d3e40b25944409bea93b34d37cd08c074556456f, 087e53aa76aab4727e86b9e0521d7554db2a913656f59747f92defb562a90ca8
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async () => {
let results = await fetch("https://tls.privacytests2.org:8900/");
return (await results.json()).sessionId;
}
read: async () => {
let results = await fetch("https://tls.privacytests2.org:8900/");
return (await results.json()).sessionId;
}
result, same first party: 6460ccbf64a510f96c2b51412d247b6844642322e6da1c547e5efab133be22be, e52ab28771be3931768e8bf2a9ff6eb6712c40081f71cebb15cdf1c38c7681fa
result, different first party: cc854a00a7bd1ef8f50f69fde289fe61dcde2f9e8329cacb7e77b20bd0f44734, 51f19259412d7fd774642b54e5fcdf2772b7310abba2d34535a88fba6893921b
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async () => {
let results = await fetch("https://tls.privacytests2.org:8900/");
return (await results.json()).sessionId;
}
read: async () => {
let results = await fetch("https://tls.privacytests2.org:8900/");
return (await results.json()).sessionId;
}
result, same first party: c32a97e22b0545c7bc5836bb21040050ebf0737dc22f648aa1c6d45853eed47b, bec034d5aaa687638f289421655dfd1d92027607565195b9456691bd2a9ba787
result, different first party: 73995a29142b1d7503ea6d571f95a57131b7886c4d078354e37648b36f819332, 1fbbd9f073cb466fad1055f6cb289555d7682d09a3cd6f70f1ff18a7c17722ae
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async () => {
let results = await fetch("https://tls.privacytests2.org:8900/");
return (await results.json()).sessionId;
}
read: async () => {
let results = await fetch("https://tls.privacytests2.org:8900/");
return (await results.json()).sessionId;
}
result, same first party: b0243014fd89d920459b518ed4afee1c4be62093733d643eb8f1aa54b2b9fb96, 64b9435becb149783e13d314f8949928b2fddc6618446aa996dba7cd00e4677c
result, different first party: 87939d0bd73334c41e7953004f0d8e6c70b8c061befefdb374f5dc70ba85420d, d18a07804bf8737c41c119dd7c23944970bdc630742f36fa0b2b645ed48d21a6
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async () => {
let results = await fetch("https://tls.privacytests2.org:8900/");
return (await results.json()).sessionId;
}
read: async () => {
let results = await fetch("https://tls.privacytests2.org:8900/");
return (await results.json()).sessionId;
}
result, same first party: 957cc4ad23a4fa7f52fa47fa0a2fc6b12aed7cc1bf2e47611682a8624d3f2c0a, 7578684f163f870c363cf489ed6dac8e785fc05b96013baaf8ce38997fb630f8, 74b26ea0f87f3455f84d0121ca484e28ec5daa63b69eb5e99858c4141c13d2f0, cc7bf06c0787e8fc45848103b8bbec682efaf7e9a966f9d1c6daefd8274f0efb, de4d1b3ad1a1dc6e21398b71af87cbea86754f2a4ee694b52118a13946c82a86
result, different first party: c27313798c9bc7b26f49a62d0985ffd9aa07ad4a65e1688089a09710010468ac, 7082be63b1178d515a177fdbc14a1b97bc82d053ec28378e4a599bff96da0799, ccd1e15bd7880f448ddd0238c5ec4f46b3b9f2cf4a2e54245f4e9eb88ece0d2b, 3f65c5eab33f4214d2757975da37888476cede6cebb5d2adc1e62b4ee5a38470, dcf41ec64eb17a7cf65a5832ac1ecad9411232fbe28b42896ab08af403e6f2e3
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: async () => {
let results = await fetch("https://tls.privacytests2.org:8900/");
return (await results.json()).sessionId;
}
read: async () => {
let results = await fetch("https://tls.privacytests2.org:8900/");
return (await results.json()).sessionId;
}
result, same first party: 6d28c2c4ad6240b4a0b2ba059dc899b6bd0148227fcdfcf2e3b8917d3c03e07a, 2dc1271e19fd79c6c4144b80288b5eb3ffeaeff429decb2668ba6ff36ec08d48
result, different first party: 760d6bcb20a35cfafd0defbf59029f479c4c4cd51b2b4c3904ce68fee6e82cfd, 6018669d7d43471b05d78de4c04c0f4dcb95306093f73db02abae0d98c250501
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async () => {
let results = await fetch("https://tls.privacytests2.org:8900/");
return (await results.json()).sessionId;
}
read: async () => {
let results = await fetch("https://tls.privacytests2.org:8900/");
return (await results.json()).sessionId;
}
result, same first party: f0ebf2d38fae4ad596d65e00c4b9644fb01b145b97dbc0d4acf713e821f6ccd4, 5e7f9600480ff425dfe398b5597305cef62cad740ac4dcc67e8119104e157c78
result, different first party: 9a38a514af46fbd9d879096d40861601c848ab16b2d596684fdde8c746f1612e, 45dcbde02f2c706c3d07ca5362cf1da4c0af5bb982955588a9b1600657cd45fa
unsupported: false, false
passed: true, true
test failed: false, false
|
Web SQL DatabaseThe Web SQL Database is a deprecated web API for storing data in an SQL database. |
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same first party: d9b3957c-92cf-4fec-b44c-864c60c96810, dba08b66-81a1-48aa-8061-f2b2884302be
result, different first party: Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts., Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same first party: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed, bbda6652-188a-44a8-8c11-55f9896c8874
result, different first party: Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts., Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
result, different first party: Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts., Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same first party: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function
result, different first party: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function
unsupported: false, false
passed: undefined
test failed: true, true
|
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same first party: 07130129-76ea-439d-8ac9-e0fa7c154515, a383f45d-f8b4-4fe8-83c2-5524eba15d48
result, different first party: Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts., Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same first party: Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated
result, different first party: Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated
unsupported: false, false, false, false, false
passed: undefined
test failed: true, true, true, true, true
|
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same first party: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function
result, different first party: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function
unsupported: false, false
passed: undefined
test failed: true, true
|
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same first party: fc54449d-9e9a-4a62-a674-bc12b1a14df5, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2
result, different first party: Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts., Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts.
unsupported: false, false
passed: true, true
test failed: false, false
|
XMLHttpRequest cacheSimilar to the newer Fetch API, any resource received may be cached by the browser. The cache is potentially vulnerable to cross-site tracking attack. |
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same first party: 2, 2, 2, 2, 2
result, different first party: 3, 3, 3, 3, 3
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same first party: 1, 1
result, different first party: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
Navigation tests
Which browsers prevent websites from sharing tracking data when you click on a link?
When you click a hyperlink to navigate your browser from one site to another, certain browser APIs allow the first site to communicate to the second site. These privacy vulnerabilities can be fixed by introducing new limits on how much data is transfered between sites.',
| ||||||||
document.referrerThe Referer [sic] request header is a mechanism used by browsers to let a website know where the user is visiting from. This header is inherently tracking users across websites. In recent times, browsers have switched to a policy of trimming a referrer to convey less tracking information, but Referer continues to convey cross-site tracking data by default. |
write: (secret) => { /* do nothing */ }
read: () => document.referrer
result, same first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/
result, different first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (secret) => { /* do nothing */ }
read: () => document.referrer
result, same first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/
result, different first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (secret) => { /* do nothing */ }
read: () => document.referrer
result, same first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/
result, different first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (secret) => { /* do nothing */ }
read: () => document.referrer
result, same first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/
result, different first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (secret) => { /* do nothing */ }
read: () => document.referrer
result, same first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/
result, different first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (secret) => { /* do nothing */ }
read: () => document.referrer
result, same first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/
result, different first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/
unsupported: false, false, false, false, false
passed: false, false, false, false, false
test failed: false, false, false, false, false
|
write: (secret) => { /* do nothing */ }
read: () => document.referrer
result, same first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/
result, different first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (secret) => { /* do nothing */ }
read: () => document.referrer
result, same first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/
result, different first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/
unsupported: false, false
passed: false, false
test failed: false, false
|
sessionStorageThe sessionStorage API is similar to the localStorage API, but it does not persist across tabs or across browser sessions. Nonetheless, it can be used to track users if they navigate from one website to another. This tracking can be thwarted by partitioning sessionStorage between websites. |
write: (secret) => sessionStorage.setItem("secret", secret)
read: () => sessionStorage.getItem("secret")
result, same first party: d9b3957c-92cf-4fec-b44c-864c60c96810, dba08b66-81a1-48aa-8061-f2b2884302be
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => sessionStorage.setItem("secret", secret)
read: () => sessionStorage.getItem("secret")
result, same first party: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed, bbda6652-188a-44a8-8c11-55f9896c8874
result, different first party: Error: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document., Error: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => sessionStorage.setItem("secret", secret)
read: () => sessionStorage.getItem("secret")
result, same first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
result, different first party: 90d06281-daf3-4505-b247-f3d8529c095b, 4b81b4f0-07aa-4208-a274-887ccabec369
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (secret) => sessionStorage.setItem("secret", secret)
read: () => sessionStorage.getItem("secret")
result, same first party: 626f2908-e655-4e4b-b34b-7c7b90c3352d, b247a9c6-e9ca-48a5-b148-579bc2a97d36
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => sessionStorage.setItem("secret", secret)
read: () => sessionStorage.getItem("secret")
result, same first party: 07130129-76ea-439d-8ac9-e0fa7c154515, a383f45d-f8b4-4fe8-83c2-5524eba15d48
result, different first party: Error: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document., Error: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => sessionStorage.setItem("secret", secret)
read: () => sessionStorage.getItem("secret")
result, same first party: fb0af533-54b2-45f2-803f-5303f71b29e7, 863a61ed-31f7-4c59-9f5a-7d8a7bedf5be, eaa5305c-cf45-4df3-8703-1cef5dd4075a, 74f10fb2-ad00-4261-9a0e-9b07b2acffca, 7d5662da-a77a-430f-9769-d6c1e190e165
result, different first party: , , , ,
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: (secret) => sessionStorage.setItem("secret", secret)
read: () => sessionStorage.getItem("secret")
result, same first party: 12ff9eb7-ae67-4869-afe8-f0ab2211dd36, 024714be-05c2-454b-a0b0-a8889df2364f
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => sessionStorage.setItem("secret", secret)
read: () => sessionStorage.getItem("secret")
result, same first party: fc54449d-9e9a-4a62-a674-bc12b1a14df5, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2
result, different first party: Error: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document., Error: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.
unsupported: false, false
passed: true, true
test failed: false, false
|
window.nameThe window.name API allows websites to store data that will persist after the user has navigated the tab to a different website. This mechanism could be partitioned so that data is not allowed to persist between websites. |
write: (secret) => window.name = "name_" + secret
read: () => window.name
result, same first party: name_d9b3957c-92cf-4fec-b44c-864c60c96810, name_dba08b66-81a1-48aa-8061-f2b2884302be
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => window.name = "name_" + secret
read: () => window.name
result, same first party: name_b1ea4123-cf84-4879-ac4e-652d7f9ba6ed, name_bbda6652-188a-44a8-8c11-55f9896c8874
result, different first party: name_b1ea4123-cf84-4879-ac4e-652d7f9ba6ed, name_bbda6652-188a-44a8-8c11-55f9896c8874
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (secret) => window.name = "name_" + secret
read: () => window.name
result, same first party: name_90d06281-daf3-4505-b247-f3d8529c095b, name_4b81b4f0-07aa-4208-a274-887ccabec369
result, different first party: name_90d06281-daf3-4505-b247-f3d8529c095b, name_4b81b4f0-07aa-4208-a274-887ccabec369
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (secret) => window.name = "name_" + secret
read: () => window.name
result, same first party: name_626f2908-e655-4e4b-b34b-7c7b90c3352d, name_b247a9c6-e9ca-48a5-b148-579bc2a97d36
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => window.name = "name_" + secret
read: () => window.name
result, same first party: name_07130129-76ea-439d-8ac9-e0fa7c154515, name_a383f45d-f8b4-4fe8-83c2-5524eba15d48
result, different first party: name_07130129-76ea-439d-8ac9-e0fa7c154515, name_a383f45d-f8b4-4fe8-83c2-5524eba15d48
unsupported: false, false
passed: false, false
test failed: false, false
|
write: (secret) => window.name = "name_" + secret
read: () => window.name
result, same first party: name_fb0af533-54b2-45f2-803f-5303f71b29e7, name_863a61ed-31f7-4c59-9f5a-7d8a7bedf5be, name_eaa5305c-cf45-4df3-8703-1cef5dd4075a, name_74f10fb2-ad00-4261-9a0e-9b07b2acffca, name_7d5662da-a77a-430f-9769-d6c1e190e165
result, different first party: , , , ,
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: (secret) => window.name = "name_" + secret
read: () => window.name
result, same first party: name_12ff9eb7-ae67-4869-afe8-f0ab2211dd36, name_024714be-05c2-454b-a0b0-a8889df2364f
result, different first party: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => window.name = "name_" + secret
read: () => window.name
result, same first party: name_fc54449d-9e9a-4a62-a674-bc12b1a14df5, name_6ca0bf58-262d-4187-b37f-c975bb8aa3a2
result, different first party: name_fc54449d-9e9a-4a62-a674-bc12b1a14df5, name_6ca0bf58-262d-4187-b37f-c975bb8aa3a2
unsupported: false, false
passed: false, false
test failed: false, false
|
HTTPS tests
Which browsers use encrypted network connections whenever possible?
HTTPS is the protocol that web browsers use to connect securely to websites. When HTTPS is being used, the connection is encrypted so that third parties on the network cannot read content being sent between the server and your browser. In the past, insecure connections were the default and websites would need to actively request that a browser use HTTPS. Now the status quo is shifting, and browser makers are moving toward a world where HTTPS is the default protocol.`
| ||||||||
Insecure websiteChecks to see if the browser stops loading an insecure website and warns the user before giving them the option to continue. Known as HTTPS-Only Mode in some browsers. |
passed: false,false
result: Insecure website loaded,Insecure website loaded
|
passed: false,false
result: Insecure website loaded,Insecure website loaded
|
passed: false,false
result: Insecure website loaded,Insecure website loaded
|
passed: false,false
result: Insecure website loaded,Insecure website loaded
|
passed: false,false
result: Insecure website loaded,Insecure website loaded
|
passed: false,false,false,false,false
result: Insecure website loaded,Insecure website loaded,Insecure website loaded,Insecure website loaded,Insecure website loaded
|
passed: true,true
result: Insecure website never loaded,Insecure website never loaded
|
passed: false,false
result: Insecure website loaded,Insecure website loaded
|
Upgradable addressChecks to see if an insecure address entered into the browser's address bar is upgraded to HTTPS whenever possible. |
upgraded: true,true
passed: true,true
|
upgraded: false,true
passed: false,true
|
upgraded: false,false
passed: false,false
|
upgraded: true,true
passed: true,true
|
upgraded: false,false
passed: false,false
|
upgraded: false,false,false,false,false
passed: false,false,false,false,false
|
upgraded: true,true
passed: true,true
|
upgraded: false,false
passed: false,false
|
Upgradable hyperlinkChecks to see if the user has clicked on a hyperlink to an insecure address, if the browser upgrades that address to HTTPS whenever possible. |
upgraded: true,true
passed: true,true
|
upgraded: false,true
passed: false,true
|
upgraded: false,false
passed: false,false
|
upgraded: true,true
passed: true,true
|
upgraded: false,false
passed: false,false
|
upgraded: false,false,false,false,false
passed: false,false,false,false,false
|
upgraded: true,true
passed: true,true
|
upgraded: false,false
passed: false,false
|
Upgradable imageChecks to see if the browser attempts to upgrade an insecure address for an image to HTTPS whenever possible. |
passed: true,true
result: upgraded,upgraded
|
passed: true,true
result: upgraded,upgraded
|
passed: true,true
result: upgraded,upgraded
|
passed: true,true
result: upgraded,upgraded
|
passed: true,true
result: upgraded,upgraded
|
passed: false,false,false,false,false
result: loaded insecurely,loaded insecurely,loaded insecurely,loaded insecurely,loaded insecurely
|
passed: true,true
result: upgraded,upgraded
|
passed: true,true
result: upgraded,upgraded
|
Upgradable scriptChecks to see if the browser attempts to upgrade an insecure address for an script to HTTPS whenever possible. |
passed: true,true
result: blocked,blocked
|
passed: true,true
result: blocked,blocked
|
passed: true,true
result: blocked,blocked
|
passed: true,true
result: blocked,blocked
|
passed: true,true
result: blocked,blocked
|
passed: true,true,true,true,true
result: blocked,blocked,blocked,blocked,blocked
|
passed: true,true
result: upgraded,upgraded
|
passed: true,true
result: blocked,blocked
|
Misc tests
Which browsers provide additional assorted privacy protections?
This category includes tests for the presence of miscellaneous privacy features
| ||||||||
GPC enabled first-partyThe Global Privacy Control is an HTTP header that can be sent by a browser to instruct a website not to sell the user's personal data to third parties. This test checks to see if the GPC header is sent by default to the top-level website. |
header value: 1
passed: true,true
|
header value: undefined
passed: false,false
|
header value: undefined
passed: false,false
|
header value: undefined
passed: false,false
|
header value: undefined
passed: false,false
|
header value: undefined
passed: false,false,false,false,false
|
header value: undefined
passed: false,false
|
header value: undefined
passed: false,false
|
GPC enabled third-partyThe Global Privacy Control is an HTTP header that can be sent by a browser to instruct a visited website not to sell the user's personal data to other parties. This test checks to see if the GPC header is sent to third-party elements on the web page. |
sec-gpc: 1
passed: true,true
|
passed: false,false
|
passed: false,false
|
passed: false,false
|
passed: false,false
|
passed: false,false,false,false,false
|
passed: false,false
|
passed: false,false
|
IP address leakIP addresses can be used to uniquely identify a large percentage of users. A proxy, VPN, or Tor can mask a user's IP address. |
passed: false,false
|
passed: false,false
|
passed: false,false
|
passed: false,false
|
passed: false,false
|
passed: false,false,false,false,false
|
passed: true,true
|
passed: false,false
|
Stream isolationBrowsers that use Tor can use a different Tor circuit per top-level website. | –
write: () => {
if (!usingTor) {
throw new Error("Unsupported");
}
}
read: async () => {
if (usingTor) {
return ipAddress;
} else {
throw new Error("Unsupported");
}
}
unsupported: true,true
readSameFirstParty: Error: Unsupported,Error: Unsupported
readDifferentFirstParty: Error: Unsupported,Error: Unsupported
testFailed: false,false
| –
write: () => {
if (!usingTor) {
throw new Error("Unsupported");
}
}
read: async () => {
if (usingTor) {
return ipAddress;
} else {
throw new Error("Unsupported");
}
}
unsupported: true,true
readSameFirstParty: Error: Unsupported,Error: Unsupported
readDifferentFirstParty: Error: Unsupported,Error: Unsupported
testFailed: false,false
| –
write: () => {
if (!usingTor) {
throw new Error("Unsupported");
}
}
read: async () => {
if (usingTor) {
return ipAddress;
} else {
throw new Error("Unsupported");
}
}
unsupported: true,true
readSameFirstParty: Error: Unsupported,Error: Unsupported
readDifferentFirstParty: Error: Unsupported,Error: Unsupported
testFailed: false,false
| –
write: () => {
if (!usingTor) {
throw new Error("Unsupported");
}
}
read: async () => {
if (usingTor) {
return ipAddress;
} else {
throw new Error("Unsupported");
}
}
unsupported: true,true
readSameFirstParty: Error: Unsupported,Error: Unsupported
readDifferentFirstParty: Error: Unsupported,Error: Unsupported
testFailed: false,false
| –
write: () => {
if (!usingTor) {
throw new Error("Unsupported");
}
}
read: async () => {
if (usingTor) {
return ipAddress;
} else {
throw new Error("Unsupported");
}
}
unsupported: true,true
readSameFirstParty: Error: Unsupported,Error: Unsupported
readDifferentFirstParty: Error: Unsupported,Error: Unsupported
testFailed: false,false
| –
write: () => {
if (!usingTor) {
throw new Error("Unsupported");
}
}
read: async () => {
if (usingTor) {
return ipAddress;
} else {
throw new Error("Unsupported");
}
}
unsupported: true,true,true,true,true
readSameFirstParty: Error: Unsupported,Error: Unsupported,Error: Unsupported,Error: Unsupported,Error: Unsupported
readDifferentFirstParty: Error: Unsupported,Error: Unsupported,Error: Unsupported,Error: Unsupported,Error: Unsupported
testFailed: false,false,false,false,false
|
write: () => {
if (!usingTor) {
throw new Error("Unsupported");
}
}
read: async () => {
if (usingTor) {
return ipAddress;
} else {
throw new Error("Unsupported");
}
}
unsupported: true,false
readSameFirstParty: Error: Unsupported,2a0e:d602:2:137::2
readDifferentFirstParty: 2a06:1700:0:3c::1,2a0b:f4c2:2::43
testFailed: false,false
passed: ,true
| –
write: () => {
if (!usingTor) {
throw new Error("Unsupported");
}
}
read: async () => {
if (usingTor) {
return ipAddress;
} else {
throw new Error("Unsupported");
}
}
unsupported: true,true
readSameFirstParty: Error: Unsupported,Error: Unsupported
readDifferentFirstParty: Error: Unsupported,Error: Unsupported
testFailed: false,false
|
Tor enabledThe Tor network sends the browser's web requests through a series of relays to hide a user's IP address, thereby helping to mask their identity and location. This test checks to see if the Tor network is being used by default. |
IsTorExit: false,false
passed: false,false
|
IsTorExit: false,false
passed: false,false
|
IsTorExit: false,false
passed: false,false
|
IsTorExit: false,false
passed: false,false
|
IsTorExit: false,false
passed: false,false
|
IsTorExit: false,false,false,false,false
passed: false,false,false,false,false
|
IsTorExit: false,true
passed: false,true
|
IsTorExit: false,false
passed: false,false
|
Fingerprinting resistance tests
Which browsers hide what's unique about your device?
Fingerprinting is a technique trackers use to uniquely identify you as you browse the web. A fingerprinting script will measure several characteristics of your browser and, combining this data, will build a fingerprint that may uniquely identify you among web users. Browsers can introduce countermeasures, such as minimizing the distinguishing information disclosed by certain web APIs so your browser is harder to pick out from the crowd (so-called 'fingerprinting resistance').`,
| ||||||||
Media query screen heightHeight of the user's screen in pixels. |
expression: undefined
desired expression: undefined
actual value: 1301,1300
desired value: undefined
passed: true,true
|
expression: undefined
desired expression: undefined
actual value: 1440,1440
desired value: undefined
passed: false,false
|
expression: undefined
desired expression: undefined
actual value: 1440,1440
desired value: undefined
passed: false,false
|
expression: undefined
desired expression: undefined
actual value: 1440,1440
desired value: undefined
passed: false,false
|
expression: undefined
desired expression: undefined
actual value: 1440,1440
desired value: undefined
passed: false,false
|
expression: undefined
desired expression: undefined
actual value: 982,982,982,982,982
desired value: undefined
passed: false,false,false,false,false
|
expression: undefined
desired expression: undefined
actual value: 1000,1000
desired value: undefined
passed: true,true
|
expression: undefined
desired expression: undefined
actual value: 1440,1440
desired value: undefined
passed: false,false
|
Media query screen widthWidth of the user's screen in pixels. |
expression: undefined
desired expression: undefined
actual value: 1164,1164
desired value: undefined
passed: true,true
|
expression: undefined
desired expression: undefined
actual value: 2560,2560
desired value: undefined
passed: false,false
|
expression: undefined
desired expression: undefined
actual value: 2560,2560
desired value: undefined
passed: false,false
|
expression: undefined
desired expression: undefined
actual value: 2560,2560
desired value: undefined
passed: false,false
|
expression: undefined
desired expression: undefined
actual value: 2560,2560
desired value: undefined
passed: false,false
|
expression: undefined
desired expression: undefined
actual value: 1512,1512,1512,1512,1512
desired value: undefined
passed: false,false,false,false,false
|
expression: undefined
desired expression: undefined
actual value: 1000,1000
desired value: undefined
passed: true,true
|
expression: undefined
desired expression: undefined
actual value: 2560,2560
desired value: undefined
passed: false,false
|
outerHeightHeight of the browser window in pixels, including browser chrome. |
expression: outerHeight
desired expression: undefined
actual value: 1301,1300
desired value: undefined
passed: true,true
|
expression: outerHeight
desired expression: undefined
actual value: 1371,1371
desired value: undefined
passed: false,false
|
expression: outerHeight
desired expression: undefined
actual value: 1371,1371
desired value: undefined
passed: false,false
|
expression: outerHeight
desired expression: undefined
actual value: 1040,1040
desired value: undefined
passed: false,false
|
expression: outerHeight
desired expression: undefined
actual value: 1061,1061
desired value: undefined
passed: false,false
|
expression: outerHeight
desired expression: undefined
actual value: 940,940,940,940,940
desired value: undefined
passed: false,false,false,false,false
|
expression: outerHeight
desired expression: undefined
actual value: 1000,1000
desired value: undefined
passed: true,true
|
expression: outerHeight
desired expression: undefined
actual value: 1371,1371
desired value: undefined
passed: false,false
|
screen.heightHeight of the user's screen, in pixels. |
expression: screen.height
desired expression: undefined
actual value: 1301,1300
desired value: undefined
passed: true,true
|
expression: screen.height
desired expression: undefined
actual value: 1440,1440
desired value: undefined
passed: false,false
|
expression: screen.height
desired expression: undefined
actual value: 1440,1440
desired value: undefined
passed: false,false
|
expression: screen.height
desired expression: undefined
actual value: 1440,1440
desired value: undefined
passed: false,false
|
expression: screen.height
desired expression: undefined
actual value: 1440,1440
desired value: undefined
passed: false,false
|
expression: screen.height
desired expression: undefined
actual value: 982,982,982,982,982
desired value: undefined
passed: false,false,false,false,false
|
expression: screen.height
desired expression: undefined
actual value: 1000,1000
desired value: undefined
passed: true,true
|
expression: screen.height
desired expression: undefined
actual value: 1440,1440
desired value: undefined
passed: false,false
|
screen.widthWidth of the user's screen, in pixels. |
expression: screen.width
desired expression: undefined
actual value: 1164,1164
desired value: undefined
passed: true,true
|
expression: screen.width
desired expression: undefined
actual value: 2560,2560
desired value: undefined
passed: false,false
|
expression: screen.width
desired expression: undefined
actual value: 2560,2560
desired value: undefined
passed: false,false
|
expression: screen.width
desired expression: undefined
actual value: 2560,2560
desired value: undefined
passed: false,false
|
expression: screen.width
desired expression: undefined
actual value: 2560,2560
desired value: undefined
passed: false,false
|
expression: screen.width
desired expression: undefined
actual value: 1512,1512,1512,1512,1512
desired value: undefined
passed: false,false,false,false,false
|
expression: screen.width
desired expression: undefined
actual value: 1000,1000
desired value: undefined
passed: true,true
|
expression: screen.width
desired expression: undefined
actual value: 2560,2560
desired value: undefined
passed: false,false
|
screenXPosition, in pixels, of the left edge of the browser window on screen. |
expression: screenX
desired expression: undefined
actual value: 2,0
desired value: undefined
passed: true,true
|
expression: screenX
desired expression: undefined
actual value: -2538,-2538
desired value: undefined
passed: false,false
|
expression: screenX
desired expression: undefined
actual value: -2538,-2538
desired value: undefined
passed: false,false
|
expression: screenX
desired expression: undefined
actual value: 4,4
desired value: undefined
passed: true,true
|
expression: screenX
desired expression: undefined
actual value: 320,320
desired value: undefined
passed: false,false
|
expression: screenX
desired expression: undefined
actual value: 123,123,123,123,123
desired value: undefined
passed: false,false,false,false,false
|
expression: screenX
desired expression: undefined
actual value: 0,0
desired value: undefined
passed: true,true
|
expression: screenX
desired expression: undefined
actual value: -2538,-2538
desired value: undefined
passed: false,false
|
screenYPosition, in pixels, of the top edge of the browser window on screen. |
expression: screenY
desired expression: undefined
actual value: 0,0
desired value: undefined
passed: true,true
|
expression: screenY
desired expression: undefined
actual value: 47,47
desired value: undefined
passed: false,false
|
expression: screenY
desired expression: undefined
actual value: 47,47
desired value: undefined
passed: false,false
|
expression: screenY
desired expression: undefined
actual value: 25,25
desired value: undefined
passed: false,false
|
expression: screenY
desired expression: undefined
actual value: 202,202
desired value: undefined
passed: false,false
|
expression: screenY
desired expression: undefined
actual value: 38,38,38,38,38
desired value: undefined
passed: false,false,false,false,false
|
expression: screenY
desired expression: undefined
actual value: 0,0
desired value: undefined
passed: true,true
|
expression: screenY
desired expression: undefined
actual value: 47,47
desired value: undefined
passed: false,false
|
System font detectionWeb pages can detect the presence of a font installed on the user's system. The presence or absence of various fonts is commonly used to fingerprint users. |
expression: undefined
desired expression: undefined
actual value: undefined
desired value: undefined
passed: true,true
|
expression: undefined
desired expression: undefined
actual value: undefined
desired value: undefined
passed: false,false
|
expression: undefined
desired expression: undefined
actual value: undefined
desired value: undefined
passed: false,false
|
expression: undefined
desired expression: undefined
actual value: undefined
desired value: undefined
passed: true,true
|
expression: undefined
desired expression: undefined
actual value: undefined
desired value: undefined
passed: false,false
|
expression: undefined
desired expression: undefined
actual value: undefined
desired value: undefined
passed: true,true,true,true,true
|
expression: undefined
desired expression: undefined
actual value: undefined
desired value: undefined
passed: true,true
|
expression: undefined
desired expression: undefined
actual value: undefined
desired value: undefined
passed: false,false
|
Tracking query parameter tests
Which browsers remove URL parameters that can track you?
When you browse from one web page to another, tracking companies will frequently attach a 'tracking query parameter' to the address of the second web page. That query parameter may contain a unique identifier that tracks you individually as you browse the web. And these query parameters are frequently synchronized with cookies, making them a powerful tracking vector. Web browsers can protect you from known tracking query parameters by stripping them from web addresses before your browser sends them. (The set of tracking query parameters tested here was largely borrowed from Brave.)`
| ||||||||
__hsfpHubSpot tracking parameter |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
passed: true,true
|
value: 6472679007464266
passed: false,false
|
__hsscHubSpot tracking parameter |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
passed: true,true
|
value: 6472679007464266
passed: false,false
|
__hstcHubSpot tracking parameter |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
passed: true,true
|
value: 6472679007464266
passed: false,false
|
__sDrip.com email address tracking parameter |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
passed: true,true
|
value: 6472679007464266
passed: false,false
|
_hsencHubSpot tracking parameter |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
passed: true,true
|
value: 6472679007464266
passed: false,false
|
_openstatYandex tracking parameter |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
passed: true,true
|
value: 6472679007464266
passed: false,false
|
dclidDoubleClick Click ID (Google) |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
passed: true,true
|
value: 6472679007464266
passed: false,false
|
fbclidFacebook Click Identifier |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
passed: true,true
|
value: 6472679007464266
passed: false,false
|
gclidGoogle Click Identifier |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
passed: true,true
|
value: 6472679007464266
passed: false,false
|
hsCtaTrackingHubSpot tracking parameter |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
passed: true,true
|
value: 6472679007464266
passed: false,false
|
mc_eidMailchimp Email ID (email recipient's address) |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
passed: true,true
|
value: 6472679007464266
passed: false,false
|
mkt_tokAdobe Marketo tracking parameter |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
passed: true,true
|
value: 6472679007464266
passed: false,false
|
ml_subscriberMailerLite email tracking |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
ml_subscriber_hashMailerLite email tracking |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
msclkidMicrosoft Click ID |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
passed: true,true
|
value: 6472679007464266
passed: false,false
|
oly_anon_idOmeda marketing 'anonymous' customer id |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
passed: true,true
|
value: 6472679007464266
passed: false,false
|
oly_enc_idOmeda marketing 'known' customer id |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
passed: true,true
|
value: 6472679007464266
passed: false,false
|
rb_clickidUnknown high-entropy tracking parameter |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
s_cidAdobe Site Catalyst tracking parameter |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
vero_convVero tracking parameter |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
vero_idVero tracking parameter |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
passed: true,true
|
value: 6472679007464266
passed: false,false
|
wickedidWicked Reports e-commerce tracking |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
passed: true,true
|
value: 6472679007464266
passed: false,false
|
yclidYandex Click ID |
passed: true,true
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false
|
value: 6472679007464266
passed: false,false,false,false,false
|
passed: true,true
|
value: 6472679007464266
passed: false,false
|
Tracker content blocking tests
Which browsers block important known tracking scripts and pixels?
When you visit a web page, it frequently has third-party embedded tracking content, such as scripts and tracking pixels. These embedded components spy on you. Some browsers and browser extensions maintain list of tracking companies and block their content from being loaded. This section checks to see if a browser blocks 20 of the largest trackers listed by https://whotracks.me.`
| ||||||||
AdobeTests whether the browser blocks the page from loading the tracker at https://munchkin.marketo.net/munchkin.js |
url: https://munchkin.marketo.net/munchkin.js
passed: true,true
|
url: https://munchkin.marketo.net/munchkin.js
passed: false,false
|
url: https://munchkin.marketo.net/munchkin.js
passed: false,false
|
url: https://munchkin.marketo.net/munchkin.js
passed: true,true
|
url: https://munchkin.marketo.net/munchkin.js
passed: false,false
|
url: https://munchkin.marketo.net/munchkin.js
passed: false,false,false,false,false
|
url: https://munchkin.marketo.net/munchkin.js
passed: false,false
|
url: https://munchkin.marketo.net/munchkin.js
passed: false,false
|
Adobe Audience ManagerTests whether the browser blocks the page from loading the tracker at https://dpm.demdex.net/ibs |
url: https://dpm.demdex.net/ibs
passed: true,true
|
url: https://dpm.demdex.net/ibs
passed: false,false
|
url: https://dpm.demdex.net/ibs
passed: false,false
|
url: https://dpm.demdex.net/ibs
passed: true,true
|
url: https://dpm.demdex.net/ibs
passed: false,false
|
url: https://dpm.demdex.net/ibs
passed: false,false,false,false,false
|
url: https://dpm.demdex.net/ibs
passed: false,false
|
url: https://dpm.demdex.net/ibs
passed: false,false
|
Amazon adsystemTests whether the browser blocks the page from loading the tracker at https://s.amazon-adsystem.com/dcm |
url: https://s.amazon-adsystem.com/dcm
passed: true,true
|
url: https://s.amazon-adsystem.com/dcm
passed: false,false
|
url: https://s.amazon-adsystem.com/dcm
passed: false,false
|
url: https://s.amazon-adsystem.com/dcm
passed: true,true
|
url: https://s.amazon-adsystem.com/dcm
passed: false,false
|
url: https://s.amazon-adsystem.com/dcm
passed: false,false,false,false,false
|
url: https://s.amazon-adsystem.com/dcm
passed: false,false
|
url: https://s.amazon-adsystem.com/dcm
passed: false,false
|
AppNexusTests whether the browser blocks the page from loading the tracker at https://ib.adnxs.com/px?id=178248&t=1 |
url: https://ib.adnxs.com/px?id=178248&t=1
passed: true,true
|
url: https://ib.adnxs.com/px?id=178248&t=1
passed: false,false
|
url: https://ib.adnxs.com/px?id=178248&t=1
passed: false,false
|
url: https://ib.adnxs.com/px?id=178248&t=1
passed: true,true
|
url: https://ib.adnxs.com/px?id=178248&t=1
passed: false,false
|
url: https://ib.adnxs.com/px?id=178248&t=1
passed: false,false,false,false,false
|
url: https://ib.adnxs.com/px?id=178248&t=1
passed: false,false
|
url: https://ib.adnxs.com/px?id=178248&t=1
passed: false,false
|
Bing AdsTests whether the browser blocks the page from loading the tracker at https://bat.bing.com/bat.js |
url: https://bat.bing.com/bat.js
passed: true,true
|
url: https://bat.bing.com/bat.js
passed: false,false
|
url: https://bat.bing.com/bat.js
passed: false,false
|
url: https://bat.bing.com/bat.js
passed: true,true
|
url: https://bat.bing.com/bat.js
passed: false,false
|
url: https://bat.bing.com/bat.js
passed: false,false,false,false,false
|
url: https://bat.bing.com/bat.js
passed: false,false
|
url: https://bat.bing.com/bat.js
passed: false,false
|
ChartbeatTests whether the browser blocks the page from loading the tracker at https://static.chartbeat.com/js/chartbeat.js |
url: https://static.chartbeat.com/js/chartbeat.js
passed: true,true
|
url: https://static.chartbeat.com/js/chartbeat.js
passed: false,false
|
url: https://static.chartbeat.com/js/chartbeat.js
passed: false,false
|
url: https://static.chartbeat.com/js/chartbeat.js
passed: true,true
|
url: https://static.chartbeat.com/js/chartbeat.js
passed: false,false
|
url: https://static.chartbeat.com/js/chartbeat.js
passed: false,false,false,false,false
|
url: https://static.chartbeat.com/js/chartbeat.js
passed: false,false
|
url: https://static.chartbeat.com/js/chartbeat.js
passed: false,false
|
CriteoTests whether the browser blocks the page from loading the tracker at https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx
passed: true,true
|
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx
passed: false,false
|
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx
passed: false,false
|
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx
passed: true,true
|
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx
passed: false,false
|
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx
passed: false,false,false,false,false
|
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx
passed: false,false
|
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx
passed: false,false
|
DoubleClick (Google)Tests whether the browser blocks the page from loading the tracker at https://securepubads.g.doubleclick.net/static/glade.js |
url: https://securepubads.g.doubleclick.net/static/glade.js
passed: true,true
|
url: https://securepubads.g.doubleclick.net/static/glade.js
passed: false,false
|
url: https://securepubads.g.doubleclick.net/static/glade.js
passed: false,false
|
url: https://securepubads.g.doubleclick.net/static/glade.js
passed: true,true
|
url: https://securepubads.g.doubleclick.net/static/glade.js
passed: false,false
|
url: https://securepubads.g.doubleclick.net/static/glade.js
passed: false,false,false,false,false
|
url: https://securepubads.g.doubleclick.net/static/glade.js
passed: false,false
|
url: https://securepubads.g.doubleclick.net/static/glade.js
passed: false,false
|
Facebook trackingTests whether the browser blocks the page from loading the tracker at https://connect.facebook.net/en_US/fbevents.js |
url: https://connect.facebook.net/en_US/fbevents.js
passed: true,true
|
url: https://connect.facebook.net/en_US/fbevents.js
passed: false,false
|
url: https://connect.facebook.net/en_US/fbevents.js
passed: false,false
|
url: https://connect.facebook.net/en_US/fbevents.js
passed: true,true
|
url: https://connect.facebook.net/en_US/fbevents.js
passed: false,false
|
url: https://connect.facebook.net/en_US/fbevents.js
passed: false,false,true,true,true
|
url: https://connect.facebook.net/en_US/fbevents.js
passed: false,false
|
url: https://connect.facebook.net/en_US/fbevents.js
passed: false,false
|
Google (third-party ad pixel)Tests whether the browser blocks the page from loading the tracker at https://www.google.com/pagead/1p-user-list/ |
url: https://www.google.com/pagead/1p-user-list/
passed: true,true
|
url: https://www.google.com/pagead/1p-user-list/
passed: false,false
|
url: https://www.google.com/pagead/1p-user-list/
passed: false,false
|
url: https://www.google.com/pagead/1p-user-list/
passed: false,false
|
url: https://www.google.com/pagead/1p-user-list/
passed: false,false
|
url: https://www.google.com/pagead/1p-user-list/
passed: false,false,false,false,false
|
url: https://www.google.com/pagead/1p-user-list/
passed: false,false
|
url: https://www.google.com/pagead/1p-user-list/
passed: false,false
|
Google AnalyticsTests whether the browser blocks the page from loading the tracker at https://google-analytics.com/urchin.js |
url: https://google-analytics.com/urchin.js
passed: true,true
|
url: https://google-analytics.com/urchin.js
passed: false,false
|
url: https://google-analytics.com/urchin.js
passed: false,false
|
url: https://google-analytics.com/urchin.js
passed: true,true
|
url: https://google-analytics.com/urchin.js
passed: false,false
|
url: https://google-analytics.com/urchin.js
passed: false,false,false,false,false
|
url: https://google-analytics.com/urchin.js
passed: false,false
|
url: https://google-analytics.com/urchin.js
passed: false,false
|
Google Tag ManagerTests whether the browser blocks the page from loading the tracker at https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL
passed: true,true
|
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL
passed: false,false
|
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL
passed: false,false
|
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL
passed: false,false
|
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL
passed: false,false
|
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL
passed: false,false,false,false,false
|
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL
passed: false,false
|
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL
passed: false,false
|
Index ExchangeTests whether the browser blocks the page from loading the tracker at https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1
passed: true,true
|
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1
passed: false,false
|
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1
passed: false,false
|
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1
passed: true,true
|
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1
passed: false,false
|
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1
passed: false,false,false,false,false
|
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1
passed: false,false
|
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1
passed: false,false
|
New RelicTests whether the browser blocks the page from loading the tracker at https://js-agent.newrelic.com/nr-1212.min.js |
url: https://js-agent.newrelic.com/nr-1212.min.js
passed: true,true
|
url: https://js-agent.newrelic.com/nr-1212.min.js
passed: false,false
|
url: https://js-agent.newrelic.com/nr-1212.min.js
passed: false,false
|
url: https://js-agent.newrelic.com/nr-1212.min.js
passed: true,true
|
url: https://js-agent.newrelic.com/nr-1212.min.js
passed: false,false
|
url: https://js-agent.newrelic.com/nr-1212.min.js
passed: false,false,false,false,false
|
url: https://js-agent.newrelic.com/nr-1212.min.js
passed: false,false
|
url: https://js-agent.newrelic.com/nr-1212.min.js
passed: false,false
|
QuantcastTests whether the browser blocks the page from loading the tracker at https://pixel.quantserve.com/pixel |
url: https://pixel.quantserve.com/pixel
passed: true,true
|
url: https://pixel.quantserve.com/pixel
passed: false,false
|
url: https://pixel.quantserve.com/pixel
passed: false,false
|
url: https://pixel.quantserve.com/pixel
passed: true,true
|
url: https://pixel.quantserve.com/pixel
passed: false,false
|
url: https://pixel.quantserve.com/pixel
passed: false,false,false,false,false
|
url: https://pixel.quantserve.com/pixel
passed: false,false
|
url: https://pixel.quantserve.com/pixel
passed: false,false
|
Scorecard Research BeaconTests whether the browser blocks the page from loading the tracker at https://sb.scorecardresearch.com/internal-c2/default/cs.js |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js
passed: true,true
|
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js
passed: false,false
|
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js
passed: false,false
|
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js
passed: true,true
|
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js
passed: false,false
|
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js
passed: false,false,false,false,false
|
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js
passed: false,false
|
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js
passed: false,false
|
TaboolaTests whether the browser blocks the page from loading the tracker at https://trc.taboola.com/futureplc-tomsguide/trc/3/json |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json
passed: true,true
|
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json
passed: false,false
|
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json
passed: false,false
|
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json
passed: true,true
|
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json
passed: false,false
|
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json
passed: false,false,false,false,false
|
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json
passed: false,false
|
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json
passed: false,false
|
Twitter pixelTests whether the browser blocks the page from loading the tracker at https://t.co/i/adsct |
url: https://t.co/i/adsct
passed: true,true
|
url: https://t.co/i/adsct
passed: false,false
|
url: https://t.co/i/adsct
passed: false,false
|
url: https://t.co/i/adsct
passed: true,true
|
url: https://t.co/i/adsct
passed: false,false
|
url: https://t.co/i/adsct
passed: false,false,false,false,false
|
url: https://t.co/i/adsct
passed: false,false
|
url: https://t.co/i/adsct
passed: false,false
|
Yandex AdsTests whether the browser blocks the page from loading the tracker at https://yandex.ru/ads/system/header-bidding.js |
url: https://yandex.ru/ads/system/header-bidding.js
passed: true,true
|
url: https://yandex.ru/ads/system/header-bidding.js
passed: false,false
|
url: https://yandex.ru/ads/system/header-bidding.js
passed: false,false
|
url: https://yandex.ru/ads/system/header-bidding.js
passed: false,false
|
url: https://yandex.ru/ads/system/header-bidding.js
passed: false,false
|
url: https://yandex.ru/ads/system/header-bidding.js
passed: false,false,false,false,false
|
url: https://yandex.ru/ads/system/header-bidding.js
passed: false,false
|
url: https://yandex.ru/ads/system/header-bidding.js
passed: false,false
|
Tracking cookie protection tests
Which browsers block important known tracking cookies?
A large fraction of web pages on the web have hidden third-party trackers that read and write cookies in your browser. These cookies can be used to track your browsing across websites. This section checks to see if a browser stops cross-site tracking by cookies from 20 of the largest trackers listed by https://whotracks.me.`,
| ||||||||
AdobeTests whether the browser stops cookies from munchkin.marketo.net from tracking users across websites. |
passed: true,true
url: https://munchkin.marketo.net/munchkin.js
cookieFound: false,false
|
passed: true,true
url: https://munchkin.marketo.net/munchkin.js
cookieFound: false,false
|
passed: true,true
url: https://munchkin.marketo.net/munchkin.js
cookieFound: false,false
|
passed: true,true
url: https://munchkin.marketo.net/munchkin.js
cookieFound: false,false
|
passed: true,true
url: https://munchkin.marketo.net/munchkin.js
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://munchkin.marketo.net/munchkin.js
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://munchkin.marketo.net/munchkin.js
cookieFound: false,false
|
passed: true,true
url: https://munchkin.marketo.net/munchkin.js
cookieFound: false,false
|
Adobe Audience ManagerTests whether the browser stops cookies from dpm.demdex.net from tracking users across websites. |
passed: true,true
url: https://dpm.demdex.net/ibs
cookieFound: false,false
|
passed: true,true
url: https://dpm.demdex.net/ibs
cookieFound: false,false
|
passed: true,true
url: https://dpm.demdex.net/ibs
cookieFound: false,false
|
passed: true,true
url: https://dpm.demdex.net/ibs
cookieFound: false,false
|
passed: true,true
url: https://dpm.demdex.net/ibs
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://dpm.demdex.net/ibs
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://dpm.demdex.net/ibs
cookieFound: false,false
|
passed: true,true
url: https://dpm.demdex.net/ibs
cookieFound: false,false
|
Amazon adsystemTests whether the browser stops cookies from s.amazon-adsystem.com from tracking users across websites. |
passed: true,true
url: https://s.amazon-adsystem.com/dcm
cookieFound: false,false
|
passed: true,true
url: https://s.amazon-adsystem.com/dcm
cookieFound: false,false
|
passed: true,true
url: https://s.amazon-adsystem.com/dcm
cookieFound: false,false
|
passed: true,true
url: https://s.amazon-adsystem.com/dcm
cookieFound: false,false
|
passed: true,true
url: https://s.amazon-adsystem.com/dcm
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://s.amazon-adsystem.com/dcm
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://s.amazon-adsystem.com/dcm
cookieFound: false,false
|
passed: true,true
url: https://s.amazon-adsystem.com/dcm
cookieFound: false,false
|
AppNexusTests whether the browser stops cookies from ib.adnxs.com from tracking users across websites. |
passed: true,true
url: https://ib.adnxs.com/px?id=178248&t=1
cookieFound: false,false
|
passed: true,true
url: https://ib.adnxs.com/px?id=178248&t=1
cookieFound: false,false
|
passed: true,true
url: https://ib.adnxs.com/px?id=178248&t=1
cookieFound: false,false
|
passed: true,true
url: https://ib.adnxs.com/px?id=178248&t=1
cookieFound: false,false
|
passed: true,true
url: https://ib.adnxs.com/px?id=178248&t=1
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://ib.adnxs.com/px?id=178248&t=1
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://ib.adnxs.com/px?id=178248&t=1
cookieFound: false,false
|
passed: true,true
url: https://ib.adnxs.com/px?id=178248&t=1
cookieFound: false,false
|
Bing AdsTests whether the browser stops cookies from bat.bing.com from tracking users across websites. |
passed: true,true
url: https://bat.bing.com/bat.js
cookieFound: false,false
|
passed: true,true
url: https://bat.bing.com/bat.js
cookieFound: false,false
|
passed: true,true
url: https://bat.bing.com/bat.js
cookieFound: false,false
|
passed: true,true
url: https://bat.bing.com/bat.js
cookieFound: false,false
|
passed: true,true
url: https://bat.bing.com/bat.js
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://bat.bing.com/bat.js
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://bat.bing.com/bat.js
cookieFound: false,false
|
passed: true,true
url: https://bat.bing.com/bat.js
cookieFound: false,false
|
ChartbeatTests whether the browser stops cookies from static.chartbeat.com from tracking users across websites. |
passed: true,true
url: https://static.chartbeat.com/js/chartbeat.js
cookieFound: false,false
|
passed: true,true
url: https://static.chartbeat.com/js/chartbeat.js
cookieFound: false,false
|
passed: false,false
url: https://static.chartbeat.com/js/chartbeat.js
cookieFound: true,true
|
passed: true,true
url: https://static.chartbeat.com/js/chartbeat.js
cookieFound: false,false
|
passed: true,true
url: https://static.chartbeat.com/js/chartbeat.js
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://static.chartbeat.com/js/chartbeat.js
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://static.chartbeat.com/js/chartbeat.js
cookieFound: false,false
|
passed: true,true
url: https://static.chartbeat.com/js/chartbeat.js
cookieFound: false,false
|
CriteoTests whether the browser stops cookies from dis.criteo.com from tracking users across websites. |
passed: true,true
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx
cookieFound: false,false
|
passed: true,true
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx
cookieFound: false,false
|
passed: true,true
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx
cookieFound: false,false
|
passed: true,true
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx
cookieFound: false,false
|
passed: true,true
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx
cookieFound: false,false
|
passed: true,true
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx
cookieFound: false,false
|
DoubleClick (Google)Tests whether the browser stops cookies from securepubads.g.doubleclick.net from tracking users across websites. |
passed: true,true
url: https://securepubads.g.doubleclick.net/static/glade.js
cookieFound: false,false
|
passed: true,true
url: https://securepubads.g.doubleclick.net/static/glade.js
cookieFound: false,false
|
passed: true,true
url: https://securepubads.g.doubleclick.net/static/glade.js
cookieFound: false,false
|
passed: true,true
url: https://securepubads.g.doubleclick.net/static/glade.js
cookieFound: false,false
|
passed: true,true
url: https://securepubads.g.doubleclick.net/static/glade.js
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://securepubads.g.doubleclick.net/static/glade.js
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://securepubads.g.doubleclick.net/static/glade.js
cookieFound: false,false
|
passed: true,true
url: https://securepubads.g.doubleclick.net/static/glade.js
cookieFound: false,false
|
Facebook trackingTests whether the browser stops cookies from connect.facebook.net from tracking users across websites. |
passed: true,true
url: https://connect.facebook.net/en_US/fbevents.js
cookieFound: false,false
|
passed: true,true
url: https://connect.facebook.net/en_US/fbevents.js
cookieFound: false,false
|
passed: true,true
url: https://connect.facebook.net/en_US/fbevents.js
cookieFound: false,false
|
passed: true,true
url: https://connect.facebook.net/en_US/fbevents.js
cookieFound: false,false
|
passed: true,true
url: https://connect.facebook.net/en_US/fbevents.js
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://connect.facebook.net/en_US/fbevents.js
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://connect.facebook.net/en_US/fbevents.js
cookieFound: false,false
|
passed: true,true
url: https://connect.facebook.net/en_US/fbevents.js
cookieFound: false,false
|
Google (third-party ad pixel)Tests whether the browser stops cookies from www.google.com from tracking users across websites. |
passed: true,true
url: https://www.google.com/pagead/1p-user-list/
cookieFound: false,false
|
passed: true,true
url: https://www.google.com/pagead/1p-user-list/
cookieFound: false,false
|
passed: true,true
url: https://www.google.com/pagead/1p-user-list/
cookieFound: false,false
|
passed: true,true
url: https://www.google.com/pagead/1p-user-list/
cookieFound: false,false
|
passed: true,true
url: https://www.google.com/pagead/1p-user-list/
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://www.google.com/pagead/1p-user-list/
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://www.google.com/pagead/1p-user-list/
cookieFound: false,false
|
passed: true,true
url: https://www.google.com/pagead/1p-user-list/
cookieFound: false,false
|
Google AnalyticsTests whether the browser stops cookies from google-analytics.com from tracking users across websites. |
passed: true,true
url: https://google-analytics.com/urchin.js
cookieFound: false,false
|
passed: true,true
url: https://google-analytics.com/urchin.js
cookieFound: false,false
|
passed: false,false
url: https://google-analytics.com/urchin.js
cookieFound: true,true
|
passed: true,true
url: https://google-analytics.com/urchin.js
cookieFound: false,false
|
passed: true,true
url: https://google-analytics.com/urchin.js
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://google-analytics.com/urchin.js
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://google-analytics.com/urchin.js
cookieFound: false,false
|
passed: true,true
url: https://google-analytics.com/urchin.js
cookieFound: false,false
|
Google Tag ManagerTests whether the browser stops cookies from www.googletagmanager.com from tracking users across websites. |
passed: true,true
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL
cookieFound: false,false
|
passed: true,true
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL
cookieFound: false,false
|
passed: false,false
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL
cookieFound: true,true
|
passed: true,true
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL
cookieFound: false,false
|
passed: true,true
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL
cookieFound: false,false
|
passed: true,true
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL
cookieFound: false,false
|
Index ExchangeTests whether the browser stops cookies from dsum-sec.casalemedia.com from tracking users across websites. |
passed: true,true
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1
cookieFound: false,false
|
passed: true,true
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1
cookieFound: false,false
|
passed: true,true
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1
cookieFound: false,false
|
passed: true,true
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1
cookieFound: false,false
|
passed: true,true
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1
cookieFound: false,false
|
passed: true,true
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1
cookieFound: false,false
|
New RelicTests whether the browser stops cookies from js-agent.newrelic.com from tracking users across websites. |
passed: true,true
url: https://js-agent.newrelic.com/nr-1212.min.js
cookieFound: false,false
|
passed: true,true
url: https://js-agent.newrelic.com/nr-1212.min.js
cookieFound: false,false
|
passed: false,false
url: https://js-agent.newrelic.com/nr-1212.min.js
cookieFound: true,true
|
passed: true,true
url: https://js-agent.newrelic.com/nr-1212.min.js
cookieFound: false,false
|
passed: true,true
url: https://js-agent.newrelic.com/nr-1212.min.js
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://js-agent.newrelic.com/nr-1212.min.js
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://js-agent.newrelic.com/nr-1212.min.js
cookieFound: false,false
|
passed: true,true
url: https://js-agent.newrelic.com/nr-1212.min.js
cookieFound: false,false
|
QuantcastTests whether the browser stops cookies from pixel.quantserve.com from tracking users across websites. |
passed: true,true
url: https://pixel.quantserve.com/pixel
cookieFound: false,false
|
passed: true,true
url: https://pixel.quantserve.com/pixel
cookieFound: false,false
|
passed: true,true
url: https://pixel.quantserve.com/pixel
cookieFound: false,false
|
passed: true,true
url: https://pixel.quantserve.com/pixel
cookieFound: false,false
|
passed: true,true
url: https://pixel.quantserve.com/pixel
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://pixel.quantserve.com/pixel
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://pixel.quantserve.com/pixel
cookieFound: false,false
|
passed: true,true
url: https://pixel.quantserve.com/pixel
cookieFound: false,false
|
Scorecard Research BeaconTests whether the browser stops cookies from sb.scorecardresearch.com from tracking users across websites. |
passed: true,true
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js
cookieFound: false,false
|
passed: true,true
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js
cookieFound: false,false
|
passed: false,false
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js
cookieFound: true,true
|
passed: true,true
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js
cookieFound: false,false
|
passed: true,true
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js
cookieFound: false,false
|
passed: true,true
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js
cookieFound: false,false
|
TaboolaTests whether the browser stops cookies from trc.taboola.com from tracking users across websites. |
passed: true,true
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json
cookieFound: false,false
|
passed: true,true
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json
cookieFound: false,false
|
passed: true,true
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json
cookieFound: false,false
|
passed: true,true
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json
cookieFound: false,false
|
passed: true,true
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json
cookieFound: false,false
|
passed: true,true
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json
cookieFound: false,false
|
Twitter pixelTests whether the browser stops cookies from t.co from tracking users across websites. |
passed: true,true
url: https://t.co/i/adsct
cookieFound: false,false
|
passed: true,true
url: https://t.co/i/adsct
cookieFound: false,false
|
passed: false,false
url: https://t.co/i/adsct
cookieFound: true,true
|
passed: true,true
url: https://t.co/i/adsct
cookieFound: false,false
|
passed: true,true
url: https://t.co/i/adsct
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://t.co/i/adsct
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://t.co/i/adsct
cookieFound: false,false
|
passed: true,true
url: https://t.co/i/adsct
cookieFound: false,false
|
Yandex AdsTests whether the browser stops cookies from yandex.ru from tracking users across websites. |
passed: true,true
url: https://yandex.ru/ads/system/header-bidding.js
cookieFound: false,false
|
passed: true,true
url: https://yandex.ru/ads/system/header-bidding.js
cookieFound: false,false
|
passed: true,true
url: https://yandex.ru/ads/system/header-bidding.js
cookieFound: false,false
|
passed: true,true
url: https://yandex.ru/ads/system/header-bidding.js
cookieFound: false,false
|
passed: true,true
url: https://yandex.ru/ads/system/header-bidding.js
cookieFound: false,false
|
passed: true,true,true,true,true
url: https://yandex.ru/ads/system/header-bidding.js
cookieFound: false,false,false,false,false
|
passed: true,true
url: https://yandex.ru/ads/system/header-bidding.js
cookieFound: false,false
|
passed: true,true
url: https://yandex.ru/ads/system/header-bidding.js
cookieFound: false,false
|
Cross-session first-party tracking tests
Which browsers prevent websites from tracking you across browser sessions?
A common vulnerability of web browsers is that they allow websites ("first parties") to 'tag' your browser with some tracking data. This tag can be used to re-identify you when you return to a website you visited before. This category of leaks can be prevented by browser if they clean or isolate data between browser sessions. (In cases where a user has logged into a website or entered detailed information, it may be justifiable for a browser to retain information across sessions. These tests check when no such justification exists: when you have entered no significant information into a website, will the browser still retain data that allows you to be tracked across sessions?)
| ||||||||
Alt-SvcAlt-Svc allows the server to indicate to the web browser that a resource should be loaded on a different server. Because this is a persistent setting, it could be used to track users across websites if it is not correctly partitioned. |
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same session: h3, h3
result, different session: h2, h2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same session: h3, h3
result, different session: h2, h2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same session: h3, h3
result, different session: h2, h2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same session: h3, h3
result, different session: h2, h2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same session: h3, h3
result, different session: h2, h2
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same session: h2, h2, h2, h2, h2
result, different session: h2, h2, h2, h2, h2
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same session: h2, h2
result, different session: h2, h2
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same session: h3, h3
result, different session: h2, h2
unsupported: false, false
passed: true, true
test failed: false, false
|
CacheStorageThe Cache API is a content storage mechanism originally introduced to support ServiceWorkers. If the same Cache object is accessible to multiple websites, it can be abused to track users. |
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same session: d9b3957c-92cf-4fec-b44c-864c60c96810_1p, dba08b66-81a1-48aa-8061-f2b2884302be_1p
result, different session: Error: Cannot read properties of undefined (reading 'url'), Error: Cannot read properties of undefined (reading 'url')
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same session: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed_1p, bbda6652-188a-44a8-8c11-55f9896c8874_1p
result, different session: Error: Cannot read properties of undefined (reading 'url'), Error: Cannot read properties of undefined (reading 'url')
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same session: 90d06281-daf3-4505-b247-f3d8529c095b_1p, 4b81b4f0-07aa-4208-a274-887ccabec369_1p
result, different session: Error: Cannot read properties of undefined (reading 'url'), Error: Cannot read properties of undefined (reading 'url')
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same session: Error: The operation is insecure., Error: The operation is insecure.
result, different session: Error: The operation is insecure., Error: The operation is insecure.
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same session: 07130129-76ea-439d-8ac9-e0fa7c154515_1p, a383f45d-f8b4-4fe8-83c2-5524eba15d48_1p
result, different session: Error: Cannot read properties of undefined (reading 'url'), Error: Cannot read properties of undefined (reading 'url')
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same session: Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url')
result, different session: Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url')
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same session: Error: The operation is insecure., Error: The operation is insecure.
result, different session: Error: The operation is insecure., Error: The operation is insecure.
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same session: fc54449d-9e9a-4a62-a674-bc12b1a14df5_1p, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2_1p
result, different session: Error: Cannot read properties of undefined (reading 'url'), Error: Cannot read properties of undefined (reading 'url')
unsupported: false, false
passed: true, true
test failed: false, false
|
cookie (HTTP)The cookie, first introduced by Netscape in 1994, is a small amount of data stored by your browser on a website's behalf. It has legitimate uses, but it is also the classic cross-site tracking mechanism, and today still the most popular method of tracking users across websites. Browsers can stop cookies from being used for cross-site tracking by either blocking or partitioning them. |
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same session: d9b3957c-92cf-4fec-b44c-864c60c96810_1p_http, dba08b66-81a1-48aa-8061-f2b2884302be_1p_http
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same session: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed_1p_http, bbda6652-188a-44a8-8c11-55f9896c8874_1p_http
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same session: 90d06281-daf3-4505-b247-f3d8529c095b_1p_http, 4b81b4f0-07aa-4208-a274-887ccabec369_1p_http
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same session: 626f2908-e655-4e4b-b34b-7c7b90c3352d_1p_http, b247a9c6-e9ca-48a5-b148-579bc2a97d36_1p_http
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same session: 07130129-76ea-439d-8ac9-e0fa7c154515_1p_http, a383f45d-f8b4-4fe8-83c2-5524eba15d48_1p_http
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same session: , , , ,
result, different session: , , , ,
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
|
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same session: 12ff9eb7-ae67-4869-afe8-f0ab2211dd36_1p_http, 024714be-05c2-454b-a0b0-a8889df2364f_1p_http
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same session: fc54449d-9e9a-4a62-a674-bc12b1a14df5_1p_http, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2_1p_http
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
cookie (JS)The cookie, first introduced by Netscape in 1994, is a small amount of data stored by your browser on a website's behalf. It has legitimate uses, but it is also the classic cross-site tracking mechanism, and today still the most popular method of tracking users across websites. Browsers can stop cookies from being used for cross-site tracking by either blocking or partitioning them. |
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same session: d9b3957c-92cf-4fec-b44c-864c60c96810_1p_js, dba08b66-81a1-48aa-8061-f2b2884302be_1p_js
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same session: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed_1p_js, bbda6652-188a-44a8-8c11-55f9896c8874_1p_js
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same session: 90d06281-daf3-4505-b247-f3d8529c095b_1p_js, 4b81b4f0-07aa-4208-a274-887ccabec369_1p_js
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same session: 626f2908-e655-4e4b-b34b-7c7b90c3352d_1p_js, b247a9c6-e9ca-48a5-b148-579bc2a97d36_1p_js
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same session: 07130129-76ea-439d-8ac9-e0fa7c154515_1p_js, a383f45d-f8b4-4fe8-83c2-5524eba15d48_1p_js
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same session: , , , ,
result, different session: , , , ,
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
|
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same session: 12ff9eb7-ae67-4869-afe8-f0ab2211dd36_1p_js, 024714be-05c2-454b-a0b0-a8889df2364f_1p_js
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same session: fc54449d-9e9a-4a62-a674-bc12b1a14df5_1p_js, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2_1p_js
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
CookieStoreThe Cookie Store API is an alternative asynchronous API for managing cookies, supported by some browsers. |
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same session: d9b3957c-92cf-4fec-b44c-864c60c96810_1p, dba08b66-81a1-48aa-8061-f2b2884302be_1p
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same session: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed_1p, bbda6652-188a-44a8-8c11-55f9896c8874_1p
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same session: 90d06281-daf3-4505-b247-f3d8529c095b_1p, 4b81b4f0-07aa-4208-a274-887ccabec369_1p
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same session: Error: Unsupported, Error: Unsupported
result, different session: Error: Unsupported, Error: Unsupported
unsupported: true, true
passed: undefined
test failed: false, false
|
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same session: 07130129-76ea-439d-8ac9-e0fa7c154515_1p, a383f45d-f8b4-4fe8-83c2-5524eba15d48_1p
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same session: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported
result, different session: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same session: Error: Unsupported, Error: Unsupported
result, different session: Error: Unsupported, Error: Unsupported
unsupported: true, true
passed: undefined
test failed: false, false
|
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same session: fc54449d-9e9a-4a62-a674-bc12b1a14df5_1p, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2_1p
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
CSS cacheCSS stylesheets are cached, and if that cache is shared between websites, it can be used to track users across sites. |
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same session: fake_9549809275054231, fake_4510489069919341
result, different session: fake_8466169162042678, fake_40483736018861816
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same session: fake_3886989868050399, fake_03007346274653422
result, different session: fake_8249025404971604, fake_05861342893493071
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same session: fake_5999997285613434, fake_4828172702582634
result, different session: fake_919125411907143, fake_6032182567128064
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same session: fake_6377314800548748, fake_9434836293327433
result, different session: fake_06081433086870103, fake_7376394116290574
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same session: fake_1953133073140496, fake_050593700245965545
result, different session: fake_7334988583975193, fake_5145361947399536
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same session: fake_01053305018955375, fake_4868971415991399, fake_9777953957287284, fake_9738660983972374, fake_26495802827682313
result, different session: fake_4913539124952513, fake_6952097974187497, fake_45868694277585575, fake_2395055362092966, fake_19739943082305866
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same session: fake_17105201781841983, fake_18547977920012126
result, different session: fake_9709662777587023, fake_09148396036986028
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same session: fake_5788597611896593, fake_8445481867263507
result, different session: fake_050141597488774, fake_03467571231719546
unsupported: false, false
passed: true, true
test failed: false, false
|
favicon cacheA favicon is an icon that represents a website, typically shown in browser tab and bookmarks menu. If the favicon cache is not partitioned, it can be used to track users across websites. |
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same session: 1, 1, 1, 1, 1
result, different session: 2, 2, 2, 2, 2
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same session: 2, 2
result, different session: 4, 4
unsupported: false, false
passed: true, true
test failed: false, false
|
fetch cacheWhen a resource is received via the Fetch API, it is frequently cached. That cache can potentially be abused for cross-site tracking. |
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 2, 2, 2, 2, 2
result, different session: 3, 3, 3, 3, 3
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
font cacheWeb fonts are sometimes stored in their own cache, which is vulnerable to being abused for cross-site tracking. |
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 2, 2, 2, 2, 2
result, different session: 3, 3, 3, 3, 3
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
iframe cacheAn iframe is an element in a web page than allows websites to embed a second web page. Caching of this web page could be abused for cross-site tracking. |
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 2, 2, 2, 2, 2
result, different session: 3, 3, 3, 3, 3
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
image cacheCaching of images in web browsers is a standard behavior. But if that cache leaks between websites, it can be abused for cross-site tracking. |
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 2, 2, 2, 2, 2
result, different session: 3, 3, 3, 3, 3
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
indexedDBThe IndexedDB API exposes a transactional database to web pages. That database can be used to track users across websites, unless it is partitioned. |
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same session: d9b3957c-92cf-4fec-b44c-864c60c96810_1p, dba08b66-81a1-48aa-8061-f2b2884302be_1p
result, different session: undefined
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same session: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed_1p, bbda6652-188a-44a8-8c11-55f9896c8874_1p
result, different session: undefined
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same session: 90d06281-daf3-4505-b247-f3d8529c095b_1p, 4b81b4f0-07aa-4208-a274-887ccabec369_1p
result, different session: undefined
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same session: 626f2908-e655-4e4b-b34b-7c7b90c3352d_1p, b247a9c6-e9ca-48a5-b148-579bc2a97d36_1p
result, different session: undefined
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same session: 07130129-76ea-439d-8ac9-e0fa7c154515_1p, a383f45d-f8b4-4fe8-83c2-5524eba15d48_1p
result, different session: undefined
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same session: undefined
result, different session: undefined
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
|
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same session: 12ff9eb7-ae67-4869-afe8-f0ab2211dd36_1p, 024714be-05c2-454b-a0b0-a8889df2364f_1p
result, different session: undefined
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same session: fc54449d-9e9a-4a62-a674-bc12b1a14df5_1p, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2_1p
result, different session: undefined
unsupported: false, false
passed: true, true
test failed: false, false
|
localStorageThe localStorage API gives websites access to a key-value database that will remain available across visits. If the localStorage API is not partitioned or blocked, it can also be used to track users across websites. |
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same session: d9b3957c-92cf-4fec-b44c-864c60c96810_1p, dba08b66-81a1-48aa-8061-f2b2884302be_1p
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same session: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed_1p, bbda6652-188a-44a8-8c11-55f9896c8874_1p
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same session: 90d06281-daf3-4505-b247-f3d8529c095b_1p, 4b81b4f0-07aa-4208-a274-887ccabec369_1p
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same session: 626f2908-e655-4e4b-b34b-7c7b90c3352d_1p, b247a9c6-e9ca-48a5-b148-579bc2a97d36_1p
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same session: 07130129-76ea-439d-8ac9-e0fa7c154515_1p, a383f45d-f8b4-4fe8-83c2-5524eba15d48_1p
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same session: , , , ,
result, different session: , , , ,
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
|
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same session: 12ff9eb7-ae67-4869-afe8-f0ab2211dd36_1p, 024714be-05c2-454b-a0b0-a8889df2364f_1p
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same session: fc54449d-9e9a-4a62-a674-bc12b1a14df5_1p, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2_1p
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
prefetch cacheA suggests to browsers they should fetch a resource ahead of time and cache it. But if browsers don't partition this cache, it can be used to track users across websites. |
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same session: Error: No requests received, Error: No requests received, Error: No requests received, Error: No requests received, Error: No requests received
result, different session: Error: No requests received, Error: No requests received, Error: No requests received, Error: No requests received, Error: No requests received
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same session: Error: No requests received, Error: No requests received
result, different session: Error: No requests received, Error: No requests received
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
Web SQL DatabaseThe Web SQL Database is a deprecated web API for storing data in an SQL database. |
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same session: d9b3957c-92cf-4fec-b44c-864c60c96810_1p, dba08b66-81a1-48aa-8061-f2b2884302be_1p
result, different session: Error: could not prepare statement (1 no such table: cache), Error: could not prepare statement (1 no such table: cache)
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same session: b1ea4123-cf84-4879-ac4e-652d7f9ba6ed_1p, bbda6652-188a-44a8-8c11-55f9896c8874_1p
result, different session: Error: could not prepare statement (1 no such table: cache), Error: could not prepare statement (1 no such table: cache)
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same session: 90d06281-daf3-4505-b247-f3d8529c095b_1p, 4b81b4f0-07aa-4208-a274-887ccabec369_1p
result, different session: Error: could not prepare statement (1 no such table: cache), Error: could not prepare statement (1 no such table: cache)
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function
result, different session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same session: 07130129-76ea-439d-8ac9-e0fa7c154515_1p, a383f45d-f8b4-4fe8-83c2-5524eba15d48_1p
result, different session: Error: could not prepare statement (1 no such table: cache), Error: could not prepare statement (1 no such table: cache)
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same session: Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated
result, different session: Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function
result, different session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same session: fc54449d-9e9a-4a62-a674-bc12b1a14df5_1p, 6ca0bf58-262d-4187-b37f-c975bb8aa3a2_1p
result, different session: Error: could not prepare statement (1 no such table: cache), Error: could not prepare statement (1 no such table: cache)
unsupported: false, false
passed: true, true
test failed: false, false
|
XMLHttpRequest cacheSimilar to the newer Fetch API, any resource received may be cached by the browser. The cache is potentially vulnerable to cross-site tracking attack. |
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 2, 2, 2, 2, 2
result, different session: 3, 3, 3, 3, 3
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
Cross-session third-party tracking tests
Which browsers prevent third-party trackers from tracking you across browser sessions?
A common vulnerability of web browsers is that they allow third-party trackers to 'tag' your browser with some tracking data. This tag can be used to re-identify you when you return to a website you visited before. This category of leaks can be prevented by browser if they clean or isolate data between browser sessions. (In cases where a user has logged into a website or entered detailed information, it may be justifiable for a browser to retain information across sessions. These tests check when no such justification exists: when you have entered no significant information into a website, will the browser still retain data that allows you to be tracked across sessions?)
| ||||||||
Alt-SvcAlt-Svc allows the server to indicate to the web browser that a resource should be loaded on a different server. Because this is a persistent setting, it could be used to track users across websites if it is not correctly partitioned. |
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same session: h3, h3
result, different session: h2, h2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same session: h3, h3
result, different session: h2, h2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same session: h3, h3
result, different session: h2, h2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same session: h3, h3
result, different session: h2, h2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same session: h3, h3
result, different session: h2, h2
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same session: h2, h2, h2, h2, h2
result, different session: h2, h2, h2, h2, h2
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same session: h2, h2
result, different session: h2, h2
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async () => {
// Clear Alt-Svc caching first.
let responseText = "";
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/clear");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after clear:", responseText);
// Store "h3" state in Alt-Svc cache
for (let i = 0; i < 3; ++i) {
await fetch(altSvcOrigin + "/set");
await sleepMs(100);
}
responseText = await fetchText(altSvcOrigin + "/protocol");
console.log("after set:", responseText);
}
read: async () => {
const protocol = await fetchText(altSvcOrigin + "/protocol");
if ((new URL(location)).searchParams.get("thirdparty") === "same") {
if (protocol !== "h3") {
throw new Error("Unsupported");
}
}
return protocol;
}
result, same session: h3, h3
result, different session: h2, h2
unsupported: false, false
passed: true, true
test failed: false, false
|
CacheStorageThe Cache API is a content storage mechanism originally introduced to support ServiceWorkers. If the same Cache object is accessible to multiple websites, it can be abused to track users. | –
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same session: Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent., Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent.
result, different session: Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent., Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent.
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same session: Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent., Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent.
result, different session: Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent., Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent.
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same session: 90d06281-daf3-4505-b247-f3d8529c095b_3p, 4b81b4f0-07aa-4208-a274-887ccabec369_3p
result, different session: Error: Cannot read properties of undefined (reading 'url'), Error: Cannot read properties of undefined (reading 'url')
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same session: Error: The operation is insecure., Error: The operation is insecure.
result, different session: Error: The operation is insecure., Error: The operation is insecure.
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same session: Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent., Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent.
result, different session: Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent., Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent.
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same session: Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url')
result, different session: Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url')
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same session: Error: The operation is insecure., Error: The operation is insecure.
result, different session: Error: The operation is insecure., Error: The operation is insecure.
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: async (key) => {
try {
let cache = await caches.open("supercookies");
cache.addAll([`test.css?key=${key}`]);
} catch (e) {
throw new Error("Unsupported");
}
}
read: async () => {
let cache = await caches.open("supercookies");
let cacheKeys = await cache.keys();
let url = cacheKeys[0].url;
return (new URL(url)).searchParams.get("key");
}
result, same session: Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent., Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent.
result, different session: Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent., Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent.
unsupported: true, true
passed: undefined
test failed: false, false
|
cookie (HTTP)The cookie, first introduced by Netscape in 1994, is a small amount of data stored by your browser on a website's behalf. It has legitimate uses, but it is also the classic cross-site tracking mechanism, and today still the most popular method of tracking users across websites. Browsers can stop cookies from being used for cross-site tracking by either blocking or partitioning them. |
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same session: d9b3957c-92cf-4fec-b44c-864c60c96810_3p_http, dba08b66-81a1-48aa-8061-f2b2884302be_3p_http
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same session: ,
result, different session: ,
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same session: 90d06281-daf3-4505-b247-f3d8529c095b_3p_http, 4b81b4f0-07aa-4208-a274-887ccabec369_3p_http
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same session: 626f2908-e655-4e4b-b34b-7c7b90c3352d_3p_http, b247a9c6-e9ca-48a5-b148-579bc2a97d36_3p_http
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same session: ,
result, different session: ,
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same session: , , , ,
result, different session: , , , ,
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same session: ,
result, different session: ,
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: async (secret) => {
// Request a page that will send an HTTPOnly 'set-cookie' response header with secret value.
await fetch(`${baseURI}cookie?secret=${secret}_http`);
}
read: async () => {
// Test if we now send a requests with a 'cookie' header containing the secret.
let response = await fetch(`${baseURI}headers`);
let cookie = (await response.json())["cookie"];
return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null;
}
result, same session: ,
result, different session: ,
unsupported: true, true
passed: undefined
test failed: false, false
|
cookie (JS)The cookie, first introduced by Netscape in 1994, is a small amount of data stored by your browser on a website's behalf. It has legitimate uses, but it is also the classic cross-site tracking mechanism, and today still the most popular method of tracking users across websites. Browsers can stop cookies from being used for cross-site tracking by either blocking or partitioning them. |
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same session: d9b3957c-92cf-4fec-b44c-864c60c96810_3p_js, dba08b66-81a1-48aa-8061-f2b2884302be_3p_js
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same session: ,
result, different session: ,
unsupported: true, true
passed: undefined
test failed: false, false
|
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same session: 90d06281-daf3-4505-b247-f3d8529c095b_3p_js, 4b81b4f0-07aa-4208-a274-887ccabec369_3p_js
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same session: 626f2908-e655-4e4b-b34b-7c7b90c3352d_3p_js, b247a9c6-e9ca-48a5-b148-579bc2a97d36_3p_js
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same session: ,
result, different session: ,
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same session: , , , ,
result, different session: , , , ,
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same session: ,
result, different session: ,
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: (secret) => {
document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`;
}
read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null
result, same session: ,
result, different session: ,
unsupported: true, true
passed: undefined
test failed: false, false
|
CookieStoreThe Cookie Store API is an alternative asynchronous API for managing cookies, supported by some browsers. |
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same session: d9b3957c-92cf-4fec-b44c-864c60c96810_3p, dba08b66-81a1-48aa-8061-f2b2884302be_3p
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same session: ,
result, different session: ,
unsupported: true, true
passed: undefined
test failed: false, false
|
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same session: 90d06281-daf3-4505-b247-f3d8529c095b_3p, 4b81b4f0-07aa-4208-a274-887ccabec369_3p
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same session: Error: Unsupported, Error: Unsupported
result, different session: Error: Unsupported, Error: Unsupported
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same session: ,
result, different session: ,
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same session: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported
result, different session: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same session: Error: Unsupported, Error: Unsupported
result, different session: Error: Unsupported, Error: Unsupported
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: (data) => {
const msPerHour = 60 * 60 * 1000;
if (!window.cookieStore) {
throw new Error("Unsupported");
}
window.cookieStore.set({
name: "partition_test",
value: data,
expires: Date.now() + msPerHour,
sameSite: "none"
});
}
read: async () => {
if (!window.cookieStore) {
throw new Error("Unsupported");
}
const cookie = await window.cookieStore.get("partition_test");
if (!cookie) {
return null;
}
return cookie.value;
}
result, same session: ,
result, different session: ,
unsupported: true, true
passed: undefined
test failed: false, false
|
CSS cacheCSS stylesheets are cached, and if that cache is shared between websites, it can be used to track users across sites. |
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same session: fake_5704709587745624, fake_7890259919019003
result, different session: fake_20529519243966066, fake_1994803153951521
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same session: fake_5563990702054062, fake_7292884420942036
result, different session: fake_7774261440245893, fake_9534779997821112
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same session: fake_06631293586866471, fake_4618803378462917
result, different session: fake_16357324721507083, fake_9852837511005692
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same session: fake_14005351993403425, fake_8016119781457167
result, different session: fake_881724418408022, fake_7733915515590681
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same session: fake_11202932929949339, fake_7977879881065939
result, different session: fake_09103024995481768, fake_9235644596673034
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same session: fake_0646271881654179, fake_9909109477532012, fake_17927801441645053, fake_09893038978094748, fake_6312107051932312
result, different session: fake_13693072703027864, fake_7294725457757878, fake_4768910024432229, fake_7910461624246139, fake_0021595818957016455
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same session: fake_8581619917155561, fake_9616442305265933
result, different session: fake_553520086212945, fake_0607479065622043
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return key;
}
read: async (key) => {
const href = testURI("resource", "css", key);
const head = document.getElementsByTagName("head")[0];
head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`;
const testElement = document.querySelector("#css");
let fontFamily;
while (true) {
await sleepMs(100);
fontFamily = getComputedStyle(testElement).fontFamily;
if (fontFamily.startsWith("fake")) {
break;
}
}
console.log(fontFamily);
return fontFamily;
}
result, same session: fake_17407742924189407, fake_6398926554653421
result, different session: fake_7696678373559791, fake_9024988675771082
unsupported: false, false
passed: true, true
test failed: false, false
|
favicon cacheA favicon is an icon that represents a website, typically shown in browser tab and bookmarks menu. If the favicon cache is not partitioned, it can be used to track users across websites. |
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same session: 2, 2, 2, 2, 2
result, different session: 3, 3, 3, 3, 3
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => key
read: async (key) => {
// Wait for the favicon to load (defined in supercookies.html)
await sleepMs(2000);
let response = await fetch(
testURI("ctr", "favicon", key), {"cache": "reload"});
let count = (await response.text()).trim();
if (count === "0") {
throw new Error("No requests received");
}
return count;
}
result, same session: 2, 2
result, different session: 4, 4
unsupported: false, false
passed: true, true
test failed: false, false
|
fetch cacheWhen a resource is received via the Fetch API, it is frequently cached. That cache can potentially be abused for cross-site tracking. |
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 2, 2, 2, 2, 2
result, different session: 3, 3, 3, 3, 3
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
return key;
}
read: async (key) => {
let response = await fetch(testURI("resource", "fetch", key),
{cache: "force-cache"});
let countResponse = await fetch(testURI("ctr", "fetch", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
font cacheWeb fonts are sometimes stored in their own cache, which is vulnerable to being abused for cross-site tracking. |
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 2, 2, 2, 2, 2
result, different session: 3, 3, 3, 3, 3
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
return key;
}
read: async (key) => {
const text = document.createElement("span");
text.id = "text";
text.innerText = "test";
document.body.appendChild(text);
const originalWidth = text.getBoundingClientRect().width;
let style = document.createElement("style");
style.type='text/css';
let fontURI = testURI("resource", "font", key);
style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`;
document.getElementsByTagName("head")[0].appendChild(style);
let newWidth;
do {
await sleepMs(100);
newWidth = text.getBoundingClientRect().width;
} while (newWidth < 0 || newWidth === originalWidth)
let response = await fetch(
testURI("ctr", "font", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
iframe cacheAn iframe is an element in a web page than allows websites to embed a second web page. Caching of this web page could be abused for cross-site tracking. |
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 2, 2, 2, 2, 2
result, different session: 3, 3, 3, 3, 3
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
iframe.addEventListener("load", () => resolve(key), {once: true});
iframe.src = testURI("resource", "page", key);
})
read: async (key) => {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
let iframeLoadPromise = new Promise((resolve, reject) => {
iframe.addEventListener("load", resolve, {once: true});
});
let address = testURI("resource", "page", key);
iframe.src = address;
await iframeLoadPromise;
let response = await fetch(
testURI("ctr", "page", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
image cacheCaching of images in web browsers is a standard behavior. But if that cache leaks between websites, it can be abused for cross-site tracking. |
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 2, 2, 2, 2, 2
result, different session: 3, 3, 3, 3, 3
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (key) => new Promise((resolve, reject) => {
let img = document.createElement("img");
document.body.appendChild(img);
img.addEventListener("load", () => resolve(key), {once: true});
img.src = testURI("resource", "image", key);
})
read: async (key) => {
let img = document.createElement("img");
document.body.appendChild(img);
let imgLoadPromise = new Promise((resolve, reject) => {
img.addEventListener("load", resolve, {once: true});
});
img.src = testURI("resource", "image", key);
await imgLoadPromise;
let response = await fetch(
testURI("ctr", "image", key), {"cache": "reload"});
return (await response.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
indexedDBThe IndexedDB API exposes a transactional database to web pages. That database can be used to track users across websites, unless it is partitioned. | –
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same session: Error: The user denied permission to access the database., Error: The user denied permission to access the database.
result, different session: Error: The user denied permission to access the database., Error: The user denied permission to access the database.
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same session: Error: The user denied permission to access the database., Error: The user denied permission to access the database.
result, different session: Error: The user denied permission to access the database., Error: The user denied permission to access the database.
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same session: 90d06281-daf3-4505-b247-f3d8529c095b_3p, 4b81b4f0-07aa-4208-a274-887ccabec369_3p
result, different session: undefined
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same session: 626f2908-e655-4e4b-b34b-7c7b90c3352d_3p, b247a9c6-e9ca-48a5-b148-579bc2a97d36_3p
result, different session: undefined
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same session: Error: The user denied permission to access the database., Error: The user denied permission to access the database.
result, different session: Error: The user denied permission to access the database., Error: The user denied permission to access the database.
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same session: undefined
result, different session: undefined
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same session: Error: The operation is insecure., Error: The operation is insecure.
result, different session: Error: The operation is insecure., Error: The operation is insecure.
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: async (secret) => {
try {
return await IdbKeyVal.set("secret", secret);
} catch (e) {
throw new Error("Unsupported");
}
}
read: () => IdbKeyVal.get("secret")
result, same session: Error: The user denied permission to access the database., Error: The user denied permission to access the database.
result, different session: Error: The user denied permission to access the database., Error: The user denied permission to access the database.
unsupported: true, true
passed: undefined
test failed: false, false
|
localStorageThe localStorage API gives websites access to a key-value database that will remain available across visits. If the localStorage API is not partitioned or blocked, it can also be used to track users across websites. |
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same session: d9b3957c-92cf-4fec-b44c-864c60c96810_3p, dba08b66-81a1-48aa-8061-f2b2884302be_3p
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same session: Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document., Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
result, different session: Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document., Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
unsupported: true, true
passed: undefined
test failed: false, false
|
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same session: 90d06281-daf3-4505-b247-f3d8529c095b_3p, 4b81b4f0-07aa-4208-a274-887ccabec369_3p
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
|
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same session: 626f2908-e655-4e4b-b34b-7c7b90c3352d_3p, b247a9c6-e9ca-48a5-b148-579bc2a97d36_3p
result, different session: ,
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same session: Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document., Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
result, different session: Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document., Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same session: , , , ,
result, different session: , , , ,
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same session: Error: The operation is insecure., Error: The operation is insecure.
result, different session: Error: The operation is insecure., Error: The operation is insecure.
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: (secret) => localStorage.setItem("secret", secret)
read: () => localStorage.getItem("secret")
result, same session: Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document., Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
result, different session: Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document., Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
unsupported: true, true
passed: undefined
test failed: false, false
|
prefetch cacheA suggests to browsers they should fetch a resource ahead of time and cache it. But if browsers don't partition this cache, it can be used to track users across websites. |
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same session: 1, 1
result, different session: 1, 1
unsupported: false, false
passed: false, false
test failed: false, false
|
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
| –
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same session: Error: No requests received, Error: No requests received, Error: No requests received, Error: No requests received, Error: No requests received
result, different session: Error: No requests received, Error: No requests received, Error: No requests received, Error: No requests received, Error: No requests received
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same session: Error: No requests received, Error: No requests received
result, different session: Error: No requests received, Error: No requests received
unsupported: true, true
passed: undefined
test failed: false, false
|
write: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
return key;
}
read: async (key) => {
let link = document.createElement("link");
link.rel = "prefetch";
link.href = testURI("resource", "prefetch", key);
document.getElementsByTagName("head")[0].appendChild(link);
await sleepMs(500);
let response = await fetch(
testURI("ctr", "prefetch", key), {"cache": "reload"});
let countString = (await response.text()).trim();
if (parseInt(countString) === 0) {
throw new Error("No requests received");
}
return countString;
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
Web SQL DatabaseThe Web SQL Database is a deprecated web API for storing data in an SQL database. | –
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same session: Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts., Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts.
result, different session: Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts., Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts.
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same session: Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts., Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts.
result, different session: Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts., Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts.
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same session: Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts., Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts.
result, different session: Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts., Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts.
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function
result, different session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same session: Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts., Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts.
result, different session: Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts., Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts.
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same session: Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated
result, different session: Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated
unsupported: true, true, true, true, true
passed: undefined
test failed: false, false, false, false, false
| –
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function
result, different session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function
unsupported: true, true
passed: undefined
test failed: false, false
| –
write: async (key) => {
if (!window.openDatabase) {
throw new Error("gported");
}
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let tx = new Promise((resolve) => database.transaction(tx => {
tx.executeSql(
`CREATE TABLE IF NOT EXISTS cache(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
value TEXT NOT NULL,
UNIQUE (name)
)`,
[], (tx, rs) => {}, (tx, err) => {});
tx.executeSql(
`INSERT OR REPLACE INTO cache(name, value)
VALUES(?, ?)`,
["secret", key], (tx, rs) => {}, (tx, rs) => {});
}));
}
read: async () => {
let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024);
let result = await new Promise((resolve, reject) => database.transaction(tx => {
tx.executeSql(
"SELECT value FROM cache WHERE name=?",
["secret"],
(tx, rs) => resolve(rs),
(tx, err) => reject(err));
}));
return result.rows.item(0).value;
}
result, same session: Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts., Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts.
result, different session: Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts., Error: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in third party contexts.
unsupported: true, true
passed: undefined
test failed: false, false
|
XMLHttpRequest cacheSimilar to the newer Fetch API, any resource received may be cached by the browser. The cache is potentially vulnerable to cross-site tracking attack. |
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 2, 2, 2, 2, 2
result, different session: 3, 3, 3, 3, 3
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|
write: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
return key;
}
read: async (key) => {
const req = new XMLHttpRequest();
const loadPromise = new Promise(resolve => req.addEventListener("load", resolve));
req.open("GET", testURI("resource", "xhr", key));
req.send();
await loadPromise;
let countResponse = await fetch(testURI("ctr", "xhr", key),
{cache: "reload"});
return (await countResponse.text()).trim();
}
result, same session: 1, 1
result, different session: 2, 2
unsupported: false, false
passed: true, true
test failed: false, false
|