Commit Graph

3960 Commits

Author SHA1 Message Date
Kershaw Chang
6e5b163a62 Bug 1596847 - DoH settings UI for excluded domains, r=fluent-reviewers,settings-reviewers,Gijs,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D173521
2023-04-05 17:13:54 +00:00
Valentin Gosu
898d4c855e Bug 1610741 - Allow setting invalid URL in TRRService and show it in settings r=Gijs,fluent-reviewers,settings-reviewers,flod
- Patch changes TRRService::MaybeSetPrivateURI so that it doesn't bail
  if the URL is invalid. That could lead us into a state where the
  network.trr.uri pref has been set to some invalid URL, but we continue
  using the previous domain (or even the default TRR provider) instead.
- Updates the DoH settings UI to not set the network.trr.uri pref to "",
  as that will cause the TRRService to use the value of
  the network.trr.default_provider_uri pref instead.

Differential Revision: https://phabricator.services.mozilla.com/D174111
2023-04-05 17:13:53 +00:00
Valentin Gosu
8a341f3413 Bug 1610741 - DoH Settings UI: Show error reason in Not Available label r=Gijs,kershaw,fluent-reviewers,necko-reviewers,settings-reviewers,flod
- The patch saves the confirmation channel's status and skipReason in the TRR Service
- The UI queries the status and displays the stringified version in the Not Available (reason) label
- Introduces doh-status-label CSS rule so the Learn-More link isn't off center

Differential Revision: https://phabricator.services.mozilla.com/D174110
2023-04-05 17:13:53 +00:00
Valentin Gosu
aa6cc0f7c5 Bug 1610741 - Remove old DoH UI r=Gijs,settings-reviewers,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D173940
2023-04-05 17:13:52 +00:00
Valentin Gosu
590ab2eebf Bug 1610741 - DoH setting UI r=kershaw,settings-reviewers,Gijs,pbz,flod
Project plan: https://docs.google.com/document/d/12IGABt1eXI276qHduXXbVZqRFrhLN7Ad3gKEgxz81sE
Copy deck: https://docs.google.com/document/d/130UTox8bQbybjYIwvltR4qBg2hWjsGhuNUHypLwUAEQ
Figma: https://www.figma.com/file/qE8FEIOv2Q0pm8e1euItd1/DoH-UI-Improvements?node-id=15%3A3479&t=8tJjft2zfvDJcV2N-0


This change adds a DNS over HTTPS section to about:preferences#privacy
The UI is intended to have the same style as the Enhanced Tracking Protection
choices.
The old DoH UI is going to be removed in a followup patch.

Differential Revision: https://phabricator.services.mozilla.com/D172966
2023-04-05 17:13:52 +00:00
Niklas Baumgardner
439f0e038c 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
b461ea008c 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
4d97b30093 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
shahx95
5aa5b97b92 Bug 1814422 - Replace html:a link in searchResults.inc.xhtml with moz-support-link. r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D174315
2023-04-03 19:52:05 +00:00
Cristian Tuns
b60a23ce14 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
0e1fd256c7 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
Barret Rennie
f7a4fadf48 Bug 1788954 - Convert toolkit/components/nimbus to ES modules r=Standard8,pip-reviewers,credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D172850
2023-03-30 20:51:58 +00:00
Emilio Cobos Álvarez
9b62e90826 Bug 1825185 - Simplify updater deck markup. r=Gijs,settings-reviewers
The spacers are unnecessary if there's a <label> or <description> that
flexes.

Since we allow labels/descriptions to shrink now they'd distribute the
space along with the spacer, which caused unnecessarily small labels.

Differential Revision: https://phabricator.services.mozilla.com/D173937
2023-03-29 18:46:22 +00:00
Ebilite Uchenna
c27b14be96 Bug 1825129 - Cookie Banner Reduction learn more link does not point to the correct URL. r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D173926
2023-03-29 18:31:05 +00:00
CanadaHonk
de0de3489c Bug 1801379 - Migrate Sinon.jsm to an ES module r=extension-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,fxview-reviewers,devtools-reviewers,Standard8,nchevobbe,sclements,dimi,mconley,bytesized,robwu
Migrated `testing/modules/Sinon.sys.mjs` to an ES module.

`testing` should now be 100% ESM 🎉

Differential Revision: https://phabricator.services.mozilla.com/D173643
2023-03-29 07:34:10 +00:00
ui.dev
d06616a895 Bug 1824389 - Remove _initCookieBannerHandlingLearnMore() function from privacy.js. r=tgiles.
Differential Revision: https://phabricator.services.mozilla.com/D173621
2023-03-28 20:09:05 +00:00
Emilio Cobos Álvarez
08bd936126 Bug 1824957 - Null-check tree selection in preferences search. r=Gijs
The selection getter is nullable. Not having this check causes
browser_experimental_features_filter.js to fail due to the thrown
exception.

Differential Revision: https://phabricator.services.mozilla.com/D173847
2023-03-28 14:46:52 +00:00
Sammy Khamis
ac76438537 Bug 1818109: Update sync preferences wording to indicate per account r=fluent-reviewers,flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D173379
2023-03-28 01:08:13 +00:00
Ebilite Uchenna
b73aa86e1d Bug 1814426 - Replaced "cookieBannerHandlingLearnMore" xul label with moz-support-link. r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D173502
2023-03-24 14:18:53 +00:00
Victoria Ajala
87aa720ff0 Bug 1821086 - Replace connect another device label with HTML anchor element r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D172670
2023-03-23 19:18:44 +00:00
Ebilite Uchenna
0eb9e9daa9 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
897bfad9bf 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
02d11f37da 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
36fbc35253 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
53fa5ffd91 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
631c405b47 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
2f039e6f10 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
0604905647 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
72576c89bd 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
adc9a611ab 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
d7364e01ee 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
bb07cab4ff 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
b9a4c412a4 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
61a43fc8cb 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
1d6832732d 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
bb10673b8e 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
14724fdb21 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)
fa28bcb157 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
5c075e9201 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
c0d8e7c741 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
fdd13dfa60 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
e0499363a2 Backed out changeset 21ac89d8a165 (bug 1820655) for causing Gecko Decision failure. CLOSED TREE 2023-03-14 03:20:05 +02:00
Mike Conley
d853edb9ce 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
0211d4fe24 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
5287726a01 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
19d3d0a258 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
8d4dbefad6 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
7b0bbd4dca 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
cdff2ecc8e 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
5d57898ee6 Backed out changeset c25af897c9bc (bug 1820534) for causing reftests and mochitests failures. 2023-03-08 17:34:42 +02:00