-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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] Underlying local/remote script number as double #15301
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
Numbers are not only
int
, it should bedouble
in .NETTypes of changes
Checklist
PR Type
Bug fix
Description
Changed
Number
type fromlong
todouble
inLocalValue
andRemoteValue
.Updated explicit and implicit operators to handle
double
type.Ensured consistency in handling numeric values across BiDi modules.
Changes walkthrough 📝
LocalValue.cs
Update `Number` type to `double` in `LocalValue`
dotnet/src/webdriver/BiDi/Modules/Script/LocalValue.cs
Number
type fromlong
todouble
.double
.RemoteValue.cs
Update `Number` type to `double` in `RemoteValue`
dotnet/src/webdriver/BiDi/Modules/Script/RemoteValue.cs
Number
type fromlong
todouble
.double
tolong
conversion.