Commit Graph

791 Commits

Author SHA1 Message Date
Bojidar Marinov
4f5ad30178 Bug 1839845 - Add a few tests for about:settings behavior. r=Gijs,robwu,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203052
2024-02-29 10:09:59 +00:00
Gregory Pappas
9bd4fc9c87 Bug 1878401 - part 7 - Pass BrowsingContext to nsIFilePicker::Init in tests r=extension-reviewers,settings-reviewers,credential-management-reviewers,anti-tracking-reviewers,devtools-reviewers,sgalich,pbz,nchevobbe,zombie,migration-reviewers,mconley
Depends on D200551

Differential Revision: https://phabricator.services.mozilla.com/D200552
2024-02-28 21:29:39 +00:00
Sandor Molnar
c853f2f3e9 Backed out 8 changesets (bug 1878401, bug 1879041) for causing build bustages on widget/nsBaseFilePicker.cpp CLOSED TREE
Backed out changeset 2e2b8df3bdd6 (bug 1879041)
Backed out changeset 6d6952f9df2c (bug 1878401)
Backed out changeset 30b5bb590d3e (bug 1878401)
Backed out changeset 9a4b830334b9 (bug 1878401)
Backed out changeset 3c3d67f1fcb7 (bug 1878401)
Backed out changeset c83ba4026822 (bug 1878401)
Backed out changeset 6bcb670ce475 (bug 1878401)
Backed out changeset f263b196df96 (bug 1878401)
2024-02-28 17:56:48 +02:00
Gregory Pappas
55e30a8b92 Bug 1878401 - part 7 - Pass BrowsingContext to nsIFilePicker::Init in tests r=extension-reviewers,settings-reviewers,credential-management-reviewers,anti-tracking-reviewers,devtools-reviewers,sgalich,pbz,nchevobbe,zombie,migration-reviewers,mconley
Depends on D200551

Differential Revision: https://phabricator.services.mozilla.com/D200552
2024-02-28 15:07:46 +00:00
Harshit Sohaney
048922e69b Bug 1878111 - (part 2) Tests for remembering user prefs in the clear history dialog. r=pbz,settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D201275
2024-02-23 14:13:30 +00:00
Hanna Jones
8d97bdbd6a Bug 1849135 - make about:preferences search work with moz-toggle + custom elements r=settings-reviewers,Gijs
I started hitting search issues with my change in D196494 and with other experiments to use more reusable components in about:preferences. We'll likely have to keep adding new elements to `searchWithinNode`, but changing `textNodeDescendants` to look for text nodes in the shadow DOM seems like a generally helpful change + gets the highlighting working properly.

Differential Revision: https://phabricator.services.mozilla.com/D197120
2024-02-20 16:38:03 +00:00
Harshit Sohaney
6c978c9036 Bug 1854680 - Enable the new clear history dialog in nightly only. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D198600
2024-01-30 14:45:24 +00:00
Tom Marble
a42a175006 Bug 1868866 - adds ManifestParser TOML linter r=jmaher,linter-reviewers,ahal,webdriver-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,cookie-reviewers,sessionstore-reviewers,places-reviewers,dom-storage-reviewers,translations-reviewers,valentin,whimboo,Standard8,sclements,jesup
Differential Revision: https://phabricator.services.mozilla.com/D199054
2024-01-29 17:30:48 +00:00
Sandor Molnar
778333649c Backed out changeset 2be67d91cf16 (bug 1868866) for causing Mn failures at toolkit/xre/test/marionette/test_exitcode.py CLOSED TREE 2024-01-27 00:15:22 +02:00
Tom Marble
920ed4a927 Bug 1868866 - adds ManifestParser TOML linter r=jmaher,linter-reviewers,ahal,webdriver-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,cookie-reviewers,sessionstore-reviewers,places-reviewers,dom-storage-reviewers,translations-reviewers,valentin,whimboo,Standard8,sclements,jesup
Differential Revision: https://phabricator.services.mozilla.com/D199054
2024-01-26 20:06:56 +00:00
Joel Maher
3662d84cd4 Bug 1873732 - remove outdated manifest conditions and use consistent conditions. r=aryx,necko-reviewers,jgilbert,settings-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,dom-storage-reviewers,sgalich,kershaw,nchevobbe,janv,dao
Differential Revision: https://phabricator.services.mozilla.com/D198082
2024-01-25 00:27:05 +00:00
Stanca Serban
71d0d5cf96 Backed out changeset 54462970f797 (bug 1873732) for causing web platform tests failures. 2024-01-24 21:08:19 +02:00
Gijs Kruitbosch
532c3bc439 Bug 1780071 - autofix browser/ violations of no-comparison-or-assignment-inside-ok, r=Standard8,webcompat-reviewers,extension-reviewers,settings-reviewers,credential-management-reviewers,fxview-reviewers,sessionstore-reviewers,places-reviewers,sgalich,dao,twisniewski,mconley,sclements
Differential Revision: https://phabricator.services.mozilla.com/D198974
2024-01-24 17:03:13 +00:00
Joel Maher
04ec786571 Bug 1873732 - remove outdated manifest conditions and use consistent conditions. r=aryx,necko-reviewers,jgilbert,settings-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,dom-storage-reviewers,sgalich,kershaw,nchevobbe,janv,dao
Differential Revision: https://phabricator.services.mozilla.com/D198082
2024-01-24 16:35:54 +00:00
Jaydeep Das
95cda128bf Bug 328707 - Allow only valid IP/Hostname for Proxy Config, r=mconley,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D198425
2024-01-22 14:28:41 +00:00
Erik Nordin
87592ba425 Bug 1875090 - Rename ContentTaskUtils.is_visible() to isVisible() r=Gijs,settings-reviewers,pip-reviewers,credential-management-reviewers,sgalich
Renames all instances of the snake_case identifier to
camelCase to match more closely to idiomatic JavaScript
and to existing conventions throughout the code base.

Differential Revision: https://phabricator.services.mozilla.com/D198831
2024-01-19 02:15:34 +00:00
Erik Nordin
399f696700 Bug 1875090 - Rename ContentTaskUtils.is_hidden() to isHidden() r=Gijs,settings-reviewers,pip-reviewers,credential-management-reviewers,sgalich,kpatenio
Renames all instances of the snake_case identifier to
camelCase to match more closely to idiomatic JavaScript
and to existing conventions throughout the code base.

Differential Revision: https://phabricator.services.mozilla.com/D198830
2024-01-19 02:15:34 +00:00
Erik Nordin
5bb63471e3 Bug 1875090 - Rename BrowserTestUtils.is_visible() to isVisible() r=Gijs,settings-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,translations-reviewers,sgalich,bytesized,sfoster
Renames all instances of the snake_case identifier to
camelCase to match more closely to idiomatic JavaScript
and to existing conventions throughout the code base.

Differential Revision: https://phabricator.services.mozilla.com/D198826
2024-01-19 02:15:33 +00:00
Erik Nordin
857bffe429 Bug 1875090 - Rename BrowserTestUtils.is_hidden() to isHidden() r=Gijs,settings-reviewers,pip-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,translations-reviewers,sgalich,mhowell
Renames all instances of the snake_case identifier to
camelCase to match more closely to idiomatic JavaScript
and to existing conventions throughout the code base.

Differential Revision: https://phabricator.services.mozilla.com/D198825
2024-01-19 02:15:33 +00:00
Punam Dahiya
61270d6cf0 Bug 1862023 - Update More From Mozilla product list to display Firefox Monitor r=settings-reviewers,desktop-theme-reviewers,fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D197977
2024-01-17 21:57:33 +00:00
Sandor Molnar
a571c9506e Backed out changeset 44d7819ed242 (bug 1849135) for causing bc failures at browser/components/preferences/tests/browser_search_within_preferences_2.js CLOSED TREE 2024-01-12 00:39:50 +02:00
Hanna Jones
36faabe1c0 Bug 1849135 - make about:preferences search work with moz-toggle + custom elements r=settings-reviewers,Gijs
I started hitting search issues with my change in D196494 and with other experiments to use more reusable components in about:preferences. We'll likely have to keep adding new elements to `searchWithinNode`, but changing `textNodeDescendants` to look for text nodes in the shadow DOM seems like a generally helpful change + gets the highlighting working properly.

Differential Revision: https://phabricator.services.mozilla.com/D197120
2024-01-11 15:03:04 +00:00
Javier Rueda
d6535e0523 Bug 1764694 - Disable 'Remove' button when there are no accepted languages. r=Gijs,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D197635
2024-01-04 23:50:16 +00:00
Karandeep
f11961815d Bug 1852048 - Move address bar to search preferences. r=dao,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D194895
2024-01-04 09:11:22 +00:00
Anna Yeddi
456855d0cf Bug 1872743 - Provide an accessible name to Default and Default Private Engine comboboxes in Settings UI. r=settings-reviewers,mossop
The [`<menulist>` with id `defaultEngine`](https://searchfox.org/mozilla-central/rev/0f39860036f9b6339e65d485aeb6b6be73d9dbda/browser/components/preferences/search.inc.xhtml#19-21) that opens for the `Default Search Engine ` selection on `Settings` > `Search` is not labelled. [The combobox pattern is expected to provide an accessible name](https://www.w3.org/WAI/ARIA/apg/patterns/combobox/#wai-ariaroles,states,andproperties) for the control even when the listbox opened has an accessible name.

We could refer to [the `#defaultEngineGroup` container](https://searchfox.org/mozilla-central/rev/0f39860036f9b6339e65d485aeb6b6be73d9dbda/browser/components/preferences/search.inc.xhtml#15) with `aria-labelledby` to ensure the combobox is labeled, and also to include a description via `aria-describedby` referred to the [on-screen `<description>` provided for the control](https://searchfox.org/mozilla-central/rev/0f39860036f9b6339e65d485aeb6b6be73d9dbda/browser/components/preferences/search.inc.xhtml#17) - this would communicate the purpose of opened list of options to an assistive technology user.

Same pattern could apply to [the Default Private Engine `<menulist>`](https://searchfox.org/mozilla-central/rev/0f39860036f9b6339e65d485aeb6b6be73d9dbda/browser/components/preferences/search.inc.xhtml#33-35).

Since the `browser/components/preferences/tests/browser_searchDefaultEngine.js` a11y_checks will be passing with this change, we are also removing the `fail-if` notation from its test manifest.

Depends on D197535

Differential Revision: https://phabricator.services.mozilla.com/D197540
2024-01-03 14:36:41 +00:00
Anna Yeddi
8bfb3a3e0a Bug 1872739 - Provide an accessible name to Applications richlistbox's actionsMenu comboboxes in Settings UI. r=settings-reviewers,mossop
The [<menulist> with class `actionsMenu`](https://searchfox.org/mozilla-central/rev/0f39860036f9b6339e65d485aeb6b6be73d9dbda/browser/components/preferences/main.js#3737) that opens when a control under the `Action` header of the `Applications` richlistbox on `Settings` > `General` > `Files and Applications` is activated is not labelled. The combobox pattern is expected to provide an accessible name for the control even when the listbox opened has an accessible name.

We could refer to [the `#actionColumn` container](https://searchfox.org/mozilla-central/rev/0f39860036f9b6339e65d485aeb6b6be73d9dbda/browser/components/preferences/main.inc.xhtml#452-454) with `aria-labelledby` to ensure the combobox is labeled and the purpose of opened list of options is communicated to an assistive technology user.

Since some a11y_checks will be passing with this change, we are also removing the `fail-if` notations from the appropriate test files in the Settings UI manifest.

Differential Revision: https://phabricator.services.mozilla.com/D197535
2024-01-03 14:36:40 +00:00
Karandeep
4d994d852f Bug 1868756 - For users with the search bar disabled, "Show search suggestions" should be unchecked when either browser.search.suggest.enabled or browser.urlbar.suggest.searches are false. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D195889
2023-12-27 17:51:38 +00:00
Anna Yeddi
c6219693e0 Bug 1869942 - Temporarily pass clicks on inacessible richlistbox treecol in a11y-checks while their accessibility is being fixed. r=Jamie,settings-reviewers,Gijs
Add a temporary check in AccessibilityUtils to pass clicks on inacessible richlistbox treecol so we could remove the `fail-if` notations from the affected test manifests until the bug 1848397 is being resolved. This would allow a11y-checks to continue monitor these affected tests and to avoid unknowingly introducing new inaccessible controls because of that.

When the bug 1848397 is fixed, remove the temporary check introduced in this patch.

Differential Revision: https://phabricator.services.mozilla.com/D196376
2023-12-20 16:05:38 +00:00
jneuberger
5946f0e354 Bug 1867020 - Update about:preferences strings for exceptions modal r=credential-management-reviewers,fluent-reviewers,settings-reviewers,joschmidt,bolsson,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D195279
2023-12-12 16:02:06 +00:00
Karandeep
d41e533454 Bug 1852045 - Hide the "Show search suggestions in address bar results" checkbox when the search bar isn't in the toolbar. r=dao,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D192571
2023-12-05 11:04:39 +00:00
Michael Hughes
5ea9a03802 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
e276c6b6b9 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
9cc9c079f5 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
Karandeep
ce4416a490 Bug 1852044 - Remove the Search Bar section. r=dao,fluent-reviewers,desktop-theme-reviewers,bolsson,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D192722
2023-11-21 05:09:08 +00:00
Karandeep
499e1c4a7e Bug 1852046 - Convert "Suggestions from the web" and "Suggestions from sponsors" toggles to checkboxes on privacy prefs page r=dao,fluent-reviewers,desktop-theme-reviewers,hjones,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D191641
2023-11-16 07:19:42 +00:00
Natalia Csoregi
ab3b33ee93 Backed out changeset 555c786396f8 (bug 1852046) as requested. CLOSED TREE 2023-11-09 20:53:42 +02:00
Karandeep
e2ba36560e Bug 1852042 - Move checkbox from search bar section to the default search engine section in search pref page. r=dao,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D191978
2023-11-01 11:21:14 +00:00
Karandeep
9ec67c7d3d Bug 1852046 - Convert all toggles to checkboxes on privacy prefs page r=dao,fluent-reviewers,desktop-theme-reviewers,hjones,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D191641
2023-10-25 15:30:14 +00:00
Emilio Cobos Álvarez
8024655b1a Bug 1860346 - Fix browser_permissions_dialog.js.
MANUAL PUSH: Trivial orange fix CLOSED TREE
2023-10-25 14:13:14 +02:00
Nipun Shukla
59a0285adf 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
4db9c28d5a 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
5a10da6487 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
Mike Conley
3c473874e4 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
DJ
d9ef55d8a5 Bug 1857968 - adjust cookiebanner prefs for PBM-only behavior. r=pbz,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190493
2023-10-14 17:14:32 +00:00
Noemi Erli
b9d80ca968 Backed out changeset 0bffbf41279d (bug 1857968) for causing failures in browser_search_subdialogs_within_preferences_site_data.js 2023-10-13 00:22:48 +03:00
DJ
6358e1abb9 Bug 1857968 - adjust cookiebanner prefs for PBM-only behavior. r=pbz,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190493
2023-10-12 18:20:33 +00:00
Dave Townsend
153dc47e7f Bug 1857999: SubDialog should insert stylesheets as link elements. r=Gijs,settings-reviewers
Attempt to find other link elements in the document and insert the injected
stylesheets after those. Strictly speaking we could probably just insert them
at the end of the document but this at least keeps them together with other
link elements to aid in inspecting. Falls back to using the XML processing
instruction in hte unlikely case that no other link elements are present.

Differential Revision: https://phabricator.services.mozilla.com/D190679
2023-10-12 09:44:11 +00:00
Drew Willcoxon
234916db20 Bug 1857391 - Remove Firefox Suggest "best match" as its own separate feature. r=daisuke,settings-reviewers
This removes "best match" as its own separate Firefox Suggest feature. In the
future, whether or not a suggestion is a best match (a.k.a. top pick) will be
determined by relevant product requirements. I've confirmed this with Nive.

Here's a summary of changes:

* Removes prefs and Nimbus variables related to best match
* Removes the "Top pick" checkbox in about:preferences
* Removes support for the `best_match` quick suggest config property. This
  property was removed from the config in remote settings a while ago.
* Removes legacy telemetry scalars related to best match. These scalars were
  added years ago for the original best match experiment and before we started
  using Glean. In the case of non-sponsored suggestions, the scalars have not
  been recorded at all for some time. In the case of sponsored suggestions, they
  can now be recorded again due to the recent addition of sponsored priority
  suggestions, but they are superseded by Glean.

Differential Revision: https://phabricator.services.mozilla.com/D190516
2023-10-11 17:17:06 +00:00
Anna Yeddi
ad33444b2e Bug 1854636 - Temporarily fail-if some Tier 2 a11y_checks for Settings UI. r=Jamie,Gijs,settings-reviewers
We are working on [enabling Tier 2 a11y-checks to ensure our products have basic accessibility built-in (bug 1692110)](https://bugzilla.mozilla.org/show_bug.cgi?id=1692110) and before that, we need to prepare the existing code base. While we triage and investigate existent tests that would fail once the a11y-checks are enabled in the CI, we are going to fail-if the failing tests altogether and then handle each one of them individually.

This task is to add `fail-if` condition of the failing tests while we continue investigation into the reasons these tests failed and to be able to backtrack these tests once they're resolved.

Related bugs:
- Disabling tests: meta bug 1848402
- Investigation and remediation for components with disabled tests: meta bugs 1848394 and 1854227, Settings UI-specific meta bug 1854637
- Explore capturing click events for a11y_checks: bug 1692110

Depends on D188990

Differential Revision: https://phabricator.services.mozilla.com/D188991
2023-10-09 18:20:21 +00:00
Cristian Tuns
896197e59e Backed out 30 changesets (bug 1854447, bug 1855491, bug 1854646, bug 1854520, bug 1854528, bug 1854506, bug 1854502, bug 1854443, bug 1854538, bug 1854525, bug 1854660, bug 1854514, bug 1854460, bug 1854625, bug 1854228, bug 1854517, bug 1854533, bug 1692110, bug 1854636, bug 1849021, bug 1854512, bug 1854522, bug 1854509, bug 1854452, bug 1854536, bug 1854531) for causing multiple tier 2 failures on a11y-checks. CLOSED TREE
Backed out changeset 5714b7239b70 (bug 1849021)
Backed out changeset 91e5d7de3484 (bug 1849021)
Backed out changeset cc3142b909f6 (bug 1854660)
Backed out changeset 76d2a8ae9c19 (bug 1854646)
Backed out changeset 36460a147684 (bug 1854636)
Backed out changeset c7529a962a8c (bug 1854625)
Backed out changeset 791f9b03ea96 (bug 1854538)
Backed out changeset bd3f3cb434a5 (bug 1854536)
Backed out changeset 16f4f5bdcaa7 (bug 1855491)
Backed out changeset 6258bab20196 (bug 1854533)
Backed out changeset 29dca16eee2e (bug 1854531)
Backed out changeset 3a69d2c3f562 (bug 1854528)
Backed out changeset 0c63a9ea8b34 (bug 1854525)
Backed out changeset 5795bb6187a5 (bug 1854522)
Backed out changeset 7d4a123a432f (bug 1854520)
Backed out changeset ec95287bd702 (bug 1854517)
Backed out changeset 9914c1481f0d (bug 1854514)
Backed out changeset 25d85e656905 (bug 1854512)
Backed out changeset 828657f2ab73 (bug 1854509)
Backed out changeset 9d8b2e14c375 (bug 1854506)
Backed out changeset 1b3ee1e46e12 (bug 1854502)
Backed out changeset 37c2ec0851dc (bug 1854460)
Backed out changeset c2a60a8fc2d3 (bug 1854452)
Backed out changeset 744a163f2bd1 (bug 1854447)
Backed out changeset 1a9629dae7d5 (bug 1854443)
Backed out changeset c3d5c1ba2a84 (bug 1854228)
Backed out changeset dcd05518b004 (bug 1692110)
Backed out changeset 1c65a4cb618c (bug 1692110)
Backed out changeset 603b891147bd (bug 1692110)
Backed out changeset 53e2fac79d84 (bug 1692110)
2023-10-07 14:43:05 -04:00