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

[REG Qt 6.10] Permissions are persisted despite PersistentPermissionsPolicy::AskEveryTime

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.10.0 Beta4
    • WebEngine
    • None

      Some permissions seem to be persisted in-memory despite the application asking to not do so. This seems to have regressed with the update to 134-based, I think beta 2 was ok.

      Simplebrowser sets QWebEngineProfile::PersistentPermissionsPolicy::AskEveryTime so this can be easily reproduced there.

      Geolocation

      • Open https://browserleaks.com/geo in simplebrowser
      • Deny location permission
      • Click the "Get Current Position" button
      • On Qt 6.9: Permission gets asked again and can be granted
      • On Qt 6.10: The permission is immediately denied
      • Open the website again in a new tab
      • Permission gets prompted, allow it this time
      • Permission is still denied despite selecting yes

      Clipboard

      • Open https://web.dev/articles/async-clipboard#demos in simplebrowser
      • Click "Copy" and grant permissions
      • Click "Copy" again, get asked for permissions again
      • Click "Paste"
      • On Qt 6.9: Paste permissions are prompted again (like copy)
      • On Qt 6.10: Paste permissions are silently granted

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

            qt_webengine_team Qt WebEngine Team
            the compiler Florian Bruhin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes