Commit graph

3890 commits

Author SHA1 Message Date
Ebilite Uchenna
64062e1574 Bug 1820209 - Changed telemetryDataDeletionLearnMore in about:preferences#privacy with moz-support-link. r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D173137
2023-03-22 17:38:06 +00:00
Karl Tomlinson
dce6901df0 Bug 1804352 display current permission value in menulist even when not in available states r=pbz
For speaker permissions, this has the effect of presenting a menulist instead
of a label when a device-specific ALLOW permission is set, providing the
option to the user of changing this to a BLOCK.

A global permission for speaker selection is not currently supported but if it
were implemented and set to BLOCK, then a menulist would be shown for all
sites with permissions set.  It would include at least PROMPT and BLOCK
menuitems.  This change would mean that the menulist selected item can display
"Allowed" when a device-specific ALLOW permission has already been granted
through a selectAudioOutput() prompt.

_permissionsToChange is modified in _removePermissionFromList() so that
permissions changed then deleted are not added by onApplyChanges().

Differential Revision: https://phabricator.services.mozilla.com/D172085
2023-03-21 21:57:11 +00:00
Siya
feb5922d82 Bug 1761282 - Update sad/happy smiley faces to emoji. r=hjones,settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D172804
2023-03-21 17:04:48 +00:00
Emilio Cobos Álvarez
d46ccdc76e Bug 1823496 - Remove another flex="1" attribute from duplicated markup in sitePermissions.xhtml. r=settings-reviewers,Gijs
I missed this one when fixing bug 1822453!

Differential Revision: https://phabricator.services.mozilla.com/D173067
2023-03-20 22:47:08 +00:00
William Durand
b9acf99c16 Bug 1820124 - Remove addonManager.action/link/view Telemetry events. r=rpl,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D171541
2023-03-20 20:11:15 +00:00
Emilio Cobos Álvarez
a516af2a6b Bug 1822453 - Tweak settings dialog list styles. r=settings-reviewers,mconley
This is not a new regression: that min-height which effectively prevents
shrinking of this list has been there since ~forever, so probably this
broke, if it broke at all, when we enabled modern flexbox emulation of
these dialogs.

Now that XUL can shrink this gets us the behavior we want (default to
18em, but allow both growing and shrinking).

Fix the sites list as well to behave similarly.

Differential Revision: https://phabricator.services.mozilla.com/D173034
2023-03-20 16:39:10 +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
Barret Rennie
f004218156 Bug 1818738 - Make the feature update event API more ergonomic r=aminomancer,settings-reviewers,search-reviewers,Gijs,daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D172035
2023-03-16 22:20:14 +00:00
Abhishek Tiwari
aa5df5bf1c Bug 1821619 - Convert toolkit/components/featuregates to ES modules. r=Standard8,settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D172227
2023-03-16 13:01:48 +00:00
Karl Tomlinson
e2787b30fe Bug 1804352 move richlistitem inline styling to sitePermissions.css r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D172084
2023-03-16 00:32:36 +00:00
Karl Tomlinson
1ea516e3f4 Bug 1804352 add support for removing double-keyed permissions r=pbz
as are used to allow speaker devices from speaker selection.

Differential Revision: https://phabricator.services.mozilla.com/D170305
2023-03-16 00:32:36 +00:00
Karl Tomlinson
f3344ab66b Bug 1804352 remove unnecessary type property on Permission r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D170304
2023-03-16 00:32:35 +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
Karl Tomlinson
1c4704d106 Bug 1804352 add blocking speaker selection permissions to about:preferences#privacy r=fluent-reviewers,desktop-theme-reviewers,flod,dao,pbz
This patch adds support only for BLOCK permissions because ALLOW permissions
are double-keyed and will be included via a subsequent patch.

Support for a global BLOCK permission is not added here because of
inconsistencies in the way this interacts with device-specific ALLOW
permissions.

Differential Revision: https://phabricator.services.mozilla.com/D170303
2023-03-15 22:07:23 +00:00
Karl Tomlinson
e922fe04fb Bug 1804352 show label instead of menulist when there would be a single site permission status option r=pbz
as is the situation for speaker selection.

Differential Revision: https://phabricator.services.mozilla.com/D170302
2023-03-15 22:07:23 +00:00
Karl Tomlinson
cbda1e22d7 Bug 1804352 remove unnecessary _handleCapabilityChange() r=pbz
The effects of this have been removed since a buildPermissionsList() call was
added to handle potential sorting by status/capability in
https://hg.mozilla.org/mozilla-central/rev/d032ead9b6db3d5332255059ce6555b1e79fec0d#l2.39

Depends on D170300

Differential Revision: https://phabricator.services.mozilla.com/D170301
2023-03-15 22:07:22 +00:00
Karl Tomlinson
cc4cf34a53 Bug 1804352 remove unused l10Id property on Permission r=settings-reviewers,Gijs
This has been unused since
https://hg.mozilla.org/mozilla-central/rev/3beeaf20f46a008adf54b279090bbb1e0bcf67d3#l4.258

Differential Revision: https://phabricator.services.mozilla.com/D170300
2023-03-15 22:07:22 +00:00
Francesco Lodolo (:flod)
962126e608 Bug 1822388 - Move brandings.ftl from browser to toolkit, r=eemeli,settings-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sgalich,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D172643
2023-03-15 17:00:48 +00:00
Mike Conley
610167bc5a Bug 1820655 - Add a new section to about:preferences to launch the migration wizard. r=jhirsch,fluent-reviewers,flod DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D172324
2023-03-15 00:35:16 +00:00
Butkovits Atila
91f502bbd2 Backed out changeset 5c4677b1ea47 (bug 1820655) for causing failures at browser_open_migration_wizard.js. CLOSED TREE 2023-03-14 05:20:08 +02:00
Mike Conley
f1d3ef9dd0 Bug 1820655 - Add a new section to about:preferences to launch the migration wizard. r=jhirsch,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D172324
2023-03-14 01:59:01 +00:00
Butkovits Atila
640d009e7b Backed out changeset 21ac89d8a165 (bug 1820655) for causing Gecko Decision failure. CLOSED TREE 2023-03-14 03:20:05 +02:00
Mike Conley
3eb16d3b85 Bug 1820655 - Add a new section to about:preferences to launch the migration wizard. r=jhirsch,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D172324
2023-03-14 01:06:42 +00:00
Emilio Cobos Álvarez
48a1a76d0e Bug 1821920 - Remove redundant <hbox> in privacy settings. r=Gijs,settings-reviewers
Bug 1822131 will improve the situation here, but meanwhile this fixes the issue
by removing a redundant horizontal box.

Differential Revision: https://phabricator.services.mozilla.com/D172455
2023-03-13 19:13:23 +00:00
Masatoshi Kimura
409be9d4ba Bug 1821796 - Add the handle internally option for internal types even if the type is not pre-listed. r=Gijs,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D172322
2023-03-13 19:08:50 +00:00
Leila Kaltouma
3ac0b62d26 Bug 1820880 - Convert toolkit/mozapps/update to import ES modules directly. r=Standard8,settings-reviewers,application-update-reviewers,bytesized
Depends on D172120

Differential Revision: https://phabricator.services.mozilla.com/D172121
2023-03-13 11:22:07 +00:00
Emilio Cobos Álvarez
e7a0c02b9e Bug 1821404 - Use flex-basis: auto on treecols. r=Gijs,settings-reviewers
So that their width property is honored.

Differential Revision: https://phabricator.services.mozilla.com/D172163
2023-03-09 20:50:52 +00:00
Jan Horak
e42200263f Bug 1621913 Don't show the defaultBrowserBox in settings under flatpak; r=settings-reviewers,Gijs
Under Flatpak we cannot determine if the application is set as default handler
for http/https protocols and also the application cannot set the system defaults.
In order to avoid user confusion we hide the defaultBrowserBox which
under flatpak shows always: "Firefox is not your default browser" and the
"Make Default..." button does not make any change to the system.

Differential Revision: https://phabricator.services.mozilla.com/D170590
2023-03-09 15:14:26 +00:00
Emilio Cobos Álvarez
097eb3703e Bug 1820534 - Move front-end to modern flexbox. r=Gijs,dao,settings-reviewers,credential-management-reviewers,sgalich,devtools-reviewers,nchevobbe
Done mostly automatically via find/replace following the conversions
specified here:

  https://groups.google.com/a/mozilla.org/g/firefox-dev/c/9sGpF1TNbLk/m/QpU3oTUuAgAJ

For the most part I think the "flex: N N" usage could be simplified to
just "flex: N", but I wanted to preserve behavior (-moz-box-flex sets
both flex-grow and flex-shrink).

I changed legacy layout to also look at the order property rather than
-moz-box-ordinal-group because it made splitters and treecols easier (we
don't need to deal with both orders).

Differential Revision: https://phabricator.services.mozilla.com/D171715
2023-03-08 16:13:57 +00:00
Stanca Serban
923ef223cd Backed out changeset c25af897c9bc (bug 1820534) for causing reftests and mochitests failures. 2023-03-08 17:34:42 +02:00
Emilio Cobos Álvarez
57e476145f Bug 1820534 - Move front-end to modern flexbox. r=Gijs,dao,settings-reviewers,credential-management-reviewers,sgalich,devtools-reviewers,nchevobbe
Done mostly automatically via find/replace following the conversions
specified here:

  https://groups.google.com/a/mozilla.org/g/firefox-dev/c/9sGpF1TNbLk/m/QpU3oTUuAgAJ

For the most part I think the "flex: N N" usage could be simplified to
just "flex: N", but I wanted to preserve behavior (-moz-box-flex sets
both flex-grow and flex-shrink).

I changed legacy layout to also look at the order property rather than
-moz-box-ordinal-group because it made splitters and treecols easier (we
don't need to deal with both orders).

Differential Revision: https://phabricator.services.mozilla.com/D171715
2023-03-08 14:11:35 +00:00
DJ
082dbd58c2 Bug 1820560 - Expose CBH prefs page strings to localization. r=settings-reviewers,fluent-reviewers,flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D171874
2023-03-08 09:09:51 +00:00
issammani
d437ce175d Bug 1804502 - Add relevant telemetry events to relay integration. r=credential-management-reviewers,dimi,sgalich,settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D163911
2023-03-06 23:50:44 +00:00
Mike Conley
0eede08ea7 Bug 1819343 - Allow MigrationWizard initialization to be kicked off either on binding to the DOM or with script. r=kpatenio,settings-reviewers,Gijs
Up until now, we've used the connectedCallback to initialize the MigrationWizard. That's
been fine, except that it requires us to remove and then re-add the element to the DOM
if we want to "reset" it and start over.

This patch adds a method "requestState" to the MigrationWizard that kicks off the
initialization. Embedders can set the `auto-request-state` attribute on the
element if they're happy to just use the connectedCallback.

Finally, this adds an intrinsic width to the entire MigrationWizard element to reduce
flicker when transitioning between states.

Differential Revision: https://phabricator.services.mozilla.com/D171742
2023-03-06 21:39:01 +00:00
Marian-Vasile Laza
618f5a069a Backed out 2 changesets (bug 1804502) for bc failures on browser_relay_telemetry.js. CLOSED TREE
Backed out changeset 58235f400c11 (bug 1804502)
Backed out changeset 8131e1111608 (bug 1804502)
2023-03-06 01:07:24 +02:00
issammani
1771938f2f Bug 1804502 - Add relevant telemetry events to relay integration. r=credential-management-reviewers,dimi,sgalich,settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D163911
2023-03-05 20:37:06 +00:00
Tim Huang
4d752ebbe4 Bug 1818292 - Add email tracking protection to ETP strict. r=pbz,mconley
Differential Revision: https://phabricator.services.mozilla.com/D170759
2023-03-02 21:42:48 +00:00
Dão Gottwald
cf767fa2d9 Bug 1817401 - Implement "Dismissed suggestions" handling in Firefox Suggest preferences section. r=adw,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D170671
2023-03-01 09:58:25 +00:00
Francesco Lodolo (:flod)
23cb018d25 Bug 1819028 - Display "language (region)" instead of "language" when there is a perfect match in accept-languages, r=Gijs,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D171063
2023-02-27 13:08:03 +00:00
Paul Zuehlcke
d8a517ef96 Bug 1816896 - Enable cookie banner handling UI in Nightly and early Beta. r=jhirsch,settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D169990
2023-02-27 12:50:48 +00:00
Mark Banner
a8cac9a70a Bug 1816939 - Use search engine ids rather than objects for updating the list in preferences. r=settings-reviewers,Gijs
Comparing objects may be unreliable, using search engine ids are guarenteed to be unique.

Differential Revision: https://phabricator.services.mozilla.com/D170209
2023-02-20 13:36:41 +00:00
Mark Banner
8acde8d74e Bug 1816934 - Update consumers of services/settings to import ES modules directly. r=leplatrem,extension-reviewers,settings-reviewers,credential-management-reviewers,sgalich,mconley,robwu
Differential Revision: https://phabricator.services.mozilla.com/D169934
2023-02-17 19:32:06 +00:00
DJ
ad3692cf31 Bug 1817201 - sync PBM service.mode pref with base service.mode pref on settings page. r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D170113
2023-02-17 18:59:35 +00:00
Mark Banner
7a655466af Bug 1817183 - Update consumers of services/fxaccounts to import ES modules directly. r=markh,settings-reviewers,credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D170062
2023-02-17 16:34:43 +00:00
Cristian Tuns
b3bf09cc0d Backed out 6 changesets (bug 1816934, bug 1817182, bug 1817179, bug 1817183) for causing dt failures in browser_jsterm_autocomplete_null.js CLOSED TREE
Backed out changeset 17d4c013ed92 (bug 1817183)
Backed out changeset cfed8d9c23f3 (bug 1817183)
Backed out changeset 62fe2f589efe (bug 1817182)
Backed out changeset 557bd773fb85 (bug 1817179)
Backed out changeset 7f8a7865868b (bug 1816934)
Backed out changeset d6c1d4c0d2a0 (bug 1816934)
2023-02-17 10:51:33 -05:00
Mark Banner
0ba34b9422 Bug 1817183 - Update consumers of services/fxaccounts to import ES modules directly. r=markh,settings-reviewers,credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D170062
2023-02-17 09:01:45 +00:00
Mark Banner
aec4c1293b Bug 1816934 - Update consumers of services/settings to import ES modules directly. r=leplatrem,extension-reviewers,settings-reviewers,credential-management-reviewers,sgalich,mconley,robwu
Differential Revision: https://phabricator.services.mozilla.com/D169934
2023-02-17 09:01:43 +00:00
Molly Howell
3687ba7c9e Bug 1809360 - Have this test check against the correct scroll position. r=settings-reviewers,Gijs
The test is checking whether the preferences page has ever been scrolled at
all for any reason, which means the scroll that happens when the setting under
test is focused is causing the failure. But we're really only interested in
what happens when the setting is toggled, not focused, so we should save the
scroll position right before the toggle happens and compare the final position
against that, not just always against zero.

Differential Revision: https://phabricator.services.mozilla.com/D170087
2023-02-16 18:30:53 +00:00
Bilal
10ac84be22 Bug 1811922 - ESMified browser/components/doh files. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D169872
2023-02-15 22:29:33 +00:00
Joel Maher
a62ef05cdb Bug 1816191 - Skip tests in order to keep win7 running @ azure. r=gbrown,necko-reviewers,settings-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,nalexander,sgalich,alwu
Differential Revision: https://phabricator.services.mozilla.com/D169523
2023-02-14 23:44:12 +00:00