-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] [bidi] Support network SetExtraHeaders command #16384
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
[dotnet] [bidi] Support network SetExtraHeaders command #16384
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
User description
https://w3c.github.io/webdriver-bidi/#command-network-setExtraHeaders
💥 What does this PR do?
Implements
SetExtraHeaderscommand in Network module.💡 Additional Considerations
Test is ignored, but I verified locally for Chrome Dev channel.
🔄 Types of changes
PR Type
Enhancement
Description
Add
SetExtraHeaderscommand to Network moduleImplement BiDi network header manipulation functionality
Include command parameters and options classes
Add test coverage with browser compatibility notes
Diagram Walkthrough
File Walkthrough
BiDiJsonSerializerContext.cs
Register SetExtraHeadersCommand for JSON serializationdotnet/src/webdriver/BiDi/Communication/Json/BiDiJsonSerializerContext.cs
SetExtraHeadersCommandNetworkModule.cs
Implement SetExtraHeadersAsync methoddotnet/src/webdriver/BiDi/Network/NetworkModule.cs
SetExtraHeadersAsyncmethod to NetworkModuleSetExtraHeadersCommand.cs
Create SetExtraHeaders command infrastructuredotnet/src/webdriver/BiDi/Network/SetExtraHeadersCommand.cs
NetworkTest.cs
Add SetExtraHeaders test with browser ignoresdotnet/test/common/BiDi/Network/NetworkTest.cs
SetExtraHeadersfunctionality