Chris Martin
6da4dd5351
Bug 1883919 - Remove unused sandbox prefs r=bobowen
...
Differential Revision: https://phabricator.services.mozilla.com/D203772
2024-03-06 15:40:04 +00:00
alwu
622ca5c169
Bug 1873394 - part1 : collect playback statistic data for MFCDM. r=media-playback-reviewers,chunmin,chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D198109
2024-02-08 18:38:29 +00:00
pstanciu
dbc4a6f9dd
Backed out 3 changesets (bug 1873394) for causing bug 1879250. CLOSED TREE
...
Backed out changeset b355f33d28c9 (bug 1873394)
Backed out changeset 6711b73d58e1 (bug 1873394)
Backed out changeset 44fdf4e83c7c (bug 1873394)
2024-02-08 11:53:13 +02:00
alwu
1394934faf
Bug 1873394 - part1 : collect playback statistic data for MFCDM. r=media-playback-reviewers,chunmin,chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D198109
2024-02-07 20:05:24 +00:00
alwu
576e07f740
Bug 1863800 - part6 : always use the latest plugin path for Widevine L1. r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D195950
2023-12-19 20:28:06 +00:00
Norisz Fay
ac9929ac18
Backed out 7 changesets (bug 1863800) for causing bustage on MediaKeySystemAccessManager.cpp
...
Backed out changeset d89d2efafd8a (bug 1863800)
Backed out changeset 272c033e5d58 (bug 1863800)
Backed out changeset f3f86cc42775 (bug 1863800)
Backed out changeset 68267c6bf0ac (bug 1863800)
Backed out changeset 7fa5617dd0f5 (bug 1863800)
Backed out changeset 750dc1b57c2b (bug 1863800)
Backed out changeset 3eef40828d86 (bug 1863800)
2023-12-19 00:10:04 +02:00
alwu
48302e174a
Bug 1863800 - part6 : always use the latest plugin path for Widevine L1. r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D195950
2023-12-18 20:52:12 +00:00
alwu
9a2004f55c
Bug 1858546 - part3 : load Wideinve L1 dll. r=aosmond
...
We store the path in sPluginPath and used it for loading. We can also
use it for other purposes, eg, showing path in `about:support` in the
future.
Differential Revision: https://phabricator.services.mozilla.com/D193259
2023-11-21 22:43:30 +00:00
alwu
45ffb2a0e0
Bug 1858546 - part1 : ensure LPAC permission on Widevine L1 path. r=bobowen,aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D192888
2023-11-21 22:43:30 +00:00
Narcis Beleuzu
ee35f57688
Backed out 3 changesets (bug 1858546) for build bustages. CLOSED TREE
...
Backed out changeset dde990208a4f (bug 1858546)
Backed out changeset 8db74f3b7aa2 (bug 1858546)
Backed out changeset 8d7666c29292 (bug 1858546)
2023-11-21 02:19:48 +02:00
alwu
94ca09899a
Bug 1858546 - part3 : load Wideinve L1 dll. r=aosmond
...
We store the path in sPluginPath and used it for loading. We can also
use it for other purposes, eg, showing path in `about:support` in the
future.
Differential Revision: https://phabricator.services.mozilla.com/D193259
2023-11-20 21:07:12 +00:00
alwu
fbd8ac28b3
Bug 1858546 - part1 : ensure LPAC permission on Widevine L1 path. r=bobowen,aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D192888
2023-11-20 21:07:11 +00:00
Nika Layzell
03663ac007
Bug 1838906 - Part 2: Simplify the types for IPC::Channel::Listener, r=ipc-reviewers,necko-reviewers,kershaw,jld
...
Now that we've simplified the startup process somewhat, it is easier to clean
up IPC channel creation for NodeChannel connections. This stops having
GeckoChildProcessHost inherit from IPC::Channel::Listener, as it would never
receive most of the relevant callbacks, and instead implements the one callback
it would receive directly as a method on that type.
Differential Revision: https://phabricator.services.mozilla.com/D181282
2023-06-27 19:59:47 +00:00
Alexandre Lissy
5703f5d3bd
Bug 1839834 - Allow per-sandbox disabling on Utility r=jld
...
Differential Revision: https://phabricator.services.mozilla.com/D181782
2023-06-27 13:10:14 +00:00
Norisz Fay
06ee0c5c25
Backed out changeset 38a62f7736e9 (bug 1839834) for causing sandboxing related Gtest failures CLOSED TREE
2023-06-26 20:04:59 +03:00
Alexandre Lissy
2d91a74954
Bug 1839834 - Allow per-sandbox disabling on Utility r=jld
...
Differential Revision: https://phabricator.services.mozilla.com/D181782
2023-06-26 14:47:33 +00:00
Alexandre Lissy
ca4f43efea
Bug 1829108 - Relax assertions on UtilityProcessManager r=ipc-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D177466
2023-05-10 08:34:23 +00:00
Alexandre Lissy
858962495b
Bug 1829108 - Remove Utility specific launch timeout and rely on IPC timeouts r=ipc-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D177281
2023-05-10 08:34:23 +00:00
Alexandre Lissy
82e00a0e6c
Bug 1828620 - Revert Trace RejectPromise() on Utility launch r=ipc-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D177465
2023-05-10 08:34:23 +00:00
Alexandre Lissy
250b0847b5
Bug 1828460 - Trace RejectPromise() on Utility launch r=ipc-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D175694
2023-04-18 20:48:45 +00:00
Alexandre Lissy
8381c5b5b7
Bug 1826784 - Collect Third-Party Modules informations for Utility processes r=gstoll
...
Differential Revision: https://phabricator.services.mozilla.com/D174898
2023-04-07 15:25:53 +00:00
Narcis Beleuzu
1a6d993d42
Backed out changeset 0655ae1a589e (bug 1826784) for bustages on UtilityProcessHost.cpp
2023-04-07 18:00:30 +03:00
Alexandre Lissy
11e92011fc
Bug 1826784 - Collect Third-Party Modules informations for Utility processes r=gstoll
...
Differential Revision: https://phabricator.services.mozilla.com/D174898
2023-04-07 14:16:21 +00:00
Alexandre Lissy
e6f5f5a3c5
Bug 1816857 - Avoid empty launch promise on Utility launch failure r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D171797
2023-03-13 17:17:54 +00:00
David Parks
8180fd29fc
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-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
b6f73f8795
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-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
21f3be7d8a
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-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
fb10baec3c
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 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
191be1e8d7
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
Alexandre Lissy
9efb0b6253
Bug 1788596 - Use CanSend() instead of boolean r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D156485
2022-10-06 15:51:58 +00:00
Alexandre Lissy
7e0ff79dcb
Bug 1788596 - Remove UTILITY_AUDIO_DECODING_GENERIC r=nika,media-playback-reviewers,alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D156285
2022-10-06 15:51:56 +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
6224e51e2c
Bug 1788596 - Use CanSend() instead of boolean r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D156485
2022-10-06 10:56:43 +00:00
Alexandre Lissy
120c7bc27e
Bug 1788596 - Remove UTILITY_AUDIO_DECODING_GENERIC r=nika,media-playback-reviewers,alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D156285
2022-10-06 10:56:41 +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
bd279c3d84
Bug 1788596 - Use CanSend() instead of boolean r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D156485
2022-10-06 06:14:08 +00:00
Alexandre Lissy
2578cecc06
Bug 1788596 - Remove UTILITY_AUDIO_DECODING_GENERIC r=nika,media-playback-reviewers,alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D156285
2022-10-06 06:14:06 +00:00
Alexandre Lissy
2e393abafe
Bug 1780796 - Use one process per platform decoder module sandbox requirements r=alwu,nika,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D152545
2022-09-01 12:59:32 +00:00
Nika Layzell
f0ab46f2f6
Bug 1779792 - Part 3: Use an endpoint to bind the initial actor in parent processes, r=ipc-reviewers,necko-reviewers,media-playback-reviewers,alwu,mccr8
...
This improves consistency with the child process case, and will make it easier
to attach additional state without needing to thread it through every child
process callsite manually.
Differential Revision: https://phabricator.services.mozilla.com/D153619
2022-08-10 14:55:22 +00:00
Tom Ritter
a4973e44f2
Bug 1752332: Remove the shouldSanitizeFunction member r=KrisWright
...
In the following patch we are going to change the signature of
ShouldSanitizePreference to take a Pref object. Pref is only
known to the Preferences compilation unit; so to keep this member
(whose signature will change) we would need to expose the Pref
class. However it will only be a forward declaration, one could
not construct a Pref object in e.g. the gtest.
It is simpler to just remove the member entirely and call
ShouldSanitizePreference unconditionally - the member was only
used for the gtest, and while the gtest will be less robust
because of this change, it will still do some testing.
Depends on D141419
Differential Revision: https://phabricator.services.mozilla.com/D141420
2022-04-27 12:57:38 +00:00
Tom Ritter
4d077a8b48
Bug 1752332: Make SerializePreferences correctly sanitize preferences r=KrisWright,necko-reviewers,dragana
...
To do the correct thing in Preferences::SerializePreferences
(which is used during subprocess startup) we need to know if
the destination process is a web content process or not.
We add parameters to
SharedPreferenceSerializer::SerializeToSharedMemory that let
us figure that out.
In Preferences::SerializePreferences we fix the call to
aShouldSanitizeFn to pass the correct destination.
Depends on D141415
Differential Revision: https://phabricator.services.mozilla.com/D141416
2022-04-27 12:57:37 +00:00
Tom Ritter
0d49156bd8
Bug 1752332: Rename ShouldSyncPreference to ShouldSanitizePreference r=KrisWright
...
This simplifies the number of negations needed,
and makes things easy to understand. I think
anyway; I know that without renaming it I made
several annoying-to-diagnose negation errors...
Depends on D141411
Differential Revision: https://phabricator.services.mozilla.com/D141412
2022-04-27 12:57:35 +00:00
Tom Ritter
baa1f4da1f
Bug 1752332: Move ShouldSyncPreferences to Preferences module r=KrisWright
...
Depends on D141409
Differential Revision: https://phabricator.services.mozilla.com/D141410
2022-04-27 12:57:34 +00:00
Mike Hommey
96c044b561
Bug 1766377 - Fix some sign-compare warnings by using ProcessId more consistently. r=nika,necko-reviewers,kershaw
...
dom/media/ipc/RDDProcessManager.cpp(320,21): error: comparison of integers of different signs: 'base::ProcessId' (aka 'unsigned long') and 'int' [-Werror,-Wsign-compare]
gpuProcessPid != -1 ? gpuProcessPid : base::GetCurrentProcId();
~~~~~~~~~~~~~ ^ ~~
dom/media/ipc/RDDProcessManager.cpp(332,21): error: comparison of integers of different signs: 'base::ProcessId' (aka 'unsigned long') and 'int' [-Werror,-Wsign-compare]
if (gpuProcessPid != -1) {
~~~~~~~~~~~~~ ^ ~~
gfx/layers/ipc/SharedSurfacesParent.cpp(360,38): error: comparison of integers of different signs: 'base::ProcessId' (aka 'unsigned long') and 'int' [-Werror,-Wsign-compare]
if (!gpm || gpm->GPUProcessPid() != -1) {
~~~~~~~~~~~~~~~~~~~~ ^ ~~
ipc/glue/MessageChannel.cpp(2145,13): error: comparison of integers of different signs: 'int32_t' (aka 'int') and 'const base::ProcessId' (aka 'const unsigned long') [-Werror,-Wsign-compare]
if (pid != base::kInvalidProcessId &&
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~
Differential Revision: https://phabricator.services.mozilla.com/D144688
2022-04-27 07:45:19 +00:00
Butkovits Atila
9d9191e364
Backed out 17 changesets (bug 1752332) for causing crashes at JS::AutoAssertNoGC::AutoAssertNoGC(JSContext*). CLOSED TREE
...
Backed out changeset eaa4213b9e08 (bug 1752332)
Backed out changeset 2d794b61fbf7 (bug 1752332)
Backed out changeset 69cbec3e9a11 (bug 1752332)
Backed out changeset 022a68e8d603 (bug 1752332)
Backed out changeset 1ff8656b362d (bug 1752332)
Backed out changeset 46ea5b4f9ad3 (bug 1752332)
Backed out changeset e1dcb4c7cb88 (bug 1752332)
Backed out changeset f9d6bc72406f (bug 1752332)
Backed out changeset dd02b8ef0219 (bug 1752332)
Backed out changeset 3e60b77153a3 (bug 1752332)
Backed out changeset ce93b08837d2 (bug 1752332)
Backed out changeset d165042105ea (bug 1752332)
Backed out changeset 22b910308ecd (bug 1752332)
Backed out changeset d2e748ccd01c (bug 1752332)
Backed out changeset a89203990075 (bug 1752332)
Backed out changeset b580c2a3bac0 (bug 1752332)
Backed out changeset a2d5880b528f (bug 1752332)
2022-04-25 17:55:17 +03:00
Tom Ritter
ca2b970ed6
Bug 1752332: Remove the shouldSanitizeFunction member r=KrisWright
...
In the following patch we are going to change the signature of
ShouldSanitizePreference to take a Pref object. Pref is only
known to the Preferences compilation unit; so to keep this member
(whose signature will change) we would need to expose the Pref
class. However it will only be a forward declaration, one could
not construct a Pref object in e.g. the gtest.
It is simpler to just remove the member entirely and call
ShouldSanitizePreference unconditionally - the member was only
used for the gtest, and while the gtest will be less robust
because of this change, it will still do some testing.
Depends on D141419
Differential Revision: https://phabricator.services.mozilla.com/D141420
2022-04-25 13:54:03 +00:00