mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 04:39:07 -10:00
Automatic update from web-platform-testsMake Server-Timing tests more resilient (#13789) -- wpt-commits: 5c95adc476aa7273b152d2468b5e71b42757f007 wpt-pr: 13789
16 lines
564 B
HTML
16 lines
564 B
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>
|