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

7504 Коммитов

Автор SHA1 Сообщение Дата
David Parks 6a2f1c0b29 Bug 1704500: Add logging to UtilityProcessHost/Manager r=gerard-majax
Adds a "utilityproc" log to trace utility process launch and shutdown steps.

Differential Revision: https://phabricator.services.mozilla.com/D155017
2023-01-25 02:48:55 +00:00
Sandor Molnar b6d0a71936 Backed out 2 changesets (bug 1812035, bug 1806501) for causing bc failures in ipc/glue/test/browser/browser_utility_audioDecodeCrash.js CLOSED TREE
Backed out changeset d7f1a776a986 (bug 1806501)
Backed out changeset 4a44daa59af4 (bug 1812035)
2023-01-24 18:31:34 +02:00
Andreas Farre c71e5fdf12 Bug 1812035 - Fix broken about:memory tests. r=smaug
Tests for about:memory doesn't know about utility processes. Make sure
to hide the utility process reporter when needed, and count the number
of living processes, also when needed.

Differential Revision: https://phabricator.services.mozilla.com/D167662
2023-01-24 15:37:49 +00:00
Jens Stutte c115ea4556 Bug 1811195 - Bail out on AppShutdownConfirmed in SharedWorkerManager::MaybeCreateRemoteWorker and BackgroundParentImpl::AllocPRemoteWorkerControllerParent r=dom-worker-reviewers,smaug
Differential Revision: https://phabricator.services.mozilla.com/D167565
2023-01-24 11:22:53 +00:00
Chris Martin 15c5b22789 Bug 1799470 - Retighten GPU Process File Access r=nika,handyman
Differential Revision: https://phabricator.services.mozilla.com/D165419
2023-01-23 23:05:03 +00:00
Greg Stoll 62e5d740ae Bug 1804023 - Part 2: add ability to blocklist DLLs in just the GPU process r=gsvelto
As with the socket process, we can't automated test that the block works in the GPU process, but I manually verified this. I did add an automated test that ensures blocking something in the GPU process doesn't block it in other processes.

Differential Revision: https://phabricator.services.mozilla.com/D167399
2023-01-20 19:21:39 +00:00
Cosmin Sabou af47c3669b Backed out 3 changesets (bug 1804023) for causing DllBlocklistInit.cpp related bustages. CLOSED TREE
Backed out changeset 8ac7bb069839 (bug 1804023)
Backed out changeset 9d2766a3d506 (bug 1804023)
Backed out changeset b5b4be5f7502 (bug 1804023)
2023-01-20 20:44:28 +02:00
Greg Stoll 8cb4d0d627 Bug 1804023 - Part 2: add ability to blocklist DLLs in just the GPU process r=gsvelto
As with the socket process, we can't automated test that the block works in the GPU process, but I manually verified this. I did add an automated test that ensures blocking something in the GPU process doesn't block it in other processes.

Differential Revision: https://phabricator.services.mozilla.com/D167399
2023-01-20 18:00:45 +00:00
Eden Chuang 22c302924c Bug 1351231 - PFetch protocol declaration and implementation. r=dom-worker-reviewers,jesup
Depends on D138813

Differential Revision: https://phabricator.services.mozilla.com/D142436
2023-01-20 09:09:17 +00:00
Noemi Erli 2a016fbd8d Backed out 5 changesets (bug 1351231) for causing multiple wpt failures CLOSED TREE
Backed out changeset 257553919696 (bug 1351231)
Backed out changeset 4fd92351d64b (bug 1351231)
Backed out changeset 7a4e3f5f674a (bug 1351231)
Backed out changeset 9da00c1364a5 (bug 1351231)
Backed out changeset 19b78046ffef (bug 1351231)
2023-01-18 18:16:01 +02:00
Nicolas Silva 31b3a3d483 Bug 1800430 - Avoid ambiguous namespace error in RawShmem.h. r=nika
Depending on the ordering includes and the direction of the wind, ipc:: can cause mozilla::ipc:: vs mozilla::dom::ipc:: ambiguity errors.

Differential Revision: https://phabricator.services.mozilla.com/D166422
2023-01-18 14:42:17 +00:00
Olli Pettay 19068eab11 Bug 1810975 - remove unused MarkVsyncReceived()/MarkVsyncRan(), r=farre
Differential Revision: https://phabricator.services.mozilla.com/D167143
2023-01-18 14:32:59 +00:00
Yulia Startsev 1c5ad3e91d Bug 1247687 - Implement csp for Module Workers; r=evilpie,asuth,rpl,ckerschb
Depends on D155691

Differential Revision: https://phabricator.services.mozilla.com/D156102
2023-01-18 13:46:33 +00:00
Eden Chuang 594d02ea78 Bug 1351231 - PFetch protocol declaration and implementation. r=dom-worker-reviewers,jesup
Depends on D138813

Differential Revision: https://phabricator.services.mozilla.com/D142436
2023-01-18 00:50:19 +00:00
Marian-Vasile Laza 1037940f5b Backed out 5 changesets (bug 1351231) for causing multiple wpt failures. CLOSED TREE
Backed out changeset a41252141399 (bug 1351231)
Backed out changeset 6cbb442f4772 (bug 1351231)
Backed out changeset dbdca4661a35 (bug 1351231)
Backed out changeset ea27cd66fefd (bug 1351231)
Backed out changeset 8c21c9468949 (bug 1351231)
2023-01-17 19:53:09 +02:00
Eden Chuang cb31c5dd40 Bug 1351231 - PFetch protocol declaration and implementation. r=dom-worker-reviewers,jesup
Depends on D138813

Differential Revision: https://phabricator.services.mozilla.com/D142436
2023-01-17 15:13:45 +00:00
Nika Layzell 852d02ec16 Bug 1809753 - Part 3: Replace all callers of GetCurrentEventTarget with GetCurrentSerialEventTarget, r=mccr8,necko-reviewers,valentin
This only changes the behaviour when called with a TaskQueue or other type
using SerialEventTargetGuard on the stack. They are being switched over as the
existing GetCurrentEventTarget method is being removed, as it is somewhat
confusing, and poorly documented.

Callers which need to get the current thread even when on a threadpool or
behind a TaskQueue were switched to GetCurrentEventTarget in the previous part.

Differential Revision: https://phabricator.services.mozilla.com/D166607
2023-01-16 23:14:11 +00:00
Nika Layzell 59be033e1c Bug 1809753 - Part 1: Remove quantum-dom nsIThread::EventTarget methods, r=mccr8
We aren't likely to try to make these changes any time soon, so cleaning out
these unnecessary methods which just return `this` will simplify things.

I was unable to find any calls to the `.eventTarget` getter in JS, which makes
sense, as the nsIThread type is only really used in JS as a wrapper around the
main thread in older code. Because of that, it has been removed as well.

Differential Revision: https://phabricator.services.mozilla.com/D166605
2023-01-16 23:14:10 +00:00
Sandor Molnar 41b78439d0 Backed out 6 changesets (bug 1809752, bug 1809753) for causing perma failures in browser/components/firefoxview/tests/browser/browser_feature_callout_position.js
Backed out changeset ea05784d74c4 (bug 1809753)
Backed out changeset 7c9b20eebcc8 (bug 1809753)
Backed out changeset d0267ac2256d (bug 1809753)
Backed out changeset aa9f2971bd6f (bug 1809753)
Backed out changeset f0d9fcfaa6f8 (bug 1809752)
Backed out changeset 6d58c799cffe (bug 1809752)
2023-01-17 03:19:24 +02:00
Nika Layzell 8d118308de Bug 1809753 - Part 3: Replace all callers of GetCurrentEventTarget with GetCurrentSerialEventTarget, r=mccr8,necko-reviewers,valentin
This only changes the behaviour when called with a TaskQueue or other type
using SerialEventTargetGuard on the stack. They are being switched over as the
existing GetCurrentEventTarget method is being removed, as it is somewhat
confusing, and poorly documented.

Callers which need to get the current thread even when on a threadpool or
behind a TaskQueue were switched to GetCurrentEventTarget in the previous part.

Differential Revision: https://phabricator.services.mozilla.com/D166607
2023-01-16 23:14:11 +00:00
Nika Layzell f410f28a30 Bug 1809753 - Part 1: Remove quantum-dom nsIThread::EventTarget methods, r=mccr8
We aren't likely to try to make these changes any time soon, so cleaning out
these unnecessary methods which just return `this` will simplify things.

I was unable to find any calls to the `.eventTarget` getter in JS, which makes
sense, as the nsIThread type is only really used in JS as a wrapper around the
main thread in older code. Because of that, it has been removed as well.

