зеркало из https://github.com/mozilla/gecko-dev.git
0f9b3a05da
The reason of the crash is, the window may have already been destroyed and `PuppetWidget::mBrowserChild` was set to `nullptr` when synthesizing key event. This patch makes `PuppetWidget::GetEditCommands()` check whether it's `nullptr` and returns whether it's succeeded or not. Therefore, `TextInputProcessor` can throw exception in such case. Differential Revision: https://phabricator.services.mozilla.com/D52308 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
tests | ||
HeadlessClipboard.cpp | ||
HeadlessClipboard.h | ||
HeadlessClipboardData.cpp | ||
HeadlessClipboardData.h | ||
HeadlessCompositorWidget.cpp | ||
HeadlessCompositorWidget.h | ||
HeadlessKeyBindings.cpp | ||
HeadlessKeyBindings.h | ||
HeadlessKeyBindingsCocoa.mm | ||
HeadlessLookAndFeel.h | ||
HeadlessLookAndFeelGTK.cpp | ||
HeadlessScreenHelper.cpp | ||
HeadlessScreenHelper.h | ||
HeadlessSound.cpp | ||
HeadlessSound.h | ||
HeadlessThemeGTK.cpp | ||
HeadlessThemeGTK.h | ||
HeadlessWidget.cpp | ||
HeadlessWidget.h | ||
HeadlessWidgetTypes.ipdlh | ||
moz.build |