Skip to content

Commit

Permalink
Fix secureConnectionStart when connection is reused
Browse files Browse the repository at this point in the history
Per ResourceTiming spec, if a connection is reused
then secureConnectionStart must return fetchStart, not 0.

Bug: 404501
Change-Id: Ica208c98cfea0afa9dd22e4edc83cc3c430c219f
  • Loading branch information
npm1 authored and chromium-wpt-export-bot committed Dec 7, 2018
1 parent 6a51887 commit 0c15d1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resource-timing/resource_connection_reuse.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
const 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');
test_equals(entry.fetchStart, entry.secureConnectionStart, 'secureConnectStart and fetchStart should be the same');
test_equals(entry.fetchStart, entry.domainLookupStart, 'domainLookupStart and fetchStart should be the same')
test_equals(entry.fetchStart, entry.domainLookupEnd, 'domainLookupEnd and fetchStart should be the same')

}

done();
Expand Down

0 comments on commit 0c15d1d

Please sign in to comment.