mirror of
https://github.com/servo/servo.git
synced 2025-08-18 03:45:33 +01:00
Update web-platform-tests to revision 9a4d479ed1347eb9184abc70d628a6da2297657a
This commit is contained in:
parent
b6cc0f60a9
commit
effeb278b6
120 changed files with 3731 additions and 298 deletions
|
@ -0,0 +1,8 @@
|
|||
<!doctype html>
|
||||
<script>
|
||||
window.addEventListener("message", e => {
|
||||
window.top.postMessage(e.data, "*");
|
||||
});
|
||||
</script>
|
||||
<iframe src="secure-connection-test.html">
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
Connection: Keep-Alive
|
||||
Content-Length: 170
|
||||
|
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue