-
Notifications
You must be signed in to change notification settings - Fork 0
Feature implementation from commits 1efb74d..e1cb6a5 #2
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: feature-base-2
Are you sure you want to change the base?
Changes from all commits
7e1e6f1
12757f0
6e61173
4d99963
379f828
47af349
f375257
0aa4ac1
21b07d5
093fd7f
c91ebdf
0ab16b4
7d8e7e9
507b007
e1cb6a5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -21,12 +21,12 @@ | |||||
|
|
||||||
| namespace OpenQA.Selenium.BiDi.BrowsingContext; | ||||||
|
|
||||||
| class HandleUserPromptCommand(HandleUserPromptCommandParameters @params) | ||||||
| internal sealed class HandleUserPromptCommand(HandleUserPromptCommandParameters @params) | ||||||
| : Command<HandleUserPromptCommandParameters, EmptyResult>(@params, "browsingContext.handleUserPrompt"); | ||||||
|
|
||||||
| internal record HandleUserPromptCommandParameters(BrowsingContext Context, bool? Accept, string? UserText) : CommandParameters; | ||||||
| internal sealed record HandleUserPromptCommandParameters(BrowsingContext Context, bool? Accept, string? UserText) : CommandParameters; | ||||||
|
|
||||||
| public record HandleUserPromptOptions : CommandOptions | ||||||
| public sealed class HandleUserPromptOptions : CommandOptions | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🐛 Correctness Issue Breaking API Change: Record to Class Conversion. Changing HandleUserPromptOptions from a record to a class breaks compatibility with any code relying on record-specific features like value equality or deconstruction. Current Code (Diff): - public sealed class HandleUserPromptOptions : CommandOptions
+ public sealed record HandleUserPromptOptions : CommandOptions📝 Committable suggestion
Suggested change
|
||||||
| { | ||||||
| public bool? Accept { get; set; } | ||||||
|
|
||||||
|
|
||||||
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.
🐛 Correctness Issue
Breaking API change: record to class conversion.
Changing RemoveUserContextOptions from a record to a class removes value equality and immutability, breaking existing code that depends on record semantics.
Current Code (Diff):
📝 Committable suggestion