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.
- package/AUTHORS +1 -0
- package/front_end/core/common/ParsedURL.ts +54 -0
- package/front_end/core/platform/StringUtilities.ts +65 -0
- package/front_end/core/sdk/CPUThrottlingManager.ts +3 -3
- package/front_end/core/sdk/SourceMap.ts +3 -3
- package/front_end/core/sdk/SourceMapScopeChainEntry.ts +4 -3
- package/front_end/core/sdk/SourceMapScopesInfo.ts +17 -5
- package/front_end/entrypoints/main/MainImpl.ts +3 -3
- package/front_end/models/bindings/CompilerScriptMapping.ts +1 -1
- package/front_end/models/har/HARFormat.ts +7 -2
- package/front_end/models/source_map_scopes/NamesResolver.ts +13 -5
- package/front_end/panels/accessibility/AccessibilityAnnouncementRecordingListView.ts +33 -1
- package/front_end/panels/accessibility/AccessibilityAnnouncementRecordingView.ts +4 -12
- package/front_end/panels/application/ApplicationPanelSidebar.ts +58 -60
- package/front_end/panels/application/BackForwardCacheTreeElement.ts +1 -1
- package/front_end/panels/application/FrameDetailsView.ts +64 -82
- package/front_end/panels/application/OpenedWindowDetailsView.ts +20 -21
- package/front_end/panels/application/PreloadingTreeElement.ts +3 -3
- package/front_end/panels/common/CommentsOverlayWidget.ts +145 -72
- package/front_end/panels/common/commentsOverlay.css +34 -23
- package/front_end/panels/elements/DOMTreeWidget.ts +29 -10
- package/front_end/panels/network/RequestPayloadView.ts +7 -2
- package/front_end/panels/network/ShowMoreDetailsWidget.ts +12 -9
- package/front_end/panels/sources/DebuggerPlugin.ts +49 -16
- package/front_end/panels/sources/SourcesPanel.ts +1 -1
- package/front_end/panels/sources/SourcesView.ts +3 -12
- package/front_end/panels/sources/TabbedEditorContainer.ts +0 -3
- package/front_end/panels/sources/components/HeadersView.ts +193 -123
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/puppeteer/README.chromium +2 -2
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +24 -32
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ElementHandle.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ElementHandle.js +15 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Accessibility.js +8 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Accessibility.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.d.ts +0 -8
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.js +0 -24
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.d.ts +12 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.js +79 -17
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node-env-setup.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node-env-setup.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/package.json +4 -4
- package/front_end/third_party/puppeteer/package/src/api/ElementHandle.ts +15 -2
- package/front_end/third_party/puppeteer/package/src/cdp/Accessibility.ts +10 -1
- package/front_end/third_party/puppeteer/package/src/common/Debug.ts +0 -27
- package/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts +96 -17
- package/front_end/third_party/puppeteer/package/src/node-env-setup.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
- package/front_end/third_party/puppeteer/package/src/util/version.ts +1 -1
- package/front_end/ui/comments/CommentAnchorResolver.ts +60 -22
- package/front_end/ui/comments/CommentOverlayManager.ts +78 -25
- package/front_end/ui/legacy/components/data_grid/DataGridExporter.ts +7 -13
- package/front_end/ui/legacy/components/inline_editor/PositionAreaEditor.ts +51 -57
- package/front_end/ui/legacy/components/source_frame/ImageView.ts +101 -42
- package/front_end/ui/legacy/components/utils/Linkifier.ts +1 -2
- package/front_end/ui/visual_logging/KnownContextValues.ts +7 -0
- package/package.json +1 -1
|
@@ -87,207 +87,205 @@ import {WebMCPTreeElement} from './WebMCPTreeElement.js';
|
|
|
87
87
|
|
|
88
88
|
const UIStrings = {
|
|
89
89
|
/**
|
|
90
|
-
* @description
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
114
|
+
* @description Tree item label for storage in the sidebar of the Application panel.
|
|
115
115
|
*/
|
|
116
116
|
storage: 'Storage',
|
|
117
117
|
/**
|
|
118
|
-
* @description
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
154
|
+
* @description Label for extension session storage in the Application panel.
|
|
156
155
|
*/
|
|
157
156
|
extensionSessionStorage: 'Session',
|
|
158
157
|
/**
|
|
159
|
-
* @description
|
|
158
|
+
* @description Label for extension local storage in the Application panel.
|
|
160
159
|
*/
|
|
161
160
|
extensionLocalStorage: 'Local',
|
|
162
161
|
/**
|
|
163
|
-
* @description
|
|
162
|
+
* @description Label for extension sync storage in the Application panel.
|
|
164
163
|
*/
|
|
165
164
|
extensionSyncStorage: 'Sync',
|
|
166
165
|
/**
|
|
167
|
-
* @description
|
|
166
|
+
* @description Label for extension managed storage in the Application panel.
|
|
168
167
|
*/
|
|
169
168
|
extensionManagedStorage: 'Managed',
|
|
170
169
|
/**
|
|
171
|
-
* @description
|
|
170
|
+
* @description Tree item label for cookies in the sidebar of the Application panel.
|
|
172
171
|
*/
|
|
173
172
|
cookies: 'Cookies',
|
|
174
173
|
/**
|
|
175
|
-
* @description
|
|
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
|
|
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
|
|
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
|
|
186
|
+
* @description Tree item label for frames in the sidebar of the Application panel.
|
|
188
187
|
*/
|
|
189
188
|
frames: 'Frames',
|
|
190
189
|
/**
|
|
191
|
-
* @description
|
|
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
|
|
194
|
+
* @description Tree item label for IndexedDB in the sidebar of the Application panel.
|
|
196
195
|
*/
|
|
197
196
|
indexeddb: 'IndexedDB',
|
|
198
197
|
/**
|
|
199
|
-
* @description
|
|
198
|
+
* @description Empty state text displayed when no IndexedDB database is detected in the Application panel.
|
|
200
199
|
*/
|
|
201
|
-
noIndexeddb: 'No
|
|
200
|
+
noIndexeddb: 'No IndexedDB detected',
|
|
202
201
|
/**
|
|
203
|
-
* @description
|
|
202
|
+
* @description Informational text describing the IndexedDB view in the Application panel.
|
|
204
203
|
*/
|
|
205
|
-
indexeddbDescription: 'On this page you can view and delete
|
|
204
|
+
indexeddbDescription: 'On this page you can view and delete IndexedDB key-value pairs and databases',
|
|
206
205
|
/**
|
|
207
|
-
* @description
|
|
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
|
|
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
|
|
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
|
|
220
|
+
* @description Context menu item to clear data in the Application panel sidebar.
|
|
222
221
|
*/
|
|
223
222
|
clear: 'Clear',
|
|
224
223
|
/**
|
|
225
|
-
* @description
|
|
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
|
|
229
|
+
* @description Tree item label for local files in the sidebar of the Application panel.
|
|
231
230
|
*/
|
|
232
|
-
localFiles: 'Local
|
|
231
|
+
localFiles: 'Local files',
|
|
233
232
|
/**
|
|
234
|
-
* @description Tooltip
|
|
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
|
|
238
|
+
* @description Tree item label for opened windows in the sidebar of the Application panel.
|
|
240
239
|
*/
|
|
241
|
-
openedWindows: 'Opened
|
|
240
|
+
openedWindows: 'Opened windows',
|
|
242
241
|
/**
|
|
243
|
-
* @description
|
|
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
|
|
244
|
+
openedWindowsDescription: 'On this page you can view windows opened via `window.open()`',
|
|
246
245
|
/**
|
|
247
|
-
* @description
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
268
|
+
workerDescription: 'On this page you can view dedicated workers added by the parent frame',
|
|
271
269
|
/**
|
|
272
|
-
* @description
|
|
270
|
+
* @description Accessibility announcement indicating that invoking the element scrolls to the top of the manifest.
|
|
273
271
|
*/
|
|
274
|
-
onInvokeManifestAlert: 'Manifest:
|
|
272
|
+
onInvokeManifestAlert: 'Manifest: invoke to scroll to the top of manifest',
|
|
275
273
|
/**
|
|
276
|
-
* @description
|
|
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}:
|
|
277
|
+
beforeInvokeAlert: '{PH1}: invoke to scroll to this section in manifest',
|
|
280
278
|
/**
|
|
281
|
-
* @description
|
|
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
|
|
284
|
+
* @description Accessibility label for the Application panel sidebar.
|
|
287
285
|
*/
|
|
288
286
|
applicationSidebarPanel: 'Application panel sidebar',
|
|
289
287
|
/**
|
|
290
|
-
* @description
|
|
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
|
|
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
|
|
38
|
+
* @description Section header for debugging information in the frame details view.
|
|
39
39
|
*/
|
|
40
|
-
additionalInformation: '
|
|
40
|
+
additionalInformation: 'More information',
|
|
41
41
|
/**
|
|
42
|
-
* @description Explanation for why the
|
|
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
|
|
46
|
+
* @description Field label for the frame ID in the frame details view.
|
|
48
47
|
*/
|
|
49
48
|
frameId: 'Frame ID',
|
|
50
49
|
/**
|
|
51
|
-
* @description
|
|
50
|
+
* @description Section header for document details in the frame details view.
|
|
52
51
|
*/
|
|
53
52
|
document: 'Document',
|
|
54
53
|
/**
|
|
55
|
-
* @description
|
|
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
|
|
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
|
|
66
|
+
* @description Field label for an unreachable URL in the frame details view.
|
|
69
67
|
*/
|
|
70
68
|
unreachableUrl: 'Unreachable URL',
|
|
71
69
|
/**
|
|
72
|
-
* @description
|
|
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
|
|
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
|
|
80
|
+
ownerElement: 'Owner element',
|
|
85
81
|
/**
|
|
86
|
-
* @description
|
|
82
|
+
* @description Field label for the ad status in the frame details view.
|
|
87
83
|
*/
|
|
88
|
-
adStatus: 'Ad
|
|
84
|
+
adStatus: 'Ad status',
|
|
89
85
|
/**
|
|
90
|
-
* @description Description
|
|
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
|
|
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
|
|
102
|
+
* @description Section header for security and isolation in the frame details view.
|
|
107
103
|
*/
|
|
108
|
-
securityIsolation: 'Security &
|
|
104
|
+
securityIsolation: 'Security & isolation',
|
|
109
105
|
/**
|
|
110
|
-
* @description Section header in the
|
|
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
|
|
110
|
+
* @description Field label indicating whether the frame is a secure context in the frame details view.
|
|
115
111
|
*/
|
|
116
|
-
secureContext: 'Secure
|
|
112
|
+
secureContext: 'Secure context',
|
|
117
113
|
/**
|
|
118
|
-
* @description
|
|
114
|
+
* @description Value indicating affirmative status in the frame details view.
|
|
119
115
|
*/
|
|
120
116
|
yes: 'Yes',
|
|
121
117
|
/**
|
|
122
|
-
* @description
|
|
118
|
+
* @description Value indicating negative status in the frame details view.
|
|
123
119
|
*/
|
|
124
120
|
no: 'No',
|
|
125
121
|
/**
|
|
126
|
-
* @description
|
|
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-
|
|
124
|
+
crossoriginIsolated: 'Cross-origin isolated',
|
|
131
125
|
/**
|
|
132
|
-
* @description Explanatory text in the
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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`
|
|
170
|
+
'`SharedArrayBuffer` constructor is available but `SABs` can’t be transferred via `postMessage`',
|
|
180
171
|
/**
|
|
181
|
-
* @description
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
196
|
+
'The `performance.measureUserAgentSpecificMemory()` API isn’t available',
|
|
211
197
|
/**
|
|
212
|
-
* @description
|
|
198
|
+
* @description Field label for the measure memory API in the frame details view.
|
|
213
199
|
*/
|
|
214
|
-
measureMemory: 'Measure
|
|
200
|
+
measureMemory: 'Measure memory',
|
|
215
201
|
/**
|
|
216
|
-
* @description
|
|
202
|
+
* @description Link text to open documentation in the frame details view.
|
|
217
203
|
*/
|
|
218
204
|
learnMore: 'Learn more',
|
|
219
205
|
/**
|
|
220
|
-
* @description
|
|
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
|
|
208
|
+
creationStackTrace: 'Frame creation `stack trace`',
|
|
224
209
|
/**
|
|
225
|
-
* @description Tooltip
|
|
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
|
|
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
|
|
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
|
|
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
|
-
'
|
|
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
|
|
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
|
|
231
|
+
creatorAdScriptAncestry: 'Creator ad script ancestry',
|
|
248
232
|
/**
|
|
249
|
-
* @description
|
|
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
|
|
235
|
+
rootScriptFilterlistRule: 'Root script filterlist rule',
|
|
252
236
|
/**
|
|
253
|
-
* @description
|
|
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
|
|
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;
|