Florian Bruhin
0fd3674d9e
Update changelog
2018-03-20 07:07:05 +01:00
Florian Bruhin
0ee9d73fe2
Merge remote-tracking branch 'origin/pr/3692'
2018-03-20 07:05:43 +01:00
Florian Bruhin
81827a3150
Try to stabilize stylesheet tests
2018-03-20 07:05:03 +01:00
Florian Bruhin
32145d579b
Merge branch 'pyup-scheduled-update-2018-03-19'
2018-03-20 07:00:37 +01:00
Florian Bruhin
f230fd3abb
Rebuild requirement files
2018-03-20 06:59:57 +01:00
Florian Bruhin
51318d66c8
Fix ignore for new flake8-per-file-ignores release
2018-03-20 06:55:05 +01:00
Florian Bruhin
59602ec5b5
requirements: Blacklist flake8-builtins 1.1.0
...
See https://github.com/gforcada/flake8-builtins/issues/19
2018-03-20 06:55:05 +01:00
Florian Bruhin
a374698693
Fix lint
2018-03-20 06:38:11 +01:00
Florian Bruhin
b56988f0a4
Update changelog
2018-03-20 06:27:48 +01:00
Florian Bruhin
32df91fbae
Merge remote-tracking branch 'origin/pr/3604'
2018-03-20 06:24:57 +01:00
Jay Kamat
f6c00babbe
Prevent minimumTabsizeHint from being called when booting on mac
...
Move workaround higher up to the start of tabSizeHint
2018-03-19 18:29:51 -04:00
Florian Bruhin
7eaad59be3
caret: Ignore None value from setInitialCursor
...
See #3583
2018-03-19 22:32:26 +01:00
Florian Bruhin
ea1e52ea7c
Load page before loading stylesheets
...
If we don't do this, when doing:
self.config_stub.val.content.user_stylesheets = css_path
then _update_stylesheet gets called before the stylesheet QWebEngineScript did
run (as there was no load yet), so we get:
[:2] Uncaught TypeError: Cannot read property 'stylesheet' of undefined!
Instead, load the page first and then update the stylesheet.
This tests that live updating works properly, and also makes sure we don't run
into the problem described above.
2018-03-19 21:44:47 +01:00
Florian Bruhin
b588f54a53
Fail javascript tests on logging messages
2018-03-19 20:43:55 +01:00
Florian Bruhin
9031b3e535
Remove @pyqtSlot for on_download_requested
...
For some reason, this breaks when test_pac is run...
2018-03-19 20:17:15 +01:00
Florian Bruhin
1162e640c5
Remove unused imports
2018-03-19 19:42:56 +01:00
Florian Bruhin
0ea7a1457d
Make test_position_caret work again
...
The tests only work properly with QtWebKit (and aren't needed on QtWebEngine).
Also, for some reason the scrolled_down tests only work without Xvfb.
2018-03-19 19:38:21 +01:00
Florian Bruhin
f5d7605ae0
Add a :scroll-to-anchor command
...
Fixes #2784
2018-03-19 19:18:33 +01:00
Florian Bruhin
e50068021d
Use signals to update statusbar in caret mode
...
This means we don't use objreg anymore to get the status bar, and also makes the
bar more accurately reflect reality.
See #3583
2018-03-19 18:44:06 +01:00
Florian Bruhin
460bd86579
Initial attempt at using the tab API for tests/unit/javascript
2018-03-19 18:18:21 +01:00
Florian Bruhin
e43f0a61b9
Move all QWebEngineScript related code out of webenginesettings
...
It looks like there's some issue with QWebEngineScript in a profile, at least
with older Qt versions...
See #3497 , #3377
2018-03-19 17:33:02 +01:00
pyup-bot
8eb4d15805
Update hypothesis from 3.49.0 to 3.50.0
2018-03-19 17:13:26 +01:00
pyup-bot
3b7e1b3fe2
Update pylint from 1.8.2 to 1.8.3
2018-03-19 17:13:25 +01:00
pyup-bot
650aa532cd
Update astroid from 1.6.1 to 1.6.2
2018-03-19 17:13:23 +01:00
pyup-bot
1f3fc756db
Update github3.py from 0.9.6 to 1.0.1
2018-03-19 17:13:22 +01:00
pyup-bot
2d5d485daf
Update github3.py from 0.9.6 to 1.0.1
2018-03-19 17:13:20 +01:00
pyup-bot
b77e43d74f
Update setuptools from 38.5.2 to 39.0.1
2018-03-19 17:13:18 +01:00
pyup-bot
5a26858e07
Update flake8-per-file-ignores from 0.5 to 0.6
2018-03-19 17:13:17 +01:00
pyup-bot
99ea4b98e8
Update flake8-builtins from 1.0.post0 to 1.1.0
2018-03-19 17:13:15 +01:00
Florian Bruhin
da8b6fb50a
Decrease maximum repetitions for QtWebEngine scrolling
...
At least for Qt debug builds, 5000 seems to be much too much.
See #3661
2018-03-19 14:11:01 +01:00
Florian Bruhin
33066af51d
Break long comment
2018-03-19 13:59:30 +01:00
Florian Bruhin
6a971e2846
Ignore OnDidStopLoading error message
...
See #3661 , https://bugreports.qt.io/browse/QTBUG-66661
2018-03-19 12:13:10 +01:00
Florian Bruhin
f28a39571c
Fix caret.js indent
2018-03-19 11:49:24 +01:00
Florian Bruhin
bee04a1eec
Wait until runner is finished in test_custom_env
...
This seems to at least lead to less warnings when running the test.
2018-03-19 11:43:08 +01:00
Florian Bruhin
39d25c1127
Update _chromium_version comment
...
[ci skip]
2018-03-19 11:15:19 +01:00
Florian Bruhin
07e831cee5
Update changelog
2018-03-19 10:28:25 +01:00
Florian Bruhin
b3342d8f70
Merge remote-tracking branch 'origin/pr/3728'
2018-03-19 10:28:04 +01:00
Florian Bruhin
6465d64738
Fix lint
2018-03-19 10:22:21 +01:00
Florian Bruhin
232fd19422
Fix unit tests after refactoring
2018-03-19 09:53:35 +01:00
Florian Bruhin
a4530797ea
Add a ProfileSetter class to webenginesettings
...
Easier than passing a profile around everywhere.
2018-03-19 09:40:57 +01:00
Florian Bruhin
1b84bbd61d
Refactor initialization of internal JavaScript
...
- Initialize JavaScript in webenginesettings.py instead of webenginetab.py
- Move JavaScript snippet into a .js file
- Make sure scripts can be re-run and do nothing if already run.
- Run scripts on DocumentCreation *and* DocumentReady. Closes #3717 .
- Give each script an unique name for debugging.
- Also make custom stylesheets work on chrome:// pages
2018-03-19 09:14:55 +01:00
Florian Bruhin
f2864c6253
Break greasemonkey_wrapper lines differently
2018-03-19 09:13:50 +01:00
Florian Bruhin
8ae3047f2a
Update changelog
2018-03-18 19:00:07 +01:00
Florian Bruhin
b154846bdc
Merge remote-tracking branch 'origin/pr/3733'
2018-03-18 18:59:41 +01:00
Florian Bruhin
8a3d9c0c01
Adjust ignored log messages for Qt 5.11
2018-03-18 18:58:29 +01:00
AlternateData
62d30fe589
use 0 and maxint as bounds
2018-03-18 10:06:41 +01:00
AlternateData
a52d18b700
Add correct maximum and minimum value for tabs.switching_delay
2018-03-17 17:59:31 +01:00
Michal Siedlaczek
f9e702bae5
Warn about malformed dictionaries
2018-03-16 11:28:45 -04:00
gammelon
f57e47c742
Separate tests for _get_search_url
2018-03-16 11:42:51 +01:00
Bryan Bugyi
18146e2fbc
Fix: prevent unmatched quote ( #3726 )
2018-03-16 06:16:16 -04:00