summaryrefslogtreecommitdiffstats
path: root/dom/localstorage/test/unit/test_lsng_enabled.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/localstorage/test/unit/test_lsng_enabled.js')
-rw-r--r--dom/localstorage/test/unit/test_lsng_enabled.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/dom/localstorage/test/unit/test_lsng_enabled.js b/dom/localstorage/test/unit/test_lsng_enabled.js
new file mode 100644
index 0000000000..d978aaa901
--- /dev/null
+++ b/dom/localstorage/test/unit/test_lsng_enabled.js
@@ -0,0 +1,13 @@
+/**
+ * Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/publicdomain/zero/1.0/
+ */
+
+/**
+ * This test is mainly to verify that LSNG is not accidentally disabled which
+ * can lead to a data loss in a combination with disabled shadow writes.
+ */
+
+add_task(async function testSteps() {
+ ok(Services.domStorageManager.nextGenLocalStorageEnabled, "LSNG enabled");
+});