blob: a7c2ad705db844db61f6038ed0bba496a0598ce2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<!DOCTYPE html>
<body>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
promise_test(async t => {
var navigationTiming = window.performance.getEntriesByType('navigation')[0];
assert_not_equals(navigationTiming, undefined);
assert_equals(navigationTiming.criticalCHRestart, 0, "This should be 0 as there was no restart.");
}, "Critical-CH no-restart navigation timing test");
</script>
</body>
</html>
|