Closed Bug 1470286 Opened 6 years ago Closed 6 years ago

propagate original channel creation and open time across internal redirects

Categories

(Core :: Networking: HTTP, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: bkelly, Assigned: bkelly)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

We use internal redirects for a variety of reasons in the browser.  In general these are used to reset the channel state in a way that is not really observable to web content.  The internal redirect is very much a part of the internal networking implementation.

Currently we also capture a brand new creation and async open timestamp for every internal redirect.  Any time that was spent on the previous channel before the internal redirect is lost.  This seems wrong and misleading to web exposed APIs like performance API.

I'd like to make internal redirects preserve the original async open and channel creation time.

As an ulterior motive, I also want this to fix performance API for the new service workers e10s mode.  More internal redirects are used and I need the timing information to be preserved since we have tests that its measured properly.
Pushed by bkelly@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b00a4031dbe4
Propagate channel creation and async open time across internal redirects. r=valentin
Priority: -- → P2
Whiteboard: [necko-triaged]
https://hg.mozilla.org/mozilla-central/rev/b00a4031dbe4
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: