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

acceptNavigationRequest received NavigationTypeTyped instead of NavigationTypeRedirect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15.4, 5.15.5
    • 5.15.3
    • WebEngine
    • None
    • ArchLinux
    • Linux/X11
    • 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

            allan.jensen Allan Sandfeld Jensen
            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