summaryrefslogtreecommitdiffstats
path: root/test/wpt/tests/FileAPI/url/resources/create-helper.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/wpt/tests/FileAPI/url/resources/create-helper.html')
-rw-r--r--test/wpt/tests/FileAPI/url/resources/create-helper.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/wpt/tests/FileAPI/url/resources/create-helper.html b/test/wpt/tests/FileAPI/url/resources/create-helper.html
new file mode 100644
index 0000000..fa6cf4e
--- /dev/null
+++ b/test/wpt/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