chrome-devtools-frontend 1.0.1703574 → 1.0.1704172

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.
Files changed (69) hide show
  1. package/AUTHORS +1 -0
  2. package/front_end/core/common/ParsedURL.ts +54 -0
  3. package/front_end/core/platform/StringUtilities.ts +65 -0
  4. package/front_end/core/sdk/CPUThrottlingManager.ts +3 -3
  5. package/front_end/core/sdk/SourceMap.ts +3 -3
  6. package/front_end/core/sdk/SourceMapScopeChainEntry.ts +4 -3
  7. package/front_end/core/sdk/SourceMapScopesInfo.ts +17 -5
  8. package/front_end/entrypoints/main/MainImpl.ts +3 -3
  9. package/front_end/models/bindings/CompilerScriptMapping.ts +1 -1
  10. package/front_end/models/har/HARFormat.ts +7 -2
  11. package/front_end/models/source_map_scopes/NamesResolver.ts +13 -5
  12. package/front_end/panels/accessibility/AccessibilityAnnouncementRecordingListView.ts +33 -1
  13. package/front_end/panels/accessibility/AccessibilityAnnouncementRecordingView.ts +4 -12
  14. package/front_end/panels/application/ApplicationPanelSidebar.ts +58 -60
  15. package/front_end/panels/application/BackForwardCacheTreeElement.ts +1 -1
  16. package/front_end/panels/application/FrameDetailsView.ts +64 -82
  17. package/front_end/panels/application/OpenedWindowDetailsView.ts +20 -21
  18. package/front_end/panels/application/PreloadingTreeElement.ts +3 -3
  19. package/front_end/panels/common/CommentsOverlayWidget.ts +145 -72
  20. package/front_end/panels/common/commentsOverlay.css +34 -23
  21. package/front_end/panels/elements/DOMTreeWidget.ts +29 -10
  22. package/front_end/panels/network/RequestPayloadView.ts +7 -2
  23. package/front_end/panels/network/ShowMoreDetailsWidget.ts +12 -9
  24. package/front_end/panels/sources/DebuggerPlugin.ts +49 -16
  25. package/front_end/panels/sources/SourcesPanel.ts +1 -1
  26. package/front_end/panels/sources/SourcesView.ts +3 -12
  27. package/front_end/panels/sources/TabbedEditorContainer.ts +0 -3
  28. package/front_end/panels/sources/components/HeadersView.ts +193 -123
  29. package/front_end/third_party/chromium/README.chromium +1 -1
  30. package/front_end/third_party/puppeteer/README.chromium +2 -2
  31. package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +5 -0
  32. package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +24 -32
  33. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ElementHandle.d.ts +1 -1
  34. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ElementHandle.d.ts.map +1 -1
  35. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ElementHandle.js +15 -1
  36. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ElementHandle.js.map +1 -1
  37. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Accessibility.js +8 -1
  38. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Accessibility.js.map +1 -1
  39. package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.d.ts +0 -8
  40. package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.d.ts.map +1 -1
  41. package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.js +0 -24
  42. package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.js.map +1 -1
  43. package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.d.ts +12 -0
  44. package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
  45. package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.js +79 -17
  46. package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.js.map +1 -1
  47. package/front_end/third_party/puppeteer/package/lib/puppeteer/node-env-setup.js +1 -1
  48. package/front_end/third_party/puppeteer/package/lib/puppeteer/node-env-setup.js.map +1 -1
  49. package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.d.ts +3 -3
  50. package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.js +3 -3
  51. package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.d.ts +1 -1
  52. package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.js +1 -1
  53. package/front_end/third_party/puppeteer/package/lib/types.d.ts +5 -0
  54. package/front_end/third_party/puppeteer/package/package.json +4 -4
  55. package/front_end/third_party/puppeteer/package/src/api/ElementHandle.ts +15 -2
  56. package/front_end/third_party/puppeteer/package/src/cdp/Accessibility.ts +10 -1
  57. package/front_end/third_party/puppeteer/package/src/common/Debug.ts +0 -27
  58. package/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts +96 -17
  59. package/front_end/third_party/puppeteer/package/src/node-env-setup.ts +1 -1
  60. package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
  61. package/front_end/third_party/puppeteer/package/src/util/version.ts +1 -1
  62. package/front_end/ui/comments/CommentAnchorResolver.ts +60 -22
  63. package/front_end/ui/comments/CommentOverlayManager.ts +78 -25
  64. package/front_end/ui/legacy/components/data_grid/DataGridExporter.ts +7 -13
  65. package/front_end/ui/legacy/components/inline_editor/PositionAreaEditor.ts +51 -57
  66. package/front_end/ui/legacy/components/source_frame/ImageView.ts +101 -42
  67. package/front_end/ui/legacy/components/utils/Linkifier.ts +1 -2
  68. package/front_end/ui/visual_logging/KnownContextValues.ts +7 -0
  69. package/package.json +1 -1
