Open Bug 1901055 Opened 4 months ago Updated 3 months ago

Add support for optional arguments for "network.provideResponse" command in responseStarted/authRequired phases

Categories

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

task
Points:
5

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

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

Details

(Whiteboard: [webdriver:backlog])

In Bug 1853882, we will support missing arguments to provideResponse in the beforeRequestSent phase, where we can fully build a fake response and use that to bypass the network.

For other phases, we will already have a response channel created and we need to update this channel with user provided parameters, which will need additional platform support and is quite different from what we will do for beforeRequestSent.

Puppeteer is only using provideResponse for requests blocked in the beforeRequestSent phase, so this new bug doesn't have to block the puppeteer work.

Points: --- → 5
Priority: -- → P2
Whiteboard: [webdriver:backlog]

Julian, in our meeting you mentioned that this needs platform support. Would you mind filing a new bug and marking it blocking this one? Thanks.

Flags: needinfo?(jdescottes)
Depends on: 1904895
Flags: needinfo?(jdescottes)
You need to log in before you can comment on or make changes to this bug.