Commit graph

1174 commits

Author SHA1 Message Date
Emilio Cobos Álvarez
471ea42d46 Bug 1695084 - Update persistent storage permission prompt. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D107058
2021-03-04 15:35:41 +00:00
Doug Thayer
db50f52ea7 Bug 1694229 - Update slow script warning visuals r=florian
This patch removes the wait button on the slow script warning, on the suspicion
that it is confusing to the user since it's redundant with the close button. It
also changes the text of the notification to blame the hanging tab.

Differential Revision: https://phabricator.services.mozilla.com/D106015
2021-02-27 18:22:32 +00:00
Mark Striemer
d6c06cd912 Bug 1686525 - Add home button to toolbar when custom homepage is set r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D105575
2021-02-26 00:17:45 +00:00
Mike Conley
d1abcdce20 Bug 1693851 - Fix some variety of tests so that they pass with and without Proton AppMenu enabled. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D106381
2021-02-25 23:43:08 +00:00
Bogdan Tara
d53cfe7369 Backed out 5 changesets (bug 1694229) by flod's request, lint failures CLOSED TREE
Backed out changeset cb3d9e8d32e6 (bug 1694229)
Backed out changeset 877471a44509 (bug 1694229)
Backed out changeset 286b311d32b2 (bug 1694229)
Backed out changeset 42cb688eae03 (bug 1694229)
Backed out changeset d082f53d882e (bug 1694229)
2021-02-25 22:43:33 +02:00
Doug Thayer
05360b505e Bug 1694229 - Update slow script warning visuals r=florian
This patch removes the wait button on the slow script warning, on the suspicion
that it is confusing to the user since it's redundant with the close button. It
also changes the text of the notification to blame the hanging tab.

Differential Revision: https://phabricator.services.mozilla.com/D106015
2021-02-25 19:59:14 +00:00
Brindusan Cristian
6f8f3d0e90 Backed out 5 changesets (bug 1694229) for geckoview failures. CLOSED TREE
Backed out changeset 5ce24c91b0c1 (bug 1694229)
Backed out changeset 7fef19f47442 (bug 1694229)
Backed out changeset a70e27ec7747 (bug 1694229)
Backed out changeset 6a5d472e1b05 (bug 1694229)
Backed out changeset d32085239f92 (bug 1694229)
2021-02-25 09:27:50 +02:00
Doug Thayer
a9fbe5527c Bug 1694229 - Update slow script warning visuals r=florian
This patch removes the wait button on the slow script warning, on the suspicion
that it is confusing to the user since it's redundant with the close button. It
also changes the text of the notification to blame the hanging tab.

Differential Revision: https://phabricator.services.mozilla.com/D106015
2021-02-25 04:14:12 +00:00
Neil Deakin
6328418209 Bug 1682442, prioritize tab unloader based on how many processes are used by a tab, how much memory is used by the tab, and whether sound/webrtc/picture in picture is in use for a tab, r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D99738
2021-02-25 00:56:15 +00:00
Nan Jiang
59c6a49f3a Bug 1693393 - add telemetry for sponsored TopSites in Urlbar r=dao,harry
Differential Revision: https://phabricator.services.mozilla.com/D105639
2021-02-24 16:57:27 +00:00
Neil Deakin
2c12c67037 Bug 1676943, add telemetry for how often tab or subframe crash ui is presented to the user. In addition, add telemetry to indicate that the user is shown the unsubmitted crashes notification bar, r=mconley
The telemetry is triggered either when the user is shown the tab crashed page, or when the subframe notification is displayed and the crash occurs in an active tab, or when the user switches to a tab that has a subframe crash notification displayed. The telemetry only applies the first time the tab is switched to. The unsubmitted crashes notification bar appears after 10 minutes or so and is shown in the top-most browser window, if one exists, and telemetry applies once when this occurs.

Differential Revision: https://phabricator.services.mozilla.com/D100349
2021-02-19 19:24:17 +00:00
Kris Maglione
9fe7658168 Bug 1652839: Re-enable browser_UnsubmittedCrashHandler.js for Fission/non-QR. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D105074
2021-02-18 00:14:38 +00:00
Marco Bonardo
be29ddf67e Bug 1692218 - Add Page Action Menu use counter prefs. r=harry
Also includes:
https://bugzilla.mozilla.org/show_bug.cgi?id=1692216
https://bugzilla.mozilla.org/show_bug.cgi?id=1692215

Differential Revision: https://phabricator.services.mozilla.com/D105033
2021-02-12 20:58:18 +00:00
Mark Banner
263d555274 Bug 1608272 - Remove 'this' as the second argument to 'ChromeUtils.import', use object destructuring instead (test-only changes). r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D104683
2021-02-11 22:02:15 +00:00
Barret Rennie
ba22e83fc5 Bug 1689261 - Remove TIME_TO_LOAD_EVENT_{START,END}_{NO_,}PRELOAD_MS probes r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D104786
2021-02-11 18:21:05 +00:00
Mark Banner
269a6fbae9 Bug 1690750 - Simplify OpenSearchEngine to only allow loading engines from protocols where users can load them from. r=mak
The urls where an OpenSearch engine can be loaded from are already limited in LinkHandlerChild. This is cleaning up and simplifying what the OpenSearchEngine allows, and as a result allows the load path handling to be greatly simplified.

The test changes are due to no longer allowing chrome or file protocols. For future, we probably want to move away from OpenSearch for most of these, but the changes will make it easier to find the places to update.

Differential Revision: https://phabricator.services.mozilla.com/D104010
2021-02-10 18:12:08 +00:00
Gijs Kruitbosch
8f27ee7561 Bug 1689462 - don't check for beforeunload on hung content processes, r=florian
Differential Revision: https://phabricator.services.mozilla.com/D104043
2021-02-08 23:50:20 +00:00
Adam Gashlin
b8a327219f Bug 1660198 - Part 2: Record installation telemetry event. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D103242
2021-01-30 00:00:26 +00:00
Drew Willcoxon
75c1e7b412 Bug 1688786 - Add a browser.urlbar.showSearchSuggestionsFirst pref. r=mak,preferences-reviewers
Introduce a new `browser.urlbar.showSearchSuggestionsFirst` boolean pref that
determines whether search suggestions are shown before general results.

This keeps the `matchBuckets` pref. I could have removed it since the only thing
we're using it for right now is to tell whether suggestions are shown first. The
reason I didn't remove it is because ultimately we do want a `matchBuckets` or
`resultBuckets` pref so we can experiment with different results compositions
using simple pref-flip studies. Hopefully bug 1676469 will land soon and we'll
replace `matchBuckets` with `resultBuckets`, but in the meantime I think we
should keep `matchBuckets` around.

This also removes some `browser.urlbar.matchBuckets` assignments in tests that
don't actually depend on it. For tests that do depend on it, I changed them so
they set `showSearchSuggestionsFirst` now.

Differential Revision: https://phabricator.services.mozilla.com/D103137
2021-01-28 23:23:16 +00:00
Mark Banner
9ef7551b55 Bug 1513680 - Remove remaining references to ContentSearch.jsm. r=daleharvey
Depends on D102226

Differential Revision: https://phabricator.services.mozilla.com/D102227
2021-01-22 08:31:03 +00:00
Emma Malysz
54a8c3feb4 Bug 1687703, add a preference to see if ctrl-tab is used r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D102496
2021-01-20 23:27:51 +00:00
Emma Malysz
81042d9206 Bug 1686766, add preference to track if user interacts with library button r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D102072
2021-01-18 15:39:11 +00:00
Neil Deakin
7ac9c1b816 Bug 1684792, open form validation popup anchored at screen coordinate as datetime picker and select do so that it is positioned correctly in out of process iframes, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D100803
2021-01-15 15:25:44 +00:00
Butkovits Atila
40d5f1493d Backed out changeset f866f5dc0058 (bug 1684792) for causing failure on browser/browser_edit.js. 2021-01-15 12:53:57 +02:00
Neil Deakin
1b03a29fb6 Bug 1684792, open form validation popup anchored at screen coordinate as datetime picker and select do so that it is positioned correctly in out of process iframes, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D100803
2021-01-15 00:15:17 +00:00
Razvan Maries
47ff84efca Backed out changeset f901a3b75b79 (bug 1684792) for perma failures on browser_edit.js. CLOSED TREE 2021-01-12 11:56:35 +02:00
Neil Deakin
094e640230 Bug 1684792, open form validation popup anchored at screen coordinate as datetime picker and select do so that it is positioned correctly in out of process iframes, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D100803
2021-01-11 20:11:41 +00:00
Mark Banner
6bfe97005a Bug 1685124 - Ensure search engine settings are saved before reloading engines. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D101032
2021-01-10 22:33:11 +00:00
Paul Zuehlcke
6504eeb882 Bug 1685306 - Enable dFPI MVP UI pref by default. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D100920
2021-01-08 16:32:52 +00:00
Andreea Pavel
42e394bf4f Bug 1680672 - disable browser_PermissionUI.js on win, linux and mac debug r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D100559
2021-01-05 14:23:45 +00:00
harry
303edf8ca4 Bug 1680019 - Split campaign IDs from the partnerlink.attributionURL pref. r=Standard8
This is a minimal set of changes to allow us to run the weather experiment. By splitting campaign IDs from the attributionURL pref, the weather extension can read the attributionURL pref and append its own CID. I didn't make any changes to the design of search engines or top sites; we met today and decided those needed more careful consideration before we make major changes to PartnerLinkAttribution.

Differential Revision: https://phabricator.services.mozilla.com/D100055
2020-12-21 18:42:46 +00:00
Butkovits Atila
127ca97821 Backed out changeset 6e58c931a044 (bug 1680019) for casuing failure at sandbox-navigation-timing.tentative.html. CLOSED TREE 2020-12-21 22:48:53 +02:00
harry
77c0f5d6cd Bug 1680019 - Split campaign IDs from the partnerlink.attributionURL pref. r=Standard8
This is a minimal set of changes to allow us to run the weather experiment. By splitting campaign IDs from the attributionURL pref, the weather extension can read the attributionURL pref and append its own CID. I didn't make any changes to the design of search engines or top sites; we met today and decided those needed more careful consideration before we make major changes to PartnerLinkAttribution.

Differential Revision: https://phabricator.services.mozilla.com/D100055
2020-12-21 18:42:46 +00:00
Marco Bonardo
63f7262ffb Bug 1665049 - Remove browser.urlbar.update2.oneOffsRefresh. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D99793
2020-12-18 09:58:17 +00:00
smolnar
d1d6af0ee7 Backed out 4 changesets (bug 1665049) for causing bustages in browser.ini CLOSED TREE
Backed out changeset fd06f6552ad0 (bug 1665049)
Backed out changeset 156a323cd31a (bug 1665049)
Backed out changeset 011f54945acb (bug 1665049)
Backed out changeset 028644c366d5 (bug 1665049)
2020-12-18 11:45:30 +02:00
Marco Bonardo
3e2f9d5ad0 Bug 1665049 - Remove browser.urlbar.update2.oneOffsRefresh. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D99793
2020-12-18 09:26:35 +00:00
Kartik Gautam
f7ffcd09fb Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-15 10:34:54 +00:00
Dorel Luca
7320ae982a Backed out changeset f3aaf04fce3b (bug 1679758) for Devtool failures in browser_styleeditor_syncAddProperty.js. CLOSED TREE 2020-12-13 16:38:21 +02:00
Kartik Gautam
caf549c200 Bug 1679758 - Remove trailing empty lines r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-13 13:28:30 +00:00
Andrei Oprea
7c89351d34 Bug 1639292 - Update max_concurrent_tab_pinned_count probe to record restored pinned tab count r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D98906
2020-12-08 12:17:13 +00:00
Mark Banner
5bfe12a2c4 Bug 1680735 - Rename SearchTelemetry to SearchSERPTelemetry. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D98791
2020-12-08 20:42:15 +00:00
Mark Banner
5cf95b6b27 Bug 1680735 - Move search specific telemetry out of BrowserUsageTelemetry.jsm into a new module. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D98753
2020-12-08 20:42:03 +00:00
Mike Conley
8195c35729 Bug 1680058 - Note a preference value when users use the Downloads, Accounts, Home or Sidebar button. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D99106
2020-12-08 19:08:32 +00:00
Mike Conley
100b70d8d8 Bug 1680734 - Update browser_ProcessHangNotifications to use right button count for plugin hangs. r=mossop
buttonCount has a different value depending on whether or not the build is MOZ_DEV_EDITION or
not, since we show an extra Debug button for script hangs in Developer Edition.

