Commit graph

783810 commits

Author SHA1 Message Date
Michael Comella
88203f8ad7 Bug 1752381 - only parse stdout in substitute-local-geckoview. r=nalexander
Root cause: in the current tree, mach commands in mozilla-central output a
warning to stderr. The substitute-local-geckoview script was calling a mach
command and combining the stdout and stderr streams of the process, parsing
it as JSON. This warning is not JSON so the script crashed.

The crashing code was copied from settings.gradle:
  https://searchfox.org/mozilla-central/rev/b70bc09685763c44a8e56e4e04cb741fa020701a/settings.gradle#26

The code in settings.gradle does an intuitive thing - capture stderr separately
but only print it on subprocess non-zero exit value - so we also copy that
solution. I'm not sure what an appropriate place to store code shared between
these two files would be so I didn't try to deduplicate it.

Differential Revision: https://phabricator.services.mozilla.com/D137591
2022-02-02 18:00:46 +00:00
Valentin Gosu
3ead68f530 Bug 1753248 - Disable strict-trr-fallback until we fix the timeout issues r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D137664
2022-02-02 17:38:13 +00:00
Jon Coppeard
fbad14b1c7 Bug 1751959 - Part 2: Remove the auxillary mark stack and use a single stack for both black and gray marking r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D136915
2022-02-02 17:29:05 +00:00
Jon Coppeard
bdcdcd67bf Bug 1751959 - Part 1: Make weak map marking do gray marking after black r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D137053
2022-02-02 17:29:04 +00:00
Jamie Nicol
85737329f2 Bug 1719327 - Block webrender on Vivante GC7000UL devices. r=gfx-reviewers,jrmuizel
Webrender crashes during draw calls on this GPU. Move users to
software webrender instead.

Differential Revision: https://phabricator.services.mozilla.com/D137666
2022-02-02 17:21:08 +00:00
Sylvestre Ledru
14e205a735 Bug 1753127 - NSPR doc: fix the typos, warnings and nbsp; r=kaie
Depends on D137612

Differential Revision: https://phabricator.services.mozilla.com/D137650
2022-02-02 17:19:51 +00:00
Sylvestre Ledru
16b9c75459 Bug 1753127 - NSPR doc: move the doc into docs/nspr UPGRADE_NSS_RELEASE r=kaie,bbeurdouche
Depends on D137611

Differential Revision: https://phabricator.services.mozilla.com/D137612
2022-02-02 17:19:51 +00:00
Sylvestre Ledru
a4e5da4d89 Bug 1753127 - NSPR doc: Add some missing content back UPGRADE_NSS_RELEASE r=kaie,bbeurdouche
Depends on D137607

Differential Revision: https://phabricator.services.mozilla.com/D137611
2022-02-02 17:19:50 +00:00
Sylvestre Ledru
b30245fd89 Bug 1753127 - NSPR doc: fix some links in the various part of the doc UPGRADE_NSS_RELEASE r=bbeurdouche
Depends on D137590

Differential Revision: https://phabricator.services.mozilla.com/D137607
2022-02-02 17:19:50 +00:00
Sylvestre Ledru
2d8ab6f7be Bug 1753127 - NSPR doc: fix many different issues UPGRADE_NSS_RELEASE r=bbeurdouche
Depends on D137589

Differential Revision: https://phabricator.services.mozilla.com/D137590
2022-02-02 17:19:49 +00:00
Sylvestre Ledru
ecac0317d5 Bug 1753127 - NSPR doc: Remove some old docs UPGRADE_NSS_RELEASE r=bbeurdouche
Depends on D137588

Differential Revision: https://phabricator.services.mozilla.com/D137589
2022-02-02 17:19:49 +00:00
Sylvestre Ledru
1666595fdb Bug 1753127 - NSPR doc: initial import UPGRADE_NSS_RELEASE r=bbeurdouche
Differential Revision: https://phabricator.services.mozilla.com/D137588
2022-02-02 17:07:53 +00:00
Jamie Nicol
d3e80e9854 Bug 1750234 - Handle GPU process crash when rendering video and webgl on Android. r=jgilbert,jolin
Make the SurfaceAllocator save a reference to all Surfaces it has
allocated. When the connection to the remote allocator dies, mark all
of those surfaces as released. Ensure subsequent attempts to allocate
new Surfaces will connect to the new compositor process (either GPU or
parent).

