Fix CrossSiteDocumentBlockingTest.BlockHeaders test for NetworkService.
Before this CL the test was constructing URLLoaderInterceptor too late - after the RenderFrameHostImpl under test has already been created. This CL moves the creation of URLLoaderInterceptor (wrapped in RequestInterceptor) slightly earlier. After this CL the test passes with and without NetworkService. Bug: 846341 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: I47fe27b55c341cdf87292a8aede8462921a9cbab Reviewed-on: https://chromium-review.googlesource.com/1099971 Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by:Nasko Oskov <nasko@chromium.org> Cr-Commit-Position: refs/heads/master@{#567273}
Showing
Please register or sign in to comment