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 }); });