qtargs: Remove old workaround with Qt 6.10.1
This commit is contained in:
parent
4164205663
commit
b3e4dba731
|
|
@ -159,10 +159,9 @@ def _qtwebengine_features( # noqa: C901
|
||||||
# TODO adjust if fixed in Qt 6.9.2+
|
# TODO adjust if fixed in Qt 6.9.2+
|
||||||
disabled_features.append('DocumentPictureInPictureAPI')
|
disabled_features.append('DocumentPictureInPictureAPI')
|
||||||
|
|
||||||
if versions.webengine >= utils.VersionNumber(6, 9):
|
if utils.VersionNumber(6, 9) <= versions.webengine < utils.VersionNumber(6, 10, 1):
|
||||||
# WORKAROUND for https://bugreports.qt.io/browse/QTBUG-135787
|
# WORKAROUND for https://bugreports.qt.io/browse/QTBUG-135787
|
||||||
# and https://bugreports.qt.io/browse/QTBUG-141096
|
# and https://bugreports.qt.io/browse/QTBUG-141096
|
||||||
# TODO adjust if fixed in Qt 6.9.2+
|
|
||||||
disabled_features.append('PermissionElement')
|
disabled_features.append('PermissionElement')
|
||||||
|
|
||||||
if not config.val.input.media_keys:
|
if not config.val.input.media_keys:
|
||||||
|
|
|
||||||
|
|
@ -471,6 +471,9 @@ class TestWebEngineArgs:
|
||||||
# Qt 6.9
|
# Qt 6.9
|
||||||
('6.9.0', "DocumentPictureInPictureAPI,PermissionElement"),
|
('6.9.0', "DocumentPictureInPictureAPI,PermissionElement"),
|
||||||
('6.9.1', "DocumentPictureInPictureAPI,PermissionElement"),
|
('6.9.1', "DocumentPictureInPictureAPI,PermissionElement"),
|
||||||
|
# Qt 6.10
|
||||||
|
('6.10.0', "DocumentPictureInPictureAPI,PermissionElement"),
|
||||||
|
('6.10.1', "DocumentPictureInPictureAPI"),
|
||||||
])
|
])
|
||||||
def test_disable_feature_workaround(
|
def test_disable_feature_workaround(
|
||||||
self, parser, version_patcher, qt_version, disabled
|
self, parser, version_patcher, qt_version, disabled
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue