summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qmltests/data/localStorage.html
diff options
context:
space:
mode:
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>