Files
firefox/devtools/client/jsonview/test/browser_jsonview_manifest.js
T

18 lines
515 B
JavaScript

/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* 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(function* () {
info("Test manifest JSON file started");
yield addJsonViewTab(TEST_JSON_URL);
let count = yield getElementCount(".jsonPanelBox .treeTable .treeRow");
is(count, 37, "There must be expected number of rows");
});