commit | da3f3cdd384f55e7f289e7b0413c0b4c717d9852 | [log] [tgz] |
---|---|---|
author | Florian Zubeil <zubeil@google.com> | Thu Apr 11 17:50:10 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 11 17:50:10 2024 |
tree | 78d41292d2a396291397ea313b34a63bec168417 | |
parent | a0583a216550c4ec599518d3911f50f5543fdc4e [diff] |
Do not call GetHttpReasonPhrase https://crrev.com/c/5371447 introduced calling ::net::GetHttpReasonPhrase to map a `response_code` to a string. However, when no network is present, `response_code` is 0 and ::net::GetHttpReasonPhrase runs into `NOT_REACHED`, which crashes chrome on non-official builds. Since this mapping seems mostly for convenience, this CL proposed to remove it. Please let me know if you prefer to fix it differently. Bug: b:333365281 Change-Id: Ife03b30c33bb44d6c18b33302b345647a92c8517 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5434994 Reviewed-by: Alberto Juarez <albertojuarez@google.com> Commit-Queue: Alberto Juarez <albertojuarez@google.com> Reviewed-by: Steffen Seckler <sseckler@google.com> Cr-Commit-Position: refs/heads/main@{#1285940}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.