Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crashes when a request is aborted during initialization (see issue …
…chromiumembedded#2622). Initialization of request objects requires asynchronous hops between the UI and IO threads. In some cases the browser may be destroyed, the mojo connection may be aborted, or the ProxyURLLoaderFactory object may be deleted while initialization is still in progress. This change fixes crashes and adds unit tests that try to reproduce these conditions. To test: Run `ceftests --gtest_repeat=50 --gtest_filter=ResourceRequestHandlerTest.Basic*Abort*`
- Loading branch information