Commit Graph

3960 Commits

Author SHA1 Message Date
Tim Giles
30c372508c Bug 1801929 - Replace 'Allow Windows single sign-on' link with support-link r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D167427
2023-01-25 18:56:16 +00:00
Tim Giles
197e363e8f Bug 1801929 - Replace 'Use a Primary Password' link with support-link. r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D167426
2023-01-25 18:56:15 +00:00
Tim Giles
16dc0cd6e1 Bug 1801929 - Replace 'Show alerts about passwords' link with support-link r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D167425
2023-01-25 18:56:15 +00:00
Tim Giles
4ed91e983a Bug 1801929 - Replace link under 'Cookies and Site Data' section with support-link r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D167424
2023-01-25 18:56:14 +00:00
Tim Giles
4c829b9148 Bug 1801929 - Replace 'Do Not Track' learn more link with support-link. r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D167423
2023-01-25 18:56:14 +00:00
Tim Giles
334c52a455 Bug 1801929 - Replace learn more link under 'Custom' option with support-link. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D167422
2023-01-25 18:56:14 +00:00
Tim Giles
247058a0de Bug 1801929 - Replace 'Strict' option learn more link with support-link. r=settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D167421
2023-01-25 18:56:13 +00:00
Tim Giles
72d63afdb2 Bug 1801929 - Replace 'Total Cookie Protection' learn more link with support-link. r=pbz,mconley,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D167420
2023-01-25 18:56:13 +00:00
Tim Giles
237bd9a817 Bug 1801929 - Refactor 'Enhanced Tracking Protection' link with support-link r=settings-reviewers,mconley,mstriemer
We need the .learnMore class here, otherwise the "Learn more" link does
not move to a new line, which is the current behavior.

Differential Revision: https://phabricator.services.mozilla.com/D167419
2023-01-25 18:56:12 +00:00
ecp
bdaf4bdace Bug 1811542 - Changed learnMore labels on non mozilla support links in Privacy settings to html:a elements r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D167469
2023-01-23 18:53:22 +00:00
Mark Banner
2bd093b567 Bug 1811334 - Automatically replace Cu.reportError with console.error (most of browser/components). r=settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D167297
2023-01-20 17:49:21 +00:00
Jared Hirsch
3db2a1803b Bug 1774882 - Avoid the term 'third-party cookies' in Enhanced Tracking Protection preferences. r=settings-reviewers,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D167094
2023-01-20 16:00:11 +00:00
Paul Zuehlcke
9226ddd41f Bug 1809700 - Refactor tests for detect-only pref. r=timhuang,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D166832
2023-01-20 12:22:10 +00:00
Paul Zuehlcke
c561bb7d44 Bug 1809700 - Refactor detect-only mode into separate pref. r=timhuang,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D166831
2023-01-20 12:22:09 +00:00
Gijs Kruitbosch
5a903703c5 Bug 1810995 - update BrowserTestUtils.loadURI consumers to use loadURIString (automated) - browser - r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D167153
2023-01-19 20:16:42 +00:00
Marian-Vasile Laza
70fd2af8ea Backed out 2 changesets (bug 1809700) for causing automation/mochitest/marionette failures. CLOSED TREE
Backed out changeset 7d58f9afe4b7 (bug 1809700)
Backed out changeset 8a37c048a169 (bug 1809700)
2023-01-19 21:33:08 +02:00
Paul Zuehlcke
19eaf572de Bug 1809700 - Refactor tests for detect-only pref. r=timhuang,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D166832
2023-01-19 17:12:00 +00:00
Paul Zuehlcke
2071ac660b Bug 1809700 - Refactor detect-only mode into separate pref. r=timhuang,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D166831
2023-01-19 17:12:00 +00:00
Tim Giles
6b44824dc0 Bug 1801927 - refactor media control learn more link. r=settings-reviewers,mconley
Replaces the "Control media via keyboard, headset, or virtual interface"
XUL label with the moz-support-link element.

Differential Revision: https://phabricator.services.mozilla.com/D166469
2023-01-18 19:13:34 +00:00
Tim Giles
bcd9cd6b58 Bug 1801927 - refactor configure how firefox connects learn more link. r=mconley
Replaces the "Configure how Nightly connects to the internet" XUL label
with the moz-support-link element.

