Commit b55ad851 authored by Yoav Weiss's avatar Yoav Weiss Committed by moz-wptsync-bot
Browse files

Bug 1770422 [wpt PR 34140] - Fix NavTiming test that times out, a=testonly

Automatic update from web-platform-tests
Fix NavTiming test that times out

Bug: 1324116
Change-Id: I08e16c46253db5cd358be4b6656171f1d253dc90
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3657350


Reviewed-by: default avatarIan Clelland <iclelland@chromium.org>
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1005793}

--

wpt-commits: 47a908c3e3bcb80bc4ea740c7db0444b2dbf5b2e
wpt-pr: 34140
parent 3b5f28f8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
<!DOCTYPE HTML>
<html>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<iframe src="resources/respond_slowly.py"></iframe>
+3 −3
Original line number Diff line number Diff line
@@ -20,10 +20,10 @@ def main(request, response):
        }, 0);
    }
    </script><body onload='checkResponseEnd()'>"""
    response.headers.set(b"Content-Length", str(len(head) + 10000))
    response.headers.set(b"Content-Length", str(len(head) + 1000))
    response.headers.set(b"Content-Type", b"text/html")
    response.write_status_headers()
    response.writer.write_content(head)
    for i in range(1000):
    for i in range(100):
        response.writer.write_content(b"1234567890")
        time.sleep(0.001)
        time.sleep(0.01)