Florian Bruhin
c503c2953d
Make testbrowser.py run without QtWebKit
2016-09-05 18:50:39 +02:00
Florian Bruhin
7592345b6e
Make unittests work without QtWebKit
2016-09-05 18:45:50 +02:00
Florian Bruhin
3b8537ff26
Make webkitelem/mhtml imports optional in commands
2016-09-05 18:20:48 +02:00
Florian Bruhin
bf3cccfe56
Make QWebPage import in commands.py optional
2016-09-05 18:15:30 +02:00
Florian Bruhin
1773c1cbd6
Remove wrong @pyqtSlot in downloads.py
2016-09-05 18:14:50 +02:00
Florian Bruhin
5f58ebebbf
Remove needs_js for @cmdutils.register
...
This gets rid of a QtWebKit import in commands.py, and also makes those
checks work later when we have per-domain settings.
2016-09-05 18:11:01 +02:00
Florian Bruhin
af40abd3b2
Add websettings.shutdown()
2016-09-05 17:58:56 +02:00
Florian Bruhin
0ad8578aa8
Make QtWebKit optional in earlyinit.py
2016-09-05 17:58:29 +02:00
Florian Bruhin
050507c0a6
Merge branch 'webengine-createwindow'
2016-09-05 17:42:15 +02:00
Florian Bruhin
59300cb71e
Add tests for js-can-open-windows-automatically
2016-09-05 17:25:52 +02:00
Florian Bruhin
0b3656c446
tests: Don't wait for nonexistant log message
2016-09-05 17:25:41 +02:00
Florian Bruhin
525d5ce922
Mark another flaky test with @qtwebengine_skip
2016-09-05 17:10:30 +02:00
Florian Bruhin
308f38ab34
Rename javascript-can-open-windows setting
...
Fixes #1896 .
2016-09-05 17:09:14 +02:00
Florian Bruhin
d71aa2c0ba
Ignore IMAGEFORMAT_WHITELIST warning in tests
2016-09-05 17:01:55 +02:00
Florian Bruhin
d2a3541d6e
Make pylint shut up
2016-09-05 16:54:31 +02:00
Florian Bruhin
22be46e7d3
Skip flaky QtWebEngine test
2016-09-05 16:53:27 +02:00
Florian Bruhin
f26ce3a8ff
Only add BDD markers if condition matches
...
This should make multiple markers on the same test work correctly.
2016-09-05 16:49:17 +02:00
Florian Bruhin
bdc1885f6d
Add missing @qtwebengine_createWindow marker
2016-09-05 16:48:21 +02:00
Florian Bruhin
a94cf90842
Fail early when running WebEngine tests without it
2016-09-05 16:33:06 +02:00
Florian Bruhin
61270b8f92
Fix lint
2016-09-05 16:21:30 +02:00
Florian Bruhin
ba718a2b9d
end2end: Improve output when subprocess exits
...
We don't really have the "infrastructure" set up yet to have proper log
output at that point, but we can always just show the log output as part
of the exception.
2016-09-05 16:19:22 +02:00
Florian Bruhin
baf6bb5514
Pass $QUTE_BDD_WEBENGINE to Docker correctly
2016-09-05 16:00:23 +02:00
Florian Bruhin
c6142df3ec
bdd: Re-add test for #906 for QtWebEngine
2016-09-05 15:53:31 +02:00
Florian Bruhin
6151a5faa7
bdd: Fix handling of @qtweb{kit_engine}_* tags
2016-09-05 15:53:19 +02:00
Florian Bruhin
21fe8f43f9
tests: Fix handling of QUTE_BDD_WEBENGINE
...
The tryfirst decorator somehow messed up handling of other pytest
marks... Also we need to do this in the root conftest for it to work
properly.
2016-09-05 15:32:12 +02:00
Florian Bruhin
f2c4cedf61
QtWebEngine: Don't add invalid URLs to history
2016-09-05 15:08:00 +02:00
Florian Bruhin
8115fa2af8
Re-enable some createWindow tests
2016-09-05 15:08:00 +02:00
Florian Bruhin
a52c8d6576
Clean up javascript double-close test
...
The test for QtWebEngine was removed because something weird happened
with the two pytest-bdd tags, and I'm too annoyed with everything being
broken to investigate now... Future me, I'm sorry.
2016-09-05 15:08:00 +02:00
Florian Bruhin
ce98d89352
Add some (crashing...) window.open/.close tests
2016-09-05 15:08:00 +02:00
Florian Bruhin
cf89204ac3
Only skip because of QTBUG-54419 with WebEngine
2016-09-05 15:08:00 +02:00
Florian Bruhin
141b7c5893
Increase timeout in auto-follow-timeout test
2016-09-05 15:08:00 +02:00
Florian Bruhin
1c1d75e793
travis: Add a build job for QtWebEngine
2016-09-05 15:08:00 +02:00
Florian Bruhin
ebf093bb6e
tests: Skip unittests with QUTE_BDD_WEBENGINE
2016-09-05 15:08:00 +02:00
Florian Bruhin
aec0e4ca40
tests: Fix applying of end2end marker
2016-09-05 15:08:00 +02:00
Florian Bruhin
19ac488997
tests: Add QUTE_BDD_WEBENGINE environment variable
2016-09-05 15:08:00 +02:00
Florian Bruhin
cf070d48f2
WebEngine: Disable createWindow for Qt < 5.7.1
...
Fixes #1911 .
The bugfix is backported in my qt5-webengine-debug package, and
QUTE_QTBUG54419_PATCHED can be set to force qutebrowser to use
createWindow.
2016-09-05 15:08:00 +02:00
Florian Bruhin
6a26907ded
Fix lint
2016-09-05 15:08:00 +02:00
Florian Bruhin
2c2375ff18
Add a separate QtWebEngine test for #906
2016-09-05 15:08:00 +02:00
Florian Bruhin
30327b2acf
Move end2end tag handling to end2end/conftest.py
2016-09-05 15:08:00 +02:00
Florian Bruhin
6c6e98aac4
Add a @qtwebkit_skip marker
2016-09-05 15:08:00 +02:00
Florian Bruhin
30c07e9b5c
tests: Add url to window_open.html
2016-09-05 15:08:00 +02:00
Florian Bruhin
8b7d21876f
Add debug logging to createWindow
2016-09-05 15:08:00 +02:00
Florian Bruhin
2687b59373
Code cleanup
2016-09-05 15:08:00 +02:00
Florian Bruhin
a4cd0291a6
Implement QWebEngineView.createWindow
2016-09-05 15:08:00 +02:00
Florian Bruhin
bb4d09ffd9
test requirements: Update CherryPy to 8.1.0
2016-09-05 11:08:20 +02:00
Florian Bruhin
ef4c39d7c1
Merge branch 'kobezda-open-editor-all-modes'
2016-09-05 11:00:34 +02:00
Florian Bruhin
e82a119061
Update docs
2016-09-05 11:00:22 +02:00
Florian Bruhin
a85ea92a21
Merge branch 'open-editor-all-modes' of https://github.com/kobezda/qutebrowser into kobezda-open-editor-all-modes
2016-09-05 10:59:53 +02:00
Florian Bruhin
63090df52b
Merge branch 'lahwaacz-docstrings'
2016-09-05 10:58:50 +02:00
Florian Bruhin
366c230e0a
Merge branch 'docstrings' of https://github.com/lahwaacz/qutebrowser into lahwaacz-docstrings
2016-09-05 10:58:39 +02:00