Closed Bug 505210 Opened 15 years ago Closed 11 years ago

nsGlobalWindow::Blur() does not obey dom.disable_window_flip

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 369306

People

(Reporter: mcepl, Unassigned)

References

Details

Attachments

(2 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1pre) Gecko/20090625 Shiretoko/3.5pre
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1pre) Gecko/20090625 Shiretoko/3.5pre

(originally filed as https://bugzilla.redhat.com/show_bug.cgi?id=507754)
Setting of "Raise or lower window" in Advanced Javascript preferences doesn't have any visible effect.



Reproducible: Always

Steps to Reproduce:
1.open attached HTML file in Firefox
2.allow "Raise or lower window" in Advanced Javascript preferences
3.open the file again
Actual Results:  
Google window opens always in front

Expected Results:  
.blur() should make the window go to background
Attached file reproducer
Interesting.  On Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729) and Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2a1pre) Gecko/20090718 Minefield/3.6a1pre (.NET CLR 3.5.30729) it always goes to the background, regardless of the settings.  Confirming and consolidating.  Quick googling indicates this has been broken for years.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: x86 → All
Version: unspecified → Trunk
Component: General → DOM
Product: Firefox → Core
QA Contact: general → general
Attached file Testcase 2 (obsolete) —
This testcase does the following:

Blurs the window as previously once it's loaded.
After five seconds it focuses the window again.

On Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729) with dom.disable_window_flip

= true: The window goes to the background and then never returns
= false: The window goes to the background and then returns five seconds later
Summary: The function of "Raise or lower windows" does not work. → nsGlobalWindow::Blur() does not obey dom.disable_window_flip
Attached file Testcase #2.1
Grabbed wrong file.  Expected behavior same as originally listed.
Attachment #389477 - Attachment is obsolete: true
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

Creator:
Created:
Updated:
Size: