Florian Bruhin
3cc32e0b6a
Fix lint
2017-02-25 17:24:27 +01:00
Florian Bruhin
02c913238b
Fix test_webkitelem
2017-02-24 13:51:45 +01:00
Florian Bruhin
3feb4211fe
Don't show hints for opacity: 0 elements
...
Fixes #2347
2017-02-24 09:13:25 +01:00
Florian Bruhin
06c4a100cc
Fix QtWebKit-NG private-browsing tests
2017-02-23 08:15:18 +01:00
Florian Bruhin
ce3c0a0f55
Mark more private-browsing tests as xfail with QtWebKit-NG
2017-02-23 08:13:40 +01:00
Florian Bruhin
6004bfa72f
Don't lose warnings shown in early init phases
2017-02-23 06:48:58 +01:00
Florian Bruhin
5379138c17
Merge branch 'pac+file' of https://github.com/kiryl/qutebrowser into kiryl-pac+file
2017-02-22 07:35:06 +01:00
Florian Bruhin
77f475991d
tests: Ignore CreatePlatformSocket() errors
2017-02-21 20:52:46 +01:00
Florian Bruhin
71f7b01ea7
Bring back PyQt (but not Qt) 5.7.0 support with QtWebEngine
...
This was originally removed in a86170f45
, however Debian testing (Stretch) comes
with Qt 5.7.1, but PyQt 5.7.
2017-02-21 19:25:18 +01:00
Kirill A. Shutemov
de088c18b9
Allow pac+file proxy scheme to load PAC file from local filesystem
...
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
2017-02-21 12:57:18 +03:00
Florian Bruhin
389501deb9
Merge branch 'navigate-fix' of https://github.com/EliteTK/qutebrowser into EliteTK-navigate-fix
2017-02-19 20:22:27 +01:00
Florian Bruhin
5b4b226186
Add Qt library/data paths to version info
2017-02-19 14:02:40 +01:00
Tomasz Kramkowski
1fcba72958
tests navigate: Add tests for rel attributes with nofollow
...
Add two extra tests for checking navigation on pages with rel "next" and
"prev" links which are also rel "nofollow" to test for the correct
functionality of navigating pages with rel "next" and "prev" links with
multiple rel attributes.
2017-02-19 12:32:19 +00:00
Florian Bruhin
01db59ff36
Handle all uerscript errors when hinting with userscript-target
2017-02-19 13:15:15 +01:00
Florian Bruhin
399b02a367
Fix subtle issue in hint bdd tests
...
- We need to clean open tabs to avoid reusing target=_blank child tabs
- We don't check the active tab with target=_blank anymore
- Remove some weird :tab-close
2017-02-17 22:07:59 +01:00
Florian Bruhin
ac9b0e5c59
bdd: Allow checking open tabs without (active)
2017-02-17 22:07:23 +01:00
Florian Bruhin
6ac7e61e0e
Add testcase for #2311
2017-02-17 21:32:40 +01:00
Florian Bruhin
0deb422cfd
Remove unused imports
2017-02-17 15:44:25 +01:00
Florian Bruhin
006378923e
Skip geolocation tests on Qt 5.8
...
https://bugreports.qt.io/browse/QTBUG-58985
2017-02-17 14:45:36 +01:00
Florian Bruhin
a86170f45d
Drop PyQt < 5.7.1 support for QtWebEngine
2017-02-17 14:42:57 +01:00
Florian Bruhin
f718b66c48
Disable mhtml tests for Qt 5.6
2017-02-17 14:32:38 +01:00
Florian Bruhin
ba21fb3784
webengine: Use _click_href for hinting target=_blank links
...
Fixes #2311
2017-02-17 06:57:31 +01:00
Florian Bruhin
a4f04db848
Cap scroll count to 5000
...
Fixes #1694
2017-02-11 22:26:37 +01:00
Florian Bruhin
bd8ead2279
Detect rel-attributes on <a> elements for :navigate
2017-02-11 20:48:48 +01:00
Florian Bruhin
c3153273f5
Merge branch 'master' of https://github.com/imransobir/qutebrowser into imransobir-master
2017-02-11 17:05:57 +01:00
Imran Sobir
37c3b79b9b
Add :history command.
2017-02-10 17:47:20 +05:00
Florian Bruhin
f063d4be6f
Add a benchmark for qute:history
2017-02-10 11:39:07 +05:00
Florian Bruhin
46c02bf5ae
Refactor qute:history unittests
2017-02-10 11:39:07 +05:00
Imran Sobir
100f90d9b3
Fix pylint errors.
2017-02-09 18:28:10 +05:00
Florian Bruhin
97982df1cb
Adjust history unittest
2017-02-09 13:40:44 +01:00
Florian Bruhin
85d8d45e19
Ask for confirmation with :history-clear
2017-02-09 13:20:00 +01:00
Imran Sobir
a15aa9eade
Hide next links to future.
2017-02-09 17:18:57 +05:00
Imran Sobir
920fb81377
Use pytest's tmpdir fixture.
2017-02-09 16:39:21 +05:00
Imran Sobir
49271b7ce1
Generate and cleanup fake web-history in own fixture.
2017-02-09 16:32:59 +05:00
Imran Sobir
4eccfd5396
Style fixes.
2017-02-09 15:51:00 +05:00
Imran Sobir
828b0c00b5
Rename test_qutehistory.py to test_qutescheme.py.
2017-02-09 15:39:50 +05:00
Florian Bruhin
601110761d
Fix test_history.test_init without QtWebKIt
2017-02-09 00:50:38 +01:00
Florian Bruhin
16ecc043f7
Run unittests with QUTE_BDD_WEBENGINE
2017-02-09 00:50:38 +01:00
Florian Bruhin
708c96f3ce
Fix handling of @qt>= BDD tags
2017-02-09 00:50:37 +01:00
Florian Bruhin
0d271eba87
Mark tests using special URLs as Qt >= 5.8
2017-02-09 00:50:37 +01:00
Florian Bruhin
a3caba53d5
Allow single-dot version tags in BDD tests
2017-02-09 00:50:37 +01:00
Florian Bruhin
00c743b3e8
Relax complex mhtml check for QtWebEngine
...
Turns out the output differs between QtWebEngine versions, probably because it
dumps its parsed files. Let's just do a sanity check for the complex file
instead.
2017-02-09 00:50:37 +01:00
Florian Bruhin
8779a1367e
Fix test collection without QtWebKit
2017-02-09 00:50:37 +01:00
Florian Bruhin
038a517c5a
Add test for QtWebKit-NG in test_version
2017-02-08 23:46:37 +01:00
Florian Bruhin
ac2fd4a36f
Skip special URL tests with QtWebKit
2017-02-08 13:04:38 +01:00
Imran Sobir
0ab7fd4581
Restore original save-manager, web-history at end of test.
2017-02-08 16:18:33 +05:00
Florian Bruhin
7c08444c37
Refuse to serialize chrome:// and view-source:// tabs
...
Fixes #2289
2017-02-08 11:40:00 +01:00
Florian Bruhin
580648da32
Allow to open chrome:// URLs in BDD tests
2017-02-08 11:32:14 +01:00
Florian Bruhin
1af951fd62
Work around crashes when opening URL after renderer crash
...
Fixes #2290
2017-02-08 10:56:44 +01:00
Florian Bruhin
2227c037f0
Log ignored lines in end2end tests
2017-02-08 09:45:12 +01:00