summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/longtask-timing/resources/subframe-with-longtask.html
blob: 298b252d18796c1753ca3c2f8ec594f9bbb54baa (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE HTML>
<meta charset=utf-8>
<meta name="viewport" content="width=device-width">

<title>Long Task Iframe</title>
<h1>Long Task in Inline Script</h1>

<script>
    const begin = window.performance.now();
    while (window.performance.now() < begin + 60);
</script>