[dotnet] [bidi] Make cookie expiry as TimeSpan#16204
[dotnet] [bidi] Make cookie expiry as TimeSpan#16204nvborisenko merged 3 commits intoSeleniumHQ:trunkfrom
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||
This reverts commit ab9733c.
User description
Finally Firefox and Chromium are aligned.
💥 What does this PR do?
Expirymeans how long cookie lives in milliseconds.🔧 Implementation Notes
Added new TimeSpan converter.
🔄 Types of changes
PR Type
Bug fix, Enhancement
Description
Change cookie expiry from DateTimeOffset to TimeSpan
Add TimeSpan JSON converter for BiDi communication
Align Firefox and Chromium cookie handling
Diagram Walkthrough
File Walkthrough
Broker.cs
Register TimeSpan converterdotnet/src/webdriver/BiDi/Communication/Broker.cs
TimeSpanConverter.cs
Add TimeSpan JSON converterdotnet/src/webdriver/BiDi/Communication/Json/Converters/TimeSpanConverter.cs
Cookie.cs
Update cookie expiry typedotnet/src/webdriver/BiDi/Network/Cookie.cs