Update web-platform-tests to revision 9a4d479ed1347eb9184abc70d628a6da2297657a

This commit is contained in:
WPT Sync Bot 2019-07-17 10:25:43 +00:00
parent b6cc0f60a9
commit effeb278b6
120 changed files with 3731 additions and 298 deletions

View file

@ -0,0 +1,8 @@
<!doctype html>
<script>
window.addEventListener("message", e => {
window.top.postMessage(e.data, "*");
});
</script>
<iframe src="secure-connection-test.html">

View file

@ -0,0 +1,3 @@
Connection: Keep-Alive
Content-Length: 170

View file

@ -0,0 +1,13 @@
<!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>

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Navigation Timing secureconnectionstart reuse</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
const t = async_test("Test that secureConnectionStart value is as expected when reused");
window.addEventListener("message", t.step_func_done(e => {
assert_equals(e.data, "PASS");
}));
</script>
<iframe src="resources/secure-connection-interim.html">