text typed is placed in background tab

VERIFIED DUPLICATE of bug 124750

Status

SeaMonkey
Tabbed Browser
--
critical
VERIFIED DUPLICATE of bug 124750
14 years ago
9 years ago

People

(Reporter: Peter Kroll, Unassigned)

Tracking

Trunk
x86
Windows XP

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: DUPEME, URL)

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007

I am able to type text in an input box on a tab which is in the background.
This is easy to reproduce for me but may be difficult for others, especially if
you have dialup.

Reproducible: Always

Steps to Reproduce:
Reproducible 100% of the time if you get the timing correct.
1. Close Mozilla down
2. Open 1 window in Mozilla with 2 blank tabs
3. In the first tab load http://www.trackyourstats.com by typing the url in the
address bar at the top. Do not click anywhere on the page or type anything.
4. switch to the second tab and type in http://bugzilla.mozilla.org
5. press enter and quickly switch to the first tab by click on the tab for Track
YourStats.com do not click anything after and immediately start typing. 
6. after Bugzilla has fully loaded in the other tab and you've let about 3
seconds after that go by. click back to the Bugzilla tab and you should see text
in the main input box.
7. try these steps multiple times from step 1 if you have trouble reproducing
this bug.

Actual Results:  
text appears in the input text box on the background tab which was bugzilla

Expected Results:  
no text should have appeared in the background tab which was bugzilla

This bug also happens if you repeat the steps to reproduce and use the Bugzilla
URL in both tabs.

This can is a huge security risk as people will be typing text into the
incorrect window. I tested this only on WinXP, I have made no attempt to check
if it happens on another OS.

I was not sure if this should be filed under Tabbed Browser or Security and I
went with Tabbed Browser.
Dup of the "focus() call in background tab steals focus" bug...
Whiteboard: DUPEME

*** This bug has been marked as a duplicate of 124750 ***
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.