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

acceptNavigationRequest received NavigationTypeTyped instead of NavigationTypeRedirect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.15.3
    • Fix Version/s: 5.15.4, 5.15.5
    • Component/s: WebEngine
    • Labels:
      None
    • Environment:
      ArchLinux
    • Platform/s:
      Linux/X11
    • Commits:
      b29b245fcb9db741d14180ea7e8dcb3ad2d4f49a (qt/qtwebengine/5.15) c772c8c0745c925818926420844543d25a073c8e (qt/qtwebengine/5.15.4)

      Description

      When accessing http://www.gmail.com the page is redirected multiple times.
      Each redirect triggers a call to QWebEnginePage::acceptNavigationRequest().
      In all of them the value of QWebEnginePage::NavigationType type is QWebEnginePage::NavigationTypeTyped instead of QWebEnginePage::NavigationTypeRedirect .

      I have tested with Qt WebEngine 5.15.1 official packages and 5.15.3 ArchLinux package

      See logs below:

      QWebEnginePage - AcceptNavigationRequest
       Url: https://www.google.com/gmail/
       NavigationType: QWebEnginePage::NavigationTypeTyped
      
      QWebEnginePage - AcceptNavigationRequest
       Url: https://mail.google.com/mail/
       NavigationType: QWebEnginePage::NavigationTypeTyped
      
      QWebEnginePage - AcceptNavigationRequest
       Url: https://accounts.google.com/ServiceLogin?service=mail&passive=true&rm=false&continue=https://mail.google.com/mail/&ss=1&scc=1&ltmpl=default&ltmplcache=2&emr=1&osid=1#
       NavigationType: QWebEnginePage::NavigationTypeTyped
      
      QWebEnginePage - AcceptNavigationRequest
       Url: https://mail.google.com/intl/nl/mail/help/about.html#
       NavigationType: QWebEnginePage::NavigationTypeTyped
      
      QWebEnginePage - AcceptNavigationRequest
       Url: https://www.google.com/intl/nl/mail/help/about.html#
       NavigationType: QWebEnginePage::NavigationTypeTyped
      
      QWebEnginePage - AcceptNavigationRequest
       Url: https://www.google.com/intl/nl/gmail/about/#
       NavigationType: QWebEnginePage::NavigationTypeTyped
      

        Attachments

        For Gerrit Dashboard: QTBUG-92819
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            allan.jensen Allan Sandfeld Jensen
            Reporter:
            bterrier Benjamin Terrier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes