Files
firefox/tools/code-coverage/tests/xpcshell/test_basic_child_and_parent.js
T

18 lines
568 B
JavaScript

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
function run_test() {
do_load_child_test_harness();
do_test_pending();
sendCommand("let v = 'test';", function() {
let codeCoverage = Components.classes["@mozilla.org/tools/code-coverage;1"].getService(Components.interfaces.nsICodeCoverage);
codeCoverage.dumpCounters();
codeCoverage.resetCounters();
do_test_finished();
});
}