Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Same origin navigations #6

Open
jonathanKingston opened this issue Sep 14, 2023 · 1 comment
Open

Same origin navigations #6

jonathanKingston opened this issue Sep 14, 2023 · 1 comment

Comments

@jonathanKingston
Copy link

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:

  • Store this data separately to the originator visited link store.
    • A third party to the site shouldn't be able to impact the visited state of the first party as this would violate SOP.
  • This should continue to be triple keyed to prevent it being used as a 3p storage device.
    • This is most likely to only apply in the main frame case but also could happen with frame navigations too.
@yoavweiss
Copy link

yoavweiss commented Jul 4, 2024

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants