Граф коммитов

859081 Коммитов

Автор SHA1 Сообщение Дата
az b030c9ae65 Bug 1816576 - Apply mozilla patches for libyuv 2bdc210be9eb11ded16bf3ef1f6cadb0d4dcb0c2 r=ng
Depends on D185940

Differential Revision: https://phabricator.services.mozilla.com/D185941
2023-10-11 16:22:33 +00:00
az 436a11e04d Bug 1816576 - Update libyuv to 2bdc210be9eb11ded16bf3ef1f6cadb0d4dcb0c2 r=ng
Differential Revision: https://phabricator.services.mozilla.com/D185940
2023-10-11 16:22:32 +00:00
Julien Cristau 1860dd40f3 Bug 1855154 - run mochitest-media against macosx64-aarch64/debug build r=taskgraph-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D189219
2023-10-11 16:14:53 +00:00
Julien Cristau a6d7a226dc Bug 1855154 - set test-setting's `arch` field for macosx aarch64 tests. r=jmaher,taskgraph-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D190587
2023-10-11 16:14:52 +00:00
John Schanck a586d812c6 Bug 1854618 - simplify transaction state management for about:webauthn. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D190627
2023-10-11 16:11:09 +00:00
Dan Mosedale c5d7db9fb3 Bug 1857903 - fix VPN Promo check to read the correct pref, r=omc-reviewers,aminomancer
There was a typo in the preference name used for the primary list of all regions where VPN promos were allowed to be shown.  As a result, VPN promos were shown to regions from a built-in fallback list, which was smaller.  This patch fixes the typo and adds a unit test to ensure the code gets its regions from the correct pref.

Differential Revision: https://phabricator.services.mozilla.com/D190628
2023-10-11 16:01:39 +00:00
Heitor Neiva cf55405a56 Bug 1858159 - Fix attribution-l10n beetmover upstream task reference on candidates r=bhearsum,taskgraph-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190631
2023-10-11 15:57:12 +00:00
Paul Adenot d304ce5a23 Bug 1858036 - Fix A-law PCM playback. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D190563
2023-10-11 15:44:24 +00:00
Sandor Molnar ce7e750f80 Backed out changeset 8dbb04b2762b (bug 1858362) for causing wpt failures on /css/css-properties-values-api/register-property.html CLOSED TREE 2023-10-11 19:04:03 +03:00
Anna Yeddi a687046780 Bug 1858041 - Temporarily fail-if some Tier 2 a11y_checks failing on Autoland. r=Jamie,devtools-reviewers,mixedpuppy,nchevobbe
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 expect to be failing these tests altogether and then handle each one of them individually.

This task is to expect failing of these tests 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:
- Fail-if tests: meta bug 1848402
- Explore capturing click events for a11y_checks: bug 1692110

Differential Revision: https://phabricator.services.mozilla.com/D190524
2023-10-11 15:26:25 +00:00
Anna Yeddi 0258a1cc59 Bug 1858037 - Temporarily skip some tests to investigate intermittent a11y_checks results. r=Jamie,devtools-reviewers,mixedpuppy
These tests were failing on Try but are passing on Autoland or vice versa. We need to skip them while we investigate it

Differential Revision: https://phabricator.services.mozilla.com/D190523
2023-10-11 15:26:25 +00:00
Hanna Jones 7a673e7b6d Bug 1856388 - use valid ARIA role for moz-five-star r=reusable-components-reviewers,tgiles
Made the simple role change and cleaned up a couple warnings related to how `ifDefined` was being used

Differential Revision: https://phabricator.services.mozilla.com/D189827
2023-10-11 15:23:23 +00:00
Hanna Jones d131087803 Bug 1852827 - extend the label so moz-toggle whitespace is clickable r=reusable-components-reviewers,desktop-theme-reviewers,dao,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D188045
2023-10-11 15:20:44 +00:00
Emilio Cobos Álvarez 9dd667f180 Bug 1858106 - Increase atom table count. r=smaug
This gives a significant windows sp3 improvement, without negatively
affecting memory usage much (on a preallocated content process I get
0.13mb of atoms both with and without this patch).

We could consider bumping it further to 1024, though the relative
improvement vs. this patch is small.

