1
0
Fork 0
firefox/testing/web-platform/tests/storage-access-api/resources/blob-url-creation.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

14 lines
365 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<body>
<script>
'use strict';
// Create a blob and get its URL.
const blob = new Blob(["TEST"], { type: "text/plain" });
const blob_url = URL.createObjectURL(blob);
// Send the blob URL back to the opener.
window.parent.postMessage({ type: "blobURL", message: blob_url }, "*");
</script>
</body>