Commit Graph

858641 Commits

Author SHA1 Message Date
Anna Yeddi
95cb921ba1 Bug 1854514 - Temporarily disable some Tier 2 a11y_checks for New Tab Page. r=thecount
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 bug 1854515
- Explore capturing click events for a11y_checks: bug 1692110

Differential Revision: https://phabricator.services.mozilla.com/D188918
2023-10-06 18:11:34 +00:00
Anna Yeddi
e508c902d0 Bug 1854512 - Temporarily disable some Tier 2 a11y_checks for Core Document Object Model. r=smaug
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 1854513
- Explore capturing click events for a11y_checks: bug 1692110

Differential Revision: https://phabricator.services.mozilla.com/D188917
2023-10-06 18:11:34 +00:00
Anna Yeddi
ba3b7cfdd1 Bug 1854509 - Temporarily disable some Tier 2 a11y_checks for Core Credentials. r=bvandersloot
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, Core: Credentials-specific bug 1854510
- Explore capturing click events for a11y_checks: bug 1692110

Differential Revision: https://phabricator.services.mozilla.com/D188916
2023-10-06 18:11:33 +00:00
Anna Yeddi
f924c7985d Bug 1854506 - Temporarily disable some Tier 2 a11y_checks for Tabbed Browser. r=tabbrowser-reviewers,dao
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, Tabbed Browser-specific meta bug 1854507
- Explore capturing click events for a11y_checks: bug 1692110

Differential Revision: https://phabricator.services.mozilla.com/D188915
2023-10-06 18:11:33 +00:00
Anna Yeddi
2541330802 Bug 1854502 - Temporarily disable some Tier 2 a11y_checks for Core Event Handling. r=masayuki
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, Core: Event Handling-specific meta bug 1854503
- Explore capturing click events for a11y_checks: bug 1692110

Differential Revision: https://phabricator.services.mozilla.com/D188914
2023-10-06 18:11:33 +00: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
Anna Yeddi
14e34953c8 Bug 1854452 - Temporarily disable some Tier 2 a11y_checks for Password Manager. r=sgalich
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, Password Manager-specific meta bug 1854454
- Explore capturing click events for a11y_checks: bug 1692110

Differential Revision: https://phabricator.services.mozilla.com/D188912
2023-10-06 18:11:32 +00:00
Anna Yeddi
029eec7625 Bug 1854447 - Temporarily disable some Tier 2 a11y_checks for Desktop Firefox. 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 1854448
- Explore capturing click events for a11y_checks: bug 1692110

Differential Revision: https://phabricator.services.mozilla.com/D188911
2023-10-06 18:11:31 +00:00
Anna Yeddi
9aab7e5ec3 Bug 1854443 - Temporarily disable some Tier 2 a11y_checks for Bookmarks & History. r=places-reviewers,Standard8
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 1854444
- Explore capturing click events for a11y_checks: bug 1692110

Differential Revision: https://phabricator.services.mozilla.com/D188910
2023-10-06 18:11:31 +00:00
Anna Yeddi
5e23faadfc Bug 1854228 - Temporarily disable some Tier 2 a11y_checks for Desktop UI. r=mconley
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. A separate task to investigate the failed Tier 2 a11y_checks will be filed for an appropriate component.

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

Differential Revision: https://phabricator.services.mozilla.com/D188909
2023-10-06 18:11:31 +00:00
James Teh
86da5af505 Bug 1692110 part 4: Retry accessibility name checks to handle async a11y text updates and l10n mutations. r=ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D187246
2023-10-06 18:11:30 +00:00
James Teh
8197fa684d 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.

Differential Revision: https://phabricator.services.mozilla.com/D185776
2023-10-06 18:11:30 +00:00
James Teh
7648dc6ca0 Bug 1692110 part 2: Add harness exceptions for some common false accessibility check failures. r=ayeddi
These failures occur in common, reusable widgets, so it doesn't make sense to make exceptions in individual tests.
See the code comments for explanations of each case.

Differential Revision: https://phabricator.services.mozilla.com/D190004
2023-10-06 18:11:29 +00:00
James Teh
e4e0e51d0d Bug 1692110 part 1: Perform automatic accessibility checks by capturing click events. r=ayeddi,Gijs
Previously, we ran a11y checks in EventUtils.sendMouseEvent.
Unfortunately, many tests don't use this, instead using some other method of clicking.
This meant that a11y checks lacked a lot of coverage.
Rather than trying to adjust all existing tests to use sendMouseEvent and trying to maintain this somehow for future tests, we instead capture click events and run a11y checks then.

Differential Revision: https://phabricator.services.mozilla.com/D118126
2023-10-06 18:11:29 +00:00
Connor Sheehan
c527ee26c2 Bug 1857296: --push-to-lando will submit even with no relevant commits r=glob
Update the output during a Lando-try push to indicate the contents more clearly.
Indicate when the push will only include the try config commit, and use better
phrasing when the stack is just 1 commit and the try config commit.

Differential Revision: https://phabricator.services.mozilla.com/D190219
2023-10-06 17:58:46 +00:00
serge-sans-paille
6f30771d2d Bug 1857407 - Use taskcluster-built python for attribution tasks r=jmaher,releng-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D190257
2023-10-06 17:29:45 +00:00
serge-sans-paille
cd4d034734 Bug 1857461 - Use taskcluster-built python for code-review tasks r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D190273
2023-10-06 17:27:13 +00:00
alwu
4d8617f832 Bug 1857097 - turn on HEVC decoding by default on Windows Firefox Nightly. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D190128
2023-10-06 17:21:20 +00:00
Connor Sheehan
70860dc50e Bug 1856960: validate the Lando access token expiration manually r=zeid
The token verification code path checks the ID token is valid and not expired,
however the ID token and the access token have different expirations, causing
pushes to be rejected by Lando after local verification succeeds. Since
`auth0-python` doesn't provide an access token verification, we decode the
access token and manually verify the token is not about to expire.

Differential Revision: https://phabricator.services.mozilla.com/D190296
2023-10-06 17:06:52 +00:00
Mark Banner
15fe9558c2 Bug 1855697 - Enable ESLint rule no-debugger for all of dom/. r=dom-worker-reviewers,smaug
Depends on D189497

Differential Revision: https://phabricator.services.mozilla.com/D189498
2023-10-06 16:45:54 +00:00
Mark Banner
3a2f5a75d2 Bug 1855697 - Enable ESLint rule no-implied-eval for all of dom/. r=dom-core,edgar
Depends on D189496

Differential Revision: https://phabricator.services.mozilla.com/D189497
2023-10-06 16:45:53 +00:00
Mark Banner
c7ac816c46 Bug 1855697 - Enable ESLint rule no-eval for all of dom/. r=dom-core,mccr8
Depends on D189495

Differential Revision: https://phabricator.services.mozilla.com/D189496
2023-10-06 16:45:53 +00:00
Mark Banner
dc4be5fe1d Bug 1855697 - Enable ESLint rules mozilla/no-define-cc-etc and mozilla/use-cc-etc over all of dom/. r=dom-core,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D189495
2023-10-06 16:45:52 +00:00
Kagami Sascha Rosylight
6571a41583 Bug 1857542 - Remove LockManagerChild cycle collection setup r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D190301
2023-10-06 16:34:25 +00:00
Logan Rosen
2df8cb1208 Bug 1852645 - fix mach try chooser regression r=ahal,jgraham
With the fix to Bug 1786490, we are now using Werkzeug 2.1.2, which removed the shutdown function that the chooser was relying on to shut down the Flask server after selecting tasks. To remedy this, I followed the instructions [here](https://werkzeug.palletsprojects.com/en/2.3.x/serving/#shutting-down-the-server) for shutting down the server using multiprocessing instead.

Since multiprocessing needs to pickle the objects with the spawn method (fork is not available on Windows and is not used by default on macOS), I needed to make ReadOnlyDict picklable by adding a `__reduce__` method like what is implemented [here](https://github.com/Marco-Sulla/python-frozendict/blob/master/src/frozendict/core.py#L142), as it is used in the task object that's passed to the Flask app.

***

Differential Revision: https://phabricator.services.mozilla.com/D187952
2023-10-06 16:30:47 +00:00
Olli Pettay
62f8fe2f07 Bug 1857529 - Use longer timer value for AsyncFreeSnowWhite, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D190295
2023-10-06 16:17:12 +00:00
negin
5c931ebd14 Bug 1850509 - Fixes overflow of panel-list by providing a max height and ensuring topOffset is never negative r=omc-reviewers,mconley,reusable-components-reviewers,aminomancer,hjones
Differential Revision: https://phabricator.services.mozilla.com/D188837
2023-10-06 16:10:48 +00:00
edgul
5a5248a0c2 Bug 1851426 - Add pref to reland protocol setter to be more restrictive. r=twisniewski,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D188762
2023-10-06 16:04:32 +00:00
edgul
ca97748eb9 Bug 1851426 - Relanding URL: protocol setter needs to be more restrictive around file (bug 1347459). r=kershaw,twisniewski,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D188518
2023-10-06 16:04:31 +00:00
Issam Mani
38aac00bdc Bug 1823943 - P3. Add stories for input field components. r=mtigley,credential-management-reviewers
Depends on D186159

Differential Revision: https://phabricator.services.mozilla.com/D186160
2023-10-06 15:34:57 +00:00
Issam Mani
604f1ec06f Bug 1823943 - P2. Extract input specific styles from login-item.css. r=mtigley,desktop-theme-reviewers,credential-management-reviewers,emilio
Depends on D186158

Differential Revision: https://phabricator.services.mozilla.com/D186159
2023-10-06 15:34:57 +00:00
Issam Mani
36675ef1ec Bug 1823943 - P1. Create components for login item input fields. r=mtigley,credential-management-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186158
2023-10-06 15:34:57 +00:00
Nipun Shukla
8a377b9b77 Bug 1849252 - Added UI components and notification for Firefox launch on Windows login r=settings-reviewers,nalexander,omc-reviewers,flod,aminomancer
Depends on D184437

Differential Revision: https://phabricator.services.mozilla.com/D186510
2023-10-06 15:30:24 +00:00
Nipun Shukla
0bb5d4e327 Bug 1843202 - Added Nimbus experiment to Windows autostart on login r=nalexander,mconley
Depends on D183504

Differential Revision: https://phabricator.services.mozilla.com/D184437
2023-10-06 15:30:23 +00:00
Nipun Shukla
b15137b324 Bug 1843202 - Added automatic launch on Windows login based on registry key r=nalexander,settings-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D183504
2023-10-06 15:30:23 +00:00
Jamie Nicol
836b0d935c Bug 1857447 - Avoid redundant UniformData calls in DrawTargetWebgl. r=lsalzman
Calling ClientWebGLContext::UniformData() many times causes the
command buffer to fill up and we spend a fair amount of time flushing
the old buffer and allocating a new one, as well as serializing the
values.

The uniforms themselves are very small but they add up over a large
number of calls. We already have some code to track whether the
uniform values are dirty to avoid some redundancy, but a) this doesn't
cover every uniform, and b) we invalidate them all when switching
program.

This patch makes us track the value of every uniform that gets set
dynamically, and tracks the values separately for each program
used. It then uses these to avoid calling UniformData redundantly.