For webgl, when we detect we are using a Surface that has been
released, clear the pool of Surfaces used for the swapchain so that
we automatically reallocate new ones.

For video, if we encounter an error in RemoteVideoDecoder and can see
that Surface has been released, then report a
NS_ERROR_DOM_MEDIA_NEED_NEW_DECODER in place of the potentially fatal
error code we get from the java decoder. This will ensure a new
decoder is created, which will in turn allocate a new Surface to
decode in to.

On the Android emulator (so potentially real devices too) the java
decoder doesn't actually report any errors in response to the Surface
being released. Therefore we also check for the Surface being released
in ProcessOutput(), and manually raise the NEED_NEW_ENCODER error from
there if so.

Differential Revision: https://phabricator.services.mozilla.com/D133108
2022-02-02 17:01:02 +00:00
Andrew Osmond
9c1604b27c Bug 1746750 - Part 4. Update test annotations for OffscreenCanvasRenderingContext2D. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D137214
2022-02-02 16:41:27 +00:00
Andrew Osmond
48f822060f Bug 1746750 - Part 3. Implement partial OffscreenCanvasRenderingContext2D. r=lsalzman,webidl,smaug
This patch adds a partial OffscreenCanvasRenderingContext2D
implementation. It is missing anything text and UI related, including
CanvasFilters, CanvasUserInterface, CanvasText, CanvasTextDrawingStyles,
and CanvasHitRegions.

Differential Revision: https://phabricator.services.mozilla.com/D135354
2022-02-02 16:41:26 +00:00
Andrew Osmond
94c44e84c9 Bug 1746750 - Part 2. Add new WebIDL method variants to support OffscreenCanvasRenderingContext2D. r=lsalzman
This patch is a non-functional change. It overloads some WebIDL methods
of CanvasRenderingContext2D to account for the difference between the
main thread and worker prototypes.

Differential Revision: https://phabricator.services.mozilla.com/D135353
2022-02-02 16:41:26 +00:00
Andrew Osmond
1e00358fd7 Bug 1746750 - Part 1. Refactoring to support OffscreenCanvasRenderingContext2D. r=lsalzman
This patch is a non-functional change which allows the shutdown observer
to be overridden (since workers have a different mechanism). It also
fixes a static counter to be atomic, and adds mOffscreenCanvas to the
cycle collection tracking.

Differential Revision: https://phabricator.services.mozilla.com/D135352
2022-02-02 16:41:26 +00:00
Tom Ritter
597513d1a2 Bug 1751494 - Add test for win32k lockdown r=bobowen
I generated the tests using a script, which I'm checking in
so it's not lost.

Differential Revision: https://phabricator.services.mozilla.com/D137326
2022-02-02 16:33:11 +00:00
Tom Ritter
031bff7b2d Bug 1751494 - Add the win32k experiment enrollment prefs and infrastructure r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D136803
2022-02-02 16:33:11 +00:00
Tom Ritter
d59df896db Bug 1751494 - Move win32k logic from sandbox to apprunner r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D137324
2022-02-02 16:33:11 +00:00
Tom Ritter
6013bc9b5a Bug 1751494 - Add additional checks/returns to GetContentWin32kLockdownState r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D136802
2022-02-02 16:33:10 +00:00
Tom Ritter
77751c55be Bug 1751494 - Add new enum values to ContentWin32kLockdownState r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D136801
2022-02-02 16:33:10 +00:00
Matthew Gaudet
6c5217bb7c Bug 1750634 - Add WPT Test for Stream Object globals r=smaug,saschanaz
This test is based on the general structure of
js/src/tests/non262/ReadableStream/readable-stream-globals.js, however the
expectations have been commented and updated to match what we believe is
the correct WebIDL behaviour.

Not all the features of that test case have been ported over, as there's
some stuff around the handling of Symbol.species that we can test elsewhere,
and it attempts to test BYOB streams, which we have yet to implement.

