On Fri, Nov 9, 2012 at 5:01 AM, Gervase Markham <[email protected]> wrote:
> On 09/11/12 08:50, Jonas Sicking wrote:
>>
>> This is due to time constraints. It's much harder to implement in B2Gs
>> security model since we essentially don't have any chrome JS code
>> running other than what's part of gecko. In fact, we don't have any
>> chrome code which displays UI at all.
>
> But the settings app allows the changing of things which are prefs
> underneath, right?
> http://blog.astithas.com/2012/11/javascript-debugging-updates.html suggests
> so.

Just because the settings app can take some actions which end up
causing some preferences to change, doesn't mean that it can control
all settings.

> Can't it just grow an extra facility where you input both the pref to change
> and the value, instead of just a value? Even that would be a lot better than
> having to reflash or reboot.
>
> For bonus points, you could then "save" a pref name with a title, so there
> was a screen of prefs that you'd said you wanted UI for - and it would
> provide UI according to pref type.
>
> For extra bonus points, remember previously-entered values for Text and
> Number prefs and allow choosing between them.
>
> But neither of the bonuses is essential.

It would indeed be possible to add an API exposed to the settings app
which allowed it to modify arbitrary Gecko preferences. What I was
referring to was running about:config or other chrome-privileged
pages.

However, see below.

>> I agree. Though it's a bit trickier also since we want to make it hard
>> to brick your device. With desktop Firefox you can at worst case blow
>> away your profile. But if your phone isn't starting most people would
>> be in trouble.
>>
>> But I agree this is something that we should try to figure out.
>
> It is impossible to brick an Android device (to a similar degree) via the
> UI, even using advanced settings and toggles?

As far as I know yes.

/ Jonas
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to