(In reply to Anant Narayanan [:anant] from comment #0)
> The pref is not visible via about:config and has to be created manually at
> the moment.
Can we have a bug for making this visible in the desktop webrt?

(In reply to Jason Smith [:jsmith] from comment #2)
> (In reply to Anant Narayanan [:anant] from comment #0)
> > The pref is not visible via about:config and has to be created manually at
> > the moment.
>
> Can we have a bug for making this visible in the desktop webrt?
Or we could just implement it here along with the desktop firefox changes.

Is there a reason not to use all.js instead and include it everywhere?
I too dislike trailing spaces but we usually don't fix them in unrelated changes because your changeset will look obscure and it will change the blame making it harder to find the original bug where those lines were added.

anant: can you address Felipe's comments and repost? Also, if there any other peers who can review this patch, let's add them as possible reviewers since people using nightlies are getting tripped up looking for the pref, and felipe's away, and may not get to this bug this week even when he gets back.

On a fresh firefox profile, I am seeing media.navigator.enabled set to false in the prefs, so the firefox piece works here. However, the web runtime piece does not work - checking prefs.js shows no evidence of the media.navigator.enabled pref at all.
Any ideas?

(In reply to Jason Smith [:jsmith] from comment #10)
> On a fresh firefox profile, I am seeing media.navigator.enabled set to false
> in the prefs, so the firefox piece works here. However, the web runtime
> piece does not work - checking prefs.js shows no evidence of the
> media.navigator.enabled pref at all.
>
> Any ideas?
prefs.js in the webapprt/defaults/preferences folder are overrides/additions to the prefs defined by all.js. The runtime first loads all.js and then prefs.js. So the pref is not supposed to show up in that file, but if you load about:config inside the webapprt you'll see that media.navigator.enabled is present. (I just did this and verified that the pref is there)