Note: I tried to initially write this as an xpcshell test case using
Cu.sandbox; but I found that I wasn't geting global behaviour that matched
my expectations from testing on the web.

Differential Revision: https://phabricator.services.mozilla.com/D137492
2022-02-02 16:28:34 +00:00
Matthew Gaudet
53dc60f71c Bug 1750284 - Rename stream feature exposure prefs r=webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D137494
2022-02-02 16:28:34 +00:00
Markus Stange
648b57016d Bug 1753107 - Enable framepointers on all channels for macOS arm64 builds. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D137574
2022-02-02 15:52:31 +00:00
Hubert Boma Manilla
586dd7d714 Bug 1751677 - [devtools] Refactor duplicate functions tests to assert pausing r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D137179
2022-02-02 15:33:19 +00:00
Andrew Halberstadt
80e4bcc173 Bug 1753047 - Update vendored taskgraph to 1.1.4, r=releng-reviewers,jcristau
Differential Revision: https://phabricator.services.mozilla.com/D137572
2022-02-02 14:59:00 +00:00
Andrew Halberstadt
233e7b6d3e Bug 1753047 - [taskgraph] Use hardcoded values for default 'base_repository' and 'head_repository' parameters, r=releng-reviewers,jmaher,aki
Differential Revision: https://phabricator.services.mozilla.com/D137571
2022-02-02 14:59:00 +00:00
Cristian Tuns
07cb601a36 Backed out changeset db30af103b55 (bug 1751196) for causing Btime failures CLOSED TREE 2022-02-02 11:12:07 -05:00
Cristian Tuns
aa70ef628f Backed out changeset a384c409bd44 (bug 1752996) for causing build bustages on Unified_cpp_uriloader_exthandler CLOSED TREE 2022-02-02 10:10:18 -05:00
Lars T Hansen
0e05bd1298 Bug 1752870 - Filter code ranges before searching. r=rhunt
When searching a lazy stub segment for the code range that holds a
particular PC value, we can quickly exclude segments that are
guaranteed not to match by comparing the PC to the values at the
segment's endpoints - the code ranges in a segment are sorted, and
this filtering will cause the search to skip most segments.  This very
significantly reduces the time spent in the search.

Differential Revision: https://phabricator.services.mozilla.com/D137518
2022-02-02 14:56:59 +00:00
Lars T Hansen
7e909fb3ff Bug 1752870 - Multiple-reader/single-writer ExclusiveData variant. r=jonco
The indirect stubs code needs to take a lock on the lazy stub tier
when mapping back from code pointer to function index during a
Table::get on a table of funcref.  This code is amazingly hot in one
large wasm application and is almost unusable because of lock
contention caused by this lookup.

However, the tier tables are mostly stable at this point and parallel
lookups are fine, so we need to allow for multiple readers.  The
easiest way to do this is by using a multi-reader/single-writer
ExclusiveData variant, introduced here.

Differential Revision: https://phabricator.services.mozilla.com/D137516
2022-02-02 14:56:58 +00:00
Emilio Cobos Álvarez
acc20a552e Bug 1753067 - Make ClipboardData / ClipboardTargets members private. r=stransky
As per https://phabricator.services.mozilla.com/D137549#inline-756817,
though honestly not sure if worth it.

Differential Revision: https://phabricator.services.mozilla.com/D137651
2022-02-02 14:55:13 +00:00
Emilio Cobos Álvarez
c6da6d392f Bug 1753067 - Make Wayland and X11 clipboard implementations a bit more similar. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D137619
2022-02-02 14:55:13 +00:00
Emilio Cobos Álvarez
63348aa663 Bug 1753067 - Fix some leaks in GDK atom handling. r=stransky
Some of them are logging, some of them are not.

Differential Revision: https://phabricator.services.mozilla.com/D137550
2022-02-02 14:55:12 +00:00
Emilio Cobos Álvarez
85f8575823 Bug 1753067 - Cleanup handling of clipboard data lifetime. r=stransky
This is a bit harder to mess up, and a bit simpler to read too.

