Commit Graph

277 Commits

Author SHA1 Message Date
Jan-Erik Rediger
007155e280 Bug 1278920 - Remove payload.simpleMeasurements.js. r=dexter
`getJSEngineTelemetryValue` was changed to return nothing in Bug 1409187 already.
2018-04-06 02:55:00 -04:00
Jan-Erik Rediger
0da631208c Bug 1443600 - Remove legacy Telemetry component childPayloads r=chutten 2018-04-04 08:06:00 +03:00
Jan-Erik Rediger
d7e6592082 Bug 1443605 - Stop reporting legacy Telemetry component UITelemetry r=chutten 2018-04-03 02:34:00 +03:00
Jan-Erik Rediger
d6213123f3 Bug 1443603 - Stop sending saved-session pings from Firefox Desktop r=chutten 2018-03-19 15:44:53 +01:00
Coroiu Cristina
603972ee16 Backed out changeset a8c4f87b7c3d (bug 1443605) for browser-chrome failures at browser/components/uitour/test/browser_UITour_registerPageID.js on a CLOSED TREE 2018-03-22 01:16:36 +02:00
Jan-Erik Rediger
5e8371cb61 Bug 1443614 - Stop reporting legacy Telemetry component Telemetry Log. r=chutten 2018-03-20 11:34:14 +01:00
Jan-Erik Rediger
aedd86279c Bug 1443605 - Stop reporting legacy Telemetry component UITelemetry. r=chutten 2018-03-20 14:22:52 +01:00
Peter Van der Beken
75d03ab497 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz. 2018-03-01 20:19:56 +01:00
Chris H-C
cf6b0ff8e5 Bug 1439222 - Stop recording VSIZE_MAX_CONTIGUOUS on Win64. r=erahm
MozReview-Commit-ID: 8Tjz3tfwGfw
2018-03-20 06:09:00 +02:00
Jan-Erik Rediger
945dd22e80 Bug 1443599 - Stop reporting legacy Telemetry component childPayloads. r=chutten 2018-03-19 11:33:25 +01:00
Dhi Aurrahman
27a86f4e07 Bug 918557 - Remove TelemetryPing's histogram cache. r=chutten 2018-03-05 23:11:47 +07:00
Margareta Eliza Balazs
5c509b6a11 Backed out changeset f26ab4fb6ab1 (bug 918557) fo ES lint failure in /builds/worker/checkouts/gecko/toolkit/components/telemetry/TelemetrySession.jsm:1191:7 on a CLOSED TREE 2018-03-05 17:41:03 +02:00
Dhi Aurrahman
a2a447e2e4 Bug 918557 - Remove TelemetryPing's histogram cache. r=chutten 2018-03-03 11:44:53 +07:00
Sebastian Hengst
500c4f7ad2 Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)
2018-03-01 11:51:09 +02:00
Florian Quèze
5715aadbec Bug 1433175 - more aggressive scripted patch to replace remaining Components.classes, Components.interfaces, Components.utils and Components.results uses with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:35 +01:00
Mark Banner
0f7796144a Bug 1440761 - Enable no-unused-vars for global scope on jsm files in toolkit/. r=mossop
MozReview-Commit-ID: 7Okqmw5dBcL
2018-02-23 19:25:59 +00:00
Peter Van der Beken
972562411b Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz. 2018-02-22 20:22:29 +01:00
Florian Quèze
f1a55f73f8 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Dorel Luca
9260b212cd Backed out 6 changesets (bug 888600) for Valgrind and build bustge on a CLOSED TREE
Backed out changeset 7c8317f4ad48 (bug 888600)
Backed out changeset 5b990735f1ad (bug 888600)
Backed out changeset 9eafe225b804 (bug 888600)
Backed out changeset 16af80d6cd93 (bug 888600)
Backed out changeset a109987af625 (bug 888600)
Backed out changeset 0949dba396ad (bug 888600)
2018-02-22 13:56:43 +02:00
Peter Van der Beken
5fb60d9c57 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz. 2017-11-23 16:27:27 +01:00
Jared Wein
db0a992247 Bug 1436575 - Autofix errors from no-compare-against-boolean-literal. r=standard8
MozReview-Commit-ID: 66sXxnOWDgw
2018-02-08 12:57:31 -05:00
Andrew McCreight
272cee1e65 Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Kris Maglione
0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Chris H-C
541c1a772a bug 1432809 - Remove ancient ThirdPartyCookieProbe.jsm r=Dexter
It seems as though pre-Firefox 40 we did a proto-experiment about what a world
without 3rd-party cookies would look like. Near as I can tell, we never looked
at the results of this exploration.

We have much better experimentation and data exploration techniques now that
would allow us to do something better than this, easier. So at least there's
that.

MozReview-Commit-ID: KaOyB87YjGA
2018-01-24 10:51:32 -05:00
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Alessio Placitelli
e24412e896 Bug 1393801 - Enable dynamic scalar registration. f=gfritzsche,r=billm,chutten
MozReview-Commit-ID: JlRk7hLV5QD
2017-08-29 13:05:40 +02:00
Chris H-C
b76441c907 Bug 1391531 - Make TelemetrySession idle callbacks cancellable. r=Dexter
TelemetrySession schedules some activities on idle, to avoid hogging resources.
Sometimes we're forced to handle these situations on a more rigid timeline than
"wait for idle". In those cases we should cancel the idle timeout so it doesn't
double-perform the operations.

Unfortunately idleDispatchToMainThread doesn't have a cancel mechanism, so we
need to bolt one over it.