Differential Revision: https://phabricator.services.mozilla.com/D166468
2023-01-18 19:13:34 +00:00
Tim Giles
980f7a2fe8 Bug 1801927 - refactor cfr learn more links. r=settings-reviewers,mossop
Replaces the "Recommend extensions as you browse" and
"Recommend features as you browse" XUL labels with the moz-support-link
element.

Differential Revision: https://phabricator.services.mozilla.com/D166467
2023-01-18 19:13:32 +00:00
Tim Giles
5eb6e6c483 Bug 1801927 - refactor picture in picture learn more link. r=settings-reviewers,mossop
Replaces the "Enable picture-in-picture video controls" XUL label with
the moz-support-link element.

Differential Revision: https://phabricator.services.mozilla.com/D166466
2023-01-18 19:13:32 +00:00
Tim Giles
4d98cc5271 Bug 1801927 - refactor performance settings learn more link. r=settings-reviewers,mossop
Replaces the "Use recommended performance settings" XUL label with
the moz-support-link element.

Differential Revision: https://phabricator.services.mozilla.com/D166465
2023-01-18 19:13:31 +00:00
Tim Giles
2dfc0597c8 Bug 1801927 - refactor DRM content learn more link. r=settings-reviewers,mossop
Replaces the "Play DRM-controlled content" XUL label with the
moz-support-link element.

Differential Revision: https://phabricator.services.mozilla.com/D166464
2023-01-18 19:13:31 +00:00
Tim Giles
653373bc75 Bug 1801927 - refactor containers learn more link. r=hjones,settings-reviewers,mconley
Replaces the XUL label for the "Enable Container Tabs" with the
moz-support-link element

Differential Revision: https://phabricator.services.mozilla.com/D166463
2023-01-18 19:13:31 +00:00
Danny Colin
3fdca19dac Bug 1316727 - Ensure we cannot create a containers with no name r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D165488
2023-01-18 18:16:32 +00:00
Emilio Cobos Álvarez
7b6b803400 Bug 1809633 - Don't set --inner-height in the dialog stack. r=pbz,settings-reviewers
This fixes the content cropping. The issue is that when there are
multiple subdialogs, we set the --inner-height of the latest (smaller in
this case) dialog on the dialog stack, overriding the inner-height for
other frames as well.

With XUL layout we flexed anyways instead of honoring the height:
var(--inner-height), which papered over the problem because the dialog
parent had a min-height.

Rework the window modal offset so that we don't need to set the
--inner-height variable on the parent.

Differential Revision: https://phabricator.services.mozilla.com/D166532
2023-01-11 21:01:27 +00:00
Jared Hirsch
42530ae257 Bug 1800675 - Add about:preferences entry for cookie banner handling. r=fluent-reviewers,flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D164632
2023-01-11 15:54:01 +00:00
Drew Willcoxon
51937fb742 Bug 1808697 - Allow Merino and remote settings suggestions to be passed separately to ensureQuickSuggestInit(). r=daleharvey
`QuickSuggestTestUtils.ensureQuickSuggestInit()` was written before Merino, so
it assumes the suggestion objects passed in are remote settings suggestions.
This revision modifies it so Merino and remote settings suggestions can both be
passed in. That makes it a little nicer for tests that need to test Merino
suggestions in particular, like navigational suggestions, dynamic Wikipedia,
etc.

Another motivation for this change is that it makes it clear which type of
suggestion is being passed to `ensureQuickSuggestInit()`. Unfortunately Merino
suggestion objects are slightly different from remote settings result objects
(`block_id` vs. `id` for example), which are both different from UrlbarResult
objects, and it can be confusing when reading tests. Since "result" is the name
of remote settings objects used internally in the remote settings client, I've
used that term here, and I've updated all callers to use it instead of
"suggestion".

This also makes `MerinoTestUtils` and `QuickSuggestTestUtils` singletons.
Otherwise the new `MerinoTestUtils` instance used inside `QuickSuggestTestUtils`
isn't the same as the one used in the test that calls into
`QuickSuggestTestUtils`, which is very confusing. This made me realize it's a
good idea for these test utils objects to be singletons.

Finally I removed `is_top_pick` handling from the remote settings client and
remote settings suggestions, since the related test is now using Merino. I also
removed `_test_is_best_match` since only one test was using it and it's not
necessary.

Depends on D166019

Differential Revision: https://phabricator.services.mozilla.com/D166050
2023-01-09 20:46:00 +00:00
Shane Hughes
60e9cca3ef Bug 1806903 - More from Mozilla - inline flow for description links. r=pdahiya,settings-reviewers,amy,dao
Differential Revision: https://phabricator.services.mozilla.com/D165346
2023-01-05 20:08:58 +00:00
Tim Huang
2a9f4cc883 Bug 1808212 - Part 3: Adding the content blocking pref setting for the level2 list pref in private windows. r=anti-tracking-reviewers,bvandersloot
This patch adds the content blocking pref setting for the level 2 list
pref in private windows. Also, we add tests for the new setting in this
patch.

Depends on D165938

Differential Revision: https://phabricator.services.mozilla.com/D165939
2023-01-05 13:37:33 +00:00
Emilio Cobos Álvarez
59e7b13fee Bug 1805414 - Remove nsMenuFrame and nsMenuParent. r=smaug,Jamie,desktop-theme-reviewers,settings-reviewers,dao
Move most the event handling stuff to the DOM. I've left nsMenuBarFrame
for now, but I will be removing that in the future.

The basic set up is:

  * nsMenuParent becomes XULMenuParentElement (menubar or popup, manages
    the current active menu item)

  * nsMenuFrame -> XULButtonElements that return true for IsMenu().
    Can't use XULMenuElement because of <button type=menu>, which
    behaves like a, well, menu.

This makes the a11y events for menus (DOMMenuItem{Active,Inactive}) make
sense (before that we were firing duplicate Inactive events etc, and the
event order was rather suspicious).

Differential Revision: https://phabricator.services.mozilla.com/D164210
2023-01-04 19:01:13 +00:00
Csoregi Natalia
16528aebb2 Backed out changeset f11c529b2407 (bug 1805414) for failures on test_submenuClose.xhtml and nsMenuPopupFrame.cpp. CLOSED TREE 2023-01-04 01:48:30 +02:00
Emilio Cobos Álvarez
dd6fd3a3b0 Bug 1805414 - Remove nsMenuFrame and nsMenuParent. r=smaug,Jamie,desktop-theme-reviewers,settings-reviewers,dao
Move most the event handling stuff to the DOM. I've left nsMenuBarFrame
for now, but I will be removing that in the future.

The basic set up is:

  * nsMenuParent becomes XULMenuParentElement (menubar or popup, manages
    the current active menu item)

  * nsMenuFrame -> XULButtonElements that return true for IsMenu().
    Can't use XULMenuElement because of <button type=menu>, which
    behaves like a, well, menu.

This makes the a11y events for menus (DOMMenuItem{Active,Inactive}) make
sense (before that we were firing duplicate Inactive events etc, and the
event order was rather suspicious).

Differential Revision: https://phabricator.services.mozilla.com/D164210
2023-01-03 22:06:01 +00:00
Mark Banner
df47c60747 Bug 1806359 - Convert telemetry imports to direct ES imports. r=necko-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,janerik,mconley,sgalich,bytesized,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D165002
2022-12-23 12:37:07 +00:00
Valentin Gosu
73260a3dbc Bug 1596845 - Make custom about:neterror page for TRR mode3 DNS failures r=pbz,fluent-reviewers,settings-reviewers,flod,edgul
This changes about:neterror to show a specific error page when the DNS failure
occurs for a TRR mode3 page load. This offers the user more information about
the failure, and some options.

This page will be further improved at a later stage when we add a better
DNS over HTTPS settings page.

The page is visible when the browser is using DNS over HTTPS without fallback
to native DNS. To achieve this the user sets `network.trr.mode` to `3` then
loads a page such as `http://nonexistant.test`.

If a top level load's channel returns NS_ERROR_UNKNOWN_HOST we look at
whether the page was indeed loaded with an effectiveTRRMode == TRRONLY
(some loads are excluded from using TRR).
When that is true, we present the error page allowing the user to retry,
exclude the domain from TRR, or open the settings page.

Note: This initial implementation will not work if the
`network.dns.disablePrefetch` pref is set to true. In that case nsHttpChannel
does not get an OnLookupComplete callback, so it doesn't have the
effectiveTRRMode and trrSkipReason. This will be fixed in bug 1805372.

Project plan: https://docs.google.com/document/d/12IGABt1eXI276qHduXXbVZqRFrhLN7Ad3gKEgxz81sE
Copy deck: https://docs.google.com/document/d/130UTox8bQbybjYIwvltR4qBg2hWjsGhuNUHypLwUAEQ

Depends on D164642

Differential Revision: https://phabricator.services.mozilla.com/D164347
2022-12-23 09:26:16 +00:00
Marian-Vasile Laza
6fb0160a69 Backed out 9 changesets (bug 1596845) for causing xpcshell failures on test_trr_enterprise_policy.js. CLOSED TREE
Backed out changeset 231acfc052bb (bug 1596845)
Backed out changeset 7d02dad4d720 (bug 1596845)
Backed out changeset b0449eec2671 (bug 1596845)
Backed out changeset 5cd033c9ef7c (bug 1596845)
Backed out changeset 98d583f1d19e (bug 1596845)
Backed out changeset b78bc0049605 (bug 1596845)
Backed out changeset 88919aaff89b (bug 1596845)
Backed out changeset f4adb3e7b8e1 (bug 1596845)
Backed out changeset b171f7ac0b40 (bug 1596845)
2022-12-23 09:21:39 +02:00
Valentin Gosu
e8ea595264 Bug 1596845 - Make custom about:neterror page for TRR mode3 DNS failures r=pbz,fluent-reviewers,settings-reviewers,flod,edgul
This changes about:neterror to show a specific error page when the DNS failure
occurs for a TRR mode3 page load. This offers the user more information about
the failure, and some options.

This page will be further improved at a later stage when we add a better
DNS over HTTPS settings page.

The page is visible when the browser is using DNS over HTTPS without fallback
to native DNS. To achieve this the user sets `network.trr.mode` to `3` then
loads a page such as `http://nonexistant.test`.

If a top level load's channel returns NS_ERROR_UNKNOWN_HOST we look at
whether the page was indeed loaded with an effectiveTRRMode == TRRONLY
(some loads are excluded from using TRR).
When that is true, we present the error page allowing the user to retry,
exclude the domain from TRR, or open the settings page.

Note: This initial implementation will not work if the
`network.dns.disablePrefetch` pref is set to true. In that case nsHttpChannel
does not get an OnLookupComplete callback, so it doesn't have the
effectiveTRRMode and trrSkipReason. This will be fixed in bug 1805372.

Project plan: https://docs.google.com/document/d/12IGABt1eXI276qHduXXbVZqRFrhLN7Ad3gKEgxz81sE
Copy deck: https://docs.google.com/document/d/130UTox8bQbybjYIwvltR4qBg2hWjsGhuNUHypLwUAEQ

Depends on D164642

Differential Revision: https://phabricator.services.mozilla.com/D164347
2022-12-23 01:20:02 +00:00
Sandor Molnar
a10fcf6c07 Backed out 9 changesets (bug 1596845) for causing mochitest failures in browser/base/content/test/about/browser_aboutCertError_telemetry.js
Backed out changeset eb1e34c3041f (bug 1596845)
Backed out changeset af6d41439c60 (bug 1596845)
Backed out changeset f1447dd8df04 (bug 1596845)
Backed out changeset a383f2bbcaae (bug 1596845)
Backed out changeset 950c66dd6133 (bug 1596845)
Backed out changeset ab300239fd69 (bug 1596845)
Backed out changeset 8e1fe024b680 (bug 1596845)
Backed out changeset 80e5048d1f35 (bug 1596845)
Backed out changeset b14a4910d73b (bug 1596845)
2022-12-23 00:56:35 +02:00
Valentin Gosu
d40c36f86f Bug 1596845 - Make custom about:neterror page for TRR mode3 DNS failures r=pbz,fluent-reviewers,settings-reviewers,flod
This changes about:neterror to show a specific error page when the DNS failure
occurs for a TRR mode3 page load. This offers the user more information about
the failure, and some options.

This page will be further improved at a later stage when we add a better
DNS over HTTPS settings page.

The page is visible when the browser is using DNS over HTTPS without fallback
to native DNS. To achieve this the user sets `network.trr.mode` to `3` then
loads a page such as `http://nonexistant.test`.

If a top level load's channel returns NS_ERROR_UNKNOWN_HOST we look at
whether the page was indeed loaded with an effectiveTRRMode == TRRONLY
(some loads are excluded from using TRR).
When that is true, we present the error page allowing the user to retry,
exclude the domain from TRR, or open the settings page.

