Bug 133469

Summary: [SOUP] ResourceLoadTiming.responseStart is always 0
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: berto, cdumez, commit-queue, danw, gustavo, mrobinson, svillar
Priority: P2 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch svillar: review+

Carlos Garcia Campos
Reported 2014-06-03 01:02:16 PDT
We are not recording the responseStart in the soup backend. Tests don't detect that because they time reported to the js API is always relative to the navigation time (navigation start + responseStart), and test using local files check that requestStart <= responseStart (and they are equal) and test using HTTP only check responseStart is not 0 (it can never be 0 unless navigationStart is 0).
Attachments
Patch (1.41 KB, patch)
2014-06-03 01:04 PDT, Carlos Garcia Campos
svillar: review+
Carlos Garcia Campos
Comment 1 2014-06-03 01:04:22 PDT
Sergio Villar Senin
Comment 2 2014-06-03 02:05:51 PDT
Comment on attachment 232417 [details] Patch Doesn't it allow us to pass any extra test?
Carlos Garcia Campos
Comment 3 2014-06-03 02:12:28 PDT
(In reply to comment #2) > (From update of attachment 232417 [details]) > Doesn't it allow us to pass any extra test? "Tests don't detect that because they time reported to the js API is always relative to the navigation time (navigation start + responseStart), and test using local files check that requestStart <= responseStart (and they are equal) and test using HTTP only check responseStart is not 0 (it can never be 0 unless navigationStart is 0)." :-)
Carlos Garcia Campos
Comment 4 2014-06-03 05:04:39 PDT
Note You need to log in before you can comment on or make changes to this bug.