commit | b41bfe4b17f7ec1f108b2cc356ceafc46ddf93f3 | [log] [tgz] |
---|---|---|
author | Vladimir Levin <vmpstr@chromium.org> | Tue Jul 16 21:13:44 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jul 16 21:13:44 2019 |
tree | 08201954133f2c0d95aa4ceff2724732d912fb18 | |
parent | 8e8156df1f3e317dde09a4f02032ee97c4de718d [diff] |
Test: Create a fake WebURLLoaderFactory in tests This patch changes the way we create a WebURLLoaderFactory in tests. The change is that we will inform the client that the load has resulted in an error (for both sync and async cases), instead of crashing when accessing nullptr objects in WebURLLoaderImpl This ensures that fuzzer tests avoid the async load crash, and can continue. R=yhirano@chromium.org, avi@chromium.org Change-Id: I1c0dd8c37fc6c08c1afb11dbe8b1e63b62b13524 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1691145 Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Avi Drissman <avi@chromium.org> Commit-Queue: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#677969}
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 .