summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/server-timing/navigation-timing-trickle.https.html
blob: 3121dc01cdda3496a99141e014422aebdc6a1db2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<head>
    <meta charset='utf-8' />
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script>
      setup({explicit_done: true})
      window.addEventListener("message", e => {
        test(() => {
          assert_equals(e.data, "PASS", "The iframe saw ServerTiming entries in its NavigationTiming entry.");
          done();
        })
      });
    </script>
</head>
<body>
<iframe src="resources/navigation-timing.html?pipe=trickle(800:d1)"></iframe>
</body>