Differential Revision: https://phabricator.services.mozilla.com/D166605
2023-01-16 23:14:10 +00:00
Andreas Pehrson b1fec64a52 Bug 1790160 - In MessagePumpForUI for Windows, effectively apply upstream's commit 6b9a2fa. r=ipc-reviewers,nika
As a follow-up to the prior patch, this patch effectively applies upstream's
6b9a2faf89

Differential Revision: https://phabricator.services.mozilla.com/D166521
2023-01-16 15:45:38 +00:00
Andreas Pehrson 2c5dd6ebe9 Bug 1790160 - In MessagePumpForUI for Windows, effectively apply upstream's commit b26918c. r=mossop,ipc-reviewers,gfx-reviewers,nika,nical
As MessagePumpForUI is an old fork from Chromium, this patch effectively applies
the Chromium patch
b26918c5ab

For those threads where we use MessagePumpForUI we already have a way of
stopping the thread and thereby quitting the message loop. At the same time some
applications may send us unexpected WM_QUIT messages on those threads. Generally
the code using the thread is not able to handle this gracefully and we end up
crashing.

In particular there is a correlation between these crashes and certain antivirus
applications.

Differential Revision: https://phabricator.services.mozilla.com/D166432
2023-01-16 15:45:38 +00:00
sunil mayya 7c6663c9c1 Bug 1805196 - implement initial webtransport connection and close. r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D165312
2023-01-12 18:47:14 +00:00
Butkovits Atila 7855df7caf Backed out 5 changesets (bug 1351231) for causing fetch related failures. CLOSED TREE
Backed out changeset da5c4a821428 (bug 1351231)
Backed out changeset 66b279e5a513 (bug 1351231)
Backed out changeset 3eb8fdd0ba6d (bug 1351231)
Backed out changeset a1fcf22a2a0e (bug 1351231)
Backed out changeset fd2a843599d1 (bug 1351231)
2023-01-12 20:20:14 +02:00
Eden Chuang 8c605f20ce Bug 1351231 - PFetch protocol declaration and implementation. r=dom-worker-reviewers,jesup
Depends on D138813

Differential Revision: https://phabricator.services.mozilla.com/D142436
2023-01-12 17:24:28 +00:00
Stanca Serban 0d5b1d231b Backed out 5 changesets (bug 1351231) for Fetch related failures. CLOSED TREE
Backed out changeset cc26eeeaf3dd (bug 1351231)
Backed out changeset c0cb3c17f246 (bug 1351231)
Backed out changeset 84162d09eef8 (bug 1351231)
Backed out changeset 5c3b5a384f2f (bug 1351231)
Backed out changeset d8fa8a006948 (bug 1351231)
2023-01-12 18:56:25 +02:00
Eden Chuang 1c112bdf49 Bug 1351231 - PFetch protocol declaration and implementation. r=dom-worker-reviewers,jesup
Depends on D138813

Differential Revision: https://phabricator.services.mozilla.com/D142436
2023-01-12 15:09:45 +00:00
Cosmin Sabou ba62d86544 Backed out changeset a897bd615bb3 (bug 1805196) for causing webtransport related xpcshell failures. CLOSED TREE 2023-01-12 00:35:39 +02:00
sunil mayya bd83c7fcd8 Bug 1805196 - implement initial webtransport connection and close. r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D165312
2023-01-11 21:13:16 +00:00
Butkovits Atila 89b957b70b Backed out changeset 14ce0e459a46 (bug 1805196) for causing build bustages at WebTransportParent. CLOSED TREE 2023-01-10 13:17:42 +02:00
sunil mayya c01f5b855f Bug 1805196 - implement initial webtransport connection and close. r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D165312
2023-01-10 10:11:21 +00:00
Bobby Holley 5ebdbedf21 Bug 1806495 - Hoist the MIDI service onto a dedicated background task queue. r=nika,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D165441
2023-01-09 17:07:35 +00:00
Bobby Holley 86d41b87a0 Bug 1806495 - Make PMIDIPort a top-level protocol. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D165439
2023-01-09 17:07:34 +00:00
Bobby Holley aaaf9a1c47 Bug 1806495 - Make PMIDIManager a top-level protocol. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D165438
2023-01-09 17:07:33 +00:00
Bobby Holley d506fc3130 Bug 1806495 - Make PMIDIPort refcounted. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D165437
2023-01-09 17:07:33 +00:00
Bobby Holley 0274439955 Bug 1806495 - Make PMIDIManager refcounted. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D165435
2023-01-09 17:07:32 +00:00
Sean Feng 18ee907a90 Bug 1532644 - Implement the initial version of the Javascript Validator for ORB r=farre,smaug
For things that can be parsed as Javascript, we need to figure out
if they are JSON, and we want to block opaque JSON resources for ORB.

