Files
react-native-devtools-frontend/front_end/core/platform
Simon Zünd 43998c2c6b Add 'Breakpoint#backendCondition()' and 'BackendCondition' type
We want to distinguish between the breakpoint condition as the user
entered it, and as we send it to V8. For logpoints we wrap the
condition in a console.log and we also plan to add 'sourceUrl'
comments in the future.

For this, we add a new branded type to also reflect this plan in the
type system. We also add a bottleneck on the `Breakpoint` class where
the modifications to the condition will happen.

For now, `condition()` and `backendCondition()` return the same
string as the migration is under way.

R=kimanh@chromium.org

Bug: 1027458
Change-Id: Ia608f5c668ebad2ae12961b271a1cae06bad6212
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4189999
Reviewed-by: Kim-Anh Tran <kimanh@chromium.org>
Commit-Queue: Simon Zünd <szuend@chromium.org>
2023-01-24 08:06:53 +00:00
..
2021-05-14 13:47:30 +00:00
2021-04-26 13:40:20 +00:00