Skip to content

Clarifies restrictions on navigation in receiving browsing contexts. #436

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

Merged
merged 1 commit into from
Sep 15, 2017

Conversation

markafoltz
Copy link
Contributor

@markafoltz markafoltz commented Sep 5, 2017

Addresses Issue #434: In receiver page, sandboxing flags do not fully block top-level navigation.

This adds two more specific requirements:

  • Top level browsing context can't navigate itself to a different URL, except for fragment navigation.
  • Nested browsing contexts can't navigate the top level browsing context by setting the sandboxed top-level navigation browsing context flag.

There might still be work to do here. For example, this doesn't directly address server initiated navigation (HTTP redirects). If we really want to restrict the scope of where the top level document can go, we may want to see if there are applicable mechanisms from Content Security Policy instead of (or in addition to) this language.


Preview | Diff

@markafoltz markafoltz merged commit b85cd91 into gh-pages Sep 15, 2017
@markafoltz markafoltz deleted the issue-434-top-level-navigation branch September 15, 2017 18:05
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

Successfully merging this pull request may close these issues.

1 participant