mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-12 17:45:49 +08:00
The live expression editor in the Console tab didn't commit the live expression when hitting 'Enter', but was adding new lines instead. That was quite different from other parts of the DevTools UI. Instead the user would have to hit 'Ctrl-Enter'. This CL changes the editor to also commit on 'Enter' (leaving the 'Ctrl-Enter' shortcut as well for now). Fixed: chromium:1260744 Change-Id: I1cf54f26508be43cc8f6ffb915c577898bc6df93 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3563077 Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Auto-Submit: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Danil Somsikov <dsv@chromium.org> Commit-Queue: Danil Somsikov <dsv@chromium.org>
35 lines
991 B
Plaintext
35 lines
991 B
Plaintext
# Copyright 2020 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("../../../third_party/typescript/typescript.gni")
|
|
|
|
node_ts_library("console") {
|
|
sources = [
|
|
"console-accessors_test.ts",
|
|
"console-autocomplete_test.ts",
|
|
"console-clear_test.ts",
|
|
"console-context-menu_test.ts",
|
|
"console-error-stack_test.ts",
|
|
"console-eval-blocked-by-CSP_test.ts",
|
|
"console-eval-fake_test.ts",
|
|
"console-eval-global_test.ts",
|
|
"console-expand-recursively_test.ts",
|
|
"console-filter_test.ts",
|
|
"console-last-result_test.ts",
|
|
"console-live-expressions_test.ts",
|
|
"console-log_test.ts",
|
|
"console-message-format_test.ts",
|
|
"console-repl-mode_test.ts",
|
|
"console-stack-trace_test.ts",
|
|
"console-trim-long-traces_test.ts",
|
|
"console-trusted-types_test.ts",
|
|
"issues-toolbar_test.ts",
|
|
]
|
|
|
|
deps = [
|
|
"../../shared",
|
|
"../helpers",
|
|
]
|
|
}
|