Differential Revision: https://phabricator.services.mozilla.com/D190269
2023-10-06 15:12:48 +00:00
Dão Gottwald
9b40b3e022 Bug 1857532 - Hand over Session Restore ownership to Sarah and Sam. r=zeid DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D190297
2023-10-06 15:06:36 +00:00
Paul Adenot
7ab577b56e Bug 1841432 - Adjust expectations after fixing resource-selection-source-media-env-change.html
Differential Revision: https://phabricator.services.mozilla.com/D190261
2023-10-06 15:05:50 +00:00
scottjehl
393a8fa24b Bug 1841432 - change test setup to rely on promises that the child iframe will resolve and also use a supported and playable video source so that source selection sticks. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D190066
2023-10-06 15:05:50 +00:00
Dão Gottwald
5c0670cbff Bug 1857520 - Add jules as Desktop Theme peer. r=zeid
Differential Revision: https://phabricator.services.mozilla.com/D190292
2023-10-06 14:45:25 +00:00
Emilio Cobos Álvarez
9f40cb86e5 Bug 1857260 - More explicitly use custom colors for the toolbox. r=dao,desktop-theme-reviewers,win-reviewers,mhowell
Right now we were relying on the OS colors
(-moz-dialog/-moz-dialogtext/ActiveCaption/CaptionText).

The titlebar ones did the right thing but -moz-dialog and co didn't.

This caused two issues:

 * With the titlebar checkbox on, we'd use the system colors even
   without prefers-contrast. This is specially noticeable on macOS.

 * With prefers-contrast. We used -moz-dialog for the background and the
   toolbar on macOS. This caused little contrast.

Support the -moz-headerbar colors in all desktop platforms, and use
those on Linux + HCM, and use browser-custom-colors on Windows / macOS
to override the toolbox background explicitly to fix it.

This setup is a little bit more consistent with all other colors.

Differential Revision: https://phabricator.services.mozilla.com/D190200
2023-10-06 14:40:15 +00:00
Greg Mierzwinski
17880c19ef Bug 1851811 - Add chromedrivers for v118. r=perftest-reviewers,taskgraph-reviewers,AlexandruIonescu,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D190039
2023-10-06 13:53:56 +00:00
Emilio Cobos Álvarez
bc6cf30d16 Bug 1857455 - Deal with BrowsingContext not being yet attached in nsSubDocumentFrame::Init. r=hsivonen
For initial about:blank, nsSubDocumentFrame::Init might not have an
extant browsing context yet. Some code did deal with that properly
(MaybeUpdateEmbeddedColorScheme for example), but some other didn't.

Consistently propagate data to our browsing context after ShowViewer to
fix this.

Differential Revision: https://phabricator.services.mozilla.com/D190275
2023-10-06 13:44:13 +00:00
Emilio Cobos Álvarez
8c04b502db Bug 1857208 - Tweak dark hover/active colors to be background-dependent. r=dao,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190207
2023-10-06 13:37:52 +00:00
Jan Varga
39b44622e6 Bug 1808294 - Extend nsIQuotaOriginUsageResult to match UsageInfo; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D166173
2023-10-06 13:33:13 +00:00
Robert Longson
850b5077f8 Bug 627594 - flush layout when working with percentage units r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D190270
2023-10-06 13:30:41 +00:00
Paul Zuehlcke
d99400b65e Bug 1855495 - Add telemetry about querySelector calls in CookieBannerChild. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D189844
2023-10-06 13:27:38 +00:00
Edgar Chen
3b1a417bd3 Bug 1854747 - Stop exposing the image data as file to clipboard; r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D189242
2023-10-06 13:17:52 +00:00
Sandor Molnar
1b033bae69 Backed out changeset 7c84c5fc7d00 (bug 1791079) for causing mochitest process crashes at @ RefPtr<mozilla::dom::WindowContext>::operator-> CLOSED TREE 2023-10-06 16:18:00 +03:00
fidelius
d0883d0dec Bug 1856287 - Do not use PROCESS_MODE_BACKGROUND_BEGIN to run the minidum-analyzer in the background on Windows r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D190259
2023-10-06 12:49:27 +00:00