Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.7.1, 5.8.0
-
None
-
Linux
-
cf06b687845b6e37ef3cd80fd644bb7d769f0033
Description
When render process crashes, calling QWebEnginePage::setHtml() will also crash the application.
QWebEnginePage::load() correctly restarts render process and doesn't crash.
test.cpp
QWebEnginePage *page = new QWebEnginePage; connect(page, &QWebEnginePage::renderProcessTerminated, [=]() { QTimer::singleShot(0, [=]() { page->setHtml(QStringLiteral("<html></html>")); // Crash }); });
Attachments
For Gerrit Dashboard: QTBUG-58478 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
206870,3 | Stabilize navigation after render process termination | 5.10 | qt/qtwebengine | Status: MERGED | +2 | 0 |