mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-07 12:33:47 +08:00
We do not want source locations which are on the ignore-list to show up in stack traces. Ignore-listed stack frames should only be shown after clicking a 'show more' link. This behaviour was broken, most likely since the introduction of async live source locations. This CL fixes the behaviour by updating the stack traces after the LiveLocations have been updated. Screenshots: (before clicking 'show more') https://i.imgur.com/Gzrv5uw.png (after clicking 'show more') https://i.imgur.com/DVj7EJ2.png Bug: 1183325 Change-Id: I2fea963acbed6c6f18ea2426fd3a60960158b18d Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2727495 Commit-Queue: Wolfgang Beyer <wolfi@chromium.org> Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
12 lines
119 B
JavaScript
12 lines
119 B
JavaScript
function shown1() {
|
|
shown2();
|
|
}
|
|
|
|
function shown2() {
|
|
shown3();
|
|
}
|
|
|
|
function shown3() {
|
|
document.doesNotExist();
|
|
}
|