chrome-devtools-frontend 1.0.934332 → 1.0.935974
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 -23
- package/config/gni/devtools_grd_files.gni +7 -15
- package/front_end/Tests.js +15 -2
- package/front_end/core/host/UserMetrics.ts +0 -1
- package/front_end/core/i18n/locales/en-US.json +18 -6
- package/front_end/core/i18n/locales/en-XL.json +18 -6
- package/front_end/core/root/Runtime.ts +0 -1
- package/front_end/core/sdk/ConsoleModel.ts +0 -20
- package/front_end/core/sdk/DOMModel.ts +3 -3
- package/front_end/core/sdk/sdk-meta.ts +3 -0
- package/front_end/entrypoints/devtools_app/devtools_app.json +0 -5
- package/front_end/entrypoints/inspector_main/RenderingOptions.ts +1 -1
- package/front_end/entrypoints/inspector_main/inspector_main-meta.ts +1 -0
- package/front_end/entrypoints/main/MainImpl.ts +1 -11
- package/front_end/entrypoints/main/main-meta.ts +2 -1
- package/front_end/entrypoints/shell/shell.json +0 -10
- package/front_end/entrypoints/worker_app/worker_app.json +0 -3
- package/front_end/models/emulation/EmulatedDevices.ts +306 -84
- package/front_end/models/issues_manager/IssuesManager.ts +2 -2
- package/front_end/models/issues_manager/{DeprecationIssue.ts → NavigatorUserAgentIssue.ts} +4 -4
- package/front_end/models/issues_manager/issues_manager.ts +2 -2
- package/front_end/panels/application/BackForwardCacheView.ts +54 -6
- package/front_end/panels/application/module.json +0 -3
- package/front_end/panels/changes/changes-meta.ts +0 -3
- package/front_end/panels/console/ConsoleFilter.ts +1 -1
- package/front_end/panels/console/ConsoleViewMessage.ts +2 -19
- package/front_end/panels/console/module.json +0 -2
- package/front_end/panels/console_counters/console_counters-meta.ts +0 -3
- package/front_end/panels/coverage/module.json +0 -1
- package/front_end/panels/css_overview/module.json +1 -2
- package/front_end/panels/developer_resources/developer_resources-meta.ts +0 -2
- package/front_end/panels/elements/ElementsTreeElement.ts +1 -1
- package/front_end/panels/elements/StylesSidebarPane.ts +15 -0
- package/front_end/panels/elements/elements-meta.ts +5 -0
- package/front_end/panels/elements/module.json +0 -1
- package/front_end/panels/emulation/DeviceModeWrapper.ts +4 -0
- package/front_end/panels/event_listeners/module.json +1 -2
- package/front_end/panels/help/help-meta.ts +0 -3
- package/front_end/panels/input/input-meta.ts +0 -2
- package/front_end/panels/lighthouse/LighthouseProtocolService.ts +1 -5
- package/front_end/panels/media/module.json +0 -1
- package/front_end/panels/mobile_throttling/mobile_throttling-meta.ts +1 -0
- package/front_end/panels/network/module.json +0 -4
- package/front_end/panels/network/network-meta.ts +2 -0
- package/front_end/panels/profiler/module.json +1 -3
- package/front_end/panels/profiler/profiler-meta.ts +1 -0
- package/front_end/panels/profiler/profilesPanel.css +1 -1
- package/front_end/panels/sensors/sensors-meta.ts +1 -0
- package/front_end/panels/settings/emulation/devicesSettingsTab.css +1 -1
- package/front_end/panels/settings/settings-meta.ts +0 -2
- package/front_end/panels/sources/CallStackSidebarPane.ts +21 -0
- package/front_end/panels/sources/NavigatorView.ts +8 -8
- package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +15 -0
- package/front_end/panels/sources/module.json +0 -5
- package/front_end/panels/sources/sources-meta.ts +12 -0
- package/front_end/panels/sources/watchExpressionsSidebarPane.css +10 -3
- package/front_end/panels/timeline/module.json +0 -1
- package/front_end/panels/timeline/timeline-meta.ts +1 -0
- package/front_end/panels/web_audio/web_audio-meta.ts +0 -3
- package/front_end/panels/webauthn/webauthn-meta.ts +0 -2
- package/front_end/ui/components/buttons/button.css +1 -0
- package/front_end/ui/components/text_editor/config.ts +1 -1
- package/front_end/ui/components/text_editor/theme.ts +13 -0
- package/front_end/ui/legacy/GlassPane.ts +4 -0
- package/front_end/ui/legacy/InspectorView.ts +0 -4
- package/front_end/ui/legacy/TabbedPane.ts +4 -0
- package/front_end/ui/legacy/ViewManager.ts +10 -2
- package/front_end/ui/legacy/components/color_picker/Spectrum.ts +2 -1
- package/front_end/ui/legacy/components/cookie_table/CookiesTable.ts +6 -1
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +3 -1
- package/front_end/ui/legacy/components/data_grid/dataGrid.css +5 -0
- package/front_end/ui/legacy/components/inline_editor/CSSLength.ts +10 -3
- package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/cssLength.css +30 -9
- package/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts +2 -1
- package/front_end/ui/legacy/components/object_ui/ObjectPopoverHelper.ts +4 -3
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +5 -5
- package/front_end/ui/legacy/components/perf_ui/perf_ui-meta.ts +1 -0
- package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +3 -1
- package/front_end/ui/legacy/components/quick_open/quick_open-meta.ts +0 -3
- package/front_end/ui/legacy/components/source_frame/module.json +1 -2
- package/front_end/ui/legacy/components/source_frame/source_frame-meta.ts +1 -0
- package/front_end/ui/legacy/themeColors.css +4 -0
- package/package.json +1 -1
- package/front_end/panels/changes/module.json +0 -7
- package/front_end/panels/console_counters/module.json +0 -5
- package/front_end/panels/developer_resources/module.json +0 -6
- package/front_end/panels/help/module.json +0 -5
- package/front_end/panels/input/module.json +0 -5
- package/front_end/panels/search/module.json +0 -5
- package/front_end/panels/settings/module.json +0 -5
- package/front_end/panels/snippets/module.json +0 -6
- package/front_end/panels/web_audio/module.json +0 -5
- package/front_end/panels/webauthn/module.json +0 -6
- package/front_end/ui/legacy/components/color_picker/module.json +0 -8
- package/front_end/ui/legacy/components/cookie_table/module.json +0 -9
- package/front_end/ui/legacy/components/data_grid/module.json +0 -8
- package/front_end/ui/legacy/components/object_ui/module.json +0 -11
- package/front_end/ui/legacy/components/quick_open/module.json +0 -8
|
@@ -35,11 +35,7 @@ all_devtools_files = [
|
|
|
35
35
|
"front_end/legacy_test_runner/bindings_test_runner/OverridesTestRunner.js",
|
|
36
36
|
"front_end/legacy_test_runner/bindings_test_runner/PersistenceTestRunner.js",
|
|
37
37
|
"front_end/panels/browser_debugger/module.json",
|
|
38
|
-
"front_end/panels/changes/module.json",
|
|
39
38
|
"front_end/third_party/codemirror/codemirror.css",
|
|
40
|
-
"front_end/ui/legacy/components/color_picker/module.json",
|
|
41
|
-
"front_end/ui/legacy/components/color_picker/spectrum.css",
|
|
42
|
-
"front_end/panels/console_counters/module.json",
|
|
43
39
|
"front_end/legacy_test_runner/console_test_runner/console_test_runner.js",
|
|
44
40
|
"front_end/panels/console/consoleContextSelector.css",
|
|
45
41
|
"front_end/panels/console/consolePinPane.css",
|
|
@@ -47,15 +43,11 @@ all_devtools_files = [
|
|
|
47
43
|
"front_end/panels/console/consoleSidebar.css",
|
|
48
44
|
"front_end/panels/console/consoleView.css",
|
|
49
45
|
"front_end/panels/console/module.json",
|
|
50
|
-
"front_end/ui/legacy/components/cookie_table/cookiesTable.css",
|
|
51
|
-
"front_end/ui/legacy/components/cookie_table/module.json",
|
|
52
46
|
"front_end/legacy_test_runner/coverage_test_runner/coverage_test_runner.js",
|
|
53
47
|
"front_end/panels/coverage/module.json",
|
|
54
48
|
"front_end/legacy_test_runner/cpu_profiler_test_runner/cpu_profiler_test_runner.js",
|
|
55
49
|
"front_end/panels/css_overview/module.json",
|
|
56
50
|
"front_end/legacy_test_runner/data_grid_test_runner/data_grid_test_runner.js",
|
|
57
|
-
"front_end/ui/legacy/components/data_grid/dataGrid.css",
|
|
58
|
-
"front_end/ui/legacy/components/data_grid/module.json",
|
|
59
51
|
"front_end/legacy_test_runner/device_mode_test_runner/device_mode_test_runner.js",
|
|
60
52
|
"front_end/legacy_test_runner/elements_test_runner/elements_test_runner.js",
|
|
61
53
|
"front_end/legacy_test_runner/elements_test_runner/EditDOMTestRunner.js",
|
|
@@ -75,7 +67,6 @@ all_devtools_files = [
|
|
|
75
67
|
"front_end/legacy_test_runner/extensions_test_runner/ExtensionsNetworkTestRunner.js",
|
|
76
68
|
"front_end/legacy_test_runner/extensions_test_runner/ExtensionsTestRunner.js",
|
|
77
69
|
"front_end/legacy_test_runner/heap_profiler_test_runner/heap_profiler_test_runner.js",
|
|
78
|
-
"front_end/panels/help/module.json",
|
|
79
70
|
"front_end/ui/legacy/components/inline_editor/bezierEditor.css",
|
|
80
71
|
"front_end/ui/legacy/components/inline_editor/bezierSwatch.css",
|
|
81
72
|
"front_end/ui/legacy/components/inline_editor/colorSwatch.css",
|
|
@@ -84,7 +75,6 @@ all_devtools_files = [
|
|
|
84
75
|
"front_end/ui/legacy/components/inline_editor/fontEditor.css",
|
|
85
76
|
"front_end/ui/legacy/components/inline_editor/module.json",
|
|
86
77
|
"front_end/ui/legacy/components/inline_editor/swatchPopover.css",
|
|
87
|
-
"front_end/panels/input/module.json",
|
|
88
78
|
"front_end/entrypoints/inspector_main/module.json",
|
|
89
79
|
"front_end/entrypoints/inspector_main/nodeIcon.css",
|
|
90
80
|
"front_end/entrypoints/inspector_main/renderingOptions.css",
|
|
@@ -102,11 +92,6 @@ all_devtools_files = [
|
|
|
102
92
|
"front_end/panels/network/module.json",
|
|
103
93
|
"front_end/entrypoints/node_main/module.json",
|
|
104
94
|
"front_end/entrypoints/node_main/nodeConnectionsPanel.css",
|
|
105
|
-
"front_end/ui/legacy/components/object_ui/customPreviewComponent.css",
|
|
106
|
-
"front_end/ui/legacy/components/object_ui/module.json",
|
|
107
|
-
"front_end/ui/legacy/components/object_ui/objectPopover.css",
|
|
108
|
-
"front_end/ui/legacy/components/object_ui/objectPropertiesSection.css",
|
|
109
|
-
"front_end/ui/legacy/components/object_ui/objectValue.css",
|
|
110
95
|
"front_end/ui/legacy/components/perf_ui/chartViewport.css",
|
|
111
96
|
"front_end/ui/legacy/components/perf_ui/filmStripView.css",
|
|
112
97
|
"front_end/ui/legacy/components/perf_ui/flameChart.css",
|
|
@@ -178,19 +163,13 @@ all_devtools_files = [
|
|
|
178
163
|
"front_end/models/issues_manager/descriptions/TwaDigitalAssetLinksFailed.md",
|
|
179
164
|
"front_end/models/issues_manager/descriptions/TwaHttpError.md",
|
|
180
165
|
"front_end/models/issues_manager/descriptions/TwaPageUnavailableOffline.md",
|
|
181
|
-
"front_end/panels/developer_resources/module.json",
|
|
182
166
|
"front_end/panels/protocol_monitor/module.json",
|
|
183
|
-
"front_end/ui/legacy/components/quick_open/filteredListWidget.css",
|
|
184
|
-
"front_end/ui/legacy/components/quick_open/module.json",
|
|
185
167
|
"front_end/panels/application/module.json",
|
|
186
168
|
"front_end/panels/screencast/module.json",
|
|
187
169
|
"front_end/legacy_test_runner/sdk_test_runner/sdk_test_runner.js",
|
|
188
|
-
"front_end/panels/search/module.json",
|
|
189
170
|
"front_end/legacy_test_runner/security_test_runner/security_test_runner.js",
|
|
190
171
|
"front_end/panels/security/module.json",
|
|
191
|
-
"front_end/panels/settings/module.json",
|
|
192
172
|
"front_end/entrypoints/shell/shell.json",
|
|
193
|
-
"front_end/panels/snippets/module.json",
|
|
194
173
|
"front_end/ui/legacy/components/source_frame/fontView.css",
|
|
195
174
|
"front_end/ui/legacy/components/source_frame/imageView.css",
|
|
196
175
|
"front_end/ui/legacy/components/source_frame/jsonView.css",
|
|
@@ -252,8 +231,6 @@ all_devtools_files = [
|
|
|
252
231
|
"front_end/ui/legacy/toolbar.css",
|
|
253
232
|
"front_end/ui/legacy/treeoutline.css",
|
|
254
233
|
"front_end/ui/legacy/viewContainers.css",
|
|
255
|
-
"front_end/panels/web_audio/module.json",
|
|
256
|
-
"front_end/panels/webauthn/module.json",
|
|
257
234
|
]
|
|
258
235
|
|
|
259
236
|
lighthouse_locale_files = [
|
|
@@ -344,7 +344,6 @@ grd_files_release_sources = [
|
|
|
344
344
|
"front_end/panels/changes/changes-legacy.js",
|
|
345
345
|
"front_end/panels/changes/changes-meta.js",
|
|
346
346
|
"front_end/panels/changes/changes.js",
|
|
347
|
-
"front_end/panels/changes/changes_module.js",
|
|
348
347
|
"front_end/panels/console/console-legacy.js",
|
|
349
348
|
"front_end/panels/console/console-meta.js",
|
|
350
349
|
"front_end/panels/console/console.js",
|
|
@@ -361,7 +360,6 @@ grd_files_release_sources = [
|
|
|
361
360
|
"front_end/panels/css_overview/css_overview_module.js",
|
|
362
361
|
"front_end/panels/developer_resources/developer_resources-meta.js",
|
|
363
362
|
"front_end/panels/developer_resources/developer_resources.js",
|
|
364
|
-
"front_end/panels/developer_resources/developer_resources_module.js",
|
|
365
363
|
"front_end/panels/elements/components/components.js",
|
|
366
364
|
"front_end/panels/elements/elements-legacy.js",
|
|
367
365
|
"front_end/panels/elements/elements-meta.js",
|
|
@@ -375,10 +373,8 @@ grd_files_release_sources = [
|
|
|
375
373
|
"front_end/panels/event_listeners/event_listeners_module.js",
|
|
376
374
|
"front_end/panels/help/help-meta.js",
|
|
377
375
|
"front_end/panels/help/help.js",
|
|
378
|
-
"front_end/panels/help/help_module.js",
|
|
379
376
|
"front_end/panels/input/input-meta.js",
|
|
380
377
|
"front_end/panels/input/input.js",
|
|
381
|
-
"front_end/panels/input/input_module.js",
|
|
382
378
|
"front_end/panels/issues/components/components.js",
|
|
383
379
|
"front_end/panels/issues/issues-meta.js",
|
|
384
380
|
"front_end/panels/issues/issues.js",
|
|
@@ -423,7 +419,6 @@ grd_files_release_sources = [
|
|
|
423
419
|
"front_end/panels/screencast/screencast.js",
|
|
424
420
|
"front_end/panels/search/search-legacy.js",
|
|
425
421
|
"front_end/panels/search/search.js",
|
|
426
|
-
"front_end/panels/search/search_module.js",
|
|
427
422
|
"front_end/panels/security/security-legacy.js",
|
|
428
423
|
"front_end/panels/security/security-meta.js",
|
|
429
424
|
"front_end/panels/security/security.js",
|
|
@@ -438,10 +433,8 @@ grd_files_release_sources = [
|
|
|
438
433
|
"front_end/panels/settings/settings-legacy.js",
|
|
439
434
|
"front_end/panels/settings/settings-meta.js",
|
|
440
435
|
"front_end/panels/settings/settings.js",
|
|
441
|
-
"front_end/panels/settings/settings_module.js",
|
|
442
436
|
"front_end/panels/snippets/snippets-legacy.js",
|
|
443
437
|
"front_end/panels/snippets/snippets.js",
|
|
444
|
-
"front_end/panels/snippets/snippets_module.js",
|
|
445
438
|
"front_end/panels/sources/sources-legacy.js",
|
|
446
439
|
"front_end/panels/sources/sources-meta.js",
|
|
447
440
|
"front_end/panels/sources/sources.js",
|
|
@@ -456,10 +449,8 @@ grd_files_release_sources = [
|
|
|
456
449
|
"front_end/panels/web_audio/web_audio-legacy.js",
|
|
457
450
|
"front_end/panels/web_audio/web_audio-meta.js",
|
|
458
451
|
"front_end/panels/web_audio/web_audio.js",
|
|
459
|
-
"front_end/panels/web_audio/web_audio_module.js",
|
|
460
452
|
"front_end/panels/webauthn/webauthn-meta.js",
|
|
461
453
|
"front_end/panels/webauthn/webauthn.js",
|
|
462
|
-
"front_end/panels/webauthn/webauthn_module.js",
|
|
463
454
|
"front_end/third_party/acorn-loose/acorn-loose.js",
|
|
464
455
|
"front_end/third_party/acorn/acorn.js",
|
|
465
456
|
"front_end/third_party/chromium/client-variations/client-variations.js",
|
|
@@ -510,20 +501,16 @@ grd_files_release_sources = [
|
|
|
510
501
|
"front_end/ui/components/tree_outline/tree_outline.js",
|
|
511
502
|
"front_end/ui/legacy/components/color_picker/color_picker-legacy.js",
|
|
512
503
|
"front_end/ui/legacy/components/color_picker/color_picker.js",
|
|
513
|
-
"front_end/ui/legacy/components/color_picker/color_picker_module.js",
|
|
514
504
|
"front_end/ui/legacy/components/cookie_table/cookie_table-legacy.js",
|
|
515
505
|
"front_end/ui/legacy/components/cookie_table/cookie_table.js",
|
|
516
|
-
"front_end/ui/legacy/components/cookie_table/cookie_table_module.js",
|
|
517
506
|
"front_end/ui/legacy/components/data_grid/data_grid-legacy.js",
|
|
518
507
|
"front_end/ui/legacy/components/data_grid/data_grid.js",
|
|
519
|
-
"front_end/ui/legacy/components/data_grid/data_grid_module.js",
|
|
520
508
|
"front_end/ui/legacy/components/inline_editor/inline_editor-legacy.js",
|
|
521
509
|
"front_end/ui/legacy/components/inline_editor/inline_editor.js",
|
|
522
510
|
"front_end/ui/legacy/components/inline_editor/inline_editor_module.js",
|
|
523
511
|
"front_end/ui/legacy/components/object_ui/object_ui-legacy.js",
|
|
524
512
|
"front_end/ui/legacy/components/object_ui/object_ui-meta.js",
|
|
525
513
|
"front_end/ui/legacy/components/object_ui/object_ui.js",
|
|
526
|
-
"front_end/ui/legacy/components/object_ui/object_ui_module.js",
|
|
527
514
|
"front_end/ui/legacy/components/perf_ui/perf_ui-legacy.js",
|
|
528
515
|
"front_end/ui/legacy/components/perf_ui/perf_ui-meta.js",
|
|
529
516
|
"front_end/ui/legacy/components/perf_ui/perf_ui.js",
|
|
@@ -531,7 +518,6 @@ grd_files_release_sources = [
|
|
|
531
518
|
"front_end/ui/legacy/components/quick_open/quick_open-legacy.js",
|
|
532
519
|
"front_end/ui/legacy/components/quick_open/quick_open-meta.js",
|
|
533
520
|
"front_end/ui/legacy/components/quick_open/quick_open.js",
|
|
534
|
-
"front_end/ui/legacy/components/quick_open/quick_open_module.js",
|
|
535
521
|
"front_end/ui/legacy/components/source_frame/source_frame-legacy.js",
|
|
536
522
|
"front_end/ui/legacy/components/source_frame/source_frame-meta.js",
|
|
537
523
|
"front_end/ui/legacy/components/source_frame/source_frame.js",
|
|
@@ -742,7 +728,6 @@ grd_files_debug_sources = [
|
|
|
742
728
|
"front_end/models/issues_manager/ContrastCheckTrigger.js",
|
|
743
729
|
"front_end/models/issues_manager/CorsIssue.js",
|
|
744
730
|
"front_end/models/issues_manager/CrossOriginEmbedderPolicyIssue.js",
|
|
745
|
-
"front_end/models/issues_manager/DeprecationIssue.js",
|
|
746
731
|
"front_end/models/issues_manager/GenericIssue.js",
|
|
747
732
|
"front_end/models/issues_manager/HeavyAdIssue.js",
|
|
748
733
|
"front_end/models/issues_manager/Issue.js",
|
|
@@ -752,6 +737,7 @@ grd_files_debug_sources = [
|
|
|
752
737
|
"front_end/models/issues_manager/LowTextContrastIssue.js",
|
|
753
738
|
"front_end/models/issues_manager/MarkdownIssueDescription.js",
|
|
754
739
|
"front_end/models/issues_manager/MixedContentIssue.js",
|
|
740
|
+
"front_end/models/issues_manager/NavigatorUserAgentIssue.js",
|
|
755
741
|
"front_end/models/issues_manager/QuirksModeIssue.js",
|
|
756
742
|
"front_end/models/issues_manager/RelatedIssue.js",
|
|
757
743
|
"front_end/models/issues_manager/SameSiteCookieIssue.js",
|
|
@@ -1501,11 +1487,14 @@ grd_files_debug_sources = [
|
|
|
1501
1487
|
"front_end/ui/legacy/components/color_picker/ContrastInfo.js",
|
|
1502
1488
|
"front_end/ui/legacy/components/color_picker/ContrastOverlay.js",
|
|
1503
1489
|
"front_end/ui/legacy/components/color_picker/Spectrum.js",
|
|
1490
|
+
"front_end/ui/legacy/components/color_picker/spectrum.css.js",
|
|
1504
1491
|
"front_end/ui/legacy/components/cookie_table/CookiesTable.js",
|
|
1492
|
+
"front_end/ui/legacy/components/cookie_table/cookiesTable.css.js",
|
|
1505
1493
|
"front_end/ui/legacy/components/data_grid/DataGrid.js",
|
|
1506
1494
|
"front_end/ui/legacy/components/data_grid/ShowMoreDataGridNode.js",
|
|
1507
1495
|
"front_end/ui/legacy/components/data_grid/SortableDataGrid.js",
|
|
1508
1496
|
"front_end/ui/legacy/components/data_grid/ViewportDataGrid.js",
|
|
1497
|
+
"front_end/ui/legacy/components/data_grid/dataGrid.css.js",
|
|
1509
1498
|
"front_end/ui/legacy/components/inline_editor/BezierEditor.js",
|
|
1510
1499
|
"front_end/ui/legacy/components/inline_editor/BezierUI.js",
|
|
1511
1500
|
"front_end/ui/legacy/components/inline_editor/CSSAngle.js",
|
|
@@ -1536,6 +1525,8 @@ grd_files_debug_sources = [
|
|
|
1536
1525
|
"front_end/ui/legacy/components/object_ui/ObjectPopoverHelper.js",
|
|
1537
1526
|
"front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.js",
|
|
1538
1527
|
"front_end/ui/legacy/components/object_ui/RemoteObjectPreviewFormatter.js",
|
|
1528
|
+
"front_end/ui/legacy/components/object_ui/customPreviewComponent.css.js",
|
|
1529
|
+
"front_end/ui/legacy/components/object_ui/objectPopover.css.js",
|
|
1539
1530
|
"front_end/ui/legacy/components/object_ui/objectPropertiesSection.css.js",
|
|
1540
1531
|
"front_end/ui/legacy/components/object_ui/objectValue.css.js",
|
|
1541
1532
|
"front_end/ui/legacy/components/perf_ui/ChartViewport.js",
|
|
@@ -1556,6 +1547,7 @@ grd_files_debug_sources = [
|
|
|
1556
1547
|
"front_end/ui/legacy/components/quick_open/QuickInput.js",
|
|
1557
1548
|
"front_end/ui/legacy/components/quick_open/QuickOpen.js",
|
|
1558
1549
|
"front_end/ui/legacy/components/quick_open/QuickPick.js",
|
|
1550
|
+
"front_end/ui/legacy/components/quick_open/filteredListWidget.css.js",
|
|
1559
1551
|
"front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.js",
|
|
1560
1552
|
"front_end/ui/legacy/components/source_frame/FontView.js",
|
|
1561
1553
|
"front_end/ui/legacy/components/source_frame/ImageView.js",
|
package/front_end/Tests.js
CHANGED
|
@@ -145,10 +145,10 @@
|
|
|
145
145
|
* Run specified test on a fresh instance of the test suite.
|
|
146
146
|
* @param {Array<string>} args method name followed by its parameters.
|
|
147
147
|
*/
|
|
148
|
-
TestSuite.prototype.dispatchOnTestSuite = function(args) {
|
|
148
|
+
TestSuite.prototype.dispatchOnTestSuite = async function(args) {
|
|
149
149
|
const methodName = args.shift();
|
|
150
150
|
try {
|
|
151
|
-
this[methodName].apply(this, args);
|
|
151
|
+
await this[methodName].apply(this, args);
|
|
152
152
|
if (!this.controlTaken_) {
|
|
153
153
|
this.reportOk_();
|
|
154
154
|
}
|
|
@@ -1520,6 +1520,19 @@
|
|
|
1520
1520
|
this.evaluateInConsole_(`new WebSocket('ws://127.0.0.1:${websocketPort}')`, () => {});
|
|
1521
1521
|
};
|
|
1522
1522
|
|
|
1523
|
+
TestSuite.prototype.testExtensionWebSocketOfflineNetworkConditions = async function(websocketPort) {
|
|
1524
|
+
self.SDK.multitargetNetworkManager.setNetworkConditions(SDK.NetworkManager.OfflineConditions);
|
|
1525
|
+
|
|
1526
|
+
// TODO(crbug.com/1263900): Currently we don't send loadingFailed for web sockets.
|
|
1527
|
+
// Update this once we do.
|
|
1528
|
+
this.addSniffer(SDK.NetworkDispatcher.prototype, 'webSocketClosed', () => {
|
|
1529
|
+
this.releaseControl();
|
|
1530
|
+
});
|
|
1531
|
+
|
|
1532
|
+
this.takeControl();
|
|
1533
|
+
this.evaluateInConsole_(`new WebSocket('ws://127.0.0.1:${websocketPort}/echo-with-no-extension')`, () => {});
|
|
1534
|
+
};
|
|
1535
|
+
|
|
1523
1536
|
/**
|
|
1524
1537
|
* Serializes array of uiSourceCodes to string.
|
|
1525
1538
|
* @param {!Array.<!Workspace.UISourceCode>} uiSourceCodes
|
|
@@ -569,7 +569,6 @@ export const DevtoolsExperiments: {
|
|
|
569
569
|
'ignoreListJSFramesOnTimeline': 43,
|
|
570
570
|
'contrastIssues': 44,
|
|
571
571
|
'experimentalCookieFeatures': 45,
|
|
572
|
-
'localizedDevTools': 46,
|
|
573
572
|
'bfcacheDebugging': 47,
|
|
574
573
|
'hideIssuesFeature': 48,
|
|
575
574
|
'reportingApiDebugging': 49,
|
|
@@ -1331,9 +1331,6 @@
|
|
|
1331
1331
|
"models/issues_manager/CrossOriginEmbedderPolicyIssue.ts | samesiteAndSameorigin": {
|
|
1332
1332
|
"message": "Same-Site and Same-Origin"
|
|
1333
1333
|
},
|
|
1334
|
-
"models/issues_manager/DeprecationIssue.ts | userAgentReduction": {
|
|
1335
|
-
"message": "User-Agent String Reduction"
|
|
1336
|
-
},
|
|
1337
1334
|
"models/issues_manager/GenericIssue.ts | crossOriginPortalPostMessage": {
|
|
1338
1335
|
"message": "Portals - Same-origin communication channels"
|
|
1339
1336
|
},
|
|
@@ -1364,6 +1361,9 @@
|
|
|
1364
1361
|
"models/issues_manager/MixedContentIssue.ts | preventingMixedContent": {
|
|
1365
1362
|
"message": "Preventing mixed content"
|
|
1366
1363
|
},
|
|
1364
|
+
"models/issues_manager/NavigatorUserAgentIssue.ts | userAgentReduction": {
|
|
1365
|
+
"message": "User-Agent String Reduction"
|
|
1366
|
+
},
|
|
1367
1367
|
"models/issues_manager/QuirksModeIssue.ts | documentCompatibilityMode": {
|
|
1368
1368
|
"message": "Document compatibility mode"
|
|
1369
1369
|
},
|
|
@@ -2681,9 +2681,6 @@
|
|
|
2681
2681
|
"panels/application/BackForwardCacheView.ts | circumstantialExplanation": {
|
|
2682
2682
|
"message": "These reasons are not actionable i.e. caching was prevented by something outside of the direct control of the page."
|
|
2683
2683
|
},
|
|
2684
|
-
"panels/application/BackForwardCacheView.ts | lastMainFrameNavigation": {
|
|
2685
|
-
"message": "Last Main Frame Navigation"
|
|
2686
|
-
},
|
|
2687
2684
|
"panels/application/BackForwardCacheView.ts | mainFrame": {
|
|
2688
2685
|
"message": "Main Frame"
|
|
2689
2686
|
},
|
|
@@ -2699,6 +2696,9 @@
|
|
|
2699
2696
|
"panels/application/BackForwardCacheView.ts | restoredFromBFCache": {
|
|
2700
2697
|
"message": "Restored from back-forward cache"
|
|
2701
2698
|
},
|
|
2699
|
+
"panels/application/BackForwardCacheView.ts | runTest": {
|
|
2700
|
+
"message": "Run Test"
|
|
2701
|
+
},
|
|
2702
2702
|
"panels/application/BackForwardCacheView.ts | supportPending": {
|
|
2703
2703
|
"message": "Pending Support"
|
|
2704
2704
|
},
|
|
@@ -4778,6 +4778,15 @@
|
|
|
4778
4778
|
"panels/elements/StylesSidebarPane.ts | copySelector": {
|
|
4779
4779
|
"message": "Copy selector"
|
|
4780
4780
|
},
|
|
4781
|
+
"panels/elements/StylesSidebarPane.ts | cssPropertyName": {
|
|
4782
|
+
"message": "CSS property name"
|
|
4783
|
+
},
|
|
4784
|
+
"panels/elements/StylesSidebarPane.ts | cssPropertyValue": {
|
|
4785
|
+
"message": "CSS property value"
|
|
4786
|
+
},
|
|
4787
|
+
"panels/elements/StylesSidebarPane.ts | cssSelector": {
|
|
4788
|
+
"message": "CSS selector"
|
|
4789
|
+
},
|
|
4781
4790
|
"panels/elements/StylesSidebarPane.ts | filter": {
|
|
4782
4791
|
"message": "Filter"
|
|
4783
4792
|
},
|
|
@@ -9104,6 +9113,9 @@
|
|
|
9104
9113
|
"panels/sources/CallStackSidebarPane.ts | addScriptToIgnoreList": {
|
|
9105
9114
|
"message": "Add script to ignore list"
|
|
9106
9115
|
},
|
|
9116
|
+
"panels/sources/CallStackSidebarPane.ts | callFrameWarnings": {
|
|
9117
|
+
"message": "Some call frames have warnings"
|
|
9118
|
+
},
|
|
9107
9119
|
"panels/sources/CallStackSidebarPane.ts | callStack": {
|
|
9108
9120
|
"message": "Call Stack"
|
|
9109
9121
|
},
|
|
@@ -1331,9 +1331,6 @@
|
|
|
1331
1331
|
"models/issues_manager/CrossOriginEmbedderPolicyIssue.ts | samesiteAndSameorigin": {
|
|
1332
1332
|
"message": "Ŝám̂é-Ŝít̂é âńd̂ Śâḿê-Ór̂íĝín̂"
|
|
1333
1333
|
},
|
|
1334
|
-
"models/issues_manager/DeprecationIssue.ts | userAgentReduction": {
|
|
1335
|
-
"message": "Ûśêŕ-Âǵêńt̂ Śt̂ŕîńĝ Ŕêd́ûćt̂íôń"
|
|
1336
|
-
},
|
|
1337
1334
|
"models/issues_manager/GenericIssue.ts | crossOriginPortalPostMessage": {
|
|
1338
1335
|
"message": "P̂ór̂t́âĺŝ - Śâḿê-ór̂íĝín̂ ćôḿm̂ún̂íĉát̂íôń ĉh́âńn̂él̂ś"
|
|
1339
1336
|
},
|
|
@@ -1364,6 +1361,9 @@
|
|
|
1364
1361
|
"models/issues_manager/MixedContentIssue.ts | preventingMixedContent": {
|
|
1365
1362
|
"message": "P̂ŕêv́êńt̂ín̂ǵ m̂íx̂éd̂ ćôńt̂én̂t́"
|
|
1366
1363
|
},
|
|
1364
|
+
"models/issues_manager/NavigatorUserAgentIssue.ts | userAgentReduction": {
|
|
1365
|
+
"message": "Ûśêŕ-Âǵêńt̂ Śt̂ŕîńĝ Ŕêd́ûćt̂íôń"
|
|
1366
|
+
},
|
|
1367
1367
|
"models/issues_manager/QuirksModeIssue.ts | documentCompatibilityMode": {
|
|
1368
1368
|
"message": "D̂óĉúm̂én̂t́ ĉóm̂ṕât́îb́îĺît́ŷ ḿôd́ê"
|
|
1369
1369
|
},
|
|
@@ -2681,9 +2681,6 @@
|
|
|
2681
2681
|
"panels/application/BackForwardCacheView.ts | circumstantialExplanation": {
|
|
2682
2682
|
"message": "T̂h́êśê ŕêáŝón̂ś âŕê ńôt́ âćt̂íôńâb́l̂é î.é. ĉáĉh́îńĝ ẃâś p̂ŕêv́êńt̂éd̂ b́ŷ śôḿêt́ĥín̂ǵ ôút̂śîd́ê óf̂ t́ĥé d̂ír̂éĉt́ ĉón̂t́r̂ól̂ óf̂ t́ĥé p̂áĝé."
|
|
2683
2683
|
},
|
|
2684
|
-
"panels/application/BackForwardCacheView.ts | lastMainFrameNavigation": {
|
|
2685
|
-
"message": "L̂áŝt́ M̂áîń F̂ŕâḿê Ńâv́îǵât́îón̂"
|
|
2686
|
-
},
|
|
2687
2684
|
"panels/application/BackForwardCacheView.ts | mainFrame": {
|
|
2688
2685
|
"message": "M̂áîń F̂ŕâḿê"
|
|
2689
2686
|
},
|
|
@@ -2699,6 +2696,9 @@
|
|
|
2699
2696
|
"panels/application/BackForwardCacheView.ts | restoredFromBFCache": {
|
|
2700
2697
|
"message": "R̂éŝt́ôŕêd́ f̂ŕôḿ b̂áĉḱ-f̂ór̂ẃâŕd̂ ćâćĥé"
|
|
2701
2698
|
},
|
|
2699
|
+
"panels/application/BackForwardCacheView.ts | runTest": {
|
|
2700
|
+
"message": "R̂ún̂ T́êśt̂"
|
|
2701
|
+
},
|
|
2702
2702
|
"panels/application/BackForwardCacheView.ts | supportPending": {
|
|
2703
2703
|
"message": "P̂én̂d́îńĝ Śûṕp̂ór̂t́"
|
|
2704
2704
|
},
|
|
@@ -4778,6 +4778,15 @@
|
|
|
4778
4778
|
"panels/elements/StylesSidebarPane.ts | copySelector": {
|
|
4779
4779
|
"message": "Ĉóp̂ý selector"
|
|
4780
4780
|
},
|
|
4781
|
+
"panels/elements/StylesSidebarPane.ts | cssPropertyName": {
|
|
4782
|
+
"message": "CSS p̂ŕôṕêŕt̂ý n̂ám̂é"
|
|
4783
|
+
},
|
|
4784
|
+
"panels/elements/StylesSidebarPane.ts | cssPropertyValue": {
|
|
4785
|
+
"message": "CSS p̂ŕôṕêŕt̂ý v̂ál̂úê"
|
|
4786
|
+
},
|
|
4787
|
+
"panels/elements/StylesSidebarPane.ts | cssSelector": {
|
|
4788
|
+
"message": "CSS ŝél̂éĉt́ôŕ"
|
|
4789
|
+
},
|
|
4781
4790
|
"panels/elements/StylesSidebarPane.ts | filter": {
|
|
4782
4791
|
"message": "F̂íl̂t́êŕ"
|
|
4783
4792
|
},
|
|
@@ -9104,6 +9113,9 @@
|
|
|
9104
9113
|
"panels/sources/CallStackSidebarPane.ts | addScriptToIgnoreList": {
|
|
9105
9114
|
"message": "Âd́d̂ śĉŕîṕt̂ t́ô íĝńôŕê ĺîśt̂"
|
|
9106
9115
|
},
|
|
9116
|
+
"panels/sources/CallStackSidebarPane.ts | callFrameWarnings": {
|
|
9117
|
+
"message": "Ŝóm̂é ĉál̂ĺ f̂ŕâḿêś ĥáv̂é ŵár̂ńîńĝś"
|
|
9118
|
+
},
|
|
9107
9119
|
"panels/sources/CallStackSidebarPane.ts | callStack": {
|
|
9108
9120
|
"message": "Ĉál̂ĺ Ŝt́âćk̂"
|
|
9109
9121
|
},
|
|
@@ -84,7 +84,6 @@ export class ConsoleModel extends Common.ObjectWrapper.ObjectWrapper<EventTypes>
|
|
|
84
84
|
#violationsInternal: number;
|
|
85
85
|
#pageLoadSequenceNumber: number;
|
|
86
86
|
readonly #targetListeners: WeakMap<Target, Common.EventTarget.EventDescriptor[]>;
|
|
87
|
-
#consoleGroupMessageStack: ConsoleMessage[] = [];
|
|
88
87
|
|
|
89
88
|
private constructor() {
|
|
90
89
|
super();
|
|
@@ -276,7 +275,6 @@ export class ConsoleModel extends Common.ObjectWrapper.ObjectWrapper<EventTypes>
|
|
|
276
275
|
message = call.args[0].description;
|
|
277
276
|
}
|
|
278
277
|
const callFrame = call.stackTrace && call.stackTrace.callFrames.length ? call.stackTrace.callFrames[0] : null;
|
|
279
|
-
const groupParent = this.#consoleGroupMessageStack[this.#consoleGroupMessageStack.length - 1];
|
|
280
278
|
const details = {
|
|
281
279
|
type: call.type,
|
|
282
280
|
url: callFrame?.url,
|
|
@@ -287,20 +285,9 @@ export class ConsoleModel extends Common.ObjectWrapper.ObjectWrapper<EventTypes>
|
|
|
287
285
|
timestamp: call.timestamp,
|
|
288
286
|
executionContextId: call.executionContextId,
|
|
289
287
|
context: call.context,
|
|
290
|
-
groupParent,
|
|
291
|
-
groupChildren: [],
|
|
292
288
|
};
|
|
293
289
|
const consoleMessage =
|
|
294
290
|
new ConsoleMessage(runtimeModel, FrontendMessageSource.ConsoleAPI, level, (message as string), details);
|
|
295
|
-
if (call.type === Protocol.Runtime.ConsoleAPICalledEventType.StartGroup) {
|
|
296
|
-
this.#consoleGroupMessageStack.push(consoleMessage);
|
|
297
|
-
}
|
|
298
|
-
if (call.type === Protocol.Runtime.ConsoleAPICalledEventType.EndGroup) {
|
|
299
|
-
this.#consoleGroupMessageStack.pop();
|
|
300
|
-
}
|
|
301
|
-
if (groupParent && call.type !== Protocol.Runtime.ConsoleAPICalledEventType.EndGroup) {
|
|
302
|
-
groupParent.groupChildren?.push(consoleMessage);
|
|
303
|
-
}
|
|
304
291
|
this.addMessage(consoleMessage);
|
|
305
292
|
}
|
|
306
293
|
|
|
@@ -392,7 +379,6 @@ export class ConsoleModel extends Common.ObjectWrapper.ObjectWrapper<EventTypes>
|
|
|
392
379
|
|
|
393
380
|
private clear(): void {
|
|
394
381
|
this.#messagesInternal = [];
|
|
395
|
-
this.#consoleGroupMessageStack = [];
|
|
396
382
|
this.#messageByExceptionId.clear();
|
|
397
383
|
this.#errorsInternal = 0;
|
|
398
384
|
this.#warningsInternal = 0;
|
|
@@ -518,8 +504,6 @@ export interface ConsoleMessageDetails {
|
|
|
518
504
|
workerId?: string;
|
|
519
505
|
context?: string;
|
|
520
506
|
affectedResources?: AffectedResources;
|
|
521
|
-
groupParent?: ConsoleMessage;
|
|
522
|
-
groupChildren?: ConsoleMessage[];
|
|
523
507
|
category?: Protocol.Log.LogEntryCategory;
|
|
524
508
|
}
|
|
525
509
|
|
|
@@ -543,8 +527,6 @@ export class ConsoleMessage {
|
|
|
543
527
|
#pageLoadSequenceNumber?: number = undefined;
|
|
544
528
|
#exceptionId?: number = undefined;
|
|
545
529
|
#affectedResources?: AffectedResources;
|
|
546
|
-
groupParent?: ConsoleMessage;
|
|
547
|
-
groupChildren?: Array<ConsoleMessage>;
|
|
548
530
|
category?: Protocol.Log.LogEntryCategory;
|
|
549
531
|
|
|
550
532
|
constructor(
|
|
@@ -565,8 +547,6 @@ export class ConsoleMessage {
|
|
|
565
547
|
this.scriptId = details?.scriptId;
|
|
566
548
|
this.workerId = details?.workerId;
|
|
567
549
|
this.#affectedResources = details?.affectedResources;
|
|
568
|
-
this.groupParent = details?.groupParent;
|
|
569
|
-
this.groupChildren = details?.groupChildren;
|
|
570
550
|
this.category = details?.category;
|
|
571
551
|
|
|
572
552
|
if (!this.#executionContextId && this.#runtimeModelInternal) {
|
|
@@ -159,13 +159,13 @@ export class DOMNode {
|
|
|
159
159
|
this.childrenInternal = [];
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
const frameOwnerTags = ['
|
|
162
|
+
const frameOwnerTags = new Set(['EMBED', 'IFRAME', 'OBJECT', 'PORTAL']);
|
|
163
163
|
if (payload.contentDocument) {
|
|
164
164
|
this.contentDocumentInternal = new DOMDocument(this.#domModelInternal, payload.contentDocument);
|
|
165
165
|
this.contentDocumentInternal.parentNode = this;
|
|
166
166
|
this.childrenInternal = [];
|
|
167
|
-
} else if (payload.frameId && frameOwnerTags.
|
|
168
|
-
// At this point we know we are in an OOPIF, otherwise
|
|
167
|
+
} else if (payload.frameId && frameOwnerTags.has(payload.nodeName)) {
|
|
168
|
+
// At this point we know we are in an OOPIF, otherwise `payload.contentDocument` would have been set.
|
|
169
169
|
this.childDocumentPromiseForTesting = this.requestChildDocument(payload.frameId, this.#domModelInternal.target());
|
|
170
170
|
this.childrenInternal = [];
|
|
171
171
|
}
|
|
@@ -331,12 +331,14 @@ const str_ = i18n.i18n.registerUIStrings('core/sdk/sdk-meta.ts', UIStrings);
|
|
|
331
331
|
const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);
|
|
332
332
|
|
|
333
333
|
Common.Settings.registerSettingExtension({
|
|
334
|
+
storageType: Common.Settings.SettingStorageType.Synced,
|
|
334
335
|
settingName: 'skipStackFramesPattern',
|
|
335
336
|
settingType: Common.Settings.SettingType.REGEX,
|
|
336
337
|
defaultValue: '',
|
|
337
338
|
});
|
|
338
339
|
|
|
339
340
|
Common.Settings.registerSettingExtension({
|
|
341
|
+
storageType: Common.Settings.SettingStorageType.Synced,
|
|
340
342
|
settingName: 'skipContentScripts',
|
|
341
343
|
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
342
344
|
defaultValue: false,
|
|
@@ -433,6 +435,7 @@ Common.Settings.registerSettingExtension({
|
|
|
433
435
|
|
|
434
436
|
Common.Settings.registerSettingExtension({
|
|
435
437
|
category: Common.Settings.SettingCategory.ELEMENTS,
|
|
438
|
+
storageType: Common.Settings.SettingStorageType.Synced,
|
|
436
439
|
title: i18nLazyString(UIStrings.showRulers),
|
|
437
440
|
settingName: 'showMetricsRulers',
|
|
438
441
|
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
@@ -8,12 +8,9 @@
|
|
|
8
8
|
{ "name": "panels/lighthouse" },
|
|
9
9
|
{ "name": "panels/browser_debugger" },
|
|
10
10
|
{ "name": "panels/css_overview" },
|
|
11
|
-
{ "name": "ui/legacy/components/cookie_table" },
|
|
12
11
|
{ "name": "panels/elements" },
|
|
13
12
|
{ "name": "emulated_devices" },
|
|
14
13
|
{ "name": "panels/issues" },
|
|
15
|
-
{ "name": "panels/developer_resources" },
|
|
16
|
-
{ "name": "panels/help" },
|
|
17
14
|
{ "name": "panels/layers" },
|
|
18
15
|
{ "name": "panels/layer_viewer" },
|
|
19
16
|
{ "name": "panels/network" },
|
|
@@ -21,8 +18,6 @@
|
|
|
21
18
|
{ "name": "panels/application" },
|
|
22
19
|
{ "name": "panels/security" },
|
|
23
20
|
{ "name": "panels/timeline" },
|
|
24
|
-
{ "name": "panels/web_audio" },
|
|
25
|
-
{ "name": "panels/webauthn"},
|
|
26
21
|
{ "name": "panels/media" }
|
|
27
22
|
],
|
|
28
23
|
"extends": "shell"
|
|
@@ -208,7 +208,7 @@ const supportsPrefersContrast = (): boolean => {
|
|
|
208
208
|
};
|
|
209
209
|
|
|
210
210
|
const supportsJpegXl = async(): Promise<boolean> => {
|
|
211
|
-
const JPEG_XL_IMAGE_URL = 'data:image/jxl;base64,/
|
|
211
|
+
const JPEG_XL_IMAGE_URL = 'data:image/jxl;base64,/wr/BwiDBAwASyAY';
|
|
212
212
|
const promise = new Promise<boolean>((resolve): void => {
|
|
213
213
|
const img = document.createElement('img');
|
|
214
214
|
img.onload = (): void => resolve(true);
|
|
@@ -216,6 +216,7 @@ Common.Settings.registerSettingExtension({
|
|
|
216
216
|
|
|
217
217
|
Common.Settings.registerSettingExtension({
|
|
218
218
|
category: Common.Settings.SettingCategory.GLOBAL,
|
|
219
|
+
storageType: Common.Settings.SettingStorageType.Synced,
|
|
219
220
|
title: i18nLazyString(UIStrings.autoOpenDevTools),
|
|
220
221
|
settingName: 'autoAttachToCreatedPages',
|
|
221
222
|
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
@@ -151,13 +151,7 @@ export class MainImpl {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
async requestAndRegisterLocaleData(): Promise<void> {
|
|
154
|
-
|
|
155
|
-
// TODO(crbug.com/1163928): Remove the check when the experiment is gone.
|
|
156
|
-
let settingLanguage = 'en-US';
|
|
157
|
-
if (Root.Runtime.experiments.isEnabled(Root.Runtime.ExperimentName.LOCALIZED_DEVTOOLS)) {
|
|
158
|
-
settingLanguage = Common.Settings.Settings.instance().moduleSetting<string>('language').get();
|
|
159
|
-
}
|
|
160
|
-
|
|
154
|
+
const settingLanguage = Common.Settings.Settings.instance().moduleSetting<string>('language').get();
|
|
161
155
|
const devToolsLocale = i18n.DevToolsLocale.DevToolsLocale.instance({
|
|
162
156
|
create: true,
|
|
163
157
|
data: {
|
|
@@ -325,15 +319,11 @@ export class MainImpl {
|
|
|
325
319
|
// Hide Issues Feature.
|
|
326
320
|
Root.Runtime.experiments.register('groupAndHideIssuesByKind', 'Allow grouping and hiding of issues by IssueKind');
|
|
327
321
|
|
|
328
|
-
// Localized DevTools, hide "locale selector" setting behind an experiment.
|
|
329
|
-
Root.Runtime.experiments.register(Root.Runtime.ExperimentName.LOCALIZED_DEVTOOLS, 'Enable localized DevTools');
|
|
330
|
-
|
|
331
322
|
// Checkbox in the Settings UI to enable Chrome Sync is behind this experiment.
|
|
332
323
|
Root.Runtime.experiments.register(
|
|
333
324
|
Root.Runtime.ExperimentName.SYNC_SETTINGS, 'Sync DevTools settings with Chrome Sync');
|
|
334
325
|
|
|
335
326
|
Root.Runtime.experiments.enableExperimentsByDefault([
|
|
336
|
-
Root.Runtime.ExperimentName.LOCALIZED_DEVTOOLS,
|
|
337
327
|
'sourceOrderViewer',
|
|
338
328
|
'hideIssuesFeature',
|
|
339
329
|
'bfcacheDebugging',
|
|
@@ -717,6 +717,7 @@ Common.Settings.registerSettingExtension({
|
|
|
717
717
|
});
|
|
718
718
|
|
|
719
719
|
Common.Settings.registerSettingExtension({
|
|
720
|
+
storageType: Common.Settings.SettingStorageType.Synced,
|
|
720
721
|
settingName: 'activeKeybindSet',
|
|
721
722
|
settingType: Common.Settings.SettingType.ENUM,
|
|
722
723
|
defaultValue: 'devToolsDefault',
|
|
@@ -768,7 +769,6 @@ Common.Settings.registerSettingExtension({
|
|
|
768
769
|
...filterLocalesForSettings().map(locale => createOptionForLocale(locale)),
|
|
769
770
|
],
|
|
770
771
|
reloadRequired: true,
|
|
771
|
-
experiment: Root.Runtime.ExperimentName.LOCALIZED_DEVTOOLS,
|
|
772
772
|
});
|
|
773
773
|
|
|
774
774
|
Common.Settings.registerSettingExtension({
|
|
@@ -783,6 +783,7 @@ Common.Settings.registerSettingExtension({
|
|
|
783
783
|
});
|
|
784
784
|
|
|
785
785
|
Common.Settings.registerSettingExtension({
|
|
786
|
+
storageType: Common.Settings.SettingStorageType.Synced,
|
|
786
787
|
settingName: 'userShortcuts',
|
|
787
788
|
settingType: Common.Settings.SettingType.ARRAY,
|
|
788
789
|
defaultValue: [],
|
|
@@ -1,25 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"modules": [
|
|
3
|
-
{ "name": "panels/console_counters", "type": "autostart" },
|
|
4
3
|
{ "name": "entrypoints/main", "type": "autostart" },
|
|
5
4
|
{ "name": "ui/legacy", "type": "autostart" },
|
|
6
5
|
|
|
7
|
-
{ "name": "panels/changes" },
|
|
8
|
-
{ "name": "ui/legacy/components/color_picker" },
|
|
9
6
|
{ "name": "panels/console" },
|
|
10
7
|
{ "name": "panels/coverage" },
|
|
11
|
-
{ "name": "ui/legacy/components/data_grid" },
|
|
12
8
|
{ "name": "panels/event_listeners" },
|
|
13
9
|
{ "name": "ui/legacy/components/inline_editor" },
|
|
14
|
-
{ "name": "panels/input"},
|
|
15
|
-
{ "name": "ui/legacy/components/object_ui" },
|
|
16
10
|
{ "name": "ui/legacy/components/perf_ui" },
|
|
17
11
|
{ "name": "panels/profiler" },
|
|
18
12
|
{ "name": "panels/protocol_monitor"},
|
|
19
|
-
{ "name": "ui/legacy/components/quick_open" },
|
|
20
|
-
{ "name": "panels/search" },
|
|
21
|
-
{ "name": "panels/settings" },
|
|
22
|
-
{ "name": "panels/snippets" },
|
|
23
13
|
{ "name": "ui/legacy/components/source_frame" },
|
|
24
14
|
{ "name": "panels/sources" },
|
|
25
15
|
{ "name": "ui/legacy/components/text_editor" }
|
|
@@ -3,11 +3,8 @@
|
|
|
3
3
|
{ "name": "panels/mobile_throttling", "type": "autostart" },
|
|
4
4
|
|
|
5
5
|
{ "name": "panels/browser_debugger" },
|
|
6
|
-
{ "name": "ui/legacy/components/cookie_table" },
|
|
7
6
|
{ "name": "panels/elements" },
|
|
8
|
-
{ "name": "panels/help" },
|
|
9
7
|
{ "name": "panels/issues" },
|
|
10
|
-
{ "name": "panels/developer_resources" },
|
|
11
8
|
{ "name": "panels/layer_viewer" },
|
|
12
9
|
{ "name": "panels/network" },
|
|
13
10
|
{ "name": "panels/application" },
|