chrome-devtools-frontend 1.0.1672557 → 1.0.1675430
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/.agents/skills/devtools-ux-writing-refactor/SKILL.md +26 -9
- package/front_end/core/common/ParsedURL.ts +5 -1
- package/front_end/core/common/SettingRegistration.ts +30 -34
- package/front_end/core/common/Settings.ts +4 -64
- package/front_end/core/host/UserMetrics.ts +127 -117
- package/front_end/core/protocol_client/PuppeteerDevToolsConnection.ts +42 -9
- package/front_end/core/root/Runtime.ts +14 -0
- package/front_end/core/sdk/NetworkManager.ts +0 -35
- package/front_end/core/sdk/SourceMap.ts +1 -19
- package/front_end/core/sdk/SourceMapManager.ts +75 -48
- package/front_end/core/sdk/SourceMapScopesInfo.ts +0 -62
- package/front_end/core/sdk/TargetManager.ts +18 -0
- package/front_end/devtools_compatibility.js +1 -1
- package/front_end/entrypoints/main/MainImpl.ts +1 -0
- package/front_end/foundation/Universe.ts +44 -29
- package/front_end/generated/InspectorBackendCommands.ts +4 -3
- package/front_end/generated/SupportedCSSProperties.ts +16 -1
- package/front_end/generated/protocol-mapping.d.ts +8 -0
- package/front_end/generated/protocol-proxy-api.d.ts +6 -0
- package/front_end/generated/protocol.ts +16 -2
- package/front_end/models/ai_assistance/AiSetting.ts +66 -3
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +15 -5
- package/front_end/models/bindings/CompilerScriptMapping.ts +1 -1
- package/front_end/models/emulation/DeviceModeModel.ts +82 -102
- package/front_end/models/emulation/EmulatedDevices.ts +18 -66
- package/front_end/models/javascript_metadata/NativeFunctions.js +4 -4
- package/front_end/models/persistence/AutomaticFileSystemManager.ts +2 -2
- package/front_end/models/persistence/IsolatedFileSystemManager.ts +20 -29
- package/front_end/models/trace/ModelImpl.ts +5 -0
- package/front_end/models/trace/Processor.ts +5 -0
- package/front_end/models/trace/handlers/LayoutShiftsHandler.ts +7 -1
- package/front_end/models/trace/handlers/MetaHandler.ts +8 -4
- package/front_end/models/trace/handlers/PageLoadMetricsHandler.ts +11 -0
- package/front_end/models/workspace/FileManager.ts +13 -6
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +11 -10
- package/front_end/panels/ai_assistance/ai_assistance-meta.ts +3 -45
- package/front_end/panels/application/BackgroundServiceView.ts +42 -40
- package/front_end/panels/application/KeyValueStorageItemsView.ts +1 -0
- package/front_end/panels/application/WebMCPView.ts +13 -5
- package/front_end/panels/application/components/AdsView.ts +24 -1
- package/front_end/panels/application/components/adsView.css +27 -21
- package/front_end/panels/autofill/AutofillView.ts +12 -12
- package/front_end/panels/autofill/autofill-meta.ts +2 -2
- package/front_end/panels/common/ExtensionServer.ts +7 -1
- package/front_end/panels/common/common.ts +0 -1
- package/front_end/panels/console/ConsoleInsightTeaser.ts +7 -6
- package/front_end/panels/console/ConsoleViewMessage.ts +1 -1
- package/front_end/panels/elements/ClassesPaneWidget.ts +2 -2
- package/front_end/panels/elements/ElementsTreeElement.ts +602 -327
- package/front_end/panels/elements/ElementsTreeOutline.ts +1 -1
- package/front_end/panels/elements/StylesSidebarPane.ts +1 -1
- package/front_end/panels/elements/components/AdornerManager.ts +1 -0
- package/front_end/panels/emulation/AdvancedApp.ts +3 -3
- package/front_end/panels/emulation/DeviceModeToolbar.ts +2 -11
- package/front_end/panels/emulation/DeviceModeView.ts +234 -75
- package/front_end/panels/emulation/InspectedPagePlaceholder.ts +1 -1
- package/front_end/panels/emulation/deviceModeView.css +4 -21
- package/front_end/panels/emulation/emulation-meta.ts +4 -30
- package/front_end/panels/emulation/emulation.ts +0 -3
- package/front_end/panels/explain/components/ConsoleInsight.ts +11 -7
- package/front_end/panels/js_timeline/js_timeline-meta.ts +8 -8
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +30 -30
- package/front_end/panels/layer_viewer/LayerTreeOutline.ts +6 -6
- package/front_end/panels/layer_viewer/LayerViewHost.ts +1 -1
- package/front_end/panels/layer_viewer/Layers3DView.ts +11 -11
- package/front_end/panels/layer_viewer/PaintProfilerView.ts +8 -8
- package/front_end/panels/layer_viewer/TransformController.ts +3 -3
- package/front_end/panels/layer_viewer/layer_viewer-meta.ts +11 -11
- package/front_end/panels/layers/LayersPanel.ts +2 -2
- package/front_end/panels/layers/layers-meta.ts +2 -2
- package/front_end/panels/lighthouse/LighthouseController.ts +3 -7
- package/front_end/panels/mobile_throttling/CPUThrottlingSelector.ts +313 -0
- package/front_end/panels/mobile_throttling/NetworkPanelIndicator.ts +0 -10
- package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +21 -10
- package/front_end/panels/mobile_throttling/ThrottlingManager.ts +1 -58
- package/front_end/panels/mobile_throttling/mobile_throttling.ts +2 -9
- package/front_end/panels/network/NetworkConfigView.ts +1 -71
- package/front_end/panels/network/networkConfigView.css +1 -2
- package/front_end/panels/profiler/HeapDetachedElementsDataGrid.ts +3 -3
- package/front_end/panels/profiler/HeapDetachedElementsView.ts +5 -5
- package/front_end/panels/profiler/HeapProfileView.ts +32 -32
- package/front_end/panels/profiler/HeapProfilerPanel.ts +2 -2
- package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +33 -37
- package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +26 -27
- package/front_end/panels/profiler/HeapSnapshotView.ts +48 -48
- package/front_end/panels/profiler/IsolateSelector.ts +10 -10
- package/front_end/panels/profiler/ModuleUIStrings.ts +25 -25
- package/front_end/panels/profiler/ProfileLauncherView.ts +6 -6
- package/front_end/panels/profiler/ProfilesPanel.ts +6 -6
- package/front_end/panels/profiler/WritableProfileHeader.ts +6 -6
- package/front_end/panels/profiler/profiler-meta.ts +7 -7
- package/front_end/panels/protocol_monitor/ProtocolMonitor.ts +7 -0
- package/front_end/panels/recorder/RecorderPanel.ts +1 -1
- package/front_end/panels/settings/AISettingsTab.ts +27 -23
- package/front_end/panels/settings/emulation/DevicesSettingsTab.ts +1 -2
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +12 -17
- package/front_end/panels/timeline/TimelinePanel.ts +20 -35
- package/front_end/panels/timeline/components/LiveMetricsView.ts +27 -6
- package/front_end/panels/timeline/components/NetworkTrackWidget.ts +1 -1
- package/front_end/panels/timeline/components/components.ts +0 -4
- package/front_end/panels/timeline/components/liveMetricsView.css +7 -0
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/source-map-scopes-codec/package/CONTRIBUTING.md +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/LICENSE +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/README.md +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/_dist/src/builder/builder.d.ts +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/_dist/src/builder/builder.d.ts.map +1 -1
- package/front_end/third_party/source-map-scopes-codec/package/_dist/src/builder/safe_builder.d.ts +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/_dist/src/builder/safe_builder.d.ts.map +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/_dist/src/decode/decode.d.ts +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/_dist/src/decode/decode.d.ts.map +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/_dist/src/encode/encode.d.ts +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/_dist/src/encode/encode.d.ts.map +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/_dist/src/mod.d.ts +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/_dist/src/mod.d.ts.map +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/_dist/src/scopes.d.ts +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/_dist/src/scopes.d.ts.map +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/deno.json +1 -1
- package/front_end/third_party/source-map-scopes-codec/package/package.json +1 -1
- package/front_end/third_party/source-map-scopes-codec/package/src/builder/builder.js +2 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/builder/builder.js.map +1 -1
- package/front_end/third_party/source-map-scopes-codec/package/src/builder/builder.ts +2 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/builder/safe_builder.js +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/builder/safe_builder.js.map +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/builder/safe_builder.ts +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/codec.js +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/codec.js.map +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/codec.ts +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/decode/decode.js +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/decode/decode.js.map +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/decode/decode.ts +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/encode/encode.js +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/encode/encode.js.map +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/encode/encode.ts +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/encode/encoder.js +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/encode/encoder.js.map +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/encode/encoder.ts +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/mod.js +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/mod.js.map +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/mod.ts +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/scopes.js +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/scopes.js.map +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/scopes.ts +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/util.js +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/util.js.map +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/util.ts +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/vlq.js +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/vlq.js.map +0 -0
- package/front_end/third_party/source-map-scopes-codec/package/src/vlq.ts +0 -0
- package/front_end/ui/comments/CommentAnchorResolver.ts +132 -0
- package/front_end/ui/comments/comments.ts +9 -0
- package/front_end/ui/components/dialogs/ShortcutDialog.ts +2 -0
- package/front_end/ui/components/settings/SettingCheckbox.ts +4 -12
- package/front_end/ui/components/settings/settingCheckbox.css +0 -7
- package/front_end/ui/legacy/Treeoutline.ts +14 -14
- package/front_end/ui/legacy/UIUtils.ts +2 -47
- package/front_end/ui/legacy/Widget.ts +10 -2
- package/front_end/ui/legacy/components/data_grid/DataGridElement.ts +40 -0
- package/front_end/ui/legacy/components/settings_ui/SettingsUI.ts +1 -1
- package/front_end/ui/legacy/components/utils/Linkifier.ts +1 -0
- package/front_end/ui/lit/Directives.ts +80 -0
- package/front_end/ui/lit/lit.ts +1 -0
- package/front_end/ui/lit/render.ts +8 -0
- package/front_end/ui/settings/SettingUIRegistration.ts +4 -0
- package/front_end/ui/visual_logging/Debugging.ts +1 -5
- package/front_end/ui/visual_logging/KnownContextValues.ts +3 -0
- package/front_end/ui/visual_logging/LoggingConfig.ts +21 -0
- package/front_end/ui/visual_logging/visual_logging.ts +9 -0
- package/mcp/mcp.ts +1 -0
- package/package.json +1 -1
- package/front_end/panels/common/ThrottlingUtils.ts +0 -51
- package/front_end/panels/emulation/DeviceModeWrapper.ts +0 -248
- package/front_end/panels/mobile_throttling/MobileThrottlingSelector.ts +0 -92
- package/front_end/panels/timeline/components/CPUThrottlingSelector.ts +0 -235
- package/front_end/panels/timeline/components/NetworkThrottlingSelector.ts +0 -245
- package/front_end/panels/timeline/components/cpuThrottlingSelector.css +0 -30
- package/front_end/panels/timeline/components/networkThrottlingSelector.css +0 -24
|
@@ -48,105 +48,105 @@ import type {ProfileTypeRegistry} from './ProfileTypeRegistry.js';
|
|
|
48
48
|
|
|
49
49
|
const UIStrings = {
|
|
50
50
|
/**
|
|
51
|
-
* @description Text to find an item
|
|
51
|
+
* @description Text to find an item.
|
|
52
52
|
*/
|
|
53
53
|
find: 'Find',
|
|
54
54
|
/**
|
|
55
|
-
* @description
|
|
55
|
+
* @description Perspective dropdown option to view the heap by object containment hierarchy.
|
|
56
56
|
*/
|
|
57
57
|
containment: 'Containment',
|
|
58
58
|
/**
|
|
59
|
-
* @description
|
|
59
|
+
* @description Pane title showing objects holding references to the selected object.
|
|
60
60
|
*/
|
|
61
61
|
retainers: 'Retainers',
|
|
62
62
|
/**
|
|
63
|
-
* @description
|
|
63
|
+
* @description Tab title for the allocation stack trace view in heap snapshots.
|
|
64
64
|
*/
|
|
65
65
|
allocationStack: 'Allocation stack',
|
|
66
66
|
/**
|
|
67
|
-
* @description Screen reader label for a select box that chooses the perspective in the Memory panel when viewing a
|
|
67
|
+
* @description Screen reader label for a select box that chooses the perspective in the Memory panel when viewing a heap snapshot.
|
|
68
68
|
*/
|
|
69
69
|
perspective: 'Perspective',
|
|
70
70
|
/**
|
|
71
|
-
* @description Screen reader label for a select box that chooses the snapshot to use as a base in the Memory panel when viewing a
|
|
71
|
+
* @description Screen reader label for a select box that chooses the snapshot to use as a base in the Memory panel when viewing a heap snapshot.
|
|
72
72
|
*/
|
|
73
73
|
baseSnapshot: 'Base snapshot',
|
|
74
74
|
/**
|
|
75
|
-
* @description Text to filter result items
|
|
75
|
+
* @description Text to filter result items.
|
|
76
76
|
*/
|
|
77
77
|
filter: 'Filter',
|
|
78
78
|
/**
|
|
79
|
-
* @description Placeholder text in the filter bar to filter by JavaScript class names for a heap
|
|
79
|
+
* @description Placeholder text in the filter bar to filter by JavaScript class names for a heap.
|
|
80
80
|
*/
|
|
81
81
|
filterByClass: 'Filter by class',
|
|
82
82
|
/**
|
|
83
|
-
* @description
|
|
83
|
+
* @description Label on the heap statistics pie chart representing V8 compiled code.
|
|
84
84
|
*/
|
|
85
85
|
code: 'Code',
|
|
86
86
|
/**
|
|
87
|
-
* @description
|
|
87
|
+
* @description Label on the heap statistics pie chart representing JavaScript strings.
|
|
88
88
|
*/
|
|
89
89
|
strings: 'Strings',
|
|
90
90
|
/**
|
|
91
|
-
* @description Label on
|
|
91
|
+
* @description Label on the heap statistics pie chart representing JavaScript arrays.
|
|
92
92
|
*/
|
|
93
93
|
jsArrays: 'JS arrays',
|
|
94
94
|
/**
|
|
95
|
-
* @description Label on
|
|
95
|
+
* @description Label on the heap statistics pie chart representing JavaScript typed arrays.
|
|
96
96
|
*/
|
|
97
97
|
typedArrays: 'Typed arrays',
|
|
98
98
|
/**
|
|
99
|
-
* @description Label on
|
|
99
|
+
* @description Label on the heap statistics pie chart representing V8 system objects.
|
|
100
100
|
*/
|
|
101
101
|
systemObjects: 'System objects',
|
|
102
102
|
/**
|
|
103
|
-
* @description Label on
|
|
103
|
+
* @description Label on the heap statistics pie chart representing other JavaScript objects.
|
|
104
104
|
*/
|
|
105
105
|
otherJSObjects: 'Other JS objects',
|
|
106
106
|
/**
|
|
107
|
-
* @description Label on
|
|
107
|
+
* @description Label on the heap statistics pie chart representing non-JavaScript objects (such as HTML and CSS).
|
|
108
108
|
*/
|
|
109
109
|
otherNonJSObjects: 'Other non-JS objects (such as HTML and CSS)',
|
|
110
110
|
/**
|
|
111
|
-
* @description
|
|
111
|
+
* @description Filter dropdown option in the summary view to show all objects without filtering.
|
|
112
112
|
*/
|
|
113
113
|
allObjects: 'All objects',
|
|
114
114
|
/**
|
|
115
|
-
* @description
|
|
115
|
+
* @description Filter dropdown option to show objects allocated before a previous heap snapshot.
|
|
116
116
|
* @example {Profile 2} PH1
|
|
117
117
|
*/
|
|
118
118
|
objectsAllocatedBeforeS: 'Objects allocated before {PH1}',
|
|
119
119
|
/**
|
|
120
|
-
* @description
|
|
120
|
+
* @description Filter dropdown option to show objects allocated between two specific heap snapshots.
|
|
121
121
|
* @example {Profile 1} PH1
|
|
122
122
|
* @example {Profile 2} PH2
|
|
123
123
|
*/
|
|
124
124
|
objectsAllocatedBetweenSAndS: 'Objects allocated between {PH1} and {PH2}',
|
|
125
125
|
/**
|
|
126
126
|
* @description An option which will filter the heap snapshot to show only
|
|
127
|
-
* strings which exactly match at least one other string
|
|
127
|
+
* strings which exactly match at least one other string.
|
|
128
128
|
*/
|
|
129
129
|
duplicatedStrings: 'Duplicated strings',
|
|
130
130
|
/**
|
|
131
131
|
* @description An option which will filter the heap snapshot to show only
|
|
132
|
-
* detached DOM nodes and other objects kept alive by detached DOM nodes
|
|
132
|
+
* detached DOM nodes and other objects kept alive by detached DOM nodes.
|
|
133
133
|
*/
|
|
134
134
|
objectsRetainedByDetachedDomNodes: 'Objects retained by detached DOM nodes',
|
|
135
135
|
/**
|
|
136
136
|
* @description An option which will filter the heap snapshot to show only
|
|
137
|
-
* objects kept alive by contexts
|
|
137
|
+
* objects kept alive by contexts.
|
|
138
138
|
*/
|
|
139
139
|
objectsRetainedByContexts: 'Objects retained by contexts',
|
|
140
140
|
/**
|
|
141
141
|
* @description An option which will filter the heap snapshot to show only
|
|
142
|
-
* objects kept alive by the DevTools console
|
|
142
|
+
* objects kept alive by the DevTools console.
|
|
143
143
|
*/
|
|
144
144
|
objectsRetainedByConsole: 'Objects retained by DevTools Console',
|
|
145
145
|
/**
|
|
146
146
|
* @description An option which will filter the heap snapshot to show only
|
|
147
|
-
* objects retained by event handlers
|
|
147
|
+
* objects retained by event handlers.
|
|
148
148
|
*/
|
|
149
|
-
objectsRetainedByEventHandlers: 'Objects retained by
|
|
149
|
+
objectsRetainedByEventHandlers: 'Objects retained by event handlers',
|
|
150
150
|
/**
|
|
151
151
|
* @description An option which will filter the heap snapshot to show only
|
|
152
152
|
* objects attributed to a specific native context (roughly, a JavaScript
|
|
@@ -174,80 +174,80 @@ const UIStrings = {
|
|
|
174
174
|
*/
|
|
175
175
|
objectsNotAttributedToNativeContextS: 'Objects not attributed to a native context ({PH1})',
|
|
176
176
|
/**
|
|
177
|
-
* @description
|
|
177
|
+
* @description Perspective dropdown option to view heap snapshot objects grouped by constructor.
|
|
178
178
|
*/
|
|
179
179
|
summary: 'Summary',
|
|
180
180
|
/**
|
|
181
|
-
* @description
|
|
181
|
+
* @description Perspective dropdown option to compare differences between two heap snapshots.
|
|
182
182
|
*/
|
|
183
183
|
comparison: 'Comparison',
|
|
184
184
|
/**
|
|
185
|
-
* @description
|
|
185
|
+
* @description Perspective dropdown option to view memory allocations by function.
|
|
186
186
|
*/
|
|
187
187
|
allocation: 'Allocation',
|
|
188
188
|
/**
|
|
189
|
-
* @description
|
|
189
|
+
* @description Label for memory objects that are currently alive in the heap.
|
|
190
190
|
*/
|
|
191
191
|
liveObjects: 'Live objects',
|
|
192
192
|
/**
|
|
193
|
-
* @description
|
|
193
|
+
* @description Perspective dropdown option to view heap memory breakdown charts.
|
|
194
194
|
*/
|
|
195
195
|
statistics: 'Statistics',
|
|
196
196
|
/**
|
|
197
|
-
* @description
|
|
197
|
+
* @description Name for the heap snapshot profiling type in the Memory panel.
|
|
198
198
|
*/
|
|
199
199
|
heapSnapshot: 'Heap snapshot',
|
|
200
200
|
/**
|
|
201
|
-
* @description
|
|
201
|
+
* @description Button text to capture a new heap snapshot.
|
|
202
202
|
*/
|
|
203
203
|
takeHeapSnapshot: 'Take heap snapshot',
|
|
204
204
|
/**
|
|
205
|
-
* @description
|
|
205
|
+
* @description Header for the list of captured heap snapshot profiles.
|
|
206
206
|
*/
|
|
207
207
|
heapSnapshots: 'Heap snapshots',
|
|
208
208
|
/**
|
|
209
|
-
* @description
|
|
209
|
+
* @description Description for the heap snapshot profiling type option in the Memory panel.
|
|
210
210
|
*/
|
|
211
211
|
heapSnapshotProfilesShowMemory: 'See the memory distribution of JavaScript objects and related DOM nodes',
|
|
212
212
|
/**
|
|
213
|
-
* @description Progress update that the profiler is capturing a snapshot of the heap
|
|
213
|
+
* @description Progress update that the profiler is capturing a snapshot of the heap.
|
|
214
214
|
*/
|
|
215
215
|
snapshotting: 'Snapshotting…',
|
|
216
216
|
/**
|
|
217
|
-
* @description
|
|
217
|
+
* @description Default title for a captured heap snapshot profile.
|
|
218
218
|
* @example {1} PH1
|
|
219
219
|
*/
|
|
220
220
|
snapshotD: 'Snapshot {PH1}',
|
|
221
221
|
/**
|
|
222
|
-
* @description Text for a percentage value
|
|
222
|
+
* @description Text for a percentage value.
|
|
223
223
|
* @example {13.0} PH1
|
|
224
224
|
*/
|
|
225
225
|
percentagePlaceholder: '{PH1}%',
|
|
226
226
|
/**
|
|
227
|
-
* @description
|
|
227
|
+
* @description Name for the allocation timeline profiling option in the Memory panel.
|
|
228
228
|
*/
|
|
229
229
|
allocationInstrumentationOn: 'Allocations on timeline',
|
|
230
230
|
/**
|
|
231
|
-
* @description
|
|
231
|
+
* @description Button text to stop recording an allocation timeline or heap profile.
|
|
232
232
|
*/
|
|
233
233
|
stopRecordingHeapProfile: 'Stop recording heap profile',
|
|
234
234
|
/**
|
|
235
|
-
* @description
|
|
235
|
+
* @description Button text to start recording an allocation timeline or heap profile.
|
|
236
236
|
*/
|
|
237
237
|
startRecordingHeapProfile: 'Start recording heap profile',
|
|
238
238
|
/**
|
|
239
|
-
* @description
|
|
239
|
+
* @description Checkbox label to enable recording stack traces for memory allocations.
|
|
240
240
|
* A stack trace is a list of functions that were called.
|
|
241
241
|
* This option turns on recording of a stack trace at each allocation.
|
|
242
242
|
* The recording itself is a somewhat expensive operation, so turning this option on, the website's performance may be affected negatively (e.g. everything becomes slower).
|
|
243
243
|
*/
|
|
244
244
|
recordAllocationStacksExtra: 'Allocation stack traces (more overhead)',
|
|
245
245
|
/**
|
|
246
|
-
* @description
|
|
246
|
+
* @description Status message displayed while recording a memory profile.
|
|
247
247
|
*/
|
|
248
248
|
recording: 'Recording…',
|
|
249
249
|
/**
|
|
250
|
-
* @description
|
|
250
|
+
* @description Header for the list of captured allocation timeline profiles.
|
|
251
251
|
*/
|
|
252
252
|
allocationTimelines: 'Allocation timelines',
|
|
253
253
|
/**
|
|
@@ -256,30 +256,30 @@ const UIStrings = {
|
|
|
256
256
|
AllocationTimelinesShowInstrumented:
|
|
257
257
|
'Record memory allocations over time and isolate memory leaks by selecting intervals with allocations that are still alive',
|
|
258
258
|
/**
|
|
259
|
-
* @description Text when something is loading
|
|
259
|
+
* @description Text when something is loading.
|
|
260
260
|
*/
|
|
261
261
|
loading: 'Loading…',
|
|
262
262
|
/**
|
|
263
|
-
* @description
|
|
263
|
+
* @description Status message showing progress percentage while saving a heap snapshot file.
|
|
264
264
|
* @example {30} PH1
|
|
265
265
|
*/
|
|
266
266
|
savingD: 'Saving… {PH1}%',
|
|
267
267
|
/**
|
|
268
|
-
* @description
|
|
268
|
+
* @description Title for the heap memory usage chart in allocation timeline overview.
|
|
269
269
|
*/
|
|
270
270
|
heapMemoryUsage: 'Heap memory usage',
|
|
271
271
|
/**
|
|
272
|
-
* @description Text of a DOM element in
|
|
272
|
+
* @description Text of a DOM element in heap snapshot view of a profiler tool.
|
|
273
273
|
*/
|
|
274
274
|
stackWasNotRecordedForThisObject:
|
|
275
275
|
'Stack wasn’t recorded for this object because it had been allocated before this profile recording started.',
|
|
276
276
|
/**
|
|
277
|
-
* @description
|
|
277
|
+
* @description Button label in the Retainers view to restore all ignored retainers.
|
|
278
278
|
* This text is on a button to undo all previous "Ignore this retainer" actions.
|
|
279
279
|
*/
|
|
280
280
|
restoreIgnoredRetainers: 'Restore ignored retainers',
|
|
281
281
|
/**
|
|
282
|
-
* @description Text in
|
|
282
|
+
* @description Text in heap snapshot view showing summary stats (count of objects and total shallow size) for the selected filter.
|
|
283
283
|
* @example {1,000} PH1
|
|
284
284
|
* @example {1.5 MB} PH2
|
|
285
285
|
*/
|
|
@@ -10,48 +10,48 @@ import * as UI from '../../ui/legacy/legacy.js';
|
|
|
10
10
|
|
|
11
11
|
const UIStrings = {
|
|
12
12
|
/**
|
|
13
|
-
* @description
|
|
13
|
+
* @description Aria label for JavaScript VM instances target list in heap profiler.
|
|
14
14
|
*/
|
|
15
15
|
javascriptVmInstances: 'JavaScript VM instances',
|
|
16
16
|
/**
|
|
17
|
-
* @description
|
|
17
|
+
* @description Label for total JavaScript heap size in the isolate selector.
|
|
18
18
|
*/
|
|
19
19
|
totalJsHeapSize: 'Total JS heap size',
|
|
20
20
|
/**
|
|
21
|
-
* @description
|
|
21
|
+
* @description Tooltip for the overall page JavaScript heap size change trend over the specified time window.
|
|
22
22
|
* @example {3} PH1
|
|
23
23
|
*/
|
|
24
24
|
totalPageJsHeapSizeChangeTrend: 'Total page JS heap size change trend over the last {PH1} minutes.',
|
|
25
25
|
/**
|
|
26
|
-
* @description
|
|
26
|
+
* @description Tooltip for total page JavaScript heap size across all VM instances.
|
|
27
27
|
*/
|
|
28
28
|
totalPageJsHeapSizeAcrossAllVm: 'Total page JS heap size across all VM instances.',
|
|
29
29
|
/**
|
|
30
|
-
* @description Heap size change trend measured in kB/s
|
|
30
|
+
* @description Heap size change trend measured in kB/s.
|
|
31
31
|
* @example {2 kB} PH1
|
|
32
32
|
*/
|
|
33
33
|
changeRate: '{PH1}/s',
|
|
34
34
|
/**
|
|
35
|
-
* @description Text for isolate selector list items with positive change rate
|
|
35
|
+
* @description Text for isolate selector list items with positive change rate.
|
|
36
36
|
* @example {1.0 kB} PH1
|
|
37
37
|
*/
|
|
38
38
|
increasingBySPerSecond: 'increasing by {PH1} per second',
|
|
39
39
|
/**
|
|
40
|
-
* @description Text for isolate selector list items with negative change rate
|
|
40
|
+
* @description Text for isolate selector list items with negative change rate.
|
|
41
41
|
* @example {1.0 kB} PH1
|
|
42
42
|
*/
|
|
43
43
|
decreasingBySPerSecond: 'decreasing by {PH1} per second',
|
|
44
44
|
/**
|
|
45
|
-
* @description
|
|
45
|
+
* @description Tooltip for individual VM instance heap size in use by live JavaScript objects.
|
|
46
46
|
*/
|
|
47
47
|
heapSizeInUseByLiveJsObjects: 'Heap size in use by live JS objects.',
|
|
48
48
|
/**
|
|
49
|
-
* @description
|
|
49
|
+
* @description Tooltip for the heap size growth rate trend over the specified time window.
|
|
50
50
|
* @example {3} PH1
|
|
51
51
|
*/
|
|
52
52
|
heapSizeChangeTrendOverTheLastS: 'Heap size change trend over the last {PH1} minutes.',
|
|
53
53
|
/**
|
|
54
|
-
* @description Text to show an item is empty
|
|
54
|
+
* @description Text to show an item is empty.
|
|
55
55
|
*/
|
|
56
56
|
empty: '(empty)',
|
|
57
57
|
} as const;
|
|
@@ -4,108 +4,108 @@
|
|
|
4
4
|
|
|
5
5
|
export const UIStrings = {
|
|
6
6
|
/**
|
|
7
|
-
* @description Text to indicate the status of a heap snapshot in the Performance
|
|
7
|
+
* @description Text to indicate the status of a heap snapshot in the Performance panel.
|
|
8
8
|
*/
|
|
9
9
|
buildingEdgeIndexes: 'Building edge indexes…',
|
|
10
10
|
/**
|
|
11
|
-
* @description Text to indicate the status of a heap snapshot in the Performance
|
|
11
|
+
* @description Text to indicate the status of a heap snapshot in the Performance panel.
|
|
12
12
|
*/
|
|
13
13
|
buildingRetainers: 'Building retainers…',
|
|
14
14
|
/**
|
|
15
|
-
* @description Text to indicate the status of a heap snapshot in the Performance
|
|
15
|
+
* @description Text to indicate the status of a heap snapshot in the Performance panel.
|
|
16
16
|
*/
|
|
17
17
|
propagatingDomState: 'Propagating DOM state…',
|
|
18
18
|
/**
|
|
19
|
-
* @description Text to indicate the status of a heap snapshot in the Performance
|
|
19
|
+
* @description Text to indicate the status of a heap snapshot in the Performance panel. Flag here
|
|
20
20
|
* refers to the programming concept for a piece of binary data (yes/no).
|
|
21
21
|
*/
|
|
22
22
|
calculatingNodeFlags: 'Calculating node flags…',
|
|
23
23
|
/**
|
|
24
|
-
* @description Text to indicate the status of a heap snapshot in the Performance
|
|
24
|
+
* @description Text to indicate the status of a heap snapshot in the Performance panel.
|
|
25
25
|
*/
|
|
26
26
|
calculatingDistances: 'Calculating distances…',
|
|
27
27
|
/**
|
|
28
|
-
* @description Text to indicate the status of a heap snapshot in the Performance
|
|
28
|
+
* @description Text to indicate the status of a heap snapshot in the Performance panel.
|
|
29
29
|
*/
|
|
30
30
|
calculatingShallowSizes: 'Calculating shallow sizes…',
|
|
31
31
|
/**
|
|
32
|
-
* @description Text to indicate the status of a heap snapshot in the Performance
|
|
32
|
+
* @description Text to indicate the status of a heap snapshot in the Performance panel.
|
|
33
33
|
*/
|
|
34
34
|
calculatingRetainedSizes: 'Calculating retained sizes…',
|
|
35
35
|
/**
|
|
36
|
-
* @description Text to indicate the status of a heap snapshot in the Performance
|
|
36
|
+
* @description Text to indicate the status of a heap snapshot in the Performance panel.
|
|
37
37
|
*/
|
|
38
38
|
buildingDominatedNodes: 'Building dominated nodes…',
|
|
39
39
|
/**
|
|
40
|
-
* @description Text to indicate the status of a heap snapshot in the Performance
|
|
40
|
+
* @description Text to indicate the status of a heap snapshot in the Performance panel.
|
|
41
41
|
* During this step, names are assigned to objects in the heap snapshot.
|
|
42
42
|
*/
|
|
43
43
|
calculatingObjectNames: 'Calculating object names…',
|
|
44
44
|
/**
|
|
45
|
-
* @description Text to indicate the status of a heap snapshot in the Performance
|
|
45
|
+
* @description Text to indicate the status of a heap snapshot in the Performance panel.
|
|
46
46
|
*/
|
|
47
47
|
calculatingStatistics: 'Calculating statistics…',
|
|
48
48
|
/**
|
|
49
|
-
* @description Text to indicate the status of a heap snapshot in the Performance
|
|
49
|
+
* @description Text to indicate the status of a heap snapshot in the Performance panel.
|
|
50
50
|
*/
|
|
51
51
|
calculatingSamples: 'Calculating samples…',
|
|
52
52
|
/**
|
|
53
|
-
* @description Text to indicate the status of a heap snapshot in the Performance
|
|
53
|
+
* @description Text to indicate the status of a heap snapshot in the Performance panel.
|
|
54
54
|
*/
|
|
55
55
|
buildingLocations: 'Building locations…',
|
|
56
56
|
/**
|
|
57
|
-
* @description Text to indicate the status of a heap snapshot in the Performance
|
|
57
|
+
* @description Text to indicate the status of a heap snapshot in the Performance panel.
|
|
58
58
|
*/
|
|
59
59
|
calculatingNativeContextAttribution: 'Calculating native context attribution…',
|
|
60
60
|
/**
|
|
61
|
-
* @description Text to indicate the status of a heap snapshot in the Performance
|
|
61
|
+
* @description Text to indicate the status of a heap snapshot in the Performance panel.
|
|
62
62
|
*/
|
|
63
63
|
finishedProcessing: 'Finished processing.',
|
|
64
64
|
/**
|
|
65
|
-
* @description Text to indicate the status of a heap snapshot in the Performance
|
|
65
|
+
* @description Text to indicate the status of a heap snapshot in the Performance panel.
|
|
66
66
|
*/
|
|
67
67
|
buildingAllocationStatistics: 'Building allocation statistics…',
|
|
68
68
|
/**
|
|
69
|
-
* @description Text to indicate the status of a heap snapshot in the Performance
|
|
69
|
+
* @description Text to indicate the status of a heap snapshot in the Performance panel.
|
|
70
70
|
*/
|
|
71
71
|
done: 'Done',
|
|
72
72
|
/**
|
|
73
|
-
* @description Text in
|
|
73
|
+
* @description Text in heap snapshot loader of the Memory panel when taking a heap snapshot.
|
|
74
74
|
*/
|
|
75
75
|
processingSnapshot: 'Processing snapshot…',
|
|
76
76
|
/**
|
|
77
|
-
* @description Text to indicate the status of a heap snapshot in the Performance
|
|
77
|
+
* @description Text to indicate the status of a heap snapshot in the Performance panel.
|
|
78
78
|
*/
|
|
79
79
|
parsingStrings: 'Parsing strings…',
|
|
80
80
|
/**
|
|
81
|
-
* @description Text in
|
|
81
|
+
* @description Text in heap snapshot loader of the Memory panel when taking a heap snapshot.
|
|
82
82
|
*/
|
|
83
83
|
loadingSnapshotInfo: 'Loading snapshot info…',
|
|
84
84
|
/**
|
|
85
|
-
* @description Text in
|
|
85
|
+
* @description Text in heap snapshot loader of the Memory panel when taking a heap snapshot.
|
|
86
86
|
* @example {38} PH1
|
|
87
87
|
*/
|
|
88
88
|
loadingNodesD: 'Loading nodes… {PH1}%',
|
|
89
89
|
/**
|
|
90
|
-
* @description Text in
|
|
90
|
+
* @description Text in heap snapshot loader of the Memory panel when taking a heap snapshot.
|
|
91
91
|
* @example {30} PH1
|
|
92
92
|
*/
|
|
93
93
|
loadingEdgesD: 'Loading edges… {PH1}%',
|
|
94
94
|
/**
|
|
95
|
-
* @description Text in
|
|
95
|
+
* @description Text in heap snapshot loader of the Memory panel when taking a heap snapshot.
|
|
96
96
|
* @example {30} PH1
|
|
97
97
|
*/
|
|
98
98
|
loadingAllocationTracesD: 'Loading allocation traces… {PH1}%',
|
|
99
99
|
/**
|
|
100
|
-
* @description Text in
|
|
100
|
+
* @description Text in heap snapshot loader of the Memory panel when taking a heap snapshot.
|
|
101
101
|
*/
|
|
102
102
|
loadingSamples: 'Loading samples…',
|
|
103
103
|
/**
|
|
104
|
-
* @description Text in
|
|
104
|
+
* @description Text in heap snapshot loader of the Memory panel when taking a heap snapshot.
|
|
105
105
|
*/
|
|
106
106
|
loadingLocations: 'Loading locations…',
|
|
107
107
|
/**
|
|
108
|
-
* @description Text in
|
|
108
|
+
* @description Text in heap snapshot loader of the Memory panel when taking a heap snapshot.
|
|
109
109
|
*/
|
|
110
110
|
loadingStrings: 'Loading strings…',
|
|
111
111
|
} as const;
|
|
@@ -16,27 +16,27 @@ import type {ProfilesPanel} from './ProfilesPanel.js';
|
|
|
16
16
|
|
|
17
17
|
const UIStrings = {
|
|
18
18
|
/**
|
|
19
|
-
* @description
|
|
19
|
+
* @description Header above the JavaScript VM instance selector in the Memory panel launcher.
|
|
20
20
|
*/
|
|
21
21
|
selectJavascriptVmInstance: 'Select JavaScript VM instance',
|
|
22
22
|
/**
|
|
23
|
-
* @description Text to load something
|
|
23
|
+
* @description Text to load something.
|
|
24
24
|
*/
|
|
25
25
|
load: 'Load profile',
|
|
26
26
|
/**
|
|
27
|
-
* @description
|
|
27
|
+
* @description Primary button text to take an instant heap snapshot in the Memory panel.
|
|
28
28
|
*/
|
|
29
29
|
takeSnapshot: 'Take snapshot',
|
|
30
30
|
/**
|
|
31
|
-
* @description Text of an item that stops the running task
|
|
31
|
+
* @description Text of an item that stops the running task.
|
|
32
32
|
*/
|
|
33
33
|
stop: 'Stop',
|
|
34
34
|
/**
|
|
35
|
-
* @description
|
|
35
|
+
* @description Primary button text to start recording a continuous profile in the Memory panel.
|
|
36
36
|
*/
|
|
37
37
|
start: 'Start',
|
|
38
38
|
/**
|
|
39
|
-
* @description
|
|
39
|
+
* @description Header for the profile type selection group in the Memory panel launcher.
|
|
40
40
|
*/
|
|
41
41
|
selectProfilingType: 'Select profiling type',
|
|
42
42
|
} as const;
|
|
@@ -68,30 +68,30 @@ import {WritableProfileHeader} from './WritableProfileHeader.js';
|
|
|
68
68
|
|
|
69
69
|
const UIStrings = {
|
|
70
70
|
/**
|
|
71
|
-
* @description
|
|
71
|
+
* @description Error message when attempting to load an unsupported profile file format.
|
|
72
72
|
* @example {'.js', '.json'} PH1
|
|
73
73
|
*/
|
|
74
74
|
cantLoadFileSupportedFile: 'Can’t load file. Supported file extensions: \'\'{PH1}\'\'.',
|
|
75
75
|
/**
|
|
76
|
-
* @description
|
|
76
|
+
* @description Error message when trying to load a profile while a recording is currently active.
|
|
77
77
|
*/
|
|
78
78
|
cantLoadProfileWhileAnother: 'Can’t load profile while another profile is being recorded.',
|
|
79
79
|
/**
|
|
80
|
-
* @description
|
|
80
|
+
* @description Error header when loading a profile file fails.
|
|
81
81
|
*/
|
|
82
82
|
profileLoadingFailed: 'Profile loading failed',
|
|
83
83
|
/**
|
|
84
|
-
* @description
|
|
84
|
+
* @description Detailed error reason string shown when profile loading fails.
|
|
85
85
|
* @example {cannot open file} PH1
|
|
86
86
|
*/
|
|
87
87
|
failReason: 'Reason: {PH1}.',
|
|
88
88
|
/**
|
|
89
|
-
* @description
|
|
89
|
+
* @description Header for a profile run iteration in the Profiles sidebar.
|
|
90
90
|
* @example {2} PH1
|
|
91
91
|
*/
|
|
92
92
|
runD: 'Run {PH1}',
|
|
93
93
|
/**
|
|
94
|
-
* @description
|
|
94
|
+
* @description Sidebar section header for collected profiles.
|
|
95
95
|
*/
|
|
96
96
|
profiles: 'Profiles',
|
|
97
97
|
} as const;
|
|
@@ -14,31 +14,31 @@ import {ProfileHeader, type ProfileType} from './ProfileHeader.js';
|
|
|
14
14
|
|
|
15
15
|
const UIStrings = {
|
|
16
16
|
/**
|
|
17
|
-
* @description Name of a profile
|
|
17
|
+
* @description Name of a profile.
|
|
18
18
|
* @example {2} PH1
|
|
19
19
|
*/
|
|
20
20
|
profileD: 'Profile {PH1}',
|
|
21
21
|
/**
|
|
22
|
-
* @description
|
|
22
|
+
* @description Status update showing data loaded size while reading a profile file from disk.
|
|
23
23
|
* @example {4 MB} PH1
|
|
24
24
|
*/
|
|
25
25
|
loadingD: 'Loading… {PH1}',
|
|
26
26
|
/**
|
|
27
|
-
* @description
|
|
27
|
+
* @description Error message shown when reading a profile file from disk fails.
|
|
28
28
|
* @example {example.file} PH1
|
|
29
29
|
* @example {cannot open file} PH2
|
|
30
30
|
*/
|
|
31
31
|
fileSReadErrorS: 'File \'\'{PH1}\'\' read error: {PH2}',
|
|
32
32
|
/**
|
|
33
|
-
* @description Text when something is loading
|
|
33
|
+
* @description Text when something is loading.
|
|
34
34
|
*/
|
|
35
35
|
loading: 'Loading…',
|
|
36
36
|
/**
|
|
37
|
-
* @description
|
|
37
|
+
* @description Error message when loading a profile file fails.
|
|
38
38
|
*/
|
|
39
39
|
failedToReadFile: 'Failed to read file',
|
|
40
40
|
/**
|
|
41
|
-
* @description
|
|
41
|
+
* @description Status update message while parsing profile JSON content.
|
|
42
42
|
*/
|
|
43
43
|
parsing: 'Parsing…',
|
|
44
44
|
/**
|
|
@@ -12,31 +12,31 @@ let loadedProfilerModule: (typeof Profiler|undefined);
|
|
|
12
12
|
|
|
13
13
|
const UIStrings = {
|
|
14
14
|
/**
|
|
15
|
-
* @description Title for the profiler tab
|
|
15
|
+
* @description Title for the profiler tab.
|
|
16
16
|
*/
|
|
17
17
|
memory: 'Memory',
|
|
18
18
|
/**
|
|
19
|
-
* @description Text in the
|
|
19
|
+
* @description Text in the shortcuts page to explain a keyboard shortcut (start/stop recording performance).
|
|
20
20
|
*/
|
|
21
21
|
startStopRecording: 'Start/stop recording',
|
|
22
22
|
/**
|
|
23
|
-
* @description
|
|
23
|
+
* @description Title of the action to show the Memory panel.
|
|
24
24
|
*/
|
|
25
25
|
showMemory: 'Show Memory',
|
|
26
26
|
/**
|
|
27
|
-
* @description
|
|
27
|
+
* @description Title of the action to clear all recorded profiles in the Memory panel.
|
|
28
28
|
*/
|
|
29
29
|
clearAllProfiles: 'Clear all profiles',
|
|
30
30
|
/**
|
|
31
|
-
* @description
|
|
31
|
+
* @description Title of the action to save a recorded profile to a file.
|
|
32
32
|
*/
|
|
33
33
|
saveProfile: 'Save profile…',
|
|
34
34
|
/**
|
|
35
|
-
* @description
|
|
35
|
+
* @description Title of the action to load a saved profile from a file.
|
|
36
36
|
*/
|
|
37
37
|
loadProfile: 'Load profile…',
|
|
38
38
|
/**
|
|
39
|
-
* @description
|
|
39
|
+
* @description Title of the action to delete a profile in the Memory panel.
|
|
40
40
|
*/
|
|
41
41
|
deleteProfile: 'Delete profile',
|
|
42
42
|
} as const;
|