Commit Graph

1204 Commits

Author SHA1 Message Date
Lina Cambridge
7bbe383805 Bug 1635662 - Manage the ecosystem client ID in telemetry. r=chutten
This commit adds a new ecosystem client ID to `ClientID.jsm`. It's
handled the same way as a regular telemetry client ID, in that it's a
random UUID that's persisted to disk, and reset together with the
client ID. Unlike the main client ID, we don't cache it in prefs.

Additionally:

* `setClientID` has been renamed to `setCanaryClientIDs`, and
  automatically sets the main and ecosystem client IDs to the canary
  (known) ID. It's no longer possible to set either client ID to a
  specific value, but only test code did this.
* `resetClientID` has been renamed to `removeClientIDs`, and clears
  both client IDs. It no longer returns the new ID; instead, consumers
  should call `getClientID` or `getEcosystemClientID` after.
* The ecosystem client ID is included in the `deletion-ping`.

Differential Revision: https://phabricator.services.mozilla.com/D84233
2020-07-28 01:39:11 +00:00
Csoregi Natalia
a20681e657 Backed out changeset bb8a399944a5 (bug 1635662) for failures on test_client_id.js. CLOSED TREE 2020-07-25 01:47:11 +03:00
Lina Cambridge
fb44aca644 Bug 1635662 - Manage the ecosystem client ID in telemetry. r=chutten
This commit adds a new ecosystem client ID to `ClientID.jsm`. It's
handled the same way as a regular telemetry client ID, in that it's a
random UUID that's persisted to disk, and reset together with the
client ID. Unlike the main client ID, we don't cache it in prefs.

Additionally:

* `setClientID` has been renamed to `setCanaryClientIDs`, and
  automatically sets the main and ecosystem client IDs to the canary
  (known) ID. It's no longer possible to set either client ID to a
  specific value, but only test code did this.
* `resetClientID` has been renamed to `removeClientIDs`, and clears
  both client IDs. It no longer returns the new ID; instead, consumers
  should call `getClientID` or `getEcosystemClientID` after.
* The ecosystem client ID is included in the `deletion-ping`.

Differential Revision: https://phabricator.services.mozilla.com/D84233
2020-07-24 20:35:58 +00:00
Nihanth Subramanya
66c464cd31 Bug 1643187 - Update Storage Access API prompt to not declare that the third party is a tracker. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D84248
2020-07-21 11:26:36 +00:00
Marco Bonardo
e624a6c0f4 Bug 1653611 - Make UrlbarProvider.cancelQuery optional. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D83974
2020-07-17 19:55:30 +00:00
Dave Townsend
0fc9bd7549 Bug 1653345: Expose more detailed item identifiers for interactions with the menu bar. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D83846
2020-07-16 20:40:17 +00:00
Dave Townsend
9321c20c08 Bug 1652487: Escape widget identifiers before using them as CSS selectors. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D83713
2020-07-16 16:50:01 +00:00
Harry Twyford
c212582ba0 Bug 1645521 - Part 2 - Allow for multiple heuristic providers and enable ProviderHeuristicFallback. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D80293
2020-07-12 17:35:01 +00:00
Csoregi Natalia
35775918c2 Backed out 6 changesets (bug 1650099, bug 1647881, bug 1645521, bug 1645324) for causing Bug 1652024.
Backed out changeset f66c5cce9088 (bug 1650099)
Backed out changeset bf67c2159244 (bug 1645324)
Backed out changeset 76d81e1e728b (bug 1645521)
Backed out changeset ab3766fa81f9 (bug 1645521)
Backed out changeset ff56bb6cbfb7 (bug 1645521)
Backed out changeset aceb6f9acf3b (bug 1647881)
2020-07-12 17:58:28 +03:00
Harry Twyford
df6a5c4a05 Bug 1645521 - Part 2 - Allow for multiple heuristic providers and enable ProviderHeuristicFallback. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D80293
2020-07-09 05:02:49 +00:00
Kris Maglione
9bddbcfdd1 Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Cosmin Sabou
ae49550934 Backed out 5 changesets (bug 1650099, bug 1645521, bug 1645324) as requested by harry for causing bug 1652024.
Backed out changeset 93abbd32c314 (bug 1650099)
Backed out changeset 366f7bfe267c (bug 1645324)
Backed out changeset b92a18e970ee (bug 1645521)
Backed out changeset d57d3a47b1ad (bug 1645521)
Backed out changeset 41e4a6353913 (bug 1645521)
2020-07-11 02:03:18 +03:00
Harry Twyford
4055ec777f Bug 1645521 - Part 2 - Allow for multiple heuristic providers and enable ProviderHeuristicFallback. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D80293
2020-07-09 05:02:49 +00:00
Mark Banner
7ce8343947 Bug 1632448 - Remove now unused confirm and extensionID parameters for nsISearchService.addEngine, and rename it. r=daleharvey
Renaming to addOpenSearchEngine to make it more explicit about what it is actually doing.

Depends on D82524

