mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Update web-platform-tests to revision 66dc9c93f2c8ebd7c8fdc28fae20d92713c97806
This commit is contained in:
parent
e488ea750b
commit
12f4ae132e
1651 changed files with 8123 additions and 14152 deletions
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>secureConnectionStart non-zero value test</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Description</h1>
|
||||
<p>The tests that secureConnectionStart has a non-zero value.</p>
|
||||
<script>
|
||||
window.onload = () => {
|
||||
test(t => {
|
||||
const entry = performance.getEntriesByType("navigation")[0];
|
||||
assert_greater_than(entry.secureConnectionStart, 0, "secureConnectionStart is non-zero");
|
||||
}, "Test that secureConnectionStart is not zero");
|
||||
};
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue