-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] [bidi] Stateful converters with hydration #16670
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
Merged
nvborisenko
merged 33 commits into
SeleniumHQ:trunk
from
nvborisenko:bidi-stateless-converters
Dec 6, 2025
+466
−338
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
7b398a1
Remove stateless converters from json options
nvborisenko b0f5e1e
Generated options
nvborisenko 79f723d
Hidrate the BiDi property example
nvborisenko cafbba5
One more hidrate example
nvborisenko d7956b4
Unified hidration for top level types
nvborisenko aaddb1e
Fix name
nvborisenko 25389bd
Hydrate event args
nvborisenko 61ad320
Hydrate AddInterceptResult
nvborisenko 2d20a43
Hydrate AddDataCollectorResult
nvborisenko 3f482c0
Hydrate CreateResult
nvborisenko 00d499e
Hydrate AddPreloadScriptResult
nvborisenko 7204604
Hydrate InstallResult
nvborisenko a465945
Throw if not hydrated
nvborisenko 4e487df
Fix property name for exception
nvborisenko 1501af1
Don't hydrate primitives except BrowsingContext
nvborisenko d1a2fcb
High level interception is not hydratable
nvborisenko 372fac0
Use shared json options
nvborisenko 3aca801
Remove generated context options
nvborisenko 125f52e
Remove hydration
nvborisenko 713ad83
Returned back some primitives
nvborisenko 5861966
Some oothers
nvborisenko 542f49f
All primitive types are now hydratable
nvborisenko f3ed0a4
Allow public ctor for hydratable primitives
nvborisenko 9ab3b93
Add note for converters
nvborisenko cb902a5
Moved WebExtensionConverter
nvborisenko d214de3
Moved CollectorConverter and InterceptConverter
nvborisenko 3bd611a
Moved PreloadScriptConverter
nvborisenko b4354d5
Moved RealmConverter
nvborisenko 66aa3ff
Update LogModule.cs
nvborisenko 8235211
Moved InternalIdConverter
nvborisenko f3e65eb
Moved HandleConverter
nvborisenko 1ddd37d
Moved BrowserUserContextConverter
nvborisenko 015d863
All converters as module requires
nvborisenko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this still support adding a module after BiDi is created?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, each module creates new copy of provided instance.
We can simplify it, and always put new instance into module
Initialize(...). I would be better for external modules. Will do.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#16691