diff options
author | Florian Bruhin <git@the-compiler.org> | 2016-06-06 08:38:35 +0200 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2016-06-06 08:38:35 +0200 |
commit | dce969997af4392fd3aec8368c8b22e83fa68bdd (patch) | |
tree | 70162e6dc1553a41d8a43ab01430964d6550427c /tests/manual | |
parent | 3cfb430cdfddb8c0298e091558a7d59cfa5d1521 (diff) | |
download | qutebrowser-dce969997af4392fd3aec8368c8b22e83fa68bdd.tar.gz qutebrowser-dce969997af4392fd3aec8368c8b22e83fa68bdd.zip |
Reorganize tests/html
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual/js/jsalert_multiline.html | 11 | ||||
-rw-r--r-- | tests/manual/js/jsconfirm.html | 12 | ||||
-rw-r--r-- | tests/manual/js/jsprompt.html | 12 |
3 files changed, 35 insertions, 0 deletions
diff --git a/tests/manual/js/jsalert_multiline.html b/tests/manual/js/jsalert_multiline.html new file mode 100644 index 000000000..8e9917101 --- /dev/null +++ b/tests/manual/js/jsalert_multiline.html @@ -0,0 +1,11 @@ +<head> + <script type="text/javascript"> + function do_alert() { + alert("Hello\nWorld\nthis\nis\na\ntest"); + } + </script> +</head> + +<body> + <input type="button" onclick="do_alert()" value="Show alert"> +</body> diff --git a/tests/manual/js/jsconfirm.html b/tests/manual/js/jsconfirm.html new file mode 100644 index 000000000..8a584dc9b --- /dev/null +++ b/tests/manual/js/jsconfirm.html @@ -0,0 +1,12 @@ +<head> + <script type="text/javascript"> + function prompter() { + var reply = confirm("js confirm", "") + alert("JS alert: " + reply + "!") + } + </script> +</head> + +<body> + <input type="button" onclick="prompter()" value="Show prompt"> +</body> diff --git a/tests/manual/js/jsprompt.html b/tests/manual/js/jsprompt.html new file mode 100644 index 000000000..782dc1622 --- /dev/null +++ b/tests/manual/js/jsprompt.html @@ -0,0 +1,12 @@ +<head> + <script type="text/javascript"> + function prompter() { + var reply = prompt("js prompt", "") + alert("JS alert: " + reply + "!") + } + </script> +</head> + +<body> + <input type="button" onclick="prompter()" value="Show prompt"> +</body> |