qutebrowser/tests/unit/javascript/stylesheet
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
..
green.css Clean up stylesheet tests 2017-11-10 12:19:35 -05:00
none.css Implement proper loading of stylesheet.js 2017-11-09 14:44:33 -05:00
simple_bg_set_red.html Add tests which override existing css 2017-11-09 14:44:33 -05:00
simple.html Implement qtwebengine version of JSTester 2017-11-09 14:44:32 -05:00
simple.xml Clean up stylesheet tests 2017-11-10 12:19:35 -05:00
test_appendchild.js Add test for appendChild #2723 2017-11-17 17:52:35 -05:00
test_stylesheet.py Load page before loading stylesheets 2018-03-19 21:44:47 +01:00