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

768501 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou f4575710bd Backed out 6 changesets (bug 1712151, bug 1725708, bug 1724465) for causing invalid handle xpcshell failures. CLOSED TREE
Backed out changeset 90b9ff20b311 (bug 1725708)
Backed out changeset 75336eb10063 (bug 1725708)
Backed out changeset f438e13f8986 (bug 1724465)
Backed out changeset 11de3a4312bd (bug 1725708)
Backed out changeset 2c6edefd8417 (bug 1712151)
Backed out changeset 9ccf99dae3c7 (bug 1712151)
2021-09-03 22:33:24 +03:00
Timothy Nikkel 185e176645 Bug 1728706. Use IsRootContentDocumentCrossProcess for top layer related optimization in ScrollFrameHelper::BuildDisplayList. r=botond
The reason this IsRootContentDocument check was added was because of a test where there is fixed pos content in the top layer of a subdocument. This fixed pos content gets removed from the display list as part of this optimization. So no WebRenderLayerScrollData gets created for the asr of this fixed pos content, which causes an assert. (from https://bugzilla.mozilla.org/show_bug.cgi?id=1664804#c18 )

The code that ensures there is WebRenderLayerScrollData for the root asr is here https://searchfox.org/mozilla-central/rev/55e8eba74b60b92d04b781f7928f54ef76b13fa9/gfx/layers/wr/WebRenderCommandBuilder.cpp#1636 and it happens for all root content documents in the process, so this optimization is valid for any root content document in the process.

Differential Revision: https://phabricator.services.mozilla.com/D124298
2021-09-03 19:17:17 +00:00
Mike Conley 38e8910b47 Bug 1725837 - Adjust detail text size in Downloads Panel, and remove hardcoded width. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D124243
2021-09-03 19:16:06 +00:00
Sandor Molnar 06f9e93e66 Backed out changeset 3bdf9c5f10cc (bug 1729051) build bustages. CLOSED TREE 2021-09-03 22:13:35 +03:00
Matt Woodrow a1f669f3aa Bug 1728709 - Add nsDisplayItem::GetPaintRect that computes a value using the current clip extents. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D124299
2021-09-03 18:58:18 +00:00
Eitan Isaacson a6a943d0ea Bug 1729058 - Enable cache initialization in update pushes. r=morgan
There can be a scenario where an initial cache is pushed to an accessible via an update and not an "initial" push that a doc load or a subtree show would give.

For example, an accessible might not have a name, description, or numeric value (that is all we currently cache), but then get a name later in its lifetime. If that is the case the accessible will get a cache AccAttributes with a DeleteEntry value for "description" since its description is still empty. That entry should not be stored in the cache.

Differential Revision: https://phabricator.services.mozilla.com/D124484
2021-09-03 18:56:24 +00:00
Andrew Osmond eae74a37c7 Bug 1729051 - Simplify imgFrame to only use shared surfaces for raster images. r=jrmuizel
In practice we already only use SourceSurfaceSharedData as our
rasterized image backing. This means we no longer need to lock the data
to keep it in memory (when we used volatile memory), nor to try to
optimize the surface for the DrawTarget.

Differential Revision: https://phabricator.services.mozilla.com/D124476
2021-09-03 18:53:19 +00:00
Molly Howell ddce135a13 Bug 1493174 - Fix running Visual Studio using the mach ide command. r=firefox-build-system-reviewers,mhentges
There are two problems that this patch addresses:
1) The path to the VS solution file that we're using to launch it is malformed,
   because os.path.join is using backslash seperators, but we're passing it a
   path which already contains forward slash seperators, and mixing the two is
   not valid. This is preventing VS from being launched at all.
2) We're throwing if explorer.exe does not return 0 when we call it to launch
   VS, but explorer.exe always returns 1 when run this way, even if it
   succeeded, so we output a spurious exception to the console.

Differential Revision: https://phabricator.services.mozilla.com/D124488
2021-09-03 18:32:05 +00:00
Aki Sasaki db6510e6be Bug 1728330 - remove pushsnap tasks. r=releng-reviewers,bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D124411
2021-09-03 18:14:31 +00:00
Ruben Calvo fc77d39368 Bug 1728366 - force date picker years to be in a valid range. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D124125
2021-09-03 18:08:05 +00:00
Cosmin Sabou 31551df91a Bug 1698179 - Disable browser_markers-cycle-collection.js on linux webrender debug for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D124479
2021-09-03 18:07:58 +00:00
Eitan Isaacson babc6af3e3 Bug 1728940 - Reverse reverted null check in ATK value functions. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D124480
2021-09-03 18:02:37 +00:00
Jonathan Kew b2d4f24a8a Bug 1729055 - Provide a webfont for text-decoration-skip-ink-005.html in case no CJK font is present on the system. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D124478
2021-09-03 17:59:12 +00:00
Mitchell Hentges 1c5be829d7 Bug 1725708: `./mach vendor python` should populate from a clean state r=ahal
Rather than deleting the expected target directory of each package
that's being vendored, clear the whole `third_party/python` directory
and re-populate it from scratch.

As part of this, there's an "exclusion" list for packages that can't
be vendored from PyPI.

This has some benefits:
* It'll be harder to forget scraps of files and directories and leave
  them in `third_party/python`.
* The exclusion list makes it more clear which packages are managed
  manually, and the friction it adds to the workflow will guide
  developers to use "requirements.in" instead.

The `test_up_to_date_vendor` test will verify that the vendor directory
is always clean.

Differential Revision: https://phabricator.services.mozilla.com/D123124
2021-09-03 17:31:58 +00:00
Mitchell Hentges 4abd2ed050 Bug 1725708: Move all possible vendored deps to centralized system r=ahal
Note that, as part of adding this packages to the automated vendoring
system, some dependencies were automatically added - most notably,
dependencies of `taskcluster` that become visible with Python 3.6+.

Also, adds `**/.git` to the exclusions because:
* `.git` is part of our `.hgignore`, but
* `.git` is part of the `aiohttp` `tar.gz` file.

Since the file isn't needed for `pip install`-ing `aiohttp`,
and since we want `./mach vendor python` to be a no-op when there's
no requirement changes, we exclude it.

Differential Revision: https://phabricator.services.mozilla.com/D123122
2021-09-03 17:31:57 +00:00
Mitchell Hentges 867eb3842a Bug 1724465: Upgrade `virtualenv` to 20.7.0 r=ahal
This upgrades:
* `pip` 20.3.1 => 21.2.2
* `setuptools` 51.0.0 => 57.4.0
* `wheel` 0.36.1 => 0.36.2

Differential Revision: https://phabricator.services.mozilla.com/D123120
2021-09-03 17:31:52 +00:00
Mitchell Hentges 6d2c906280 Bug 1725708: Remove unused "pep487" vendored package r=ahal
There's no usages of the `pep487` module.

Differential Revision: https://phabricator.services.mozilla.com/D123121
2021-09-03 17:31:52 +00:00
Mitchell Hentges c4d21d6eef Bug 1712151: Vendor pystache automatically r=ahal
Add pystache to vendor `requirements.in` so that it's vendored according
to `./mach vendor python` "ignore" rules.
This ensures that sufficient files are vendored such that installing the
package from it's `setup.py` file is possible.

Differential Revision: https://phabricator.services.mozilla.com/D122898
2021-09-03 17:31:51 +00:00
Mitchell Hentges 251f4d7144 Bug 1712151: Use compatible version of pyasn1-modules r=ahal
The existing version of `pyasn1-modules` (`0.1.5`) is incompatible with
our version of `pyasn1` (`0.4.8`).

By bumping `pyasn1-modules` to `0.2.8`, we now meet its compatibility
requirements.

Differential Revision: https://phabricator.services.mozilla.com/D122897
2021-09-03 17:31:50 +00:00
Cosmin Sabou eda6b9ae4c Backed out changeset a954692bd4c5 (bug 1728699) for content crashes. CLOSED TREE 2021-09-03 20:58:53 +03:00
Cosmin Sabou efbb4a2760 Backed out 8 changesets (bug 1413836) for delegatesFocus related wpt failures. CLOSED TREE
Backed out changeset 53c86681259e (bug 1413836)
Backed out changeset dc6a694146fd (bug 1413836)
Backed out changeset ae89d15d28eb (bug 1413836)
Backed out changeset 979fef259e32 (bug 1413836)
Backed out changeset d829be6f2813 (bug 1413836)
Backed out changeset c1d1d4b5ab74 (bug 1413836)
Backed out changeset 19e3256ea07c (bug 1413836)
Backed out changeset dc8d5d9533e4 (bug 1413836)
2021-09-03 20:48:24 +03:00
Edgar Chen 71a718fbc8 Bug 1729008 - Part 2: Make HTMLFormElement::IsLastActiveElement take nsGenericHTMLFormElement as argument; r=smaug
Depends on D124459

Differential Revision: https://phabricator.services.mozilla.com/D124462
2021-09-03 17:21:44 +00:00
Edgar Chen 862d12eb53 Bug 1729008 - Part 1: Make HTMLFormElement::IsDefaultSubmitElement take nsGenericHTMLFormElement as argument; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D124459
2021-09-03 17:21:44 +00:00
Andrei Oprea c2ff7b6409 Bug 1727265 - Remove Nimbus 'sendExposureEvent' option and keep only explicit calls for exposure event r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D123763
2021-09-03 17:12:52 +00:00
Andrew Halberstadt 67cef7d1ab Bug 1721463 - Set ENABLE_TESTS when generating test backend with an EmptyConfig, r=firefox-build-system-reviewers,mhentges
In 'gen_test_backend.py' we fallback to an 'EmptyConfig' in the event there is
no build environment. We do this for the benefit of tests that don't need a
Firefox build (like Python unittests). Without it, we wouldn't be able to run
e.g |mach python-test python/mozversioncontrol| unless you had a build.

However since this 'EmptyConfig' doesn't have 'ENABLE_TESTS' set, it means any
manifests defined in a 'moz.build' behind the 'TEST_DIRS' variables will not be
discovered.

Differential Revision: https://phabricator.services.mozilla.com/D120386
2021-09-03 17:10:16 +00:00
Mitchell Hentges 894b32dc18 Bug 1723237: Remove `vendor` argument from `install_pip_package()` r=ahal
Now that `piptools` is no longer installed from the vendored location,
there are no remaining cases where we are doing `install_pip_package()`
with a vendored package.

Differential Revision: https://phabricator.services.mozilla.com/D123241
2021-09-03 17:06:05 +00:00
Mitchell Hentges 78827b7e2c Bug 1723237: Use pip-compile directly from vendored location r=ahal
We've been installing `piptools` so that we can use the `pip-compile`
binary. However, we can just as easily do
`python -m piptools compile ...` instead, which also allows us to
skip a redundant install.

Differential Revision: https://phabricator.services.mozilla.com/D123240
2021-09-03 17:06:05 +00:00
Matthew Gaudet 1c22a97031 Bug 1728802 - Remove overly paranoid guarding of class static block preference to allow riding the trains r=arai
Differential Revision: https://phabricator.services.mozilla.com/D124465
2021-09-03 16:54:12 +00:00
Dzmitry Malyshau 5695f517a5 Bug 1726626 - Move gfx/wgpu into a 3rd party dependency r=jgilbert,bholley
This update makes wgpu a vendored dependency instead of having it in gfx/wgpu.

## Notes


It relies on https://phabricator.services.mozilla.com/D123157

It has a quirk related to OpenGL ES backend. Previousy, we manually had to disable GL backend
in order to avoid vendoring WASM dependencies in. This time, manual editing is more complicated,
so instead this change adds a few cargo patch lines to point WASM dependencies to dummy projects.

The update also totally removes SPIRV-Cross, since the latest `wgpu` doesn't depend on it any more.
The compiled binary size for Gecko should improve with this.

Differential Revision: https://phabricator.services.mozilla.com/D123153
2021-09-03 16:52:08 +00:00
Chun-Min Chang edabfc6951 Bug 1725810 - Fix audio distortion r=padenot
When two successive `AudioInputProcessing::NotifyInputData` calls are
followed by only one `AudioInputProcessing::ProcessInput` call, the
audio input data in the first `NotifyInputData` call will be dropped
silently, and these incomplete audio data will lead to unrecognizable
sounds. To avoid dropping any audio input, we need to queue all the
unprocessed audio input data from `NotifyInputData` instead of keeping
tracking the newest one only.

Depends on D123996

Differential Revision: https://phabricator.services.mozilla.com/D123840
2021-09-03 16:46:32 +00:00
Chun-Min Chang dc1d317edc Bug 1725810 - Remove `AudioDataBuffers` r=padenot
`AudioDataBuffers` is used to hold the information of the audio input
and output. However, nothing special needs to be done there.

Depends on D123997

Differential Revision: https://phabricator.services.mozilla.com/D123996
2021-09-03 16:46:32 +00:00
Chun-Min Chang 30033608c9 Bug 1725810 - Add a test case simulate the issue r=padenot
Add a test for `AudioInputProcessing` to demonstrate the audio
distortion problem

Differential Revision: https://phabricator.services.mozilla.com/D123997
2021-09-03 16:46:32 +00:00
Nan Jiang c1e91a89c5 Bug 1728188 - Re-enable the collection of search query and matched keyword for Firefox Suggest r=adw
Differential Revision: https://phabricator.services.mozilla.com/D124463
2021-09-03 16:16:56 +00:00
Jeff Muizelaar 4d2306308f Bug 1728991 - Drop some unused gfxASurface includes. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D124456
2021-09-03 16:00:34 +00:00
Emilio Cobos Álvarez 7bd3a20ff4 Bug 1728851 - Add attributes to the rule hash. r=boris
See the discussion here: https://twitter.com/Rich_Harris/status/1433153204678799365

This should make attribute selectors roughly as fast as class selectors.

I think it's worth trying and see if perf bots complain on
micro-benchmarks and stylebench and such.

I made attributes more specific than local names, but less specific than
classes, which I think makes sense. When doing something like
foo[data-bar], filtering by data-bar seems likely to yield less elements
than filtering by foo.

While at it, remove the bloom filter pref since we shipped it in
bug 1704551 for 87 and we haven't heard complaints.

Differential Revision: https://phabricator.services.mozilla.com/D124383
2021-09-03 15:57:30 +00:00
Byron Campen [:bwc] 31aa2a194a Bug 1685354: Use NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_DESTROY instead of runnables inside d'tor. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D123946
2021-09-03 15:29:28 +00:00
Nika Layzell 5ef668b1b0 Bug 1722880 - Part 3: Support BFCache, unloading, and tab adoption in Pdfjs actors, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D124100
2021-09-03 15:26:14 +00:00
Nika Layzell 537f680c5a Bug 1722880 - Part 2: Expose windowContext getter to JSWindowActors, r=smaug
This will be used by the Pdfjs actor to get isInBFCache

Differential Revision: https://phabricator.services.mozilla.com/D124099
2021-09-03 15:26:13 +00:00
Nika Layzell c525c65ff8 Bug 1722880 - Part 1: Add IsInBFCache to WindowContext, and make it non-SHIP compatible, r=smaug,necko-reviewers,dragana
This field will be useful to JS code such as JSWindowActors which need to be
able to detect when their WindowContext is no longer active.

Differential Revision: https://phabricator.services.mozilla.com/D124098
2021-09-03 15:26:13 +00:00
Iulian Moraru d7a06601a0 Backed out changeset 089962073382 (bug 1728903) for causing Bp-hybrid bustages on ImageBitmapRenderingContext.cpp. CLOSED TREE 2021-09-03 18:49:32 +03:00
Mitchell Hentges 9fb43c2035 Bug 1712151: Bump glean-sdk version to 40.0.0 r=ahal
We vendor `glean_parser==3.6.0`, and that was incompatible with
`glean-sdk==36.0.0`'s requirement of `glean_parser==2.5.0`.
`glean-sdk==40.0.0` expects `glean_parser==3.6.0`, which is perfect.

Differential Revision: https://phabricator.services.mozilla.com/D122899
2021-09-03 15:22:21 +00:00
Bryce Seager van Dyk 6a1ee36ee9 Bug 1729011 - Change dead link to MDN in nsCOMPtr.h to reference source docs. r=xpcom-reviewers,mccr8 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D124461
2021-09-03 15:14:01 +00:00
Edgar Chen d902f2d62f Bug 1728626 - PointerEvent.pointerType should be allowed to be arbitrary from constructor; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D124362
2021-09-03 15:04:56 +00:00
Ted Campbell 40a326954c Bug 1728588 - Fix storage heuristic for async JS modules. r=jandem
With top-level await now supported, ModuleScopes use the generator machinery. As
a heuristic, we use different storage strategies for generators with few vs many
local variables. This patch applies that condition to module scopes as well for
consistency (and to avoid tripping checks).

Differential Revision: https://phabricator.services.mozilla.com/D124232
2021-09-03 14:49:26 +00:00
Nazım Can Altınova 0f657df07f Bug 1728544 - Make the MarkerSchema::Searchable enum class values CamelCased r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D124242
2021-09-03 14:30:10 +00:00
Nazım Can Altınova a38b25b295 Bug 1728544 - Make the MarkerSchema::Format enum class values CamelCased r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D124241
2021-09-03 14:30:10 +00:00
Nazım Can Altınova ddae0f7cd6 Bug 1728544 - Make the MarkerSchema::Location enum class values CamelCased r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D124240
2021-09-03 14:30:09 +00:00
Andrei Oprea 681df612a2 Bug 1728420 - New messaging surface Spotlight r=Mardak,dmose,nanj
Differential Revision: https://phabricator.services.mozilla.com/D121913
2021-09-03 13:41:21 +00:00
Sean Feng a2cfaeb18d Bug 1413836 - Use Ahem font to avoid antialiased fringe for focus-pseudo-on-shadow-host-2.html r=dholbert
When the `FAIL` text goes away, there could be some antialiased fringe left which
caused the test to fail. Use Ahem font to reduce likelihood of this
happening again.

Differential Revision: https://phabricator.services.mozilla.com/D124423
2021-09-03 13:32:28 +00:00
Sean Feng 99c89697c1 Bug 1413836 - Add a test to ensure :focus is applied to host when the focus is moved by <tab> r=smaug
Depends on D123863

Differential Revision: https://phabricator.services.mozilla.com/D124067
2021-09-03 13:32:28 +00:00