mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 05:08:36 +02:00
Automatic update from web-platform-testsMake Server-Timing tests more resilient (#13789) -- wpt-commits: 5c95adc476aa7273b152d2468b5e71b42757f007 wpt-pr: 13789
15 lines
568 B
HTML
15 lines
568 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('navigation')[0].serverTiming, 'undefined',
|
|
'An instance of `PerformanceNavigationTiming` should have a `serverTiming` attribute.')
|
|
done()
|
|
})
|
|
</script>
|
|
</head>
|