summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qmltests/data/confirm.html
blob: d7256a883ae649248fa5cfa4463c1318c87ead57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!doctype html>
<html>
<head>
    <script>
        document.title = "";
        function updateTitle(accepted) {
            if (accepted)
                document.title += " ACCEPTED";
            else
                document.title += " REJECTED";
        }

        updateTitle(confirm("ACCEPT"));
        updateTitle(confirm("REJECT"));
    </script>
</head>
<body>
</body>
</html>