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

761248 Коммитов

Автор SHA1 Сообщение Дата
Brindusan Cristian 20b73f0fc2 Backed out changeset e88b44182dda (bug 1698883) for causing bc failures in browser_documentnavigation.js and browser_protectionsUI.js.
CLOSED TREE
2021-06-17 22:43:47 +03:00
Jon Coppeard c69960a99b Bug 1716940 - Increase TaskController thread stack size r=bas
This increases the stack size used for task controller threads to the size
previously used for JS helper threads. Some parsing use cases can use a lot of
stack.

Differential Revision: https://phabricator.services.mozilla.com/D118184
2021-06-17 16:14:20 +00:00
Jon Coppeard b4a00f01a6 Bug 1716940 - Pass external thread stack size through to the JS engine r=sfink,bas
This adds plumbing to make the JS engine set the stack quota based on the
actual stack size for external thread pool threads (and internal thread pool
ones).

The quota is calculated as 90% of the size, which is currently hardcoded into
the constants.

Differential Revision: https://phabricator.services.mozilla.com/D118183
2021-06-17 16:14:19 +00:00
Andrei Oprea 0ccfec97f9 Bug 1715804 - Use enrollment branch information for startup onUpdate notifications r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D117442
2021-06-17 16:04:26 +00:00
Silke Hofmann c45f796a16 Bug 1715544 - Extend timezone converter's 12h correction logic for times between 12pm and 1pm, and 12am and 1am. Add testcases. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D117958
2021-06-17 15:59:31 +00:00
Joel Maher 567b556827 Bug 1716656 - Add noqr (opengl) tests for android-em. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D117969
2021-06-17 15:57:30 +00:00
Julian Descottes 2a78272b8e Bug 1697742 - Fix breakpoints for xpcshell target actors r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D117912
2021-06-17 15:56:14 +00:00
Chris Martin 98fede6fee Bug 1701770 - Don't load DPI functions in Win32k Lockdown tab r=bobowen
Currently, as part of initialization of xul.dll on Windows we dynamically
load some DPI-related functions on Windows 10. Those functions cannot be used
with Win32k lockdown, and thus there is no point to loading them.

Differential Revision: https://phabricator.services.mozilla.com/D116629
2021-06-17 15:53:23 +00:00
Chris Martin 59f6230bef Bug 1701770 - Defer Windows DPI Awareness from load time to run time r=bobowen,aklotz
Currently, we set DPI awareness in the manifest files for firefox.exe.

Unfortunately, that causes DPI-related Win32k calls when user32.dll
is loaded.

This changes things to wait until we are sure we're not running in a
Win32k Lockdown Content Process before we attempt to initialize DPI scaling.

Differential Revision: https://phabricator.services.mozilla.com/D116433
2021-06-17 15:53:23 +00:00
Mike Conley d90592e793 Bug 1712750 - Open sanitize dialog using the window modal dialog box when possible. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117567
2021-06-17 15:47:16 +00:00
Olli Pettay b413126a30 Bug 1679194 - browser_backfwd_enabled_post_customize.js should wait until the state of back and forward buttons has changed, r=annyG
When session history (and bfcache) run in the parent process, things happening there are less asynchronous vs. having session history
in the child process.

The fix is such that if the disabled state doesn't change, then the test will just time out.

Differential Revision: https://phabricator.services.mozilla.com/D117891
2021-06-17 15:42:36 +00:00
Olli Pettay 02742ca0f8 Bug 1716894 - Disable /fetch/metadata/prefetch.https.sub.html on Fission for now, r=annyG
Differential Revision: https://phabricator.services.mozilla.com/D118094
2021-06-17 15:42:02 +00:00
Kris Wright d669e4ca82 Bug 1683404 - Remove tsan suppressions for nsTimerImpl. r=Gankra
Try push shows that the issue is fixed with the above patch in the stack: https://treeherder.mozilla.org/jobs?repo=try&revision=a9e9135464b2750a8b6fd2a19408e3537b39dbe2

Differential Revision: https://phabricator.services.mozilla.com/D115776
2021-06-17 15:36:00 +00:00
kriswright 058d3e6e68 Bug 1683404 - Wrap the timer thread behind a mutex. r=nika
This particular race is a tricky one - there's no perfect solution to protecting the timer thread from being called in `cancel` while being dereferenced. This ensures that we won't run into that problem by locking all of our TimerThread calls behind a mutex inside a wrapper class. Then we hold onto the wrapper class until after we shutdown `nsThreadManager`, in which case no background thread pools should be active anymore to call `nsTimerImpl::Cancel`.