MozReview-Commit-ID: JpUfb9rK2Od
2017-09-13 13:24:31 -04:00
Kris Maglione
cbac5bbd3b Bug 1391707: Follow-up: Skip idle dispatch during tests in TelemetrySession.jsm for increasing the failure rate of an intermittent. r=me
MozReview-Commit-ID: CT6qLG0edG9
2017-09-11 18:48:53 -07:00
Anthony Miyaguchi
27fa9d8684 Bug 1390095 - Send a duplicate of a users first shutdown ping with pingsender. r=Dexter 2017-09-05 17:49:45 -07:00
Chris H-C
eabcba7afb bug 1376600 - Remove registered(Keyed)Histograms r=Dexter
With the removal of the old addonHistograms, all histograms are now registered.
So removing registered(Keyed)Histograms should be straightforward?

Unfortunately not, as this was how we filtered data based on dataset
(opt-in/opt-out), so a little more fiddling was needed to get C++ to only
serialize dataset-appropriate data (instead of post-facto filtering it in JS).

MozReview-Commit-ID: HDplhmzmzJl
2017-08-22 09:42:09 -04:00
Michael Layzell
c115daf948 Bug 1380081 - Part 3: Remove the ThreadHangStats object and related code, r=froydnj
MozReview-Commit-ID: EtrktVmc3vP
2017-08-15 16:34:21 -04:00
Michael Layzell
44ff47a4a4 Bug 1380081 - Part 1: Remove getChildThreadHangs, r=chutten
This is the first part of purging the existing telemetry code for
ThreadHangStats from the tree. All of these features will be replaced with new
code for BHR telemetry in the future.

MozReview-Commit-ID: BhD5zY2LwUR
2017-08-15 16:34:18 -04:00
Wes Kocher
d292002f8c Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2YvHbITn9w3
2017-08-10 18:25:34 -07:00
Kris Maglione
0fb6b2e73c Bug 1388215: Part 3 - Use JIT-friendly defineLazy*Getters methods when defining many lazy imports. r=florian
MozReview-Commit-ID: APoFwUhDFdj
2017-08-09 13:03:36 -07:00
Anthony Miyaguchi
6d8a08b3d0 Bug 1376605 - Refactor process payload assembly. r=gfritzsche 2017-08-07 19:09:04 +02:00
Georg Fritzsche
9385f14125 Bug 1302681 - Part 1: Extend Event Telemetry core for recording from addons. r=dexter
To cut down on complexity, we don't require specifying any expiry versions.
Given that these events will be recorded non-persistently from off-train add-ons, they can be expired by shipping new add-on releases.

We also start to use the new "record on release" terminology here instead of opt-in/opt-out, but are not changing the internal functionality yet.

Technically, this is implemented by keeping a separate registry for the dynamic event information.
Built-in & dynamic events are tracked with separate numeric ids, so introduce a common identifier for both, an EventKey.
For actual event storage, the events are treated the same as built-in events. They are simply bucketed into the 'dynamic' process storage.
This approach ends up duplicating code paths that use the event info, but keeps a single implementation for recording, storage & serialization.
2017-08-03 07:03:00 -04:00
Rajesh Kathiriya
fefc455410 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Marco Castelluccio
743dd2e0c8 Bug 1357517 - Remove Preferences.jsm usage from some Telemetry files. r=Dexter 2017-07-31 01:32:31 +02:00
Alessio Placitelli
0a2700b5f6 Bug 1381490 - Enable sending the shutdown ping with the pingsender on the first session. r=gfritzsche
This will land behind a preference, initially turned off, with the possibility to easily enable it.

MozReview-Commit-ID: InND8Pv35I1
2017-07-26 05:55:00 +02:00
Alejandro Rodriguez Salamanca
2159befb94 Bug 1382192 - Use the prefs defined in TelemetryUtils.jsm in TelemetrySession.jsm. r=dexter 2017-07-24 07:09:00 +02:00
Chris H-C
43ee3b33fc bug 1366294 - Part 7 - Use keyed histogram snaphots to build payloads. r=gfritzsche
TelemetrySession's getKeyedHistograms asks for each keyed histogram
individually. This is inefficient and doesn't work well with the storage
refactor.

So, plumb through a subsession keyed histogram snapshot API and convert
TelemetrySession over to using it.

MozReview-Commit-ID: Af9dTqw99UA
2017-07-24 09:52:26 -04:00
Chris H-C
1c9b6f562a bug 1366294 - Part 5 - Send appropriately-structured Telemetry data to JS r=gfritzsche
Previously we were doing bad string manipulation nonsense. Now when asked for
snapshots C++ can return a properly-formated Object tree.

MozReview-Commit-ID: HAvIbgzUvMU
2017-07-24 09:52:26 -04:00
Sebastian Hengst
7327aea819 Backed out changeset f80a1985bca7 (bug 1366294) 2017-07-21 15:20:01 +02:00
Sebastian Hengst
2a03d84910 Backed out changeset ccf043ec6160 (bug 1366294) 2017-07-21 15:19:51 +02:00
Chris H-C
33ff890ee6 bug 1366294 - Part 7 - Use keyed histogram snaphots to build payloads. r=gfritzsche
TelemetrySession's getKeyedHistograms asks for each keyed histogram
individually. This is inefficient and doesn't work well with the storage
refactor.

So, plumb through a subsession keyed histogram snapshot API and convert
TelemetrySession over to using it.

MozReview-Commit-ID: Af9dTqw99UA
2017-07-21 08:41:44 -04:00
Chris H-C
2410a94b1e bug 1366294 - Part 5 - Send appropriately-structured Telemetry data to JS r=gfritzsche
Previously we were doing bad string manipulation nonsense. Now when asked for
snapshots C++ can return a properly-formated Object tree.

MozReview-Commit-ID: HAvIbgzUvMU
2017-07-21 08:41:44 -04:00