qutebrowser/tests
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
..
end2end Disable DocumentPictureInPicture API 2025-01-09 12:20:45 +01:00
helpers Use Callable from collections.abc as well 2024-10-15 11:54:53 +02:00
manual Rename :buffer to :tab-select 2021-01-20 18:00:38 +01:00
unit Disable DocumentPictureInPicture API 2025-01-09 12:20:45 +01:00
conftest.py tests: Initialize QtWebEngine spell dictionary path earlier 2024-12-09 17:26:12 +01:00
test_conftest.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00