Closed Bug 784602 Opened 12 years ago Closed 12 years ago

dom.identity.enabled pref missing from about:config

Categories

(Core Graveyard :: Identity, defect)

16 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla18

People

(Reporter: jaws, Assigned: joejoevictor)

References

Details

(Whiteboard: [good first bug][mentor=jaws][lang=js])

Attachments

(1 file, 3 obsolete files)

The patch for bug 753239 references a pref, dom.identity.enabled, that is missing from /modules/libpref/src/init/all.js.

The patch also added 'toolkit.identity.debug', which should be added as well.

These prefs should be added to all.js so they will be visible in about:config.
Thank you for the email, Jared. Can I start working on this?
Go for it! :)
Assignee: nobody → joejoevictor
Status: NEW → ASSIGNED
Attached patch patch for bug 784602 (obsolete) — Splinter Review
I put those two prefs at the end of the file. I'm not really sure it's the right place though. Should those two prefs be set to true by default?
Attachment #656657 - Flags: review?(jaws)
Comment on attachment 656657 [details] [diff] [review]
patch for bug 784602

The bottom of the file seems fine to me. I think both of these prefs should be false by default. Please remove the added comment, and make sure to keep a newline at the end of the file.

When you upload your next version of the patch, please request review from mnoorenberghe+bmo@mozilla.com
Attachment #656657 - Flags: review?(jaws) → review-
Attached patch patch for bug 784602 (obsolete) — Splinter Review
Attachment #656657 - Attachment is obsolete: true
Attachment #656664 - Flags: review?(jaws)
Attachment #656664 - Flags: review?(jaws) → review?(mnoorenberghe+bmo)
Comment on attachment 656664 [details] [diff] [review]
patch for bug 784602

Review of attachment 656664 [details] [diff] [review]:
-----------------------------------------------------------------

::: modules/libpref/src/init/all.js
@@ +3689,5 @@
>  // Disable idle observer fuzz, because only privileged content can access idle
>  // observers (bug 780507).
>  pref("dom.idle-observers-api.fuzz_time.disabled", true);
> +
> +pref("dom.identity.enabled", false);

Since identity UI only exists for the desktop browser, I don't think there's much value in exposing this pref for all Gecko-based apps because flipping it would be a footgun that would break all Persona sites.  We can move the dom.identity.enabled pref to browser/app/profile/firefox.js so it's only for Firefox. Leaving the debug pref here is fine.
Attachment #656664 - Flags: review?(mnoorenberghe+bmo) → review-
Attached patch patch for bug 784602 (obsolete) — Splinter Review
No wonder there are not showing in the about:config in firefox. So what's the chrome url for modifying the prefs in all.js?
Attachment #656664 - Attachment is obsolete: true
Attachment #656675 - Flags: review?(mnoorenberghe+bmo)
Comment on attachment 656675 [details] [diff] [review]
patch for bug 784602

Review of attachment 656675 [details] [diff] [review]:
-----------------------------------------------------------------

(In reply to Zuhao(Joe) Chen from comment #7)
> No wonder there are not showing in the about:config in firefox. So what's
> the chrome url for modifying the prefs in all.js?

You need to rebuild libpref for the changes:  make -C modules/libpref/ from your obj. dir.
Attachment #656675 - Flags: review?(mnoorenberghe+bmo) → review+
(In reply to Matthew N. [:MattN] from comment #8)
> Comment on attachment 656675 [details] [diff] [review]
> patch for bug 784602
> 
> Review of attachment 656675 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> (In reply to Zuhao(Joe) Chen from comment #7)
> > No wonder there are not showing in the about:config in firefox. So what's
> > the chrome url for modifying the prefs in all.js?
> 
> You need to rebuild libpref for the changes:  make -C modules/libpref/ from
> your obj. dir.

I see. Thank you. :)
Thanks for the patch.

Can you set the commit message on the patch to follow the guidelines here: https://developer.mozilla.org/en-US/docs/Developer_Guide/Committing_Rules_and_Responsibilities#Commit_message_restrictions

ie. 

Bug 784602 - Add identity prefs to about:config. r=MattN

Then you can set the flag "checkin?" on that new version.
Attachment #656675 - Attachment is obsolete: true
Attachment #656685 - Flags: checkin?(mnoorenberghe+bmo)
Attachment #656685 - Flags: checkin?(mnoorenberghe+bmo) → checkin+
https://hg.mozilla.org/mozilla-central/rev/ed82d3fb789c
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: