Closed Bug 321724 Opened 20 years ago Closed 16 years ago

permissions.default.image: Please also clear "network.image.imageBehavior" if it's set to zero

Categories

(Core :: Preferences: Backend, defect)

defect
Not set
major

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Manuel.Spam, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050923 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050923 The "replacement" of the preference for image behavior makes it difficult for extension developers to keep their extensions running. Some mozilla releases use the old and some use the new value. Can you please clear "network.image.imageBehavior" at any time and not only if it's nonzero? This would make something like this possible: if (navigator.preference("network.image.imageBehavior") == undefined) // use new value else // use old value Reproducible: Always
Can't you just check if the new pref exists? The way we do it now the old pref only gets reseted, not removed. Of course if this pref then does not exist in all.js or such anymore, it will be removed.
(Filter "spam" on 'prefs-nobody-20080612'.)
Assignee: prefs → nobody
QA Contact: prefs
QA Contact: preferences → preferences-backend
Obsolete...
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.