Differential Revision: https://phabricator.services.mozilla.com/D190692
2023-10-11 15:05:35 +00:00
Andrew Halberstadt dfe67e82f7 Bug 1857035 - Re-enable dom/svg/test/test_getCTM.html on Ubuntu 22.04 Wayland pool, r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D190690
2023-10-11 15:00:02 +00:00
Tom Ritter 878ed432bf Bug 1852541: Improve the odds of Canvas Randomization bit-flipping r=timhuang
Our current algorithm gives a lot of test failures and test-verfiy failures.
After some logging and debugging, my best guess is that we are just getting
unlucky.

I would see test failures (failed to detect a randomization was applied) when
we e.g. fliped a mere 16 bytes from 0 -> 1.  When we flipped some values from
0 -> 2 that would more reliably cause a change.

Differential Revision: https://phabricator.services.mozilla.com/D190283
2023-10-11 14:56:46 +00:00
Tom Ritter c447264d47 Bug 1852541: Fix tests and add one for constant canvas r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D188134
2023-10-11 14:56:46 +00:00
Tom Ritter 073f56f67a Bug 1852541: Do not randomize the canvas if it is one uniform pattern r=timhuang,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D188133
2023-10-11 14:56:45 +00:00
Mike Conley 797a77ffea Bug 1818237 - Add automated tests for requesting migrator permissions. r=mstriemer
Depends on D188874

Differential Revision: https://phabricator.services.mozilla.com/D189842
2023-10-11 14:53:56 +00:00
Mike Conley ce487ed3b3 Bug 1818237 - Make it possible to request permission to access Chrome-browser profiles. r=mstriemer,fluent-reviewers,desktop-theme-reviewers
This is needed for Ubuntu Linux when Firefox is installed as a Snap package.
Under those conditions, Firefox doesn't have the ability to read the contents
of the other browsers' data directories.

We work around by showing the user a native file picker and instructing them
to browse to that data directory in folder picker mode - doing so gives
the Firefox process access to the folder (through a temporary symlink).

Another restriction we must overcome is Sqlite's inability to read from
Sqlite databases through that symlinked folder. We work around this by
copying the databases we're importing from to the system temporary
directory, querying it, and then deleting those copies.

Differential Revision: https://phabricator.services.mozilla.com/D188874
2023-10-11 14:53:55 +00:00
Joel Maher e186a01793 Bug 1715084 - Add directory to LeakSanitizer output. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D190688
2023-10-11 14:52:36 +00:00
Emilio Cobos Álvarez 0e96c842a2 Bug 1858407 - Unify other system theme / HCM colors. r=dao,desktop-theme-reviewers
The only noticeable difference is that macOS on dark HCM looks nicer,
effectively.

