commit | 678bfac40a1162ccc84218416ec3521e921cc569 | [log] [tgz] |
---|---|---|
author | Adam Rice <ricea@chromium.org> | Thu Aug 26 04:18:58 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 26 04:18:58 2021 |
tree | 5cfa886d8b9caefcbdc0edd2a1347481fcaa844b | |
parent | 31d0f95806847285e0cae74d60b843e9c138a617 [diff] |
Attach a stack to WebTransportError objects Give WebTransportError objects created from C++ a "stack" attribute that behaves like a normal Error stack. WebTransportError objects created from JavaScript do not have a "stack" attribute, for consistency with DOMException. Split the second half of V8ThrowDOMException::CreateOrEmpty() into a separate function AttachStack() which can be used by subclasses. BUG=1011392 Change-Id: I9137c665efe3e05f317b778091e8b39bce32b15e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3115700 Commit-Queue: Adam Rice <ricea@chromium.org> Reviewed-by: Yuki Shiino <yukishiino@chromium.org> Reviewed-by: Kouhei Ueno <kouhei@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/main@{#915471}
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.