tor-browser

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

schema.sys.mjs (457B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
      3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 const initialSchema =
      6 #include policies-schema.json
      7 
      8 export let schema = initialSchema;
      9 
     10 export function modifySchemaForTests(customSchema) {
     11    if (customSchema) {
     12        schema = customSchema;
     13    } else {
     14        schema = initialSchema;
     15    }
     16 }