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

navigator.userAgentData support

XMLWordPrintable

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

      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
      }
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes