зеркало из https://github.com/mozilla/gecko-dev.git
80fec61f82
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 |
||
---|---|---|
.. | ||
test | ||
LiveResizeListener.h | ||
moz.build | ||
nsAppShellCID.h | ||
nsAppShellFactory.cpp | ||
nsAppShellService.cpp | ||
nsAppShellService.h | ||
nsAppShellWindowEnumerator.cpp | ||
nsAppShellWindowEnumerator.h | ||
nsChromeTreeOwner.cpp | ||
nsChromeTreeOwner.h | ||
nsContentTreeOwner.cpp | ||
nsContentTreeOwner.h | ||
nsIAppShellService.idl | ||
nsIWindowMediator.idl | ||
nsIWindowMediatorListener.idl | ||
nsIWindowlessBrowser.idl | ||
nsIXULBrowserWindow.idl | ||
nsIXULWindow.idl | ||
nsWebShellWindow.cpp | ||
nsWebShellWindow.h | ||
nsWindowMediator.cpp | ||
nsWindowMediator.h | ||
nsXULWindow.cpp | ||
nsXULWindow.h |