tor-browser

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

browser_jsonview_manifest.js (431B)


      1 /* Any copyright is dedicated to the Public Domain.
      2 * http://creativecommons.org/publicdomain/zero/1.0/ */
      3 
      4 "use strict";
      5 
      6 const TEST_JSON_URL = URL_ROOT + "manifest_json.json";
      7 
      8 add_task(async function () {
      9  info("Test manifest JSON file started");
     10 
     11  await addJsonViewTab(TEST_JSON_URL);
     12 
     13  const count = await getElementCount(".jsonPanelBox .treeTable .treeRow");
     14  is(count, 37, "There must be expected number of rows");
     15 });