blob: 48ab84bf964ef4ae2a0f3adc8fdd81867918c4f0 [file] [log] [blame]
<!doctype html>
<html>
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<iframe src="resources/iframe-reload-TAO.sub.html"></iframe>
<script>
async_test(t => {
window.onmessage = t.step_func(e => {
const data = e.data;
assert_greater_than(data.domainLookupStart, 0,
"domainLookupStart should be greater than 0.");
assert_greater_than(data.domainLookupEnd, 0,
"domainLookupEnd should be greater than 0.");
assert_greater_than(data.connectStart, 0,
"connectStart should be greater than 0.");
assert_greater_than(data.connectEnd, 0,
"connectEnd should be greater than 0.");
t.done();
});
}, "Test that TAO headers are reused on reloads.");
</script>
</body>