We do not show that extra button for plugin hangs, regardless of the build type, so we
shouldn't use buttonCount here.

Differential Revision: https://phabricator.services.mozilla.com/D98793
2020-12-04 17:44:22 +00:00
Dale Harvey
9740a695a6 Bug 1675624 - Persist engine metadata for inactive AppProvided engines r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D97283
2020-12-04 00:01:23 +00:00
Mike Conley
e748e4fc00 Bug 1232204 - Use AppConstants.MOZ_DEV_EDITION to detect DevEdition rather than using UpdateChannel. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D98258
2020-12-03 22:24:24 +00:00
Drew Willcoxon
e6cc468b9a Bug 1657790 - Allow local search mode buttons to be toggled separately from engines. r=mak,ntim
* Add prefs for each local search shortcut
* Remove the `update2.localOneOffs` pref since it's not necessary with the three
  new prefs
* Modify preferences UI by adding a new row in the engines tree for each local
  shortcut
* Add `UrlbarUtils.LOCAL_SEARCH_MODES` so we have a single place where local
  search modes and their properties are defined
* Add a new test file for the preferences UI
* Modify browser_oneOffs.js to test the three new preferences

Differential Revision: https://phabricator.services.mozilla.com/D97376
2020-11-20 22:35:08 +00:00
Harry Twyford
137940f2af Bug 1676250 - Stop overcounting urlbar.tips.tabtosearch_onboard-shown. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D97494
2020-11-19 21:55:02 +00:00
Micah Tigley
6e8947cd63 Bug 1535169 - Add telemetry counting total URIs including private browsing mode. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D96109
2020-11-14 00:11:36 +00:00
Nika Layzell
42028efc71 Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie
This method only is async in order to allow callers to wait for a process switch
triggered by the call to `loadURI` to be finished before resolving. With
DocumentChannel, we should never trigger a process switch eagerly like this
again, so we don't need any of the async behaviour here anymore.

This part is largely mechanical changes to tests, removing the `await` calls on
`loadURI`, and a follow-up part will remove the actual async logic from
`BrowserTestUtils.loadURI`.

Differential Revision: https://phabricator.services.mozilla.com/D94641
2020-11-12 18:01:03 +00:00
Harry Twyford
1035ee8d1d Bug 1675611 - Part 2 - Show tab-to-search onboarding results until they are interacted with three times. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D96905
2020-11-13 20:15:16 +00:00
Mark Banner
b804f5e4df Bug 1673758 - Search bar in the new tab page should show a default icon for non-app provided engines in all modes. r=daleharvey
Depends on D96744

Differential Revision: https://phabricator.services.mozilla.com/D96745
2020-11-12 19:05:36 +00:00
Mark Banner
85f86d5100 Bug 1676692 - Simplify browser_contentSearchUI.js and avoid the need for separate xml search engine definitions. r=daleharvey
Depends on D96743

Differential Revision: https://phabricator.services.mozilla.com/D96744
2020-11-12 18:54:46 +00:00
Kris Maglione
7ae9faa46f Bug 1651774: Update mozilla/use-services rule for native Services implementation. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D93858
2020-11-06 18:58:33 +00:00
Harry Twyford
57181de5e9 Bug 1675976 - Stop recording bogus data for some urlbar.picked.searchmode.* probes. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D96321
2020-11-09 19:18:51 +00:00
Harry Twyford
087a9c5df4 Bug 1674874 - Record telemetry for results picked in search mode. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D95796
2020-11-06 00:13:00 +00:00
Narcis Beleuzu
f4d84dca33 Backed out changeset 1c37a165ba43 (bug 1674874) for bc failure on browser_UsageTelemetry_urlbar_searchmode.js CLOSED TREE 2020-11-06 00:38:24 +02:00
Harry Twyford
caecbc9874 Bug 1674874 - Record telemetry for results picked in search mode. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D95796
2020-11-05 20:26:00 +00:00
Harry Twyford
6f560081d3 Bug 1674493 - Record number of tab-to-search onboarding impressions. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D95547
2020-11-05 11:28:47 +00:00
Razvan Maries
10425eddfc Backed out 7 changesets (bug 1658084, bug 1671983) for perma failures on browser_async_remove_tab.js and browser_e10s_chrome_process.js. CLOSED TREE
Backed out changeset 2e6309c1cdbd (bug 1658084)
Backed out changeset 99aafd9304ef (bug 1671983)
Backed out changeset 80280b85280a (bug 1671983)
Backed out changeset 008db2659002 (bug 1671983)
Backed out changeset 32bd45c7fe3a (bug 1671983)
Backed out changeset 56e227e6580c (bug 1671983)
Backed out changeset a404f809f79d (bug 1671983)
2020-11-04 04:23:47 +02:00
Nika Layzell
5f9c85da95 Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie
This method only is async in order to allow callers to wait for a process switch
triggered by the call to `loadURI` to be finished before resolving. With
DocumentChannel, we should never trigger a process switch eagerly like this
again, so we don't need any of the async behaviour here anymore.

This part is largely mechanical changes to tests, removing the `await` calls on
`loadURI`, and a follow-up part will remove the actual async logic from
`BrowserTestUtils.loadURI`.

Differential Revision: https://phabricator.services.mozilla.com/D94641
2020-11-04 00:55:36 +00:00
Harry Twyford
d77c6c3700 Bug 1671502 - Ensure tipShownCount.tabToSearch does not exceed tabToSearch.onboard.maxShown in browser_UsageTelemetry_urlbar_searchmode.js. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D95207
2020-11-02 15:06:55 +00:00
Marco Bonardo
5a339a3ea6 Bug 1671508 - Convert some urlbar histograms to scalars. r=harry
This converts FX_URLBAR_SELECTED_RESULT_TYPE_2, FX_URLBAR_SELECTED_RESULT_INDEX
and the correlation between them FX_URLBAR_SELECTED_RESULT_INDEX_BY_TYPE_2 to
keyed scalars, that are nicer to use and analyze.

