explainers-by-googlers / Partitioning-visited-links-history

A proposal to partition :visited link history by top-level site and frame origin.
13 stars 1 forks source link

Same origin navigations #6

Open jonathanKingston opened 1 year ago

jonathanKingston commented 1 year ago

Thanks for the session at TPAC yesterday, we discussed this in the meeting but I wanted to highlight the discussion here a little.

In the triple keying approach outlined in the explainer, same origin links wouldn't be considered visited if they came from a different origin.

The example was something like:

In the above case the link wouldn't be considered visited.

If we wish to support this case, we should be careful to:

yoavweiss commented 4 months ago

Naively, I would think that if we're keying on top-level origin (A), frame origin (B) and link URL (C/foobar), we could add 2 entries to the cache for each link click: (A, B, C/foobar) and (C, C, C/foobar)

That way, same-origin links would Just Work™ (without exposing any extra information to origin C, as it can already store that information relative to the user's credentials).