Closed Bug 115093 Opened 24 years ago Closed 24 years ago

user_pref("dom.disable_open_during_load", "true"); over written

Categories

(Core :: DOM: Core & HTML, defect)

PowerPC
macOS
defect
Not set
trivial

Tracking

()

VERIFIED DUPLICATE of bug 107264

People

(Reporter: riscky, Assigned: jst)

Details

If a user edits prefs.js and enters: user_pref("dom.disable_open_during_load", "true"); user_pref("dom.disable_open_during_unload", "true"); next time you check your prefs.js only the unload entry will exist. The only user_pref that works for load is to use true with out the "'s. The two either both should fail if true false is in "'s or both should work... since no gui front end exist for these two options. (Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:0.9.6+) Gecko/20011211) Also see bug 92955 and 75371
users should primarily use user.js to avoid breaking things when they add typos or syntax errors like the ones you mention. In bad cases syntax errors can cause prefs.js to be ignored (bug 107264) See comment http://bugzilla.mozilla.org/show_bug.cgi?id=107264#c6 *** This bug has been marked as a duplicate of 107264 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Vrfy. true != "true" Remove the quotes from the boolean.
Status: RESOLVED → VERIFIED
There is no evidence in LXR that "dom.disable_open_during_unload" exists as a supported preference. "dom.disable_open_during_load" is a boolean preference, not a char preference, and therefore should be set as: user_pref("dom.disable_open_during_load", true); not user_pref("dom.disable_open_during_load", "true");
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.