Closed
Bug 1335457
Opened 7 years ago
Closed 6 years ago
Enable test_switch_tabs_for_new_background_window_without_focus_change (test_switch_window_chrome.py) on Linux / OS X
Categories
(Remote Protocol :: Marionette, defect, P3)
Tracking
(firefox63 disabled, firefox64 disabled, firefox65 fixed)
RESOLVED
FIXED
mozilla65
People
(Reporter: whimboo, Assigned: Gijs)
References
Details
With my patch on bug 1124604 I will add a new test which strangely doesn't work on Linux. The newly opened window is not getting pushed to the background and as such the test is failing. We should investigate why Marionette is not able to open a background window. When I tested it via Scratchpad all is working as expected.
Comment 1•7 years ago
|
||
FWIW, I tried to get this test working on headless as well and it seems z-ordering of windows is pretty inconsistent across the various platforms. I imagine this test is broken on windows do to broken z ordering on linux[1]. On the Windows platform with headless, I see the same behavior as linux where the background windows is always foreground. There also is some platform specific code for handling focus on Windows [2] that complicates things as well. [1] http://searchfox.org/mozilla-central/rev/12afa8cc9cea4a141494f767541b411845eef7a0/browser/modules/RecentWindow.jsm#39 [2] http://searchfox.org/mozilla-central/rev/12afa8cc9cea4a141494f767541b411845eef7a0/dom/base/nsFocusManager.cpp#2277
Comment 2•7 years ago
|
||
> I imagine this test is broken on windows do to broken z ordering on linux[1]
Should be "I imagine this test is broken on linux do to broken z ordering[1]"
Reporter | ||
Comment 3•7 years ago
|
||
The z-order issue on Linux is actually covered by bug 156333. So that's what we would depend on I assume for non-headless tests. Why it's failing for Windows headless I cannot say.
Depends on: 156333
Updated•7 years ago
|
Priority: -- → P3
Reporter | ||
Comment 4•6 years ago
|
||
Please note that this is also a problem with MacOS when Firefox runs in background. So I will also disable the test for that platform.
Summary: Enable test_switch_tabs_for_new_background_window_without_focus_change (test_switch_window_chrome.py) on Linux → Enable test_switch_tabs_for_new_background_window_without_focus_change (test_switch_window_chrome.py) on Linux / OS X
Reporter | ||
Comment 5•6 years ago
|
||
This is fixed by bug 1506796. Thanks Gijs!
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → disabled
status-firefox64:
--- → disabled
status-firefox65:
--- → fixed
No longer depends on: 156333
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Updated•1 year ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•