gecko-dev/xpfe/appshell
Henrik Skupin 80fec61f82 Bug 1489967 - Keep active state when Firefox is moved to background and focusmanager test mode is enabled. r=enndeakin
The test mode can be used to virtually give a Chrome window the
focus even with Firefox being in the background.

Currently when such a window has the focus and another application
is moved to the foreground, the active state is lost. This means that
for example Selenium tests which are run in parallel and using
different instances of Firefox will not receive the expected
"focus" and "blur" events.

This patch checks for the test mode and if enabled doesn't
lower the window, which will keep the focused state.

--HG--
extra : rebase_source : 2ee3a9c66327875628aa62d629582ee403fc090b
2018-09-10 15:03:04 +02:00
..
test Bug 1479570. Get Add a getter to get a docshell from nsIWindowlessBrowser. r=kmag 2018-08-03 00:05:07 +00:00
LiveResizeListener.h
moz.build
nsAppShellCID.h
nsAppShellFactory.cpp
nsAppShellService.cpp Bug 1479570. Get Add a getter to get a docshell from nsIWindowlessBrowser. r=kmag 2018-08-03 00:05:07 +00:00
nsAppShellService.h
nsAppShellWindowEnumerator.cpp Bug 1484496: Part 3 - Fix nsISimpleEnumerator implementations with broken contracts. r=froydnj 2018-08-18 18:28:10 -07:00
nsAppShellWindowEnumerator.h Bug 1484496: Part 4b - Add intrinsic type information to most nsSimpleEnumerators. r=froydnj 2018-08-18 21:06:32 -07:00
nsChromeTreeOwner.cpp
nsChromeTreeOwner.h
nsContentTreeOwner.cpp Bug 1476306 - Moving NullPrincipal/ContentPrincipal/SystemPrincipal under mozilla namespace - part 1 - NullPrincipal, r=ckerschb 2018-07-17 21:37:48 +02:00
nsContentTreeOwner.h
nsIAppShellService.idl
nsIWindowlessBrowser.idl Bug 1479570. Get Add a getter to get a docshell from nsIWindowlessBrowser. r=kmag 2018-08-03 00:05:07 +00:00
nsIWindowMediator.idl
nsIWindowMediatorListener.idl
nsIXULBrowserWindow.idl
nsIXULWindow.idl
nsWebShellWindow.cpp Bug 1489967 - Keep active state when Firefox is moved to background and focusmanager test mode is enabled. r=enndeakin 2018-09-10 15:03:04 +02:00
nsWebShellWindow.h
nsWindowMediator.cpp
nsWindowMediator.h
nsXULWindow.cpp Bug 1478421 - make fingerprint resistance not resize window before onDOMContentLoaded and detect browser windows better, r=timhuang,bz 2018-07-20 17:32:30 +01:00
nsXULWindow.h Bug 1478421 - make fingerprint resistance not resize window before onDOMContentLoaded and detect browser windows better, r=timhuang,bz 2018-07-20 17:32:30 +01:00