qutebrowser/tests
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
..
end2end Move all QWebEngineScript related code out of webenginesettings 2018-03-19 17:33:02 +01:00
helpers Remove unused imports 2018-03-19 19:42:56 +01:00
manual Update some more references to old config options 2017-07-04 16:46:02 +02:00
unit Load page before loading stylesheets 2018-03-19 21:44:47 +01:00
conftest.py Show version for POSIX OSes 2018-03-11 13:28:53 +04:00
test_conftest.py Update copyright years 2018-02-05 12:19:50 +01:00