-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Revert "[dotnet] [bidi] Make cookie expiry as TimeSpan" #16217
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
Conversation
This reverts commit ab9733c.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
|
Cookie expiry is unix epoch seconds. Let me prepare the fix. |
User description
Reverts #16204
Firefox is still good,
expiryis just DateTime. Chrome works unexpectedly, needs further investigation or post an issue.PR Type
Bug fix
Description
Reverts cookie expiry from TimeSpan to DateTimeOffset
Removes TimeSpanConverter from BiDi communication
Fixes Chrome compatibility issues with cookie handling
Enhances DateTimeOffsetConverter to handle double values
Diagram Walkthrough
File Walkthrough
Broker.cs
Remove TimeSpanConverter registrationdotnet/src/webdriver/BiDi/Communication/Broker.cs
DateTimeOffsetConverter.cs
Enhanced DateTimeOffset converter for Chromedotnet/src/webdriver/BiDi/Communication/Json/Converters/DateTimeOffsetConverter.cs
TimeSpanConverter.cs
Delete TimeSpanConverter implementationdotnet/src/webdriver/BiDi/Communication/Json/Converters/TimeSpanConverter.cs
Cookie.cs
Revert cookie expiry to DateTimeOffsetdotnet/src/webdriver/BiDi/Network/Cookie.cs