The hard-coded hex color for the chrome-content-separator is no longer
light there (and in light mode threedshadow is #e0e0e0), and the toolbar
looks better.

Depends on D190685

Differential Revision: https://phabricator.services.mozilla.com/D190686
2023-10-11 14:46:57 +00:00
Paul Zuehlcke 20cb2c1c0a Bug 1855662 - Skip multiple tab close warning when closing tabs for reset PBM action. r=mconley,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D189483
2023-10-11 14:33:41 +00:00
Iain Ireland 159fddc7a2 Bug 1841609: Handle stack overflow in large regexp tests r=mgaudet
For some reason these are crashing in beta simulation with `InternalError: too much recursion`.

Instead of trying to pick out the precise set of platforms to skip these tests on, I've just wrapped the guilty code in a try-catch. I tested this locally by increasing the size of the regexp enough to make the test throw on x64 as well.

Differential Revision: https://phabricator.services.mozilla.com/D190622
2023-10-11 14:22:40 +00:00
Emilio Cobos Álvarez 170eb50d5e Bug 1858407 - Move system-color urlbar-popup-action-color to urlbarView.css. r=dao,desktop-theme-reviewers
This fixes the rendering on macOS high contrast. Also removes some now
useless Linux declarations (since they have the same value as the HCM
ones).

Differential Revision: https://phabricator.services.mozilla.com/D190685
2023-10-11 14:20:21 +00:00
Kagami Sascha Rosylight 3399abfe04 Bug 1857470 - Part 2: Use pip 23.2.1 wheel in mozharness r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D190285
2023-10-11 14:12:05 +00:00
Kagami Sascha Rosylight e0b33932cc Bug 1857470 - Part 1: Vendor pip 23.2.1 r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D190284
2023-10-11 14:12:05 +00:00
Dão Gottwald f2c64c1b56 Bug 1858398 - Use nesting in windows/browser.css. r=emilio,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190673
2023-10-11 12:58:53 +00:00
Timothy Nikkel 3702402d8e Bug 1854540. Ensure we use the actual surface size when passing the data to image encoder. r=aosmond,gfx-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189371
2023-10-11 12:37:10 +00:00
Masayuki Nakano bf010881ca Bug 1858082 - Wrap the drag service getter into a try block r=whimboo,webdriver-reviewers
The drag service is never instantiated if it's in the headless mode.
And in this case, `NS_ERROR_XPC_GS_RETURNED_FAILURE` exception is thrown.
Therefore, we need to wrap the service getter with a `try` block and
return `null` if it fails.

Differential Revision: https://phabricator.services.mozilla.com/D190580
2023-10-11 12:32:18 +00:00
Frederic Wang ea79997676 Bug 1858362 - Style invalidation after call to CSS.registerProperty. r=emilio
Call to CSS.registerProperty may result in rendering changes compared
to when variables were interpreted as unregistered custom properties.
Ensure we recascade style for the whole document tree.

This was already covered by WPTs but add a more direct check for
paint and reflow.

Differential Revision: https://phabricator.services.mozilla.com/D190656
2023-10-11 12:14:38 +00:00
Jon Coppeard e314b376d3 Bug 1858200 - Interrupt wasm when a major GC is requested r=jandem
Currently wasm ignores GCs triggered by allocation, which can lead to unbounded
memory growth when running purely in wasm. Making the GC interrupt also
interrupt wasm fixes this.

Differential Revision: https://phabricator.services.mozilla.com/D190669
2023-10-11 12:11:34 +00:00
Johannes J. Schmidt 80bb9c6927 Bug 1852745 - modernize test_autocomplete_hasBeenTypePassword.html - r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D190593
2023-10-11 11:57:59 +00:00
Katherine Patenio c55d0f391a Bug 1851891 - re-enable test_settings_toggle_ad_and_multiple_tabs r=shopping-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D190634
2023-10-11 11:42:06 +00:00
Emilio Cobos Álvarez ed71700af4 Bug 1858349 - Fix whitespace nit pointed out after landing.
MANUAL PUSH: Trivial whitespace-only change
2023-10-11 13:32:31 +02:00
Emilio Cobos Álvarez 9467adfbc8 Bug 1858349 - Use non-native menu arrows everywhere. r=desktop-theme-reviewers,dao
Our arrow is actually more similar to the modern macOS native ones, so
this both looks better and allows us to clean up more code.

flex-end alignment on acceltext-container is not needed (the flex item
is sized to its contents), removing it doesn't change behavior on e.g.
the menubar menus on Linux.

This makes the arrow a bit bigger visually on Linux, but that's what
native GTK does too (see gtk4-demo / gtk3-demo).

Differential Revision: https://phabricator.services.mozilla.com/D190663
2023-10-11 11:22:18 +00:00
Emilio Cobos Álvarez b236b5ecee Bug 1857695 - Fix a use of moz-mac-menutextselect I missed.
This restores the previous behavior though I'm not convinced this code
is useful at all because macOS uses the native menubar instead.

MANUAL PUSH: Orange fix CLOSED TREE
2023-10-11 12:54:33 +02:00
Alexandre Poirot 18757715ae Bug 1854423 - [devtools] Optimize and simplify getVisibleColumnBreakpoint selector. r=devtools-reviewers,bomsy
* `filterByLineCount` was just a very costly non-sense filtering nothing.
 (comes from unreviewed code https://github.com/firefox-devtools/debugger/pull/7349)
* The filter using lineText isn't clear either.
  Why would breakpoint position include breakpoint after the end of the actual line text content??

Differential Revision: https://phabricator.services.mozilla.com/D188891
2023-10-11 10:46:20 +00:00
Alexandre Poirot 013991dd83 Bug 1854423 - [devtools] Stop querying isOriginalId from getSelectedLocation. r=nchevobbe,devtools-reviewers
Checking for isOriginal boolean is much faster as it avoid a string comparison and function calls.

Differential Revision: https://phabricator.services.mozilla.com/D188890
2023-10-11 10:46:20 +00:00
Timothy Nikkel 7addcf497b Bug 1858083. Avoid needless addref in Document::GetBrowsingContext. r=smaug
It's a weak pointer but presumably can only die based on main thread actions. The GetBrowsingContext getter is just a plain getter, returning a pointer.

Although small this does show up in the profile in bug 1857094. It's called from some common layout/painting functions.

Differential Revision: https://phabricator.services.mozilla.com/D190559
2023-10-11 10:30:01 +00:00
Mirko Brodesser 8dd124f851 Bug 1839315: part 4) Link from `SheetLoadData::mWasAlternate` to spec. r=emilio DONTBUILD
Otherwise it's unclear what's meant.

Differential Revision: https://phabricator.services.mozilla.com/D190666
2023-10-11 10:29:16 +00:00
Mirko Brodesser 6a36108054 Bug 1839315: part 3) Remove no-op method `PreloaderBase::PrioritizeAsPreload`. r=necko-reviewers,valentin
Because it's confusing.

