diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-08-05 14:29:50 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-08-05 15:01:21 +0200 |
commit | e02e262a04ccf9ad0d320074d9260e41492f1b84 (patch) | |
tree | e4f93c043da696ecf0133d4b379185441156da08 /pytest.ini | |
parent | a24a43415a33a4e94c16188b7a30ff86a1476647 (diff) | |
download | qutebrowser-e02e262a04ccf9ad0d320074d9260e41492f1b84.tar.gz qutebrowser-e02e262a04ccf9ad0d320074d9260e41492f1b84.zip |
tests: Skip pdf.js disabled test on QtWebKit with PDF image plugin
Since Qt 5.15, QtWebEngine comes with Qt PDF as TP:
https://wiki.qt.io/New_Features_in_Qt_5.15#Technology_Preview_Modules
This also includes a new PDF image plugin in
/usr/lib/qt/plugins/imageformats/libqpdf.so. Due to that, QtWebKit now displays the
PDF's first page as image rather than triggering a download.
See https://github.com/qtwebkit/qtwebkit/issues/1013
Thus, detect this condition (both QtWebKit and QtWebEngine installed) and skip the test
in that scenario.
Diffstat (limited to 'pytest.ini')
-rw-r--r-- | pytest.ini | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pytest.ini b/pytest.ini index a034a27b3..1235efb4b 100644 --- a/pytest.ini +++ b/pytest.ini @@ -38,6 +38,7 @@ markers = unicode_locale: Tests which need an unicode locale to work qtwebkit6021_xfail: Tests which would fail on WebKit version 602.1 js_headers: Sets JS headers dynamically on QtWebEngine (unsupported on some versions) + qtwebkit_pdf_imageformat_skip: Broken on QtWebKit with PDF image format plugin installed qt_log_level_fail = WARNING qt_log_ignore = ^SpellCheck: .* |