Files
react-native-devtools-frontend/scripts/build
Mathias Bynens 12708639c7 Remove custom escaping logic in favor of json.dumps
As of ES2019, JSON ⊂ ECMAScript [1], meaning we can use JSON
serialization to embed string literals into JavaScript programs.
This eliminates the need for any custom string escaping logic,
since we can simply use `json.dumps` now.

[1]: https://v8.dev/features/subsume-json

DISABLE_THIRD_PARTY_CHECK=added missing escaping to *.json5 file https://crrev.com/c/4401593

Bug: chromium:1411444
Change-Id: I9f0c5b2dfa218951bcb0d31432c9484666307f7d
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4402896
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Reviewed-by: Ari Chivukula <arichiv@chromium.org>
2023-04-05 13:42:58 +00:00
..
2022-02-25 10:12:14 +00:00
2022-02-08 13:52:42 +00:00