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

Fullscreen request on invisible document should be denied #58

Open
upsuper opened this issue Sep 29, 2016 · 1 comment · May be fixed by #60
Open

Fullscreen request on invisible document should be denied #58

upsuper opened this issue Sep 29, 2016 · 1 comment · May be fixed by #60
Assignees
Labels
needs concrete proposal Moving the issue forward requires someone to figure out a detailed plan

Comments

@upsuper
Copy link
Member

upsuper commented Sep 29, 2016

I suppose that exposes security risks that attacker can open a background window and put it into fullscreen without having user notice it. And then when user switches window, it may start spoofing.

@foolip
Copy link
Member

foolip commented Sep 29, 2016

Do you mean something like this?

document.onclick = function() {
  var win = window.open();
  win.document.body.requestFullscreen();
}

upsuper added a commit to upsuper-forks/fullscreen that referenced this issue Oct 24, 2016
@upsuper upsuper linked a pull request Oct 24, 2016 that will close this issue
@foolip foolip added the needs concrete proposal Moving the issue forward requires someone to figure out a detailed plan label Dec 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs concrete proposal Moving the issue forward requires someone to figure out a detailed plan
Development

Successfully merging a pull request may close this issue.

2 participants