Differential Revision: https://phabricator.services.mozilla.com/D190015
2023-10-11 10:21:56 +00:00
Emilio Cobos Álvarez eb95d45e2e Bug 1857695 - Remove test for no longer existing color.
MANUAL PUSH: Trivial orange fix CLOSED TREE
2023-10-11 12:34:33 +02:00
Paul Zuehlcke 09eda30230 Bug 1812369 - Refactor cookie banner handling clicking timeouts. r=timhuang
This patch introduces another timeout to ensure that observers are properly
cleaned up even for pages where the "load" event never happens.
Timeouts are scheduled on DOMContentLoaded and on load. Their duration can
be controlled via the 'cookiebanners.bannerClicking.timeout*' prefs.

Differential Revision: https://phabricator.services.mozilla.com/D190319
2023-10-11 09:32:53 +00:00
stransky 013049350a Bug 1854449 [Linux] Migrate DbusWifiScanner to DBus/GIO r=emilio,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190307
2023-10-11 08:58:22 +00:00
Sandor Molnar a9ab9f37a0 Backed out 8 changesets (bug 1850647, bug 1325181) for causing build bustages CLOSED TREE
Backed out changeset ab9d4ca38d83 (bug 1850647)
Backed out changeset 7465055478d9 (bug 1850647)
Backed out changeset 2008dd9ac32a (bug 1325181)
Backed out changeset c95204654c91 (bug 1850647)
Backed out changeset 0128ca1c9d18 (bug 1850647)
Backed out changeset e9277971c260 (bug 1850647)
Backed out changeset 6c15af4bc2c6 (bug 1850647)
Backed out changeset ce7ac5e23c1c (bug 1850647)
2023-10-11 12:25:58 +03:00
Sandor Molnar c432383906 Merge mozilla-central to autoland. a=merge 2023-10-11 12:25:12 +03:00
Emilio Cobos Álvarez ed3d010a5d Bug 1857695 - Make macOS menu color setup consistent with windows / Linux. r=mac-reviewers,spohl
Use the same system colors there rather than bespoke ones. That allows
us to simplify the CSS, remove macOS-specific system colors, and also
fix this bug.

Differential Revision: https://phabricator.services.mozilla.com/D190460
2023-10-11 08:35:22 +00:00
Emilio Cobos Álvarez 84a3ba3580 Bug 1857513 - Clean up document state setup. r=smaug
Now that we have a DocumentState type we can be a bit less explicit
(before this used EventStates, so the extra Document in the names was
useful).

Differential Revision: https://phabricator.services.mozilla.com/D190602
2023-10-11 08:24:14 +00:00
Emilio Cobos Álvarez a3e8abd326 Bug 1858250 - malloc_initialized should not be SequentiallyConsistent. r=glandium
I think ReleaseAcquire semantics are sound here.

It might be that relaxed is fine too, but that might be technically
unsound because it could make the writes in malloc_init_hard not visible
to the other threads in time.

Depends on D190623

Differential Revision: https://phabricator.services.mozilla.com/D190624
2023-10-11 08:09:03 +00:00