mSuspendedForDiversion is for the same purpose.
All function involved happened in the same thread.
Differential Revision: https://phabricator.services.mozilla.com/D47124
--HG--
extra : moz-landing-system : lando
Bug 1576386 converted the thread into a threadpool, but when changing that it failed to dispatch the runnable to the thread/threadpool as before.
As a result nsNotifyAddrListener stopped listening for network change events on windows.
Differential Revision: https://phabricator.services.mozilla.com/D46932
--HG--
extra : moz-landing-system : lando
There can be multiple records for the same neighbor with different interface index when the computer is connected to the same network via multiple interfaces, e.g. LAN and WiFi. This patch adds interface index to the key, so when some interface goes down it doesn't remove records belonging to a different interface.
Differential Revision: https://phabricator.services.mozilla.com/D47017
--HG--
extra : moz-landing-system : lando
We previously used the initial LoadInfo from when the DocumentChannel was created, but need the one from the most recent channel in the parent.
Differential Revision: https://phabricator.services.mozilla.com/D46741
--HG--
extra : moz-landing-system : lando
We previously used the initial LoadInfo from when the DocumentChannel was created, but need the one from the most recent channel in the parent.
Differential Revision: https://phabricator.services.mozilla.com/D46741
--HG--
extra : moz-landing-system : lando
We previously used the initial LoadInfo from when the DocumentChannel was created, but need the one from the most recent channel in the parent.
Depends on D46740
Differential Revision: https://phabricator.services.mozilla.com/D46741
--HG--
extra : moz-landing-system : lando
According to the comment above, SchemeIsHTTPS should return an error if the
input is neither http or https.
But we don't assert that the string is not lowercased (as the comment says),
instead we assert if it's not http or https, meaning in debug mode the
function would always panic for such an input.
This patch changes the MOZ_ASSERT to match the comment and only assert if
for some reason the input scheme is not lowercase.
Differential Revision: https://phabricator.services.mozilla.com/D46279
--HG--
extra : moz-landing-system : lando
This patch fixes two problems.
1. nsFtpChannel::SuspendInternal should return NS_ERROR_NOT_AVAILABLE when OnStopRequest is already called, since NS_ERROR_NOT_AVAILABLE is the error code that caller expects.
2. In FTPChannelChild::DivertToParent, we should set mDivertingToParent before calling Suspend. Otherwise, FTPChannelChild could send unexpected suspend message to FTPChannelParent.
Differential Revision: https://phabricator.services.mozilla.com/D46953
--HG--
extra : moz-landing-system : lando
Most of these tests have been disabled for a long time; they run well
in the current test environment.
Differential Revision: https://phabricator.services.mozilla.com/D46642
--HG--
extra : moz-landing-system : lando
Thanks to the promisifying of SendCrossProcessRedirect we no longer needs callback to DocumentChannelParent from nsHttpChannelParent. So we can remove the interface that allowed to do so.
Differential Revision: https://phabricator.services.mozilla.com/D46174
--HG--
rename : netwerk/base/nsICrossProcessSwitchChannel.idl => netwerk/base/nsIProcessSwitchRequestor.idl
extra : moz-landing-system : lando
nsViewSourceChannel will never trigger a change of process. So we can remove this interface from nsViewSourceChannel.
Differential Revision: https://phabricator.services.mozilla.com/D46160
--HG--
extra : moz-landing-system : lando
Similar to MozPromise::FromGeckoResult.
Allows to create a MozPromise that will be resolved/rejected when the JS promise does the same.
It would be nice to be able to chain the two promise types, but it would be an additional effort.
MozPromise::FromDomPromise is limited to primitive types only and the reject value type must be nsresult.
Differential Revision: https://phabricator.services.mozilla.com/D46017
--HG--
extra : moz-landing-system : lando
There's only one consumer of these promises. It doesn't need to be non-exclusive.
Differential Revision: https://phabricator.services.mozilla.com/D46016
--HG--
extra : moz-landing-system : lando
Will allow for SessionStore.jsm process switching to be used by other objects than nsHttpChannel.
Differential Revision: https://phabricator.services.mozilla.com/D46015
--HG--
extra : moz-landing-system : lando
This is a stepped transition ; as SessionStore currently only knows how to deal with nsHttpChannel we have to go through the redirect only if the current channel is a nsHttpChannel.
In a followup change we will allow SessionStore to directly deal with the DocumentParentProcess.
Differential Revision: https://phabricator.services.mozilla.com/D46014
--HG--
extra : moz-landing-system : lando
Patch changes nsAndroidNetworkLinkService so it uses NetlinkService for network ID calculation as well as for notifications about network changes.
Differential Revision: https://phabricator.services.mozilla.com/D43385
--HG--
extra : moz-landing-system : lando