qutebrowser/tests
Florian Bruhin 180fb0d65a Fix handling of caret position with Qt 5.10
With Chromium 61 in Qt 5.10, we get null when getting .selectionStart on a
non-text element, like changed in the WhatWG HTML standard:
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-textarea/input-selectionstart

See https://www.chromestatus.com/feature/5740194741354496

Older QtWebEngines and QtWebKit raise InvalidStateError instead.

This also changes the surrounding code and API so None is used to say "there's
no caret position available", which seems like a nicer API.
2017-11-08 16:27:26 +01:00
..
end2end Make testsuite work with LC_ALL=C 2017-11-07 17:23:38 +01:00
helpers modified pylint pragmas 2017-10-22 23:52:35 +05:30
manual Update some more references to old config options 2017-07-04 16:46:02 +02:00
unit Fix handling of caret position with Qt 5.10 2017-11-08 16:27:26 +01:00
conftest.py Make testsuite work with LC_ALL=C 2017-11-07 17:23:38 +01:00
test_conftest.py Finally update copyrights... 2017-05-09 21:37:03 +02:00