summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/server-timing/navigation_timing_idl.https.html
blob: 154bc6b0442bf159e7a8b0a682bee5b21372e450 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<head>
    <meta charset='utf-8' />
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="/common/performance-timeline-utils.js"></script>
    <script>
      setup({single_test: true})
      delayedLoadListener(function(){
        assert_not_equals(typeof performance.getEntriesByType('navigation')[0].serverTiming, 'undefined',
          'An instance of `PerformanceNavigationTiming` should have a `serverTiming` attribute.')
        done()
      })
    </script>
</head>