This only happened to work because unified build included WebAuthnTokenManager.cpp
and nsAppShell.cpp into the same compilation unit.
Differential Revision: https://phabricator.services.mozilla.com/D96792
Most of the deletions here come from bug 1481612, the `--with-windows-wheel` option to `mach vendor python`, which according to that commit message "is very single-purpose: it's intended to let us vendor an unpacked
wheel for psutil on Windows". Since vendoring `psutil` is something we're no longer doing, we can safely just delete that added code.
Differential Revision: https://phabricator.services.mozilla.com/D90919
Install `psutil` when setting up the `mach` `virtualenv`s and stop importing the in-tree version in the build.
Nothing in-tree currently assumes or mandates the installation of `psutil` (all uses of `psutil` are guarded with imports of the form `try : import psutil; except ImportError: psutil = None`), so there's no back-incompatibility concerns here. There will be an awkward period where telemetry will be lacking CPU/disk data for everyone until they re-run `mach bootstrap` or `mach create-mach-environment`, but that will come back as people gradually update their `virtualenv`s.
An alternative to circumvent that issue is REQUIRING that `psutil` be installed by adding an assertion in `mach` that `psutil` can be found (allowing us to remove all the conditional logic in-tree around whether `psutil` is installed), but I wouldn't claim that we're ready to do that and deal with whatever fallout might occur.
Differential Revision: https://phabricator.services.mozilla.com/D90914
This patch supports a skeleton UI for default, light, and dark themes.
It is not enabled for apenglow or any custom themes.
This also takes into account the system theme. If the user has the default
theme selected and is in dark mode, we override the theme and present the
dark theme skeleton UI.
Differential Revision: https://phabricator.services.mozilla.com/D96230
When combining transform matrices for deferred transforms, we were multiplying
them in the wrong order. This caused incorrect behaviour when one of the matrices
had a scale factor.
Differential Revision: https://phabricator.services.mozilla.com/D96199
This makes the WebRenderScrollData dump more analogous to the layer tree dump,
in that it prints the layer entries one per line showing in-order nested tree
structure. It also omits printing things if they're not important.
Differential Revision: https://phabricator.services.mozilla.com/D96312
Unfortunately these patches were backed out after landing in central and re-landing, so there are multiple commits with the same content here. Add all of them to hopefully make the log a little more comprehensible.
Differential Revision: https://phabricator.services.mozilla.com/D95782
We often see metadata changes like [PASS, FAIL] going to [FAIL,
PASS]. Although in principle we'd like the most common status to be
first, when we have things like expected: [PASS, FAIL] getting lots of
os-specific expectations because the frequency is different on
different platforms it doesn't help much.
Instead, if the new metadata is a subset of the old, bail early and
don't make any changes.
Differential Revision: https://phabricator.services.mozilla.com/D96750
We cannot use swapFrameLoaders between a fission and a non fission window. We should make sure to open non-fission windows if the current host is not a fission one.
Differential Revision: https://phabricator.services.mozilla.com/D96696
Automatic update from web-platform-tests
Remove 'speak-as' from CSS.supports() API WPT
CSS.supports(property, value) is for CSS properties, not descriptors.
Since 'speak-as' only acts as a descriptor, this CL removes it from the
test.
This is also for exposing 'speak-as' to web tests: crrev.com/c/2530523
Bug: 687225
Change-Id: I1ee9cc6017ae4e4b2bba5a7c5c5f93c361600982
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2531493
Auto-Submit: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#826220}
--
wpt-commits: 01bda5c03bf8ae4ee00251b8969adf1ef69f443d
wpt-pr: 26479
Automatic update from web-platform-tests
Convert NGOutOfFlowLayoutPartTest unit tests to web_tests
This gets more coverage on the paint portions and ensures these cases
get coverage in WPT. There was one converted test that looks like it
is not working correctly under LayoutNG block fragmentation so filed a
bug to fix that in follow up.
There are a couple of others (break-before and -after for children of
abs-pos elements, and some spanner tests) that don't match Chromium nor
Firefox currently - these need a bit more investigation.
Change-Id: I6d3bcb0c1de2835f990b95d04ad32175150609dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2525844
Commit-Queue: Daniel Libby <dlibby@microsoft.com>
Reviewed-by: Alison Maher <almaher@microsoft.com>
Reviewed-by: Benjamin Beaudry <benjamin.beaudry@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#826202}
--
wpt-commits: fe67f0b56f49a68ff24bdcb5b4fe94cae7a04b6b
wpt-pr: 26453
The DesktopEntry property allows MPRIS clients to match a player on the bus
with application metadata such as its icon.
The desktop entry name is computed as the lowercasing of the XRE app info name.
This is the same way it's done for g_set_prgname in nsAppRunner.
Differential Revision: https://phabricator.services.mozilla.com/D96327
Avoid g_clear_object in pipewire, fixes the build warnings when building with a newer version of
glib.
Depends on D96677
Differential Revision: https://phabricator.services.mozilla.com/D96678
Author: Michael Olbrich <m.olbrich@pengutronix.de>
pipewire: handle deleting the capturer while a D-Bus call is in progress
If a D-Bus call is in progress when a BaseCapturerPipeWire is deleted, then
the user_data is invalid when the callback function is called. This results
in memory corruption.
To fix this, use a GCancellable. If it is canceled, the callback will be
called with a corresponding error. Detect this error and abort before
accessing the user_data.
Note: The first argument is the 'source_object'. For g_dbus_proxy_call()
this is the proxy object not the connection. This was not a problem before,
because it was not used.
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/149817
Reviewed-by: Jamie Walch <jamiewalch@chromium.org>
Commit-Queue: Jamie Walch <jamiewalch@chromium.org>
Differential Revision: https://phabricator.services.mozilla.com/D96677
Changing the size or number of layers of textures unfortunately usually leads to small sampling differences which requires fixing in the refetest references.
Differential Revision: https://phabricator.services.mozilla.com/D95680
The patch ended up more complicated than I anticipated due to a lot of places in webrender assuming texture arrays unless specified otherwise.
The patch also merges TextureTarget into ImageBufferKind, and removes the realloc code path ing the texture cache (which is supposed to be dead code since because of performance issues on windows+intel).
Differential Revision: https://phabricator.services.mozilla.com/D95562
This replicates the logic in
testing/web-platform/tests/tools/wptrunner/wptrunner/environment.py to
ensure that all the configured URL base paths are added to the
wptserve router configuration when starting via mach wpt-serve.
Differential Revision: https://phabricator.services.mozilla.com/D96723
Change the logic in the devtools/server/actors/highlighters.js file to
use absolute paths instead of constructing them from an internal helper
function. Also modify the calls to `register` at the bottom of the file
according to this change.
Differential Revision: https://phabricator.services.mozilla.com/D96301