Commit Graph

1259 Commits

Author SHA1 Message Date
Stanca Serban
29d6ee2faf Backed out changeset 58e1e96263b7 (bug 1803678) mochitests failures in test_confirm_delete_dialog.html. CLOSED TREE 2024-04-24 03:14:45 +03:00
Hanna Jones
9413513b0d Bug 1803678 - enable lazy loading of ESModule based moz- custom elements r=reusable-components-reviewers,pip-reviewers,credential-management-reviewers,translations-reviewers,kpatenio,issammani,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D207445
2024-04-23 19:28:47 +00:00
Aron Cseh
08943f7f60 Backed out changeset 421fd8a0360c (bug 1803678) for causing mochitest failures on browser_translations_select_panel_init_failure.js CLOSED TREE 2024-04-23 18:16:55 +03:00
Hanna Jones
cf0399a238 Bug 1803678 - enable lazy loading of ESModule based moz- custom elements r=reusable-components-reviewers,pip-reviewers,credential-management-reviewers,translations-reviewers,kpatenio,issammani,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D207445
2024-04-23 13:52:27 +00:00
Sammy Khamis
9ad1c9d961 Bug 1885064 - Ability to send and receive close remote tab pushes r=lina,desktop-theme-reviewers,firefox-desktop-core-reviewers ,emilio,Gijs,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D204556
2024-04-19 20:13:16 +00:00
Cristian Tuns
8904d3681a Backed out changeset ab9a461da1ee (bug 1885064) for causing xpcshell failures in test_commands_closetab.js CLOSED TREE 2024-04-19 15:45:22 -04:00
Sammy Khamis
4e28b48a03 Bug 1885064 - Ability to send and receive close remote tab pushes r=lina,desktop-theme-reviewers,firefox-desktop-core-reviewers ,emilio,Gijs,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D204556
2024-04-19 18:44:43 +00:00
Gijs Kruitbosch
b60eb110cc Bug 1890718 - remove sync/fxa pane inline command listeners, r=sync-reviewers,lina
This also tidies up some variable naming (we were passing 'panel's that were not, in fact, panels)
and removes some methods that we no longer call.

Bug 1690131 removed the last call to 'showRemoteTabsFromFxaMenu', bug 1562006 removed the last
call to 'showSidebarFromFxaMenu', AFAICT.

Differential Revision: https://phabricator.services.mozilla.com/D207452
2024-04-15 23:23:52 +00:00
Gijs Kruitbosch
f63cdcf1d7 Bug 1890718 - driveby: remove outdated mentions of proton, r=mossop,desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D207119
2024-04-15 23:23:50 +00:00
Cosmin Sabou
d17bfe39f8 Backed out 3 changesets (bug 1890718) for failing sevaral UI related bc tests. CLOSED TREE
Backed out changeset 3d91014dfcef (bug 1890718)
Backed out changeset 8c09e2028ad9 (bug 1890718)
Backed out changeset ff91ebffa8ab (bug 1890718)
2024-04-15 21:11:48 +03:00
Gijs Kruitbosch
bee5c98c47 Bug 1890718 - driveby: remove outdated mentions of proton, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D207119
2024-04-15 14:45:51 +00:00
Gijs Kruitbosch
e6dd680afd Bug 1887717 - remove prompts.windowPromptSubDialog pref, r=mtigley,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206685
2024-04-09 18:28:44 +00:00
Emilio Cobos Álvarez
75ee484ddb Bug 1832748 - Hit the urlbar container margin to test the context menu. r=Gijs
Test passes verify locally without this change on my machine, but this
seems to work on automation and seems no more hacky than the existing
100px offset:

  https://treeherder.mozilla.org/jobs?repo=try&revision=309ff5bb95505c69250f3674131b7b5b2453795c

Differential Revision: https://phabricator.services.mozilla.com/D207032
2024-04-09 13:41:33 +00:00
Yi Xiong Wong
78b5d3f5fc Bug 1880914 - Move BrowserFullScreen. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D206200
2024-04-08 17:21:02 +00:00
Emilio Cobos Álvarez
7bbe28bd37 Bug 1832748 - Make click consistently hit space between urlbar and nav bar. r=dao
It seems that 1px offset isn't consistently for our synthesized click to
hit where it's supposed to. There's a 4px gap between urlbar and navbar
so let's increase this a bit.

Differential Revision: https://phabricator.services.mozilla.com/D206881
2024-04-08 11:38:28 +00:00
Mike Conley
b65b8b6cce Bug 1888419 - Put appmenu-remote-tabs-showmore.label into sentence case. r=kcochrane,fluent-reviewers,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D206016
2024-04-02 14:03:46 +00:00
Mark Banner
ffb4b2b3fc Bug 1885723 - Fix more jsm references in browser/. r=Gijs,credential-management-reviewers,omc-reviewers,aminomancer,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D204843
2024-03-19 22:08:29 +00:00
Dave Townsend
a0c83bc943 Bug 1864896: Autofix unused function arguments (browser). r=webcompat-reviewers,mconley,fxview-reviewers,desktop-theme-reviewers,omc-reviewers,migration-reviewers,twisniewski,aminomancer,dao,sclements,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203005
2024-03-19 09:36:35 +00:00
Emilio Cobos Álvarez
1c20c25eda Bug 232598 - Return null for unset attributes in XUL. r=smaug,devtools-reviewers,omc-reviewers,zombie,nchevobbe,settings-reviewers,application-update-reviewers,credential-management-reviewers,mossop,aminomancer,bytesized,issammani,sessionstore-reviewers,dao
I just got bit by this in bug 1873833, let's just fix it. There isn't
all that much stuff depending on it anymore.

Differential Revision: https://phabricator.services.mozilla.com/D204496
2024-03-18 09:15:07 +00:00
Kelly Cochrane
d5647a2076 Bug 1850591 - Convert Firefox View's domain-specific navigation component to a global component r=desktop-theme-reviewers,fxview-reviewers,reusable-components-reviewers,sclements,jules,hjones,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D193593
2024-02-20 18:58:04 +00:00
Noemi Erli
8534246c91 Backed out changeset f19610ecbade (bug 1850591) for causing failures in browser_opentabs_tab_indicators.js CLOSED TREE 2024-02-10 01:07:49 +02:00
Kelly Cochrane
6b7daf459f Bug 1850591 - Convert Firefox View's domain-specific navigation component to a global component r=desktop-theme-reviewers,fxview-reviewers,reusable-components-reviewers,sclements,jules,hjones,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D193593
2024-02-09 22:01:30 +00:00
Karandeep
fa3e7164c7 Bug 1852051 - Remove the Search Bar from the toolbar for users who haven't used it in 120 days. r=dao,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D195001
2024-02-08 16:28:42 +00:00
Anna Yeddi
2065431a19 Bug 1877603 - Add an exception from a11y_checks for a click on a disabled control in a Customizable UI test. r=Gijs
We intentionally turn off a11y_checks, because the test case [disabled_button_in_panel() click is targeting a disabled control](https://searchfox.org/mozilla-central/rev/2a867dd1ab015c3ef24b774a57709fb3b3dc4961/browser/components/customizableui/test/browser_940307_panel_click_closure_handling.js#111) to confirm the click event won't come through.

This disabled control is not meant to be interactive and is not expected to be accessible.

Depends on D200115

Differential Revision: https://phabricator.services.mozilla.com/D200116
2024-02-01 15:35:54 +00:00
Anna Yeddi
dae585bb5d Bug 1877602 - Update the test case browser/components/customizableui/test/browser_981418-widget-onbeforecreated-handler.js that clicks on an unlabeled toolbarbutton. r=Gijs
The test "[browser/components/customizableui/test/browser_981418-widget-onbeforecreated-handler.js](https://searchfox.org/mozilla-central/rev/2a867dd1ab015c3ef24b774a57709fb3b3dc4961/browser/components/customizableui/test/browser_981418-widget-onbeforecreated-handler.js#35,53)" creates a test widget that has no `label` or `tooltiptext` property that is being clicked. But since its created toolbarbutton has no accessible name, it is being flagged by the a11y-checks. We could add "[tooltiptext](https://searchfox.org/mozilla-central/rev/2a867dd1ab015c3ef24b774a57709fb3b3dc4961/browser/components/customizableui/CustomizableUI.sys.mjs#4249)" property to make this test toolbarbutton accessible without triggering PanelMultiView to be adding header text, etc.

Since the issue will be resolved, we should also remove the `fail-if` notation from the test manifest.

Differential Revision: https://phabricator.services.mozilla.com/D200115
2024-02-01 15:35:53 +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
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
Cosmin Sabou
6d75e7bd12 Backed out 2 changesets (bug 1869092) for causing osx shippable bc failures on browser_sentence_case_strings.js. CLOSED TREE
Backed out changeset 73cc7a634df0 (bug 1869092)
Backed out changeset d3a2a2b120e4 (bug 1869092)
2023-12-13 02:35:02 +02:00
Cosmin Sabou
6198528ccc Bug 1869092 - Fix timeouts in browser_PanelMultiView.js. r=twisniewski,test-only 2023-12-12 21:46:53 +02:00
Anna Yeddi
e04f794cdd Bug 1857056 - Re-enabling 3 test for a11y-checks after the crash was fixed. r=dholbert,extension-reviewers,rpl
Since the crash in the bug 1868456 was fixed, we could re-enable these 3 test files that were previously crashing on trunk while a11y-checks were running, thus we are removing the `skip-if` notations from their test manifests.

Depends on D195646

Differential Revision: https://phabricator.services.mozilla.com/D195647
2023-12-06 21:17:28 +00:00
Gijs Kruitbosch
87fba25ea4 Bug 1866503 - closing menupopups/panels inside panelviews in temporary PanelUI panels should not close those panels, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D194632
2023-11-27 23:27:36 +00:00
Iulian Moraru
df1ac624b2 Backed out changeset 49b89e35b5f5 (bug 1866503) for causing multiple bc failures related to panelUI. CLOSED TREE 2023-11-27 15:39:13 +02:00
Gijs Kruitbosch
ae5f8336a8 Bug 1866503 - closing menupopups/panels inside panelviews in temporary PanelUI panels should not close those panels, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D194632
2023-11-27 12:14:03 +00:00
Joel Maher
33fa84a382 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
Anna Yeddi
933344bf0d Bug 1863815 - Wait for a panel to be shown before clicking a button in browser_panelUINotifications_multiWindow. r=Gijs,Jamie
The test is sending a click to a button on a doorhander that is normally accessible, but the a11y-checks are consistenly failing the test, because in some cases the event is sent while the panel is still `showing`. We need to wait for the panel to change it's status to `open` and to observe the `popup-shown` event to ensure the test is continued as it was expected to.

Differential Revision: https://phabricator.services.mozilla.com/D193115
2023-11-10 23:43:43 +00:00
Anna Yeddi
fcae49bef3 Bug 1858041 - Pt.4. Temporarily skip some Tier 2 a11y_checks for unexpecredly failing/passing or crashing on Autoland. r=devtools-reviewers,credential-management-reviewers,issammani
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/D192086
2023-10-31 17:20:39 +00:00
Anna Yeddi
ee1056ae88 Bug 1862087 - Add test labels for two non-userfacing PanelMultiView tests in Customizable UI. r=Jamie,Gijs
There are 2 failing tests for the `PanelMultiView`s that appear to create mock toolbarbutton and panel for the purposes of testing PanelMultiView, but the anchor (`gAnchor`) or a toggle (`gToggle`) do not have an a11y label (because they were not really intended to be seen by a user).

We are adding a test label for each of them to keep the a11y_checks test harness happy and removing the `fail-if` annotations from the test manifest that was added by bug 1854536 before the investigation in the meta bug 1854537.

Differential Revision: https://phabricator.services.mozilla.com/D192289
2023-10-31 17:13:26 +00:00
Tim Giles
3a1e3df6a0 Bug 1856572 - Add test for the missing Fluent strings when customize mode is active. r=Gijs,mconley
By requesting two animation frames, the test consistently covers the
case where missing Fluent strings can appear in Firefox View when
the customize mode UI is active.

Differential Revision: https://phabricator.services.mozilla.com/D190732
2023-10-23 21:06:16 +00:00
Sandor Molnar
8c6e12beea Backed out changeset 3e45fefa8119 (bug 1856572) for causing bc assertion failures at widget/nsBaseDragService.cpp CLOSED TREE 2023-10-19 02:04:20 +03:00
Tim Giles
ad26414af9 Bug 1856572 - Add test for the missing Fluent strings when customize mode is active. r=Gijs,mconley
By requesting two animation frames, the test consistently covers the
case where missing Fluent strings can appear in Firefox View when
the customize mode UI is active.

Differential Revision: https://phabricator.services.mozilla.com/D190732
2023-10-18 17:16:29 +00:00
Noemi Erli
185ff20e0a Backed out changeset 3c1db459589a (bug 1856572) for causing failures in browser_1856572_ensure_Fluent_works_in_customizeMode.js 2023-10-12 23:52:13 +03:00
Tim Giles
7fed523a85 Bug 1856572 - Add test for the missing Fluent strings when customize mode is active. r=Gijs,mconley
By requesting two animation frames, the test consistently covers the
case where missing Fluent strings can appear in Firefox View when
the customize mode UI is active.

Differential Revision: https://phabricator.services.mozilla.com/D190732
2023-10-12 19:21:40 +00:00
Anna Yeddi
c4675378ff Bug 1854536 - Temporarily fail-if some Tier 2 a11y_checks for Customizable UI. r=Gijs
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, component-specific meta bug 1854537
- Explore capturing click events for a11y_checks: bug 1692110

Depends on D189410

Differential Revision: https://phabricator.services.mozilla.com/D188926
2023-10-09 18:20:20 +00:00
James Teh
25f0d4edd4 Bug 1692110 part 3: Don't run accessibility checks for click events generated by drag/drop. r=places-reviewers,ayeddi,Gijs,Standard8
Drag/drop generates click events, but these aren't actually a click event intended to activate a control.
Therefore, we don't want to run accessibility checks for the target.
To achieve this, EventUtils.synthesizeDropAfterDragOver instructs AccessibilityUtils to ignore click events while the event is being sent.
This requires that EventUtils has the reference to AccessibilityUtils set by the browser test harness.
As such, some tests had to be adjusted so that they use EventUtils from the browser test scope, rather than loading their own copy of EventUtils.

Depends on D190004

Differential Revision: https://phabricator.services.mozilla.com/D185776
2023-10-09 18:20:12 +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
Anna Yeddi
5ad8b2f29e Bug 1854536 - Temporarily disable some Tier 2 a11y_checks for Customizable UI. r=Gijs
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, component-specific meta bug 1854537
- Explore capturing click events for a11y_checks: bug 1692110

Differential Revision: https://phabricator.services.mozilla.com/D188926
2023-10-06 18:11:38 +00:00