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

navigator.userAgentData support

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P2: Important
    • 6.5
    • None
    • WebEngine
    • None

    Description

      Chromium 90 introduced navigator.userAgentData, a more parsable version of navigator.userAgent: https://caniuse.com/mdn-api_navigator_useragentdata

      With Chrome, that's filled as expected:

      {
          "brands": [
              {
                  "brand": "Not;A=Brand",
                  "version": "99"
              },
              {
                  "brand": "Chromium",
                  "version": "106"
              }
          ],
          "mobile": false,
          "platform": "Linux"
      }
      

      while with QtWebEngine, it's empty:

      {
          "brands": [],
          "mobile": false
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              davidsz Szabolcs David
              the compiler Florian Bruhin
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes