Closed
Bug 258852
Opened 21 years ago
Closed 21 years ago
prevent focus stealing between windows/tabs
Categories
(Firefox :: General, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 124750
People
(Reporter: noamtm, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Firefox (and maybe the Mozilla browser itself, I don't have it installed) allows
one page to steal the keyboard focus from another page. This is particularly
annoying when entering some text, for example a password, in a site. In the
middle of your typing, the keyboard focus goes to another window - maybe even a
background tab - and the password you typed goes to that site's textbox!
This is, when I think about it, a major security issue. It can be used to steal
passwords.
Reproducible: Always
Steps to Reproduce:
1. When in a page with a textbox, open another page in a tab.
2. Manually set the focus on the first page textbox, start typing.
3. When the second page has loaded, if it has some kind of onload="focus" event,
it will steal your text input.
Expected Results:
Somehow notify me that the tab wants to steal focus, but don't pass it. Windows
XP has a "tweak-ui" applet that can be used to make windows flash in the taskbar
when they try to steal focus. This idea can be used here.
![]() |
||
Comment 1•21 years ago
|
||
*** This bug has been marked as a duplicate of 124750 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•21 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•