DescriptionFix ResourceLoadTiming resolution lose issue.
Currently, WebCore::ResourceLoadTiming has a base requestTime with type "double", others are millisecond
deltas with type "int", it forces following timestamps align with the base time, such as dnsStart.
So in glue(webkit/glue/weburlloader_impl.cc), we had to calculate delta between the real dnsStart and
its base time request_start, round to a int value in millisecond, while, lose the resolution. It may cause
timestamps overlap or tricky negative values.
This change removes all "int" deltas and use monotonicallyIncreasing "double" in second instead.
To satisfy test result, we need to add new fields in blink and then switch chrome use the new fields, at last go back blink to remove old fields. This change is the first step and use a macro to guard the new added field.
Contributed by pan.deng@intel.com
BUG=242452
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=150952
Patch Set 1 #
Total comments: 2
Patch Set 2 : Step1 #
Total comments: 2
Patch Set 3 : Add inline help function to satisfy inspector #Messages
Total messages: 11 (0 generated)
|