Closed Bug 371894 Opened 19 years ago Closed 18 years ago

pref.js

Categories

(Core :: Preferences: Backend, defect)

All
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: asterxpst, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.8.1.2) Gecko/20070220 Firefox/2.0.0.2 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.8.1.2) Gecko/20070220 Firefox/2.0.0.2 When I write user.js file in following way: user_pref("dom.allow_scripts_to_close_windows", true); user_pref("dom.disable_window_move_resize", false); user_pref("capability.policy.policynames", "XXX"); user_pref("capability.policy.sibmgr.sites", "http//blah-blah-blah/"); user_pref("capability.principal.codebase.p0.id", "http://blah-blah-blah/"); user_pref("signed.applets.codebase_principal_support", true); user_pref("capability.principal.codebase.p0.granted", "UniversalFileRead UniversalBrowserRead UniversalBrowserWrite UniversalBrowserAccess"); user_pref("signon.rememberSignons", true); user_pref("browser.formfill.enable", true); it doesn't work. ------------------ But when I write: u user_pref("capability.policy.policynames", "XXX"); user_pref("capability.policy.sibmgr.sites", "http//blah-blah-blah/"); user_pref("capability.principal.codebase.p0.id", "http://blah-blah-blah/"); ser_pref("dom.allow_scripts_to_close_windows", true); user_pref("dom.disable_window_move_resize", false); user_pref("signed.applets.codebase_principal_support", true); user_pref("capability.principal.codebase.p0.granted", "UniversalFileRead UniversalBrowserRead UniversalBrowserWrite UniversalBrowserAccess"); user_pref("signon.rememberSignons", true); user_pref("browser.formfill.enable", true); It works! ----------------------------- Moreover, I have to restart FireFox 2 times, because after first restart pref.js not changed. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Can you be more specific than "it doesn't work" and provide a minimal testcase? You're missing a colon in your capability.policy.sibmgr.sites value. > Moreover, I have to restart FireFox 2 times, because after first restart > pref.js not changed. That's ok, Firefox has applied the prefs, just not written them out.
Assignee: nobody → prefs
Component: Security → Preferences: Backend
Product: Firefox → Core
QA Contact: firefox
(Filter "spam" on 'prefs-nobody-20080612'.)
Assignee: prefs → nobody
QA Contact: prefs
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.