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

Window.opener clarification of cross-origin behavior #23204

Open
ottworks opened this issue Dec 26, 2022 · 0 comments
Open

Window.opener clarification of cross-origin behavior #23204

ottworks opened this issue Dec 26, 2022 · 0 comments
Labels
area: DOM/CSSOM Content:WebAPI Web API docs help wanted If you know something about this topic, we would love your help!

Comments

@ottworks
Copy link
Contributor

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/Window/opener

What specific section or headline is this issue about?

Value

What information was incorrect, unhelpful, or incomplete?

If the opener is not on the same origin as the current page, functionality of the opener object is limited. For example, variables and functions on the window object are not accessible. However, navigation of the opener window is possible, which means that the opened page can open a URL in the original tab or window. In some cases, this makes phishing attacks possible, where a trusted page that is opened in the original window is replaced by a phishing page by the newly opened page.

What did you expect to see?

A table of available fields for cross-origin use.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@ottworks ottworks added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Dec 26, 2022
@github-actions github-actions bot added the Content:WebAPI Web API docs label Dec 26, 2022
@sideshowbarker sideshowbarker added help wanted If you know something about this topic, we would love your help! and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: DOM/CSSOM Content:WebAPI Web API docs help wanted If you know something about this topic, we would love your help!
Projects
None yet
Development

No branches or pull requests

3 participants