diff options
-rw-r--r-- | tests/end2end/data/hints/issue3711.html | 13 | ||||
-rw-r--r-- | tests/end2end/data/hints/issue3711_frame.html | 11 | ||||
-rw-r--r-- | tests/end2end/features/hints.feature | 5 |
3 files changed, 29 insertions, 0 deletions
diff --git a/tests/end2end/data/hints/issue3711.html b/tests/end2end/data/hints/issue3711.html new file mode 100644 index 000000000..6abceccc2 --- /dev/null +++ b/tests/end2end/data/hints/issue3711.html @@ -0,0 +1,13 @@ +<html> + <!-- https://github.com/qutebrowser/qutebrowser/issues/3711 --> + <head> + <title>Issue 3711</title> + </head> + <body> + <!-- + Verify no hint error occurs when hinting input range elements in iframes on qt5.9 + Possibly an issue in chrome. + --> + <input min="0" max="1" step="0.001" type="range"> + </body> +</html> diff --git a/tests/end2end/data/hints/issue3711_frame.html b/tests/end2end/data/hints/issue3711_frame.html new file mode 100644 index 000000000..37c5e5b71 --- /dev/null +++ b/tests/end2end/data/hints/issue3711_frame.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> + +<html> + <head> + <meta charset="utf-8"> + <title>Issue 3771 Parent Frame</title> + </head> + <body> + <iframe src="./issue3711.html"></iframe> + </body> +</html> diff --git a/tests/end2end/features/hints.feature b/tests/end2end/features/hints.feature index a2ac468d0..a1c4d0bde 100644 --- a/tests/end2end/features/hints.feature +++ b/tests/end2end/features/hints.feature @@ -249,6 +249,11 @@ Feature: Using hints And I hint with args "all current" and follow a Then no crash should happen + Scenario: No error when hinting ranged input in frames + When I open data/hints/issue3711_frame.html + And I hint with args "all current" and follow a + Then no crash should happen + ### hints.auto_follow.timeout @not_mac @flaky |