Open
Description
WebDriver has a representation of cookies that contains some of their most relevant concepts for test introspection. It's currently missing support for the "Partition Key" of a cookie when using CHIPS. Because the partition key is more than just a site, it's a site and an ancestor chain bit (or potentially no partition key at all), it's not clear what it should serialize to.
As a straw man suggestion just to get some input, I could imagine splitting it up into two attributes:
cookie["partitionKeySite"]
, which is either a DOMString representing a site, orundefined
.cookie["partitionKeyHasCrossSiteAncestors"]
, which is a boolean that represents whether or not the partition key has the ancestor chain bit (yes this is a really long name)
Any thoughts / suggestions @annevk @DCtheTall @bvandersloot-mozilla?