[Mozilla Enterprise] Comments in policies.json?

Eddie Rowe eddie.rowe at tdhca.state.tx.us
Fri Sep 20 19:52:14 UTC 2019


My experience was putting a couple of lines at the top of the file caused the entire file to not be read.  Settings that were working before just stopped working such as the not participating in studies and not providing telemetry magically became enabled and turned on in the user interface.

From: Mike Kaply <mkaply at mozilla.com>
Sent: Friday, September 20, 2019 1:50 PM
To: Eddie Rowe <eddie.rowe at tdhca.state.tx.us>
Cc: Mozilla.org <enterprise at mozilla.org>
Subject: Re: [Mozilla Enterprise] Comments in policies.json?

Unfortunately JSON doesn't support comments.

You can at invalid entries if you want and it will still parse fine.

"Homepage_Comment": "some text"

Mike

On Fri, Sep 20, 2019, 2:41 PM Eddie Rowe <eddie.rowe at tdhca.state.tx.us<mailto:eddie.rowe at tdhca.state.tx.us>> wrote:
If I put the same type of comment line in the policies.json that I have in the in the autoconfig.js, Firefox does not process the file.  Is there no option for putting comments in this file?

// This line is a comment line.  https://support.mozilla.org/en-US/kb/customizing-firefox-using-policiesjson<https://urldefense.proofpoint.com/v2/url?u=https-3A__support.mozilla.org_en-2DUS_kb_customizing-2Dfirefox-2Dusing-2Dpoliciesjson&d=DwMFaQ&c=2WwxlqHD_9GeHFEUsOHZXg&r=a0pF-r4VjZCyzB4zxbRDcONPyw-KRRoDiBPd4lDRky8&m=r0RDWLGr59rFFoEhGbZCbytUtBJ4ZXjR6X7nHj1dND0&s=t38UWCFjZLzdkN1nbnPBR3L9NAHmqXiI50UvJbu779A&e=>
_______________________________________________
Enterprise mailing list
Enterprise at mozilla.org<mailto:Enterprise at mozilla.org>
https://mail.mozilla.org/listinfo/enterprise<https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.mozilla.org_listinfo_enterprise&d=DwMFaQ&c=2WwxlqHD_9GeHFEUsOHZXg&r=a0pF-r4VjZCyzB4zxbRDcONPyw-KRRoDiBPd4lDRky8&m=r0RDWLGr59rFFoEhGbZCbytUtBJ4ZXjR6X7nHj1dND0&s=FJWxT2Wt6Fsl9MuLNkR-d2ugzJm2ZbeWhQrZknf1JVE&e=>

To unsubscribe from this list, please visit https://mail.mozilla.org/listinfo/enterprise<https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.mozilla.org_listinfo_enterprise&d=DwMFaQ&c=2WwxlqHD_9GeHFEUsOHZXg&r=a0pF-r4VjZCyzB4zxbRDcONPyw-KRRoDiBPd4lDRky8&m=r0RDWLGr59rFFoEhGbZCbytUtBJ4ZXjR6X7nHj1dND0&s=FJWxT2Wt6Fsl9MuLNkR-d2ugzJm2ZbeWhQrZknf1JVE&e=> or send an email to enterprise-request at mozilla.org<mailto:enterprise-request at mozilla.org> with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/enterprise/attachments/20190920/60460b87/attachment.html>


More information about the Enterprise mailing list