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

QWebEnginePage::loadFinished never fired if a request has been intercepted and blocked with QWebEngineUrlRequestInfo::block(true)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.15.0
    • WebEngine
    • None
    • Windows

    Description

      Step to reproduce :

      • Setup a QtWebEngine context and browse to an URL (for example http://www.google.com)
      • Setup interceptor and block a specific request, for example :

      void WebUrlRequestInterceptor::interceptRequest(QWebEngineUrlRequestInfo &info) {

          if(info.requestUrl().host().contains("consent.google.com"))
              info.block(true);

      }

      loadFinished signal will never be fired (or maybe after a long timeout?).

      Blocking requests should not affect loadFinished signal.

      Attachments

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

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            rkc Renaud Keradec
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes