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

781341 Коммитов

Автор SHA1 Сообщение Дата
Dzmitry Malyshau a892c28812 Bug 1746312 - Return WebGPU errors from RenderBundle creation r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D134986
2022-01-04 23:04:08 +00:00
Mike Hommey a633162dfe Bug 1748397 - Remove now unused rust toolchains. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D135021
2022-01-04 23:00:53 +00:00
Mike Hommey 84beeec196 Bug 1748397 - Upgrade all the toolchains we can to rust 1.57. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D135020
2022-01-04 23:00:52 +00:00
Mike Hommey 2d9ca36bea Bug 1748385 - Use the --dont-define-prefix flag of pkg-config when supported. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D135012
2022-01-04 22:57:02 +00:00
Mike Hommey 55c350dbd6 Bug 1748385 - Add --shared flag when using pkgconf >= 1.7.4. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D135011
2022-01-04 22:57:02 +00:00
Mike Hommey 3a4ba2a846 Bug 1748385 - Use the system path separator for PKG_CONFIG_LIBDIR. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D135010
2022-01-04 22:57:02 +00:00
Mike Hommey 983fd05b85 Bug 1748385 - Add a pkgconf toolchain and use it. r=firefox-build-system-reviewers,mhentges
pkgconf is an alternative implementation of pkg-config that is more
cross-platform. It has also become the default on Fedora, so it's not
some random project.

Differential Revision: https://phabricator.services.mozilla.com/D135009
2022-01-04 22:57:01 +00:00
Mike Hommey e0bb0f4225 Bug 513617 - Only check pkg-config on platforms where we need it. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D135008
2022-01-04 22:57:01 +00:00
Mike Hommey 1902c82787 Bug 1747532 - Default to lld for mac builds. r=firefox-build-system-reviewers,andi
When using clang >= 13.0

Differential Revision: https://phabricator.services.mozilla.com/D134862
2022-01-04 22:48:48 +00:00
Matthew Gaudet 8425a02f89 Bug 1741941 - Implement ReadableByteStreamTee r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131549
2022-01-04 22:33:24 +00:00
Matthew Gaudet 363163fe4f Bug 1741941 - Implement CloneAsUint8Array r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131548
2022-01-04 22:33:24 +00:00
Matthew Gaudet 09b2f010f5 Bug 1741941 - Add fields required for ReadableByteStreamTee to TeeState r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131547
2022-01-04 22:33:23 +00:00
Matthew Gaudet fd67c79e63 Bug 1741942 - Add Error algorithm r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131546
2022-01-04 22:33:23 +00:00
Matthew Gaudet e3f4641378 Bug 1741941 - Implement ReadableStreamBYOBReader r=smaug
Notably, this doesn't yet provide any mechanism for users to create user defined BYOB Readers

Differential Revision: https://phabricator.services.mozilla.com/D131545
2022-01-04 22:33:22 +00:00
Matthew Gaudet b2addbf3da Bug 1741941 - Store and Return GenericReader internal to ReadableStream and TeeState r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131543
2022-01-04 22:33:22 +00:00
Matthew Gaudet 6c2940583d Bug 1741941 - Add/Update Polymorphism code in ReadableStreamGenericReader in anticipation of ReadableStreamBYOBReader r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131542
2022-01-04 22:33:22 +00:00
Matthew Gaudet a0613926e6 Bug 1741941 - Add ReadableByteStreamController r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131541
2022-01-04 22:33:21 +00:00
Matthew Gaudet 844afd8bab Bug 1741941 - Update Step Numbering in ReadableStreamDefaultTee r=smaug
This should have been done in Bug 1736461 but got missed.

Differential Revision: https://phabricator.services.mozilla.com/D134081
2022-01-04 22:33:21 +00:00
Matthew Gaudet 8735f5d6db Bug 1741941 - Add JSAPI helper to verify transfer safety r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D131540
2022-01-04 22:33:20 +00:00
Matthew Gaudet 856938e0a5 Bug 1741941 - Allow testing a ReadableStreamGenericReader for Default-ness (useful for building assertions) r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131539
2022-01-04 22:33:20 +00:00
Mike Hommey fd7ee0cb3f Bug 1748382 - Stop reverting 2a078c307204 on clang trunk. r=firefox-build-system-reviewers,mhentges
The content of the patch was applied as part of d76279404073.

Differential Revision: https://phabricator.services.mozilla.com/D135002
2022-01-04 22:15:17 +00:00
Mike Hommey a3fcd56183 Bug 1748373 - Don't print out the contents of CMake{Output,Error}.log. r=firefox-build-system-reviewers,mhentges
When cmake fails during the clang build, we currently print out the
contents of CMakeOutput.log and CMakeError.log because they may contain
something useful to debug what happened. Unfortunately, because the
treeherder log parser doesn't see the actual error, it reports the
normal error that are part of the logs as being the errors causing the
failure, the first one of which is a check whether malloc/malloc.h is a
thing, which it is not, and that's normal.

So instead of printing them out, we provide the files as artifacts.

Differential Revision: https://phabricator.services.mozilla.com/D134999
2022-01-04 22:15:16 +00:00
Mike Hommey afa3bcf77c Bug 1748372 - Apply lld trunk fix for weak symbols with LTO on mac. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D134992
2022-01-04 22:15:16 +00:00
Andrew Osmond 99ecadd31a Bug 1748216 - Ensure that we invalidate previously decoded images without a surface ready. r=jrmuizel
Part of how invalidation works with WebRender is that we assume frames
with a WebRenderUserData object attached to them are in view. This means
for images that we must ensure we create an empty
WebRenderImageProviderData object even when we have no provider or
surface for display. This will allow us to invalidate properly when we
get the FRAME_COMPLETE notification from imagelib indicating that the
redecode has completed.

Differential Revision: https://phabricator.services.mozilla.com/D135077
2022-01-04 22:01:26 +00:00
Erik Nordin 20f8e5c93a Bug 1743657 - Link to DOM L10n Tutorial in Firefox Source Docs r=kpatenio?
Differential Revision: https://phabricator.services.mozilla.com/D134998
2022-01-04 21:51:38 +00:00
Andrew Halberstadt 20f9d435c9 Bug 1746414 - Upgrade `taskcluster-taskgraph` vendor to version 1.1.0, r=taskgraph-reviewers,jmaher
This is needed to pick up new functionality around setting parameter defaults
via `extend_parameter_schema`.

Depends on D134514

Differential Revision: https://phabricator.services.mozilla.com/D134967
2022-01-04 21:51:28 +00:00
Andrew Halberstadt 72feafcb54 Bug 1746414 - Move 'Parameters.release_level' to a utility function, r=taskgraph-reviewers,aki
This logic is Gecko specific and shouldn't be tied to the `Parameter`
class anyway. It makes more sense as a utility function.

Differential Revision: https://phabricator.services.mozilla.com/D134514
2022-01-04 21:51:27 +00:00
Andrew Halberstadt db96fe438c Bug 1746414 - Move 'Parameters.is_try' to a utility function, r=taskgraph-reviewers,aki
This logic is Gecko specific and shouldn't be tied to the `Parameter`
class anyway. It makes more sense as a utility function.

Differential Revision: https://phabricator.services.mozilla.com/D134513
2022-01-04 21:51:27 +00:00
Andrew Halberstadt 35a9f972f5 Bug 1746414 - Remove unused 'extend_parameters_schema' function, r=taskgraph-reviewers,aki
Differential Revision: https://phabricator.services.mozilla.com/D134512
2022-01-04 21:51:26 +00:00
Andrew Halberstadt 19bac8e7bf Bug 1746414 - [tryselect] Fix cramtest error if PATH env contains a binary with spaces, r=releng-reviewers,aki
Differential Revision: https://phabricator.services.mozilla.com/D134511
2022-01-04 21:51:26 +00:00
Alexandre Poirot a8f78a3769 Bug 1747804 - [devtools] Fix har export when some requests can't be retrieved. r=nchevobbe
HAR export was still producing empty har files if any of the request
currently displayed in the netmonitor can't be completely retrieved.
This includes all lazy data. But if any request has been destroyed in the server
fetching any lazy data will throw.

Differential Revision: https://phabricator.services.mozilla.com/D134789
2022-01-04 21:37:11 +00:00
Alexandre Poirot e3c4a93028 Bug 1747805 - [devtools] Fix NETWORK_EVENT's innerWindowID and clear requests of iframe when they get destroyed. r=nchevobbe
This also fixes the targetFront attribute for NETWORK_EVENT resources of iframes.

Differential Revision: https://phabricator.services.mozilla.com/D134788
2022-01-04 21:37:11 +00:00
mitch 889ad39459 Bug 1748253: Don't re-create `python-test` site in mozproxy test r=ahal
The intermittent test failure was caused by the `python-test` site
being re-created while other tests were trying to be run.

The site was being re-created because it was being activated in
`test_command_line.py`.
In automation, the site would be resolved as "out-of-date" because
the `sys.path` of the on-disk venv wouldn't match the `sys.path` of the
running process (python tests are run by invoking the associated test
file, which causes Python to prepend that test's directory to the
`sys.path`).

Since the default (`common`) site is already used for multiple use
cases with different dependencies, leaning on it here appears to be
the cleanest solution. The next `mach` command to need the site for
a different context will automatically re-create it as necessary.

Differential Revision: https://phabricator.services.mozilla.com/D134990
2022-01-04 21:08:38 +00:00
Mitchell Hentges 8fff83d33d Bug 1740123: Move Python version check earlier r=ahal
Move Python version check as early as possible so that more code can
safely depend on modern behaviour while out-of-date Python versions still
get graceful error messages.

Without this change, Python 2 usages fail on importing `importlib.util`
before the nice "out-of-date version" warning is printed.

Differential Revision: https://phabricator.services.mozilla.com/D134185
2022-01-04 21:07:32 +00:00
Mitchell Hentges 07f875d674 Bug 1725895: Port `--profile-command` to pure-Python r=nalexander,glandium
As part of this, the shell-script part of `./mach` can be removed,
making it pure Python.

There's a change in `--profile-command` behaviour, though: it now only
profiles the specific command, rather than all of Mach.
This is because _so much of Mach_ has already been run before
CLI arguments are parsed in the Python process.

If a developer wants to profile Mach itself, they can manually run
`python3 -m cProfile -o <file> ./mach ...`

Differential Revision: https://phabricator.services.mozilla.com/D133928
2022-01-04 21:07:32 +00:00
Eitan Isaacson 654a0be767 Bug 1737944 - P12: Add better todo support to attribute tests, and todo failing cache tests. r=Jamie
Changed how our attributes tests work a bit to be single "is" test
instead of comparing each attribute separately. This allows passing a
todo option without it failing on attributes that are identical.

Differential Revision: https://phabricator.services.mozilla.com/D134974
2022-01-04 21:01:39 +00:00
Eitan Isaacson 965646877d Bug 1737944 - P11: When cache is enabled, calculate group info remotely and add it to attributes. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D134214
2022-01-04 21:01:38 +00:00
Eitan Isaacson 7a6180f627 Bug 1737944 - P10: Store AccGroupInfo in remote accessible cache. r=Jamie
Now that an AccGroupInfo can be constructed with an Accessible, we can
support its getter in remote accessibles.

Differential Revision: https://phabricator.services.mozilla.com/D134213
2022-01-04 21:01:38 +00:00
Eitan Isaacson f8f5a14d7a Bug 1737944 - P9: Make AccGroupInfo use Accessible. r=Jamie
Now that GroupPosition and GetGroupInfo are in Accessible, we can make
AccGroupInfo use the Accessible base class.

With one exception: Tables are still local only. That should be
addressed in bug 1735970.

Differential Revision: https://phabricator.services.mozilla.com/D134212
2022-01-04 21:01:38 +00:00
Eitan Isaacson b7dd36fd8a Bug 1737944 - P8: Move GetGroupPosition to Accessible. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D134211
2022-01-04 21:01:37 +00:00
Eitan Isaacson af27cd475b Bug 1737944 - P7: Move and rename GetPositionAndSizeInternal to Accessible. r=Jamie
Now that the AccGroupInfo getter is in Accessible, the position and size
getter could go there too.

Differential Revision: https://phabricator.services.mozilla.com/D134210
2022-01-04 21:01:37 +00:00
Eitan Isaacson d06ad7cd3c Bug 1737944 - P6: Put AccGroupInfo getter/creator in Accessible. r=Jamie
Changed the methods a bit, instead of a HasDirty boolean method, I went
with a getter and a get-and-creator. This will lend better to remote
accessibles where we won't have a dirty flag.

Differential Revision: https://phabricator.services.mozilla.com/D134209
2022-01-04 21:01:36 +00:00
Eitan Isaacson 935107258c Bug 1737944 - P5: Unify GetLevelInternal and GetDefaultLevel as Accessible::GetLevel. r=Jamie
The nsAccUtils method was a "fast" one for calculating set sizes and
conceptual parents. Unified it with
LocalAccessible::GetLevelInternal in Accessible::GetLevel with an
argument.

I also fixed select->optgroup->option group attributes.

Differential Revision: https://phabricator.services.mozilla.com/D134208
2022-01-04 21:01:36 +00:00
Eitan Isaacson 4d4ae8fb45 Bug 1737944 - P4: Cache aria group attributes and introduce Accessible getter. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D134207
2022-01-04 21:01:35 +00:00
Eitan Isaacson 8d517827ab Bug 1737944 - P3: Introduce Accessible::TagName getter for retrieving HTML tags. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D134206
2022-01-04 21:01:35 +00:00
Eitan Isaacson 2aaeabdb69 Bug 1737944 - P2: Allow AccAttributes to store a UniquePtr of AccGroupInfo. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D134205
2022-01-04 21:01:34 +00:00
Eitan Isaacson 5379b3edcf Bug 1737944 - P1: Port HTML group position test to browser. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D134204
2022-01-04 21:01:34 +00:00
Marian-Vasile Laza b7ce74482a Backed out changeset 773233d22a37 (bug 1748065) for causing bc test failures on browser_updateLogin.js. CLOSED TREE 2022-01-04 22:59:41 +02:00
Tom Ritter 4404d06aa8 Bug 1743688: Allow specifying and passing arguments to the script run during vendoring r=jewilde
Depends on D129534

Differential Revision: https://phabricator.services.mozilla.com/D129535
2022-01-04 20:53:29 +00:00
Tom Ritter 81237c569e Bug 1743688: Add a new type of source hosting for angle to look for the upstream branch on chrome beta r=jgilbert,jewilde
Depends on D129533

Differential Revision: https://phabricator.services.mozilla.com/D129534
2022-01-04 20:53:28 +00:00