commit | d501f82a0b54ad36786b8e2ca22ccf881a37ce05 | [log] [tgz] |
---|---|---|
author | Andrey Lushnikov <lushnikov@chromium.org> | Tue Apr 17 06:11:21 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Apr 17 06:11:21 2018 |
tree | af531df501f1560367ecdacb36cc7e74064774a9 | |
parent | fb02f0ec4a52fa0a19009a54d7c9e65b25ca92f5 [diff] |
DevTools: page.navigate should fail when server returned HTTP 204 Browser doesn't commit navigation if server responds HTTP 204 / HTTP 205 for the main resource or if navigation triggers a download. In these cases, navigation is considered aborted. This patch teaches page.navigate to return "ERR:ABORTED" when either of the usecases happens. R=dgozman, pfeldman Change-Id: I0017e458c2f905429c7234bc8f9be20a4201bbfd Reviewed-on: https://chromium-review.googlesource.com/1009487 Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Reviewed-by: Camille Lamy <clamy@chromium.org> Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org> Cr-Commit-Position: refs/heads/master@{#551261}
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 .