Commit Graph

54 Commits

Author SHA1 Message Date
Bianca Danforth
1d47e6db22 Bug 1465704 - Add follow_urlbar_link event telemetry for Savant Shield study; r=adw
These probes will register and record (for the duration of the study only):
* When the user clicks on a history link displayed by the urlbar
* When the user clicks on a bookmark link displayed by the urlbar

It should be noted that the same site can be multiple result types at the same time, so there will be times when a bookmark and/or history selection is captured as a result type other than bookmark or history (e.g. 'switchtab', 'autofill' or 'visiturl').

MozReview-Commit-ID: FEKVoaTIkiH
2018-06-06 03:51:01 -07:00
Bianca Danforth
6b9192f98c Bug 1462725 - Dupe 'search' event probe under 'savant' category; r=rhelmer
The duplication is so that this study’s use of the probe does not affect and is not affected by other uses of the probe.

MozReview-Commit-ID: 5JUbiQdZc3R
2018-06-04 16:19:51 -07:00
Kris Maglione
fd7e9e6a69 Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY
2018-04-22 20:55:06 -07:00
Boris Zbarsky
47f9a4d9f2 Bug 1455052 part 12. Remove JS uses of nsIDOMEvent. r=masayuki,kmag
MozReview-Commit-ID: 5g0H3rzxTXt
2018-04-20 12:55:31 -04:00
Marco Bonardo
0bb0a7711b Bug 1452890 - Move address bar right-click selection from 'enterSelection' to its own histogram bucket. r=adw
MozReview-Commit-ID: AcP7Spl0sdZ
2018-04-13 16:11:19 +02:00
Boris Zbarsky
aec275fadf Bug 1446711 part 8. Get rid of nsIDOMMouseEvent. r=qdot
MozReview-Commit-ID: 2FK1MA4LGZj
2018-03-20 00:16:07 -04:00
Marco Bonardo
6a7873575a Bug 1437803 - Add telemetry to understand how many users use TAB to cycle through Address Bar results. r=adw,dzeber
MozReview-Commit-ID: 6zdiIoxVIn1
2018-02-27 18:13:59 +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
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
Myk Melez
7662487b19 Bug 1414386 - ensure BrowserUsageTelemetry is inited before uniniting it; r=mak 2017-11-06 10:43:25 -08:00
Michael Kaply
baa26a596b Bug 1378461 - Report other search engine names. r=mak, data-r=rweiss 2017-09-06 17:36:07 -05:00
Sebastian Hengst
bf1ece6362 Backed out changeset 9018e3691e11 (bug 1378461) for failing browser-chrome's browser_oneOffContextMenu.js. r=backout 2017-09-07 00:26:17 +02:00
Michael Kaply
3413e9e91b Bug 1378461 - Report other search engine names. r=mak, data-r=rweiss 2017-09-06 15:11:25 -05:00
Sebastian Hengst
07e74f6e23 Backed out changeset ed1101844eea (bug 1381460) for eslint failure at browser/modules/test/browser/browser_UsageTelemetry_content.js:148: 'getSearchCountsHistogram' is not defined. r=backout 2017-08-21 18:27:57 +02:00
Andrei Oprea
b8b479b738 Bug 1381460 - Add telemetry search event for Activity Stream. r=Dexter data-r=bsmedberg
MozReview-Commit-ID: GLbDNLglvDY
2017-08-05 17:59:49 +02:00
Lie Ryan
49d59484f2 Bug 1361855 - Filter TAB_COUNT histogram to record only on 5 minute intervals; r=Gijs
MozReview-Commit-ID: F5mI1eiffWN
2017-06-16 12:48:19 +00:00
Lie Ryan
f7ebb4cfca Bug 1361855 - Update tab count on page load and other URL changes; r=Gijs
MozReview-Commit-ID: gKqdEHI3M1
2017-06-11 19:28:20 +00:00
Lie Ryan
5a0a276ffe Bug 1361855 - Record TAB_COUNT histogram during TabOpen event; r=Gijs
MozReview-Commit-ID: 7ZHakmLZYHu
2017-06-09 18:40:24 +00:00
Lie Ryan
6beac6fc1b Bug 1361855 - Add helper function BrowserUsageTelemetry:_recordTabCount(); r=Gijs
MozReview-Commit-ID: B6IRJ904bCr
2017-06-11 19:27:02 +00:00
Florian Quèze
1d00fbfcc5 Bug 1355492 - delay initialization of BrowserUsageTelemetry and BrowserUITelemetry until after we are done restoring the previous session, r=mconley. 2017-07-15 00:16:31 +02:00
Sebastian Hengst
a1e759a614 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Drew Willcoxon
01cf26a2ce Bug 1334615 - Add a probe to determine whether the keyboard or the mouse was used to select an action. r=bsmedberg,mak
MozReview-Commit-ID: G3K2l6jnCR8
2017-04-14 17:27:51 -07:00
Panos Astithas
014c6e1eaf Add an index-per-type histogram for awesomebar results (bug 1345834). data-review=bsmedberg r=adw,bsmedberg
MozReview-Commit-ID: HxqENFSYcJy
2017-04-05 17:51:41 +03:00
Gijs Kruitbosch
fb9ea4d4cf Bug 1347271 - log preloaded top sites in telemetry and update their naming, r=mak
MozReview-Commit-ID: 6q2H01aa42s
2017-03-22 13:23:15 +00:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Quèze
c8cf49999e Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Jared Wein
0ec522d5b6 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Florian Quèze
b36a8b8f42 Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00
Mark Banner
99dfbe8da3 Bug 1308420 - Move nsBrowserGlue.js _handleURLBarTelemetry() into BrowserUsageTelemetry. r=mak
MozReview-Commit-ID: AYNeNyoCwoG
2016-12-07 13:45:56 +00:00
Sebastian Hengst
5734cc8a1a Backed out changeset 7f69f45a0025 (bug 1308420) for failing browser_UsageTelemetry_urlbar.js on Linux x64 asan. 2016-12-20 13:07:39 +01:00
Mark Banner
5971606f4b Bug 1308420 - Move nsBrowserGlue.js _handleURLBarTelemetry() into BrowserUsageTelemetry. r=mak
MozReview-Commit-ID: AYNeNyoCwoG
2016-12-07 13:45:56 +00:00
Georg Fritzsche
c1f2b329ba Bug 1316281 - Part 2 - Record search event in Telemetry. r=dexter,mak data-review=rweiss 2016-12-02 12:17:12 +01:00
Phil Ringnalda
6f651bae70 Backed out 5 changesets (bug 1316281, bug 1316810) for ASan failures in UsageTelemetry tests
Backed out changeset 2c711bb8e373 (bug 1316281)
Backed out changeset b3ea1334c33a (bug 1316281)
Backed out changeset 823e118b3fad (bug 1316281)
Backed out changeset 84e97301a8c9 (bug 1316810)
Backed out changeset f98ddece4b12 (bug 1316810)

