From 59a64af67f9451ebc84de4f58cd042e7543d8a6b Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 21 Nov 2025 18:35:03 +0100 Subject: [PATCH] tests: Adjust permissions storage workaround for Qt 6.10.1 --- tests/end2end/features/test_prompts_bdd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/end2end/features/test_prompts_bdd.py b/tests/end2end/features/test_prompts_bdd.py index c08405d3e..5c6130c8e 100644 --- a/tests/end2end/features/test_prompts_bdd.py +++ b/tests/end2end/features/test_prompts_bdd.py @@ -50,13 +50,13 @@ def fresh_instance(quteproc): # on PyQt6.8 we disable that with the new API, otherwise restart the # browser to make it forget previous prompts. # - # Qt 6.10 Beta 4 accidentally persists some permissions; - # WORKAROUND for https://bugreports.qt.io/browse/QTBUG-140194 + # Starting with Qt 6.10, QtWebEngine unconditionally persists some permissions; + # see https://bugreports.qt.io/browse/QTBUG-140194 if ( qtutils.version_check("6.8", compiled=False) and PYQT_WEBENGINE_VERSION and PYQT_WEBENGINE_VERSION < 0x60800 - ) or qtutils.version_check("6.10", compiled=False, exact=True): + ) or qtutils.version_check("6.10", compiled=False): quteproc.terminate() quteproc.start()