diff options
Diffstat (limited to 'testing/web-platform/tests/mixed-content/resources')
-rw-r--r-- | testing/web-platform/tests/mixed-content/resources/blob-popup.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/mixed-content/resources/blob-popup.html b/testing/web-platform/tests/mixed-content/resources/blob-popup.html new file mode 100644 index 0000000000..bc3c97ef8d --- /dev/null +++ b/testing/web-platform/tests/mixed-content/resources/blob-popup.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<script> + opener.postMessage({ + potentially_trustworthy: location.protocol === "https:", + js_blob_url: URL.createObjectURL( + new Blob([`const message = "Hello World!"`], + {type: 'application/javascript'})), + }, "*"); +</script> |