Commit graph

220 commits

Author SHA1 Message Date
Mike Conley
4b9f3545e2 Bug 1866802 - Move ASRouterAdmin tool to about:asrouter and its own component folder. r=pdahiya,Gijs,desktop-theme-reviewers,dao
This tries to maintain stylistic continuity, while also trying to decouple from
newtab as much as possible. This is a first foray, and future patches will
further this decoupling.

This also modifies about:asrouter to show an error message if the ASRouter devtools
pref is not set to true.

Differential Revision: https://phabricator.services.mozilla.com/D194811
2023-12-13 23:29:48 +00:00
Nipun Shukla
b6b703dee7 Bug 1860271 - Resolved launch on login checkbox and infobar bugs when user created Startup shortcut exists r=nalexander,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D191763
2023-12-12 00:22:08 +00:00
Sandor Molnar
580c448874 Backed out changeset 677c3005fd69 (bug 1860271) for causing node newtab failures at browser/components/newtab CLOSED TREE 2023-12-11 23:31:08 +02:00
Nipun Shukla
954e579287 Bug 1860271 - Resolved launch on login checkbox and infobar bugs when user created Startup shortcut exists r=nalexander,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D191763
2023-12-11 20:59:45 +00:00
Mike Conley
15d11761c7 Bug 1715158 - Remove traces of snippets from source documentation. r=pdahiya,perftest-reviewers,sparky
Depends on D193855

Differential Revision: https://phabricator.services.mozilla.com/D193856
2023-12-06 16:15:16 +00:00
Michael Hughes
be184998f5 Bug 1863980 - [msix] Make ShellService.setDefaultBrowser async. r=nalexander,mconley,dmose,omc-reviewers
This commit includes the changes to call into the new asynchronous code to set the browser as default, using powershell.

While here, we add more logging to this interaction to allow easier
debugging with QA.

Differential Revision: https://phabricator.services.mozilla.com/D194949
2023-12-01 20:07:08 +00:00
Cosmin Sabou
12fba69a84 Backed out 2 changesets (bug 1801954, bug 1863980) for bc failures on browser_setDefaultBrowser.js. CLOSED TREE
Backed out changeset b96506a6d950 (bug 1801954)
Backed out changeset 306a649fcc00 (bug 1863980)
2023-12-01 02:34:26 +02:00
Michael Hughes
0ff75af53b Bug 1863980 - [msix] Make ShellService.setDefaultBrowser async. r=nalexander,mconley,dmose,omc-reviewers
This commit includes the changes to call into the new asynchronous code to set the browser as default, using powershell.

While here, we add more logging to this interaction to allow easier
debugging with QA.

Differential Revision: https://phabricator.services.mozilla.com/D194949
2023-11-30 22:22:16 +00:00
Nipun Shukla
8a0825c269 Bug 1863636 - Folded shortcut creation required for taskbar tabs into nsWindowsShellService r=mhughes
Differential Revision: https://phabricator.services.mozilla.com/D192998
2023-11-20 16:26:03 +00:00
Nipun Shukla
bd308b0a8a Bug 1862450 - Made changes to dual browser installer on Windows and MacOS r=mhughes,bytesized
Differential Revision: https://phabricator.services.mozilla.com/D193712
2023-11-16 00:15:57 +00:00
Nipun Shukla
b87aa197d3 Bug 1862450 - Made installer changes for dual browser extension r=mhughes
Differential Revision: https://phabricator.services.mozilla.com/D192478
2023-11-15 14:24:16 +00:00
Gijs Kruitbosch
6c143583b8 Bug 747301 - remove about:plugins and some other unused plugin-related code, r=mossop,handyman,fluent-reviewers,extension-reviewers,desktop-theme-reviewers,bolsson,dao,geckoview-reviewers,owlish,robwu
Differential Revision: https://phabricator.services.mozilla.com/D189921
2023-10-31 09:11:30 +00:00
Emilio Cobos Álvarez
a60a5f6767 Bug 1860392 - Remove incorrectly persisted sidebar style. r=desktop-theme-reviewers,dao
The sidebar style attribute is persisted to persist the width.
Unfortunately before bug 1858711 this means that various other theming
properties were persisted as well, causing issues.

Depends on D191622

Differential Revision: https://phabricator.services.mozilla.com/D191623
2023-10-23 15:50:27 +00:00
Dana Keeler
e32166e15a Bug 1855759 - self-test oskeystore and collect telemetry on the results r=jschanck,dthayer
Differential Revision: https://phabricator.services.mozilla.com/D189668
2023-10-18 19:21:12 +00:00
Niklas Baumgardner
39fa7e02a9 Bug 1848408 - Recommended ads should call into attribution api. r=shopping-reviewers,jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D186484
2023-10-18 03:04:30 +00:00
Nipun Shukla
e63c54d99e Bug 1858223 - Disable Firefox launch on login when no starting profile is set r=nalexander,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190613
2023-10-18 01:37:26 +00:00
Cristian Tuns
009a937f2e Backed out changeset 71746bb87230 (bug 1858223) for causing marionette in test_no_errors_clean_profile.py CLOSED TREE 2023-10-17 13:42:36 -04:00
Nipun Shukla
56a65f954a Bug 1858223 - Disable Firefox launch on login when no starting profile is set r=nalexander,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190613
2023-10-17 14:21:58 +00:00
Sandor Molnar
d97a577984 Backed out changeset ae11971f6708 (bug 1848408) for causing mochitest failures on toolkit/components/shopping/test/browser/browser_shopping_ads_test.js CLOSED TREE 2023-10-14 04:52:15 +03:00
Sandor Molnar
9b6d900114 Backed out changeset e9d46c179688 (bug 1855759) for causing build bustages CLOSED TREE 2023-10-14 00:32:03 +03:00
Niklas Baumgardner
957cd98453 Bug 1848408 - Recommended ads should call into attribution api. r=shopping-reviewers,jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D186484
2023-10-13 20:19:35 +00:00
Dana Keeler
ecc01143cf Bug 1855759 - self-test oskeystore and collect telemetry on the results r=jschanck,dthayer
Differential Revision: https://phabricator.services.mozilla.com/D189668
2023-10-13 16:56:44 +00:00
Nipun Shukla
b15137b324 Bug 1843202 - Added automatic launch on Windows login based on registry key r=nalexander,settings-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D183504
2023-10-06 15:30:23 +00:00
Perry McManis
4d06110710 Bug 1856715 - replace actor with direct glean event record r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D189982
2023-10-05 15:37:58 +00:00
Spiros Vita
ed9334933b Bug 1013947 - Removed signons.sqlite references r=mak,credential-management-reviewers,dimi
Added functionality to remove signons.sqlite.corrupt and fixed code

Differential Revision: https://phabricator.services.mozilla.com/D189349
2023-10-05 12:29:05 +00:00
Mark Banner
7b16815000 Bug 1854785 - Convert AboutWelcomeChild/AboutWelcomeParent to ES modules. r=amy,fxview-reviewers,sclements
Depends on D189045

Differential Revision: https://phabricator.services.mozilla.com/D189047
2023-10-05 09:43:29 +00:00
Robin Steuber
6d7585cc1e Bug 1855604 - Back out calling of provenance data collection r=nalexander
Backs out Bug 1815023's patch: https://hg.mozilla.org/mozilla-central/rev/e9af7f1b2a01

Depends on D189591

Differential Revision: https://phabricator.services.mozilla.com/D189592
2023-10-03 23:40:24 +00:00
Gijs Kruitbosch
b34ed3c3b5 Bug 1756919 - remove unnecessary default permissions, r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D188964
2023-09-28 11:09:24 +00:00
Cosmin Sabou
4e7375da1f Backed out changeset 173ccd415d33 (bug 1756919) for causing xpcshell failures on test_browserGlue_migration_resetDefaults.js. CLOSED TREE 2023-09-27 18:58:59 +03:00
Paul Zuehlcke
4c51feffea Bug 1846498 - Add a restart PBM session button and panel for private windows. r=desktop-theme-reviewers,mconley,dao
Differential Revision: https://phabricator.services.mozilla.com/D187223
2023-09-27 15:14:36 +00:00
Gijs Kruitbosch
b7fd479f26 Bug 1756919 - remove unnecessary default permissions, r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D188964
2023-09-27 15:13:42 +00:00
Sandor Molnar
47da40cec7 Backed out 4 changesets (bug 1853698, bug 1853763, bug 1846498) for causing mochitest failures on browser_privatebrowsing_resetPBM.js & browser_1089591_still_customizable_after_reset CLOSED TREE
Backed out changeset 15945b5a02c7 (bug 1853698)
Backed out changeset b396820a7a46 (bug 1853763)
Backed out changeset 535f72d66f52 (bug 1846498)
Backed out changeset 439c5b41701a (bug 1846498)
2023-09-26 16:53:51 +03:00
Paul Zuehlcke
e578297fd3 Bug 1846498 - Add a restart PBM session button and panel for private windows. r=desktop-theme-reviewers,mconley,dao
Differential Revision: https://phabricator.services.mozilla.com/D187223
2023-09-26 09:20:24 +00:00
Sam Foster
8165b4bf88 Bug 1845796 - Rework the flow in ScreenshotsUtils to make exit an explicit outcome rather than a side-effect. r=niklas
* Add a UIPhases / getUIPhase to figure out where we are in the flow, and get the UI into the right state
* Refactor to get rid of a bunch of implicit side-effects:
  - Separate out getting the panel from creating it
  - closePanel only closes the buttons panel
  - Add a closeOverlay so we do that and only that when needed
* When the preview dialog closes, we expect to exit unless exitOnPreviewClose was set false
* Keep some state for each browser using a weakmap so we can better handle re-entry (and later, re-focusing)

