Closed Bug 284949 Opened 20 years ago Closed 20 years ago

Javascript window.focus() does not work

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 284944

People

(Reporter: philip, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1

the .focus() method of a sub-window does not cause the window to be re-focussed
as it should.

Reproducible: Always

Steps to Reproduce:
1.Go to http://vogon.net/js_pb/
2.Click on the link on that page - a new window is created.
3.Click back on the main window, which will cover the sub window.
4. Click on the link a second time

Actual Results:  
Nothing happens

Expected Results:  
The sub-window should re-focus and be brought to the front.

*** This bug has been marked as a duplicate of 284944 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.