Details
Description
How to reproduce:
- create a new QWebEngineUrlRequestInterceptor
- just return true or false from interceptRequest.
- set this interceptor on the current profile
- load an invalid URL
When destroying QWebEnginePage, the destructor of WebContentsDelegateQt will assert:
ASSERT: "m_loadingErrorFrameList.isEmpty()" in file /home/jobor/dev/qt/5.6/qtwebengine/src/core/web_contents_delegate_qt.h, line 69
To be seen in the last block of tst_QWebEngineUrlRequestInterceptor::interceptRequest().
Attachments
For Gerrit Dashboard: QTBUG-47945 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
125135,2 | turn an assert into a warning | 5.5 | qt/qtwebengine | Status: ABANDONED | 0 | 0 |
125503,2 | Fix assert on exit | 5.5 | qt/qtwebengine | Status: MERGED | +2 | 0 |
216177,10 | Fix random crashes on exit | 5.10 | qt/qtwebengine | Status: MERGED | -2 | 0 |