commit | 264143474b77e60f514af513d5c9ca265084a733 | [log] [tgz] |
---|---|---|
author | Adam Rice <ricea@chromium.org> | Thu Mar 02 03:30:38 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 02 03:30:38 2023 |
tree | d58b3f40c72e0e2bfb400f311bb43314f63da1f6 | |
parent | a81499902a233c1f6cdc41156ff81910106f57a2 [diff] |
Fix DCHECK in blink::BodyStreamBuffer::EndLoading FetchDataLoaderAsFormData::OnStateChange() would call DidFetchDataLoadFailed() on parse failure. It then would call it again when it finished reading the input. The double call to DidFetchDataLoadFailed() caused a DCHECK failure in BodyStreamBuffer::EndLoading(). Fix it by stopping reading from the input after a parse failure, ensuring that DidFetchDataLoadFailed() is only called once. BUG=1412007 Change-Id: I38b7815020e85cbdedc38c207c945b1dee011083 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4296718 Commit-Queue: Adam Rice <ricea@chromium.org> Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/main@{#1112039}
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.