-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: emit
network.responseCompleted
for redirects (#2098)
Currently we never await the `responseReceivedExtraInfo` as we destroy the BiDi `NetworkRequest` as soon as we see the redirect happening. This means that the conditions for emitting are never met. We should eventually change this but having the `responseCompleted` event with missing headers is better then not having it at all. Such change would mean that can never have order that matches the expectations `beforeRequestSent` -> `responseCompleted` -> `beforeRequestSent` As the `responseReceivedExtraInfo` comes after the second CDP `requestWillBeSent` #2035
- Loading branch information
1 parent
b428e45
commit 219cfc9
Showing
3 changed files
with
91 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters