diff options
Diffstat (limited to 'testing/web-platform/tests/largest-contentful-paint/resources/slow-style-change.py')
-rw-r--r-- | testing/web-platform/tests/largest-contentful-paint/resources/slow-style-change.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/web-platform/tests/largest-contentful-paint/resources/slow-style-change.py b/testing/web-platform/tests/largest-contentful-paint/resources/slow-style-change.py new file mode 100644 index 0000000000..780d5736c4 --- /dev/null +++ b/testing/web-platform/tests/largest-contentful-paint/resources/slow-style-change.py @@ -0,0 +1,9 @@ +import time + +def main(request, response): + time.sleep(1) + return [ ("Content-Type", "text/css")], """ + #text { + font-size: 4em; + } + """ |