1
0
Fork 0
firefox/browser/base/content/test/siteIdentity/file_pdf_blob.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

18 lines
383 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
</head>
<body>
<script>
let blob = new Blob(["x"], { type: "application/pdf" });
let blobURL = URL.createObjectURL(blob);
let link = document.createElement("a");
link.innerText = "PDF blob";
link.target = "_blank";
link.href = blobURL;
document.body.appendChild(link);
</script>
</body>
</html>