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