gecko-dev/xpfe/appshell
Olli Pettay 6c11c7aad1 Bug 1710687, null check mDocShell before using it, r=peterv
The patch is based on code inspection. SizeShell may run scripts
https://searchfox.org/mozilla-central/rev/cecdac0aa5733fee515a166b6e31e38cc58abf32/xpfe/appshell/AppWindow.cpp#1180,1182

The patch is very conservative. It keeps returning success code in the cases where it would return such without the patch and only
adds null check right before accessing mDocShell. mDebuting value stays false after the method call.

Differential Revision: https://phabricator.services.mozilla.com/D115249
2021-05-25 12:25:41 +00:00
..
test
AppWindow.cpp Bug 1710687, null check mDocShell before using it, r=peterv 2021-05-25 12:25:41 +00:00
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