summaryrefslogtreecommitdiffstats
path: root/devtools/client/jsonview/test/browser_jsonview_manifest.js
blob: 8072324cf1c95a0e56aad9ea228f251410408b13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/ */

"use strict";

const TEST_JSON_URL = URL_ROOT + "manifest_json.json";

add_task(async function () {
  info("Test manifest JSON file started");

  await addJsonViewTab(TEST_JSON_URL);

  const count = await getElementCount(".jsonPanelBox .treeTable .treeRow");
  is(count, 37, "There must be expected number of rows");
});