mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
111ff1b2e8
Due to the p1 patch, the first time we get the result back from NS_ShouldSecureUpgrade is always asynchronously. This means that the first http request could be completed slower than the http requests opened after the first one. There are some tests affected by this change, since these tests assume that http requests should be completed in the same order as these requests were created. This patch fixes the tests by introducing a new method in nsIHttpProtocolHandler. This method returns a promise and makes sure the HSTS data is ready to read synchronously when the promise is resolved. Once the HSTS is ready to read, the order of open/close channels will be the same. Differential Revision: https://phabricator.services.mozilla.com/D21683 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
ChannelEventQueue.cpp | ||
ChannelEventQueue.h | ||
moz.build | ||
NeckoChannelParams.ipdlh | ||
NeckoChild.cpp | ||
NeckoChild.h | ||
NeckoCommon.cpp | ||
NeckoCommon.h | ||
NeckoMessageUtils.h | ||
NeckoParent.cpp | ||
NeckoParent.h | ||
NeckoTargetHolder.cpp | ||
NeckoTargetHolder.h | ||
PChannelDiverter.ipdl | ||
PDataChannel.ipdl | ||
PFileChannel.ipdl | ||
PNecko.ipdl | ||
PSimpleChannel.ipdl | ||
PSocketProcess.ipdl | ||
PSocketProcessBridge.ipdl | ||
SocketProcessBridgeChild.cpp | ||
SocketProcessBridgeChild.h | ||
SocketProcessBridgeParent.cpp | ||
SocketProcessBridgeParent.h | ||
SocketProcessChild.cpp | ||
SocketProcessChild.h | ||
SocketProcessHost.cpp | ||
SocketProcessHost.h | ||
SocketProcessImpl.cpp | ||
SocketProcessImpl.h | ||
SocketProcessLogging.h | ||
SocketProcessParent.cpp | ||
SocketProcessParent.h |