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

781228 Коммитов

Автор SHA1 Сообщение Дата
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
Tom Ritter afeb3634ae Bug 1743688: Moving tracking from updatebot to vendoring r=jewilde
It occurs to me that because tracking is a general vendoring need
(not just for updatebot) that it should live under vendoring.

Depends on D129437

Differential Revision: https://phabricator.services.mozilla.com/D129533
2022-01-04 20:53:28 +00:00
Tom Ritter b9b257ce6d Bug 1743688: Fix a bit in rewrite_mozbuild r=jewilde
Depends on D129436

Differential Revision: https://phabricator.services.mozilla.com/D129437
2022-01-04 20:53:28 +00:00
Tom Ritter 9e748d25fc Bug 1743688: Fix some nuances of run-script r=jewilde
Depends on D129434

Differential Revision: https://phabricator.services.mozilla.com/D129436
2022-01-04 20:53:27 +00:00
Tom Ritter c9e40f6e29 Bug 1743688: Allow a moz.yaml to skip certain vendoring steps r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D129434
2022-01-04 20:53:27 +00:00
Marian-Vasile Laza f24f301105 Backed out changeset 01217db0e1fc (bug 1748395) for causing build bustages on gfxFont.cpp. CLOSED TREE 2022-01-04 22:38:09 +02:00
Nan Jiang 9f5b1bf3a2 Bug 1748348 - Stop sending search_query and matched_keywords for Firefox Suggest impressions r=adw
Differential Revision: https://phabricator.services.mozilla.com/D135059
2022-01-04 20:19:14 +00:00
Sergey Galich 02aad87193 Bug 1748065 - Do not leak password length when password is concealed. r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D134912
2022-01-04 20:10:35 +00:00
Joel Maher ab7ae9ad03 Bug 1743907 - remove webrender from harnesses and taskcluster. r=MasterWayZ,webdriver-reviewers,perftest-reviewers,AlexandruIonescu,whimboo,ahal
Differential Revision: https://phabricator.services.mozilla.com/D134715
2022-01-04 20:07:45 +00:00
Yury Delendik b902695d12 Bug 1744711 - Stop running arm64-cranelift-sim during mc testing. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D135063
2022-01-04 19:25:31 +00:00
Ting-Yu Lin e6d4014831 Bug 1748395 - Use `if constexpr` for expressions that can be determined at compile time. r=emilio
The compiler might already be smart enough to not generate code in an
if-statement that guarantees to be `false` at compile time. However it's no harm
to make it explicit by using `if constexpr`.

Differential Revision: https://phabricator.services.mozilla.com/D135017
2022-01-04 19:04:03 +00:00
Marian-Vasile Laza 8ae92912a3 Backed out changeset 3b51e6804554 (bug 1747261) for causing xpcshell failures on test_E10SUtils_workers_remote_types.js. CLOSED TREE 2022-01-04 21:42:15 +02:00
Narcis Beleuzu f41ea831f5 Backed out changeset c5fe8b49b395 (bug 1730587) for causing Windows browsertime bing raptor-mitmproxy Error (Bug 1748413). CLOSED TREE 2022-01-04 21:36:19 +02:00
Sergey Galich 1ef0eb44cc Bug 1701660 - Multiple UI refreshes degrade performance of CSV Import r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D134400
2022-01-04 18:45:15 +00:00