Commit graph

217 commits

Author SHA1 Message Date
Olivia Hall
dff4357484 Bug 1857002 - Move getLanguageList from browser to toolkit r=gregtatum,settings-reviewers,mconley
This function is helpful for GeckoView and Translations on Android.
Moving it to toolkit for shared use.

Differential Revision: https://phabricator.services.mozilla.com/D190118
2023-10-16 18:32:51 +00:00
Mike Conley
abe65ca4e2 Bug 1855280 - Remove the ability to switch to the old migration wizard. r=kpatenio,omc-reviewers,settings-reviewers,credential-management-reviewers,negin,aminomancer,mtigley
This removes the pref to re-enable the legacy wizard, and all of the things that used
to read from it.

It also disables the ability to use the legacy wizard from about:welcome with the
aboutWelcomeBehavior feature.

It also removes the closeMigrationWizard utility from BrowserTestUtils, since that
effectively became a thin-wrapper around BrowserTestUtils.removeTab.

Finally, this patch also removes some documentation about the legacy migration wizard,
and tests that specifically check the legacy dialog behaviour.

Differential Revision: https://phabricator.services.mozilla.com/D190716
2023-10-16 18:24:42 +00:00
Nipun Shukla
8a377b9b77 Bug 1849252 - Added UI components and notification for Firefox launch on Windows login r=settings-reviewers,nalexander,omc-reviewers,flod,aminomancer
Depends on D184437

Differential Revision: https://phabricator.services.mozilla.com/D186510
2023-10-06 15:30:24 +00:00
Nipun Shukla
0bb5d4e327 Bug 1843202 - Added Nimbus experiment to Windows autostart on login r=nalexander,mconley
Depends on D183504

Differential Revision: https://phabricator.services.mozilla.com/D184437
2023-10-06 15:30:23 +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
Masatoshi Kimura
bcd7d268c4 Bug 1856104 - Remove useless version checks from JavaScript code. r=Gijs,webcompat-reviewers,settings-reviewers,search-reviewers,Standard8,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D189696
2023-10-02 19:00:07 +00:00
Noemi Erli
26e0b0be0a Backed out 3 changesets (bug 1856187, bug 1856100, bug 1856104) for causing newtab failures
Backed out changeset db28784a1734 (bug 1856187)
Backed out changeset bd11e14dca63 (bug 1856104)
Backed out changeset 2741311b6055 (bug 1856100)
2023-10-02 21:16:25 +03:00
Masatoshi Kimura
7ad48d61dd Bug 1856104 - Remove useless version checks from JavaScript code. r=Gijs,webcompat-reviewers,settings-reviewers,search-reviewers,Standard8,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D189696
2023-10-02 17:36:27 +00:00
Masatoshi Kimura
3e8c44dd66 Bug 1845057 - Remove aClaimAllTypes from setDefaultBrowser. r=nrishel,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189678
2023-10-02 16:56:42 +00:00
Iulian Moraru
e7ba138c88 Backed out changeset 5f5354d30a45 (bug 1783521) for causing bc failures on browser_ext_windows_create_url.js. CLOSED TREE 2023-09-08 10:21:20 +03:00
DJ
bfd5a700c3 Bug 1783521 - add card preview when inactive tab hovered. r=settings-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,fluent-reviewers,flod,dao,mconley
Differential Revision: https://phabricator.services.mozilla.com/D184260
2023-09-08 02:47:16 +00:00
Gregory Pappas
47a1fa0853 Bug 1846476 - Remove ui.osk.require_win10 pref r=rkraesig,Gijs,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185199
2023-08-03 19:07:25 +00:00
Gregory Pappas
8a35d5cf5f Bug 1845311 - [Part 2] Use ChromeUtils.defineLazyGetter in more places r=arai,webcompat-reviewers,necko-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sync-reviewers,anti-tracking-reviewers,tabbrowser-reviewers,bytesized,twisniewski,sgalich,mak,kershaw,sclements,pbz,robwu,geckoview-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D184623
2023-08-01 23:01:02 +00:00
Greg Tatum
679b17cf8c Bug 1845339 - Use install/remove rather than download/delete for translations settings; r=nordzilla,fluent-reviewers,settings-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D184491
2023-07-26 14:59:30 +00:00
Morgan Rae Reschenberg
1bb8233b60 Bug 1628476: Add keyboard navigation pref to allow focus mode changes on macOS r=Jamie,fluent-reviewers,settings-reviewers,flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D182266
2023-07-17 23:11:41 +00:00
Cristian Tuns
38c979ee94 Backed out changeset 88c664a821cb (bug 1628476) for causing multiple bc failures browser/* CLOSED TREE 2023-07-14 20:34:02 -04:00
Morgan Rae Reschenberg
53af615a49 Bug 1628476: Add keyboard navigation pref to allow focus mode changes on macOS r=Jamie,fluent-reviewers,settings-reviewers,flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D182266
2023-07-14 23:28:46 +00:00
Mike Conley
6321a063dc Bug 1823489 - Have the migration-wizard element create the panel-list in its shadow root. r=kpatenio,negin,desktop-theme-reviewers,dao
This involves opening the shadow root of the migration wizard, as the panel-list
really isn't designed to handle being embedded within a closed shadow root.

Differential Revision: https://phabricator.services.mozilla.com/D182484
2023-07-10 18:31:19 +00:00
Cristina Horotan
9f7140497c Backed out 2 changesets (bug 1823489) for causing bc failures at browser_multistage_spotlight.js
Backed out changeset 684648252672 (bug 1823489)
Backed out changeset 15437d29bacc (bug 1823489)
2023-07-10 17:47:20 +03:00
Mike Conley
c6172c47a1 Bug 1823489 - Have the migration-wizard element create the panel-list in its shadow root. r=kpatenio,negin,desktop-theme-reviewers,dao
This involves opening the shadow root of the migration wizard, as the panel-list
really isn't designed to handle being embedded within a closed shadow root.

Differential Revision: https://phabricator.services.mozilla.com/D182484
2023-07-10 13:34:04 +00:00
Stanca Serban
31702d1881 Backed out 2 changesets (bug 1823489) for causing multiple bc failures.
Backed out changeset da128472125a (bug 1823489)
Backed out changeset dd5996a4e7d2 (bug 1823489)
2023-07-08 21:11:49 +03:00
Mike Conley
026715310b Bug 1823489 - Have the migration-wizard element create the panel-list in its shadow root. r=kpatenio,negin,desktop-theme-reviewers,dao
This involves opening the shadow root of the migration wizard, as the panel-list
really isn't designed to handle being embedded within a closed shadow root.

Differential Revision: https://phabricator.services.mozilla.com/D182484
2023-07-08 16:18:01 +00:00
Noemi Erli
d9678cc655 Backed out 2 changesets (bug 1823489) for causing failures in test_panel_list_min_width_from_anchor.html
Backed out changeset abe4ae7a4c01 (bug 1823489)
Backed out changeset ccb73c7c777a (bug 1823489)
2023-07-07 19:05:56 +03:00
Mike Conley
068a531975 Bug 1823489 - Have the migration-wizard element create the panel-list in its shadow root. r=kpatenio,negin,desktop-theme-reviewers,dao
This involves opening the shadow root of the migration wizard, as the panel-list
really isn't designed to handle being embedded within a closed shadow root.

Differential Revision: https://phabricator.services.mozilla.com/D182484
2023-07-07 15:19:49 +00:00
Greg Tatum
507a654c29 Bug 1840904 - Remove language management operations from the TranslationsChild; r=nordzilla,settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D182393
2023-07-05 18:09:13 +00:00
Greg Tatum
c18ddeaa00 Bug 1817084 - Remove old translations code; r=settings-reviewers,fluent-reviewers,nordzilla,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D181700
2023-06-23 13:36:13 +00:00
Itiel
b9b95ccd85 Bug 1836344 - Convert the Download and Delete button in the Translations section to have label and accesskey r=gregtatum,settings-reviewers,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D179718
2023-06-07 15:45:14 +00:00
Cristina Horotan
6651c13d9f Backed out changeset a8bcb8de017f (bug 1836344) for causing bc failures at browser_manage_languages.js on a CLOSED TREE 2023-06-07 08:32:51 +03:00
Itiel
90c429f31e Bug 1836344 - Convert the Download and Delete button in the Translations section to have label and accesskey r=gregtatum,settings-reviewers,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D179718
2023-06-07 04:14:24 +00:00
Erik Nordin
6031ae4572 Bug 1829691 - Add Translations settings panel to about:preferences r=gregtatum,fluent-reviewers,settings-reviewers,Gijs,flod
Adds a new button and panel for managing Translations
settings to the about:preferences panel.

Manages always-translate languages, never-translate
languages, and never-translate sites.

Depends on D178228

Differential Revision: https://phabricator.services.mozilla.com/D177854
2023-05-24 01:22:43 +00:00
Erik Nordin
7ce52404be Bug 1829691 - Copy Translation Exceptions code to new files r=gregtatum,settings-reviewers,Gijs
Copies the code for Translation exceptions in about:preferences
to new files to preserve the git-blame history so that they can be
modified in a subsequent patch

Depends on D178723

Differential Revision: https://phabricator.services.mozilla.com/D178228
2023-05-24 01:22:43 +00:00
Butkovits Atila
86a49d4b27 Backed out 11 changesets (bug 1834014, bug 1829691) for causing failures at browser_console_content_object_in_sidebar.js.
Backed out changeset bd3077e43541 (bug 1834014)
Backed out changeset 96dc91b50ecf (bug 1834014)
Backed out changeset 6099ee399488 (bug 1829691)
Backed out changeset d3488c2d7309 (bug 1829691)
Backed out changeset a89ce140c316 (bug 1829691)
Backed out changeset 40d7f94265c2 (bug 1829691)
Backed out changeset e86660a6f994 (bug 1829691)
Backed out changeset 5c63d7e15cac (bug 1829691)
Backed out changeset 2e5a01539749 (bug 1829691)
Backed out changeset 1b53cac4d88b (bug 1829691)
Backed out changeset be4a4c19e24f (bug 1829691)
2023-05-23 03:20:38 +03:00
Erik Nordin
cd28ad2532 Bug 1829691 - Add Translations settings panel to about:preferences r=gregtatum,fluent-reviewers,settings-reviewers,Gijs,flod
Adds a new button and panel for managing Translations
settings to the about:preferences panel.

Manages always-translate languages, never-translate
languages, and never-translate sites.

Depends on D178228

Differential Revision: https://phabricator.services.mozilla.com/D177854
2023-05-22 21:11:11 +00:00
Erik Nordin
30d0a6e3d7 Bug 1829691 - Copy Translation Exceptions code to new files r=gregtatum,settings-reviewers,Gijs
Copies the code for Translation exceptions in about:preferences
to new files to preserve the git-blame history so that they can be
modified in a subsequent patch

Differential Revision: https://phabricator.services.mozilla.com/D178228
2023-05-22 21:11:11 +00:00
Butkovits Atila
aa3d711b4b Backed out 10 changesets (bug 1834014, bug 1829691) for causing failures at browser_about_translations_debounce.js. CLOSED TREE
Backed out changeset 680e9579fca5 (bug 1834014)
Backed out changeset e9c17faebbe3 (bug 1834014)
Backed out changeset 6b3a514450af (bug 1829691)
Backed out changeset 58b154e4accc (bug 1829691)
Backed out changeset 749af53af3bd (bug 1829691)
Backed out changeset 252c0d70934b (bug 1829691)
Backed out changeset 6ed4a66b1e40 (bug 1829691)
Backed out changeset fb6112332b59 (bug 1829691)
Backed out changeset 70cb62814390 (bug 1829691)
Backed out changeset 7fb6e8f6251e (bug 1829691)
2023-05-22 23:30:46 +03:00
Erik Nordin
5e91381bd0 Bug 1829691 - Add Translations settings panel to about:preferences r=gregtatum,fluent-reviewers,settings-reviewers,Gijs,flod
Adds a new button and panel for managing Translations
settings to the about:preferences panel.

Manages always-translate languages, never-translate
languages, and never-translate sites.

Depends on D178228

Differential Revision: https://phabricator.services.mozilla.com/D177854
2023-05-22 17:43:10 +00:00
Erik Nordin
8537a9ff65 Bug 1829691 - Copy Translation Exceptions code to new files r=gregtatum,settings-reviewers,Gijs
Copies the code for Translation exceptions in about:preferences
to new files to preserve the git-blame history so that they can be
modified in a subsequent patch

Differential Revision: https://phabricator.services.mozilla.com/D178228
2023-05-22 17:43:10 +00:00
Mark Banner
130a655906 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner
8219a5c503 Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Greg Tatum
cf91f08437 Bug 1820259 - Implement the translation language download preferences; r=nordzilla,flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D176189
2023-04-26 19:12:17 +00:00
Gijs Kruitbosch
e117ff5829 Bug 1828280 - honour enterprise policy for profile import in the prefs import section, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D175902
2023-04-21 10:23:22 +00:00
Ed Lee
6a75f6d576 Bug 1826439 - Support running new migration wizard Fx113 experiment r=pdahiya,settings-reviewers,mconley
Additionally check for the new content modal and standalone version for WAIT_FOR_MIGRATION_CLOSE by using observer notifications from preferences dialog close, new wizard actor, old wizard uninit.

Differential Revision: https://phabricator.services.mozilla.com/D174692
2023-04-07 05:12:31 +00:00
Mike Conley
96eca252ac Bug 1825854 - Add a preference to control the behavior of the migration wizard when opened from about:welcome. r=settings-reviewers,mstriemer
This is controlled by the migrationWizard.aboutWelcomeBehavior Nimbus feature variable.

Differential Revision: https://phabricator.services.mozilla.com/D174326
2023-04-05 21:40:46 +00:00
Niklas Baumgardner
229e52a604 Bug 1822395 - Telemetry for new PiP controls. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D173079
2023-04-04 18:47:08 +00:00
Iulian Moraru
ddd46f2753 Backed out changeset a3aaa9226d1a (bug 1822395) for causing bc failures on browser_telemetry_enhancements.js. 2023-04-04 03:42:05 +03:00
Niklas Baumgardner
2c05b164e2 Bug 1822395 - Telemetry for new PiP controls. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D173079
2023-04-03 22:09:21 +00:00
Cristian Tuns
6ced673117 Backed out changeset 7776b8a21884 (bug 1822395) for causing bc failures in browser_improved_controls.js CLOSED TREE 2023-03-31 15:15:57 -04:00
Niklas Baumgardner
e9ebda2383 Bug 1822395 - Telemetry for new PiP controls. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D173079
2023-03-31 16:51:25 +00:00
elephanteatsapple
8ca988dcf3 Bug 1811933 -Replace placeholder <select> and <options> in MigrationWizard with a <button> and a <panel-list>. r=mconley,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170420
2023-03-20 14:56:41 +00:00
Emilio Cobos Álvarez
9900adffa0 Bug 1822578 - Make flex="1" on XUL set a zero flex basis like the flex shorthand does. r=Gijs,mconley,settings-reviewers,desktop-theme-reviewers,dao
In a setup with:

<hbox>
 <something flex="1"/>
 <something-else/>
</hbox>

Before bug 1822131 <something flex="1"> ended up with flex-basis: auto,
but was the only thing able to shrink, so <something-else> stayed the
same size.

After that bug however <something-else> is able to shrink too, so both
elements shrink. This wouldn't happen if flex="1" actually worked like
flex: 1 does.

However flex: 1 causes stuff like explicit main sizes to be
(effectively) ignored, so we need to fix up a few cases where now we'd
start flexing too much. For that, add a debug assert to
nsFlexContainerFrame to catch the would-be behavior changes here.

For the most part they're actually no-op since they're setting tiny
sizes, but preferences and devtools needed a couple real fixes.

The profile selection spacer is useless (zero-size).

Hopefully the last xul.css change I need to do :')

Differential Revision: https://phabricator.services.mozilla.com/D172704
2023-03-16 00:06:29 +00:00