They are converted to one keyed scalar per result type, tracking the number
of times that type was picked per urlbar index.
The sums (count per type or per index) can still be derived from this structure.

Differential Revision: https://phabricator.services.mozilla.com/D94498
2020-10-27 11:36:15 +00:00
Noemi Erli
be075f5263 Backed out changeset 670004b11778 (bug 1671502) for causing failures in browser_UsageTelemetry_urlbar_tabtosearch.js CLOSED TREE 2020-10-30 17:50:55 +02:00
Harry Twyford
b685b25cc8 Bug 1671502 - Ensure tipShownCount.tabToSearch does not exceed tabToSearch.onboard.maxShown in browser_UsageTelemetry_urlbar_searchmode.js. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D95207
2020-10-30 14:12:04 +00:00
pbz
90365df373 Bug 1565574 - Updated permission UI for protocol handler permission. r=Gijs,johannh
- Support for double keyed permission with delimiter
- Refactored gPermissionObject

Differential Revision: https://phabricator.services.mozilla.com/D92947
2020-10-29 13:44:11 +00:00
Dorel Luca
cfaedde161 Backed out 6 changesets (bug 1565574) as per dev's request. CLOSED TREE
Backed out changeset fbe972f837d9 (bug 1565574)
Backed out changeset 2852c526acd6 (bug 1565574)
Backed out changeset fa731b373f42 (bug 1565574)
Backed out changeset c7ed89a9afc7 (bug 1565574)
Backed out changeset 3e87d1b83069 (bug 1565574)
Backed out changeset 93955bcbaf4b (bug 1565574)
2020-10-29 12:55:28 +02:00
pbz
aba09946a0 Bug 1565574 - Updated permission UI for protocol handler permission. r=Gijs,johannh
- Support for double keyed permission with delimiter
- Refactored gPermissionObject

Differential Revision: https://phabricator.services.mozilla.com/D92947
2020-10-27 16:45:38 +00:00
Mark Banner
77e1109e9e Bug 699844 - Remove the live bookmark migrator as it is not needed now. r=mak,markh
Differential Revision: https://phabricator.services.mozilla.com/D93314
2020-10-26 12:32:52 +00:00
Jared Wein
3d2a8005c8 Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers,marionette-reviewers,whimboo
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-26 02:32:07 +00:00
Mihai Alexandru Michis
f11e661f24 Backed out changeset ba261cf25651 (bug 727668) for causing marionette failures in test_screenshot.py
CLOSED TREE
2020-10-22 06:13:54 +03:00
Jared Wein
e0e5f6bba3 Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-21 19:20:20 +00:00
Michael Goossens
df1c063991 Bug 1658828 - Change OS.File in BrowserUsageTelemetry and test with new IOUtils equivalent r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D94124
2020-10-20 18:31:00 +00:00
Narcis Beleuzu
8945877156 Backed out 1 changesets (bug 727668) for bc failures on browser_aboutNewTab_bookmarksToolbar.js . CLOSED TREE
Backed out changeset 5b6a14b4e16e (bug 727668)
2020-10-19 21:19:17 +03:00
Jared Wein
0e83701c0c Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-19 16:38:17 +00:00
Harry Twyford
8dd990259e Bug 1665934 - Part 3 - Add tab-to-search onboarding telemetry. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D93113
2020-10-15 16:29:13 +00:00
Mark Banner
38050cb59a Bug 1662556 - Extend test for search attributions for one-off buttons to search mode. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D93592
2020-10-15 15:03:38 +00:00
Butkovits Atila
e5807896fb Backed out 4 changesets (bug 1665934) as requested by Harry. CLOSED TREE
Backed out changeset 342354dfd594 (bug 1665934)
Backed out changeset 56946d59bf0a (bug 1665934)
Backed out changeset 1b03418a14f6 (bug 1665934)
Backed out changeset 8c1edb639aa6 (bug 1665934)
2020-10-15 15:26:00 +03:00
Harry Twyford
d0e8d7d1b3 Bug 1665934 - Part 3 - Add tab-to-search onboarding telemetry. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D93113
2020-10-15 11:19:17 +00:00
Emma Malysz
f58455e270 Bug 1670269, correctly initialize the page action panel in tests r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D93097
2020-10-09 16:49:36 +00:00
Mark Banner
633ab11df1 Bug 1511065 - Switch Search Provider telemetry probes to Remote Settings. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D92202
2020-10-09 16:41:34 +00:00
Michael Kaply
f82d5c549f Bug 1665237 - Make managed bookmarks item dynamic. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90628
2020-10-06 20:13:00 +00:00
julianwels
61a63adff5 Bug 1653026 - Added new HTTPS-Only Mode UI in site-identity panel and removed permission from list. r=flod,ewright,fluent-reviewers,desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D90332
2020-10-06 00:35:05 +00:00
Emma Malysz
4ddaa9986e Bug 1634042, Part 2: lazify page action panel r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D91187
2020-10-06 00:40:51 +00:00
Brindusan Cristian
2a9b39efce Backed out 2 changesets (bug 1653026) for mochitest failures at WindowGlobalParent.cpp. CLOSED TREE
Backed out changeset 54c69c99b241 (bug 1653026)
Backed out changeset e70649f78910 (bug 1653026)
2020-10-03 10:49:04 +03:00
julianwels
f35178a9bc Bug 1653026 - Added new HTTPS-Only Mode UI in site-identity panel and removed permission from list. r=flod,ewright,fluent-reviewers,desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D90332
2020-10-02 21:11:46 +00:00
Dorel Luca
f348e0a63d Backed out changeset d4c1abcfbba0 (bug 1634042) for Browser-chrome failures in browser/base/content/test/touch/browser_menu_touch.js. CLOSED TREE 2020-10-02 02:50:31 +03:00
Emma Malysz
7fb79b4804 Bug 1634042, Part 2: lazify page action panel r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D91187
2020-10-01 15:00:55 +00:00
Harry Twyford
e51e1ee06f Bug 1647923 - Add tab-to-search telemetry. r=adw
This adds tab-to-search telemetry, both for the new tabtosearch search mode entry point and for tabtosearch results in our usual Urlbar result-selection scalars. I also added a subtest in browser_urlbar_event_telemetry, but realized as I was writing it that it was not useful. We don't consider entering search more as the end of an engagement, so tab-to-search results will not appear in event telemetry. We already considered this in bug 1654680 and resolved it by adding detailed urlbar.searchmode.* scalars, so I don't consider it a blocker. I left the new subtest in since it was mostly done anyways and it can't hurt.