@@ -87,207 +87,205 @@ import {WebMCPTreeElement} from './WebMCPTreeElement.js';
87
87
 
88
88
  const UIStrings = {
89
89
  /**
90
- * @description Text of a context menu item to start a chat with AI
90
+ * @description Context menu item to start a chat with AI in the Application panel sidebar.
91
91
  */
92
92
  startAChat: 'Start a chat',
93
93
  /**
94
- * @description Text of a context menu item to explain contents of a local/session storage bucket with AI
94
+ * @description Context menu item to explain storage with AI in the Application panel sidebar.
95
95
  */
96
96
  explainStorage: 'Explain storage',
97
97
  /**
98
- * @description Text of a context menu item to explain web cookies with AI
98
+ * @description Context menu item to explain cookies with AI in the Application panel sidebar.
99
99
  */
100
100
  explainCookies: 'Explain cookies',
101
101
  /**
102
- * @description Text in Application Panel Sidebar of the Application panel
102
+ * @description Section header for the application section in the sidebar of the Application panel.
103
103
  */
104
104
  application: 'Application',
105
105
  /**
106
- * @description Text in Application Panel Sidebar of the Application panel
106
+ * @description Tree item label for ads in the sidebar of the Application panel.
107
107
  */
108
108
  ads: 'Ads',
109
109
  /**
110
- * @description Tooltip for the experimental icon in the Ads panel
110
+ * @description Tooltip for the experimental feature icon next to the ads item in the sidebar of the Application panel.
111
111
  */
112
112
  experimental: 'Experimental',
113
113
  /**
114
- * @description Text in Application Panel Sidebar of the Application panel
114
+ * @description Tree item label for storage in the sidebar of the Application panel.
115
115
  */
116
116
  storage: 'Storage',
117
117
  /**
118
- * @description Text in Application Panelthat shows if no local storage
119
- * can be shown.
118
+ * @description Empty state text displayed when no local storage is detected in the Application panel.
120
119
  */
121
120
  noLocalStorage: 'No local storage detected',
122
121
  /**
123
- * @description Text in Application Panel Sidebar of the Application panel
122
+ * @description Tree item label for local storage in the sidebar of the Application panel.
124
123
  */
125
124
  localStorage: 'Local storage',
126
125
  /**
127
- * @description Text in the Application panel describing the local storage tab.
126
+ * @description Informational text describing the local storage view in the Application panel.
128
127
  */
129
128
  localStorageDescription: 'On this page you can view, add, edit, and delete local storage key-value pairs',
130
129
  /**
131
- * @description Text in Application Panel Sidebar of the Application panel
130
+ * @description Tree item label for session storage in the sidebar of the Application panel.
132
131
  */
133
132
  sessionStorage: 'Session storage',
134
133
  /**
135
- * @description Text in Application Panel if no session storage can be shown.
134
+ * @description Empty state text displayed when no session storage is detected in the Application panel.
136
135
  */
137
136
  noSessionStorage: 'No session storage detected',
138
137
  /**
139
- * @description Text in the Application panel describing the session storage tab.
138
+ * @description Informational text describing the session storage view in the Application panel.
140
139
  */
141
140
  sessionStorageDescription: 'On this page you can view, add, edit, and delete session storage key-value pairs',
142
141
  /**
143
- * @description Text in Application Panel Sidebar of the Application panel
142
+ * @description Tree item label for extension storage in the sidebar of the Application panel.
144
143
  */
145
144
  extensionStorage: 'Extension storage',
146
145
  /**
147
- * @description Text in Application Panel if no extension storage can be shown
146
+ * @description Empty state text displayed when no extension storage is detected in the Application panel.
148
147
  */
149
148
  noExtensionStorage: 'No extension storage detected',
150
149
  /**
151
- * @description Text in the Application panel describing the extension storage tab.
150
+ * @description Informational text describing the extension storage view in the Application panel.
152
151
  */
153
152
  extensionStorageDescription: 'On this page you can view, add, edit, and delete extension storage key-value pairs',
154
153
  /**
155
- * @description Text for extension session storage in Application panel
154
+ * @description Label for extension session storage in the Application panel.
156
155
  */
157
156
  extensionSessionStorage: 'Session',
158
157
  /**
159
- * @description Text for extension local storage in Application panel
158
+ * @description Label for extension local storage in the Application panel.
160
159
  */
161
160
  extensionLocalStorage: 'Local',
162
161
  /**
163
- * @description Text for extension sync storage in Application panel
162
+ * @description Label for extension sync storage in the Application panel.
164
163
  */
165
164
  extensionSyncStorage: 'Sync',
166
165
  /**
167
- * @description Text for extension managed storage in Application panel
166
+ * @description Label for extension managed storage in the Application panel.
168
167
  */
169
168
  extensionManagedStorage: 'Managed',
170
169
  /**
171
- * @description Text for web cookies
170
+ * @description Tree item label for cookies in the sidebar of the Application panel.
172
171
  */
173
172
  cookies: 'Cookies',
174
173
  /**
175
- * @description Text in the Application Panel if no cookies are set
174
+ * @description Empty state text displayed when no cookies are set in the Application panel.
176
175
  */
177
176
  noCookies: 'No cookies set',
178
177
  /**
179
- * @description Text for web cookies
178
+ * @description Informational text describing the cookies view in the Application panel.
180
179
  */
181
180
  cookiesDescription: 'On this page you can view, add, edit, and delete cookies',
182
181
  /**
183
- * @description Text in Application Panel Sidebar of the Application panel
182
+ * @description Tree item label for background services in the sidebar of the Application panel.
184
183
  */
185
184
  backgroundServices: 'Background services',
186
185
  /**
187
- * @description Text for rendering frames
186
+ * @description Tree item label for frames in the sidebar of the Application panel.
188
187
  */
189
188
  frames: 'Frames',
190
189
  /**
191
- * @description Text that appears on a button for the manifest resource type filter.
190
+ * @description Tree item label for the web app manifest in the sidebar of the Application panel.
192
191
  */
193
192
  manifest: 'Manifest',
194
193
  /**
195
- * @description Text in Application Panel Sidebar of the Application panel
194
+ * @description Tree item label for IndexedDB in the sidebar of the Application panel.
196
195
  */
197
196
  indexeddb: 'IndexedDB',
198
197
  /**
199
- * @description Text in Application Panel if no indexedDB is detected
198
+ * @description Empty state text displayed when no IndexedDB database is detected in the Application panel.
200
199
  */
201
- noIndexeddb: 'No indexedDB detected',
200
+ noIndexeddb: 'No IndexedDB detected',
202
201
  /**
203
- * @description Text in the Application panel describing the extension storage tab.
202
+ * @description Informational text describing the IndexedDB view in the Application panel.
204
203
  */
205
- indexeddbDescription: 'On this page you can view and delete indexedDB key-value pairs and databases',
204
+ indexeddbDescription: 'On this page you can view and delete IndexedDB key-value pairs and databases',
206
205
  /**
207
- * @description A context menu item in the Application Panel Sidebar of the Application panel
206
+ * @description Context menu item to refresh IndexedDB in the Application panel sidebar.
208
207
  */
209
208
  refreshIndexeddb: 'Refresh IndexedDB',
210
209
  /**
211
- * @description Tooltip in Application Panel Sidebar of the Application panel
210
+ * @description Tooltip for an empty database showing its version in the IndexedDB tree item in the Application panel sidebar.
212
211
  * @example {1.0} PH1
213
212
  */
214
213
  versionSEmpty: 'Version: {PH1} (empty)',
215
214
  /**
216
- * @description Tooltip in Application Panel Sidebar of the Application panel
215
+ * @description Tooltip for a database showing its version in the IndexedDB tree item in the Application panel sidebar.
217
216
  * @example {1.0} PH1
218
217
  */
219
218
  versionS: 'Version: {PH1}',
220
219
  /**
221
- * @description Text to clear content
220
+ * @description Context menu item to clear data in the Application panel sidebar.
222
221
  */
223
222
  clear: 'Clear',
224
223
  /**
225
- * @description Text in Application Panel Sidebar of the Application panel
224
+ * @description Tooltip for an object store showing its key path in the IndexedDB tree item in the Application panel sidebar.
226
225
  * @example {"key path"} PH1
227
226
  */
228
227
  keyPathS: 'Key path: {PH1}',
229
228
  /**
230
- * @description Text in Application Panel Sidebar of the Application panel
229
+ * @description Tree item label for local files in the sidebar of the Application panel.
231
230
  */
232
- localFiles: 'Local Files',
231
+ localFiles: 'Local files',
233
232
  /**
234
- * @description Tooltip in Application Panel Sidebar of the Application panel
233
+ * @description Tooltip for a cookie domain showing which frames use its cookies in the Application panel sidebar.
235
234
  * @example {https://example.com} PH1
236
235
  */
237
236
  cookiesUsedByFramesFromS: 'Cookies used by frames from {PH1}',
238
237
  /**
239
- * @description Text in Frames View of the Application panel
238
+ * @description Tree item label for opened windows in the sidebar of the Application panel.
240
239
  */
241
- openedWindows: 'Opened Windows',
240
+ openedWindows: 'Opened windows',
242
241
  /**
243
- * @description Text in Frames View of the Application panel
242
+ * @description Informational text describing the opened windows view in the Application panel.
244
243
  */
245
- openedWindowsDescription: 'On this page you can view windows opened via window\.open\(\)',
244
+ openedWindowsDescription: 'On this page you can view windows opened via `window.open()`',
246
245
  /**
247
- * @description Label for plural of worker type: web workers
246
+ * @description Tree item label for Web Workers in the sidebar of the Application panel.
248
247
  */
249
248
  webWorkers: 'Web Workers',
250
249
  /**
251
- * @description Label in frame tree for unavailable document
250
+ * @description Tree item label in the frame tree when no document is detected in the Application panel sidebar.
252
251
  */
253
252
  documentNotAvailable: 'No document detected',
254
253
  /**
255
- * @description Description of content of unavailable document in Application panel
254
+ * @description Informational text explaining that a document was generated dynamically via document.write().
256
255
  */
257
- theContentOfThisDocumentHasBeen:
258
- 'The content of this document has been generated dynamically via \'document.write()\'',
256
+ theContentOfThisDocumentHasBeen: 'The content of this document has been generated dynamically via `document.write()`',
259
257
  /**
260
- * @description Text in Frames View of the Application panel
258
+ * @description Tree item label for an opened window without a title in the sidebar of the Application panel.
261
259
  */
262
260
  windowWithoutTitle: 'Window without title',
263
261
  /**
264
- * @description Default name for worker
262
+ * @description Fallback tree item label for a worker without a title or URL in the sidebar of the Application panel.
265
263
  */
266
264
  worker: 'worker',
267
265
  /**
268
- * @description Description text for describing the dedicated worker tab.
266
+ * @description Informational text describing the dedicated workers view in the Application panel.
269
267
  */
270
- workerDescription: 'On this page you can view dedicated workers that are created by the parent frame',
268
+ workerDescription: 'On this page you can view dedicated workers added by the parent frame',
271
269
  /**
272
- * @description Aria text for screen reader to announce they can scroll to top of manifest if invoked
270
+ * @description Accessibility announcement indicating that invoking the element scrolls to the top of the manifest.
273
271
  */
274
- onInvokeManifestAlert: 'Manifest: Invoke to scroll to the top of manifest',
272
+ onInvokeManifestAlert: 'Manifest: invoke to scroll to the top of manifest',
275
273
  /**
276
- * @description Aria text for screen reader to announce they can scroll to a section if invoked
274
+ * @description Accessibility announcement indicating that invoking the element scrolls to a section in the manifest.
277
275
  * @example {"Identity"} PH1
278
276
  */
279
- beforeInvokeAlert: '{PH1}: Invoke to scroll to this section in manifest',
277
+ beforeInvokeAlert: '{PH1}: invoke to scroll to this section in manifest',
280
278
  /**
281
- * @description Alert message for screen reader to announce which subsection is being scrolled to
279
+ * @description Accessibility announcement indicating that the manifest view was scrolled to a section.
282
280
  * @example {"Identity"} PH1
283
281
  */
284
282
  onInvokeAlert: 'Scrolled to {PH1}',
285
283
  /**
286
- * @description Application sidebar panel
284
+ * @description Accessibility label for the Application panel sidebar.
287
285
  */
288
286
  applicationSidebarPanel: 'Application panel sidebar',
289
287
  /**
290
- * @description Description text in the Application Panel describing a frame's resources
288
+ * @description Informational text describing a frame's resources in the Application panel.
291
289
  */
292
290
  resourceDescription: 'On this page you can view the frame’s resources',
293
291
  } as const;
