Closed Bug 499007 Opened 15 years ago Closed 15 years ago

richpref-button sets preference type to "button"

Categories

(Firefox for Android Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
fennec1.0b2

People

(Reporter: Mardak, Assigned: Mardak)

Details

Attachments

(1 file)

http://mxr.mozilla.org/mobile-browser/source/chrome/content/preferences/richpref.xml#157

I'm getting warnings like..
<preference> with id='' and name='' has unknown type 'button'.

This is probably because the binding for richpref-button includes..

<xul:preference xbl:inherits="name=type

But "button" isn't a valid preference type. (We are using the type to choose the richpref-button binding though.)
Attached patch v1Splinter Review
Assignee: nobody → edilee
Status: NEW → ASSIGNED
Attachment #384443 - Flags: review?(mark.finkle)
Attachment #384443 - Flags: review?(mark.finkle) → review+
http://hg.mozilla.org/mobile-browser/rev/4e85fc046d73
Explicitly set the preference type to bool instead of inheriting button.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → B2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: