summaryrefslogtreecommitdiff
path: root/qutebrowser/config/qtargs.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-09-29 17:22:31 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-09-29 17:22:31 +0200
commit778443f983ea2acbafccfd318b5a31b9c949238d (patch)
tree365f208ead3a4b013280c56c905466f0967b6c7a /qutebrowser/config/qtargs.py
parentc450131175310803a79fe8fc26fc719c18993bbf (diff)
downloadqutebrowser-778443f983ea2acbafccfd318b5a31b9c949238d.tar.gz
qutebrowser-778443f983ea2acbafccfd318b5a31b9c949238d.zip
Add wait-renderer-process debug flag
Diffstat (limited to 'qutebrowser/config/qtargs.py')
-rw-r--r--qutebrowser/config/qtargs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/qutebrowser/config/qtargs.py b/qutebrowser/config/qtargs.py
index 0c517a14c..42f478a57 100644
--- a/qutebrowser/config/qtargs.py
+++ b/qutebrowser/config/qtargs.py
@@ -230,6 +230,9 @@ def _qtwebengine_args(
yield '--enable-logging'
yield '--v=1'
+ if 'wait-renderer-process' in namespace.debug_flags:
+ yield '--renderer-startup-dialog'
+
blink_settings = list(_darkmode_settings())
if blink_settings:
yield '--blink-settings=' + ','.join('{}={}'.format(k, v)