qutebrowser/tests/unit/config
Florian Bruhin 7462939868 Disable DocumentPictureInPicture API
The DocumentPictureInPicture JS API added in Chromium 116 is not implemented in
QtWebEngine. This results in createWindow() being called with a window type with
random value, which then causes qutebrowser to bail out:

    Traceback (most recent call last):
    File ".../qutebrowser/browser/webengine/webview.py", line 123, in createWindow
        raise ValueError("Invalid wintype {}".format(debug_type))
    ValueError: Invalid wintype 843995690

Until this is fixed in Qt, we pass an argument to Chromium to disable the API
entirely, so that web pages hopefully fall back to something else.

In the case of the new Google Huddle feature, this results in them still working
with an on-page overlay instead.

Thanks to Joshua Cold and Vivia for helping to debug this!

Fixes #8449
See https://bugreports.qt.io/browse/QTBUG-132681

(cherry picked from commit d272804126)
2025-01-09 12:20:45 +01:00
..
test_config.py Fix remaining references to old commands 2023-08-15 20:15:48 +02:00
test_configcache.py reuse: Update remaining copyright texts 2023-07-23 12:52:01 +02:00
test_configcommands.py Update for new pylint/astroid releases 2024-05-24 21:46:04 +02:00
test_configdata.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
test_configexc.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
test_configfiles.py Update for new pylint/astroid releases 2024-05-24 21:46:04 +02:00
test_configinit.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
test_configtypes.py Move config-type-to-bool thing to an abstract class 2024-10-29 10:20:56 +13:00
test_configutils.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
test_qtargs.py Disable DocumentPictureInPicture API 2025-01-09 12:20:45 +01:00
test_qtargs_locale_workaround.py reuse: Fix more copyright headers 2023-07-23 12:56:13 +02:00
test_stylesheet.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
test_websettings.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00