commit | c0c7d3c7215b22456d2ff559ccd509ca7b22efd4 | [log] [tgz] |
---|---|---|
author | Dmitry Gozman <dgozman@chromium.org> | Mon Dec 10 21:09:20 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Dec 10 21:09:20 2018 |
tree | ce750d90b7e34d444183500621e7584a873e6e3d | |
parent | 340b590451023790134cde96d82dfff9f64eb790 [diff] |
WebURLLoaderMock: do not call DidReceiveResponse on failures The real url loader does not notify about response if it failed before receiving first byte of the body data. Our current of calling DidReceiveResponse before DidFail without a single byte of data disagrees with navigation flow, which never sends a response if failed before receiving the body. This patch unblocks synchronous navigation commit from DidReceiveResponse, as opposite to DidReceiveData. Bug: 855189 Change-Id: I48691bc21a5886d3b24e14b5c1d3e2df6e36bb33 Reviewed-on: https://chromium-review.googlesource.com/c/1368653 Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Commit-Queue: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#615252}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .