[fuchsia] Fix CookieManagerImplTest.ReconnectToNetworkContext.
ReconnectToNetworkContext flaked due to raciness between disconnection of the Mojo NetworkContext, CookieManager and CookieChangeListener channels. The test now explicitly tears down the NetworkContext binding at the same time as the NetworkService, and sets a closure to watch explicitly for the CookieManagerImpl becoming disconnected from the CookieManager. Bug: 1018178 Change-Id: I2c55569c39e75d1c7190d8c87dbd359d7d1ae709 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1881779Reviewed-by:Kevin Marshall <kmarshall@chromium.org> Commit-Queue: Wez <wez@chromium.org> Auto-Submit: Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#710105}
Showing
Please register or sign in to comment