Closed Bug 1816149 Opened 2 years ago Closed 2 years ago

Early Hints in Firefox Profiler are broken.

Categories

(Core :: Networking: HTTP, defect, P3)

defect

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: manuel, Assigned: manuel)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

One thing could be that it's due to overwriting the channelId on connect back (this was for displaying the channel correctly in devtools, but that doesn't work either). And also showing the preload channel in the parent in the same line as the channel in the content process would be good.

Maybe this has something to do with LOAD_REPLACE not being set in the EarlyHintPreloader channel: https://searchfox.org/mozilla-central/rev/aa3ccd258b64abfd4c5ce56c1f512bc7f65b844c/netwerk/base/nsIChannel.idl#239

The Firefox Profiler expects the channelId to not change. There is no
reason to change the channelId. It was a measure to associate the early
hint preload in devtools and profiler, but neither is the case right
now: Devtools currently don't show preloads at all and changing the
channelId messes up the profiler.

Assignee: nobody → manuel
Status: NEW → ASSIGNED
Attachment #9326003 - Attachment description: Bug 1816149 - Fix messing up the Firefox Profiler by changing the channelId r=#necko → Bug 1816149 - Fix Early Hints in the Firefox Profiler by not changing the channelId anymore r=#necko
Pushed by mbucher@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/68c2210ea2eb Fix Early Hints in the Firefox Profiler by not changing the channelId anymore r=necko-reviewers,jesup
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: