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

WebView.httpUserAgent is not initialized on iOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.15.0
    • WebView
    • None
    • iOS/tvOS/watchOS

      The WebView.httpUserAgent property is not initialized with the user agent string on iOS but it is simply empty.

      This is a problem because the typical use case is to append something to the user agent string and not replace it completely so the initial value is needed.

      On macOS, the property is initialized correctly:

      iOS (Simulator) macOS

       

      Attached you'll find an example app showing the issue.

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

            stromme Christian
            jochen.ulrich_cm Jochen Ulrich
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes