summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/layout-instability/resources/slow-image.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/layout-instability/resources/slow-image.py')
-rw-r--r--testing/web-platform/tests/layout-instability/resources/slow-image.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/web-platform/tests/layout-instability/resources/slow-image.py b/testing/web-platform/tests/layout-instability/resources/slow-image.py
new file mode 100644
index 0000000000..d9f09b8bca
--- /dev/null
+++ b/testing/web-platform/tests/layout-instability/resources/slow-image.py
@@ -0,0 +1,6 @@
+import time
+
+def main(request, response):
+ # Sleep for 3s to delay onload.
+ time.sleep(3)
+ return [], b""