chrome-devtools-frontend 1.0.945579 → 1.0.946920
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/gni/all_devtools_files.gni +0 -7
- package/config/gni/devtools_grd_files.gni +3 -39
- package/front_end/core/host/InspectorFrontendHostAPI.ts +0 -1
- package/front_end/core/host/UserMetrics.ts +0 -22
- package/front_end/core/i18n/locales/en-US.json +33 -27
- package/front_end/core/i18n/locales/en-XL.json +33 -27
- package/front_end/core/root/Runtime.ts +0 -1
- package/front_end/core/sdk/CSSProperty.ts +16 -9
- package/front_end/core/sdk/sdk-meta.ts +20 -8
- package/front_end/devtools_compatibility.js +1 -8
- package/front_end/entrypoints/devtools_app/devtools_app.js +3 -0
- package/front_end/entrypoints/devtools_app/devtools_app.json +1 -2
- package/front_end/entrypoints/formatter_worker/CSSFormatter.ts +1 -3
- package/front_end/entrypoints/formatter_worker/FormatterActions.ts +0 -2
- package/front_end/entrypoints/formatter_worker/FormatterWorker.ts +0 -120
- package/front_end/entrypoints/formatter_worker/formatter_worker-entrypoint.ts +1 -11
- package/front_end/entrypoints/formatter_worker/formatter_worker.ts +5 -0
- package/front_end/entrypoints/js_app/js_app.js +3 -0
- package/front_end/entrypoints/js_app/js_app.json +1 -2
- package/front_end/entrypoints/main/MainImpl.ts +0 -6
- package/front_end/entrypoints/ndb_app/ndb_app.js +3 -0
- package/front_end/entrypoints/ndb_app/ndb_app.json +1 -2
- package/front_end/entrypoints/{node_main → node_app}/NodeConnectionsPanel.ts +1 -1
- package/front_end/entrypoints/{node_main → node_app}/NodeMain.ts +2 -4
- package/front_end/entrypoints/{node_main → node_app}/nodeConnectionsPanel.css +0 -0
- package/front_end/entrypoints/node_app/node_app.ts +81 -0
- package/front_end/entrypoints/shell/shell.js +18 -1
- package/front_end/entrypoints/worker_app/worker_app.js +3 -0
- package/front_end/entrypoints/worker_app/worker_app.json +1 -2
- package/front_end/legacy_test_runner/sources_test_runner/sources_test_runner.js +0 -1
- package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +1 -1
- package/front_end/models/bindings/ResourceMapping.ts +1 -1
- package/front_end/models/formatter/FormatterWorkerPool.ts +0 -18
- package/front_end/models/text_utils/CodeMirrorUtils.ts +6 -51
- package/front_end/models/text_utils/TextUtils.ts +1 -2
- package/front_end/models/text_utils/text_utils-legacy.ts +0 -5
- package/front_end/panels/animation/AnimationTimeline.ts +1 -1
- package/front_end/panels/application/ApplicationPanelSidebar.ts +2 -4
- package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +0 -11
- package/front_end/panels/elements/StylesSidebarPane.ts +0 -1
- package/front_end/panels/elements/elementsTreeOutline.css +0 -13
- package/front_end/panels/emulation/DeviceModeToolbar.ts +0 -16
- package/front_end/panels/network/NetworkConfigView.ts +10 -0
- package/front_end/panels/network/NetworkItemView.ts +10 -1
- package/front_end/panels/network/networkConfigView.css +5 -0
- package/front_end/panels/profiler/heapProfiler.css +2 -5
- package/front_end/panels/profiler/profilesPanel.css +1 -1
- package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +6 -4
- package/front_end/panels/settings/emulation/components/userAgentClientHintsForm.css +0 -12
- package/front_end/panels/sources/DebuggerPlugin.ts +7 -3
- package/front_end/panels/sources/sourcesView.css +0 -130
- package/front_end/panels/timeline/TimelineTreeView.ts +1 -0
- package/front_end/panels/webauthn/WebauthnPane.ts +31 -32
- package/front_end/third_party/codemirror/codemirror-tsconfig.json +1 -25
- package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
- package/front_end/third_party/codemirror.next/codemirror.next.d.ts +1486 -1423
- package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
- package/front_end/third_party/codemirror.next/package.json +9 -9
- package/front_end/ui/components/buttons/Button.ts +17 -0
- package/front_end/ui/components/buttons/button.css +31 -0
- package/front_end/ui/components/data_grid/DataGrid.ts +9 -0
- package/front_end/ui/components/docs/button/basic.ts +42 -0
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryValueInterpreter.ts +0 -8
- package/front_end/ui/components/text_editor/TextEditor.ts +5 -2
- package/front_end/ui/components/text_editor/config.ts +3 -3
- package/front_end/ui/components/text_editor/javascript.ts +28 -10
- package/front_end/ui/components/text_editor/theme.ts +1 -0
- package/front_end/ui/legacy/InspectorView.ts +10 -0
- package/front_end/ui/legacy/ListWidget.ts +2 -2
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +2 -3
- package/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css +0 -1
- package/front_end/ui/legacy/components/object_ui/object_ui-legacy.ts +0 -8
- package/front_end/ui/legacy/components/object_ui/object_ui.ts +0 -4
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +3 -0
- package/front_end/ui/legacy/inspectorSyntaxHighlight.css +0 -211
- package/front_end/ui/legacy/legacy-legacy.ts +0 -6
- package/front_end/ui/legacy/legacy.ts +0 -2
- package/front_end/ui/legacy/tabbedPane.css +1 -1
- package/package.json +1 -1
- package/scripts/check_gn.js +1 -1
- package/scripts/eslint_rules/lib/l10n_filename_matches.js +17 -4
- package/scripts/eslint_rules/tests/l10n_filename_matches_test.js +21 -0
- package/scripts/hosted_mode/server.js +17 -2
- package/front_end/entrypoints/node_app/node_app-meta.ts +0 -43
- package/front_end/entrypoints/node_app/node_app.js +0 -13
- package/front_end/entrypoints/node_app/node_app.json +0 -4
- package/front_end/entrypoints/node_main/node_main-meta.ts +0 -48
- package/front_end/entrypoints/node_main/node_main.ts +0 -11
- package/front_end/entrypoints/shell/shell-meta-files.ts +0 -22
- package/front_end/entrypoints/shell/shell.json +0 -5
- package/front_end/ui/legacy/TextEditor.ts +0 -82
- package/front_end/ui/legacy/components/object_ui/JavaScriptAutocomplete.ts +0 -836
- package/front_end/ui/legacy/components/text_editor/CodeMirrorTextEditor.ts +0 -1676
- package/front_end/ui/legacy/components/text_editor/TextEditorAutocompleteController.ts +0 -586
- package/front_end/ui/legacy/components/text_editor/autocompleteTooltip.css +0 -20
- package/front_end/ui/legacy/components/text_editor/cm_modes.ts +0 -23
- package/front_end/ui/legacy/components/text_editor/cmdevtools.css +0 -995
- package/front_end/ui/legacy/components/text_editor/module.json +0 -7
- package/front_end/ui/legacy/components/text_editor/text_editor-legacy.ts +0 -33
- package/front_end/ui/legacy/components/text_editor/text_editor.ts +0 -13
|
@@ -10,7 +10,6 @@ all_devtools_files = [
|
|
|
10
10
|
"front_end/entrypoints/inspector/inspector.js",
|
|
11
11
|
"front_end/entrypoints/js_app/js_app.js",
|
|
12
12
|
"front_end/entrypoints/ndb_app/ndb_app.js",
|
|
13
|
-
"front_end/entrypoints/node_app/node_app.js",
|
|
14
13
|
"front_end/entrypoints/worker_app/worker_app.js",
|
|
15
14
|
"front_end/legacy_test_runner/accessibility_test_runner/accessibility_test_runner.js",
|
|
16
15
|
"front_end/legacy_test_runner/application_test_runner/application_test_runner.js",
|
|
@@ -30,7 +29,6 @@ all_devtools_files = [
|
|
|
30
29
|
"front_end/legacy_test_runner/bindings_test_runner/IsolatedFilesystemTestRunner.js",
|
|
31
30
|
"front_end/legacy_test_runner/bindings_test_runner/OverridesTestRunner.js",
|
|
32
31
|
"front_end/legacy_test_runner/bindings_test_runner/PersistenceTestRunner.js",
|
|
33
|
-
"front_end/third_party/codemirror/codemirror.css",
|
|
34
32
|
"front_end/legacy_test_runner/console_test_runner/console_test_runner.js",
|
|
35
33
|
"front_end/legacy_test_runner/coverage_test_runner/coverage_test_runner.js",
|
|
36
34
|
"front_end/legacy_test_runner/cpu_profiler_test_runner/cpu_profiler_test_runner.js",
|
|
@@ -51,7 +49,6 @@ all_devtools_files = [
|
|
|
51
49
|
"front_end/legacy_test_runner/layers_test_runner/layers_test_runner.js",
|
|
52
50
|
"front_end/entrypoints/ndb_app/ndb_app.json",
|
|
53
51
|
"front_end/legacy_test_runner/network_test_runner/network_test_runner.js",
|
|
54
|
-
"front_end/entrypoints/node_main/nodeConnectionsPanel.css",
|
|
55
52
|
"front_end/legacy_test_runner/performance_test_runner/performance_test_runner.js",
|
|
56
53
|
"front_end/legacy_test_runner/performance_test_runner/TimelineDataTestRunner.js",
|
|
57
54
|
"front_end/legacy_test_runner/performance_test_runner/TimelineTestRunner.js",
|
|
@@ -114,7 +111,6 @@ all_devtools_files = [
|
|
|
114
111
|
"front_end/models/issues_manager/descriptions/TwaPageUnavailableOffline.md",
|
|
115
112
|
"front_end/legacy_test_runner/sdk_test_runner/sdk_test_runner.js",
|
|
116
113
|
"front_end/legacy_test_runner/security_test_runner/security_test_runner.js",
|
|
117
|
-
"front_end/entrypoints/shell/shell.json",
|
|
118
114
|
"front_end/legacy_test_runner/sources_test_runner/sources_test_runner.js",
|
|
119
115
|
"front_end/legacy_test_runner/sources_test_runner/AutocompleteTestRunner.js",
|
|
120
116
|
"front_end/legacy_test_runner/sources_test_runner/DebuggerTestRunner.js",
|
|
@@ -122,9 +118,6 @@ all_devtools_files = [
|
|
|
122
118
|
"front_end/legacy_test_runner/sources_test_runner/LiveEditTestRunner.js",
|
|
123
119
|
"front_end/legacy_test_runner/sources_test_runner/SearchTestRunner.js",
|
|
124
120
|
"front_end/legacy_test_runner/sources_test_runner/SourcesTestRunner.js",
|
|
125
|
-
"front_end/ui/legacy/components/text_editor/autocompleteTooltip.css",
|
|
126
|
-
"front_end/ui/legacy/components/text_editor/cmdevtools.css",
|
|
127
|
-
"front_end/ui/legacy/components/text_editor/module.json",
|
|
128
121
|
"front_end/third_party/lighthouse/report-assets/report.js",
|
|
129
122
|
"front_end/third_party/lighthouse/report-assets/standalone-template.html",
|
|
130
123
|
]
|
|
@@ -222,11 +222,7 @@ grd_files_release_sources = [
|
|
|
222
222
|
"front_end/entrypoints/main/main-meta.js",
|
|
223
223
|
"front_end/entrypoints/main/main.js",
|
|
224
224
|
"front_end/entrypoints/ndb_app/ndb_app.js",
|
|
225
|
-
"front_end/entrypoints/node_app/node_app-meta.js",
|
|
226
225
|
"front_end/entrypoints/node_app/node_app.js",
|
|
227
|
-
"front_end/entrypoints/node_main/node_main-meta.js",
|
|
228
|
-
"front_end/entrypoints/node_main/node_main.js",
|
|
229
|
-
"front_end/entrypoints/shell/shell-meta-files.js",
|
|
230
226
|
"front_end/entrypoints/shell/shell.js",
|
|
231
227
|
"front_end/entrypoints/startup/startup.js",
|
|
232
228
|
"front_end/entrypoints/wasmparser_worker/wasmparser_worker-entrypoint.js",
|
|
@@ -446,7 +442,6 @@ grd_files_release_sources = [
|
|
|
446
442
|
"front_end/third_party/codemirror.next/chunk/wast.js",
|
|
447
443
|
"front_end/third_party/codemirror.next/chunk/xml.js",
|
|
448
444
|
"front_end/third_party/codemirror.next/codemirror.next.js",
|
|
449
|
-
"front_end/third_party/codemirror/codemirror.js",
|
|
450
445
|
"front_end/third_party/diff/diff-legacy.js",
|
|
451
446
|
"front_end/third_party/diff/diff.js",
|
|
452
447
|
"front_end/third_party/i18n/i18n.js",
|
|
@@ -498,8 +493,6 @@ grd_files_release_sources = [
|
|
|
498
493
|
"front_end/ui/legacy/components/source_frame/source_frame-legacy.js",
|
|
499
494
|
"front_end/ui/legacy/components/source_frame/source_frame-meta.js",
|
|
500
495
|
"front_end/ui/legacy/components/source_frame/source_frame.js",
|
|
501
|
-
"front_end/ui/legacy/components/text_editor/text_editor-legacy.js",
|
|
502
|
-
"front_end/ui/legacy/components/text_editor/text_editor.js",
|
|
503
496
|
"front_end/ui/legacy/components/utils/utils-legacy.js",
|
|
504
497
|
"front_end/ui/legacy/components/utils/utils.js",
|
|
505
498
|
"front_end/ui/legacy/legacy-legacy.js",
|
|
@@ -657,9 +650,9 @@ grd_files_debug_sources = [
|
|
|
657
650
|
"front_end/entrypoints/main/ExecutionContextSelector.js",
|
|
658
651
|
"front_end/entrypoints/main/MainImpl.js",
|
|
659
652
|
"front_end/entrypoints/main/SimpleApp.js",
|
|
660
|
-
"front_end/entrypoints/
|
|
661
|
-
"front_end/entrypoints/
|
|
662
|
-
"front_end/entrypoints/
|
|
653
|
+
"front_end/entrypoints/node_app/NodeConnectionsPanel.js",
|
|
654
|
+
"front_end/entrypoints/node_app/NodeMain.js",
|
|
655
|
+
"front_end/entrypoints/node_app/nodeConnectionsPanel.css.js",
|
|
663
656
|
"front_end/entrypoints/startup/RuntimeInstantiator.js",
|
|
664
657
|
"front_end/entrypoints/wasmparser_worker/WasmParserWorker.js",
|
|
665
658
|
"front_end/generated/ARIAProperties.js",
|
|
@@ -1264,33 +1257,9 @@ grd_files_debug_sources = [
|
|
|
1264
1257
|
"front_end/third_party/acorn-loose/package/dist/acorn-loose.mjs",
|
|
1265
1258
|
"front_end/third_party/acorn/package/dist/acorn.mjs",
|
|
1266
1259
|
"front_end/third_party/chromium/client-variations/ClientVariations.js",
|
|
1267
|
-
"front_end/third_party/codemirror/package/addon/comment/comment.js",
|
|
1268
|
-
"front_end/third_party/codemirror/package/addon/edit/closebrackets.js",
|
|
1269
|
-
"front_end/third_party/codemirror/package/addon/edit/matchbrackets.js",
|
|
1270
|
-
"front_end/third_party/codemirror/package/addon/fold/brace-fold.js",
|
|
1271
|
-
"front_end/third_party/codemirror/package/addon/fold/foldcode.js",
|
|
1272
|
-
"front_end/third_party/codemirror/package/addon/fold/foldgutter.js",
|
|
1273
|
-
"front_end/third_party/codemirror/package/addon/mode/multiplex.js",
|
|
1274
|
-
"front_end/third_party/codemirror/package/addon/mode/overlay.js",
|
|
1275
|
-
"front_end/third_party/codemirror/package/addon/mode/simple.js",
|
|
1276
1260
|
"front_end/third_party/codemirror/package/addon/runmode/runmode-standalone.js",
|
|
1277
|
-
"front_end/third_party/codemirror/package/addon/selection/active-line.js",
|
|
1278
|
-
"front_end/third_party/codemirror/package/addon/selection/mark-selection.js",
|
|
1279
|
-
"front_end/third_party/codemirror/package/lib/codemirror.js",
|
|
1280
|
-
"front_end/third_party/codemirror/package/mode/clike/clike.js",
|
|
1281
|
-
"front_end/third_party/codemirror/package/mode/clojure/clojure.js",
|
|
1282
|
-
"front_end/third_party/codemirror/package/mode/coffeescript/coffeescript.js",
|
|
1283
1261
|
"front_end/third_party/codemirror/package/mode/css/css.js",
|
|
1284
|
-
"front_end/third_party/codemirror/package/mode/htmlembedded/htmlembedded.js",
|
|
1285
|
-
"front_end/third_party/codemirror/package/mode/htmlmixed/htmlmixed.js",
|
|
1286
1262
|
"front_end/third_party/codemirror/package/mode/javascript/javascript.js",
|
|
1287
|
-
"front_end/third_party/codemirror/package/mode/jsx/jsx.js",
|
|
1288
|
-
"front_end/third_party/codemirror/package/mode/livescript/livescript.js",
|
|
1289
|
-
"front_end/third_party/codemirror/package/mode/markdown/markdown.js",
|
|
1290
|
-
"front_end/third_party/codemirror/package/mode/php/php.js",
|
|
1291
|
-
"front_end/third_party/codemirror/package/mode/python/python.js",
|
|
1292
|
-
"front_end/third_party/codemirror/package/mode/shell/shell.js",
|
|
1293
|
-
"front_end/third_party/codemirror/package/mode/wast/wast.js",
|
|
1294
1263
|
"front_end/third_party/codemirror/package/mode/xml/xml.js",
|
|
1295
1264
|
"front_end/third_party/diff/DiffWrapper.js",
|
|
1296
1265
|
"front_end/third_party/diff/diff_match_patch.js",
|
|
@@ -1456,7 +1425,6 @@ grd_files_debug_sources = [
|
|
|
1456
1425
|
"front_end/ui/legacy/SuggestBox.js",
|
|
1457
1426
|
"front_end/ui/legacy/TabbedPane.js",
|
|
1458
1427
|
"front_end/ui/legacy/TargetCrashedScreen.js",
|
|
1459
|
-
"front_end/ui/legacy/TextEditor.js",
|
|
1460
1428
|
"front_end/ui/legacy/TextPrompt.js",
|
|
1461
1429
|
"front_end/ui/legacy/ThrottledWidget.js",
|
|
1462
1430
|
"front_end/ui/legacy/Toolbar.js",
|
|
@@ -1516,7 +1484,6 @@ grd_files_debug_sources = [
|
|
|
1516
1484
|
"front_end/ui/legacy/components/inline_editor/fontEditor.css.js",
|
|
1517
1485
|
"front_end/ui/legacy/components/inline_editor/swatchPopover.css.js",
|
|
1518
1486
|
"front_end/ui/legacy/components/object_ui/CustomPreviewComponent.js",
|
|
1519
|
-
"front_end/ui/legacy/components/object_ui/JavaScriptAutocomplete.js",
|
|
1520
1487
|
"front_end/ui/legacy/components/object_ui/JavaScriptREPL.js",
|
|
1521
1488
|
"front_end/ui/legacy/components/object_ui/ObjectPopoverHelper.js",
|
|
1522
1489
|
"front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.js",
|
|
@@ -1564,9 +1531,6 @@ grd_files_debug_sources = [
|
|
|
1564
1531
|
"front_end/ui/legacy/components/source_frame/resourceSourceFrame.css.legacy.js",
|
|
1565
1532
|
"front_end/ui/legacy/components/source_frame/xmlTree.css.legacy.js",
|
|
1566
1533
|
"front_end/ui/legacy/components/source_frame/xmlView.css.legacy.js",
|
|
1567
|
-
"front_end/ui/legacy/components/text_editor/CodeMirrorTextEditor.js",
|
|
1568
|
-
"front_end/ui/legacy/components/text_editor/TextEditorAutocompleteController.js",
|
|
1569
|
-
"front_end/ui/legacy/components/text_editor/cm_modes.js",
|
|
1570
1534
|
"front_end/ui/legacy/components/utils/ImagePreview.js",
|
|
1571
1535
|
"front_end/ui/legacy/components/utils/JSPresentationUtils.js",
|
|
1572
1536
|
"front_end/ui/legacy/components/utils/Linkifier.js",
|
|
@@ -361,7 +361,6 @@ export enum EnumeratedHistogram {
|
|
|
361
361
|
ExperimentEnabledAtLaunch = 'DevTools.ExperimentEnabledAtLaunch',
|
|
362
362
|
ExperimentEnabled = 'DevTools.ExperimentEnabled',
|
|
363
363
|
ExperimentDisabled = 'DevTools.ExperimentDisabled',
|
|
364
|
-
CssEditorOpened = 'DevTools.CssEditorOpened',
|
|
365
364
|
DeveloperResourceLoaded = 'DevTools.DeveloperResourceLoaded',
|
|
366
365
|
DeveloperResourceScheme = 'DevTools.DeveloperResourceScheme',
|
|
367
366
|
LinearMemoryInspectorRevealedFrom = 'DevTools.LinearMemoryInspector.RevealedFrom',
|
|
@@ -164,18 +164,6 @@ export class UserMetrics {
|
|
|
164
164
|
EnumeratedHistogram.DualScreenDeviceEmulated, emulationAction, size);
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
cssEditorOpened(editorName: string): void {
|
|
168
|
-
const size = Object.keys(CssEditorOpened).length + 1;
|
|
169
|
-
const key = editorName;
|
|
170
|
-
const value = CssEditorOpened[key];
|
|
171
|
-
|
|
172
|
-
if (value === undefined) {
|
|
173
|
-
return;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
InspectorFrontendHostInstance.recordEnumeratedHistogram(EnumeratedHistogram.CssEditorOpened, value, size);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
167
|
experimentEnabledAtLaunch(experimentId: string): void {
|
|
180
168
|
const size = DevtoolsExperiments['__lastValidEnumPosition'] + 1;
|
|
181
169
|
const experiment = DevtoolsExperiments[experimentId];
|
|
@@ -557,15 +545,6 @@ export enum DualScreenDeviceEmulated {
|
|
|
557
545
|
PlatformSupportUsed = 2, // user starts to use platform dual screen support feature.
|
|
558
546
|
}
|
|
559
547
|
|
|
560
|
-
export const CssEditorOpened: {
|
|
561
|
-
[x: string]: number,
|
|
562
|
-
} = {
|
|
563
|
-
'colorPicker': 0,
|
|
564
|
-
'shadowEditor': 1,
|
|
565
|
-
'bezierEditor': 2,
|
|
566
|
-
'fontEditor': 3,
|
|
567
|
-
};
|
|
568
|
-
|
|
569
548
|
/**
|
|
570
549
|
* This list should contain the currently active Devtools Experiments.
|
|
571
550
|
* Therefore, it is possible that the id's will no longer be continuous
|
|
@@ -611,7 +590,6 @@ export const DevtoolsExperiments: {
|
|
|
611
590
|
'ignoreListJSFramesOnTimeline': 43,
|
|
612
591
|
'contrastIssues': 44,
|
|
613
592
|
'experimentalCookieFeatures': 45,
|
|
614
|
-
'bfcacheDebugging': 47,
|
|
615
593
|
'hideIssuesFeature': 48,
|
|
616
594
|
'reportingApiDebugging': 49,
|
|
617
595
|
'syncSettings': 50,
|
|
@@ -584,6 +584,9 @@
|
|
|
584
584
|
"core/sdk/sdk-meta.ts | disabledDarkMode": {
|
|
585
585
|
"message": "Disable"
|
|
586
586
|
},
|
|
587
|
+
"core/sdk/sdk-meta.ts | disableEmulateAutoDarkMode": {
|
|
588
|
+
"message": "Disable auto dark mode"
|
|
589
|
+
},
|
|
587
590
|
"core/sdk/sdk-meta.ts | disableJavascript": {
|
|
588
591
|
"message": "Disable JavaScript"
|
|
589
592
|
},
|
|
@@ -614,6 +617,9 @@
|
|
|
614
617
|
"core/sdk/sdk-meta.ts | doNotEmulateCssMediaType": {
|
|
615
618
|
"message": "Do not emulate CSS media type"
|
|
616
619
|
},
|
|
620
|
+
"core/sdk/sdk-meta.ts | doNotEmulateDarkMode": {
|
|
621
|
+
"message": "Do not emulate auto dark mode"
|
|
622
|
+
},
|
|
617
623
|
"core/sdk/sdk-meta.ts | doNotExtendGridLines": {
|
|
618
624
|
"message": "Do not extend grid lines"
|
|
619
625
|
},
|
|
@@ -686,6 +692,9 @@
|
|
|
686
692
|
"core/sdk/sdk-meta.ts | enabledDarkMode": {
|
|
687
693
|
"message": "Enable"
|
|
688
694
|
},
|
|
695
|
+
"core/sdk/sdk-meta.ts | enableEmulateAutoDarkMode": {
|
|
696
|
+
"message": "Enable auto dark mode"
|
|
697
|
+
},
|
|
689
698
|
"core/sdk/sdk-meta.ts | enableJavascript": {
|
|
690
699
|
"message": "Enable JavaScript"
|
|
691
700
|
},
|
|
@@ -1199,40 +1208,40 @@
|
|
|
1199
1208
|
"entrypoints/main/MainImpl.ts | undockIntoSeparateWindow": {
|
|
1200
1209
|
"message": "Undock into separate window"
|
|
1201
1210
|
},
|
|
1202
|
-
"entrypoints/node_app/node_app
|
|
1203
|
-
"message": "
|
|
1211
|
+
"entrypoints/node_app/node_app.ts | connection": {
|
|
1212
|
+
"message": "Connection"
|
|
1204
1213
|
},
|
|
1205
|
-
"entrypoints/node_app/node_app
|
|
1214
|
+
"entrypoints/node_app/node_app.ts | networkTitle": {
|
|
1206
1215
|
"message": "Node"
|
|
1207
1216
|
},
|
|
1208
|
-
"entrypoints/
|
|
1209
|
-
"message": "Connection"
|
|
1210
|
-
},
|
|
1211
|
-
"entrypoints/node_main/node_main-meta.ts | node": {
|
|
1217
|
+
"entrypoints/node_app/node_app.ts | node": {
|
|
1212
1218
|
"message": "node"
|
|
1213
1219
|
},
|
|
1214
|
-
"entrypoints/
|
|
1220
|
+
"entrypoints/node_app/node_app.ts | showConnection": {
|
|
1215
1221
|
"message": "Show Connection"
|
|
1216
1222
|
},
|
|
1217
|
-
"entrypoints/
|
|
1223
|
+
"entrypoints/node_app/node_app.ts | showNode": {
|
|
1224
|
+
"message": "Node"
|
|
1225
|
+
},
|
|
1226
|
+
"entrypoints/node_app/NodeConnectionsPanel.ts | addConnection": {
|
|
1218
1227
|
"message": "Add connection"
|
|
1219
1228
|
},
|
|
1220
|
-
"entrypoints/
|
|
1229
|
+
"entrypoints/node_app/NodeConnectionsPanel.ts | networkAddressEgLocalhost": {
|
|
1221
1230
|
"message": "Network address (e.g. localhost:9229)"
|
|
1222
1231
|
},
|
|
1223
|
-
"entrypoints/
|
|
1232
|
+
"entrypoints/node_app/NodeConnectionsPanel.ts | noConnectionsSpecified": {
|
|
1224
1233
|
"message": "No connections specified"
|
|
1225
1234
|
},
|
|
1226
|
-
"entrypoints/
|
|
1235
|
+
"entrypoints/node_app/NodeConnectionsPanel.ts | nodejsDebuggingGuide": {
|
|
1227
1236
|
"message": "Node.js debugging guide"
|
|
1228
1237
|
},
|
|
1229
|
-
"entrypoints/
|
|
1238
|
+
"entrypoints/node_app/NodeConnectionsPanel.ts | specifyNetworkEndpointAnd": {
|
|
1230
1239
|
"message": "Specify network endpoint and DevTools will connect to it automatically. Read {PH1} to learn more."
|
|
1231
1240
|
},
|
|
1232
|
-
"entrypoints/
|
|
1241
|
+
"entrypoints/node_app/NodeMain.ts | main": {
|
|
1233
1242
|
"message": "Main"
|
|
1234
1243
|
},
|
|
1235
|
-
"entrypoints/
|
|
1244
|
+
"entrypoints/node_app/NodeMain.ts | nodejsS": {
|
|
1236
1245
|
"message": "Node.js: {PH1}"
|
|
1237
1246
|
},
|
|
1238
1247
|
"entrypoints/worker_app/WorkerMain.ts | main": {
|
|
@@ -6374,6 +6383,9 @@
|
|
|
6374
6383
|
"panels/network/NetworkConfigView.ts | caching": {
|
|
6375
6384
|
"message": "Caching"
|
|
6376
6385
|
},
|
|
6386
|
+
"panels/network/NetworkConfigView.ts | clientHintsStatusText": {
|
|
6387
|
+
"message": "User agent updated."
|
|
6388
|
+
},
|
|
6377
6389
|
"panels/network/NetworkConfigView.ts | custom": {
|
|
6378
6390
|
"message": "Custom..."
|
|
6379
6391
|
},
|
|
@@ -11681,15 +11693,6 @@
|
|
|
11681
11693
|
"ui/legacy/components/object_ui/CustomPreviewComponent.ts | showAsJavascriptObject": {
|
|
11682
11694
|
"message": "Show as JavaScript object"
|
|
11683
11695
|
},
|
|
11684
|
-
"ui/legacy/components/object_ui/JavaScriptAutocomplete.ts | keys": {
|
|
11685
|
-
"message": "Keys"
|
|
11686
|
-
},
|
|
11687
|
-
"ui/legacy/components/object_ui/JavaScriptAutocomplete.ts | keywords": {
|
|
11688
|
-
"message": "keywords"
|
|
11689
|
-
},
|
|
11690
|
-
"ui/legacy/components/object_ui/JavaScriptAutocomplete.ts | lexicalScopeVariables": {
|
|
11691
|
-
"message": "Lexical scope variables"
|
|
11692
|
-
},
|
|
11693
11696
|
"ui/legacy/components/object_ui/ObjectPropertiesSection.ts | collapseChildren": {
|
|
11694
11697
|
"message": "Collapse children"
|
|
11695
11698
|
},
|
|
@@ -11954,9 +11957,6 @@
|
|
|
11954
11957
|
"ui/legacy/components/source_frame/XMLView.ts | find": {
|
|
11955
11958
|
"message": "Find"
|
|
11956
11959
|
},
|
|
11957
|
-
"ui/legacy/components/text_editor/CodeMirrorTextEditor.ts | codeEditor": {
|
|
11958
|
-
"message": "Code editor"
|
|
11959
|
-
},
|
|
11960
11960
|
"ui/legacy/components/utils/ImagePreview.ts | currentSource": {
|
|
11961
11961
|
"message": "Current source:"
|
|
11962
11962
|
},
|
|
@@ -12065,6 +12065,12 @@
|
|
|
12065
12065
|
"ui/legacy/InspectorView.ts | drawer": {
|
|
12066
12066
|
"message": "Tool drawer"
|
|
12067
12067
|
},
|
|
12068
|
+
"ui/legacy/InspectorView.ts | drawerHidden": {
|
|
12069
|
+
"message": "Drawer hidden"
|
|
12070
|
+
},
|
|
12071
|
+
"ui/legacy/InspectorView.ts | drawerShown": {
|
|
12072
|
+
"message": "Drawer shown"
|
|
12073
|
+
},
|
|
12068
12074
|
"ui/legacy/InspectorView.ts | mainToolbar": {
|
|
12069
12075
|
"message": "Main toolbar"
|
|
12070
12076
|
},
|
|
@@ -584,6 +584,9 @@
|
|
|
584
584
|
"core/sdk/sdk-meta.ts | disabledDarkMode": {
|
|
585
585
|
"message": "D̂íŝáb̂ĺê"
|
|
586
586
|
},
|
|
587
|
+
"core/sdk/sdk-meta.ts | disableEmulateAutoDarkMode": {
|
|
588
|
+
"message": "D̂íŝáb̂ĺê áût́ô d́âŕk̂ ḿôd́ê"
|
|
589
|
+
},
|
|
587
590
|
"core/sdk/sdk-meta.ts | disableJavascript": {
|
|
588
591
|
"message": "D̂íŝáb̂ĺê J́âv́âŚĉŕîṕt̂"
|
|
589
592
|
},
|
|
@@ -614,6 +617,9 @@
|
|
|
614
617
|
"core/sdk/sdk-meta.ts | doNotEmulateCssMediaType": {
|
|
615
618
|
"message": "D̂ó n̂ót̂ ém̂úl̂át̂é ĈŚŜ ḿêd́îá t̂ýp̂é"
|
|
616
619
|
},
|
|
620
|
+
"core/sdk/sdk-meta.ts | doNotEmulateDarkMode": {
|
|
621
|
+
"message": "D̂ó n̂ót̂ ém̂úl̂át̂é âút̂ó d̂ár̂ḱ m̂ód̂é"
|
|
622
|
+
},
|
|
617
623
|
"core/sdk/sdk-meta.ts | doNotExtendGridLines": {
|
|
618
624
|
"message": "D̂ó n̂ót̂ éx̂t́êńd̂ ǵr̂íd̂ ĺîńêś"
|
|
619
625
|
},
|
|
@@ -686,6 +692,9 @@
|
|
|
686
692
|
"core/sdk/sdk-meta.ts | enabledDarkMode": {
|
|
687
693
|
"message": "Êńâb́l̂é"
|
|
688
694
|
},
|
|
695
|
+
"core/sdk/sdk-meta.ts | enableEmulateAutoDarkMode": {
|
|
696
|
+
"message": "Êńâb́l̂é âút̂ó d̂ár̂ḱ m̂ód̂é"
|
|
697
|
+
},
|
|
689
698
|
"core/sdk/sdk-meta.ts | enableJavascript": {
|
|
690
699
|
"message": "Êńâb́l̂é Ĵáv̂áŜćr̂íp̂t́"
|
|
691
700
|
},
|
|
@@ -1199,40 +1208,40 @@
|
|
|
1199
1208
|
"entrypoints/main/MainImpl.ts | undockIntoSeparateWindow": {
|
|
1200
1209
|
"message": "Ûńd̂óĉḱ îńt̂ó ŝép̂ár̂át̂é ŵín̂d́ôẃ"
|
|
1201
1210
|
},
|
|
1202
|
-
"entrypoints/node_app/node_app
|
|
1203
|
-
"message": "
|
|
1211
|
+
"entrypoints/node_app/node_app.ts | connection": {
|
|
1212
|
+
"message": "Ĉón̂ńêćt̂íôń"
|
|
1204
1213
|
},
|
|
1205
|
-
"entrypoints/node_app/node_app
|
|
1214
|
+
"entrypoints/node_app/node_app.ts | networkTitle": {
|
|
1206
1215
|
"message": "N̂ód̂é"
|
|
1207
1216
|
},
|
|
1208
|
-
"entrypoints/
|
|
1209
|
-
"message": "Ĉón̂ńêćt̂íôń"
|
|
1210
|
-
},
|
|
1211
|
-
"entrypoints/node_main/node_main-meta.ts | node": {
|
|
1217
|
+
"entrypoints/node_app/node_app.ts | node": {
|
|
1212
1218
|
"message": "n̂ód̂é"
|
|
1213
1219
|
},
|
|
1214
|
-
"entrypoints/
|
|
1220
|
+
"entrypoints/node_app/node_app.ts | showConnection": {
|
|
1215
1221
|
"message": "Ŝh́ôẃ Ĉón̂ńêćt̂íôń"
|
|
1216
1222
|
},
|
|
1217
|
-
"entrypoints/
|
|
1223
|
+
"entrypoints/node_app/node_app.ts | showNode": {
|
|
1224
|
+
"message": "N̂ód̂é"
|
|
1225
|
+
},
|
|
1226
|
+
"entrypoints/node_app/NodeConnectionsPanel.ts | addConnection": {
|
|
1218
1227
|
"message": "Âd́d̂ ćôńn̂éĉt́îón̂"
|
|
1219
1228
|
},
|
|
1220
|
-
"entrypoints/
|
|
1229
|
+
"entrypoints/node_app/NodeConnectionsPanel.ts | networkAddressEgLocalhost": {
|
|
1221
1230
|
"message": "N̂ét̂ẃôŕk̂ ád̂d́r̂éŝś (ê.ǵ. l̂óĉál̂h́ôśt̂:9229)"
|
|
1222
1231
|
},
|
|
1223
|
-
"entrypoints/
|
|
1232
|
+
"entrypoints/node_app/NodeConnectionsPanel.ts | noConnectionsSpecified": {
|
|
1224
1233
|
"message": "N̂ó ĉón̂ńêćt̂íôńŝ śp̂éĉíf̂íêd́"
|
|
1225
1234
|
},
|
|
1226
|
-
"entrypoints/
|
|
1235
|
+
"entrypoints/node_app/NodeConnectionsPanel.ts | nodejsDebuggingGuide": {
|
|
1227
1236
|
"message": "N̂ód̂é.ĵś d̂éb̂úĝǵîńĝ ǵûíd̂é"
|
|
1228
1237
|
},
|
|
1229
|
-
"entrypoints/
|
|
1238
|
+
"entrypoints/node_app/NodeConnectionsPanel.ts | specifyNetworkEndpointAnd": {
|
|
1230
1239
|
"message": "Ŝṕêćîf́ŷ ńêt́ŵór̂ḱ êńd̂ṕôín̂t́ âńd̂ D́êv́T̂óôĺŝ ẃîĺl̂ ćôńn̂éĉt́ t̂ó ît́ âút̂óm̂át̂íĉál̂ĺŷ. Ŕêád̂ {PH1} t́ô ĺêár̂ń m̂ór̂é."
|
|
1231
1240
|
},
|
|
1232
|
-
"entrypoints/
|
|
1241
|
+
"entrypoints/node_app/NodeMain.ts | main": {
|
|
1233
1242
|
"message": "M̂áîń"
|
|
1234
1243
|
},
|
|
1235
|
-
"entrypoints/
|
|
1244
|
+
"entrypoints/node_app/NodeMain.ts | nodejsS": {
|
|
1236
1245
|
"message": "N̂ód̂é.ĵś: {PH1}"
|
|
1237
1246
|
},
|
|
1238
1247
|
"entrypoints/worker_app/WorkerMain.ts | main": {
|
|
@@ -6374,6 +6383,9 @@
|
|
|
6374
6383
|
"panels/network/NetworkConfigView.ts | caching": {
|
|
6375
6384
|
"message": "Ĉáĉh́îńĝ"
|
|
6376
6385
|
},
|
|
6386
|
+
"panels/network/NetworkConfigView.ts | clientHintsStatusText": {
|
|
6387
|
+
"message": "Ûśêŕ âǵêńt̂ úp̂d́ât́êd́."
|
|
6388
|
+
},
|
|
6377
6389
|
"panels/network/NetworkConfigView.ts | custom": {
|
|
6378
6390
|
"message": "Ĉúŝt́ôḿ..."
|
|
6379
6391
|
},
|
|
@@ -11681,15 +11693,6 @@
|
|
|
11681
11693
|
"ui/legacy/components/object_ui/CustomPreviewComponent.ts | showAsJavascriptObject": {
|
|
11682
11694
|
"message": "Ŝh́ôẃ âś Ĵáv̂áŜćr̂íp̂t́ ôb́ĵéĉt́"
|
|
11683
11695
|
},
|
|
11684
|
-
"ui/legacy/components/object_ui/JavaScriptAutocomplete.ts | keys": {
|
|
11685
|
-
"message": "K̂éŷś"
|
|
11686
|
-
},
|
|
11687
|
-
"ui/legacy/components/object_ui/JavaScriptAutocomplete.ts | keywords": {
|
|
11688
|
-
"message": "k̂éŷẃôŕd̂ś"
|
|
11689
|
-
},
|
|
11690
|
-
"ui/legacy/components/object_ui/JavaScriptAutocomplete.ts | lexicalScopeVariables": {
|
|
11691
|
-
"message": "L̂éx̂íĉál̂ śĉóp̂é v̂ár̂íâb́l̂éŝ"
|
|
11692
|
-
},
|
|
11693
11696
|
"ui/legacy/components/object_ui/ObjectPropertiesSection.ts | collapseChildren": {
|
|
11694
11697
|
"message": "Ĉól̂ĺâṕŝé ĉh́îĺd̂ŕêń"
|
|
11695
11698
|
},
|
|
@@ -11954,9 +11957,6 @@
|
|
|
11954
11957
|
"ui/legacy/components/source_frame/XMLView.ts | find": {
|
|
11955
11958
|
"message": "F̂ín̂d́"
|
|
11956
11959
|
},
|
|
11957
|
-
"ui/legacy/components/text_editor/CodeMirrorTextEditor.ts | codeEditor": {
|
|
11958
|
-
"message": "Ĉód̂é êd́ît́ôŕ"
|
|
11959
|
-
},
|
|
11960
11960
|
"ui/legacy/components/utils/ImagePreview.ts | currentSource": {
|
|
11961
11961
|
"message": "Ĉúr̂ŕêńt̂ śôúr̂ćê:"
|
|
11962
11962
|
},
|
|
@@ -12065,6 +12065,12 @@
|
|
|
12065
12065
|
"ui/legacy/InspectorView.ts | drawer": {
|
|
12066
12066
|
"message": "T̂óôĺ d̂ŕâẃêŕ"
|
|
12067
12067
|
},
|
|
12068
|
+
"ui/legacy/InspectorView.ts | drawerHidden": {
|
|
12069
|
+
"message": "D̂ŕâẃêŕ ĥíd̂d́êń"
|
|
12070
|
+
},
|
|
12071
|
+
"ui/legacy/InspectorView.ts | drawerShown": {
|
|
12072
|
+
"message": "D̂ŕâẃêŕ ŝh́ôẃn̂"
|
|
12073
|
+
},
|
|
12068
12074
|
"ui/legacy/InspectorView.ts | mainToolbar": {
|
|
12069
12075
|
"message": "M̂áîń t̂óôĺb̂ár̂"
|
|
12070
12076
|
},
|
|
@@ -59,7 +59,6 @@ export const mappingForLayoutTests = new Map<string, string>([
|
|
|
59
59
|
['ui/legacy/components/source_frame', 'source_frame'],
|
|
60
60
|
['ui/legacy/components/color_picker', 'color_picker'],
|
|
61
61
|
['ui/legacy/components/cookie_table', 'cookie_table'],
|
|
62
|
-
['ui/legacy/components/text_editor', 'text_editor'],
|
|
63
62
|
['ui/legacy/components/quick_open', 'quick_open'],
|
|
64
63
|
['ui/legacy/components/utils', 'components'],
|
|
65
64
|
]);
|
|
@@ -6,8 +6,8 @@ import * as TextUtils from '../../models/text_utils/text_utils.js';
|
|
|
6
6
|
import * as Common from '../common/common.js';
|
|
7
7
|
import * as HostModule from '../host/host.js';
|
|
8
8
|
import * as Platform from '../platform/platform.js';
|
|
9
|
+
import * as Root from '../root/root.js';
|
|
9
10
|
import type * as Protocol from '../../generated/protocol.js';
|
|
10
|
-
import type * as CodeMirrorModule from '../../third_party/codemirror/codemirror-legacy.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
11
11
|
|
|
12
12
|
import {cssMetadata, GridAreaRowRegex} from './CSSMetadata.js';
|
|
13
13
|
import type {Edit} from './CSSModel.js';
|
|
@@ -178,7 +178,7 @@ export class CSSProperty {
|
|
|
178
178
|
|
|
179
179
|
static formatStyle(
|
|
180
180
|
styleText: string, indentation: string, endIndentation: string,
|
|
181
|
-
tokenizerFactory: TextUtils.TextUtils.TokenizerFactory
|
|
181
|
+
tokenizerFactory: TextUtils.TextUtils.TokenizerFactory): string {
|
|
182
182
|
const doubleIndent = indentation.substring(endIndentation.length) + indentation;
|
|
183
183
|
if (indentation) {
|
|
184
184
|
indentation = '\n' + indentation;
|
|
@@ -188,7 +188,7 @@ export class CSSProperty {
|
|
|
188
188
|
let propertyText = '';
|
|
189
189
|
let insideProperty = false;
|
|
190
190
|
let needsSemi = false;
|
|
191
|
-
const tokenize = tokenizerFactory.createTokenizer('text/css'
|
|
191
|
+
const tokenize = tokenizerFactory.createTokenizer('text/css');
|
|
192
192
|
|
|
193
193
|
tokenize('*{' + styleText + '}', processToken);
|
|
194
194
|
if (insideProperty) {
|
|
@@ -199,10 +199,10 @@ export class CSSProperty {
|
|
|
199
199
|
|
|
200
200
|
function processToken(token: string, tokenType: string|null, _column: number, _newColumn: number): void {
|
|
201
201
|
if (!insideProperty) {
|
|
202
|
-
const disabledProperty = tokenType && tokenType.includes('
|
|
202
|
+
const disabledProperty = tokenType && tokenType.includes('comment') && isDisabledProperty(token);
|
|
203
203
|
const isPropertyStart = tokenType &&
|
|
204
|
-
(tokenType.includes('
|
|
205
|
-
tokenType.includes('
|
|
204
|
+
(tokenType.includes('string') || tokenType.includes('meta') || tokenType.includes('property') ||
|
|
205
|
+
tokenType.includes('variable-2'));
|
|
206
206
|
if (disabledProperty) {
|
|
207
207
|
result = result.trimRight() + indentation + token;
|
|
208
208
|
} else if (isPropertyStart) {
|
|
@@ -210,7 +210,7 @@ export class CSSProperty {
|
|
|
210
210
|
propertyText = token;
|
|
211
211
|
} else if (token !== ';' || needsSemi) {
|
|
212
212
|
result += token;
|
|
213
|
-
if (token.trim() && !(tokenType && tokenType.includes('
|
|
213
|
+
if (token.trim() && !(tokenType && tokenType.includes('comment'))) {
|
|
214
214
|
needsSemi = token !== ';';
|
|
215
215
|
}
|
|
216
216
|
}
|
|
@@ -227,11 +227,18 @@ export class CSSProperty {
|
|
|
227
227
|
// implementation takes special care to restore a single
|
|
228
228
|
// whitespace token in this edge case. https://crbug.com/1071296
|
|
229
229
|
const trimmedPropertyText = propertyText.trim();
|
|
230
|
-
result =
|
|
231
|
-
(trimmedPropertyText.endsWith(':') ? ' ' : '')
|
|
230
|
+
result =
|
|
231
|
+
result.trimRight() + indentation + trimmedPropertyText + (trimmedPropertyText.endsWith(':') ? ' ' : '');
|
|
232
232
|
needsSemi = false;
|
|
233
233
|
insideProperty = false;
|
|
234
234
|
propertyName = '';
|
|
235
|
+
if (Root.Runtime.experiments.isEnabled('preciseChanges')) {
|
|
236
|
+
result += token;
|
|
237
|
+
return;
|
|
238
|
+
}
|
|
239
|
+
// We preserve the legacy behavior to always add semicolon to
|
|
240
|
+
// declarations regardless of its original text.
|
|
241
|
+
result += ';';
|
|
235
242
|
if (token === '}') {
|
|
236
243
|
result += '}';
|
|
237
244
|
}
|
|
@@ -306,8 +306,8 @@ const UIStrings = {
|
|
|
306
306
|
*/
|
|
307
307
|
enableCache: 'Enable cache',
|
|
308
308
|
/**
|
|
309
|
-
|
|
310
|
-
|
|
309
|
+
* @description Title of a setting under the Network category that can be invoked through the Command Menu
|
|
310
|
+
*/
|
|
311
311
|
disableCache: 'Disable cache (while DevTools is open)',
|
|
312
312
|
/**
|
|
313
313
|
* @description The name of a checkbox setting in the Rendering tool. This setting
|
|
@@ -315,13 +315,25 @@ const UIStrings = {
|
|
|
315
315
|
*/
|
|
316
316
|
emulateAutoDarkMode: 'Emulate auto dark mode',
|
|
317
317
|
/**
|
|
318
|
-
|
|
318
|
+
* @description Title of a setting for enabling auto dark mode.
|
|
319
|
+
*/
|
|
320
|
+
enableEmulateAutoDarkMode: 'Enable auto dark mode',
|
|
321
|
+
/**
|
|
322
|
+
* @description Text to emulate enabled auto dark mode.
|
|
319
323
|
*/
|
|
320
324
|
enabledDarkMode: 'Enable',
|
|
321
325
|
/**
|
|
322
|
-
|
|
323
|
-
|
|
326
|
+
* @description Title of a setting for disabling auto dark mode.
|
|
327
|
+
*/
|
|
328
|
+
disableEmulateAutoDarkMode: 'Disable auto dark mode',
|
|
329
|
+
/**
|
|
330
|
+
* @description Text to emulate disabled auto dark mode.
|
|
331
|
+
*/
|
|
324
332
|
disabledDarkMode: 'Disable',
|
|
333
|
+
/**
|
|
334
|
+
* @description Title of a setting for disabling dark mode emulation.
|
|
335
|
+
*/
|
|
336
|
+
doNotEmulateDarkMode: 'Do not emulate auto dark mode',
|
|
325
337
|
};
|
|
326
338
|
const str_ = i18n.i18n.registerUIStrings('core/sdk/sdk-meta.ts', UIStrings);
|
|
327
339
|
const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);
|
|
@@ -1042,17 +1054,17 @@ Common.Settings.registerSettingExtension({
|
|
|
1042
1054
|
defaultValue: 'default',
|
|
1043
1055
|
options: [
|
|
1044
1056
|
{
|
|
1045
|
-
title: i18nLazyString(UIStrings.
|
|
1057
|
+
title: i18nLazyString(UIStrings.doNotEmulateDarkMode),
|
|
1046
1058
|
text: i18nLazyString(UIStrings.noEmulation),
|
|
1047
1059
|
value: 'default',
|
|
1048
1060
|
},
|
|
1049
1061
|
{
|
|
1050
|
-
title: i18nLazyString(UIStrings.
|
|
1062
|
+
title: i18nLazyString(UIStrings.enableEmulateAutoDarkMode),
|
|
1051
1063
|
text: i18nLazyString(UIStrings.enabledDarkMode),
|
|
1052
1064
|
value: 'enabled',
|
|
1053
1065
|
},
|
|
1054
1066
|
{
|
|
1055
|
-
title: i18nLazyString(UIStrings.
|
|
1067
|
+
title: i18nLazyString(UIStrings.disableEmulateAutoDarkMode),
|
|
1056
1068
|
text: i18nLazyString(UIStrings.disabledDarkMode),
|
|
1057
1069
|
value: 'disabled',
|
|
1058
1070
|
},
|
|
@@ -389,7 +389,6 @@
|
|
|
389
389
|
ExperimentEnabledAtLaunch: 'DevTools.ExperimentEnabledAtLaunch',
|
|
390
390
|
ExperimentEnabled: 'DevTools.ExperimentEnabled',
|
|
391
391
|
ExperimentDisabled: 'DevTools.ExperimentDisabled',
|
|
392
|
-
CssEditorOpened: 'DevTools.CssEditorOpened',
|
|
393
392
|
DeveloperResourceLoaded: 'DevTools.DeveloperResourceLoaded',
|
|
394
393
|
DeveloperResourceScheme: 'DevTools.DeveloperResourceScheme',
|
|
395
394
|
LinearMemoryInspectorRevealedFrom: 'DevTools.LinearMemoryInspector.RevealedFrom',
|
|
@@ -401,6 +400,7 @@
|
|
|
401
400
|
RecordingReplayFinished: 'DevTools.RecordingReplayFinished',
|
|
402
401
|
RecordingReplayStarted: 'DevTools.RecordingReplayStarted',
|
|
403
402
|
RecordingToggled: 'DevTools.RecordingToggled',
|
|
403
|
+
SyncSetting: 'DevTools.SyncSetting',
|
|
404
404
|
};
|
|
405
405
|
|
|
406
406
|
/**
|
|
@@ -1490,13 +1490,6 @@
|
|
|
1490
1490
|
styleRules.push('* { min-width: 0; min-height: 0; }');
|
|
1491
1491
|
}
|
|
1492
1492
|
|
|
1493
|
-
if (majorVersion <= 51) {
|
|
1494
|
-
// Support for quirky border-image behavior (<M51), see:
|
|
1495
|
-
// https://bugs.chromium.org/p/chromium/issues/detail?id=559258
|
|
1496
|
-
styleRules.push('.cm-breakpoint .CodeMirror-linenumber { border-style: solid !important; }');
|
|
1497
|
-
styleRules.push(
|
|
1498
|
-
'.cm-breakpoint.cm-breakpoint-conditional .CodeMirror-linenumber { border-style: solid !important; }');
|
|
1499
|
-
}
|
|
1500
1493
|
if (majorVersion <= 71) {
|
|
1501
1494
|
styleRules.push(
|
|
1502
1495
|
'.coverage-toolbar-container, .animation-timeline-toolbar-container, .computed-properties { flex-basis: auto; }');
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
// found in the LICENSE file.
|
|
4
4
|
import '../shell/shell.js';
|
|
5
5
|
import './devtools_app-meta-files.js';
|
|
6
|
+
|
|
7
|
+
import * as Main from '../main/main.js';
|
|
6
8
|
import * as Startup from '../startup/startup.js';
|
|
7
9
|
|
|
10
|
+
new Main.MainImpl.MainImpl();
|
|
8
11
|
Startup.RuntimeInstantiator.startApplication('devtools_app');
|