This initial version just checks the first byte of the response, and
blocks it if it's a curly bracket.

Differential Revision: https://phabricator.services.mozilla.com/D163283
2023-01-09 15:27:18 +00:00
Emilio Cobos Álvarez 50711799bd Bug 1805939 - Remove unused UngrabPointer IPC. r=ipc-reviewers,nika
It was added in:

  https://hg.mozilla.org/mozilla-central/rev/3111b73e96d8bd2fb34ad7a3c9731a2fd1ee3166

For plugins, but those are now dead and so is this message.

Differential Revision: https://phabricator.services.mozilla.com/D166089
2023-01-05 17:54:08 +00:00
Ryan VanderMeulen 9274f4e6f3 Backed out changeset 8b644e916589 (bug 1752703) for causing Android startup crashes (bug 1807716) 2023-01-04 09:34:28 -05:00
Sylvestre Ledru 7b6a1139ad Bug 1807901 - Fix typos in some documentation directories r=linter-reviewers,andi DONTBUILD
Fix some typos in new directories

Differential Revision: https://phabricator.services.mozilla.com/D165660
2023-01-02 16:07:49 +00:00
Greg Stoll 2b461b0360 Bug 1744362 - Part 7: support code for about:third-party r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D164489
2022-12-30 20:10:04 +00:00
Greg Stoll ae13a56ab0 Bug 1744362 - Part 6: use dynamic blocklist file to block third-party DLLs r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D164488
2022-12-30 20:10:04 +00:00
Sandor Molnar 0835a2e28c Backed out 4 changesets (bug 1532644) for causing wpt failures in /fetch/api/abort/general.any.serviceworker.html CLOSED TREE
Backed out changeset e18eed2287d2 (bug 1532644)
Backed out changeset 49c1638654d6 (bug 1532644)
Backed out changeset 2943c62bd7a2 (bug 1532644)
Backed out changeset 0a736f3ff23c (bug 1532644)
2022-12-29 02:36:49 +02:00
Sean Feng 7f77b9aa60 Bug 1532644 - Implement the initial version of the Javascript Validator for ORB r=farre,smaug
For things that can be parsed as Javascript, we need to figure out
if they are JSON, and we want to block opaque JSON resources for ORB.

This initial version just checks the first byte of the response, and
blocks it if it's a curly bracket.

