qutebrowser/tests/unit/javascript
Jimmy c5334fb683 Greasemonkey: use UrlPatterns for match directives
The greasemonkey `@match` directive is used to match urls against
chromium url patterns (as opposed to `@include` which treats its
argument as a glob expression). I was using fnmatch for both here
because I am lazy and knew someone else was going to implement chromium
url patterns for me eventually. Now it is done and I should switch to
using them instead. The most common failing case that this will fix is
something matching on `*://*.domain.com/*` because it wouldn't match
the url with no subdomain.

This codepath is only used on webengine 5.7.1 and webkit backends.
2018-04-14 10:31:20 +12:00
..
position_caret Remove unused imports 2018-03-19 19:42:56 +01:00
stylesheet Log document.body in JS tests 2018-03-20 11:56:46 +01:00
base.html Reorganize tests directory. 2015-08-18 20:19:02 +02:00
conftest.py Log document.body in JS tests 2018-03-20 11:56:46 +01:00
test_greasemonkey.py Greasemonkey: use UrlPatterns for match directives 2018-04-14 10:31:20 +12:00
test_js_execution.py Make test_simple_js_webengine work correctly 2018-03-27 07:29:43 +02:00