diff --git a/pytest.ini b/pytest.ini index 615cc21b6..e51475465 100644 --- a/pytest.ini +++ b/pytest.ini @@ -36,6 +36,5 @@ qt_log_ignore = ^Geoclue error: Process org\.freedesktop\.Geoclue\.Master exited with status 127 ^QObject::connect: Cannot connect \(null\)::stateChanged\(QNetworkSession::State\) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged\(QNetworkSession::State\) ^QXcbClipboard: Cannot transfer data, no data available - ^Image of format '' blocked because it is not considered safe. If you are sure it is safe to do so, you can white-list the format by setting the environment variable QTWEBKIT_IMAGEFORMAT_WHITELIST= qt_wait_signal_raising = true xfail_strict = true diff --git a/qutebrowser/utils/log.py b/qutebrowser/utils/log.py index 25ba515b5..37c1c6bcd 100644 --- a/qutebrowser/utils/log.py +++ b/qutebrowser/utils/log.py @@ -316,6 +316,10 @@ def qt_message_handler(msg_type, context, msg): 'QNetworkSession::State) to ' 'QNetworkReplyHttpImpl::_q_networkSessionStateChanged(' 'QNetworkSession::State)', + # https://bugreports.qt.io/browse/QTBUG-53989 + "Image of format '' blocked because it is not considered safe. If you " + "are sure it is safe to do so, you can white-list the format by " + "setting the environment variable QTWEBKIT_IMAGEFORMAT_WHITELIST=", ] if sys.platform == 'darwin': suppressed_msgs += [