summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qmltests/data/keyboardModifierMapping.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qmltests/data/keyboardModifierMapping.html')
-rw-r--r--tests/auto/quick/qmltests/data/keyboardModifierMapping.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/quick/qmltests/data/keyboardModifierMapping.html b/tests/auto/quick/qmltests/data/keyboardModifierMapping.html
index b6d291207..4652bf5da 100644
--- a/tests/auto/quick/qmltests/data/keyboardModifierMapping.html
+++ b/tests/auto/quick/qmltests/data/keyboardModifierMapping.html
@@ -15,6 +15,7 @@ document.body.onkeydown = function(e) {
if (e.metaKey)
meta_state.textContent = 'pressed'
last_keycode.textContent = e.keyCode
+ document.title = "Key pressed";
};
document.body.onkeyup = function(e) {
if (e.altKey)
@@ -24,6 +25,7 @@ document.body.onkeyup = function(e) {
if (e.metaKey)
meta_state.textContent = 'released'
last_keycode.textContent = e.keyCode
+ document.title = "Key released";
};
function getPressedModifiers() {