tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_old_lsng_pref.js (439B)


      1 /**
      2 * Any copyright is dedicated to the Public Domain.
      3 * http://creativecommons.org/publicdomain/zero/1.0/
      4 */
      5 
      6 /**
      7 * This test is mainly to verify that the old pref for switching LS
      8 * implementations has no effect anymore.
      9 */
     10 
     11 add_task(async function testSteps() {
     12  info("Setting pref");
     13 
     14  Services.prefs.setBoolPref("dom.storage.next_gen", false);
     15 
     16  ok(Services.domStorageManager.nextGenLocalStorageEnabled, "LSNG enabled");
     17 });