-
-
Notifications
You must be signed in to change notification settings - Fork 458
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect CookieParam.PartitionKey type which caused deserializat…
…ion exceptions
- Loading branch information
Showing
2 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
namespace PuppeteerSharp | ||
{ | ||
/// <summary> | ||
/// Cookie's Partition Key data. | ||
/// </summary> | ||
public class CookiePartitionKey | ||
{ | ||
/// <summary> | ||
/// The site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie. | ||
/// </summary> | ||
public string TopLevelSite { get; set; } | ||
|
||
/// <summary> | ||
/// Indicates if the cookie has any ancestors that are cross-site to the TopLevelSite. | ||
/// </summary> | ||
public bool HasCrossSiteAncestor { get; set; } | ||
} | ||
} |