diff options
Diffstat (limited to 'testing/web-platform/tests/FileAPI/url/resources/create-helper.html')
-rw-r--r-- | testing/web-platform/tests/FileAPI/url/resources/create-helper.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/web-platform/tests/FileAPI/url/resources/create-helper.html b/testing/web-platform/tests/FileAPI/url/resources/create-helper.html new file mode 100644 index 0000000000..fa6cf4e671 --- /dev/null +++ b/testing/web-platform/tests/FileAPI/url/resources/create-helper.html @@ -0,0 +1,7 @@ +<!doctype html> +<script> +self.addEventListener('message', e => { + let url = URL.createObjectURL(e.data.blob); + e.source.postMessage({url: url}, '*'); +}); +</script>
\ No newline at end of file |