gecko-dev/xpfe/appshell
Emilio Cobos Álvarez 7881b1d9c1 Bug 1917458 - Fix puppeteer/remote tests after D221995. r=webdriver-reviewers,webidl,smaug,jdescottes
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
2024-09-16 13:21:51 +00:00
..
test
AppWindow.cpp Bug 1917458 - Fix puppeteer/remote tests after D221995. r=webdriver-reviewers,webidl,smaug,jdescottes 2024-09-16 13:21:51 +00:00
AppWindow.h
components.conf
LiveResizeListener.h
moz.build
nsAppShellCID.h
nsAppShellService.cpp Bug 1914578 - Remove EventTracer r=perftest-reviewers,geckoview-reviewers,win-reviewers,profiler-reviewers,mstange,sparky,gstoll,owlish 2024-08-31 03:39:50 +00:00
nsAppShellService.h
nsAppShellWindowEnumerator.cpp
nsAppShellWindowEnumerator.h
nsChromeTreeOwner.cpp
nsChromeTreeOwner.h
nsContentTreeOwner.cpp Bug 1081542 - Part 1: Add nsIBrowserDOMWindow.OPEN_NEWTAB_FOREGROUND. r=smaug,geckoview-reviewers,Gijs,amejiamarmol,tabbrowser-reviewers,dao 2024-07-10 06:16:52 +00:00
nsContentTreeOwner.h
nsIAppShellService.idl Bug 1914578 - Remove EventTracer r=perftest-reviewers,geckoview-reviewers,win-reviewers,profiler-reviewers,mstange,sparky,gstoll,owlish 2024-08-31 03:39:50 +00:00
nsIAppWindow.idl
nsIWindowlessBrowser.idl
nsIWindowMediator.idl
nsIWindowMediatorListener.idl
nsIXULBrowserWindow.idl
nsWindowMediator.cpp
nsWindowMediator.h