gecko-dev/netwerk/ipc
Nika Layzell 53c6040388 Bug 1467223 - Part 3: Support uncached resources by using a redirectTo-like API for process swaps in necko, r=valentin,mayhemer
With the old process selector service implementation, non-cached loads
would skip the call into the process selector.

This implementation piggybacks atop the existing 'redirectTo' mechanism.
This is unfortunately not the perfect system for catching these loads,
as it doesn't provide an opportunity for performing a final process
switch before redirecting to a non-http channel. In addition, it doesn't
provide indication that a redirect is going to happen, causing
potentially unnecessary process switches.

Not all places where 'redirectTo' is supported use this mechanism. This
process switching mechanism is only checked in situations after
http-on-examine-response.

Potential future changes include:

 1. Moving these checks closer to the real 'OnStartRequest' call (e.g.
    in ContinueProcessNormal + ContinueOnStartRequest3). This would mean
    that loads other than the final load will not cause process swaps.

 2. Adding a callback before a redirect is performed, passing in the new
    channel, and allowing modifications to be made. This would allow
    performing a process swap before redirecting to a non-http(s)
    channel.

Depends on D15609

Differential Revision: https://phabricator.services.mozilla.com/D15610

--HG--
extra : moz-landing-system : lando
2019-01-23 21:19:39 +00:00
..
ChannelEventQueue.cpp Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
ChannelEventQueue.h Bug 1516555 - Reformat everything to the Google coding style r=Ehsan 2018-12-28 15:48:06 +00:00
moz.build Bug 1513057 - P5: Create IPC between content process and socket process r=dragana,mayhemer 2019-01-11 20:55:07 +00:00
NeckoChannelParams.ipdlh Bug 1467223 - Part 2: Add BrowsingContextID to LoadInfo, r=valentin 2019-01-23 21:06:59 +00:00
NeckoChild.cpp Bug 1467223 - Part 3: Support uncached resources by using a redirectTo-like API for process swaps in necko, r=valentin,mayhemer 2019-01-23 21:19:39 +00:00
NeckoChild.h Bug 1467223 - Part 1: Move CrossProcessRedirect Message to PContent, r=valentin 2019-01-23 21:27:44 +00:00
NeckoCommon.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
NeckoCommon.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
NeckoMessageUtils.h Bug 1514202 - Port flash url-classifier to nsIUrlClassifierFeature - part 1 - Flash feature, r=dimi, r=edgar, r=valentin 2019-01-04 14:45:42 +01:00
NeckoParent.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
NeckoParent.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
NeckoTargetHolder.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
NeckoTargetHolder.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
PChannelDiverter.ipdl
PDataChannel.ipdl
PFileChannel.ipdl
PNecko.ipdl Bug 1467223 - Part 1: Move CrossProcessRedirect Message to PContent, r=valentin 2019-01-23 21:27:44 +00:00
PSimpleChannel.ipdl
PSocketProcess.ipdl Bug 1510979 - add a telemetry xpcshell-test for socket process r=janerik 2019-01-15 23:15:38 +00:00
PSocketProcessBridge.ipdl Bug 1513057 - P6: Create Background between content process and socket process r=dragana,mayhemer 2019-01-11 20:56:39 +00:00
SocketProcessBridgeChild.cpp Bug 1513057 - P6: Create Background between content process and socket process r=dragana,mayhemer 2019-01-11 20:56:39 +00:00
SocketProcessBridgeChild.h Bug 1513057 - P6: Create Background between content process and socket process r=dragana,mayhemer 2019-01-11 20:56:39 +00:00
SocketProcessBridgeParent.cpp Bug 1513057 - P6: Create Background between content process and socket process r=dragana,mayhemer 2019-01-11 20:56:39 +00:00
SocketProcessBridgeParent.h Bug 1513057 - P6: Create Background between content process and socket process r=dragana,mayhemer 2019-01-11 20:56:39 +00:00
SocketProcessChild.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
SocketProcessChild.h Bug 1510979 - add a telemetry xpcshell-test for socket process r=janerik 2019-01-15 23:15:38 +00:00
SocketProcessHost.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
SocketProcessHost.h Bug 1513057 - P4: Update online/offline status to socket process r=dragana,mayhemer 2019-01-11 20:54:06 +00:00
SocketProcessImpl.cpp Bug 1513059 - Use the minimal XPCOM for the socket process.r=froydnj 2019-01-16 23:05:11 +00:00
SocketProcessImpl.h Bug 1513057 - P1: Start the new socket process basics (prefs, full xpcom init, logging, no sandboxing) r=mayhemer,dragana 2019-01-11 18:57:23 +00:00
SocketProcessLogging.h Bug 1513057 - P1: Start the new socket process basics (prefs, full xpcom init, logging, no sandboxing) r=mayhemer,dragana 2019-01-11 18:57:23 +00:00
SocketProcessParent.cpp Bug 1513057 - P8: Report telemetry from socket process to parent process r=dragana,mayhemer,janerik 2019-01-11 20:59:35 +00:00
SocketProcessParent.h Bug 1513057 - P8: Report telemetry from socket process to parent process r=dragana,mayhemer,janerik 2019-01-11 20:59:35 +00:00