summaryrefslogtreecommitdiff
path: root/dom/tests/mochitest/localstorage/frameLocalStorageSessionOnly.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/mochitest/localstorage/frameLocalStorageSessionOnly.html')
-rw-r--r--dom/tests/mochitest/localstorage/frameLocalStorageSessionOnly.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/dom/tests/mochitest/localstorage/frameLocalStorageSessionOnly.html b/dom/tests/mochitest/localstorage/frameLocalStorageSessionOnly.html
new file mode 100644
index 0000000000..f6c7f0291f
--- /dev/null
+++ b/dom/tests/mochitest/localstorage/frameLocalStorageSessionOnly.html
@@ -0,0 +1,8 @@
+<!doctype html>
+<html>
+ <body>
+ <script>
+ parent.postMessage(SpecialPowers.wrap(localStorage).isSessionOnly, "*");
+ </script>
+ </body>
+</html>