Commit Graph

9 Commits

Author SHA1 Message Date
Dave Townsend
f657500ff0 Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
2015-09-14 11:04:19 -07:00
Wes Kocher
69b522405d Backed out 3 changesets (bug 1192924) for Android bustage CLOSED TREE
Backed out changeset 30d612836685 (bug 1192924)
Backed out changeset a6860f880e01 (bug 1192924)
Backed out changeset 10e1fa2cc23a (bug 1192924)
2015-09-22 11:02:55 -07:00
Dave Townsend
eef8701d19 Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
2015-09-14 11:04:19 -07:00
Georg Fritzsche
ae1c477d27 Bug 1205833 - Don't log an error if we did not store any datareporting policy notify date yet. r=dexter 2015-09-18 13:17:16 +07:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Georg Fritzsche
700f11e02f Bug 1191461 - Don't report an error if the dataSubmissionPolicyNotifiedTime pref was not set yet. r=margaret 2015-08-18 14:15:47 +02:00
Alessio Placitelli
36335461dd Bug 1191336 - Part 2 - Don't trigger the datachoices infobar when checking if user is allowed to upload. r=gfritzsche 2015-08-07 07:01:00 +02:00
Alessio Placitelli
2677b316b0 Bug 1137355 - Add test coverage for the Data Choices notification bar in Telemetry. r=gfritzsche 2015-06-26 16:31:00 +02:00
Alessio Placitelli
92ef1cca67 Bug 1137355 - Refactor the logic to show TelemetryInfobar in TelemetryInfobarController. r=gfritzsche 2015-06-26 16:31:00 +02:00