Closed Bug 1098077 Opened 10 years ago Closed 10 years ago

Add support for a non-default about:config pref to disable the HTTPS requirement for FxA server URLs

Categories

(Firefox :: Firefox Accounts, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 37

People

(Reporter: ckarlof, Assigned: ckarlof)

Details

Attachments

(2 files, 4 obsolete files)

Otherwise local dev testing with Sync is a PITA.
Attached file user.js (obsolete) —
Attachment #8521890 - Attachment is obsolete: true
Attachment #8535902 - Flags: review?(mhammond)
Attached file user.js (obsolete) —
Attachment #8521891 - Attachment is obsolete: true
Comment on attachment 8535902 [details] [diff] [review]
0001-Bug-1098077-Add-pref-to-disable-HTTPS-requirement-fo.patch

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

::: services/fxaccounts/FxAccounts.jsm
@@ +857,5 @@
>    },
>  
> +  _requireHttps: function() {
> +    let requireHttps = true;
> +    try {

I'd probably prefer the pref be named id.fxa.allowHttp and *not* be written to firefox.js, just to avoid the temptation of "power users" thinking it might be OK to toggle this.

If you feel strongly though, I'm OK with this - r+ either way (I don't really need to see a new patch if you take my suggestion - just ship it ;)
Attachment #8535902 - Flags: review?(mhammond) → review+
Arrggh. I guessed wrong. The old patch used have it as allowHttp, but I decided to change it for some reason.
r+ from markh carried over.
Attachment #8535902 - Attachment is obsolete: true
Attachment #8535924 - Flags: review+
Attached file user.js
Attachment #8535903 - Attachment is obsolete: true
Thanks Mark!
Assignee: nobody → ckarlof
QA Contact: kthiessen
https://hg.mozilla.org/mozilla-central/rev/cfff678a046d
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
QA Contact: kthiessen
Product: Core → Firefox
Target Milestone: mozilla37 → Firefox 37
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: