• John Abd-El-Malek's avatar
    Fix flakes with prerender browser tests on network service. · c9934051
    John Abd-El-Malek authored
    The problem was with the new CreateHangingFirstRequestInterceptor implementation for the network service case. Returning "true" from the URLLoaderInterceptor isn't enough to hang the frame request, as the URLLoaderClient interfaceptr's destruction will lead to an error in the renderer and an error page will commit. Prerendering code would then think that the prerender has committed and can be used.
    
    Bug: 800373
    Change-Id: Id5b8e20fcec8850b9b00d57cbae803102d95d59d
    Reviewed-on: https://chromium-review.googlesource.com/857961Reviewed-by: default avatarYuzhu Shen <yzshen@chromium.org>
    Commit-Queue: John Abd-El-Malek <jam@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#528355}
    c9934051
prerender_browsertest.cc 156 KB