Description
QtWebEngine crashes when a popup window is closed just after it starts to run a JavaScript. The QQuickWebEngineView is not destroyed on closing the window and it tries to call the callback. It fails, because there is no QQmlEngine associated with the view. See the attached main.qml example.
This issue may be reproduced with functions where the QmlEngine is not checked in QQuickWebEngineView. For example, when opening a link in a new window with context menu.
Attachments
Issue Links
- is duplicated by
-
QTBUG-67956 Crash in QQuickWebEngineViewPrivate::iconChanged when destroying web surfaces
- Closed
- relates to
-
QTBUG-70509 Port NanoBrowser, CustomDialogs examples to QQControls 2
- Closed
- resulted from
-
QTBUG-66989 Tabs are not destroyed on closing popup Window
- Open