summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/mozilla/tests/workers/2-mib-file.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/mozilla/tests/workers/2-mib-file.py')
-rw-r--r--testing/web-platform/mozilla/tests/workers/2-mib-file.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/workers/2-mib-file.py b/testing/web-platform/mozilla/tests/workers/2-mib-file.py
new file mode 100644
index 0000000000..cfb563ff21
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/workers/2-mib-file.py
@@ -0,0 +1,7 @@
+import random
+import string
+
+
+def main(request, response):
+ r = "".join(random.choice(string.ascii_letters) for _ in range(2 * 1024 * 1024))
+ return r