Differential Revision: https://phabricator.services.mozilla.com/D91469
2020-09-29 21:21:44 +00:00
Csoregi Natalia
f21850ca45 Backed out changeset 0798aa08c2cb (bug 1634042) for failures on browser_menu_touch.js. CLOSED TREE 2020-09-30 09:47:33 +03:00
Emma Malysz
254dec264a Bug 1634042, Part 2: lazify page action panel r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D91187
2020-09-29 22:09:09 +00:00
Marco Bonardo
04fc7ba215 Bug 1658629 - Update heuristic action when cycling through local one-offs with a search string. r=adw,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D91574
2020-09-29 10:07:08 +00:00
Harry Twyford
27650ea6ff Bug 1657414 - Support search mode in the Touch Bar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D91077
2020-09-25 20:45:48 +00:00
Harry Twyford
4515b74439 Bug 1665076 - Call setSearchMode directly from search(), fix search mode handoff, and introduce new search mode probes. r=adw
This patch calls setSearchMode directly from search(). This sets up a solution for the problem in the bug and also fixes the issue where a call to search() with a restriction token would flicker the token before it was replaced with the search mode indicator. I added new tabmenu and bookmarkmenu entry points to take advantage of this new functionality.

This also fixes the issues with handoff. Besides the problem of search() recording typed for handoff, `handoff` wasn't even registered as a Telemetry probe! That was my mistake. I added a test for handoff telemetry. It was only practical to test it in PBM since it uses a different implementation than about:home that's easier to test. I wrote a lengthy comment above the subtest about why I think this is okay.

Differential Revision: https://phabricator.services.mozilla.com/D91076
2020-09-25 20:45:33 +00:00
Razvan Maries
7979196254 Backed out changeset 2b2e72856dc1 (bug 1665237) for perma failures on browser_popupNode.js. CLOSED TREE 2020-09-25 06:03:12 +03:00
Michael Kaply
baf3127120 Bug 1665237 - Make managed bookmarks item dynamic. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90628
2020-09-22 20:08:17 +00:00
Marco Bonardo
227392af30 Bug 1664760 - Improve the set of results when in search mode for a non-general search engine. r=adw
- always show search suggestions first in search mode
  - use restyleSearches only in search mode, to get cleaner history results and dedupe against search history
  - filter redirects differently depending on restyleSearches

Differential Revision: https://phabricator.services.mozilla.com/D90719
2020-09-23 08:26:06 +00:00
Csoregi Natalia
9d16fe7e4d Backed out changeset 034825cf1c71 (bug 1665237) for multiple failures e.g. browser_1007336_lwthemes_in_customize_mode.js. CLOSED TREE 2020-09-22 21:48:53 +03:00
Michael Kaply
63434c4e40 Bug 1665237 - Make managed bookmarks item dynamic. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90628
2020-09-22 15:51:42 +00:00
Barret Rennie
f74cb16fd0 Bug 1657188 - Implement rel=preload load time telemetry r=Dexter,emilio,nika
Differential Revision: https://phabricator.services.mozilla.com/D86074
2020-09-14 21:03:52 +00:00
Razvan Maries
90b7948378 Backed out 2 changesets (bug 1663963, bug 1657188) for perma failures on browser_Telemetry_loadTimePreload.js. CLOSED TREE
Backed out changeset 643f16da7b99 (bug 1657188)
Backed out changeset 0c9661a5c8f9 (bug 1663963)
2020-09-10 03:48:48 +03:00
Barret Rennie
423307263a Bug 1657188 - Implement rel=preload load time telemetry r=Dexter,emilio,nika
Differential Revision: https://phabricator.services.mozilla.com/D86074
2020-09-09 21:44:48 +00:00
Michael Kaply
ac05a3c153 Bug 1498688 - Add ManagedBookmarks policy. r=fluent-reviewers,emalysz,Standard8,flod
Differential Revision: https://phabricator.services.mozilla.com/D76009
2020-09-08 20:09:35 +00:00
Drew Willcoxon
6d6402fb4e Bug 1658964 - Convert local restriction chars to search mode and make other improvements to search mode. r=harry
Summary of major changes:

* Bookmarks, history, and tabs restriction chars now enter search mode. I added
  a method to UrlbarProviderHeuristicFallback to return a result with a keyword
  when one of these is used.
* This fixes other bugs like recognizing aliases that are entered at the
  beginning of non-empty search strings, and not quasi-re-entering search mode
  when search mode is already entered and you type another alias.
* The heuristic now determines whether we enter search mode, similar to how it
  also determines whether we autofill. When the heuristic has a keyword but no
  keyword offer, and the keyword is one of the recognized search mode keywords,
  then we enter search mode, cancel the current query, and start a new query
  with the remainder of the search string after the keyword.
* I slightly changed how we detect an alias, but only when update2 is
  enabled. Now, an alias must be followed by a space; otherwise, the alias is
  not recognized and instead just remains part of the seach string. Because if
  we don't do that, then you end up in a strange situation after typing an alias
  but before pressing space: The heuristic says "Search with <engine with the
  alias>", but we haven't entered search mode yet because you haven't typed a
  space yet. This is true for both @aliaes and non-@aliases.
* A consequence of the previous point is that we can still autofill @aliases
  with a trailing space, which IMO is important. Then, once the user types any
  char (space or not), we immediately enter search mode with the query being
  whatever char they typed. This is less important after bug 1658605 landed, but
  it's still good to have.
* Previously, `UrlbarView.onQueryResults` called UrlbarInput in order to
  autofill after the first result is received. This is circuitous becaue the
  input already has an `onFirstResult` method, which I now use to enter search
  mode when appropriate. So I moved the autofill call from UrlbarView to
  `UrlbarInput.onFirstResult`.