MozReview-Commit-ID: 5tR2v8NWxQW
2016-12-01 07:46:00 -08:00
Georg Fritzsche
e024f4ea37 Bug 1316281 - Part 2 - Record search event in Telemetry. r=dexter,mak data-review=rweiss 2016-12-01 14:57:32 +01:00
Alessio Placitelli
04e29f3000 Bug 1318333 - Fix SEARCH_COUNTS not counting one-off searches. r=mak
MozReview-Commit-ID: 2HTJBzbpUK2
2016-11-21 04:56:00 -05:00
Dave Townsend
12596ced47 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Alessio Placitelli
8e4ca110fc Bug 1314650 - Fix the "Unknown source for one-off search: urlbar" error when doing one-off searches. r=mak
MozReview-Commit-ID: 1N6q98hki4n
2016-11-03 11:21:00 +08:00
Alessio Placitelli
97b854f648 Bug 1303333 - Implement the probe to count URI loads triggered by search. r=mak, data-review=rweiss
MozReview-Commit-ID: 3toynbrFeLP
2016-10-28 23:13:00 +02:00
Alessio Placitelli
d7fcffbd43 Bug 1304647 - Measure the number of total URIs visited in a "session fragment", without any filtering. r=gijs, data-review=rweiss
MozReview-Commit-ID: 8L18SKeeM7F
2016-10-18 01:58:00 +02:00
Alessio Placitelli
b82eea39b6 Bug 1304446 - Move |recordSearchInTelemetry| to BrowserUsageTelemetry.jsm. r=mak
MozReview-Commit-ID: 3OWlz5alrsj
2016-10-07 03:48:00 +02:00
Sebastian Hengst
fc223961dc Backed out changeset 82c63072cba7 (bug 1304446) for browser-chrome bustages, e.g. browser_aboutHome.js | histogram with key should be recorded - false == true. r=backout 2016-10-05 20:24:27 +02:00
Alessio Placitelli
754572bdf4 Bug 1304446 - Move |recordSearchInTelemetry| to BrowserUsageTelemetry.jsm. r=mak
MozReview-Commit-ID: 3OWlz5alrsj
2016-10-05 07:06:00 +02:00