Differential Revision: https://phabricator.services.mozilla.com/D82525
2020-07-09 09:56:25 +00:00
Dorel Luca
0c0d3734e9 Backed out 5 changesets (bug 1647881, bug 1645521, bug 1645324) for BC failures in urlbar/tests/browser/browser_autocomplete_a11y_label.js. CLOSED TREE
Backed out changeset 65f908569875 (bug 1645324)
Backed out changeset 3080a3cacd0a (bug 1645521)
Backed out changeset d32236f070bf (bug 1645521)
Backed out changeset 579362aab769 (bug 1645521)
Backed out changeset 2b306b83c0d1 (bug 1647881)
2020-07-09 07:57:42 +03:00
Harry Twyford
5048f86e3c Bug 1645521 - Part 2 - Allow for multiple heuristic providers and enable ProviderHeuristicFallback. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D80293
2020-07-09 02:12:33 +00:00
julianwels
54caed8826 Bug 1644456 - Manage HTTPS-Only Mode permission with SitePermissions interface. r=necko-reviewers,pbz,dragana
Differential Revision: https://phabricator.services.mozilla.com/D79427
2020-07-08 12:06:02 +00:00
Razvan Maries
e0476b392d Bug 1619835 - Disabled browser_urlBar_zoom.js on Windows 10. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D82256
2020-07-04 08:15:22 +00:00
Csoregi Natalia
a23c846016 Backed out 9 changesets (bug 1619953) for causing leaks. CLOSED TREE
Backed out changeset 9f610c8c44de (bug 1619953)
Backed out changeset 4e66983a4f00 (bug 1619953)
Backed out changeset 38aac5691967 (bug 1619953)
Backed out changeset 062c0c9b132f (bug 1619953)
Backed out changeset 830eb658d70e (bug 1619953)
Backed out changeset fccda4625d51 (bug 1619953)
Backed out changeset 4668c99560de (bug 1619953)
Backed out changeset 77c24528c8c2 (bug 1619953)
Backed out changeset b79dc688bfc9 (bug 1619953)
2020-07-02 17:58:57 +03:00
ssengupta
c1da89c39d Bug 1619953 - P9 - Test browser_ContentSearch.js disabled for linux64debug when fission not enabled r=baku
This is done because the test always suffers from shutdown leaks after the changes in Bug 1619953, which make the stream acquired during the test asynchronous.

Differential Revision: https://phabricator.services.mozilla.com/D81861
2020-07-02 13:38:56 +00:00
Emma Malysz
e0df299294 Bug 1648639, remove containers, help view, and developer panels from main view and place in template r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D81257
2020-06-30 22:40:15 +00:00
Butkovits Atila
34bed92925 Backed out changeset 3c400bb0cd01 (bug 1648639) for bc failures on browser_panel_keyboard_navigation.js. 2020-06-30 21:35:06 +03:00
Emma Malysz
7a023f33ea Bug 1648639, remove containers, help view, and developer panels from main view and place in template r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D81257
2020-06-30 15:11:00 +00:00
Dave Townsend
3209678f57 Bug 1648251: Running browser_UsageTelemetry_interaction.js a second time fails due to automatic opening of the extension's sidebar. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80979
2020-06-24 22:47:12 +00:00
Dave Townsend
5d92670422 Bug 1647762: Strip add-on identifiers from keyboard shortcut interaction telemetry. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80915
2020-06-24 17:43:20 +00:00
Drew Willcoxon
5eb2c44695 Bug 1632105 - Implement dynamic result types. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D71921
2020-06-23 19:14:43 +00:00
Marco Bonardo
fa2922832b Bug 1644907 - Fix intermittent failure due to not passing the appropriate window to syntehsize methods. r=adw
Also cleans up some test boilerplate:
1. avoid waitForFocus passing in urlbar tests
2. avoid useless window.gSomething
3. avoid useless UrlbarTestUtils imports

Differential Revision: https://phabricator.services.mozilla.com/D80082
2020-06-23 07:59:27 +00:00
Dave Townsend
4b134e74e8 Bug 1620358: Gather telemetry on toolbar state. r=Gijs,zombie
Differential Revision: https://phabricator.services.mozilla.com/D78393
2020-06-16 21:06:15 +00:00
Mark Banner
5cb11d557e Bug 1630050 - Don't notify about changes to search engine icons before the search engine has been initialised and added to the list. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D78861
2020-06-12 14:15:30 +00:00
Barret Rennie
7a2e7ac8dd Bug 1640080 - Correctly retrieve inner window ID in numberOfSiteOriginsPerDocument telemetry tests r=nika
It turns out that we sometimes do not get a `OnLocationChange` event from the
BrowserChild when navigating to an `about:blank` document from an initial
`about:blank`. We then would not have the `innerWindowID` set on the
`<xul:browser>`. Now we retrieve the `innerWindowId` from the `<browser>`'s
current window global.

Additionally, we were running into some timeouts due to intermittently not
receiving a `OnStateChange` event for `STATE_STOP`. Because we waiting for this
event, the test would time out sometimes.

