Skip to content

Commit

Permalink
Update proposals/hasCrossSiteAncestor.md
Browse files Browse the repository at this point in the history
Update details on when an error would be returned.

Co-authored-by: Rob Wu <[email protected]>
  • Loading branch information
aselya and Rob--W authored Nov 13, 2024
1 parent 1c38656 commit eb67586
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 @@ -118,7 +118,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 or if the underlying key associated with the frame has a nonce.
- 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 or if the underlying key associated with the frame has a nonce. This is comparable to situations where `document.cookie` would throw.

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

0 comments on commit eb67586

Please sign in to comment.