richpref-button sets preference type to "button"

RESOLVED FIXED in fennec1.0b2

Status

RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: Mardak, Assigned: Mardak)

Tracking

Trunk
fennec1.0b2
x86
Mac OS X

Details

Attachments

(1 attachment)

(Assignee)

Description

10 years ago
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.)
(Assignee)

Comment 1

10 years ago
Created attachment 384443 [details] [diff] [review]
v1
Assignee: nobody → edilee
Status: NEW → ASSIGNED
Attachment #384443 - Flags: review?(mark.finkle)
Attachment #384443 - Flags: review?(mark.finkle) → review+
(Assignee)

Comment 2

10 years ago
http://hg.mozilla.org/mobile-browser/rev/4e85fc046d73
Explicitly set the preference type to bool instead of inheriting button.
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → B2
You need to log in before you can comment on or make changes to this bug.