* As I mentioned, I improved some test framework and simplified some related
  product (non-test) code. For example:
    * I removed `UrlbarUtils.KEYWORD_OFFER.NONE` in favor of just leaving
      `keywordOffer` as `undefined`.
    * `tailOffsetIndex` can now be `undefined` if it's not relevant.
    * I removed empty-string `icon` properties from payloads in favor of
      `undefined`.
    * In tests, I ignore `undefined` but present properties in payloads so they
      don't count when comparing payloads with `deepEqual`.
    * We weren't previously comparing `result.source` and `result.type` in
      xpcshell tests, and that's important IMO, so I added checks for those and
      updated tests.
    * `isSearchHistory` is redundant, so I removed it. For form history, we
      should be checking `result.source == HISTORY` and `result.type == SEARCH`.
* A bunch of tests needed to be updated for this new behavior.

Differential Revision: https://phabricator.services.mozilla.com/D87944
2020-09-02 00:52:12 +00:00
Harry Twyford
63344f5398 Bug 1654680 - Add telemetry for search mode. r=adw
Summary of changes:
1. Adds an `entry` property to the searchMode object to tag how search mode was entered.
2. Introduces `urlbar.searchmode.*` scalars.  These scalars are suffixed with an entry point into search mode, for example `urlbar.searchmode.oneoff`, or `urlbar.searchmode.topsites_urlbar`. Those entry points tell us how search mode is entered most often. The keys for these scalars are strings describing what kind of search mode was entered. In most cases, this will be the name of a search engine, like "Google", or "DuckDuckGo". It may also be one of "history", "bookmarks", or "tabs". We only collect the names of engines that are bundled with Firefox. If the user enters search mode with an engine they installed themselves, we record "other" as the key.
3. Adds a urlbar-searchmode SAP to SEARCH_COUNTS.
4. Adds a browser.engagement.navigation.urlbar_searchmode probe.
5. Adds a urlbar_searchmode SAP to the navigation.search event.

Differential Revision: https://phabricator.services.mozilla.com/D87510
2020-09-02 15:08:50 +00:00
Mark Banner
9748a2783a Bug 1661526 - Fix search attributions for one-off buttons. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D89052
2020-09-02 11:46:14 +00:00
Mark Banner
0542586f06 Bug 1656220 - Implement recording attributions for search engines. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D87501
2020-08-20 12:58:23 +00:00
Cristina Coroiu
3a18ab95b5 Backed out 2 changesets (bug 1656220, bug 1656219) for browser-chrome failures at browser_UsageTelemetry_urlbar.js and browser_oneOffs.js on a CLOSED TREE
Backed out changeset bf68aec38a05 (bug 1656220)
Backed out changeset 706d2900077b (bug 1656219)
2020-08-20 14:15:07 +03:00
Mark Banner
21253cfa1a Bug 1656220 - Implement recording attributions for search engines. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D87501
2020-08-20 09:06:59 +00:00
Barret Rennie
180c194eae Bug 1655138 - Collect telemetry of average number of unique origins per tab r=mconley,jesup
Whenever a top level document load finishes, if it has been five minutes since
the last time we have done so, we record telemetry about the ratio of unique
site origins loaded to the number of loaded tabs. This telemetry is split
across several different histograms, so that it can be used to approximate a
unique origins vs loaded tab count curve.

Differential Revision: https://phabricator.services.mozilla.com/D85072
2020-08-18 21:11:12 +00:00
Kirk Steuber
ff14ad5569 Bug 1647422 - Collect the profile count to report via telemetry r=chutten,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D86409
2020-08-13 14:51:20 +00:00
Harry Twyford
b39c619461 Bug 1654801 - Part 3 - Fix tests to work with update2/oneOffsRefresh prefs enabled. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D86767
2020-08-12 03:40:28 +00:00
Marco Bonardo
6fb175caeb Bug 1657572 - Store form history source from search access points. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D86170
2020-08-08 12:49:24 +00:00
Dale Harvey
ff9dc1c764 Bug 1650883 - Remove hardcoded aliases, replace with webextension keywords r=Standard8,thecount
Differential Revision: https://phabricator.services.mozilla.com/D85345
2020-08-06 12:10:53 +00:00
ssengupta
f0b105c90e 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-08-05 17:06:09 +00:00
Sebastian Streich
bf58055b03 Bug 1633710 - Move uri.spec calls to nsIPrincipal r=necko-reviewers,geckoview-reviewers,preferences-reviewers,ckerschb,ntim,snorp,valentin
Differential Revision: https://phabricator.services.mozilla.com/D82911
2020-08-04 11:10:41 +00:00
Mark Banner
c8578acd2d Bug 1656007 - Move URLBAR_SELECTED_RESULT_TYPES to UrlbarUtils since it is not used in BrowserUsageTelemetry. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D85302
2020-07-30 14:27:50 +00:00
Mark Banner
7b5f150a6a Bug 1656007 - Move URLBAR_SELECTED_RESULT_METHODS to UrlbarTestUtils as it is only used in tests. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D85301
2020-07-30 15:04:20 +00:00
Noemi Erli
5cebe61c77 Backed out changeset 4ed7b13fb7a5 (bug 1633710) for causing failures in browser_amosigned_url.js CLOSED TREE 2020-07-29 22:34:42 +03:00
Sebastian Streich
ea482d8e73 Bug 1633710 - Move uri.spec calls to nsIPrincipal r=necko-reviewers,geckoview-reviewers,preferences-reviewers,ckerschb,ntim,snorp,valentin
Differential Revision: https://phabricator.services.mozilla.com/D82911
2020-07-29 17:33:10 +00:00
Lina Cambridge
fa09436f2b 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
aa44a640ec 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
308c0763a7 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
b852dc7a5f 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
9cba702385 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
34d2b6eb5b 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
dd3a0b23de 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
12102e198f 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
b74c685d0f 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
7e31642215 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
9d78661f88 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
71bfce5442 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
734973aa0a 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
e70637b6d9 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
584ee0d8de 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
8d274264c0 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
c44ea283e8 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
61ce0c1c31 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
4dcffa68cd 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
b98fed63f5 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
aa836962ab 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
277ed87531 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
7726722698 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
87d28d6e7d 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
1b8c76d27b 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
982c1da337 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
34eac0d840 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
e07f989e6c 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
fdb3c9248a 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
4f8f78f816 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
ed9faa91db 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
bec092afba 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
166994cf8b 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
cb57e50c12 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
f5258e1188 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
bde963d702 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
2be7577ead 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
3fc1366dd1 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
2d33a45e0f 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
5043143d22 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
20a03ae802 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
d44894bde2 .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
13caf188a2 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
a6b80b0e24 Bug 1628926 - Remove the browser.urlbar.oneOffSearches pref. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D70921

