Closed Bug 545337 Opened 15 years ago Closed 15 years ago

Window raises on focus even if dom.disable_window_flip=true if pop-ups are not blocked

Categories

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

1.9.2 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 369306

People

(Reporter: athamala, Unassigned)

References

Details

(Keywords: regression, testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.2pre) Gecko/20100209 Namoroka/3.6.2pre
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.2pre) Gecko/20100209 Namoroka/3.6.2pre

If pop-ups are not blocked (dom.disable_open_during_load=false), focus() raises window even if scripts are not allowed to raise or lower windows (dom.disable_window_flip=true ).



Reproducible: Always

Steps to Reproduce:
1. unset "Block pop-up windows" (dom.disable_open_during_load = false)
2. unset Allow scripts to "Raise or lower windows" (dom.disable_window_flip = true)
3. open page which opens new window and shortly after calls focus on itself (see attached testcase)
Actual Results:  
Original window raises on top.


Expected Results:  
Original window doesn't get raised, if scripts are not allowed to raise or lower windows.
Confirmed on Windows Vista with latest trunk. Maybe related to Bug 539946 in a way?
Status: UNCONFIRMED → NEW
blocking1.9.2: --- → ?
blocking2.0: --- → ?
Ever confirmed: true
Keywords: regression, testcase
OS: Linux → All
Hardware: x86 → All
Version: unspecified → 1.9.2 Branch
I can still reproduce this, but not blocking pop-ups is really needed.
If you skip step 1, you can't reproduce it anymore.
blocking1.9.2: ? → ---
I think this is a dupe of bug 369306. Marking as such, and marking it a blocker.
Status: NEW → RESOLVED
blocking2.0: ? → ---
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: