New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 899386 link

Starred by 5 users

Issue metadata

Status: Assigned
Owner:
Last visit 28 days ago
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

DevTools: annotate request interceptions with matching requestId

Project Member Reported by lushnikov@google.com, Oct 26

Issue description

With request interception enabled, protocol currently emits two events for every request:
- requestWillBeSent(requestId)
- requestIntercepted(interceptionId)

Since interceptionId and requestId aren't matching, clients (e.g. Puppeteer) use all kinds of heuristics to match these events together.

However, these heuristics aren't reliable and break under different corner cases.

To make request interception story reliable, we need to pass matching requestId in the requestIntercepted events. Since NetworkService is almost there, this seems to quite feasible. 
 

Sign in to add a comment