https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 7d92dbd58ac296da6fb2e24d9c9758775e873088 authored by Mike West on 06 December 2018, 10:19:53 UTC
Trusted Types: URLs should be USVString, not DOMString.
Tip revision: 7d92dbd
resource_timing_idl.https.html
<!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({explicit_done: 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>
back to top