mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444
This commit is contained in:
parent
25e8bf69e6
commit
665817d2a6
35333 changed files with 1818077 additions and 16036 deletions
|
@ -36,11 +36,12 @@ function onload_test() {
|
|||
// when a persistent connection is used, follow-on resources should be included as PerformanceResourceTiming objects
|
||||
test_equals(entries.length, 2, 'There should be 2 PerformanceEntries');
|
||||
|
||||
// when a persistent connection is used, for the resource that reuses the socket, connectStart and connectEnd should have the same value as fetchStart
|
||||
var entry = entries[1];
|
||||
test_equals(entry.fetchStart, entry.connectStart, "connectStart and fetchStart should be the same");
|
||||
|
||||
test_equals(entry.fetchStart, entry.connectEnd, "connectEnd and fetchStart should be the same");
|
||||
if (entries.length >= 2) {
|
||||
// when a persistent connection is used, for the resource that reuses the socket, connectStart and connectEnd should have the same value as fetchStart
|
||||
var entry = entries[1];
|
||||
test_equals(entry.fetchStart, entry.connectStart, "connectStart and fetchStart should be the same");
|
||||
test_equals(entry.fetchStart, entry.connectEnd, "connectEnd and fetchStart should be the same");
|
||||
}
|
||||
|
||||
done();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue