1
0
Fork 0
firefox/testing/web-platform/tests/navigation-timing/resources/secure-connection-test.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

13 lines
447 B
HTML

<!doctype html>
<script>
const entries = performance.getEntriesByType("navigation");
if (!entries) {
window.top.postMessage("FAIL - not supported", "*");
}
const entry = entries[0];
if (entry.secureConnectionStart != entry.fetchStart) {
window.top.postMessage("FAIL - unexpected secureConnectionStart value of " +
entry.secureConnectionStart + " does not equal " + entry.fetchStart, "*");
}
window.top.postMessage("PASS", "*");
</script>