summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/FileAPI/url/resources/create-helper.html
blob: fa6cf4e671e8356072e8400f53e3b918b1fc4608 (plain)
1
2
3
4
5
6
7
<!doctype html>
<script>
self.addEventListener('message', e => {
  let url = URL.createObjectURL(e.data.blob);
  e.source.postMessage({url: url}, '*');
});
</script>