Commit graph

2924 commits

Author SHA1 Message Date
Luca Greco
8245f5c997 Bug 1867034 - Fix webNavigation central-as-beta test failure by fixing non-schemeless typed url wrongly detected as schemeless. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D194926
2023-11-29 14:37:33 +00:00
Luca Greco
e7c75ccf37 Bug 1866565 - Do not open an about:addons tab when opening an abuse report form in a tab from a toolbar button context menu. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D194648
2023-11-27 22:03:16 +00:00
Luca Greco
2985cf7b0a Bug 1863307 - Adapt mochitest-browser tests covering the report context menu item to run with amoFormEnabled true/false. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D194707
2023-11-27 11:20:09 +00:00
Joel Maher
2cae29b76e Bug 1859869 - batch 12 - browser/* xpcshell .ini manifests to .toml. r=aryx,extension-reviewers,credential-management-reviewers,search-reviewers,sessionstore-reviewers,places-reviewers,issammani,Standard8,robwu,sclements
Differential Revision: https://phabricator.services.mozilla.com/D193996
2023-11-21 17:35:23 +00:00
Brad Werth
e65c77d0d9 Bug 1854820 Part 2: Update an extension window test to check window sizes. r=extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D192980
2023-11-18 00:30:52 +00:00
Anna Yeddi
67fc31c35a Bug 1864221 - Pt.2 Add exceptions from a11y_checks for 2 tests purposefully clicking on container elements in Webextensions. r=rpl
There are 2 failing test cases in `browser/components/extensions/test/browser/browser_ext_browserAction_popup_preload.js` for the `html:body` that are sending clicks to a `<body>` element to dismiss the pending popup using an alternative way of the popup dismissal, where the other way like `Esc` key is available, therefore these two test clicks can be excluded from the a11y_checks.

Another test cases are in `browser/components/extensions/test/browser/browser_ext_menus_capture_secondary_click.js` that are clicking on the `<menu>` parent container to confirm the click event is not going to be triggered for the attached menu items, thus these clicks are also excluded from the a11y_checks.

These actions are not expected or do not have to be done by a user of an assistive technology and we do not have to confirm the accessibility of these elements.

Thus, we are excluding these click events from accessibility checks.

Differential Revision: https://phabricator.services.mozilla.com/D193574
2023-11-15 17:25:35 +00:00
Anna Yeddi
a53e4bcd61 Bug 1864221 - Pt.1 Add exceptions from a11y_checks for 3 tests clicking on disabled controls in Webextensions. r=Jamie,extension-reviewers,rpl
We intentionally turn off a11y_checks for these click events, because the clicks in the patch are targeting disabled controls to confirm the click events won't come through. These clicks are not meant to be interactive and are not expected to be accessible.

Thus, we are excluding this click event from accessibility checks and removing the fail-if annotation that was added by bug 1854460 before the investigation in the meta bug 1854461.

Differential Revision: https://phabricator.services.mozilla.com/D193329
2023-11-15 17:25:35 +00:00
Luca Greco
c038ce29c8 Bug 1820158 - Port WEBEXT_EVENTPAGE_IDLE_RESULT_COUNT and WEBEXT_BROWSERACTION_POPUP_PRELOAD_RESULT_COUNT to Glean labeled_counter metrics. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D191756
2023-11-10 15:09:35 +00:00
Luca Greco
ebad4bf858 Bug 1820158 - Port WEBEXT_* timing histograms to Glean timing_distribution metrics. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D191699
2023-11-10 15:09:34 +00:00
mcheang
d8ddd3cc26 Bug 1863360 - Make tests pass for app provided search engine class. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D192862
2023-11-08 11:38:36 +00:00
Stanca Serban
e4710c7c5d Backed out 2 changesets (bug 1854820) for causing browser-chrome failures in browser_ext_windows_update.js.
Backed out changeset caeb06504910 (bug 1854820)
Backed out changeset e61a1f47853c (bug 1854820)
2023-11-08 12:00:47 +02:00
Brad Werth
88d846bbb8 Bug 1854820 Part 2: Update an extension window test to check window sizes. r=extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D192980
2023-11-07 22:04:07 +00:00
Luca Greco
bf94ee1d15 Bug 1861002 - QuarantinedDomains._onUserAllowedPrefChanged shouldn't call onPropertyChanged when no AddonWrapper is found. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D191852
2023-11-07 15:12:37 +00:00
Malte Juergens
e069a5d4fb Bug 1858073 - Do not load mochitest directory listing in quirks mode r=intermittent-reviewers,jmaher,extension-reviewers,robwu DONTBUILD
Prepend the mochitest directory listing with `<!DOCTYPE html>` to prevent the document to be loaded in quirks mode and flood the log with console messages.

Differential Revision: https://phabricator.services.mozilla.com/D190544
2023-11-06 09:56:03 +00:00
Tom Marble
28edc0c671 Bug 1859905 - convert .ini manifests to .toml: batch 19 browser_*.ini r=jmaher,webdriver-reviewers,necko-reviewers,extension-reviewers,devtools-reviewers,anti-tracking-reviewers,valentin,robwu,pbz
Differential Revision: https://phabricator.services.mozilla.com/D191771
2023-10-25 21:47:25 +00:00
Natalia Csoregi
8a8efda530 Backed out changeset 1ca403a2c00e (bug 1859905) for causing failures on test_mochitest_integration.py CLOSED TREE 2023-10-25 22:26:24 +03:00
Tom Marble
9c93e7d5df Bug 1859905 - convert .ini manifests to .toml: batch 19 browser_*.ini r=jmaher,webdriver-reviewers,necko-reviewers,extension-reviewers,devtools-reviewers,anti-tracking-reviewers,valentin,robwu,pbz
Differential Revision: https://phabricator.services.mozilla.com/D191771
2023-10-25 17:12:24 +00:00
Anna Yeddi
76cb7950f2 Bug 1858041 - Pt.3. Temporarily skip some Tier 2 a11y_checks for unexpecredly failing/passing or crashing on Autoland. r=Jamie,extension-reviewers,devtools-reviewers,rpl,places-reviewers
There are some a11y_checks that are intermittently failing on Autoland and pass on Try and vice versa. Also, a couple of tests are crashing while performing a11y_checks, thus they are to be skipped while we continue the investigation into each of them.

Related bugs:
- Fail-if tests: meta bug 1848402
- Explore capturing click events for a11y_checks: bug 1692110

Differential Revision: https://phabricator.services.mozilla.com/D191259
2023-10-23 15:45:23 +00:00
Drew Willcoxon
0965f5886d Bug 1827966 - Part 3: Remove support for dismiss and help buttons from extensions tests. r=dao
Depends on D190893

Differential Revision: https://phabricator.services.mozilla.com/D190894
2023-10-13 21:52:07 +00:00
Frederik Braun
b903dda85e Bug 1812192 - Default some more tests to use HTTPS explicitly r=freddyb,mak
Depends on D179795

Differential Revision: https://phabricator.services.mozilla.com/D181097
2023-10-11 17:49:42 +00:00
Karandeep
5b311b33e2 Bug 1853910 - Remove Legacy Event Telemetry Dependencies. r=mak,extension-reviewers,robwu
Depends on D188721

Differential Revision: https://phabricator.services.mozilla.com/D189558
2023-10-11 07:45:13 +00:00
Cristian Tuns
5fabc0ee57 Backed out 6 changesets (bug 1812192) for causing browser_schemeless.js failures. CLOSED TREE
Backed out changeset 3d07a92324d0 (bug 1812192)
Backed out changeset 9c2a1ff6c90d (bug 1812192)
Backed out changeset fa6784f8b0f4 (bug 1812192)
Backed out changeset 0f39aba7e4d5 (bug 1812192)
Backed out changeset ef7219327a10 (bug 1812192)
Backed out changeset 9833b559342e (bug 1812192)
2023-10-10 10:02:25 -04:00
Frederik Braun
43f9778dee Bug 1812192 - Default some more tests to use HTTPS explicitly r=freddyb,mak
Depends on D179795

Differential Revision: https://phabricator.services.mozilla.com/D181097
2023-10-10 08:43:00 +00:00
Anna Yeddi
b5dec7d618 Bug 1854460 - Temporarily fail-if some Tier 2 a11y_checks for Webextensions. r=mixedpuppy
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, Webextensions-sepecific meta bug 1854461
- Explore capturing click events for a11y_checks: bug 1692110

Depends on D188912

Differential Revision: https://phabricator.services.mozilla.com/D188913
2023-10-09 18:20:15 +00:00
Cristian Tuns
6b9650b822 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
Stanca Serban
270068fd8d Backed out 2 changesets (bug 1853910) for causing mochitests failures in browser_ext_urlbar_attributionURL.js. CLOSED TREE
Backed out changeset eea288462cbb (bug 1853910)
Backed out changeset 75543d7d4250 (bug 1853910)
2023-10-07 00:17:27 +03:00
Anna Yeddi
9d85160f25 Bug 1854460 - Temporarily disable some Tier 2 a11y_checks for Webextensions. r=mixedpuppy
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 skip the failing tests altogether and then handle each one of them individually.

This task is to skip with `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, Webextensions-sepecific meta bug 1854461
- Explore capturing click events for a11y_checks: bug 1692110

Differential Revision: https://phabricator.services.mozilla.com/D188913
2023-10-06 18:11:32 +00:00
Karandeep
76eb0e17eb Bug 1853910 - Remove Legacy Event Telemetry Dependencies. r=mak,extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D189558
2023-10-06 12:33:14 +00:00
ganna
4e74ff2c72 Bug 1844850 - Use moz-message-bar in the unified extensions panel. r=tgiles,hjones,fluent-reviewers,extension-reviewers,willdurand,bolsson,ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D186718
2023-10-03 15:35:42 +00:00
Rob Wu
e2a3a1272a Bug 1853409 - Part 2: Require "all urls" match pattern for top-level match_about_blank r=rpl
This patch changes the behavior as follows:

- match_about_blank in content_scripts in manifest.json will now only
  run in top-level about:blank if its `matches` key specifies a match
  pattern set that is equivalent to all http(s) URLs.

- matchAboutBlank in tabs.executeScript requires activeTab permission
  (as before), or an all-URLs host permission.

Differential Revision: https://phabricator.services.mozilla.com/D189492
2023-10-02 19:07:58 +00:00
Emilio Cobos Álvarez
b09f1ee056 Bug 1853515 - Simplify webextension toolbar icons. r=desktop-theme-reviewers,dao,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188407
2023-10-02 17:53:18 +00:00
Tom Marble
1ca03b1818 Bug 1855295 convert .ini manifests to .toml: batch 8 dom/[a-l]**/mochitest.ini r=jmaher,jgilbert,extension-reviewers,credential-management-reviewers,robwu,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D189381
2023-10-02 17:18:28 +00:00
Luca Greco
66af15da8d Bug 1853617 - Clear all logins included FxAccounts ones in test_ext_browsingData_passwords test and re-enable it on windows11 conditioned profile jobs. r=jmaher,robwu
Differential Revision: https://phabricator.services.mozilla.com/D189148
2023-09-25 19:07:35 +00:00
Mark Banner
b23ba99911 Bug 1832704 - Remove SearchService's init-complete, replace by a promise that resolves or rejects as appropriate. r=mcheang,extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D187512
2023-09-25 10:44:49 +00:00
Joel Maher
a437fdd3c0 Bug 1853617 - skip test_ext_browsingData_passwords.js on condprof. r=aryx,extension-reviewers,rpl
Differential Revision: https://phabricator.services.mozilla.com/D188999
2023-09-22 19:02:48 +00:00
Tom Marble
d596ebea8e Bug 1853243 - convert .ini manifests to .toml: batch 5 browser/**/browser.ini r=jmaher,mossop,webcompat-reviewers,twisniewski,search-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D188427
2023-09-21 22:47:07 +00:00
Gregory Pappas
6e1275a748 Bug 1843999 - Remove dom.animations-api.core.enabled, dom.animations-api.implicit-keyframes.enabled, and dom.animations-api.autoremove.enabled prefs r=dom-core,webidl,devtools-reviewers,firefox-animation-reviewers,saschanaz,edgar
Differential Revision: https://phabricator.services.mozilla.com/D183827
2023-09-20 08:55:50 +00:00
Luca Greco
91738ce7af Bug 1852391 - gBrowser _notifyPinnedStatus should account for discarded tabs. r=Gijs,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D188581
2023-09-19 15:24:13 +00:00
Sandor Molnar
80544101c7 Backed out changeset f0a2aa2ffe6d (bug 1832704) for causing xpc failures in toolkit/components/search/tests/xpcshell/test_async.js 2023-09-19 03:19:30 +03:00
Mark Banner
b39259bede Bug 1832704 - Remove SearchService's init-complete, replace by a promise that resolves or rejects as appropriate. r=mcheang,extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D187512
2023-09-18 15:09:56 +00:00
Marco Bonardo
70fdad6676 Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
This should make a bit clearer that it is only starting the load, not waiting
for its completion.

Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-15 09:16:34 +00:00
Sandor Molnar
950a3c620d Backed out 3 changesets (bug 1852963) for causing remote failures on remote/shared/messagehandler/test/browser/browser_session_data.js CLOSED TREE
Backed out changeset 98de7bc404c3 (bug 1852963)
Backed out changeset edf1527c9a99 (bug 1852963)
Backed out changeset 34357750f69c (bug 1852963)
2023-09-14 20:29:06 +03:00
Marco Bonardo
61f8ecc425 Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
This should make a bit clearer that it is only starting the load, not waiting
for its completion.

Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-14 16:33:13 +00:00
Sam Foster
0db730dada Bug 1833522 - Add closed tabs from closed windows to the history:recently-closed tab menus. r=dao,extension-reviewers,sessionstore-reviewers,sclements,robwu,Standard8,fxview-reviewers
* Change the signature for SessionStore.getClosedTabCount to accept either a window or options object
* Extend tests for the recently-closed-tabs menu(s)
* Add a test manifest to run the session/recently-closed tabs related extension tests with the
  legacy (false) values for the all-windows and closed tabs from closed windows prefs