Differential Revision: https://phabricator.services.mozilla.com/D163283
2022-12-28 20:12:25 +00:00
Butkovits Atila 5e31c1c2cf Backed out 12 changesets (bug 1744362) for causing build bustages.
Backed out changeset 3f63f21115e2 (bug 1744362)
Backed out changeset 0df403e8f6ba (bug 1744362)
Backed out changeset 34f51e6aee96 (bug 1744362)
Backed out changeset 39ff51df4a45 (bug 1744362)
Backed out changeset da9133df4cd4 (bug 1744362)
Backed out changeset 315c57948afa (bug 1744362)
Backed out changeset a2d8f526e0ff (bug 1744362)
Backed out changeset 401ebbc0159d (bug 1744362)
Backed out changeset 2911fe484cc3 (bug 1744362)
Backed out changeset d1f4b99f352b (bug 1744362)
Backed out changeset 0a3ce8ea039e (bug 1744362)
Backed out changeset ab1292118c00 (bug 1744362)
2022-12-27 22:54:30 +02:00
Greg Stoll 78bf088bb7 Bug 1744362 - Part 7: support code for about:third-party r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D164489
2022-12-27 20:06:41 +00:00
Greg Stoll acc64a126e Bug 1744362 - Part 6: use dynamic blocklist file to block third-party DLLs r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D164488
2022-12-27 20:06:41 +00:00
Stanca Serban 822be63b67 Backed out 11 changesets (bug 1744362) for causing multiple failures and build bustages. CLOSED TREE
Backed out changeset 4b2e3689cea0 (bug 1744362)
Backed out changeset cf1db931c466 (bug 1744362)
Backed out changeset 8c87571dbb3e (bug 1744362)
Backed out changeset 8b50446f91e5 (bug 1744362)
Backed out changeset 848632184f56 (bug 1744362)
Backed out changeset acfdb2bcaa9f (bug 1744362)
Backed out changeset 80b67f7ea109 (bug 1744362)
Backed out changeset c88902b60d1f (bug 1744362)
Backed out changeset 438f74bb5b7c (bug 1744362)
Backed out changeset 704a4150d210 (bug 1744362)
Backed out changeset 1dd7e7c111da (bug 1744362)
2022-12-27 16:25:04 +02:00
Greg Stoll 934ea325f6 Bug 1744362 - Part 7: support code for about:third-party r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D164489
2022-12-27 12:59:09 +00:00
Greg Stoll 8578b985f6 Bug 1744362 - Part 6: use dynamic blocklist file to block third-party DLLs r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D164488
2022-12-27 12:59:09 +00:00
Marco Castelluccio f69e697461 Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D165395
2022-12-23 22:45:46 +00:00
Randell Jesup 198eeb0f45 Bug 1806949: Implement WebTransport slots and Reliability() r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D165373
2022-12-23 02:40:22 +00:00
Randell Jesup 4fc2895ad1 Bug 1806847: Move WebTransport parent-side binding to SocketThread r=nika
Differential Revision: https://phabricator.services.mozilla.com/D165295
2022-12-23 02:40:22 +00:00
Randell Jesup 2f3624de57 Bug 1806694: Support WebTransport constructor options r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D165182
2022-12-23 02:40:22 +00:00
Jed Davis 9032cd09be Bug 1806224 - Increase IPC child hang shutdown timeout for sanitizer builds. r=ipc-reviewers,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D165426
2022-12-23 00:51:00 +00:00
Sandor Molnar 19cbd7a457 Backed out 3 changesets (bug 1806694, bug 1806949, bug 1806847) for causing bp-hybrid bustages in dist/include/mozilla/RefPtr.h CLOSED TREE
Backed out changeset 96c89b8c8618 (bug 1806949)
Backed out changeset bfe4f637a124 (bug 1806847)
Backed out changeset 395880a2f5df (bug 1806694)
2022-12-23 01:35:29 +02:00
Randell Jesup 1b7a91386d Bug 1806949: Implement WebTransport slots and Reliability() r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D165373
2022-12-22 23:04:25 +00:00
Randell Jesup 18dbfe8b7b Bug 1806847: Move WebTransport parent-side binding to SocketThread r=nika
Differential Revision: https://phabricator.services.mozilla.com/D165295
2022-12-22 23:04:24 +00:00
Randell Jesup de982608b4 Bug 1806694: Support WebTransport constructor options r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D165182
2022-12-22 23:04:24 +00:00
Cosmin Sabou b0844a16d6 Backed out changeset 399888cb68ba (bug 1806694) for causing webtransport wpt failures. CLOSED TREE 2022-12-22 20:52:03 +02:00
Randell Jesup 0896d559e1 Bug 1806694: Support WebTransport constructor options r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D165182
2022-12-22 15:51:32 +00:00
Gabriele Svelto 2cb8a79c25 Bug 1752703 - Move the pthread_thread_create() interposer under mozglue and prepare for having a single place where we place interposer functions r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D164470
2022-12-21 10:24:41 +00:00
Norisz Fay 8cf029b070 Backed out 15 changesets (bug 1247687) as requested by dev CLOSED TREE
Backed out changeset 81d052cabf84 (bug 1247687)
Backed out changeset d698041e5174 (bug 1247687)
Backed out changeset 2adf67f910e8 (bug 1247687)
Backed out changeset 0bc871906e97 (bug 1247687)
Backed out changeset 1700d5b79273 (bug 1247687)
Backed out changeset 31888ffde37a (bug 1247687)
Backed out changeset 9153182c650d (bug 1247687)
Backed out changeset 45de9ffeec19 (bug 1247687)
Backed out changeset 59207e959b7c (bug 1247687)
Backed out changeset 49f18430c465 (bug 1247687)
Backed out changeset 0ae1fd421d4f (bug 1247687)
Backed out changeset 7770ec4717fd (bug 1247687)
Backed out changeset 68b476066248 (bug 1247687)
Backed out changeset c94a9dc60dff (bug 1247687)
Backed out changeset 0ab366c6eaaf (bug 1247687)
2022-12-21 10:48:15 +02:00
Marian-Vasile Laza 54d965fe8b Backed out 3 changesets (bug 1532644) for causing wpt failures on credentials.sub.html.
Backed out changeset 380433f77fc0 (bug 1532644)
Backed out changeset e1140838e735 (bug 1532644)
Backed out changeset f58b82a75c29 (bug 1532644)
2022-12-21 04:16:56 +02:00
Sean Feng f3b35814c7 Bug 1532644 - Implement the initial version of the Javascript Validator for ORB r=farre,smaug
For things that can be parsed as Javascript, we need to figure out
if they are JSON, and we want to block opaque JSON resources for ORB.

