Closed Bug 1608217 Opened 6 years ago Closed 6 years ago

Add innerWindowID of the current tab for the network markers

Categories

(Core :: Gecko Profiler, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox74 --- wontfix
firefox75 --- fixed

People

(Reporter: canova, Assigned: canova)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Currently we have page/tab information inside some of the markers we could get. But during the initial implementation it wasn't possible to get that information from necko.
We would like to filter out network requests if they are not relevant to that tab inside the profiler front-end now. To be able to do that we should add innerWindowID inside the network markers.

ni?me: provide more information about how to carry the innerwin id from the child channel to the parent channel and expose it. some links where to start and where to expose, more details will be provided.

Flags: needinfo?(honzab.moz)

It looks like this information should already be available on nsIChannel.loadInfo object as nsILoadInfo.innerWindowID. nsHttpChannel as well as HttpChannelChild keep it simply as mLoadInfo.

Can you please try that?

Flags: needinfo?(honzab.moz) → needinfo?(felash)

Thanks for looking into it Honza! That's great news. I will work on this as soon as I have some time. Redirecting ni to myself.

Flags: needinfo?(felash) → needinfo?(canaltinova)
Assignee: nobody → canaltinova
Status: NEW → ASSIGNED

This patch should do it, it's pretty straightforward. Removing the ni now.

Flags: needinfo?(canaltinova)
Pushed by canaltinova@gmail.com: https://hg.mozilla.org/integration/autoland/rev/94cb6116eea8 Add innerWindowID into network markers. r=gerald
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: