This commit is contained in:
Florian Bruhin 2016-06-09 17:11:44 +02:00
parent 035526848e
commit ab8a2f7147
3 changed files with 10 additions and 9 deletions

View File

@ -933,8 +933,8 @@ def data(readonly=False):
('find-implementation',
SettingValue(typ.String(
valid_values=typ.ValidValues(
('javascript', "Better but slower"),
('python', "Slightly worse but faster"),
('javascript', "Better but slower"),
('python', "Slightly worse but faster"),
)), 'javascript'),
"Which implementation to use to find elements to hint."),

View File

@ -226,9 +226,9 @@ Feature: Using hints
# https://github.com/The-Compiler/qutebrowser/issues/1559
Scenario: Filtering all hints in number mode
When I open data/hints/number.html
And I set hints -> mode to number
And I run :hint all
And I press the key "2"
And I wait for "Leaving mode KeyMode.hint (reason: all filtered)" in the log
Then no crash should happen
When I open data/hints/number.html
And I set hints -> mode to number
And I run :hint all
And I press the key "2"
And I wait for "Leaving mode KeyMode.hint (reason: all filtered)" in the log
Then no crash should happen

View File

@ -336,9 +336,10 @@ def test_get_search_url_invalid(urlutils_config_stub, url):
(False, True, False, '23.42'), # no DNS because bogus-IP
(False, True, False, '1337'), # no DNS because bogus-IP
(False, True, True, 'deadbeef'),
# no DNS because bogus-IP
pytest.mark.xfail(qtutils.version_check('5.6.1'),
reason='Qt behaviour changed')(
False, True, False, '31c3'), # no DNS because bogus-IP
False, True, False, '31c3'),
(False, True, False, 'foo::bar'), # no DNS because of no host
# Valid search term with autosearch
(False, False, False, 'test foo'),