Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(add intercept): address global intercepts #1518

Closed
wants to merge 1 commit into from

Conversation

thiagowfx
Copy link
Contributor

Whenever no patterns are specified in BiDi, omit the "patterns" parameter in "Fetch.enable", in order to match all requests:

If specified, only requests matching any of these patterns will
produce fetchRequested event and will be paused until clients response. If not set, all requests will be affected.

Bug: #644
Docs: https://chromedevtools.github.io/devtools-protocol/tot/Fetch/#method-enable

@thiagowfx
Copy link
Contributor Author

This will fix some WPT tests, however I'll need to first make a change in the tests because some of its set-up code is introducing side-effects, blocking requests too early.

@thiagowfx thiagowfx force-pushed the thiagowfx/intercept branch from 0354d2d to 1dd932e Compare November 2, 2023 11:10
Whenever no patterns are specified in BiDi, omit the "patterns"
parameter in "Fetch.enable", in order to match all requests:

> If specified, only requests matching any of these patterns will
produce fetchRequested event and will be paused until clients response.
If not set, all requests will be affected.

Bug: #644
Docs: https://chromedevtools.github.io/devtools-protocol/tot/Fetch/#method-enable
@thiagowfx thiagowfx force-pushed the thiagowfx/intercept branch from 1dd932e to f5b054c Compare November 2, 2023 14:54
@thiagowfx thiagowfx marked this pull request as draft November 2, 2023 16:04
@thiagowfx
Copy link
Contributor Author

This approach does not work.

@thiagowfx
Copy link
Contributor Author

Closing in favour of #1530

@thiagowfx thiagowfx closed this Nov 8, 2023
@Lightning00Blade Lightning00Blade deleted the thiagowfx/intercept branch January 25, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants