qutebrowser/qutebrowser
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
..
api Use Callable from collections.abc as well 2024-10-15 11:54:53 +02:00
browser Update user agents 2024-12-14 21:05:28 +01:00
commands Avoid passing a parent to QProcess 2024-10-15 11:55:04 +02:00
completion Use Callable from collections.abc as well 2024-10-15 11:54:53 +02:00
components Add JSON resource type 2024-12-09 14:05:37 +01:00
config Disable DocumentPictureInPicture API 2025-01-09 12:20:45 +01:00
extensions Add JSON resource type 2024-12-09 14:05:37 +01:00
html Switch to legacy PDF.js build 2024-12-10 11:47:39 +01:00
icons Load icons via importlib.resources 2022-04-04 18:03:54 +12:00
img Center logo 2022-06-14 13:30:53 +02:00
javascript Revert "js: Set eslint to ecmascript 2020" 2024-12-13 13:03:31 +01:00
keyinput Use Callable from collections.abc as well 2024-10-15 11:54:53 +02:00
mainwindow Merge remote-tracking branch 'upstream/main' into feat/68_permissions_askeverytime 2024-10-29 10:22:44 +13:00
misc Avoid passing a parent to QProcess 2024-10-15 11:55:04 +02:00
qt Enable pylint Too many positional arguments warning 2024-10-15 11:55:04 +02:00
utils Fix misc linting 2024-12-13 13:03:31 +01:00
__init__.py Release v3.4.0 2024-12-14 20:51:45 +00:00
__main__.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
app.py Use builtin list/dict/set/... types for annotations 2024-10-15 11:54:49 +02:00
qutebrowser.py Add caret browsing debug logging 2024-03-27 16:55:18 +01:00