https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 81aaac8299a4608b990ab472a89a522cdeeb29f7 authored by Geoffrey Sneddon on 30 April 2018, 15:11:48 UTC
fixup! Fix #2669: Add alternate_hosts
Tip revision: 81aaac8
resource_timing_idl.html
<!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('load', function(){
        assert_not_equals(typeof performance.getEntriesByType('resource')[0].serverTiming, 'undefined',
          'An instance of `PerformanceResourceTiming` should have a `serverTiming` attribute.')
        done()
      })
    </script>
</head>
back to top