Differential Revision: https://phabricator.services.mozilla.com/D137549
2022-02-02 14:55:12 +00:00
Chris H-C
e9c325b945 Bug 1752201 - Remove 'early adopter' language from FOG docs r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D137064
2022-02-02 14:48:27 +00:00
Benjamin VanderSloot
c0e2c43ad3 Bug 1750012 - Make tests in dom/locks/test/ dFPI compatible, r=timhuang
Fix to landed patch D136606. The original patch did not fix the test in the dFPI case as `SimpleTest.xOrigin` was always false-y.
This also meant it broke nothing, but the patch was a no-op. Changing this conditional causes the expected functionality of D136606 to work.

Differential Revision: https://phabricator.services.mozilla.com/D137466
2022-02-02 14:47:42 +00:00
Kagami Sascha Rosylight
f95dc9a731 Bug 1753109 - Disable new tests if not domstreams r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D137652
2022-02-02 14:39:53 +00:00
Gijs Kruitbosch
461a5730d6 Bug 1752996, r=mhowell,dveditz
Differential Revision: https://phabricator.services.mozilla.com/D137523
2022-02-02 14:29:04 +00:00
Paul Adenot
65f26b989a Bug 1753069 - Don't use fopen on Windows in WavDumper.h. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D137547
2022-02-02 14:07:09 +00:00
Julian Descottes
7e953e97a3 Bug 1753003 - Remove non-local connections from telemetry-tests-client r=chutten,whimboo,webdriver-reviewers
Disable telemetry pings from Activity Stream and skip tests relying on search engine pages

Differential Revision: https://phabricator.services.mozilla.com/D137614
2022-02-02 13:46:31 +00:00
Bob Owen
48e1837edd Bug 1751367: Delay loading winmm.dll, so it loads after COM initialization. r=cmartin,media-playback-reviewers,alwu
This is to prevent user32.dll from loading before COM initialization on earlier
version of windows.

Differential Revision: https://phabricator.services.mozilla.com/D136936
2022-02-02 13:43:51 +00:00
Bob Owen
961ed234d4 Bug 1151941: Use an alternate winstation for the content process sandbox. r=cmartin
Differential Revision: https://phabricator.services.mozilla.com/D136935
2022-02-02 13:43:51 +00:00
criss
e01ea0834c Backed out 6 changesets (bug 1753067) for causing multiple failures. CLOSED TREE
Backed out changeset ea6f7e57b5a1 (bug 1753067)
Backed out changeset 6458601b04d5 (bug 1753067)
Backed out changeset d98c8d344eb4 (bug 1753067)
Backed out changeset a949392fdc43 (bug 1753067)
Backed out changeset 5cdcd60f751f (bug 1753067)
Backed out changeset c4c5b405438a (bug 1753067)
2022-02-02 16:26:24 +02:00
Jonathan Kew
361b923505 Bug 1752881 - Include our preferred emoji fonts in Common Fallbacks on Windows, so that they'll take precedence over random user-installed emoji fonts when no explicit font request applies. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D137510
2022-02-02 13:40:58 +00:00
Yury Delendik
47ee064f19 Bug 1752231 - Refactor binarySimd128 to allow VEX encoding. r=jseward
Changes:
 * Extends masm's operations with SimdConstants as an args, to be non-destructive
 * Refactor BaseAssembler rrip encoding helpers
 * Remove unused ripr helpers -- not going to store anything if the code
 * Add moveSimd128XXXIfNotAVX helpers

Differential Revision: https://phabricator.services.mozilla.com/D137080
2022-02-02 13:39:51 +00:00
Emilio Cobos Álvarez
61333f12cc Bug 1753067 - And a similar trivial fix for nsClipboardWayland to avoid sign getting lost before checking for <= 0.
MANUAL PUSH: Similar fix to the last orange fix.
2022-02-02 14:40:39 +01:00
Emilio Cobos Álvarez
34d6731a67 Bug 1753067 - Restore clipboard data len check in nsClipboardX11.
MANUAL PUSH: Orange fix.
2022-02-02 14:26:47 +01:00
Peter Van der Beken
f1ed7fa59e Bug 1750174 - Auto-refreshing pages reposition themselves to the top upon refresh. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D137383
2022-02-02 13:22:30 +00:00