forked from mirrors/gecko-dev
The new tests in testing/xpcshell/example/ cover the following scenarios: - Local AND remote xpcshell tests. In contrast, modifications to selftest.py in bug 1635227 only covered runxpcshelltests. - `prefs=` inheritance from ancestor manifests as implemented by https://hg.mozilla.org/mozilla-central/rev/ac51a01611dc - Per-file `prefs` setters (used in bug 1638099). - Multiple prefs and comments per `prefs` line. Differential Revision: https://phabricator.services.mozilla.com/D121632
15 lines
486 B
JavaScript
15 lines
486 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() {
|
|
/* import-globals-from prefs_test_common.js */
|
|
load("prefs_test_common.js");
|
|
|
|
check_common_xpcshell_without_prefs();
|
|
|
|
Assert.ok(
|
|
!has_pref_from_manifest_file_section(),
|
|
"Should not have pref that was only assigned to a different test"
|
|
);
|
|
}
|