Open Bug 1877187 Opened 5 months ago Updated 8 days ago

Add stacktrace to "network.Initiator" type for "network.BeforeRequestSent"

Categories

(Remote Protocol :: WebDriver BiDi, task, P3)

task
Points:
5

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [webdriver:m12])

Split from Bug 1805479, adding the stacktrace information will be a bit more complicated as we need to fetch the information from the content process.

Looks like the initiator is only used for network.BeforeRequestSent

Blocks: 1790366
Summary: Add stacktrace to Network BiDi events → Add stacktrace to "network.Initiator" type for "network.BeforeRequestSent"

Check with Alex if this is a blocker for puppeteer.

Points: --- → 5
Flags: needinfo?(jdescottes)
Priority: -- → P3
Whiteboard: [webdriver:backlog]

Alex: for network event's initiator information, it's a bit more complicated for us to add support for the stacktrace because the information is not available in the same process as the one where we detect the network events. So in the beginning we would like to only add the initiator type.

Do you think having stacktrace information should be a blocker for puppeteer support? I can see there are not too many puppeteer tests around the initiator, so not sure if this is heavily used or not.

Flags: needinfo?(jdescottes) → needinfo?(alexrudenko)

We currently expose the stackTrace to the end users. I don't have more info than that but it looks like https://github.com/puppeteer/puppeteer/issues/1395 people use the stack as well as the type.

Flags: needinfo?(alexrudenko)
Whiteboard: [webdriver:backlog] → [webdriver:m12]
You need to log in before you can comment on or make changes to this bug.