This initial version just checks the first byte of the response, and
blocks it if it's a curly bracket.

Differential Revision: https://phabricator.services.mozilla.com/D163283
2022-12-20 21:41:08 +00:00
Yulia Startsev dcbacd54c8 Bug 1247687 - Implement csp for Module Workers; r=evilpie,asuth,rpl,ckerschb
Depends on D155691

Differential Revision: https://phabricator.services.mozilla.com/D156102
2022-12-20 20:56:15 +00:00
Nika Layzell fea85dfb01 Bug 1804485 - Part 2: Mark Shmem messages as [LazySend], r=ipc-reviewers,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D164275
2022-12-20 20:23:37 +00:00
Nika Layzell 97ad997db9 Bug 1804485 - Part 1: Add support for [LazySend] ipc messages, r=ipc-reviewers,mccr8
This is intended to be used to mark messages which do nothing on the
receiving side other than setting up state for future IPC messages,
meaning that the send can be delayed until other more important work is
complete, or until a non-LazySend IPC message is sent.

This does not break any message ordering guarantees, as the lazy
messages will be sent in order before any non-lazy messages are sent.

Differential Revision: https://phabricator.services.mozilla.com/D164274
2022-12-20 20:23:37 +00:00
Sandor Molnar 0ad99cb2f6 Backed out 3 changesets (bug 1752703) for causing spider-monkey bustages.
Backed out changeset 6b8d96806ae6 (bug 1752703)
Backed out changeset afbd8f714804 (bug 1752703)
Backed out changeset 1adb41e2eb9b (bug 1752703)
2022-12-20 10:31:04 +02:00
Gabriele Svelto 63bfefbbe7 Bug 1752703 - Move the pthread_thread_create() interposer under mozglue and prepare for having a single place where we place interposer functions r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D164470
2022-12-20 08:07:37 +00:00
Randell Jesup ce30b1ad51 Bug 1790677: Initial WebTransport IPC for creating and closing WebTransport r=webidl,ipc-reviewers,smaug,nika
Differential Revision: https://phabricator.services.mozilla.com/D164124
2022-12-20 04:16:59 +00:00
Csoregi Natalia b3a467b55a Backed out changeset 8ed607207dc2 (bug 1790677) for causing bustage on /WebTransport.cpp. CLOSED TREE 2022-12-19 22:20:55 +02:00
Randell Jesup faeae8bbf8 Bug 1790677: Initial WebTransport IPC for creating and closing WebTransport r=webidl,ipc-reviewers,smaug,nika
Differential Revision: https://phabricator.services.mozilla.com/D164124
2022-12-19 17:57:59 +00:00
Jed Davis fedfb9b5e3 Bug 1805761 - Increase the child process shutdown timeout for Windows ccov. r=ipc-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D164872
2022-12-17 18:21:34 +00:00
Csoregi Natalia 0bb5625eb3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2022-12-17 11:44:38 +02:00
Csoregi Natalia c382c6a7ca Backed out 16 changesets (bug 1247687) for frequent string bundle related crashes with PDF viewer (bug 1806064). a=backout
Backed out changeset 721f612fd09f (bug 1247687)
Backed out changeset c6c5750cf713 (bug 1247687)
Backed out changeset 5d05ab0c7cde (bug 1247687)
Backed out changeset 2429599729cb (bug 1247687)
Backed out changeset 55f13fb4ee3f (bug 1247687)
Backed out changeset 354711cf113a (bug 1247687)
Backed out changeset 40b8abaf1c0b (bug 1247687)
Backed out changeset 0c9650a1ac48 (bug 1247687)
Backed out changeset e7b103c79b1a (bug 1247687)
Backed out changeset 4dbd510fb042 (bug 1247687)
Backed out changeset 9276c7e1ddd9 (bug 1247687)
Backed out changeset 6ee318df6641 (bug 1247687)
Backed out changeset 6c129bd72b61 (bug 1247687)
Backed out changeset 4b0a4fcc6894 (bug 1247687)
Backed out changeset 34680059b9f0 (bug 1247687)
Backed out changeset 85b827971a48 (bug 1247687)
2022-12-17 11:27:32 +02:00
Andrew McCreight 865f6e802e Bug 1805445 - Centralize defining a new priority in the IPDL compiler. r=nika
This patch makes it so that you only need to add a new element to a list
to add a new priority to the IPDL compiler.

