Closed Bug 1464135 Opened 2 years ago Closed 2 years ago

HttpChannelChild receives timing information too late

Categories

(Core :: Networking, enhancement, P2)

58 Branch
enhancement

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: baku, Assigned: valentin)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

https://searchfox.org/mozilla-central/rev/dc6d85680539cb7e5fe2843d38a30a0581bfefe1/netwerk/protocol/http/HttpChannelChild.cpp#1057

HttpChannelChild receives timing values on OnStopRequest. At that time, maybe JS has already been executed, PerformanceNavigationTiming already created and its requestStart/connectStart/requestEnd values used. We must have (some) timing values at OnStartRequest, or find a way to propagate them before onStopRequest.

Valentin, do you mind to investigate? Thanks
Assignee: nobody → valentin.gosu
Priority: -- → P2
Whiteboard: [necko-triaged]
Blocks: 1462993
Blocks: 1462883
Blocks: 1462879
Comment on attachment 8985091 [details]
Bug 1464135 - Pass the timing data to the child channel during OnStart

https://reviewboard.mozilla.org/r/250802/#review257048
Attachment #8985091 - Flags: review?(amarchesini) → review+
Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/eb78f489a6e4
Pass the timing data to the child channel during OnStart r=baku
https://hg.mozilla.org/mozilla-central/rev/eb78f489a6e4
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.