Closed Bug 1057405 Opened 11 years ago Closed 11 years ago

window.focus() does not move the window up to top most

Categories

(Core :: DOM: Core & HTML, defect)

34 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1057339
Tracking Status
firefox33 --- affected
firefox34 - affected

People

(Reporter: alice0775, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

981 bytes, application/x-zip-compressed
Details
[Tracking Requested - why for this release]: regression window.focus() does not move the window up to top most. window.www = window.open(url, name, options); window.www.focus(); Steps To Reproduce: 1. Open index.html 2. Click "open popup-1" --- open popup as expected 3. Click main browser to focus 4. Click "open popup-2" --- stays background, this is bug Actual Results: window.focus() does not move the window up to top most. Expected Results: Should be move to top most Regression window(m-i) Good: https://hg.mozilla.org/integration/mozilla-inbound/rev/39830d7054c6 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0 ID:20140819103126 Bad: https://hg.mozilla.org/integration/mozilla-inbound/rev/25fff355894f Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0 ID:20140819120325 Pushlog: http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=39830d7054c6&tochange=25fff355894f Regressed by: Bug 796938, Bug 951991
Attached file testcase zip
This is probably a dup of https://bugzilla.mozilla.org/show_bug.cgi?id=1057339 Fix to that in couple of minutes.
Depends on: 1057339
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: