https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 1e7d904d39eeb95877e4ae60011ca2ab874d5f7f authored by Anne van Kesteren on 11 May 2018, 06:10:04 UTC
add variants where .close() is called
Tip revision: 1e7d904
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