summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qmltests/data/prompt.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qmltests/data/prompt.html')
-rw-r--r--tests/auto/quick/qmltests/data/prompt.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/quick/qmltests/data/prompt.html b/tests/auto/quick/qmltests/data/prompt.html
new file mode 100644
index 000000000..ae5fbd07a
--- /dev/null
+++ b/tests/auto/quick/qmltests/data/prompt.html
@@ -0,0 +1,12 @@
+<!doctype html>
+<html>
+<head>
+ <script>
+ document.title = prompt("Please, reverse the default value", "Hello Qt");
+ if (prompt("REJECT") !== null)
+ document.title = "FAIL";
+ </script>
+</head>
+<body>
+</body>
+</html>