Closed Bug 503671 Opened 17 years ago Closed 16 years ago

focus() isn't executed on inactive tab

Categories

(Core :: XUL, defect)

x86_64
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: brille1, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 FireFox ignores an inputfield.focus(); command in HTML pages hosted by an inactive tab. Reproducible: Always Steps to Reproduce: 1. Open http://www.hotmail.com/ 2. Quickly open a new tab 3. Wait until the first tab has finished loading 4. Return to the first tab Actual Results: No input field has the focus. Expected Results: The User Name input field should have the focus.
Component: Tabbed Browser → XUL
Product: Firefox → Core
QA Contact: tabbed.browser → xptoolkit.widgets
This should be fixed in trunk builds.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
No bug or patch referenced as the code fix.
Resolution: FIXED → WORKSFORME
Still doesn't work (3.5.3). It seems FireFox is not executing JavaScript on hidden pages. Try reproducing it with a slow connection so you have a chance of opening a new tab before the focus() function gets executed on the first tab.
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
Please don't change the status of fixed bugs. This bug will be fixed in 3.6 by bug 178324.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago16 years ago
Resolution: --- → FIXED
I'm sorry. ...and, thanks for fixing!
You need to log in before you can comment on or make changes to this bug.