For reference, the worst-case scenario happens when another thread dereferences `gThread` [between these two calls](https://searchfox.org/mozilla-central/rev/98a9257ca2847fad9a19631ac76199474516b31e/xpcom/threads/nsTimerImpl.cpp#402-403), in which case we will get stuck on a dereferenced mutex. By putting the check and the actual call into `gThread` behind a mutex maybe we can prevent this issue.

Differential Revision: https://phabricator.services.mozilla.com/D115453
2021-06-17 15:36:00 +00:00
Alexandre Poirot 55c97cfe2d Bug 1715910 - [devtools] Use DOCUMENT_EVENT's dom-complete event in the application panel. r=ladybenko
With this change, we no longer need to track targets.

Differential Revision: https://phabricator.services.mozilla.com/D117514
2021-06-17 15:35:43 +00:00
Mike Conley 6c5816deeb Bug 1698883 - Remove the panel-footer-menulike class. r=mhowell
We kept this class around so that we could toggle back and forth between the
Photon-era footer button style, and the Proton-era menuitem style for footer
buttons.

Now that v89 has shipped, we can remove that class and switch the markup and
styling over completely to the Proton styling.

Differential Revision: https://phabricator.services.mozilla.com/D117553
2021-06-17 15:34:17 +00:00
Ava Katushka ava8katushka d18fc00d38 Bug 1716521 - Fix typo in the test for browser_application_selection.js. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117745
2021-06-17 15:33:56 +00:00
Bernard Igiri d8cff91aa0 Bug 1706192 - Get rid of popup-subitem r=mconley
Removed occurences of popup-subitem.

Differential Revision: https://phabricator.services.mozilla.com/D117330
2021-06-17 15:30:28 +00:00
Csoregi Natalia 7543c5e82b Backed out changeset fb2f9cfe820d (bug 1716579) for valgrind bustage. CLOSED TREE 2021-06-17 19:40:08 +03:00
Ryan VanderMeulen c53375f623 Merge m-c to autoland on a CLOSED TREE. a=merge 2021-06-17 11:39:20 -04:00
Ryan VanderMeulen 050b863666 Backed out 3 changesets (bug 1677253) because it depends on bug 1713334 which was backed out.
Backed out changeset 3d30a54409a7 (bug 1677253)
Backed out changeset 1c385b21e0e5 (bug 1677253)
Backed out changeset eb6001404a57 (bug 1677253)
2021-06-17 11:38:53 -04:00
prathikshaprasadsuman 1a1b462ea9 WIP: Bug 1713891 - Re-enable protections dashboard tests for fission. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D118158
2021-06-17 15:21:33 +00:00
Jamie Nicol 801bf46280 Bug 1717028 - Fix webrender render target debug view. r=nical
Over time the render target debug view has accidentally started
displaying other texture cache textures too, and then not actually
showing render targets. This makes it show only render target textures
again, as intended.

Differential Revision: https://phabricator.services.mozilla.com/D118187
2021-06-17 15:12:47 +00:00
Mitchell Hentges 2438ea8889 Bug 1712133: Validate that pypi dependencies are installed r=ahal
Check that all expected pypi packages are installed
when checking if a virtualenv is up-to-date.

Differential Revision: https://phabricator.services.mozilla.com/D117712
2021-06-17 14:58:17 +00:00
Mitchell Hentges 2fa59acd4f Bug 1712133: Adds "pypi" action to virtualenv `handle_package()` r=ahal
The `pypi` action uses `pip` to fetch a package and its dependencies

Differential Revision: https://phabricator.services.mozilla.com/D115925
2021-06-17 14:58:17 +00:00
Mitchell Hentges 35b16fdf28 Bug 1712133: Inline `testing/mozbase/packages.txt` contents r=ahal
The `mozbase` modules were being unconditionally added to the
`sys.path` regardless of the Mach command being run, so there isn't
much value keeping them in a separate file. Besides, all other
source module paths are described in `common_virtualenv_packages`,
why is `mozbase` special?

In the future, we're going to want to make improvements here (such as:
there's a difference between informing mach of first-party code
versus defining which third_party vendored packages should be in scope,
and that workflow difference should be represented in-code).
It's useful to peel out the existing, less useful abstraction before
we can build a stronger one.

Differential Revision: https://phabricator.services.mozilla.com/D117711
2021-06-17 14:58:17 +00:00
Mitchell Hentges 24f634d924 Bug 1712133: Remove "pth" name customization r=ahal
Having separate `<name>.pth` files in the virtual environments
isn't providing an advantage. We can simplify configuration
by putting all `pth` adjustments into a single file: `mach.pth`.

Differential Revision: https://phabricator.services.mozilla.com/D117710
2021-06-17 14:58:16 +00:00
Mitchell Hentges 31474e8925 Bug 1712133: Make virtualenv package parsing more specific r=ahal
This has two benefits:
1. `handle_package()` becomes more clear - rather than referring to
   `action` and `package` with array index numbers, we now give
   them real names. The benefit here is also shown in `up_to_date()`.
2. This makes the top-level parser for `packages()` less opinionated
   about sub-formats: if an action has a nested structure, it should
   have the flexibility to define what it looks like.

Differential Revision: https://phabricator.services.mozilla.com/D117708
2021-06-17 14:58:16 +00:00
Ryan VanderMeulen 4f76281e3b Merge m-c to autoland. 2021-06-17 11:01:30 -04:00
Ryan VanderMeulen ebdf8becb9 Backed out 7 changesets (bug 1716728) because dependent bugs were backed out.
Backed out changeset d302a501a181 (bug 1716728)
Backed out changeset 75bf5a053c5c (bug 1716728)
Backed out changeset 51e9d6b164e6 (bug 1716728)
Backed out changeset 2d1e67b5b3ee (bug 1716728)
Backed out changeset ccc371872958 (bug 1716728)
Backed out changeset 79501f3bd5e1 (bug 1716728)
Backed out changeset c1c1c8158e38 (bug 1716728)
2021-06-17 11:01:21 -04:00
Ryan VanderMeulen 8f9a37e741 Backed out changeset e96a8ebb3e32 (bug 1716714) because the dependent patches were backed out. 2021-06-17 11:00:06 -04:00
Ryan VanderMeulen a337a14382 Backed out 5 changesets (bug 1713334) for causing bug 1716714.
Backed out changeset bd1c37ce2c61 (bug 1713334)
Backed out changeset 876ed18c5126 (bug 1713334)
Backed out changeset 5a4f4514d99a (bug 1713334)
Backed out changeset 7d7feef654c7 (bug 1713334)
Backed out changeset 61e15374e617 (bug 1713334)
2021-06-17 10:57:32 -04:00
Ryan VanderMeulen 52692e2ba0 Backed out changeset 2f69dc403886 (bug 1716714) for causing bug 1717007. 2021-06-17 10:56:58 -04:00
Ava Katushka ava8katushka 267b8ebae8 Bug 1710941 - Show UnknownContentType dialog only if user set alwaysAsk to true. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117295
2021-06-17 14:44:12 +00:00
Thomas Wisniewski afd5465704 Bug 1713685 - Update the Google Publisher Tags SmartBlock shim; r=denschub,webcompat-reviewers
- expand the API surface that is stubbed out more completely to account for sites relying on deprecated or more obscure functionality.
- have the shim perform basic content placement as some sites expect GPT to do.

Differential Revision: https://phabricator.services.mozilla.com/D118098
2021-06-17 14:35:59 +00:00
Mark Banner 6fdf25dc9d Bug 1717025 - Remove unnecessary inclusions of Promise.jsm in test harnesses and tests. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D118180
2021-06-17 14:31:57 +00:00
Jon Coppeard 3723bb6f3a Bug 1716529 - Don't create allocation sites until baseline r=jandem
This stops creating allocation sites for IC stubs when running in the baseline
interpreter. When a script is compiled in baseline proper this scans the IC
chain for ops that could potentially reference allocation sites, and allocates
them where necessary.

This should result in fewer sites being created and less overhead for code that
doesn't reach baseline.

Differential Revision: https://phabricator.services.mozilla.com/D117920
2021-06-17 14:26:35 +00:00
Csoregi Natalia abf92e58d1 Backed out changeset 74fd8bb17de0 (bug 1714688) for causing Bug 1716860. CLOSED TREE 2021-06-17 17:17:28 +03:00
Kershaw Chang d8811704f9 Bug 1714506 - Force a transaction to wait for HTTPS RR, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D117234
2021-06-17 14:17:48 +00:00
Ted Campbell 839b596a5e Bug 1716901 - Use GetBuiltinConstructor instead of bare self-hosting constructors. r=jandem
Instead of defining (slimmed-down) constructors on the instrinsics holder,
simply use the JSOp::BuiltinObject mechanism (which uses ProtoKey slots on the
GlobalObject). This reduces the initialization requirements on the self-hosted
global which simplifies removing it later. Using `BuiltinObject` instead of
`GetIntrinsic` loses BaselineInterpreter support but the cases here are
uncommon.

Differential Revision: https://phabricator.services.mozilla.com/D118106
2021-06-17 13:39:12 +00:00
Ted Campbell 04092bfab2 Bug 1716901 - Add GetBuiltinSymbol for self-hosting. r=jandem
Instead of relying on builtin bindings for well-known symbols, use the
BytecodeEmitter to map `GetBuiltinSymbol` to `JSOp::Symbol`. The old code relies
on `GetIntrinsic` to clone by matching well-known symbol code, while the new
system directly uses `JSOp::Symbol` with the appropriate symbol-code.

Differential Revision: https://phabricator.services.mozilla.com/D118105
2021-06-17 13:39:12 +00:00
Ted Campbell 11d48bc1e3 Bug 1716901 - Add WellKnownAtoms for well-known Symbols. r=arai
Support the list of well-known Symbols as ParserAtoms that can be matched in the
Parser/BytecodeEmitter.

Differential Revision: https://phabricator.services.mozilla.com/D118104
2021-06-17 13:39:12 +00:00
Mitchell Hentges 722ac646db Bug 1713857: Don't set PYTHONEXECUTABLE environment variable r=glandium
After some testing in `try` and locally, the manual
`PYTHONEXECUTABLE` definitions shouldn't be needed
anymore.

There's been some work on Brew's
Python to improve its `sitecustomize` behaviour.
The most likely improvement is:
https://github.com/Homebrew/homebrew-core/pull/65297

However, I'm not fully confident in this change.
If it fails, it's more likely to affect developers
than CI. I think it's worth attempting a landing,
because if the variable is indeed obsolete, then
deleting it will avoid some spicy "action-at-a-
distance" behaviour.

Differential Revision: https://phabricator.services.mozilla.com/D117452
2021-06-17 13:28:29 +00:00
Gregory Mierzwinski 6ab48776f3 Bug 1716598 - Use Unix line endings when generating perfdocs. r=perftest-reviewers,Bebe
This patch forces perfdocs to produce unix line endings rather than os-specific line endings. This fixes an issue where generating the docs on windows causes all the docs to change because of the line endings.

Differential Revision: https://phabricator.services.mozilla.com/D117919
2021-06-17 13:26:37 +00:00
Jeff Muizelaar fc208a231c Bug 1712367. Avoid TexSubImage ES slow path. r=jgilbert,sotaro
Instead of drawing updates into the correct spot in the destination
DataSourceSurface we just use it as scratch space and always
draw in the top-left with stride = bpp*width.

We add a dstOffset to the upload functions to support using
a subsurface.

Differential Revision: https://phabricator.services.mozilla.com/D116501
2021-06-17 13:24:05 +00:00
Robert Mader 437336e8de Bug 1708416 - Implement n-buffering for the Wayland software backend, r=stransky
In order to fully comply with the spec and work on all compositors.
This is heavily inspired by `NativeLayerCA`:
 - Buffer are managed within a pool, similar to `SurfacePool`. This
   makes sure there's always a buffer available, even if the compositor
   holds buffers for longer than usually expected. One difference is
   that buffers are not shared between windows though, reducing
   complexity.
 - Partial damage is handled by blitting from the previous buffer,
   likely currently held by the Wayland compositor. While the spec is
   not completely clear whether this is legal, it strongly suggests it
   is - and other Wayland developers suggested it should be.
   This is almost identical to `NativeLayerCA::HandlePartialUpdate`,
   with a small optimization for the common case of double buffering,
   in witch case use a "damage history", inspired by the EGL partial
   damage support. As single or double buffering are by far the most
   common cases for shm-buffers, we limit this to double buffering to
   avoid complexity.

Changes compared to the existing `WindowSurfaceWayland` include:
 - reduced complexity:
   - less code
   - no extra frame callbacks, avoiding extra steps like D117911
 - no compositor specific modes - this solution should always produce
   fully correct output with minimal overhead.

Note: a previous version of this patch only worked for SW-WR but not
Basic and thus did not replace `WindowSurfaceWayland`. Now this patch
supports both, making it possible to fully replace `WindowSurfaceWayland`

Differential Revision: https://phabricator.services.mozilla.com/D118025
2021-06-17 13:19:14 +00:00
Jamie Nicol c1772d2a60 Bug 1716971 - Enable webrender on Android on NVIDIA Tegra GPUs. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D118156
2021-06-17 13:07:50 +00:00
Gabriele Svelto c5849e7c01 Bug 1713905 - Stop listening to crashes in tests right after the first has been received r=nika
Differential Revision: https://phabricator.services.mozilla.com/D117992
2021-06-17 12:56:02 +00:00
Alexis Beingessner 1443448680 Bug 1716619 - update dump_syms to get symbolic fix. r=calixte
Differential Revision: https://phabricator.services.mozilla.com/D118166
2021-06-17 12:49:52 +00:00
Nicolas Silva 7dc5b1ba84 Bug 1716579 - Minimize memory usage of windows that haven't been rendered for a long time. r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D117918
2021-06-17 12:42:02 +00:00