mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
7881b1d9c1
Calling setViewport on a background tab would wait forever without this tweak after D221995, because we won't resize it until it becomes active. Some tests like the ones mentioned in comment 12 call newPage() multiple times at once, and newPage() calls setViewport() if there is a default viewport set, which triggered this bug. Make this work by reusing the AppWindow logic for sizing popup windows, with a tweak so that we also resize background tabs. Differential Revision: https://phabricator.services.mozilla.com/D222227 |
||
---|---|---|
.. | ||
test | ||
AppWindow.cpp | ||
AppWindow.h | ||
components.conf | ||
LiveResizeListener.h | ||
moz.build | ||
nsAppShellCID.h | ||
nsAppShellService.cpp | ||
nsAppShellService.h | ||
nsAppShellWindowEnumerator.cpp | ||
nsAppShellWindowEnumerator.h | ||
nsChromeTreeOwner.cpp | ||
nsChromeTreeOwner.h | ||
nsContentTreeOwner.cpp | ||
nsContentTreeOwner.h | ||
nsIAppShellService.idl | ||
nsIAppWindow.idl | ||
nsIWindowlessBrowser.idl | ||
nsIWindowMediator.idl | ||
nsIWindowMediatorListener.idl | ||
nsIXULBrowserWindow.idl | ||
nsWindowMediator.cpp | ||
nsWindowMediator.h |