David Parks
8e662c5de7
Bug 1821418: Clean up actors in UtilityProcessChild::ActorDestroy r=gerard-majax
...
Differential Revision: https://phabricator.services.mozilla.com/D172182
2023-03-16 16:21:40 +00:00
Andrew McCreight
b773c909cf
Bug 1822608 - Make PIDs for utility processes consistent with other processes. r=gerard-majax
...
Other processes print their pid like (pid 12345), so change utility processes to be consistent.
Differential Revision: https://phabricator.services.mozilla.com/D172744
2023-03-16 14:56:59 +00:00
Sean Feng
8af4f3dbc2
Bug 1809518 - Use stencil parsing to do the Javascript check for ORB in Utility Process r=farre,smaug,tcampbell
...
This patch allows JS Validator to parse the incoming data into
stencil to verify if its a Javascript file.
Differential Revision: https://phabricator.services.mozilla.com/D166484
2023-02-28 19:46:09 +00:00
Marian-Vasile Laza
bfdf305539
Backed out 15 changesets (bug 1809518) for wpt failures on navigation-headers.https.html.
...
Backed out changeset d245efcf2257 (bug 1809518)
Backed out changeset 3f29ad282371 (bug 1809518)
Backed out changeset 8f77fb0ddfef (bug 1809518)
Backed out changeset b1f9dcd5f147 (bug 1809518)
Backed out changeset eda8f3ef3fdb (bug 1809518)
Backed out changeset 85f4c2ca24e0 (bug 1809518)
Backed out changeset 92b774c122c9 (bug 1809518)
Backed out changeset b6e6065c79ff (bug 1809518)
Backed out changeset 724a5c7bba6a (bug 1809518)
Backed out changeset 224ccbc28c49 (bug 1809518)
Backed out changeset cc88d68be920 (bug 1809518)
Backed out changeset c02d3f25c880 (bug 1809518)
Backed out changeset 597cb423049d (bug 1809518)
Backed out changeset ae56071e154f (bug 1809518)
Backed out changeset 563403090c7f (bug 1809518)
2023-02-28 20:42:23 +02:00
Sean Feng
7c26d8d6fc
Bug 1809518 - Use stencil parsing to do the Javascript check for ORB in Utility Process r=farre,smaug,tcampbell
...
This patch allows JS Validator to parse the incoming data into
stencil to verify if its a Javascript file.
Differential Revision: https://phabricator.services.mozilla.com/D166484
2023-02-28 15:28:02 +00:00
Csoregi Natalia
94bb0c262d
Backed out 8 changesets (bug 1809518) for causing fetch related failures. CLOSED TREE
...
Backed out changeset b448bddfa364 (bug 1809518)
Backed out changeset ce3a811a4522 (bug 1809518)
Backed out changeset f5add471e7f9 (bug 1809518)
Backed out changeset d2e6d1734eec (bug 1809518)
Backed out changeset 2299a5bdc7a9 (bug 1809518)
Backed out changeset 3eb92dc5aac9 (bug 1809518)
Backed out changeset 3061e4fbf237 (bug 1809518)
Backed out changeset 678468cb98cd (bug 1809518)
2023-02-23 04:33:37 +02:00
Sean Feng
fe991f5a8d
Bug 1809518 - Use stencil parsing to do the Javascript check for ORB in Utility Process r=farre,smaug,tcampbell
...
This patch allows JS Validator to parse the incoming data into
stencil to verify if its a Javascript file.
Differential Revision: https://phabricator.services.mozilla.com/D166484
2023-02-22 20:17:00 +00:00
Cristian Tuns
ffab12fb2d
Backed out 8 changesets (bug 1809518) for causing build bustages on JSOracleChild.h CLOSED TREE
...
Backed out changeset 1057c5d5a0a5 (bug 1809518)
Backed out changeset 1ddffd079624 (bug 1809518)
Backed out changeset 3f43f1cd3e8b (bug 1809518)
Backed out changeset 16bd31105745 (bug 1809518)
Backed out changeset d86c04497104 (bug 1809518)
Backed out changeset 25a5bf657f5c (bug 1809518)
Backed out changeset bf67b8c14aa0 (bug 1809518)
Backed out changeset 5cc0653b2072 (bug 1809518)
2023-02-22 12:20:40 -05:00
Sean Feng
1d02f7f219
Bug 1809518 - Use stencil parsing to do the Javascript check for ORB in Utility Process r=farre,smaug,tcampbell
...
This patch allows JS Validator to parse the incoming data into
stencil to verify if its a Javascript file.
Differential Revision: https://phabricator.services.mozilla.com/D166484
2023-02-22 14:07:46 +00:00
David Parks
48c92a9ae7
Bug 1704500: Add WindowsUtils kind of utility process on Windows r=gerard-majax,ipc-reviewers,nika
...
Adds a new type of utility process that is set up to handle Windows OS objects. We are adding this process type to run Windows geolocation APIs but more services are expected to be included in it. The ILocation APIs have a race condition that would otherwise crash the main process. The ILocation work is in a later patch in the series.
Depends on D155017
Differential Revision: https://phabricator.services.mozilla.com/D155018
2023-01-31 21:10:26 +00:00
Iulian Moraru
139a51d58f
Backed out 7 changesets (bug 1704500) for causing bc failures on browser_utility_geolocation_crashed.js. CLOSED TREE
...
Backed out changeset afcc1e8b5ad7 (bug 1704500)
Backed out changeset 1c27f9c36fda (bug 1704500)
Backed out changeset c0f0a280aaea (bug 1704500)
Backed out changeset 4be2d58ddf54 (bug 1704500)
Backed out changeset 1386732459ce (bug 1704500)
Backed out changeset 88e8015e1ec4 (bug 1704500)
Backed out changeset d96e810e20ec (bug 1704500)
2023-01-29 03:17:48 +02:00
David Parks
6c33211268
Bug 1704500: Add WindowsUtils kind of utility process on Windows r=gerard-majax,ipc-reviewers,nika
...
Adds a new type of utility process that is set up to handle Windows OS objects. We are adding this process type to run Windows geolocation APIs but more services are expected to be included in it. The ILocation APIs have a race condition that would otherwise crash the main process. The ILocation work is in a later patch in the series.
Depends on D155017
Differential Revision: https://phabricator.services.mozilla.com/D155018
2023-01-28 21:00:48 +00:00
Sandor Molnar
75efc1e999
Backed out 7 changesets (bug 1704500) for causing multiple failures in browser_utility_geolocation_crashed/test_geolocation_reset_accuracy CLOSED TREE
...
Backed out changeset c3ae64389c26 (bug 1704500)
Backed out changeset 747d84ff17c7 (bug 1704500)
Backed out changeset 313b8770dc51 (bug 1704500)
Backed out changeset 30632246ee2b (bug 1704500)
Backed out changeset 90a8d51fc17c (bug 1704500)
Backed out changeset a1d1a97a2ffa (bug 1704500)
Backed out changeset 6bfb4d8de1e1 (bug 1704500)
2023-01-27 05:49:32 +02:00
David Parks
9f370d3092
Bug 1704500: Add WindowsUtils kind of utility process on Windows r=gerard-majax,ipc-reviewers,nika
...
Adds a new type of utility process that is set up to handle Windows OS objects. We are adding this process type to run Windows geolocation APIs but more services are expected to be included in it. The ILocation APIs have a race condition that would otherwise crash the main process. The ILocation work is in a later patch in the series.
Depends on D155017
Differential Revision: https://phabricator.services.mozilla.com/D155018
2023-01-26 20:15:06 +00:00
Cristian Tuns
f386edee20
Backed out 7 changesets (bug 1704500) for causing build bustages CLOSED TREE
...
Backed out changeset e48723d8d42e (bug 1704500)
Backed out changeset 897b985f9298 (bug 1704500)
Backed out changeset c2474d1c0046 (bug 1704500)
Backed out changeset d4508f8ba7df (bug 1704500)
Backed out changeset 241be693628d (bug 1704500)
Backed out changeset 341ec2465c7d (bug 1704500)
Backed out changeset 0d1c0dcd7645 (bug 1704500)
2023-01-25 15:33:33 -05:00
David Parks
380d2eaafb
Bug 1704500: Add WindowsUtils kind of utility process on Windows r=gerard-majax,ipc-reviewers,nika
...
Adds a new type of utility process that is set up to handle Windows OS objects. We are adding this process type to run Windows geolocation APIs but more services are expected to be included in it. The ILocation APIs have a race condition that would otherwise crash the main process. The ILocation work is in a later patch in the series.
Depends on D155017
Differential Revision: https://phabricator.services.mozilla.com/D155018
2023-01-25 19:58:45 +00:00
Marian-Vasile Laza
d9f3cbeedf
Backed out 8 changesets (bug 1704500) for causing build bustages on UtilityProcessHost.cpp. CLOSED TREE
...
Backed out changeset da69da68588d (bug 1704500)
Backed out changeset 8f1b73a96bb0 (bug 1704500)
Backed out changeset 817d104b3a3e (bug 1704500)
Backed out changeset 1c84f8f0796a (bug 1704500)
Backed out changeset 93e59d5488dc (bug 1704500)
Backed out changeset f85e8eed6fed (bug 1704500)
Backed out changeset e581bfdf0f8e (bug 1704500)
Backed out changeset 5d62d1a33cf8 (bug 1704500)
2023-01-25 05:18:00 +02:00
David Parks
0dd8d7c063
Bug 1704500: Add WindowsUtils kind of utility process on Windows r=gerard-majax,ipc-reviewers,nika
...
Adds a new type of utility process that is set up to handle Windows OS objects. We are adding this process type to run Windows geolocation APIs but more services are expected to be included in it. The ILocation APIs have a race condition that would otherwise crash the main process. The ILocation work is in a later patch in the series.
Depends on D155017
Differential Revision: https://phabricator.services.mozilla.com/D155018
2023-01-25 02:48:56 +00:00
Sean Feng
c5b0c3587b
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
Sandor Molnar
48d24d15f8
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
34ed482ffc
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
Marian-Vasile Laza
2df2ab4bab
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
c8bcea9190
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
Alexandre Lissy
552cc20a4f
Bug 1792952 - Do not instance new UtilityProcessChild during shutdown r=nika,alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D159687
2022-10-24 17:20:07 +00:00
Alexandre Lissy
262130762b
Bug 1794409 - Tests for Telemetry on Utility r=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D159042
2022-10-13 13:16:18 +00:00
Iulian Moraru
13e4a190d8
Backed out 2 changesets (bug 1794409) for causing xpcshell failures on test_UtilityScalars.js. CLOSED TREE
...
Backed out changeset 8f59c21f474c (bug 1794409)
Backed out changeset dfb200d5ae75 (bug 1794409)
2022-10-13 10:07:15 +03:00
Alexandre Lissy
ad48789385
Bug 1794409 - Tests for Telemetry on Utility r=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D159042
2022-10-13 06:08:29 +00:00
Alexandre Lissy
81b32f3120
Bug 1788596 - Release UtilityProcessChild later to allow mShutdownBlockers to act r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D157938
2022-10-06 15:51:59 +00:00
Alexandre Lissy
1694701d32
Bug 1788596 - Release UtilityAudioDecoderChild on process shutdown r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D156484
2022-10-06 15:51:57 +00:00
Alexandre Lissy
1fe8db1873
Bug 1788596 - Remove extra lock() on UtilityProcessChild r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D156482
2022-10-06 15:51:57 +00:00
Sandor Molnar
5f446a04b6
Backed out 13 changesets (bug 1788596) for causing build bustage in toolkit/components/processtools/ProcInfo_common.cpp CLOSED TREE
...
Backed out changeset 620c85305800 (bug 1788596)
Backed out changeset 1f64776a859a (bug 1788596)
Backed out changeset 707e4c9c8801 (bug 1788596)
Backed out changeset 2221a97ebe97 (bug 1788596)
Backed out changeset d50fd0551159 (bug 1788596)
Backed out changeset 7e2ad8c47afb (bug 1788596)
Backed out changeset f87c5fb2c36f (bug 1788596)
Backed out changeset 61dd9a9eb714 (bug 1788596)
Backed out changeset a67c4ea1c8b3 (bug 1788596)
Backed out changeset 1be7af1214cf (bug 1788596)
Backed out changeset e99c7089bf93 (bug 1788596)
Backed out changeset 9a87f108548b (bug 1788596)
Backed out changeset 3dd59224f38b (bug 1788596)
2022-10-06 16:28:46 +03:00
Alexandre Lissy
f0ed59bb22
Bug 1788596 - Release UtilityProcessChild later to allow mShutdownBlockers to act r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D157938
2022-10-06 10:56:45 +00:00
Alexandre Lissy
75df551121
Bug 1788596 - Release UtilityAudioDecoderChild on process shutdown r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D156484
2022-10-06 10:56:43 +00:00
Alexandre Lissy
0507a0b260
Bug 1788596 - Remove extra lock() on UtilityProcessChild r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D156482
2022-10-06 10:56:42 +00:00
Sandor Molnar
9bfd6948b9
Backed out 13 changesets (bug 1788596) for causing browser-chrome failures in security/sandbox/test/browser_sandbox_test.js CLOSED TREE
...
Backed out changeset 338c18d01cfd (bug 1788596)
Backed out changeset 9d4a5c557191 (bug 1788596)
Backed out changeset 1d1d15dbe44c (bug 1788596)
Backed out changeset e9d29218beba (bug 1788596)
Backed out changeset 397e6c6587f3 (bug 1788596)
Backed out changeset 077fd3a987ca (bug 1788596)
Backed out changeset 2fc674146915 (bug 1788596)
Backed out changeset 4ebb8837ee1a (bug 1788596)
Backed out changeset 9040533dabe1 (bug 1788596)
Backed out changeset 8b27ee4d4168 (bug 1788596)
Backed out changeset 93f50c2f0b9e (bug 1788596)
Backed out changeset 3e7125be66fa (bug 1788596)
Backed out changeset 63ee00ea9be6 (bug 1788596)
2022-10-06 10:28:00 +03:00
Alexandre Lissy
87b0eaf56c
Bug 1788596 - Release UtilityProcessChild later to allow mShutdownBlockers to act r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D157938
2022-10-06 06:14:09 +00:00
Alexandre Lissy
94b43d7a9a
Bug 1788596 - Release UtilityAudioDecoderChild on process shutdown r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D156484
2022-10-06 06:14:07 +00:00
Alexandre Lissy
4e1c64333b
Bug 1788596 - Remove extra lock() on UtilityProcessChild r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D156482
2022-10-06 06:14:07 +00:00
Nika Layzell
e7200aa7a5
Bug 1779792 - Part 2: Use an Endpoint to bind the initial actor in child processes, r=ipc-reviewers,necko-reviewers,media-playback-reviewers,mccr8,alwu
...
This type is also used in other places to start non-initial actors, and will
allow us to attach additional state more easily without needing to thread it
through every child process callsite manually.
Differential Revision: https://phabricator.services.mozilla.com/D153618
2022-08-10 14:55:22 +00:00
Alexandre Lissy
a92475cb0a
Bug 1770241 - Move SetThisProcessName() to avoid risky GetCurrentProcess() r=haik
...
Differential Revision: https://phabricator.services.mozilla.com/D146964
2022-05-25 20:59:32 +00:00
Mike Hommey
26702692e3
Bug 1766561 - Adapt formatting to the difference in ProcessId type across platforms. r=nika,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D144911
2022-05-03 20:49:04 +00:00
Alexandre Lissy
0ef501639a
Bug 1755316 - Perform audio decoding on PUtilityAudioDecoder r=alwu,nika,jld,bobowen,haik
...
Differential Revision: https://phabricator.services.mozilla.com/D139593
2022-04-07 10:04:51 +00:00
Alexandre Lissy
a983032422
Bug 1755316 - Introduce PUtilityAudioDecoder as a UtilityProcess user r=alwu,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D141395
2022-04-07 10:04:51 +00:00
Alexandre Lissy
d75f6c5c9b
Bug 1753424 - Support running multiple UtilityProcess r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D139817
2022-03-26 19:46:43 +00:00
Alexandre Lissy
3091631be5
Bug 1753424 - Ensure UtilityProcessChild singleton is mutex-protected r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D141109
2022-03-26 19:46:43 +00:00
Cristian Tuns
c6cb3415f1
Backed out 6 changesets (bug 1753424) for causing build bustages CLOSED TREE
...
Backed out changeset 930136daf858 (bug 1753424)
Backed out changeset d62c1e5d1881 (bug 1753424)
Backed out changeset 911060d2bd8e (bug 1753424)
Backed out changeset cce723862a92 (bug 1753424)
Backed out changeset 97b3fd69185b (bug 1753424)
Backed out changeset 4748652694c7 (bug 1753424)
2022-03-26 14:49:47 -04:00
Alexandre Lissy
5ddd71a38b
Bug 1753424 - Support running multiple UtilityProcess r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D139817
2022-03-26 09:53:47 +00:00
Alexandre Lissy
9685cfe577
Bug 1753424 - Ensure UtilityProcessChild singleton is mutex-protected r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D141109
2022-03-26 09:53:46 +00:00
Butkovits Atila
471aa4e8c0
Backed out 5 changesets (bug 1753424) for causing bustages. CLOSED TREE
...
Backed out changeset e2b40064eb59 (bug 1753424)
Backed out changeset 0892c1d3c379 (bug 1753424)
Backed out changeset 4df499ef4647 (bug 1753424)
Backed out changeset f27fbfb9e8f1 (bug 1753424)
Backed out changeset 0f244f2eb2de (bug 1753424)
2022-03-26 16:39:16 +02:00
Alexandre Lissy
457f0ad529
Bug 1753424 - Support running multiple UtilityProcess r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D139817
2022-03-26 09:53:47 +00:00