-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[js][bidi] add asMap() to the Header class #16321
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
base: trunk
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
🔗 Related Issues
Related to #13993
💥 What does this PR do?
Adds
asMap()
method to theHeader
class.🔧 Implementation Notes
The implementation is similar to the other classes.
💡 Additional Considerations
The same change is included in #15571.
However, merging it may take some time since it introduces new concepts and still in draft. Meanwhile, the existing code already expects the
Header
class to implement anasMap()
method.🔄 Types of changes
PR Type
Bug fix
Description
Add missing
asMap()
method toHeader
classFix existing code that expects this method
Enhance test with response headers and body validation
Diagram Walkthrough
File Walkthrough
networkTypes.js
Add asMap() method to Header class
javascript/selenium-webdriver/bidi/networkTypes.js
asMap()
method toHeader
classBytesValue.asMap()
network_commands_test.js
Enhance network test with response validation
javascript/selenium-webdriver/test/bidi/network_commands_test.js
Header
andBytesValue
classes