Differential Revision: https://phabricator.services.mozilla.com/D79199
2020-06-11 21:40:45 +00:00
Emma Malysz
94857cc341 Bug 1634046: lazy load invalid form, date/time picker, and autoscroll panels and popups by placing in templates. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D75971
2020-06-03 15:44:03 +00:00
Harry Twyford
b2e5795fb1 Bug 1627989 - Remove the browser.urlbar.openViewOnFocus pref. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D76247
2020-05-27 16:46:43 +00:00
Harry Twyford
fdb875cd69 Bug 1634279 - Allow accessing the TopSites feed even if Top Sites are hidden on the new tab page. r=dao,thecount,mixedpuppy
Creates a new pref, "...activity-stream.feeds.system.topsites" to control whether TopSitesFeed is enabled. The existing "...activity-stream-feeds.topsites" pref is kept to allow users to downgrade and to ensure that people who disabled Top Sites in the past will continue to not see Top Sites on the New Tab Page -- the difference being that Top Sites will now be generated for those users.

Differential Revision: https://phabricator.services.mozilla.com/D75603
2020-05-27 16:38:03 +00:00
Drew Willcoxon
418b31ee95 Bug 1640289 - Fix failure on late beta and release by getting the correct index of the form history result. r=mak
The private search result is shown in Nightly but not otherwise. The test is
failing because it expects the private search result to be at index 1 and the
form history result to be at index 2, but the form history is actually at index 1.
The test just needs to get the right index. There's another part of the test
that clicks a remote suggestion, but it's not affected because the search
happens to match a couple of history results, so the private search result isn't
shown even on Nightly.

Differential Revision: https://phabricator.services.mozilla.com/D76585
2020-05-25 15:51:15 +00:00
Barret Rennie
64a77d9fe9 Bug 1603185 - Collect per tab unique site origin telemetry r=Dexter,Gijs,nika
Top-level content WindowGlobalParents now keep track of the site origins of the
documents in their document tree. When the WindowGlobalParent is torn down, the
maximum of the number of unique site origins is submitted for telemetry.

Differential Revision: https://phabricator.services.mozilla.com/D71493
2020-05-22 00:34:17 +00:00
Drew Willcoxon
03881f56fa Bug 1398416 - Part 3: Implement form history results. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D75685
2020-05-21 19:31:27 +00:00
Barret Rennie
65e8d62ee3 Bug 1634508 - Record telemetry about number of loaded tabs r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D73763
2020-05-15 19:00:50 +00:00
Dorel Luca
67d39e16c3 Backed out changeset b04d0b734c52 (bug 1634508) for Browser-chrome failures in modules/test/browser/browser_UsageTelemetry.js. CLOSED TREE 2020-05-15 02:12:25 +03:00
Barret Rennie
9cfa91fe16 Bug 1634508 - Record telemetry about number of loaded tabs r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D73763
2020-05-14 19:17:14 +00:00
Tom Tung
cbbb019dfe Bug 1628240 - Add a test to ensure the quota storages for the same host but with different host are removed; r=johannh,dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D71715
2020-04-28 16:57:40 +00:00
jayati
a8f9eaaa6c Bug 1633770 - Remove unnecessary loop in ContentSearchUIController._updateDefaultEngineIcon.r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D73091
2020-05-04 10:49:15 +00:00
Noemi Erli
de11c8a24d .Backed out 3 changesets (bug 1628240) for causing geckoview failures CLOSED TREE
Backed out changeset 6fc159a53fab (bug 1628240)
Backed out changeset 6f0ed8b711fd (bug 1628240)
Backed out changeset 4c685e21c33d (bug 1628240)
2020-04-28 19:55:08 +03:00
Tom Tung
0934507c09 Bug 1628240 - Add a test to ensure the quota storages for the same host but with different host are removed; r=johannh,dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D71715
2020-04-28 16:00:12 +00:00
Drew Willcoxon
d88de4b8ed Bug 1628926 - Remove the browser.urlbar.oneOffSearches pref. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D70921
2020-04-16 00:00:55 +00:00
Arthur Iakab
51f239e00a Backed out changeset 0c8a5b5094b6 (bug 1628926) for Eslint failure on UrlbarView.jsm
CLOSED TREE
2020-04-16 01:38:49 +03:00
Drew Willcoxon
0b703a560d Bug 1628926 - Remove the browser.urlbar.oneOffSearches pref. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D70921
2020-04-15 08:56:16 +00:00
Neil Deakin
9e6c7f01b4 Bug 1614738, convert ContentSearch to be a JSWindowActor, r=adw
Differential Revision: https://phabricator.services.mozilla.com/D68237
2020-04-11 23:10:45 +00:00
William Durand
c283359ee5 Bug 1489430 - Add "Remove Extension" context menu item for pageAction. r=robwu,mstriemer,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D69831
2020-04-08 14:18:53 +00:00
Dão Gottwald
6c448c34cd Bug 1627969 - Remove the megabar pref. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D70023
2020-04-08 19:04:24 +00:00
jayati
6b2718e03b Bug 1622730 - Support file:// principals for the site permission setting.r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D68970
2020-04-01 14:02:22 +00:00