Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47945

assert in ~WebContentsDelegateQt when loading invalid URL and interceptor is set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.5.1
    • 5.6
    • WebEngine
    • None
    • d3978d733ffba103bfd60b53ded1e47fc5b03075

    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

        Activity

          People

            jbornema Joerg Bornemann
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes