Florian Bruhin
184e0ee44e
Rename force_document_end to needs_document_end_workaround
2019-02-25 09:57:17 +01:00
Florian Bruhin
94542c5f78
Merge branch 'greasemonkey-quirks'
2019-02-25 09:56:18 +01:00
Florian Bruhin
6dd978ae05
GreaseMonkey: Force document-end for known-broken scripts
...
See #4322
2019-02-23 12:52:30 +01:00
Jay Kamat
3e816f5f8b
Update copyright for 2019
2019-02-22 21:45:08 -08:00
Florian Bruhin
3b8964183e
Use caplog.messages
2018-10-24 10:57:17 +02:00
Florian Bruhin
d86033677c
Remove unused imports
2018-10-06 12:21:41 +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
Jimmy
33cc8c11ba
Pull common code into a fixture.
2018-09-09 20:51:19 +12:00
Jesko
02f485cbc8
making import of QtWebEngine in corresponding tests conditional
2018-09-09 20:51:19 +12:00
Jesko
f22fb30ef3
fixing non controversial changes
2018-09-09 20:51:19 +12:00
Jimmy
7a73c0f264
Add tests for greasemonkey worldid in webenginetab.
...
Adds a new file for tests relating to WebEngineTab, it looks a little
sparse right now but I'm sure there will be more soon.
Tests that scripts with invalid world IDs are rejected appropriately and
the ones with valid world IDs aren't rejected.
The `FakeWidget` thing is so `sip.isdeleted` didn't complain about being
passed the wrong type.
2018-09-09 20:51:19 +12:00