Skip to content

Commit

Permalink
Update hasCrossSiteAncestor.md
Browse files Browse the repository at this point in the history
Update language to specify the domain of the cookie's url
  • Loading branch information
aselya authored Aug 21, 2024
1 parent d76d4a1 commit 95f4753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proposals/hasCrossSiteAncestor.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ The APIs being expanded to include the `hasCrossSiteAncestor` boolean are specif
## Implementation Notes

### Populating hasCrossSiteAncestor when not provided:
When no value has been provided for `hasCrossSiteAncestor`, if the `domain` associated with the `cookie` is same-site to the value of the `topLevelSite`, the `hasCrossSiteAncestor` value will be set to false otherwise the value will be set to true.
When no value has been provided for `hasCrossSiteAncestor`, if the `domain` of the cookie's `url` is same-site to the value of the `topLevelSite`, the `hasCrossSiteAncestor` value will be set to false otherwise the value will be set to true.

### Empty PartitionKey: `{}`
In `cookies.getAll()` an empty key `partitionKey = {}` will return both unpartitioned and partitioned cookies and `cookies.remove()` will remove both unpartitioned and partitioned cookies. For `cookies.get()` and `cookies.set()` an empty partitionKey will result in an error.
Expand Down

0 comments on commit 95f4753

Please sign in to comment.