summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/server-timing/resource_timing_idl.https.html
blob: a719a89097231cb7defe3a910ae0349a11f335c5 (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('resource')[0].serverTiming, 'undefined',
          'An instance of `PerformanceResourceTiming` should have a `serverTiming` attribute.')
        done()
      })
    </script>
</head>