gecko-dev/netwerk/ipc
Kershaw Chang 111ff1b2e8 Bug 1521729 - P2: Fix failure tests r=mayhemer
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
2019-03-18 14:50:56 +00:00
..
ChannelEventQueue.cpp Bug 1528677: Remove nullchecks for loadinfo since we have loadinfo on all channels. r=baku 2019-02-20 13:27:25 +01:00
ChannelEventQueue.h
NeckoChannelParams.ipdlh Bug 1534364 - replace OptionalIPCServiceWorkerDescriptor with IPCServiceWorkerDescriptor? in IPDL: r=valentin 2019-03-15 12:55:10 +00:00
NeckoChild.cpp Bug 1535525 - Rename TrackingDummyChannel to ClassifierDummyChannel, r=Ehsan 2019-03-15 18:55:10 +00:00
NeckoChild.h Bug 1535525 - Rename TrackingDummyChannel to ClassifierDummyChannel, r=Ehsan 2019-03-15 18:55:10 +00:00
NeckoCommon.cpp
NeckoCommon.h
NeckoMessageUtils.h Bug 1527505 - Part 9: Make nsIPermissionManager accept ACString arguments for permission types instead of raw C strings; r=nika 2019-02-21 22:54:28 +00:00
NeckoParent.cpp Bug 1521729 - P2: Fix failure tests r=mayhemer 2019-03-18 14:50:56 +00:00
NeckoParent.h Bug 1521729 - P2: Fix failure tests r=mayhemer 2019-03-18 14:50:56 +00:00
NeckoTargetHolder.cpp
NeckoTargetHolder.h
PChannelDiverter.ipdl
PDataChannel.ipdl
PFileChannel.ipdl
PNecko.ipdl Bug 1521729 - P2: Fix failure tests r=mayhemer 2019-03-18 14:50:56 +00:00
PSimpleChannel.ipdl
PSocketProcess.ipdl Bug 1531476 - replace MaybeFileDesc with FileDescriptor? in IPDL; r=mccr8 2019-02-28 21:20:40 +00:00
PSocketProcessBridge.ipdl Bug 1521879 - Part 1: IPC-based MediaTransport implementation r=mjf 2019-02-25 21:50:42 +00:00
SocketProcessBridgeChild.cpp Bug 1521879 - Part 1: IPC-based MediaTransport implementation r=mjf 2019-02-25 21:50:42 +00:00
SocketProcessBridgeChild.h Bug 1521879 - Part 1.1: Compensate for changes to how IPC headers are generated in the last rebase. r=mjf 2019-02-25 21:50:58 +00:00
SocketProcessBridgeParent.cpp Bug 1521879 - Part 1.1: Compensate for changes to how IPC headers are generated in the last rebase. r=mjf 2019-02-25 21:50:58 +00:00
SocketProcessBridgeParent.h Bug 1521879 - Part 1.1: Compensate for changes to how IPC headers are generated in the last rebase. r=mjf 2019-02-25 21:50:58 +00:00
SocketProcessChild.cpp Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-01 09:28:28 +02:00
SocketProcessChild.h Bug 1531476 - replace MaybeFileDesc with FileDescriptor? in IPDL; r=mccr8 2019-02-28 21:20:40 +00:00
SocketProcessHost.cpp Bug 1531476 - replace MaybeFileDesc with FileDescriptor? in IPDL; r=mccr8 2019-02-28 21:20:40 +00:00
SocketProcessHost.h Bug 1531476 - replace MaybeFileDesc with FileDescriptor? in IPDL; r=mccr8 2019-02-28 21:20:40 +00:00
SocketProcessImpl.cpp
SocketProcessImpl.h
SocketProcessLogging.h
SocketProcessParent.cpp Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-01 09:28:28 +02:00
SocketProcessParent.h Bug 1531476 - replace MaybeFileDesc with FileDescriptor? in IPDL; r=mccr8 2019-02-28 21:20:40 +00:00
moz.build Bug 1521879 - Part 1: IPC-based MediaTransport implementation r=mjf 2019-02-25 21:50:42 +00:00