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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.6
    • Fix Version/s: 5.5.1
    • Component/s: WebEngine
    • Labels:
      None
    • Commits:
      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            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