-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] [bidi] Decouple WindowProxyProperties in Script module #15490
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] Decouple WindowProxyProperties in Script module #15490
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
User description
Motivation and Context
Contributes to #15407
Types of changes
Checklist
PR Type
Enhancement
Description
Decoupled
WindowProxyPropertiesinto a standalone class for better modularity.Replaced nested
Propertiesrecord withWindowProxyPropertiesinWindowProxyRemoteValue.Improved code maintainability and future extensibility by avoiding nested DTO types.
Changes walkthrough 📝
RemoteValue.cs
Refactored `WindowProxyRemoteValue` to use standalone propertiesdotnet/src/webdriver/BiDi/Modules/Script/RemoteValue.cs
Propertiesrecord withWindowProxyProperties.WindowProxyRemoteValueto use the newWindowProxyProperties.Propertiesrecord definition.WindowProxyProperties.cs
Introduced standalone `WindowProxyProperties` recorddotnet/src/webdriver/BiDi/Modules/Script/WindowProxyProperties.cs
WindowProxyPropertiesrecord.Contextproperty withinWindowProxyProperties.