gecko-dev/toolkit/components/windowwatcher
Matthias Camenzind 8a4636621a Bug 1793605 - Flush layout in window.open calls with specified size. r=emilio
Without flushing the layout, new windows appear to the opener to
initially open at the size of the opener instead of the specified size.

We can flush the layout unconditionally when we have a specified size
where we otherwise would make sure that the frame loader has been
reflowed at least once.

Thanks to Emilio for providing the changes to avoid tokenizing the
window features twice.

Differential Revision: https://phabricator.services.mozilla.com/D158584
2022-10-14 16:35:49 +00:00
..
test Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop 2022-08-03 11:16:20 +00:00
moz.build Bug 1744877 - Remove --disable-xul. r=Gijs 2021-12-08 21:37:11 +00:00
nsAutoWindowStateHelper.cpp
nsAutoWindowStateHelper.h
nsDialogParamBlock.cpp
nsDialogParamBlock.h
nsIDialogParamBlock.idl
nsIOpenWindowInfo.idl
nsIPromptCollection.idl
nsIPromptFactory.idl
nsIPromptService.idl
nsIWindowWatcher.idl
nsOpenWindowInfo.cpp Backed out 2 changesets (bug 1731597) for causing multiple wpt failures. CLOSED TREE 2021-10-29 05:32:59 +03:00
nsOpenWindowInfo.h Backed out 2 changesets (bug 1731597) for causing multiple wpt failures. CLOSED TREE 2021-10-29 05:32:59 +03:00
nsPIPromptService.idl
nsPIWindowWatcher.idl Bug 1793605 - Flush layout in window.open calls with specified size. r=emilio 2022-10-14 16:35:49 +00:00
nsPromptUtils.h
nsWindowWatcher.cpp Bug 1793605 - Flush layout in window.open calls with specified size. r=emilio 2022-10-14 16:35:49 +00:00
nsWindowWatcher.h Bug 1793605 - Flush layout in window.open calls with specified size. r=emilio 2022-10-14 16:35:49 +00:00