commit | 11ab965dd0ada43f67dced162aca53fecf5d5d41 | [log] [tgz] |
---|---|---|
author | Kaiqi Liang <kaiqiliang@google.com> | Tue Feb 07 01:09:48 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 07 01:09:48 2023 |
tree | f897394291f1bcf05557f4ba326215ad71e8c6c2 | |
parent | 2a48c8fbba7660385ce15ae54cf6d78f6546104d [diff] |
Add backend error handling to support frontend displaying error messages All mojo endpoints now return a Status enum apart from the data to indicate whether there's a network error, a HTTP error or fetch is successful Add "no internet" and "something went wrong" in the frontend if one of those cases happen Something went wrong in trending https://screenshot.googleplex.com/9oSfd4ZH4Udymiq.png No internet in trending https://screenshot.googleplex.com/3FcZYxmC99BpJh8.png Bug: 266024083 Change-Id: Ia5718f1487b3fad075ce2ec089865f7935acc793 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4178493 Reviewed-by: John Palmer <jopalmer@chromium.org> Commit-Queue: Kaiqi Liang <kaiqiliang@google.com> Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1101899}
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.