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