Florian Bruhin
4da680f41c
Fix lint/test issue
2018-12-15 16:50:15 +01:00
Florian Bruhin
9764472fd8
Move adblock from browser/ to components/
2018-12-10 15:03:09 +01:00
Florian Bruhin
f6c36ccbee
Rename openurl to load_url
...
We still call the :open command openurl, but in the tab API and in
TabbedBrowser it's now called load_url.
2018-11-30 08:31:03 +01:00
Florian Bruhin
b7de287e7b
Move CommandError to api.cmdutils
2018-11-29 14:18:11 +01:00
Florian Bruhin
b5253ec473
Fix lint
2018-11-28 13:01:43 +01:00
Florian Bruhin
2152081d82
s/an URL/a URL/g
2018-11-16 12:37:30 +01:00
Florian Bruhin
b3493efc80
Remove unused import
2018-11-05 11:19:39 +01:00
Florian Bruhin
27d4796c2f
Add adblock benchmark
2018-11-05 10:05:59 +01:00
Florian Bruhin
a458615030
Further simplify caplog.messages
2018-10-25 11:16:26 +02:00
Florian Bruhin
3b8964183e
Use caplog.messages
2018-10-24 10:57:17 +02:00
Florian Bruhin
d299e48960
Work around pytest-bdd issues
...
See https://github.com/ionelmc/pytest-benchmark/issues/124
and https://github.com/ionelmc/pytest-benchmark/issues/125
2018-10-24 10:57:17 +02:00
Florian Bruhin
9727975914
Expose tab if needed
2018-10-17 22:38:24 +02:00
Florian Bruhin
5b7615886b
Merge remote-tracking branch 'origin/pr/4330'
2018-10-16 12:02:22 +02:00
Florian Bruhin
767a1c102c
Add hint benchmark tests
2018-10-16 11:09:27 +02:00
Jay Kamat
79f63b9e81
Fix line length warning in hint scatter test
2018-10-13 08:55:55 -07:00
Jay Kamat
c2f027bf2b
Add tests for rounding error
2018-10-12 20:17:54 -07:00
Florian Bruhin
3fe64085f8
Add tabindex to default 'all' selector
...
See #178
2018-10-08 19:43:25 +02:00
Florian Bruhin
6d4c8f5b13
Merge remote-tracking branch 'origin/pr/3806' into test
2018-10-08 18:09:58 +02:00
Florian Bruhin
0add3b1bb0
Skip POSIX escaping test on Windows
...
Because of the backslash, Windows tries to create a new directory and asks for
a confirmation, which fails.
2018-10-08 17:51:43 +02:00
Florian Bruhin
8d69d9d412
Fix download filename tests
...
If we want the same restrictive escaping in existing downloads, we'll need to
simulate Windows.
2018-10-08 17:48:26 +02:00
Florian Bruhin
1abfc03965
Use pytest.mark.fake_os
2018-10-08 17:41:52 +02:00
Florian Bruhin
91ae86db62
Merge remote-tracking branch 'origin/pr/3950'
2018-10-08 17:36:10 +02:00
Florian Bruhin
f63eb8ea15
Avoid showing widgets in tests if unneeded
...
This avoids odd X errors with test_webenginetab.py, and also makes it run much
faster (0.8s instead of 1.3s).
2018-10-06 19:06:34 +02:00
Florian Bruhin
d86033677c
Remove unused imports
2018-10-06 12:21:41 +02:00
Florian Bruhin
fd48e29a54
Add test for per-domain content.host_blocking_enabled
2018-10-06 00:13:58 +02:00
Florian Bruhin
5ff5ca72d8
Use a real webengine_tab for TestWebengineScripts
...
This means the tests take a bit longer (1.2s instead of 0.6s), but I consider
that worth the trade-off for testing a real-world scenario.
2018-10-05 23:22:31 +02:00
Florian Bruhin
c225e724ac
Merge remote-tracking branch 'origin/pr/4133'
2018-10-05 22:56:53 +02:00
Florian Bruhin
f75348e36b
Fix lint
...
thanks emacs...
2018-10-05 17:13:24 +02:00
Florian Bruhin
616cd0a59c
Fix and test remaining PDF.js OSError issues
2018-10-05 16:06:39 +02:00
Florian Bruhin
b5b4fda676
Fix issues with PDF.js path changes
2018-10-05 14:05:54 +02:00
Florian Bruhin
29142f763c
Use a proper data dir for PDF.js
2018-10-04 16:54:44 +02:00
Florian Bruhin
4b495303f9
Merge remote-tracking branch 'origin/pr/4191'
2018-09-30 22:01:57 +02:00
zaowen
5b089d0460
Minor requested changes
2018-09-29 02:00:42 -06:00
Florian Bruhin
f3408710ba
Fix webkitelem tests
2018-09-27 23:09:44 +02:00
Florian Bruhin
718376f154
Refactor JS escaping
...
This renames javascript.convert_js_arg() to javascript.to_js() and uses that
instead of string_escape() where possible.
2018-09-27 16:36:28 +02:00
Florian Bruhin
905863f74e
Fix lint
2018-09-27 10:08:50 +02:00
Florian Bruhin
56b8447fb9
Use callback.assert_called_with()
2018-09-27 10:06:50 +02:00
Florian Bruhin
a27a8ada4d
Use qtbot.wait_callback
2018-09-26 11:45:45 +02:00
Florian Bruhin
73cba046e5
Use wait argument with qtbot.assert_not_emitted
2018-09-26 11:27:58 +02:00
Florian Bruhin
a292664ca0
Merge remote-tracking branch 'origin/pr/4218'
2018-09-26 11:20:45 +02:00
Zarthur
b41d7ba203
Merge branch 'master' into master
2018-09-20 11:02:27 -06:00
zaowen
a75587f270
blah
2018-09-20 10:51:33 -06:00
zaowen
5ecfe43ebb
ci dumb
2018-09-20 10:49:37 -06:00
zaowen
c4cca4755e
Add adblock import directory unit test
2018-09-20 10:38:50 -06:00
Ellis
343de2db51
Added case for whitelisted url with * wildcard
2018-09-18 13:33:05 -04:00
Florian Bruhin
e105edebf5
Wait for follow_selected_done
2018-09-15 20:46:11 +02:00
Florian Bruhin
f817e5d271
Fix typo
2018-09-15 20:41:56 +02:00
Florian Bruhin
abff44def6
Get rid of end-of-doc-workaround in caret browsing
...
In Qt < 5.10 (and also sometimes on Windows), we get extra spaces or newlines
when moving to the end of the document. However, this only happens *sometimes*,
and manual testing confirms that with the current workaround, we actually lose
the last char in the selection.
I'm not sure what's happening there, but instead of making things worse with
the workaround, let's just be a bit less strict with the checking there and
accept both variants... This seems like some Chromium bug we can't do much
about.
2018-09-15 20:39:35 +02:00
Florian Bruhin
e47bf7a137
Remove duplicate test
2018-09-15 15:49:48 +02:00
Florian Bruhin
d74daf9294
Fix lint
2018-09-14 22:52:40 +02:00