chromium/third_party/blink/web_tests/external/wpt/layout-instability/resources/slow-image.py

import time

def main(request, response):
    # Sleep for 3s to delay onload.
    time.sleep(3)
    return [], b""