gecko-dev/netwerk/ipc
Eden Chuang 8e9a848cef Bug 1561706 - Update the controlled client in ServiceWorkerManager after process switching r=asuth,valentin,perry
When Fission is on, loading a cross-origin iframe triggers process switching when calling the channel::OnStartReqeust.
If a ServiceWorker should intercept the loading, the interception setting is completed while opening the channel.
That means the service worker controls the ClientSource created by the old process.
After process switching completed, the new ClientSource will be created and resume the loading from the opened channel.
However, in the original code, we did not update the controlled Client in the ServiceWorkerManager.
And when loading the same origin subresource in the new process, it makes ServiceWorkerManager cannot find the correct ServiceWorker to perform the interception.

Since we are going to release sw-e10s, this patch is only for both Fission and sw-e10s are on.

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

--HG--
extra : moz-landing-system : lando
2019-10-17 21:42:30 +00:00
..
ChannelEventQueue.cpp
ChannelEventQueue.h
DocumentChannelChild.cpp Bug 1583076 - Pass LoadInfo back for the current channel when confirming redirects. r=ckerschb 2019-09-25 08:25:29 +00:00
DocumentChannelChild.h Bug 1583076 - Pass LoadInfo back for the current channel when confirming redirects. r=ckerschb 2019-09-25 08:25:29 +00:00
DocumentChannelParent.cpp Bug 1561706 - Update the controlled client in ServiceWorkerManager after process switching r=asuth,valentin,perry 2019-10-17 21:42:30 +00:00
DocumentChannelParent.h Bug 1576714 - Part 5: Delay canceling original document channel during process switch, r=mattwoodrow 2019-10-15 16:19:20 +00:00
NeckoChannelParams.ipdlh Bug 1566868 - network error for non empty sandboxing flag and non-null COOP r=valentin 2019-10-15 06:09:26 +00:00
NeckoChild.cpp 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 2019-09-18 14:27:42 +00:00
NeckoChild.h 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 2019-09-18 14:27:42 +00:00
NeckoCommon.cpp
NeckoCommon.h Bug 1556489 - P18. Add DocumentChannel and hook it up. r=nika,mayhemer 2019-09-03 10:19:38 +10:00
NeckoMessageUtils.h Bug 1231213 - Add OptionalServiceWorkerData to RemoteWorkerData. r=asuth 2019-08-15 17:26:42 +00:00
NeckoParent.cpp 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 2019-09-18 14:27:42 +00:00
NeckoParent.h 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 2019-09-18 14:27:42 +00:00
NeckoTargetHolder.cpp
NeckoTargetHolder.h
PChannelDiverter.ipdl
PDataChannel.ipdl Bug 1570369 - Part 12: Use IPDL refcounted for PDataChannel, r=mayhemer 2019-08-16 10:45:57 +00:00
PDocumentChannel.ipdl Bug 1583076 - Pass LoadInfo back for the current channel when confirming redirects. r=ckerschb 2019-09-25 08:25:29 +00:00
PFileChannel.ipdl Bug 1570369 - Part 13: Use IPDL refcounted for PFileChannel, r=mayhemer 2019-08-16 10:46:30 +00:00
PNecko.ipdl 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 2019-09-18 14:27:42 +00:00
PSimpleChannel.ipdl
PSocketProcess.ipdl 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 2019-09-18 14:27:42 +00:00
PSocketProcessBridge.ipdl Bug 1560636: Avoid using main thread with PMediaTransport. r=mjf,kershaw 2019-07-15 15:49:30 +00:00
SocketProcessBridgeChild.cpp Bug 1242221 - Close IPC channel before MessageLoop gets destroyed r=mayhemer 2019-07-25 15:24:02 +00:00
SocketProcessBridgeChild.h Bug 1560636: Avoid using main thread with PMediaTransport. r=mjf,kershaw 2019-07-15 15:49:30 +00:00
SocketProcessBridgeParent.cpp Bug 1242221 - Close IPC channel before MessageLoop gets destroyed r=mayhemer 2019-07-25 15:24:02 +00:00
SocketProcessBridgeParent.h Bug 1242221 - Close IPC channel before MessageLoop gets destroyed r=mayhemer 2019-07-25 15:24:02 +00:00
SocketProcessChild.cpp 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 2019-09-18 14:27:42 +00:00
SocketProcessChild.h 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 2019-09-18 14:27:42 +00:00
SocketProcessHost.cpp Bug 1539029 - pt 3 - de-duplicate building cmdline for shared prefs class. r=kmag 2019-04-09 21:07:47 +00:00
SocketProcessHost.h
SocketProcessImpl.cpp
SocketProcessImpl.h
SocketProcessLogging.h
SocketProcessParent.cpp 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 2019-09-18 14:27:42 +00:00
SocketProcessParent.h 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 2019-09-18 14:27:42 +00:00
moz.build 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 2019-09-18 14:27:42 +00:00