summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qmltests/data/keyboardModifierMapping.html
diff options
context:
space:
mode:
authorSzabolcs David <davidsz@inf.u-szeged.hu>2015-03-16 08:38:39 -0700
committerAndras Becsi <andras.becsi@theqtcompany.com>2015-04-07 11:18:41 +0000
commitdcd89d4b9c981a6cf064bb406e38356e50eaf4bf (patch)
treec74cc563a2802588712e3bb2a529def1d73e4fff /tests/auto/quick/qmltests/data/keyboardModifierMapping.html
parentd8daba265ba260b41899fe817ee0fb8833441979 (diff)
Fix tst_keyboardModifierMapping QML test
It needs some waiting time after keyboard events. Change-Id: I970f15b66bea3399b8dff43a9323c2827ad19823 Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
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() {