--HG--
extra : moz-landing-system : lando
2020-04-16 00:00:55 +00:00
Arthur Iakab
3f105ec0c5 Backed out changeset 0c8a5b5094b6 (bug 1628926) for Eslint failure on UrlbarView.jsm
CLOSED TREE
2020-04-16 01:38:49 +03:00
Drew Willcoxon
1736e700e0 Bug 1628926 - Remove the browser.urlbar.oneOffSearches pref. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D70921

--HG--
extra : moz-landing-system : lando
2020-04-15 08:56:16 +00:00
Neil Deakin
1351306d5f Bug 1614738, convert ContentSearch to be a JSWindowActor, r=adw
Differential Revision: https://phabricator.services.mozilla.com/D68237

--HG--
rename : browser/modules/ContentSearch.jsm => browser/actors/ContentSearchParent.jsm
extra : moz-landing-system : lando
2020-04-11 23:10:45 +00:00
William Durand
b90b5b3778 Bug 1489430 - Add "Remove Extension" context menu item for pageAction. r=robwu,mstriemer,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D69831

--HG--
extra : moz-landing-system : lando
2020-04-08 14:18:53 +00:00
Dão Gottwald
3b8b1171af Bug 1627969 - Remove the megabar pref. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D70023

--HG--
extra : moz-landing-system : lando
2020-04-08 19:04:24 +00:00
jayati
2e7e4c38ec Bug 1622730 - Support file:// principals for the site permission setting.r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D68970

--HG--
extra : moz-landing-system : lando
2020-04-01 14:02:22 +00:00
Drew Willcoxon
5739954280 Bug 1616752 - Part 2: Add payload schemas for each result type and validate payloads against them. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D64300

--HG--
extra : moz-landing-system : lando
2020-03-26 15:27:12 +00:00
Nan Jiang
a4f8001e97 Bug 1623439 - Add the whole active experiments to PingCentre metadata r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D68203

--HG--
extra : moz-landing-system : lando
2020-03-25 20:05:43 +00:00
Sam Foster
2db8ec19f5 Bug 1622514 - Move OSKeyStore.jsm into toolkit/modules. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D68133

--HG--
rename : browser/modules/OSKeyStore.jsm => toolkit/modules/OSKeyStore.jsm
rename : browser/modules/test/OSKeyStoreTestUtils.jsm => toolkit/modules/tests/modules/OSKeyStoreTestUtils.jsm
rename : browser/modules/test/unit/test_osKeyStore.js => toolkit/modules/tests/xpcshell/test_osKeyStore.js
extra : moz-landing-system : lando
2020-03-25 08:21:24 +00:00
jayati
0c89b054f1 Bug 1583790 - Ensure that we are passing valid principal values as arguments to functions in SitePermissions.jsm. r=johannh,prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D66217

--HG--
extra : moz-landing-system : lando
2020-03-25 09:04:35 +00:00
Jared Wein
244f33a489 Bug 1605494 - Use update channel instead of debug to determine if we can mock the OS auth dialog. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D66853

--HG--
extra : moz-landing-system : lando
2020-03-18 19:19:47 +00:00
Daniel Varga
2eded7e7be Backed out 2 changesets (bug 1611914, bug 1605494) for causing browser chrome failures at browser/components/aboutlogins/tests/browser/browser_osAuthDialog.js
CLOSED TREE

Backed out changeset b0ef46ae3853 (bug 1611914)
Backed out changeset f93685e544c5 (bug 1605494)

--HG--
extra : amend_source : 0e196a48b4b196268ddae92af2fa00067bb6dc0b
2020-03-18 19:37:55 +02:00
Jared Wein
946d8dd115 Bug 1605494 - Use update channel instead of debug to determine if we can mock the OS auth dialog. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D66853

--HG--
extra : moz-landing-system : lando
2020-03-18 04:47:13 +00:00
Ciure Andrei
c67afb6e79 Backed out 2 changesets (bug 1611914, bug 1605494) for causing browser_contextmenuFillLogins.js failures CLOSED TREE
Backed out changeset 66b802c651c4 (bug 1611914)
Backed out changeset b335ab938965 (bug 1605494)
2020-03-18 06:43:01 +02:00
Jared Wein
35a5629337 Bug 1605494 - Use update channel instead of debug to determine if we can mock the OS auth dialog. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D66853

--HG--
extra : moz-landing-system : lando
2020-03-18 02:31:54 +00:00
Noemi Erli
49781453d1 Backed out changeset f0ba03f01bb7 (bug 1605494) for causing failures in browser_osAuthDialog.js CLOSED TREE
--HG--
extra : rebase_source : 85f6968ea201b69862fef763b86ddd1f495fbc5b
extra : amend_source : a4608e5508a660f9009614d1c4bf9f3f5f8d0b78
2020-03-17 00:01:08 +02:00
Jared Wein
6f787079e6 Bug 1605494 - Use update channel instead of debug to determine if we can mock the OS auth dialog. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D66853

--HG--
extra : moz-landing-system : lando
2020-03-16 18:57:02 +00:00
Andreea Pavel
db512ca044 Backed out changeset 356470def108 (bug 1605494) for failing bc at browser_openSite.js on a CLOSED TREE 2020-03-16 18:49:10 +02:00
Jared Wein
158020fd37 Bug 1605494 - Use update channel instead of debug to determine if we can mock the OS auth dialog. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D66853

--HG--
extra : moz-landing-system : lando
2020-03-16 15:34:16 +00:00
Ed Lee
acb960676c Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
Differential Revision: https://phabricator.services.mozilla.com/D66128

