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

refactor: extract toggling of Network Interception #12266

Merged
merged 1 commit into from Apr 12, 2024

Conversation

Lightning00Blade
Copy link
Collaborator

No description provided.

this.#extraHTTPHeaders = {};
for (const key of Object.keys(extraHTTPHeaders)) {
const value = extraHTTPHeaders[key];
async setExtraHTTPHeaders(headers: Record<string, string>): Promise<void> {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ops this was suppose to be separate, tell me if you want me to extract.
But we should should change the state only after assertion is completed.

@Lightning00Blade Lightning00Blade force-pushed the simplify-toggling-page-interception branch from 0a7f44a to e731e12 Compare April 12, 2024 12:11
@OrKoN OrKoN merged commit 402b4a4 into main Apr 12, 2024
38 checks passed
@OrKoN OrKoN deleted the simplify-toggling-page-interception branch April 12, 2024 12:29
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.

None yet

2 participants