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
Kershaw Chang
755ccde293
Bug 1637648 - P1: Make nsIOService the single point to forward observer notifications to socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D77305
2020-06-23 11:11:01 +00:00
Kershaw Chang
c03bf62590
Bug 1643382 - P1: BackgroundDataBridgeChild and HttpBackgroundChannelChild don't need to be a cycle r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D79254
2020-06-18 09:28:33 +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
Kershaw Chang
d814a4cf1f
Bug 1640105 - Don't initialize user agent components in socket process r=dragana
...
Since system info service may not be available in socket process, user agent components should be initialized in parent process only.
Differential Revision: https://phabricator.services.mozilla.com/D79153
2020-06-15 18:14:29 +00:00
Kershaw Chang
2230daabc9
Bug 1640105 - Initialize necessary services eariler r=dragana
...
Initialize http handler, DNS service, and IOService earlier to avoid crash.
Differential Revision: https://phabricator.services.mozilla.com/D77303
2020-06-09 14:44:19 +00:00
Razvan Maries
0762c7d583
Backed out 2 changesets (bug 1640105) for perma failures on remoteautomation.py. CLOSED TREE
...
Backed out changeset e12bb339406c (bug 1640105 )
Backed out changeset f66cacb5c833 (bug 1640105 )
2020-06-09 17:38:23 +03:00
Kershaw Chang
db347073a6
Bug 1640105 - Initialize necessary services eariler r=dragana
...
Initialize http handler, DNS service, and IOService earlier to avoid crash.
Differential Revision: https://phabricator.services.mozilla.com/D77303
2020-06-09 12:19:30 +00:00
Kershaw Chang
6a80df79dd
Bug 1641496 - P8: Introduce PNativeDNSResolverOverride.ipdl r=valentin
...
A straightforward patch. Since DNS resolution is moved to socket process, we have to add another ipdl to make `nsINativeDNSResolverOverride` work.
Differential Revision: https://phabricator.services.mozilla.com/D78483
2020-06-05 13:27:35 +00:00
Kershaw Chang
546c6c8250
Bug 1539819 - P1: Make TRRService work in socket process r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D68880
2020-05-18 20:18:03 +00:00
Kershaw Chang
d3cf89951d
Bug 1549323 - Make sure session cache is cleared in socket process r=keeler
...
Differential Revision: https://phabricator.services.mozilla.com/D74906
2020-05-14 12:21:59 +00:00
Kershaw Chang
6b45454d48
Bug 1623380 - Send ODA directly to content process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D67609
2020-05-07 14:39:21 +00:00
Dorel Luca
07c453bdb8
Backed out changeset 2b9fc84a789b (bug 1623380) for Mochitest failures in dist/include/mozilla/RefPtr.h. CLOSED TREE
2020-05-07 15:17:30 +03:00
Kershaw Chang
c0ebe10757
Bug 1623380 - Send ODA directly to content process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D67609
2020-05-07 11:12:46 +00:00
Nicholas Nethercote
b4c95c57c1
Bug 1628033 - Add pid to the socket process in about:memory. r=valentin,necko-reviewers
...
This is modelled on the corresponding code in
`RDDParent::RecvRequestMemoryReport()`.
Also rename it `Socket` to match other content processes like `GPU` and `RDD`.
Differential Revision: https://phabricator.services.mozilla.com/D72995
2020-04-30 00:46:14 +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
40f243a778
Bug 1527384 - Introduce PAltSvcTransaction for carrying the validated result from socket process to parent process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D65188
2020-03-17 16:32:12 +00:00
Michael Froman
0c683b06fc
Bug 1608558 - pt1 - add linux sandboxing to socket process. r=gcp
...
Differential Revision: https://phabricator.services.mozilla.com/D60014
2020-03-09 14:56:03 +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
Simon Giesecke
9e7322117c
Bug 1617628 - Hide nsBaseHashtable Put overloads in nsRefPtrHashtable subclass. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D63899
2020-02-25 17:03:36 +00:00
Nika Layzell
7a58d1539c
Bug 1557739 - Be more consistent with IPC Transport APIs, r=jld
...
Differential Revision: https://phabricator.services.mozilla.com/D60285
2020-02-06 22:41:56 +00:00
Kershaw Chang
b9b52f3e0f
Bug 1600254 - P8: Make nsIInputChannelThrottleQueue work with socket process r=dragana
...
The only information that devtools needs is the amount of how many bytes readed, so this patch introduces PInputChannelThrottleQueue ipdl for carrying on this information.
Differential Revision: https://phabricator.services.mozilla.com/D56710
2020-01-30 13:32:55 +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
Gabriele Svelto
f03cdb2b2d
Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan
...
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.
find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
if [ -n "$interfaces" ]; then
if [[ "$interfaces" == *$'\n'* ]]; then
regexp="\("
for i in $interfaces; do regexp="$regexp$i\|"; done
regexp="${regexp%%\\\|}\)"
else
regexp="$interfaces"
fi
interface=$(basename "$path")
rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
if [ $hits -eq 0 ]; then
echo "Removing ${interface} from ${path2}"
grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
mv -f "$path2".tmp "$path2"
fi
done
fi
done
Differential Revision: https://phabricator.services.mozilla.com/D55444
2019-12-06 09:17:57 +00:00
Kershaw Chang
5182c8a5ab
Bug 1596409 - P4: Impl PHttpConnectionMgr IPC protocol r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D54164
2019-12-03 13:44:39 +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
Byron Campen [:bwc]
d65b3400a6
Bug 1569183: Stop doing a proxy lookup to determine whether we're configured to use a proxy (for the proxy_only_if_behind_proxy pref), and instead look at whether we loaded the doc using a proxy. r=mjf,mayhemer,jld
...
Differential Revision: https://phabricator.services.mozilla.com/D45289
2019-09-18 14:27:42 +00:00
Byron Campen [:bwc]
a5f48a6f25
Bug 1569183: Make proxy config parameters optional in WebrtcTCPSocket to get the NAT simulator working again. r=mjf,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D45104
2019-09-17 18:17:37 +00:00
Byron Campen [:bwc]
40a5a8c655
Bug 1569183: Rename PWebrtcProxyChannel to PWebrtcTCPSocket. r=mjf
...
Differential Revision: https://phabricator.services.mozilla.com/D45098
2019-09-17 18:15:41 +00:00
Kershaw Chang
807acfcedd
Bug 1571987 - Forward proxy check request to parent process r=dragana,bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D41004
2019-08-24 05:37:00 +00:00
Kershaw Chang
e60f50aa25
Bug 1569196 - Make ChildDNSService run on socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D40592
2019-08-05 20:54:01 +00:00
Kershaw Chang
e277fead45
Bug 1242221 - Close IPC channel before MessageLoop gets destroyed r=mayhemer
...
From the log, I found that the intermittent crash happened because SocketProcessBridgeParent's message loop is destroyed before the IPC channel is closed. Before this patch, the only way to close the IPC channel between SocketProcessBridgeParent and SocketProcessBridgeChild is relying on "content-child-shutdown" notification in child process. If socket process gets terminated before "content-child-shutdown", the IPC channel is never closed.
So, this patch tries to close the IPC channel at SocketProcessChild::CleanUp if the channel is not closed.
Differential Revision: https://phabricator.services.mozilla.com/D38287
2019-07-25 15:24:02 +00:00
Byron Campen [:bwc]
9823448754
Bug 1556109: Socket process does not have a UI event loop, so disconnect from the window server. r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D33532
2019-06-05 15:57:40 +00:00
Kershaw Chang
ad80b716f6
Bug 1544799 - Make PSocketProcess manage PWebrtcProxyChannel r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D28038
2019-04-23 13:10:56 +00:00
Gurzau Raul
ace66df7fd
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-03-01 09:28:28 +02:00
Alex Gaynor
ebf11ec296
Bug 1531476 - replace MaybeFileDesc with FileDescriptor? in IPDL; r=mccr8
...
Also contains a small amount of unrelated devirtualization of IPC methods.
Differential Revision: https://phabricator.services.mozilla.com/D21592
2019-02-28 21:20:40 +00:00
Ryan Hunt
6e1157c288
Bug 1523969 part 19 - Move method definition inline comments to new line in 'netwerk/'. r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D21120
2019-02-25 16:11:11 -06:00
Ehsan Akhgari
498e2df734
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
2019-01-18 10:16:18 +01:00
Ehsan Akhgari
53c197e13a
Bug 1521000 - Part 1: Reformat the tree to ensure everything is formatted correctly with clang-format r=sylvestre
...
Summary: # ignore-this-changeset
Reviewers: sylvestre
Reviewed By: sylvestre
Subscribers: reviewbot, emilio, jandem, bbouvier, karlt, jya
Bug #: 1521000
Differential Revision: https://phabricator.services.mozilla.com/D16936
2019-01-18 10:12:56 +01:00
Dragana Damjanovic
ccf5ab925a
Bug 1513059 - Use the minimal XPCOM for the socket process.r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D15024
2019-01-16 23:05:11 +00:00
Junior Hsu
6e07247895
Bug 1510979 - add a telemetry xpcshell-test for socket process r=janerik
...
We need a test-only IPC message to socket process to trigger the Telemetry::Scalar set since no js engine in the socket process.
And hook the IPC call to AddPendingEvent |CallOrWaitSocketProcess| introduced by bug 1496257.
Differential Revision: https://phabricator.services.mozilla.com/D14822
2019-01-15 23:15:38 +00:00