Differential Revision: https://phabricator.services.mozilla.com/D164836
2022-12-16 16:02:42 +00:00
Paul Zuehlcke f3881e933a Bug 1800102 - Dispatch cookiebannerdetected and cookiebannerhandled events after nsICookieInjector handled a banner. r=timhuang,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D164378
2022-12-16 08:54:51 +00:00
Jan Varga cb23cc0476 Bug 1791750 - Add a new argument to serialization methods for passing optional callbacks; r=dom-storage-reviewers,ipc-reviewers,nika,jari
This just about adding a new argument to all relevant places.

Differential Revision: https://phabricator.services.mozilla.com/D164340
2022-12-16 06:38:12 +00:00
Jan Varga 323253d8d7 Bug 1791750 - Add support for using QuotaObject in content processes; r=ipc-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D157822
2022-12-16 06:38:12 +00:00
Chris Martin cfcb9fcb81 Bug 1799470 - Merge old embedding logic into ContentChild r=nika
Differential Revision: https://phabricator.services.mozilla.com/D164596
2022-12-15 03:06:22 +00:00
Yulia Startsev 4916e53611 Bug 1247687 - Implement csp for Module Workers; r=evilpie,asuth,rpl,ckerschb
Depends on D155691

Differential Revision: https://phabricator.services.mozilla.com/D156102
2022-12-14 14:55:38 +00:00
Jed Davis 46dbfb9167 Bug 1793525 - Get crash reports for child processes shutdown hangs on debug/sanitizer/ccov builds. r=nika,yjuglaret
On the build types where child processes need to go through full
shutdown to write some kind of logs or data (debug / refcount logging,
sanitizers, code coverage), the parent process currently waits forever
for them to exit and blocks its own shutdown to do so.  If we were to
time out and kill the child processes, test runs would fail due to
missing the log files they were expected to write; instead, they fail
and blame the parent process for not exiting, which is not especially
helpful.

What we'd like is to know the state of the child process that's failing
to exit.  This patch attempts to get a crash report in that situation; on
Unix we send SIGABRT, and on Windows we inject a thread that calls
DbgBreakPoint, both of which result in invoking our crash reporter.