Note: This initial implementation will not work if the
`network.dns.disablePrefetch` pref is set to true. In that case nsHttpChannel
does not get an OnLookupComplete callback, so it doesn't have the
effectiveTRRMode and trrSkipReason. This will be fixed in bug 1805372.

Project plan: https://docs.google.com/document/d/12IGABt1eXI276qHduXXbVZqRFrhLN7Ad3gKEgxz81sE
Copy deck: https://docs.google.com/document/d/130UTox8bQbybjYIwvltR4qBg2hWjsGhuNUHypLwUAEQ

Depends on D164642

Differential Revision: https://phabricator.services.mozilla.com/D164347
2022-12-22 21:16:06 +00:00
Shane Hughes
1ff0d448a7 Bug 1803488 - Replace Mozilla Rally with Firefox Relay in about:preferences#moreFromMozilla. r=Gijs,flod,omc-reviewers,fluent-reviewers,settings-reviewers,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D164747
2022-12-22 00:45:21 +00:00
Noemi Erli
b3674333c4 Backed out changeset 793ccea62b2b (bug 1803488) for causing failures in test_BrowserUtils.js CLOSED TREE 2022-12-21 23:38:10 +02:00
Shane Hughes
9a395061d2 Bug 1803488 - Replace Mozilla Rally with Firefox Relay in about:preferences#moreFromMozilla. r=Gijs,flod,omc-reviewers,fluent-reviewers,settings-reviewers,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D164747
2022-12-21 20:49:44 +00:00
Danny Colin
2bfbc92b65 Bug 1796797 - Convert toolkit/components/contextualidentity JSM modules to ESMs r=baku,webdriver-reviewers,extension-reviewers,settings-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D159945
2022-12-21 08:14:05 +00:00
Mark Hammond
c8964d55c0 Bug 1805118 - fix selector so the 'Change Device Name' button state is correct. r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D164429
2022-12-20 01:08:00 +00:00
Daisuke Akatsuka
9766e6003f Bug 1790253: Check whether elements having 'display: contents' style is apz aware. r=botond,smaug,emilio
Differential Revision: https://phabricator.services.mozilla.com/D159378
2022-12-19 08:41:20 +00:00
Sergey Galich
67b3c1d994 Bug 1751763 - Firefox Relay integration r=dimi,flod,mconley,desktop-theme-reviewers,dao,sfoster,geckoview-reviewers,jonalmeida
Differential Revision: https://phabricator.services.mozilla.com/D158155
2022-12-16 18:41:58 +00:00
Ben Hearsum
b4f15c05b7 Bug 1804902: adjust preferences test expectations for msix builds r=settings-reviewers,mconley
Our own updater is disabled when running out of an MSIX build, and we hide update related things from preferences because of that.

Differential Revision: https://phabricator.services.mozilla.com/D164671
2022-12-15 14:30:11 +00:00
Iulian Moraru
929d19c3de Backed out 11 changesets (bug 1804903, bug 1804902, bug 1804900, bug 1804899, bug 1712329, bug 1804898, bug 1804894, bug 1804904, bug 1804896, bug 1804905) for breaking gecko decision task. CLOSED TREE
Backed out changeset 9e7813271e6b (bug 1712329)
Backed out changeset 29aa1d032dd3 (bug 1804903)
Backed out changeset 22ef0b00cc99 (bug 1804905)
Backed out changeset 8fad832a574e (bug 1804904)
Backed out changeset 60f185a3a485 (bug 1804902)
Backed out changeset 8b69824de6e2 (bug 1804900)
Backed out changeset 140f75f3f919 (bug 1804899)
Backed out changeset f4da44b1a219 (bug 1804898)
Backed out changeset 7cf946ae8295 (bug 1804896)
Backed out changeset 07d62af0767f (bug 1804894)
Backed out changeset 1e3e02cc3b1f (bug 1712329)
2022-12-15 03:16:41 +02:00
Ben Hearsum
8b1c390ee3 Bug 1804902: adjust preferences test expectations for msix builds r=settings-reviewers,mconley
Our own updater is disabled when running out of an MSIX build, and we hide update related things from preferences because of that.

Differential Revision: https://phabricator.services.mozilla.com/D164671
2022-12-15 00:45:15 +00:00