Commit Graph

103 Commits

Author SHA1 Message Date
Yoshi Huang
ed167f46dc Bug 1263496 - Part 1: fix for @mozilla.org/nullprincipal;1 r=bholley
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=@mozilla.org/nullprincipal;1&redirect=true
2016-04-27 18:37:58 +08:00
Blair McBride
2533b1926b Bug 1263804 - Remove last references to Metrics.jsm. r=gijs 2016-04-18 23:09:13 +12:00
Dave Townsend
17d8a23b3f Bug 1257246: Update browser for eslint 2. r=felipe
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: DEskVIjiKDM
2016-04-05 11:33:33 -07:00
Georg Fritzsche
3917093edb Bug 1255745 - Make Experiments AsyncShutdown state data more useful. r=dexter
* Make Experiments AsyncShutdown state add the time to the log entries.
* Fix other AsyncShutdown state issues.
* We were not adding forensic log entries of ExperimentEntry before, added that to be able to narrow this down more.
* This also increases the forensic log a bit to account for the additional entries and removes some unneeded big data addition to the logging.
2016-03-17 14:03:49 +01:00
Alessio Placitelli
a198fedd63 Bug 1245544 - Fix the indentation in Experiments.jsm. r=gfritzsche 2016-03-04 06:09:00 +01:00
Alessio Placitelli
5a203d6bbe Bug 1245544 - Telemetry experiments aren't expiring historical data properly. r=gfritzsche 2016-03-04 09:55:00 +01:00
Dave Townsend
a215a4a95a Bug 1245649: Turn on no-extra-semi. r=markh 2016-02-03 17:27:36 -08:00
Alessio Placitelli
17332dc9a7 Bug 1234490 - Remove the Experiments FHR provider. r=gps 2015-12-23 00:41:00 +01:00
Georg Fritzsche
f951985cf8 Bug 1218266 - Harden against AsyncShutdown timeouts in Experiments.jsm. r=mossop 2015-11-03 14:26:13 +01:00
Gijs Kruitbosch
29b2aee9c4 Bug 1233492 - make browser/experiments eslintable, r=felipe 2015-12-17 19:42:24 +00:00
Alessio Placitelli
53d2df3641 Bug 1217282 - Experiments are enabled even when telemetry is disabled. r=gfritzsche 2015-12-04 09:49:00 +01:00
Mark Banner
bee3c47f76 Bug 1228628 - Add a minimal .eslintrc configuration for browser and start linting a few browser files with basic rules. r=Mossop 2015-11-30 11:42:25 +00:00
Phil Ringnalda
c82c1940e5 Back out 343223ce6b34 (bug 1228628) for Experiments xpcshell bustage
CLOSED TREE
2015-11-27 20:55:17 -08:00
Mark Banner
08204dfd4e Bug 1228628 - Add a minimal .eslintrc configuration for browser and start linting a few browser files with basic rules. r=Mossop 2015-11-27 22:37:38 +00:00
Carsten "Tomcat" Book
036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst
190bccea7d Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Shu-yu Guo
a021cebc10 Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Tooru Fujisawa
ef91bc4c88 Bug 1207490 - Part 7: Remove use of expression closure from browser/experiments/. r=Gijs 2015-09-21 02:26:17 +09:00
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
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
Benjamin Smedberg
531c5fdb30 Bug 1151086 - Fix experiment filter functions to use the new telemetry environment, r=gfritzsche 2015-06-23 14:56:11 -04:00
Georg Fritzsche
9799167041 Bug 1139460 - Bonus: Remove unused function from experiments code. rs=yoric 2015-03-19 15:50:09 +01:00
Wes Kocher
444b4ec633 Backed out 14 changesets (bug 1143714, bug 1143796, bug 1139751, bug 1139460, bug 1140558) for Win PGO xpcshell failures
Backed out changeset d2567d89cda3 (bug 1139751)
Backed out changeset a8edee74d07f (bug 1139751)
Backed out changeset 613fd260f646 (bug 1143796)
Backed out changeset 7a6f6bdd6edf (bug 1143796)
Backed out changeset fdf9d0174142 (bug 1143714)
Backed out changeset 18989d1ebd43 (bug 1140558)
Backed out changeset a4f545b715ae (bug 1140558)
Backed out changeset b2e92f548736 (bug 1140558)
Backed out changeset a082c774db0a (bug 1140558)
Backed out changeset f9f66f6aaa86 (bug 1139460)
Backed out changeset d8b62b11c43e (bug 1139460)
Backed out changeset 77090798e88c (bug 1139460)
Backed out changeset ea6da072eb0c (bug 1139460)
Backed out changeset 58c2eb92a959 (bug 1139460)
2015-04-01 20:52:33 -07:00
Georg Fritzsche
07b9763f93 Bug 1139460 - Bonus: Remove unused function from experiments code. rs=yoric 2015-03-19 15:50:09 +01:00
David Rajchenbach-Teller
d5874d42c9 Bug 1087110 - Don't update experiments manifests if no experiment is running. r=gfritzsche 2015-03-10 13:36:17 +01:00
Alessio Placitelli
8f8fe5b317 Bug 1123384 - Move Telemetry main ping implementation out of TelemetryPing.jsm. r=gfritzsche 2015-01-22 12:23:00 +01:00
Benjamin Smedberg
2e55478d3f Bug 1115040 - Record experiment branch in crash reports, r=gfritzsche 2014-12-23 12:21:14 -05:00
Irving Reid
9b0e733b5c Bug 1059674 - use AsynchShutdown.blocker() for AddonManager provider shutdown; r=unfocused 2014-09-27 16:25:47 -04:00
Georg Fritzsche
4a61fbb982 Bug 1064470 - Increase the experiments forensic log buffer size again. r=bsmedberg 2014-09-15 15:28:33 +02:00
Benjamin Smedberg
c750b15340 Bug 1012924 - Experiments should cancel their XMLHttpRequest on shutdown, and should also set a reasonable timeout on them, r=gfritzsche 2014-09-01 15:26:07 +02:00
Benjamin Smedberg
e8af050622 Bug 1054397 - automated test for the racy while setting experiment branches, followup to bug 1052545 and bug 1038174, r=gfritzsche 2014-08-28 10:25:05 -04:00
Benjamin Smedberg
8a2a33c024 Bug 1012924 diagnostics - increase the log length to 10, r=gfritzsche 2014-08-20 13:07:28 -04:00
Benjamin Smedberg
8450f3ea58 Bug 1052545 - Telemetry experiment branches are not saved correctly: we set the _dirty flag correctly, but then don't write the cache, r=gfritzsche 2014-08-14 16:21:15 -04:00
Georg Fritzsche
40d78cb9d8 Bug 1048793 - Remove Experiments CertUtils usage as PublicKeyPinningService already provides the same functionality. r=mmc 2014-08-08 14:14:22 +02:00
Georg Fritzsche
cef7f9fa55 Bug 1046910 - TypeError: this._experiments is null at Experiments.Experiments.prototype._getState. r=ttaubert 2014-08-01 14:38:45 +02:00
Steven MacLeod
5efb1ec87a Bug 1038174 - Prevent a race condition when writing the experiments cache. r=gfritzsche
We now mark the experiments cache as clean before writing the cache.
This means that any changes to the data between collecting it and when
the actual write executes will properly mark the cache as dirty.
2014-07-24 17:21:03 -04:00
Qeole
55e77f5d46 Bug 1040761 - Re-add state info for experiments async shutdown blocker from bug 1012924. r=gfritzsche 2014-07-25 13:40:17 +02:00
Alexandre Poirot
6188942e57 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Qeole
046c2fa897 Bug 1032970 - Stopping maxStartTime from incorrectly disabling experiments which have already started. r=gfritzsche 2014-07-18 16:53:20 +02:00
Georg Fritzsche
45eb231580 Bug 1012466 - Test cleanups. r=bsmedberg 2014-07-09 15:17:36 +02:00
Georg Fritzsche
370339b3c5 Bug 1012466 - Properly synchronize experiments shutdown with the AddonManager by using its shutdown barrier. r=bsmedberg 2014-07-08 17:36:24 +02:00
Benjamin Smedberg
327d1d30d5 Bug 1031326 - Fix experiment cache upgrade: the cache data is a raw JSObject, not a map. r=gfritzsche 2014-06-27 13:44:21 -04:00
Benjamin Smedberg
a80017a81c Bug 1017806 followup: include the branch data in the public API and therefore in FHR 2014-06-25 18:11:55 -04:00
Benjamin Smedberg
1adca680f9 Bug 1017806 - Record and report on optional branches of experiments, so that each experiment doesn't have to re-invent data collection. r=gfritzsche 2014-06-25 15:16:13 -04:00
Felipe Gomes
2897f2c268 Bug 1028612 - Options for jsfilter sandbox unused. r=gfritzsche 2014-06-22 21:25:15 -03:00
Georg Fritzsche
803b5d6763 Bug 1021002 - Fix telemetry experiments jsfilter evaluation. r=bsmedberg 2014-06-13 14:50:10 +02:00
Carsten "Tomcat" Book
38549e84bc Merge mozilla-central to fx-team 2014-05-16 14:33:31 +02:00
Georg Fritzsche
a43214f2af Bug 1005270 - Trigger experiments initialization on opening the addon manager UI. r=bsmedberg 2014-05-16 12:56:25 +02:00