--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
Jared Wein
ec7b7e6b39 Bug 1194529 - Ask the user for their OS account password before showing the passwords in the password manager. r=fluent-reviewers,MattN
Differential Revision: https://phabricator.services.mozilla.com/D61746

--HG--
extra : moz-landing-system : lando
2020-03-12 14:47:32 +00:00
Jared Wein
304f8c423a Bug 1194529 - Revert to the previous value of the TEST_ONLY_REAUTH pref instead of clearing it after receiving the notification. r=MattN
This was causing subsequent tests to fail when a pref was set via browser.ini.

Differential Revision: https://phabricator.services.mozilla.com/D61750

--HG--
extra : moz-landing-system : lando
2020-03-12 14:47:30 +00:00
Jared Wein
cc57cbe8d2 Bug 1194529 - Update OSKeyStore pref names now that the module is moved. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D61745

--HG--
extra : moz-landing-system : lando
2020-03-12 14:47:28 +00:00
Jared Wein
11ed78ea66 Bug 1194529 - Move OSKeyStore.jsm to browser/modules since it is no longer used by just Form Autofill. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D61743

--HG--
rename : browser/extensions/formautofill/OSKeyStore.jsm => browser/modules/OSKeyStore.jsm
rename : browser/extensions/formautofill/test/fixtures/OSKeyStoreTestUtils.jsm => browser/modules/test/OSKeyStoreTestUtils.jsm
rename : browser/extensions/formautofill/test/unit/test_osKeyStore.js => browser/modules/test/unit/test_osKeyStore.js
extra : moz-landing-system : lando
2020-03-12 14:47:18 +00:00
Dorel Luca
7d0c94a0e9 Backed out 8 changesets (bug 1506602, bug 1194529) for Browser-chrome failures in browser/browser_aaa_eventTelemetry_run_first.js. CLOSED TREE
Backed out changeset 0848e3945164 (bug 1506602)
Backed out changeset a8b80ec1830e (bug 1506602)
Backed out changeset e83a89eb5007 (bug 1194529)
Backed out changeset 7bf0a8463e53 (bug 1194529)
Backed out changeset 5b5cbd52e30f (bug 1194529)
Backed out changeset 55c38d92f65a (bug 1194529)
Backed out changeset 3242adb0ff8e (bug 1194529)
Backed out changeset c2f10d341da8 (bug 1194529)

--HG--
rename : browser/modules/OSKeyStore.jsm => browser/extensions/formautofill/OSKeyStore.jsm
rename : browser/modules/test/OSKeyStoreTestUtils.jsm => browser/extensions/formautofill/test/fixtures/OSKeyStoreTestUtils.jsm
rename : browser/modules/test/unit/test_osKeyStore.js => browser/extensions/formautofill/test/unit/test_osKeyStore.js
2020-03-11 01:48:36 +02:00
Jared Wein
4b31bbb3e3 Bug 1194529 - Ask the user for their OS account password before showing the passwords in the password manager. r=fluent-reviewers,MattN
Differential Revision: https://phabricator.services.mozilla.com/D61746

--HG--
extra : moz-landing-system : lando
2020-03-10 20:01:15 +00:00
Jared Wein
9a09d391ba Bug 1194529 - Revert to the previous value of the TEST_ONLY_REAUTH pref instead of clearing it after receiving the notification. r=MattN
This was causing subsequent tests to fail when a pref was set via browser.ini.

Differential Revision: https://phabricator.services.mozilla.com/D61750

--HG--
extra : moz-landing-system : lando
2020-03-10 20:01:01 +00:00
Jared Wein
dfde50fb60 Bug 1194529 - Update OSKeyStore pref names now that the module is moved. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D61745

--HG--
extra : moz-landing-system : lando
2020-03-10 20:00:58 +00:00
Jared Wein
2642cc0cdb Bug 1194529 - Move OSKeyStore.jsm to browser/modules since it is no longer used by just Form Autofill. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D61743

--HG--
rename : browser/extensions/formautofill/OSKeyStore.jsm => browser/modules/OSKeyStore.jsm
rename : browser/extensions/formautofill/test/fixtures/OSKeyStoreTestUtils.jsm => browser/modules/test/OSKeyStoreTestUtils.jsm
rename : browser/extensions/formautofill/test/unit/test_osKeyStore.js => browser/modules/test/unit/test_osKeyStore.js
extra : moz-landing-system : lando
2020-03-10 20:00:55 +00:00
Mark Banner
2c4e35b0a6 Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65509

--HG--
extra : moz-landing-system : lando
2020-03-08 21:45:16 +00:00
Gabriele Svelto
7e978643d5 Bug 1618879 - Do not send the telemetry session ID along with crash reports r=mconley
The telemetry session ID annotation is only used to correlate crash pings with
main pings, it does not need to be sent along with crash reports as we have no
use for it there.

Differential Revision: https://phabricator.services.mozilla.com/D65446

--HG--
extra : moz-landing-system : lando
2020-03-05 16:00:43 +00:00
Drew Willcoxon
ae8bef8c20 Bug 1619228 - Prevent the context menu from opening on separators in the page action panel. r=Gijs
Separators are technically actions, so we should ignore them when deciding whether to open the context menu.

Differential Revision: https://phabricator.services.mozilla.com/D65050

--HG--
extra : moz-landing-system : lando
2020-03-03 13:39:35 +00:00
David Teller
de37ecf1a7 Bug 1607366 - Display a warning when we're running Fission without WebRender;r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61827

--HG--
extra : moz-landing-system : lando
2020-03-02 19:29:17 +00:00
Morgan Reschenberg
8d5044ecba Bug 1616090: Compare current URI to about:blank when setting zoom badge visibility. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D63928

--HG--
extra : moz-landing-system : lando
2020-02-28 21:04:51 +00:00
Marco Bonardo
ba8dcdc6b4 Bug 1617631 - Add a topsite type to the FX_URLBAR_SELECTED_RESULT_(TYPE/INDEX_BY_TYPE) histograms. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D64158

--HG--
extra : moz-landing-system : lando
2020-02-27 18:02:42 +00:00
Marco Bonardo
e01e0b9cb6 Bug 1616880 - Allow tabbing through urlbar results when there's a search string. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D63689

--HG--
extra : moz-landing-system : lando
2020-02-24 14:31:53 +00:00