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(network intercept): specify BeforeRequestSent whenever AuthRequi… #1494

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

thiagowfx
Copy link
Contributor

…red is specified

The BiDi spec supports "authRequired" by itself, however CDP requires both events.

Bug: #644

@thiagowfx thiagowfx force-pushed the thiagowfx/continue-with-auth branch from 9aff337 to 92bec4c Compare October 27, 2023 12:56
@thiagowfx thiagowfx requested a review from OrKoN October 27, 2023 13:15
@thiagowfx thiagowfx marked this pull request as ready for review October 27, 2023 13:15
@thiagowfx
Copy link
Contributor Author

The only part missing is to call "continueWithRequest". We cannot do this reliably until "network.responseStarted" is implemented though. Let's defer this to another PR.

@thiagowfx thiagowfx enabled auto-merge (squash) October 27, 2023 13:16
…red is specified

The BiDi spec supports "authRequired" by itself, however CDP requires
both events.

Bug: #644
@thiagowfx thiagowfx force-pushed the thiagowfx/continue-with-auth branch from 92bec4c to 03f91cb Compare October 27, 2023 13:20
@thiagowfx
Copy link
Contributor Author

Or rather: We could also react to the "authRequired" event. Anyway, some event needs to be emitted before we proceed further.

@thiagowfx thiagowfx merged commit 22eafee into main Oct 27, 2023
12 checks passed
@thiagowfx thiagowfx deleted the thiagowfx/continue-with-auth branch October 27, 2023 13:48
Lightning00Blade pushed a commit that referenced this pull request Oct 30, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.4.33](chromium-bidi-v0.4.32...chromium-bidi-v0.4.33)
(2023-10-30)


### Features

* add network intercept continue with auth
([#1470](#1470))
([ad3a95e](ad3a95e)),
closes
[#644](#644)
* addPreloadScript respects new contexts
([#1478](#1478))
([b0e55fa](b0e55fa))
* addPreloadScripts respects contexts param for old contexts
([#1475](#1475))
([0cdde07](0cdde07))
* implement headersSize for network requests
([#1498](#1498))
([e904ee0](e904ee0)),
closes
[#644](#644)
* implement network interception continue response
([#1443](#1443))
([4515d1d](4515d1d)),
closes
[#644](#644)
* implement network interception provide response
([#1457](#1457))
([1eca26e](1eca26e)),
closes
[#644](#644)
* **logging:** pretty print received and sent bidi server messages
([#1490](#1490))
([45fd24e](45fd24e))
* **network intercept:** implement continue with auth (cont.)
([#1484](#1484))
([7cc9358](7cc9358)),
closes
[#644](#644)
* **network intercept:** specify BeforeRequestSent whenever AuthRequi…
([#1494](#1494))
([22eafee](22eafee)),
closes
[#644](#644)
* network request: prioritize response status code over extraInfo
([#1466](#1466))
([d1f3302](d1f3302)),
closes
[#644](#644)
* **network:** emit `responseStarted` event ("AND")
([#1497](#1497))
([46220b7](46220b7)),
closes
[#765](#765)


### Bug Fixes

* Add `window.setSelfTargetId` for backward compatibility with chrome
driver
([#1461](#1461))
([fe98f94](fe98f94))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
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