mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 13:40:17 -10:00
18 lines
568 B
JavaScript
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();
|
|
});
|
|
}
|