@@ -13,7 +13,7 @@ import type {ResourcesPanel} from './ResourcesPanel.js';
13
13
 
14
14
  const UIStrings = {
15
15
  /**
16
- * @description Text in Application Panel Sidebar of the Application panel
16
+ * @description Label for the back/forward cache tree item in the sidebar of the Application panel.
17
17
  */
18
18
  backForwardCache: 'Back/forward cache',
19
19
  } as const;
@@ -35,228 +35,210 @@ const {widget} = UI.Widget;
35
35
 
36
36
  const UIStrings = {
37
37
  /**
38
- * @description Section header in the Frame Details view
38
+ * @description Section header for debugging information in the frame details view.
39
39
  */
40
- additionalInformation: 'Additional Information',
40
+ additionalInformation: 'More information',
41
41
  /**
42
- * @description Explanation for why the additional information section is being shown
42
+ * @description Explanation for why the debugging information section is shown in the frame details view.
43
43
  */
44
- thisAdditionalDebugging:
45
- 'This additional (debugging) information is shown because the \'Protocol Monitor\' experiment is enabled',
44
+ thisAdditionalDebugging: 'This debugging information is shown because the "Protocol Monitor" experiment is enabled',
46
45
  /**
47
- * @description Label for subtitle of frame details view
46
+ * @description Field label for the frame ID in the frame details view.
48
47
  */
49
48
  frameId: 'Frame ID',
50
49
  /**
51
- * @description Name of a network resource type
50
+ * @description Section header for document details in the frame details view.
52
51
  */
53
52
  document: 'Document',
54
53
  /**
55
- * @description A web URL (for a lot of languages this does not need to be translated, please translate only where necessary)
54
+ * @description Field label for the URL in the frame details view.
56
55
  */
57
56
  url: 'URL',
58
57
  /**
59
- * /**
60
- * @description Title for a link to the Sources panel
58
+ * @description Tooltip for the button to open the URL in the Sources panel.
61
59
  */
62
60
  clickToOpenInSourcesPanel: 'Click to open in Sources panel',
63
61
  /**
64
- * @description Title for a link to the Network panel
62
+ * @description Tooltip for the button to open the URL in the Network panel.
65
63
  */
66
64
  clickToOpenInNetworkPanel: 'Click to open in Network panel',
67
65
  /**
68
- * @description Title for unreachable URL field
66
+ * @description Field label for an unreachable URL in the frame details view.
69
67
  */
70
68
  unreachableUrl: 'Unreachable URL',
71
69
  /**
72
- * @description Title for a link that applies a filter to the network panel
70
+ * @description Tooltip for the button to filter by frame in the Network panel.
73
71
  */
74
72
  clickToOpenInNetworkPanelMight: 'Click to open in Network panel (might require page reload)',
75
73
  /**
76
- * @description The origin of a URL (https://web.dev/same-site-same-origin/#origin)
77
- *(for a lot of languages this does not need to be translated, please translate only where necessary)
74
+ * @description Field label for the origin of a URL in the frame details view.
78
75
  */
79
76
  origin: 'Origin',
80
77
  /**
81
- * /**
82
- * @description Related node label in Timeline UIUtils of the Performance panel
78
+ * @description Field label for the owner DOM element of the frame in the frame details view.
83
79
  */
84
- ownerElement: 'Owner Element',
80
+ ownerElement: 'Owner element',
85
81
  /**
86
- * @description Title for ad frame type field
82
+ * @description Field label for the ad status in the frame details view.
87
83
  */
88
- adStatus: 'Ad Status',
84
+ adStatus: 'Ad status',
89
85
  /**
90
- * @description Description for ad frame type
86
+ * @description Description explaining that this frame is the root frame of an ad in the frame details view.
91
87
  */
92
88
  rootDescription: 'This frame has been identified as the root frame of an ad',
93
89
  /**
94
- * @description Value for ad frame type
90
+ * @description Value for the root ad frame type in the frame details view.
95
91
  */
96
92
  root: 'root',
97
93
  /**
98
- * @description Description for ad frame type
94
+ * @description Description explaining that this frame is a child frame of an ad in the frame details view.
99
95
  */
100
96
  childDescription: 'This frame has been identified as a child frame of an ad',
101
97
  /**
102
- * @description Value for ad frame type
98
+ * @description Value for the child ad frame type in the frame details view.
103
99
  */
104
100
  child: 'child',
105
101
  /**
106
- * @description Section header in the Frame Details view
102
+ * @description Section header for security and isolation in the frame details view.
107
103
  */
108
- securityIsolation: 'Security & Isolation',
104
+ securityIsolation: 'Security & isolation',
109
105
  /**
110
- * @description Section header in the Frame Details view
106
+ * @description Section header for Content Security Policy in the frame details view.
111
107
  */
112
108
  contentSecurityPolicy: 'Content Security Policy (CSP)',
113
109
  /**
114
- * @description Row title for in the Frame Details view
110
+ * @description Field label indicating whether the frame is a secure context in the frame details view.
115
111
  */
116
- secureContext: 'Secure Context',
112
+ secureContext: 'Secure context',
117
113
  /**
118
- * @description Text in Timeline indicating that input has happened recently
114
+ * @description Value indicating affirmative status in the frame details view.
119
115
  */
120
116
  yes: 'Yes',
121
117
  /**
122
- * @description Text in Timeline indicating that input has not happened recently
118
+ * @description Value indicating negative status in the frame details view.
123
119
  */
124
120
  no: 'No',
125
121
  /**
126
- * @description Label for whether a frame is cross-origin isolated
127
- *(https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/)
128
- *(for a lot of languages this does not need to be translated, please translate only where necessary)
122
+ * @description Field label indicating whether the frame is cross-origin isolated in the frame details view.
129
123
  */
130
- crossoriginIsolated: 'Cross-Origin Isolated',
124
+ crossoriginIsolated: 'Cross-origin isolated',
131
125
  /**
132
- * @description Explanatory text in the Frame Details view
126
+ * @description Explanatory text indicating that localhost is always a secure context in the frame details view.
133
127
  */
134
128
  localhostIsAlwaysASecureContext: '`Localhost` is always a secure context',
135
129
  /**
136
- * @description Explanatory text in the Frame Details view
130
+ * @description Explanatory text indicating that a frame ancestor is an insecure context in the frame details view.
137
131
  */
138
132
  aFrameAncestorIsAnInsecure: 'A frame ancestor is an insecure context',
139
133
  /**
140
- * @description Explanatory text in the Frame Details view
134
+ * @description Explanatory text indicating that the frame's scheme is insecure in the frame details view.
141
135
  */
142
136
  theFramesSchemeIsInsecure: 'The frame’s scheme is insecure',
143
137
  /**
144
- * @description This label specifies the server endpoints to which the server is reporting errors
145
- *and warnings through the Report-to API. Following this label will be the URL of the server.
138
+ * @description Label prefix for the reporting endpoint in the security & isolation section of the frame details view.
146
139
  */
147
140
  reportingTo: 'reporting to',
148
141
  /**
149
- * @description Section header in the Frame Details view
142
+ * @description Section header for API availability in the frame details view.
150
143
  */
151
144
  apiAvailability: 'API availability',
152
145
  /**
153
- * @description Explanation of why cross-origin isolation is important
154
- *(https://web.dev/why-coop-coep/)
155
- *(for a lot of languages 'cross-origin isolation' does not need to be translated, please translate only where necessary)
146
+ * @description Explanation of why cross-origin isolation is needed for certain APIs in the frame details view.
156
147
  */
157
148
  availabilityOfCertainApisDepends: 'Availability of certain APIs depends on the document being cross-origin isolated',
158
149
  /**
159
- * @description Description of the SharedArrayBuffer status
150
+ * @description Status indicating that SharedArrayBuffer is available and transferable in the frame details view.
160
151
  */
161
152
  availableTransferable: 'available, transferable',
162
153
  /**
163
- * @description Description of the SharedArrayBuffer status
154
+ * @description Status indicating that SharedArrayBuffer is available but not transferable in the frame details view.
164
155
  */
165
156
  availableNotTransferable: 'available, not transferable',
166
157
  /**
167
- * @description Explanation for the SharedArrayBuffer availability status
158
+ * @description Status indicating that a feature is unavailable in the frame details view.
168
159
  */
169
160
  unavailable: 'unavailable',
170
161
  /**
171
- * @description Tooltip for the SharedArrayBuffer availability status
162
+ * @description Tooltip explaining that the SharedArrayBuffer constructor is available and SABs can be transferred via postMessage in the frame details view.
172
163
  */
173
164
  sharedarraybufferConstructorIs:
174
165
  '`SharedArrayBuffer` constructor is available and `SABs` can be transferred via `postMessage`',
175
166
  /**
176
- * @description Tooltip for the SharedArrayBuffer availability status
167
+ * @description Tooltip explaining that the SharedArrayBuffer constructor is available but SABs cannot be transferred via postMessage in the frame details view.
177
168
  */
178
169
  sharedarraybufferConstructorIsAvailable:
179
- '`SharedArrayBuffer` constructor is available but `SABs` cannot be transferred via `postMessage`',
170
+ '`SharedArrayBuffer` constructor is available but `SABs` can’t be transferred via `postMessage`',
180
171
  /**
181
- * @description Explanation why SharedArrayBuffer will not be available in the future
182
- *(https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/)
183
- *(for a lot of languages 'cross-origin isolation' does not need to be translated, please translate only where necessary)
172
+ * @description Warning indicating that a feature will require a cross-origin isolated context in the future in the frame details view.
184
173
  */
185
174
  willRequireCrossoriginIsolated: '⚠️ will require cross-origin isolated context in the future',
186
175
  /**
187
- * @description Explanation why SharedArrayBuffer is not available
188
- *(https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/)
189
- *(for a lot of languages 'cross-origin isolation' does not need to be translated, please translate only where necessary).
176
+ * @description Status explanation indicating that a feature requires a cross-origin isolated context in the frame details view.
190
177
  */
191
178
  requiresCrossoriginIsolated: 'requires cross-origin isolated context',
192
179
  /**
193
- * @description Explanation for the SharedArrayBuffer availability status in case the transfer of a SAB requires the
194
- * permission policy `cross-origin-isolated` to be enabled (e.g. because the message refers to the situation in an iframe).
180
+ * @description Explanation that SharedArrayBuffer transfer requires enabling the permission policy in the frame details view.
195
181
  */
196
182
  transferRequiresCrossoriginIsolatedPermission:
197
183
  '`SharedArrayBuffer` transfer requires enabling the permission policy:',
198
184
  /**
199
- * @description Explanation for the Measure Memory availability status
185
+ * @description Status indicating that a feature is available in the frame details view.
200
186
  */
201
187
  available: 'available',
202
188
  /**
203
- * @description Tooltip for the Measure Memory availability status
189
+ * @description Tooltip indicating that the performance.measureUserAgentSpecificMemory() API is available in the frame details view.
204
190
  */
205
191
  thePerformanceAPI: 'The `performance.measureUserAgentSpecificMemory()` API is available',
206
192
  /**
207
- * @description Tooltip for the Measure Memory availability status
193
+ * @description Tooltip indicating that the performance.measureUserAgentSpecificMemory() API is not available in the frame details view.
208
194
  */
209
195
  thePerformancemeasureuseragentspecificmemory:
210
- 'The `performance.measureUserAgentSpecificMemory()` API is not available',
196
+ 'The `performance.measureUserAgentSpecificMemory()` API isn’t available',
211
197
  /**
212
- * @description Entry in the API availability section of the frame details view
198
+ * @description Field label for the measure memory API in the frame details view.
213
199
  */
214
- measureMemory: 'Measure Memory',
200
+ measureMemory: 'Measure memory',
215
201
  /**
216
- * @description Text that is usually a hyperlink to more documentation
202
+ * @description Link text to open documentation in the frame details view.
217
203
  */
218
204
  learnMore: 'Learn more',
219
205
  /**
220
- * @description Label for a stack trace. If a frame is created programmatically (i.e. via JavaScript), there is a
221
- * stack trace for the line of code which caused the creation of the iframe. This is the stack trace we are showing here.
206
+ * @description Field label for the stack trace showing where the frame was created in the frame details view.
222
207
  */
223
- creationStackTrace: 'Frame Creation `Stack Trace`',
208
+ creationStackTrace: 'Frame creation `stack trace`',
224
209
  /**
225
- * @description Tooltip for 'Frame Creation Stack Trace' explaining that the stack
226
- *trace shows where in the code the frame has been created programmatically
210
+ * @description Tooltip explaining that the stack trace shows where the frame was created in the frame details view.
227
211
  */
228
212
  creationStackTraceExplanation:
229
213
  'This frame was created programmatically. The `stack trace` shows where this happened.',
230
214
  /**
231
- * @description Text descripting why a frame has been indentified as an advertisement.
215
+ * @description Tooltip explaining that this frame is considered an ad because its parent frame is an ad in the frame details view.
232
216
  */
233
217
  parentIsAdExplanation: 'This frame is considered an ad frame because its parent frame is an ad frame',
234
218
  /**
235
- * @description Text descripting why a frame has been indentified as an advertisement.
219
+ * @description Tooltip explaining that this frame is considered an ad because its main document is an ad resource in the frame details view.
236
220
  */
237
221
  matchedBlockingRuleExplanation:
238
222
  'This frame is considered an ad frame because its current (or previous) main document is an ad resource',
239
223
  /**
240
- * @description Text descripting why a frame has been indentified as an advertisement.
224
+ * @description Tooltip explaining that this frame is considered an ad because an ad script was in the stack when it was created in the frame details view.
241
225
  */
242
226
  createdByAdScriptExplanation:
243
- 'There was an ad script in the `(async) stack` when this frame was created. Examining the creation `stack trace` of this frame might provide more insight.',
227
+ 'An ad script was in the `(async) stack` when this frame was created. Examining the creation `stack trace` of this frame might provide more insight.',
244
228
  /**
245
- * @description Label for the link(s) to the ad script(s) that led to this frame's creation.
229
+ * @description Field label for the ad script ancestry that led to the frame creation in the frame details view.
246
230
  */
247
- creatorAdScriptAncestry: 'Creator Ad Script Ancestry',
231
+ creatorAdScriptAncestry: 'Creator ad script ancestry',
248
232
  /**
249
- * @description Label for the filterlist rule that identified the root script in 'Creator Ad Script Ancestry' as an ad.
233
+ * @description Field label for the filterlist rule that identified the root script as an ad in the frame details view.
250
234
  */
251
- rootScriptFilterlistRule: 'Root Script Filterlist Rule',
235
+ rootScriptFilterlistRule: 'Root script filterlist rule',
252
236
  /**
253
- * @description Text describing the absence of a value.
237
+ * @description Value indicating the absence of a value in the frame details view.
254
238
  */
255
239
  none: 'None',
256
240
  /**
257
- * @description Explanation of what origin trials are
258
- *(https://developer.chrome.com/docs/web-platform/origin-trials/)
259
- *(please don't translate 'origin trials').
241
+ * @description Explanation of origin trials in the origin trials section of the frame details view.
260
242
  */
261
243
  originTrialsExplanation: 'Origin trials give you access to a new or experimental feature',
262
244
  } as const;