Differential Revision: https://phabricator.services.mozilla.com/D185379
2023-09-19 00:14:27 +00:00
James Teow
d1761aed79 Bug 1850000 - Add listener and in-memory storage of Search Categorization collection - r=Standard8,leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D186805
2023-09-18 13:42:53 +00:00
Marco Bonardo
e9ffac0820 Bug 1846781 - Use recalc_frecency for updating origins frecency instead of triggers. r=daisuke
Until now we updated origins frecency using direct SQL triggers.
While that guaranteed good performance, it also had some downsides:
 * replacing the algorithms is complicate, the current system only works
   with a straight sum of page frecencies. We are planning to experiment with
   different algorithms in the future.
 * it requires using multiple temp tables and DELETE triggers, that is error
   prone for consumers, that may forget to DELETE from the temp tables, and thus
   break data coherency.
 * there's not much atomicity, since the origins update must be triggered apart
   and a crash would lose some of the changes

This patch is changing the behavior to be closer to the recalc_frecency one that
is already used for pages.
When a page is added, visited, or removed, recalc_frecency of its origin is set
to 1. Later frecency of invalidated origins will be recalculated in chunks.
While this is surely less efficient than the existing system, it solves the
problems presented above.
A threshold is recalculated at each chunk, and stored in the moz_meta table.
This patch continues using the old STATS in the moz_meta table, to allow for
easier downgrades. Once a new threshold will be introduced we'll be able to
stop updating those.

The after delete temp table is maintained because there's no more efficient way
to remove orphan origins promptly. Thus, after a removal from moz_places,
consumers MUST still DELETE from the temp table to cleanup orphan origins.
This also introduces a delayed removal of orphan origins when their frecency
becomes 0.

Differential Revision: https://phabricator.services.mozilla.com/D186070
2023-09-13 13:58:30 +00:00
Daisuke Akatsuka
8e9e77f019 Bug 1850902: Remove browser.fixup.alternate.enabled pref and its code path r=jteow,mak
Differential Revision: https://phabricator.services.mozilla.com/D187237
2023-09-10 22:33:27 +00:00
Katherine Patenio
b36ef42eb3 Bug 1848396 - call availability report API when report back-in-stock button is selected r=shopping-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D187308
2023-09-08 18:53:23 +00:00
Ed Lee
8d7229e6f4 Bug 1846786 - Rework onboarding and shopping container interaction to support survey r=pdahiya,shopping-reviewers,Gijs
Have onboarding.mjs wait for AboutWelcomeShoppingChild to indicate when to render with Update event handled directly.

Differential Revision: https://phabricator.services.mozilla.com/D187004
2023-09-08 17:25:07 +00:00
Gijs Kruitbosch
5736aa0cd2 Bug 1846787 - let shopping code ride the train (disabled by default), r=jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D187779
2023-09-08 17:04:40 +00:00
Stanca Serban
daf17befd7 Backed out 2 changesets (bug 1846786) for causing mochitests failures in browser_aboutwelcome_fxa_signin_flow.js. CLOSED TREE
Backed out changeset 347f22f85c41 (bug 1846786)
Backed out changeset 6f141c7b5736 (bug 1846786)
2023-09-07 23:04:38 +03:00
Ed Lee
68a5d57068 Bug 1846786 - Rework onboarding and shopping container interaction to support survey r=pdahiya,shopping-reviewers,Gijs
Have onboarding.mjs wait for AboutWelcomeShoppingChild to indicate when to render with Update event handled directly.

Differential Revision: https://phabricator.services.mozilla.com/D187004
2023-09-07 18:25:04 +00:00
Tim Huang
04ee22eb32 Bug 1841104 - Add fingerprinting protection to ETP Strict. r=pbz,settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D187383
2023-09-07 12:11:18 +00:00
Perry McManis
22f5b88cde Bug 1848870 - Instrument Shopping ReAnalysis Click r=TravisLong,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D186559
2023-08-28 18:47:09 +00:00
Cristian Tuns
d594da4841 Backed out 2 changesets (bug 1848870, bug 1849382) for causing bc failures in browser_ui_telemetry.js CLOSED TREE
Backed out changeset 463e81fd4899 (bug 1849382)
Backed out changeset cb32356f7b5c (bug 1848870)
2023-08-28 13:46:16 -04:00
Perry McManis
f08e3a286c Bug 1848870 - Instrument Shopping ReAnalysis Click r=TravisLong,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D186559
2023-08-28 12:52:21 +00:00
Travis Long
1230c4d6d6 Bug 1847994 - Move Glean metric configuration to its own Nimbus feature.r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D186337
2023-08-17 05:49:44 +00:00
Katherine Patenio
4a50822d0f Bug 1846838 - create analysis in-progress message-bar. r=shopping-reviewers,fluent-reviewers,flod,niklas
Differential Revision: https://phabricator.services.mozilla.com/D185228
2023-08-14 20:20:29 +00:00
Shane Hughes
058e34df6e Bug 1843461 - Set up Shopping Sidebar messaging JSActor. r=jhirsch,Gijs,omc-reviewers,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D184956
2023-08-12 05:06:56 +00:00
Marco Bonardo
d85fcf97d3 Bug 1847765 - Remove some old UI Migrations from BrowserGlue. r=dao
Remove UI migrations up to Firefox 72, that was a watershed version.

Differential Revision: https://phabricator.services.mozilla.com/D185673
2023-08-09 08:42:54 +00:00