Differential Revision: https://phabricator.services.mozilla.com/D161098
2022-12-13 22:57:49 +00:00
Sebastian Hengst 9bc20993bc Backed out 3 changesets (bug 1790872) on request of nika for causing regressions. CLOSED TREE
Backed out changeset 6b72e6c8e3bc (bug 1790872)
Backed out changeset 3e53a1922022 (bug 1790872)
Backed out changeset 862b578d462e (bug 1790872)
2022-12-08 23:17:57 +01:00
Adrien Champion 0a3074cd9c Bug 1802159 - Remove `ipc/chromium/src/third_party` dead C++ cluster 2. r=jld
Differential Revision: https://phabricator.services.mozilla.com/D163325
2022-12-06 15:17:59 +00:00
Adrien Champion 738b389553 Bug 1802159 - Remove `ipc/chromium/src/third_party` dead C++ cluster 1. r=sylvestre,jld
Differential Revision: https://phabricator.services.mozilla.com/D163323
2022-12-06 15:17:59 +00:00
Manuel Bucher 6f5875ad8c Bug 1771867 - Early Hints Phase 2 - Part 1: Add ongoing early hint preloads to http IPC channel args r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D161172
2022-12-02 16:15:53 +00:00
Csoregi Natalia 5a260d61a4 Backed out 13 changesets (bug 1771867) for causing CanonicalBrowsingContext crashes. CLOSED TREE
Backed out changeset 120838b58449 (bug 1771867)
Backed out changeset aea7ca0bbd17 (bug 1771867)
Backed out changeset 2fe2afdee09d (bug 1771867)
Backed out changeset 8bdb1f682d22 (bug 1771867)
Backed out changeset a9f3158ed688 (bug 1771867)
Backed out changeset 1177913e1edf (bug 1771867)
Backed out changeset d33ccbbf407d (bug 1771867)
Backed out changeset 110ac12e16f5 (bug 1771867)
Backed out changeset 7f20525f5e94 (bug 1771867)
Backed out changeset b3d65b1aa872 (bug 1771867)
Backed out changeset 7cdf3cef2773 (bug 1771867)
Backed out changeset 5090eae24a5c (bug 1771867)
Backed out changeset f8a03d226c73 (bug 1771867)
2022-12-02 13:44:55 +02:00
Manuel Bucher a61c8650f9 Bug 1771867 - Early Hints Phase 2 - Part 1: Add ongoing early hint preloads to http IPC channel args r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D161172
2022-12-02 09:45:23 +00:00
Nika Layzell c6fde75b19 Bug 1443925 - Part 6: Allow specifying Domain when creating content principals, r=ckerschb,bholley
This is required for deserializing nsIPrincipal instances from PrincipalInfo to
be threadsafe, as setting domain with `SetDomain()` is only safe on the main
thread, due to it enumerating and updating JS wrappers.

Differential Revision: https://phabricator.services.mozilla.com/D163036
2022-12-02 00:53:51 +00:00
Cristian Tuns be4a264992 Backed out 3 changesets (bug 1802159) for causing build bustages CLOSED TREE
Backed out changeset cebac9d69d82 (bug 1802159)
Backed out changeset 3a5a51fb1df4 (bug 1802159)
Backed out changeset 7e4833393b80 (bug 1802159)
2022-12-01 13:12:13 -05:00
Adrien Champion 95a70a212d Bug 1802159 - Remove `ipc/chromium/src/third_party` dead C++ cluster 2. r=jld
Depends on D163324

Differential Revision: https://phabricator.services.mozilla.com/D163325
2022-12-01 17:43:50 +00:00
Adrien Champion 6f19f8e59e Bug 1802159 - Remove `ipc/chromium/src/third_party` dead C++ cluster 3. r=jld
Depends on D163323

Differential Revision: https://phabricator.services.mozilla.com/D163324
2022-12-01 17:43:49 +00:00
Adrien Champion fc6b6ae9b8 Bug 1802159 - Remove `ipc/chromium/src/third_party` dead C++ cluster 1. r=jld
Differential Revision: https://phabricator.services.mozilla.com/D163323
2022-12-01 17:43:49 +00:00
Alexandre Lissy 5d0257721a Bug 1798711 - Remove duplication of DisableCrashReporter on gtest r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D162972
2022-11-30 14:41:42 +00:00
Alexandre Lissy 239ea2a241 Bug 1802513 - Augment utility audio tests with ffmpeg/ffvpx r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D163228
2022-11-30 10:10:23 +00:00
Otto Länd 5b55d67f75 No bug: apply code formatting via Lando
# ignore-this-changeset
2022-11-29 23:20:39 +00:00
Nika Layzell ca638b64ea Bug 1790872 - Part 3: Add a unit test for the IPC sent/recvd message telemetry, r=ipc-reviewers,mccr8
This is done using the gtest framework, and adds a new protocol which has its
messages counted. As the IPDLUnitTest process doesn't count IPC messages with
glean, this only counts messages on the parent process side.

This test also checks that we don't count this information outside of nightly,
and that it isn't counted for messages sent within the same process.

Differential Revision: https://phabricator.services.mozilla.com/D158275
2022-11-29 22:24:32 +00:00
Nika Layzell a41bb651f6 Bug 1790872 - Part 2: Make the process mode available to IPDL gtests, r=ipc-reviewers,mccr8
This will be useful in the next part to write a test with different behaviour
depending on whether it's cross-process.

Differential Revision: https://phabricator.services.mozilla.com/D158274
2022-11-29 22:24:32 +00:00