summaryrefslogtreecommitdiffstats
path: root/tests/auto/shared
diff options
context:
space:
mode:
authorKirill Burtsev <kirill.burtsev@qt.io>2019-02-27 19:02:50 +0100
committerAapo Keskimolo <aapo.keskimolo@qt.io>2019-03-19 20:40:40 +0000
commit0f30fe4b6ae26b4797272926318c31b1f07acc20 (patch)
tree70aa42b8f45dd9613bdb12cfda6220509f32361c /tests/auto/shared
parent10e65c418625f586430d3033e71bd3b4d69b7420 (diff)
Notification API cleanup: direction type, parameter and method names
Change-Id: I0349f3eea0028a4df917af8599c073227e0d0ec1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto/shared')
-rw-r--r--tests/auto/shared/data/notification.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/shared/data/notification.html b/tests/auto/shared/data/notification.html
index cadcbd942..1d1e9c411 100644
--- a/tests/auto/shared/data/notification.html
+++ b/tests/auto/shared/data/notification.html
@@ -8,7 +8,7 @@
function getPermission() { return document.Notification }
function sendNotification(title, body) {
- let notification = new Notification(title, { body: body })
+ let notification = new Notification(title, { body: body, dir: 'rtl', lang: 'de', tag: 'tst' })
notification.onclick = function() { console.info('onclick') }
notification.onclose = function() { console.info('onclose') }
notification.onerror = function(error) { console.info('onerror: ' + error) }