test_prefs_defaults_included.js (533B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 function run_test() { 6 /* import-globals-from prefs_test_common.js */ 7 load("prefs_test_common.js"); 8 9 check_common_xpcshell_with_prefs(); 10 11 Assert.equal( 12 Services.prefs.getStringPref("dummy.pref.from.test.ancestor"), 13 "ReplacedParent", 14 "Pref set in included test manifest takes precedence over ancestor" 15 ); 16 }