Dana Keeler
a13bccff29
Bug 1712837 - introduce ipcclientcerts to allow client certificates to work with the socket process r=rmf,kershaw,necko-reviewers,ipc-reviewers,nika,jschanck
...
This patch introduces ipcclientcerts, a PKCS#11 module that the socket process
can load to get access to client certificates and keys managed by the parent
process. This enables client certificate authentication to work with the socket
process (particularly for keys stored outside of NSS, as with osclientcerts or
third-party PKCS#11 modules).
Differential Revision: https://phabricator.services.mozilla.com/D122392
2021-12-01 18:10:34 +00:00
Marian-Vasile Laza
fcac4f0656
Backed out 2 changesets (bug 1712837) for causing mochitest and marionette test failures. CLOSED TREE
...
Backed out changeset ecfd23a7ef69 (bug 1712837)
Backed out changeset 51529cb4682e (bug 1712837)
2021-11-11 01:52:57 +02:00
Dana Keeler
48d475aa56
Bug 1712837 - introduce ipcclientcerts to allow client certificates to work with the socket process r=rmf,kershaw,necko-reviewers,ipc-reviewers,nika
...
This patch introduces ipcclientcerts, a PKCS#11 module that the socket process
can load to get access to client certificates and keys managed by the parent
process. This enables client certificate authentication to work with the socket
process (particularly for keys stored outside of NSS, as with osclientcerts or
third-party PKCS#11 modules).
Differential Revision: https://phabricator.services.mozilla.com/D122392
2021-11-10 21:48:47 +00:00
Valentin Gosu
fc5c91fb40
Bug 1733356 - Fix non-unified build errors in netwerk/ipc/ r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D127402
2021-10-14 12:57:59 +00:00
Cosmin Sabou
8b22b9a67c
Backed out 10 changesets (bug 1733356, bug 1733922) for causing windows hybrid bustages. CLOSED TREE
...
Backed out changeset 85b747a60e73 (bug 1733922 )
Backed out changeset 4af7a3a697ad (bug 1733356)
Backed out changeset 3b2e02c99090 (bug 1733356)
Backed out changeset b481b801250e (bug 1733356)
Backed out changeset 88c33cdcb8aa (bug 1733356)
Backed out changeset 3d31e8c8e194 (bug 1733356)
Backed out changeset 616f676e8f94 (bug 1733356)
Backed out changeset 3f8e9b14879d (bug 1733356)
Backed out changeset 241c7cdb3f6b (bug 1733356)
Backed out changeset 7f9e266070c6 (bug 1733356)
2021-10-14 01:54:30 +03:00
Valentin Gosu
40f137554d
Bug 1733356 - Fix non-unified build errors in netwerk/ipc/ r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D127402
2021-10-13 19:39:06 +00:00
Kershaw Chang
b7528c2b3c
Bug 1475641 - Move PAProxyAutoConfig to socket process, r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D125855
2021-10-11 19:17:58 +00:00
Cristian Tuns
b97fa80548
Backed out 10 changesets (bug 1733922, bug 1733356) for causing hybrid build bustages on nsAboutProtocolHandler.cpp. CLOSED TREE
...
Backed out changeset 293ff1a22c98 (bug 1733922 )
Backed out changeset b640749ee844 (bug 1733356)
Backed out changeset d2e3dc1b492a (bug 1733356)
Backed out changeset cd6c19829601 (bug 1733356)
Backed out changeset ef8145f88447 (bug 1733356)
Backed out changeset 366e2d375980 (bug 1733356)
Backed out changeset 14563275a25b (bug 1733356)
Backed out changeset 7700cd82bdf2 (bug 1733356)
Backed out changeset 4e198c3d5ef3 (bug 1733356)
Backed out changeset c26481d0f689 (bug 1733356)
2021-10-11 10:02:20 -04:00
Cristian Tuns
713909ed6c
Backed out 2 changesets (bug 1732150, bug 1475641) for causing GTest failures on SocketProcessChild.cpp. CLOSED TREE
...
Backed out changeset 45877c2e8d6b (bug 1475641)
Backed out changeset d6684da1c643 (bug 1732150)
2021-10-11 07:07:33 -04:00
Valentin Gosu
cff7147f1e
Bug 1733356 - Fix non-unified build errors in netwerk/ipc/ r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D127402
2021-10-11 10:40:06 +00:00
Kershaw Chang
2e53a645fc
Bug 1475641 - Move PAProxyAutoConfig to socket process, r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D125855
2021-10-11 08:30:42 +00:00
Narcis Beleuzu
827b47a592
Backed out changeset da95455590d7 (bug 1475641) for marionette crashes on test_profile_management.py . CLOSED TREE
2021-09-22 01:19:18 +03:00
Kershaw Chang
ba961a0f40
Bug 1475641 - Move PAProxyAutoConfig to socket process, r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D125855
2021-09-21 19:54:29 +00:00
Kershaw Chang
586aade410
Bug 1727173 - Make h3/h2 excluded list synced between socket process and parent process, r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D123376
2021-09-03 20:14:39 +00:00
Alexis Beingessner
e2340e1bcb
Bug 1686616 - make HttpActivityDistributor use Components instead of Services. r=kmag,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D105525
2021-02-18 13:26:30 +00:00
Kershaw Chang
04ad2f8788
Bug 1689987 - P4: Add a telemetry probe to collect channel success rate when ODoH is used r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D105214
2021-02-18 12:50:03 +00:00
Dave Townsend
08237760e9
Bug 1675329: Add an API for returning an exit code from the application. r=dthayer,necko-reviewers,dragana,nika
...
Callers can pass an exit code to nsIAppStartup::Quit and it will be returned from the process when
it exits.
Note that I have using uint16_t as the exit code because on Windows the exit code can be a uint and
elsewhere it is an int. A uint16_t will safely convert to either of those and no-one will ever need
more than 64k exit codes!
Differential Revision: https://phabricator.services.mozilla.com/D96857
2020-12-03 20:19:47 +00:00
smolnar
3cfc7172b4
Backed out changeset d57553438d94 (bug 1675329) for causing bustages in nsAppShell. CLOSED TREE
2020-11-20 22:37:39 +02:00
Dave Townsend
a05eaacd21
Bug 1675329: Add an API for returning an exit code from the application. r=dthayer,necko-reviewers,dragana,nika
...
Callers can pass an exit code to nsIAppStartup::Quit and it will be returned from the process when
it exits.
Note that I have using uint16_t as the exit code because on Windows the exit code can be a uint and
elsewhere it is an int. A uint16_t will safely convert to either of those and no-one will ever need
more than 64k exit codes!
Differential Revision: https://phabricator.services.mozilla.com/D96857
2020-11-20 19:13:34 +00:00
Aaron Klotz
3fee7b9c07
Bug 1668376: Part 1 - Rename GeckoProcessManager::MarkAsDead to GeckoProcessManager::ShutdownProcess; r=geckoview-reviewers,necko-reviewers,agi,dragana
...
Since the semantics of `ContentParent::MarkAsDead` are significantly different
from `GeckoProcessManager::MarkAsDead`, let's rename the latter to better
reflect what it actually does.
Differential Revision: https://phabricator.services.mozilla.com/D92649
2020-10-06 20:25:02 +00:00
Andrew McCreight
9d7f1fc58b
Bug 1655536, part 2 - Don't wait for memory reports from child processes that no longer exist. r=froydnj
...
This patch uses IPDL's return feature to ensure that the memory
reporter manager won't wait for a report from a child process
that has already exited.
This fixes a memory reporter hang that can happen if a child process
exits during a memory report, when the parent half of the actor is
being held alive. (If the parent half of the actor is not being held
alive, then mMemoryReportRequest will be naturally cleared when it
goes away.)
This was happening frequently on Windows Fission AWSY because that test
does a minimize memory right before it attempts to get a memory report,
and the preallocated content process exits when it sees a message to
minimize memory.
Differential Revision: https://phabricator.services.mozilla.com/D85499
2020-08-03 18:29:45 +00:00
Andrea Marchesini
8769aafe36
Bug 1648141 - IPCBlobInputStream to RemoteLazyInputStream - part 8 - mozilla namespace, r=smaug,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D80931
2020-06-29 13:40:27 +00:00
Andrea Marchesini
b1c200777b
Bug 1648141 - IPCBlobInputStream to RemoteLazyInputStream - part 4 - IPDL actors, r=smaug,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D80927
2020-06-29 11:03:02 +00:00
Andrea Marchesini
479f1cb3a8
Bug 1648141 - IPCBlobInputStream to RemoteLazyInputStream - part 3 - PRemoteLazyInputStream, r=smaug,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D80926
2020-06-29 11:03:04 +00:00
Razvan Maries
6b44dbdf8c
Backed out 8 changesets (bug 1648141) for build bustages on RemoteLazyInputStreamThread.cpp. CLOSED TREE
...
Backed out changeset e9b4ca0ee700 (bug 1648141 )
Backed out changeset b9bb847cee47 (bug 1648141 )
Backed out changeset 11dfce46ec14 (bug 1648141 )
Backed out changeset d824d2f67f27 (bug 1648141 )
Backed out changeset e5b8292e7095 (bug 1648141 )
Backed out changeset c1a3d5fa0c61 (bug 1648141 )
Backed out changeset 24fdb83db3cd (bug 1648141 )
Backed out changeset 749d894dde52 (bug 1648141 )
2020-06-29 13:59:16 +03:00
Andrea Marchesini
c12b44c63c
Bug 1648141 - IPCBlobInputStream to RemoteLazyInputStream - part 8 - mozilla namespace, r=smaug,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D80931
2020-06-29 10:30:00 +00:00
Andrea Marchesini
a1197a447e
Bug 1648141 - IPCBlobInputStream to RemoteLazyInputStream - part 4 - IPDL actors, r=smaug,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D80927
2020-06-29 10:27:20 +00:00
Andrea Marchesini
a3732b8279
Bug 1648141 - IPCBlobInputStream to RemoteLazyInputStream - part 3 - PRemoteLazyInputStream, r=smaug,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D80926
2020-06-29 10:26:33 +00:00
Andrea Marchesini
d3318f9b98
Bug 1645786 - IPCBlobInputStream for socket process, r=smaug,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D80680
2020-06-25 12:21:14 +00:00
Nicholas Nethercote
a2ef9fa679
Bug 1645982 - Rename some service getters in Services.py to better match the types. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D79791
2020-06-16 23:32:21 +00:00
Haik Aftandilian
ef28d0ee08
Bug 1632845 - Firefox gets stuck when quit from the dock if the user cancels quitting from a beforeunload prompt r=Gijs,spohl,necko-reviewers,geckoview-reviewers,dragana,agi
...
Return NSTerminateCancel from applicationShouldTerminate when the user chooses to "Stay on Page".
Differential Revision: https://phabricator.services.mozilla.com/D78839
2020-06-09 18:20:36 +00:00
Kershaw Chang
95ef31186c
Bug 1524035 - Make parent process shut down when socket process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set r=dragana
...
This patch is mainly for stoping the testsuite keeps going when the socket process is crashed.
Differential Revision: https://phabricator.services.mozilla.com/D76817
2020-05-29 13:56:27 +00:00
Kershaw Chang
d05fd9ddd3
Bug 1546358 - Forward cache entry check to parent process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D75941
2020-05-25 11:07:07 +00:00
Kershaw Chang
2e2ea53fb1
Bug 1539819 - P2: Introduce PProxyConfigLookup.ipdl for get proxy config in TRRServiceChannel r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D68398
2020-05-18 20:18:05 +00:00
Aaron Klotz
854c89a6ba
Bug 1637452: Part 7 - Fix JNI includes in netwerk; r=necko-reviewers,valentin
...
In this bug we're moving away from monolithic JNI headers to class-specific
headers so that we don't have to rebuild the world every time we make a change
to a JNI interface.
Differential Revision: https://phabricator.services.mozilla.com/D75370
2020-05-15 17:04:32 +00:00
Kershaw Chang
2fb5f4766f
Bug 1512478 - Use sync IPC to get client auth data from parent process r=keeler,mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D36911
2020-04-28 20:12:43 +00:00
Aaron Klotz
b2486a8b35
Bug 1630229: Part 2 - Ensure that the socket process notifies GeckoView when its actor is destroyed; r=necko-reviewers,valentin
...
When the Socket process's top-level actor is destroyed, we need to relay that
information up to GeckoView's Java layer.
Depends on D71405
Differential Revision: https://phabricator.services.mozilla.com/D71406
2020-04-20 14:11:39 +00:00
Kershaw Chang
085da24c71
Bug 1625151 - P1: Move DNS resolution to socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D68388
2020-04-14 09:14:41 +00:00
Csoregi Natalia
dcf5e6a733
Backed out 2 changesets (bug 1625151) for crashes on nsAutoOwningThread. CLOSED TREE
...
Backed out changeset 465d2418e50c (bug 1625151 )
Backed out changeset 991c18b616e3 (bug 1625151 )
2020-04-13 14:56:20 +03:00
Kershaw Chang
772a905841
Bug 1625151 - P1: Move DNS resolution to socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D68388
2020-04-13 08:31:02 +00:00
Coroiu Cristina
0d4d8c724b
Backed out 2 changesets (bug 1625151) for build bustage at netwerk/dns/ChildDNSService.cpp on a CLOSED TREE
...
Backed out changeset bb8ac156944b (bug 1625151 )
Backed out changeset ca74746771d7 (bug 1625151 )
2020-04-10 00:58:16 +03:00
Kershaw Chang
0469750f81
Bug 1625151 - P1: Move DNS resolution to socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D68388
2020-04-09 16:00:26 +00:00
Kershaw Chang
b7177d79bf
Bug 1537761 - P1: Send an IPC message for ClearHostMapping() r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D65552
2020-03-10 16:28:47 +00:00
Kershaw Chang
4b30e151d4
Bug 1603420 - PBackground for the Parent-Socket process bridge r=baku,jld
...
Differential Revision: https://phabricator.services.mozilla.com/D56955
2020-03-03 16:14:19 +00:00
Dragana Damjanovic
81a66c68d0
Bug 1612816 - Implement AsyncResoleWithTrrServer. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D61445
2020-02-04 19:35:34 +00:00
Kershaw Chang
47d3564025
Bug 1600254 - P9: Avoild accessing http channel from transaction r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D56730
2020-01-30 13:38:39 +00:00
Kershaw Chang
a56534380e
Bug 1600254 - P4: Make HttpActivityObserver work in socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D56039
2020-01-30 13:00:11 +00:00
Kershaw Chang
4005372b8d
Bug 1596409 - P1.2: Create PHttpTransaction IPC protocol r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D54290
2019-12-03 13:42:15 +00:00
Kershaw Chang
0ca50bf3e9
Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D54289
2019-12-03 13:41:58 +00:00
Kershaw Chang
ba9cff35a6
Bug 1600678 - Use IPDL refcounted for DNSRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D55475
2019-12-02 18:28:49 +00:00