resource_timing_idl.https.html (562B)
1 <!DOCTYPE html> 2 <head> 3 <meta charset='utf-8' /> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 <script src="/common/performance-timeline-utils.js"></script> 7 <script> 8 setup({single_test: true}) 9 delayedLoadListener(function(){ 10 assert_not_equals(typeof performance.getEntriesByType('resource')[0].serverTiming, 'undefined', 11 'An instance of `PerformanceResourceTiming` should have a `serverTiming` attribute.') 12 done() 13 }) 14 </script> 15 </head>