Fix a likely bug in HandleSetImageResponsein the android webview embedded test server.
The code looks like the break should be inside the if, so that the loop has a chance of running more than once. I tried reaching out to the author of this code, but didn't hear back. But with this change, header_exist should become true more often and the test code is stricter when it's true. So since tests still pass with this, this might help catch problems in the future. Bug: 346399,686247 Change-Id: I25e8c1a38043af09936e35c58e87db3bee103e9a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2120048 Commit-Queue: Bo <boliu@chromium.org> Auto-Submit: Nico Weber <thakis@chromium.org> Reviewed-by:Bo <boliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#753999}
Showing
Please register or sign in to comment