tor-browser

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

test_invalid_name.js (532B)


      1 /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
      2 /* This Source Code Form is subject to the terms of the Mozilla Public
      3 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
      4 * You can obtain one at http://mozilla.org/MPL/2.0/. */
      5 
      6 /**
      7 * Test that using prefs with invalid names is not allowed.
      8 */
      9 
     10 add_task(function () {
     11  const PREFS_LIST = [
     12    "the.wrong.branch",
     13    "installer.the.right.branch",
     14    "not.a.real.pref",
     15  ];
     16 
     17  startModule(PREFS_LIST);
     18 
     19  verifyReflectedPrefs(PREFS_LIST);
     20 });