Closed
Bug 784602
Opened 13 years ago
Closed 13 years ago
dom.identity.enabled pref missing from about:config
Categories
(Core Graveyard :: Identity, defect)
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)
1.55 KB,
patch
|
MattN
:
checkin+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•13 years ago
|
||
Thank you for the email, Jared. Can I start working on this?
Reporter | ||
Comment 2•13 years ago
|
||
Go for it! :)
Assignee: nobody → joejoevictor
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•13 years ago
|
||
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)
Reporter | ||
Comment 4•13 years ago
|
||
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-
Assignee | ||
Comment 5•13 years ago
|
||
Attachment #656657 -
Attachment is obsolete: true
Attachment #656664 -
Flags: review?(jaws)
Assignee | ||
Updated•13 years ago
|
Attachment #656664 -
Flags: review?(jaws) → review?(mnoorenberghe+bmo)
Comment 6•13 years ago
|
||
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-
Assignee | ||
Comment 7•13 years ago
|
||
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 8•13 years ago
|
||
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+
Assignee | ||
Comment 9•13 years ago
|
||
(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. :)
Comment 10•13 years ago
|
||
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.
Assignee | ||
Comment 11•13 years ago
|
||
Attachment #656675 -
Attachment is obsolete: true
Attachment #656685 -
Flags: checkin?(mnoorenberghe+bmo)
Comment 12•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ed82d3fb789c
Try results: https://tbpl.mozilla.org/?tree=Try&rev=fbe522587fcc
Flags: in-testsuite-
Updated•13 years ago
|
Attachment #656685 -
Flags: checkin?(mnoorenberghe+bmo) → checkin+
Comment 13•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•