focus() isn't executed on inactive tab

RESOLVED FIXED

Status

()

Core
XUL
RESOLVED FIXED
9 years ago
8 years ago

People

(Reporter: Axel, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
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.

Updated

9 years ago
Component: Tabbed Browser → XUL
Product: Firefox → Core
QA Contact: tabbed.browser → xptoolkit.widgets

Comment 1

9 years ago
This should be fixed in trunk builds.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED

Comment 2

9 years ago
No bug or patch referenced as the code fix.
Resolution: FIXED → WORKSFORME
(Reporter)

Comment 3

8 years ago
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 → ---

Comment 4

8 years ago
Please don't change the status of fixed bugs. This bug will be fixed in 3.6 by bug 178324.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago8 years ago
Resolution: --- → FIXED
(Reporter)

Comment 5

8 years ago
I'm sorry.

...and, thanks for fixing!
You need to log in before you can comment on or make changes to this bug.