summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qmltests/data/localStorage.html
diff options
context:
space:
mode:
authorAdam Kallai <kadam@inf.u-szeged.hu>2016-04-11 17:20:19 +0200
committerAdam Kallai <kadam@inf.u-szeged.hu>2016-04-20 15:02:35 +0000
commit653bf0fa7081505273da5296b8dee8dfb594005c (patch)
tree091d61d0d7576ca60ccb0dff1f83e89447db79d4 /tests/auto/quick/qmltests/data/localStorage.html
parentbe2ea540ce3d57c0c55da89c154483983317ddbc (diff)
Add tst_settings.qml QML test case
- Add test for localStorageEnabled setting. - Add test for javascriptEnabled setting. Change-Id: I7a67c24bdf76409148e88500d9a7a092f7896493 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'tests/auto/quick/qmltests/data/localStorage.html')
-rw-r--r--tests/auto/quick/qmltests/data/localStorage.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/quick/qmltests/data/localStorage.html b/tests/auto/quick/qmltests/data/localStorage.html
new file mode 100644
index 000000000..a4e395f48
--- /dev/null
+++ b/tests/auto/quick/qmltests/data/localStorage.html
@@ -0,0 +1,9 @@
+<html>
+<head><title>Original Title</title></head>
+<body>
+<script type="text/javascript">
+document.title = localStorage.getItem('title');
+localStorage.setItem('title', 'New Title');
+</script>
+</body>
+</html>