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

QML WebEngineView onNewViewRequested receives empty request.requestedUrl

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • 5.9.5, 5.10.1, 5.11.0
    • None

      Hi, according to the QML documentation for WebEngineView 1.5, onNewViewRequested should contain request.requestedUrl. However, it does not have a requestedUrl field.

      The example I uploaded is modified from one of your example apps.

      The console output shows:

      qml: BUG REPORT: request = {"objectName":"","destination":3,"userInitiated":true} request.requestedUrl =
      

      where requestedUrl is undefined

       

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

            qt_webengine_team Qt WebEngine Team
            ylilarry ylilarry
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes