Skip to content
This repository has been archived by the owner on Jul 23, 2022. It is now read-only.

Rework trusted signal fetching #102

Merged
merged 1 commit into from
May 27, 2021
Merged

Conversation

taymonbeal
Copy link
Member

  • Our escaping and query string behavior are now aligned with (my best understanding of) Chrome's.
  • Iteration order of ads and interest groups, and the security implications thereof, are now documented.

Fixes: #69

- Our escaping and query string behavior are now aligned with (my best understanding of) Chrome's.
- Iteration order of ads and interest groups, and the security implications thereof, are now documented.

Fixes: google#69
* by interest group name and then by the order given in the
* `joinAdInterestGroup` call, with only the first kept in case of duplicates.
* This leaks some information about interest groups and when they were joined
* to the trusted server, but that's okay, since it's trusted.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just sort by renderingUrl? Then we leak nothing.

(if there's some reason this is impractical, that's probably OK, but the sort seems pretty easy?)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Filed #104.

* @param hostname The hostname of the page where the FLEDGE Shim API is
* running.
*/
export async function runAdAuction(
trustedScoringSignalsUrl: string | null,
// This is temporary until trustedBiddingSignalsUrl is added.
// eslint-disable-next-line @typescript-eslint/no-unused-vars
hostname: string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For what it's worth, I think Chrome probably is going to provide hostname

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Filed #103.

@taymonbeal taymonbeal merged commit b07dcb2 into google:main May 27, 2021
@taymonbeal taymonbeal deleted the url-key-order branch May 27, 2021 16:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Behavioral differences with Chrome's implementation of trusted signals fetching
2 participants