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

26 lines
566 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Blob URL Partitioning Test</title>
</head>
<body>
<script>
onmessage = e => {
fetch(e.data)
.then(response => {
if (!response.ok) {
throw new Error();
}
return response.text();
})
.then(text => {
parent.postMessage(text, "*");
})
.catch(() => {
parent.postMessage("error", "*");
});
};
</script>
</body>
</html>