summaryrefslogtreecommitdiffstats
path: root/dom/localstorage/test/unit/test_old_lsng_pref.js
blob: d502ee8779ead1ab9e1dee00bddead6de30a4891 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/**
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/
 */

/**
 * This test is mainly to verify that the old pref for switching LS
 * implementations has no effect anymore.
 */

add_task(async function testSteps() {
  info("Setting pref");

  Services.prefs.setBoolPref("dom.storage.next_gen", false);

  ok(Services.domStorageManager.nextGenLocalStorageEnabled, "LSNG enabled");
});