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

Add support of window.opener.postMessage when a popup communicates back to its opener

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 5.15.5
    • WebEngine
    • None

    Description

      I'm using WebEngineView in QML to create an app where I need to control a webview, but also want other niceness from Qt. In my app, I want the user to login to Google using popup. I managed to open a popup using onNewViewRequested, but the login view hangs forever.

      The reason is that the popup window does the authentication, and then calls

      the window.opener.postMessage

      function which I believe is not supported in WebEngineView. 

      Is there a way to make this work?

      Attachments

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

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            anderhaf Anders Hafreager
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes