Bug 205768

Summary: Resource Timing: secureConnectionStart == 0 when origin resource is requested from is reconnected to via Resource Hint
Product: WebKit Reporter: Andy Davies <ad>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: achristensen, ahmad.saleem792, beidson, cdumez, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Mac   
OS: macOS 10.14   

Andy Davies
Reported 2020-01-04 13:28:56 PST
Example Test Case: https://andydavies.github.io/browser-bug-demos/secureConnectionStart/preconnect.html Page preconnects to res.cloudinary.com, after a short delay (to allow for a connection to be established) sets image URL, then when image loads, queries resource timing entries and inserts them into the page. DNS and TCP phases of connection are clamped to fetchStart as they occurred before it) secureConnectionStart is zero rather than being clamped in the same way Chrome has similar behaviour (https://bugs.chromium.org/p/chromium/issues/detail?id=1039080) but the behaviour seems to change depending on whether DevTools is open, Safari's behaviour remains consistent regardless of whether Inspector is open or closed.
Attachments
Radar WebKit Bug Importer
Comment 1 2020-01-05 19:57:05 PST
Ahmad Saleem
Comment 2 2023-09-26 17:12:38 PDT
I believe this is similar to what was fixed here: https://commits.webkit.org/237727@main CCing - Alex and Chris for their input.
Alex Christensen
Comment 3 2023-10-04 17:41:04 PDT
Yep. Thanks, Ahmad! *** This bug has been marked as a duplicate of bug 225733 ***
Note You need to log in before you can comment on or make changes to this bug.