Differential Revision: https://phabricator.services.mozilla.com/D186400
2023-09-08 00:36:32 +00:00
Rob Wu
8f09f6a6ff Bug 1845739 - About test case in browser_ext_windows_create_url.js r=zombie
This also refactors the test to improve its reliability and clarity.
Previously, the "fail" test cases ran after the test signaled completion
of the test, which means that it wasn't reliable at detecting expected
failures.

Differential Revision: https://phabricator.services.mozilla.com/D186131
2023-08-31 17:19:04 +00:00
Alexandre Poirot
a412242182 Bug 1845768 - [devtools] Only try to open URL as JS files in debugger/view-source if DevTools are opened in the current tab. r=devtools-reviewers,perftest-reviewers,jdescottes,sparky
This will prevent opening any links with the ":\d+" suffix anytime devtools were opened in the past.

Differential Revision: https://phabricator.services.mozilla.com/D185826
2023-08-21 08:01:36 +00:00
Hanpu Liu Charles
af4d15c34d Bug 1817779 - Implemented tabs.detectLanguage for Android, r=robwu,geckoview-reviewers,extension-reviewers,owlish,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D184942
2023-08-16 09:05:20 +00:00
Neil Deakin
5fae98f0e4 Bug 1846036, replace usage of findLogins with searchLoginsAsync, r=credential-management-reviewers,sync-reviewers,joschmidt,markh
One caller in modifyLogin is switched to synchronous searchLogins, we can switch this later to add an asyncronous version of modifyLogin

Differential Revision: https://phabricator.services.mozilla.com/D184840
2023-08-15 00:21:05 +00:00
Iulian Moraru
04ddb49c81 Backed out changeset c8c9ef33bbcf (bug 1817779) for causing mochitest-plain failures on test_ext_all_apis.html. CLOSED TREE 2023-08-14 17:59:30 +03:00
Hanpu Liu Charles
4d4f9a2c43 Bug 1817779 - Implemented tabs.detectLanguage for Android, r=robwu,geckoview-reviewers,extension-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D184942
2023-08-14 14:00:41 +00:00