qutebrowser/tests/unit/javascript
Jimmy b2f95339ce Greasemonkey: support regexes in @include and @exclude.
Like the spec says, if a value for the @include or @exclude rules starts
and ends with a '/' it should be parsed as a regular expression.
Technically a ECMAScript syntax regular expression, but I am not sure of
the differences and I assume they are far fewer than the similarities.
One that I did see mentioned was that javascript RegExp doesn't support
unicode. Although it apparently does support a 'u' flag now.

Note that code will only be ran for QtWebkit and QWebEngine < 5.8
we rely on the builtin support for metadata it QWebEngine for most
things greasemonkey related. Sadly it seems that they missed the regex
requirement too. I've opened a ticket to track that https://bugreports.qt.io/browse/QTBUG-65484
2018-01-20 13:39:19 +13:00
..
position_caret Fix style issues in stylesheet tests 2017-11-13 19:57:11 -05:00
stylesheet Get rid of backslash 2017-11-19 14:29:22 +01:00
base.html Reorganize tests directory. 2015-08-18 20:19:02 +02:00
conftest.py pylint: Re-enable ungrouped-imports 2017-12-15 23:08:53 +01:00
test_greasemonkey.py Greasemonkey: support regexes in @include and @exclude. 2018-01-20 13:39:19 +13:00