Skip to content

Commit

Permalink
Update hasCrossSiteAncestor.md
Browse files Browse the repository at this point in the history
Updates to the getPartitionKey() Api:
Remove ability to just pass a frameId without a tabId.

Update language to describe that an error should be returned when a partitionKey is not serializable.
  • Loading branch information
aselya authored Oct 25, 2024
1 parent 7402969 commit 452854a
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 @@ -104,7 +104,6 @@ string. A UUID of the document.

| Required Combinations | Notes |
|---|---|
|frameId | frameId must be a non-zero value|
|tabId + frameId |frameId can be 0|
|tabId | will use the top-level frame (frameId 0)|
|documentId| tabId/frameId are not required but permitted|
Expand All @@ -115,6 +114,7 @@ A Promise that will be fulfilled with a `Cookie.partitionKey` object that matche
##### Error conditions
- If host permissions are not granted for the document whose partitionkey is getting queried an error will be returned.
- When the parameters passed do not correspond to an existing frame, an error will be returned.
- If the partitionKey that would be associated with the frame can not be serialized an error will be returned. This can happen when the origin associated with the topLevelSite is opaque.

### New Permissions
No new permissions are required.
Expand Down

0 comments on commit 452854a

Please sign in to comment.