chrome-devtools-frontend 1.0.1709383 → 1.0.1711155
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 +20 -19
- package/front_end/core/sdk/DOMModel.ts +6 -4
- package/front_end/core/sdk/PageFunctions.ts +1 -1
- package/front_end/generated/InspectorBackendCommands.ts +1 -0
- package/front_end/generated/protocol-mapping.d.ts +7 -0
- package/front_end/generated/protocol-proxy-api.d.ts +5 -0
- package/front_end/generated/protocol.ts +12 -0
- package/front_end/models/ai_assistance/agents/AiAgent.ts +7 -4
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +1 -0
- package/front_end/models/ai_assistance/contexts/LighthouseContext.snapshot.txt +6 -1
- package/front_end/models/ai_assistance/contexts/LighthouseContext.ts +3 -2
- package/front_end/models/ai_assistance/data_formatters/LighthouseFormatter.snapshot.txt +11 -0
- package/front_end/models/ai_assistance/data_formatters/LighthouseFormatter.ts +47 -19
- package/front_end/models/ai_assistance/skills/accessibility.md +1 -0
- package/front_end/models/ai_assistance/skills/lighthouse.md +1 -0
- package/front_end/models/ai_assistance/skills/styling.md +1 -0
- package/front_end/models/ai_assistance/tools/ListSources.ts +11 -5
- package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +5 -1
- package/front_end/models/bindings/SourceMapStepping.ts +76 -4
- package/front_end/models/bindings/StylesSourceMapping.ts +3 -0
- package/front_end/models/emulation/DeviceModeModel.ts +9 -4
- package/front_end/models/har/HARFormat.ts +2 -7
- package/front_end/models/javascript_metadata/NativeFunctions.ts +52 -48
- package/front_end/models/persistence/Automapping.ts +8 -3
- package/front_end/models/trace/lantern/graph/PageDependencyGraph.ts +1 -1
- package/front_end/models/trace/lantern/metrics/TotalBlockingTime.ts +1 -1
- package/front_end/panels/application/BounceTrackingMitigationsTreeElement.ts +1 -1
- package/front_end/panels/application/CookieItemsView.ts +10 -10
- package/front_end/panels/application/DOMStorageItemsView.ts +7 -8
- package/front_end/panels/application/ExtensionStorageItemsView.ts +4 -5
- package/front_end/panels/application/IndexedDBViews.ts +29 -31
- package/front_end/panels/application/KeyValueStorageItemsView.ts +5 -5
- package/front_end/panels/application/ServiceWorkerCacheTreeElement.ts +6 -6
- package/front_end/panels/application/ServiceWorkerCacheViews.ts +17 -17
- package/front_end/panels/application/StorageBucketsTreeElement.ts +3 -10
- package/front_end/panels/application/StorageItemsToolbar.ts +6 -6
- package/front_end/panels/application/StorageView.ts +36 -34
- package/front_end/panels/application/TrustTokensTreeElement.ts +1 -2
- package/front_end/panels/common/CommentThreadWidget.ts +0 -17
- package/front_end/panels/common/CommentsOverlayWidget.ts +0 -4
- package/front_end/panels/common/ExtensionServer.ts +52 -50
- package/front_end/panels/common/commentThreadWidget.css +0 -4
- package/front_end/panels/elements/DOMPath.ts +7 -1
- package/front_end/panels/elements/DOMTreeWidget.ts +7 -3
- package/front_end/panels/elements/StylePropertyTreeElement.ts +1 -1
- package/front_end/panels/elements/StylePropertyUtils.ts +11 -3
- package/front_end/panels/emulation/DeviceModeView.ts +1 -1
- package/front_end/panels/layer_viewer/Layers3DView.ts +7 -8
- package/front_end/panels/layer_viewer/layer_viewer-meta.ts +1 -5
- package/front_end/panels/network/NetworkDataGridNode.ts +3 -0
- package/front_end/panels/network/NetworkLogView.ts +8 -13
- package/front_end/panels/security/SecurityPanel.ts +27 -20
- package/front_end/panels/sources/DebuggerPlugin.ts +2 -2
- package/front_end/panels/sources/SourcesPanel.ts +9 -1
- package/front_end/panels/sources/UISourceCodeFrame.ts +69 -64
- package/front_end/panels/timeline/CompatibilityTracksAppender.ts +4 -1
- package/front_end/panels/timeline/CountersGraph.ts +19 -10
- package/front_end/panels/timeline/ModificationsManager.ts +3 -1
- package/front_end/panels/timeline/ThreadAppender.ts +4 -1
- package/front_end/panels/timeline/TimelineController.ts +9 -2
- package/front_end/panels/timeline/TimelineDetailsView.ts +4 -1
- package/front_end/panels/timeline/TimelineEventOverview.ts +3 -5
- package/front_end/panels/timeline/TimelineFlameChartView.ts +1 -4
- package/front_end/panels/timeline/TimelinePanel.ts +27 -16
- package/front_end/panels/timeline/TimelineTreeView.ts +0 -6
- package/front_end/panels/timeline/TimelineUIUtils.ts +5 -3
- package/front_end/panels/timeline/components/SidebarAnnotationsTab.ts +3 -1
- package/front_end/panels/timeline/overlays/OverlaysImpl.ts +3 -1
- package/front_end/panels/timeline/overlays/components/TimeRangeOverlay.ts +147 -97
- package/front_end/panels/timeline/timeline-meta.ts +22 -84
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/ui/components/text_editor/TextEditor.ts +18 -6
- package/front_end/ui/legacy/TabbedPane.ts +17 -1
- package/front_end/ui/legacy/TextPrompt.ts +80 -19
- package/front_end/ui/legacy/components/source_frame/ImageView.ts +11 -4
- package/front_end/ui/legacy/components/utils/Linkifier.ts +29 -17
- package/front_end/ui/settings/LayerViewerSettings.ts +14 -0
- package/front_end/ui/settings/TimelineSettings.ts +103 -0
- package/front_end/ui/settings/settings.ts +2 -0
- package/front_end/ui/visual_logging/KnownContextValues.ts +1 -0
- package/package.json +1 -1
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
|
3
3
|
// found in the LICENSE file.
|
|
4
4
|
|
|
5
|
-
import * as Common from '../../core/common/common.js';
|
|
6
5
|
import type * as Platform from '../../core/platform/platform.js';
|
|
7
6
|
import * as SDK from '../../core/sdk/sdk.js';
|
|
8
7
|
import type * as Protocol from '../../generated/protocol.js';
|
|
@@ -421,9 +420,7 @@ export class HARInitiator extends HARBase {
|
|
|
421
420
|
super(data);
|
|
422
421
|
this.type = (HARBase.optionalString(data['type']) ?? SDK.NetworkRequest.InitiatorType.OTHER) as
|
|
423
422
|
Protocol.Network.InitiatorType;
|
|
424
|
-
|
|
425
|
-
// Ignore privileged/non-web schemes in imported HARs.
|
|
426
|
-
this.url = url && Common.ParsedURL.hasWebSafeScheme(url) ? url : undefined;
|
|
423
|
+
this.url = HARBase.optionalString(data['url']);
|
|
427
424
|
this.lineNumber = HARBase.optionalNumber(data['lineNumber']);
|
|
428
425
|
this.requestId = HARBase.optionalString(data['requestId']) as Protocol.Network.RequestId;
|
|
429
426
|
if (data['stack']) {
|
|
@@ -480,9 +477,7 @@ export class HARCallFrame extends HARBase {
|
|
|
480
477
|
|
|
481
478
|
this.functionName = HARBase.optionalString(data['functionName']) ?? '';
|
|
482
479
|
this.scriptId = (HARBase.optionalString(data['scriptId']) ?? '') as Protocol.Runtime.ScriptId;
|
|
483
|
-
|
|
484
|
-
// Ignore privileged/non-web schemes in imported HARs.
|
|
485
|
-
this.url = Common.ParsedURL.hasWebSafeScheme(url) ? url : '';
|
|
480
|
+
this.url = HARBase.optionalString(data['url']) ?? '';
|
|
486
481
|
this.lineNumber = HARBase.optionalNumber(data['lineNumber']) ?? -1;
|
|
487
482
|
this.columnNumber = HARBase.optionalNumber(data['columnNumber']) ?? -1;
|
|
488
483
|
}
|
|
@@ -3859,6 +3859,10 @@ export const NativeFunctions: readonly NativeFunctionValue[] = [
|
|
|
3859
3859
|
name: "framebufferTextureMultiviewOVR",
|
|
3860
3860
|
signatures: [["target","attachment","texture","level","baseViewIndex","numViews"]]
|
|
3861
3861
|
},
|
|
3862
|
+
{
|
|
3863
|
+
name: "startRendering",
|
|
3864
|
+
signatures: [["?chunkSize"]]
|
|
3865
|
+
},
|
|
3862
3866
|
{
|
|
3863
3867
|
name: "convertToBlob",
|
|
3864
3868
|
signatures: [["?options"]]
|
|
@@ -9031,54 +9035,6 @@ export const NativeFunctions: readonly NativeFunctionValue[] = [
|
|
|
9031
9035
|
name: "timeout",
|
|
9032
9036
|
signatures: [["milliseconds"]]
|
|
9033
9037
|
},
|
|
9034
|
-
{
|
|
9035
|
-
name: "beforeHTML",
|
|
9036
|
-
signatures: [["html","?options"]]
|
|
9037
|
-
},
|
|
9038
|
-
{
|
|
9039
|
-
name: "beforeHTMLUnsafe",
|
|
9040
|
-
signatures: [["html","?options"]]
|
|
9041
|
-
},
|
|
9042
|
-
{
|
|
9043
|
-
name: "afterHTML",
|
|
9044
|
-
signatures: [["html","?options"]]
|
|
9045
|
-
},
|
|
9046
|
-
{
|
|
9047
|
-
name: "afterHTMLUnsafe",
|
|
9048
|
-
signatures: [["html","?options"]]
|
|
9049
|
-
},
|
|
9050
|
-
{
|
|
9051
|
-
name: "replaceWithHTML",
|
|
9052
|
-
signatures: [["html","?options"]]
|
|
9053
|
-
},
|
|
9054
|
-
{
|
|
9055
|
-
name: "replaceWithHTMLUnsafe",
|
|
9056
|
-
signatures: [["html","?options"]]
|
|
9057
|
-
},
|
|
9058
|
-
{
|
|
9059
|
-
name: "streamBeforeHTML",
|
|
9060
|
-
signatures: [["?options"]]
|
|
9061
|
-
},
|
|
9062
|
-
{
|
|
9063
|
-
name: "streamBeforeHTMLUnsafe",
|
|
9064
|
-
signatures: [["?options"]]
|
|
9065
|
-
},
|
|
9066
|
-
{
|
|
9067
|
-
name: "streamAfterHTML",
|
|
9068
|
-
signatures: [["?options"]]
|
|
9069
|
-
},
|
|
9070
|
-
{
|
|
9071
|
-
name: "streamAfterHTMLUnsafe",
|
|
9072
|
-
signatures: [["?options"]]
|
|
9073
|
-
},
|
|
9074
|
-
{
|
|
9075
|
-
name: "streamReplaceWithHTML",
|
|
9076
|
-
signatures: [["?options"]]
|
|
9077
|
-
},
|
|
9078
|
-
{
|
|
9079
|
-
name: "streamReplaceWithHTMLUnsafe",
|
|
9080
|
-
signatures: [["?options"]]
|
|
9081
|
-
},
|
|
9082
9038
|
{
|
|
9083
9039
|
name: "Comment",
|
|
9084
9040
|
signatures: [["?data"]]
|
|
@@ -9191,6 +9147,54 @@ export const NativeFunctions: readonly NativeFunctionValue[] = [
|
|
|
9191
9147
|
name: "MutationObserver",
|
|
9192
9148
|
signatures: [["callback"]]
|
|
9193
9149
|
},
|
|
9150
|
+
{
|
|
9151
|
+
name: "beforeHTML",
|
|
9152
|
+
signatures: [["html","?options"]]
|
|
9153
|
+
},
|
|
9154
|
+
{
|
|
9155
|
+
name: "beforeHTMLUnsafe",
|
|
9156
|
+
signatures: [["html","?options"]]
|
|
9157
|
+
},
|
|
9158
|
+
{
|
|
9159
|
+
name: "afterHTML",
|
|
9160
|
+
signatures: [["html","?options"]]
|
|
9161
|
+
},
|
|
9162
|
+
{
|
|
9163
|
+
name: "afterHTMLUnsafe",
|
|
9164
|
+
signatures: [["html","?options"]]
|
|
9165
|
+
},
|
|
9166
|
+
{
|
|
9167
|
+
name: "replaceWithHTML",
|
|
9168
|
+
signatures: [["html","?options"]]
|
|
9169
|
+
},
|
|
9170
|
+
{
|
|
9171
|
+
name: "replaceWithHTMLUnsafe",
|
|
9172
|
+
signatures: [["html","?options"]]
|
|
9173
|
+
},
|
|
9174
|
+
{
|
|
9175
|
+
name: "streamBeforeHTML",
|
|
9176
|
+
signatures: [["?options"]]
|
|
9177
|
+
},
|
|
9178
|
+
{
|
|
9179
|
+
name: "streamBeforeHTMLUnsafe",
|
|
9180
|
+
signatures: [["?options"]]
|
|
9181
|
+
},
|
|
9182
|
+
{
|
|
9183
|
+
name: "streamAfterHTML",
|
|
9184
|
+
signatures: [["?options"]]
|
|
9185
|
+
},
|
|
9186
|
+
{
|
|
9187
|
+
name: "streamAfterHTMLUnsafe",
|
|
9188
|
+
signatures: [["?options"]]
|
|
9189
|
+
},
|
|
9190
|
+
{
|
|
9191
|
+
name: "streamReplaceWithHTML",
|
|
9192
|
+
signatures: [["?options"]]
|
|
9193
|
+
},
|
|
9194
|
+
{
|
|
9195
|
+
name: "streamReplaceWithHTMLUnsafe",
|
|
9196
|
+
signatures: [["?options"]]
|
|
9197
|
+
},
|
|
9194
9198
|
{
|
|
9195
9199
|
name: "Observable",
|
|
9196
9200
|
signatures: [["callback"]]
|
|
@@ -194,7 +194,13 @@ export class Automapping {
|
|
|
194
194
|
if (this.#sourceCodeToProcessingPromiseMap.get(networkSourceCode) !== createBindingPromise) {
|
|
195
195
|
return null;
|
|
196
196
|
}
|
|
197
|
-
|
|
197
|
+
const target = Bindings.NetworkProject.NetworkProject.targetForUISourceCode(status.network);
|
|
198
|
+
const isNodeTarget = target?.type() === SDK.Target.Type.NODE;
|
|
199
|
+
// Source-map-derived URLs and contents are controlled by the inspected page.
|
|
200
|
+
// Only trust them without content validation when debugging Node.js.
|
|
201
|
+
const skipContentValidation = !status.fileSystem.contentType().isTextType() ||
|
|
202
|
+
(status.network.contentType().isFromSourceMap() && isNodeTarget);
|
|
203
|
+
if (skipContentValidation) {
|
|
198
204
|
return status;
|
|
199
205
|
}
|
|
200
206
|
|
|
@@ -231,10 +237,9 @@ export class Automapping {
|
|
|
231
237
|
return null;
|
|
232
238
|
}
|
|
233
239
|
|
|
234
|
-
const target = Bindings.NetworkProject.NetworkProject.targetForUISourceCode(status.network);
|
|
235
240
|
let isValid = false;
|
|
236
241
|
const fileContent = fileSystemContent.content;
|
|
237
|
-
if (
|
|
242
|
+
if (isNodeTarget) {
|
|
238
243
|
if (networkContent.content) {
|
|
239
244
|
const rewrappedNetworkContent =
|
|
240
245
|
PersistenceImpl.rewrapNodeJSContent(status.fileSystem, fileContent, networkContent.content);
|
|
@@ -264,7 +264,7 @@ class PageDependencyGraph {
|
|
|
264
264
|
// Explicitly ignore all requests that started after this CPU node
|
|
265
265
|
// A network request that started after this task started cannot possibly be a dependency
|
|
266
266
|
if (cpuNode.startTime <= candidate.startTime) {
|
|
267
|
-
|
|
267
|
+
continue;
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
const distance = cpuNode.startTime - candidate.endTime;
|
|
@@ -77,7 +77,7 @@ class TotalBlockingTime extends Metric {
|
|
|
77
77
|
throw new Core.LanternError('FCP is required to calculate the TBT metric');
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
const interactiveResult = extras?.
|
|
80
|
+
const interactiveResult = extras?.interactiveResult;
|
|
81
81
|
if (!interactiveResult) {
|
|
82
82
|
throw new Core.LanternError('Interactive is required to calculate the TBT metric');
|
|
83
83
|
}
|
|
@@ -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 bounce tracking mitigations tree element in the Application panel sidebar.
|
|
17
17
|
*/
|
|
18
18
|
bounceTrackingMitigations: 'Bounce tracking mitigations',
|
|
19
19
|
} as const;
|
|
@@ -47,43 +47,43 @@ import {StorageItemsToolbar} from './StorageItemsToolbar.js';
|
|
|
47
47
|
|
|
48
48
|
const UIStrings = {
|
|
49
49
|
/**
|
|
50
|
-
* @description
|
|
50
|
+
* @description Checkbox label to show URL-decoded cookie values in the cookie preview of the Application panel.
|
|
51
51
|
*/
|
|
52
52
|
showUrlDecoded: 'Show URL-decoded',
|
|
53
53
|
/**
|
|
54
|
-
* @description
|
|
54
|
+
* @description Context menu item in the Application panel to start a chat with AI assistance.
|
|
55
55
|
*/
|
|
56
56
|
startAChat: 'Start a chat',
|
|
57
57
|
/**
|
|
58
|
-
* @description
|
|
58
|
+
* @description Context menu item in the Application panel to explain a cookie with AI assistance.
|
|
59
59
|
*/
|
|
60
60
|
explainCookie: 'Explain this cookie',
|
|
61
61
|
/**
|
|
62
|
-
* @description
|
|
62
|
+
* @description Empty state header in the cookie preview of the Application panel when no cookie is selected.
|
|
63
63
|
*/
|
|
64
64
|
noCookieSelected: 'No cookie selected',
|
|
65
65
|
/**
|
|
66
|
-
* @description
|
|
66
|
+
* @description Empty state text in the cookie preview of the Application panel when no cookie is selected.
|
|
67
67
|
*/
|
|
68
68
|
selectACookieToPreviewItsValue: 'Select a cookie to preview its value',
|
|
69
69
|
/**
|
|
70
|
-
* @description
|
|
70
|
+
* @description Checkbox label in the cookies view of the Application panel to filter cookies with issues.
|
|
71
71
|
*/
|
|
72
72
|
onlyShowCookiesWithAnIssue: 'Only show cookies with an issue',
|
|
73
73
|
/**
|
|
74
|
-
* @description
|
|
74
|
+
* @description Tooltip text for the filter checkbox in the cookies view of the Application panel to filter cookies with issues.
|
|
75
75
|
*/
|
|
76
76
|
onlyShowCookiesWhichHaveAn: 'Only show cookies that have an associated issue',
|
|
77
77
|
/**
|
|
78
|
-
* @description
|
|
78
|
+
* @description Tooltip text for the clear button in the cookies view of the Application panel to delete visible filtered cookies.
|
|
79
79
|
*/
|
|
80
80
|
clearFilteredCookies: 'Clear filtered cookies',
|
|
81
81
|
/**
|
|
82
|
-
* @description
|
|
82
|
+
* @description Tooltip text for the clear button in the cookies view of the Application panel to delete all cookies.
|
|
83
83
|
*/
|
|
84
84
|
clearAllCookies: 'Clear all cookies',
|
|
85
85
|
/**
|
|
86
|
-
* @description
|
|
86
|
+
* @description Screen reader announcement for the number of cookies shown in the table of the Application panel.
|
|
87
87
|
* @example {5} PH1
|
|
88
88
|
*/
|
|
89
89
|
numberOfCookiesShownInTableS: 'Number of cookies shown in table: {PH1}',
|
|
@@ -42,24 +42,23 @@ import {KeyValueStorageItemsView} from './KeyValueStorageItemsView.js';
|
|
|
42
42
|
|
|
43
43
|
const UIStrings = {
|
|
44
44
|
/**
|
|
45
|
-
* @description
|
|
45
|
+
* @description Accessible name for the DOM storage items datagrid in the Application panel.
|
|
46
46
|
*/
|
|
47
|
-
domStorageItems: 'DOM
|
|
47
|
+
domStorageItems: 'DOM storage items',
|
|
48
48
|
/**
|
|
49
|
-
* @description
|
|
50
|
-
* entries were deleted.
|
|
49
|
+
* @description Screen reader announcement when the DOM storage items table is cleared.
|
|
51
50
|
*/
|
|
52
|
-
domStorageItemsCleared: 'DOM
|
|
51
|
+
domStorageItemsCleared: 'DOM storage items cleared',
|
|
53
52
|
/**
|
|
54
|
-
* @description
|
|
53
|
+
* @description Screen reader announcement when a DOM storage key-value item is deleted.
|
|
55
54
|
*/
|
|
56
55
|
domStorageItemDeleted: 'The storage item was deleted',
|
|
57
56
|
/**
|
|
58
|
-
* @description
|
|
57
|
+
* @description Context menu item in the Application panel to start a chat with AI assistance.
|
|
59
58
|
*/
|
|
60
59
|
startAChat: 'Start a chat',
|
|
61
60
|
/**
|
|
62
|
-
* @description
|
|
61
|
+
* @description Context menu item in the Application panel to explain a DOM storage item with AI assistance.
|
|
63
62
|
*/
|
|
64
63
|
explainItem: 'Explain this item',
|
|
65
64
|
} as const;
|
|
@@ -43,14 +43,13 @@ import {KeyValueStorageItemsView, type View as KeyValueStorageItemsViewFunction}
|
|
|
43
43
|
|
|
44
44
|
const UIStrings = {
|
|
45
45
|
/**
|
|
46
|
-
* @description
|
|
46
|
+
* @description Accessible name for the extension storage items datagrid in the Application panel.
|
|
47
47
|
*/
|
|
48
|
-
extensionStorageItems: 'Extension
|
|
48
|
+
extensionStorageItems: 'Extension storage items',
|
|
49
49
|
/**
|
|
50
|
-
* @description
|
|
51
|
-
* entries were deleted.
|
|
50
|
+
* @description Screen reader announcement when the extension storage items table is cleared.
|
|
52
51
|
*/
|
|
53
|
-
extensionStorageItemsCleared: 'Extension
|
|
52
|
+
extensionStorageItemsCleared: 'Extension storage items cleared',
|
|
54
53
|
} as const;
|
|
55
54
|
const str_ = i18n.i18n.registerUIStrings('panels/application/ExtensionStorageItemsView.ts', UIStrings);
|
|
56
55
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
@@ -23,112 +23,110 @@ type IDBKeyValue = number|string|Date|IDBKeyValue[];
|
|
|
23
23
|
|
|
24
24
|
const UIStrings = {
|
|
25
25
|
/**
|
|
26
|
-
* @description
|
|
26
|
+
* @description Label for database version in the IndexedDB view of the Application panel.
|
|
27
27
|
*/
|
|
28
28
|
version: 'Version',
|
|
29
29
|
/**
|
|
30
|
-
* @description
|
|
30
|
+
* @description Label for the number of object stores in the IndexedDB view of the Application panel.
|
|
31
31
|
*/
|
|
32
32
|
objectStores: 'Object stores',
|
|
33
33
|
/**
|
|
34
|
-
* @description
|
|
34
|
+
* @description Button text to delete a database in the IndexedDB view of the Application panel.
|
|
35
35
|
*/
|
|
36
36
|
deleteDatabase: 'Delete database',
|
|
37
37
|
/**
|
|
38
|
-
* @description
|
|
38
|
+
* @description Button text to refresh a database in the IndexedDB view of the Application panel.
|
|
39
39
|
*/
|
|
40
40
|
refreshDatabase: 'Refresh database',
|
|
41
41
|
/**
|
|
42
|
-
* @description
|
|
43
|
-
* @example {
|
|
42
|
+
* @description Title of the confirmation dialog when deleting an IndexedDB database in the Application panel.
|
|
43
|
+
* @example {my-database} PH1
|
|
44
44
|
*/
|
|
45
45
|
confirmDeleteDatabase: 'Delete "{PH1}" database?',
|
|
46
46
|
/**
|
|
47
|
-
* @description
|
|
47
|
+
* @description Message in the confirmation dialog when deleting an IndexedDB database in the Application panel.
|
|
48
48
|
*/
|
|
49
49
|
databaseWillBeRemoved: 'The selected database and contained data will be removed',
|
|
50
50
|
/**
|
|
51
|
-
* @description Title of the confirmation dialog in the IndexedDB
|
|
52
|
-
* that the user is about to clear an object store and this cannot be undone.
|
|
51
|
+
* @description Title of the confirmation dialog when clearing an object store in the IndexedDB view of the Application panel.
|
|
53
52
|
* @example {table1} PH1
|
|
54
53
|
*/
|
|
55
54
|
confirmClearObjectStore: 'Clear "{PH1}" object store?',
|
|
56
55
|
/**
|
|
57
|
-
* @description
|
|
58
|
-
* panel that the user is about to clear an object store and this cannot be undone.
|
|
56
|
+
* @description Message in the confirmation dialog when clearing an object store in the IndexedDB view of the Application panel.
|
|
59
57
|
*/
|
|
60
58
|
objectStoreWillBeCleared: 'The data contained in the selected object store will be removed',
|
|
61
59
|
/**
|
|
62
|
-
* @description
|
|
60
|
+
* @description Title of the IndexedDB tab in the Application panel.
|
|
63
61
|
*/
|
|
64
62
|
idb: 'IDB',
|
|
65
63
|
/**
|
|
66
|
-
* @description
|
|
64
|
+
* @description Tooltip text for the refresh button in the IndexedDB view of the Application panel.
|
|
67
65
|
*/
|
|
68
66
|
refresh: 'Refresh',
|
|
69
67
|
/**
|
|
70
|
-
* @description Tooltip text
|
|
68
|
+
* @description Tooltip text for the delete selected button in the IndexedDB view of the Application panel.
|
|
71
69
|
*/
|
|
72
70
|
deleteSelected: 'Delete selected',
|
|
73
71
|
/**
|
|
74
|
-
* @description Tooltip text
|
|
72
|
+
* @description Tooltip text for the clear object store button in the IndexedDB view of the Application panel.
|
|
75
73
|
*/
|
|
76
74
|
clearObjectStore: 'Clear object store',
|
|
77
75
|
/**
|
|
78
|
-
* @description
|
|
76
|
+
* @description Status text in the IndexedDB view of the Application panel indicating data may be stale.
|
|
79
77
|
*/
|
|
80
78
|
dataMayBeStale: 'Data may be stale',
|
|
81
79
|
/**
|
|
82
|
-
* @description
|
|
80
|
+
* @description Tooltip text in the IndexedDB view of the Application panel explaining that entries may have been modified.
|
|
83
81
|
*/
|
|
84
82
|
someEntriesMayHaveBeenModified: 'Some entries may have been modified',
|
|
85
83
|
/**
|
|
86
|
-
* @description
|
|
84
|
+
* @description Column header in the IndexedDB datagrid for the entry key.
|
|
87
85
|
*/
|
|
88
86
|
keyString: 'Key',
|
|
89
87
|
/**
|
|
90
|
-
* @description
|
|
88
|
+
* @description Column header in the IndexedDB datagrid for the entry primary key.
|
|
91
89
|
*/
|
|
92
90
|
primaryKey: 'Primary key',
|
|
93
91
|
/**
|
|
94
|
-
* @description
|
|
92
|
+
* @description Column header in the IndexedDB datagrid for the entry value.
|
|
95
93
|
*/
|
|
96
94
|
valueString: 'Value',
|
|
97
95
|
/**
|
|
98
|
-
* @description
|
|
96
|
+
* @description Accessible name for the IndexedDB datagrid in the Application panel.
|
|
99
97
|
*/
|
|
100
|
-
indexedDb: '
|
|
98
|
+
indexedDb: 'IndexedDB',
|
|
101
99
|
/**
|
|
102
|
-
* @description
|
|
100
|
+
* @description Label prefix for key path in the IndexedDB view of the Application panel.
|
|
103
101
|
*/
|
|
104
102
|
keyPath: 'Key path: ',
|
|
105
103
|
/**
|
|
106
|
-
* @description Tooltip text
|
|
104
|
+
* @description Tooltip text for the previous page button in the IndexedDB view of the Application panel.
|
|
107
105
|
*/
|
|
108
106
|
showPreviousPage: 'Show previous page',
|
|
109
107
|
/**
|
|
110
|
-
* @description Tooltip text
|
|
108
|
+
* @description Tooltip text for the next page button in the IndexedDB view of the Application panel.
|
|
111
109
|
*/
|
|
112
110
|
showNextPage: 'Show next page',
|
|
113
111
|
/**
|
|
114
|
-
* @description
|
|
112
|
+
* @description Placeholder text in the key filter input of the IndexedDB view in the Application panel.
|
|
115
113
|
*/
|
|
116
114
|
filterByKey: 'Filter by key (show keys greater or equal to)',
|
|
117
115
|
/**
|
|
118
|
-
* @description
|
|
116
|
+
* @description Context menu item to expand an object recursively in IndexedDB tables.
|
|
119
117
|
*/
|
|
120
|
-
expandRecursively: 'Expand
|
|
118
|
+
expandRecursively: 'Expand recursively',
|
|
121
119
|
/**
|
|
122
|
-
* @description
|
|
120
|
+
* @description Context menu item to collapse an object in IndexedDB tables.
|
|
123
121
|
*/
|
|
124
122
|
collapse: 'Collapse',
|
|
125
123
|
/**
|
|
126
|
-
* @description
|
|
124
|
+
* @description Status text in the IndexedDB view of the Application panel showing the total number of entries.
|
|
127
125
|
* @example {2} PH1
|
|
128
126
|
*/
|
|
129
127
|
totalEntriesS: 'Total entries: {PH1}',
|
|
130
128
|
/**
|
|
131
|
-
* @description
|
|
129
|
+
* @description Status text in the IndexedDB view of the Application panel showing the key generator value.
|
|
132
130
|
* @example {2} PH1
|
|
133
131
|
*/
|
|
134
132
|
keyGeneratorValueS: 'Key generator value: {PH1}',
|
|
@@ -54,24 +54,24 @@ type VBox = UI.Widget.VBox;
|
|
|
54
54
|
|
|
55
55
|
const UIStrings = {
|
|
56
56
|
/**
|
|
57
|
-
* @description
|
|
57
|
+
* @description Empty state header in the storage items view of the Application panel when no value is selected.
|
|
58
58
|
*/
|
|
59
59
|
noPreviewSelected: 'No value selected',
|
|
60
60
|
/**
|
|
61
|
-
* @description
|
|
61
|
+
* @description Empty state text in the storage items view of the Application panel when no value is selected.
|
|
62
62
|
*/
|
|
63
63
|
selectAValueToPreview: 'Select a value to preview',
|
|
64
64
|
/**
|
|
65
|
-
* @description
|
|
65
|
+
* @description Screen reader announcement for the number of entries shown in the storage table of the Application panel.
|
|
66
66
|
* @example {5} PH1
|
|
67
67
|
*/
|
|
68
68
|
numberEntries: 'Number of entries shown in table: {PH1}',
|
|
69
69
|
/**
|
|
70
|
-
* @description
|
|
70
|
+
* @description Column header for key in the storage items datagrid of the Application panel.
|
|
71
71
|
*/
|
|
72
72
|
key: 'Key',
|
|
73
73
|
/**
|
|
74
|
-
* @description
|
|
74
|
+
* @description Column header for value in the storage items datagrid of the Application panel.
|
|
75
75
|
*/
|
|
76
76
|
value: 'Value',
|
|
77
77
|
} as const;
|
|
@@ -16,23 +16,23 @@ import {ServiceWorkerCacheView} from './ServiceWorkerCacheViews.js';
|
|
|
16
16
|
|
|
17
17
|
const UIStrings = {
|
|
18
18
|
/**
|
|
19
|
-
* @description
|
|
19
|
+
* @description Label for the cache storage tree element in the Application panel sidebar.
|
|
20
20
|
*/
|
|
21
21
|
cacheStorage: 'Cache storage',
|
|
22
22
|
/**
|
|
23
|
-
* @description
|
|
23
|
+
* @description Empty state title in the Application panel when no cache storage is detected.
|
|
24
24
|
*/
|
|
25
25
|
noCacheStorage: 'No cache storage detected',
|
|
26
26
|
/**
|
|
27
|
-
* @description
|
|
27
|
+
* @description Empty state description in the Application panel describing the cache storage view.
|
|
28
28
|
*/
|
|
29
29
|
cacheStorageDescription: 'On this page you can view and delete cache data',
|
|
30
30
|
/**
|
|
31
|
-
* @description
|
|
31
|
+
* @description Context menu item in the Application panel sidebar to refresh caches.
|
|
32
32
|
*/
|
|
33
|
-
refreshCaches: 'Refresh
|
|
33
|
+
refreshCaches: 'Refresh caches',
|
|
34
34
|
/**
|
|
35
|
-
* @description
|
|
35
|
+
* @description Context menu item in the Application panel sidebar to delete a cache.
|
|
36
36
|
*/
|
|
37
37
|
delete: 'Delete',
|
|
38
38
|
} as const;
|
|
@@ -21,61 +21,61 @@ import serviceWorkerCacheViewsStyles from './serviceWorkerCacheViews.css.js';
|
|
|
21
21
|
|
|
22
22
|
const UIStrings = {
|
|
23
23
|
/**
|
|
24
|
-
* @description
|
|
24
|
+
* @description Title of the cache storage view in the Application panel.
|
|
25
25
|
*/
|
|
26
26
|
cache: 'Cache',
|
|
27
27
|
/**
|
|
28
|
-
* @description
|
|
28
|
+
* @description Tooltip text for the refresh button in the cache storage view of the Application panel.
|
|
29
29
|
*/
|
|
30
30
|
refresh: 'Refresh',
|
|
31
31
|
/**
|
|
32
|
-
* @description Tooltip text
|
|
32
|
+
* @description Tooltip text for the delete selected button in the cache storage view of the Application panel.
|
|
33
33
|
*/
|
|
34
|
-
deleteSelected: 'Delete
|
|
34
|
+
deleteSelected: 'Delete selected',
|
|
35
35
|
/**
|
|
36
|
-
* @description
|
|
36
|
+
* @description Placeholder text for the filter input in the cache storage view of the Application panel.
|
|
37
37
|
*/
|
|
38
38
|
filterByPath: 'Filter by path',
|
|
39
39
|
/**
|
|
40
|
-
* @description
|
|
40
|
+
* @description Empty state header in the cache storage view of the Application panel when no cache entry is selected.
|
|
41
41
|
*/
|
|
42
42
|
noCacheEntrySelected: 'No cache entry selected',
|
|
43
43
|
/**
|
|
44
|
-
* @description
|
|
44
|
+
* @description Empty state text in the cache storage view of the Application panel when no cache entry is selected.
|
|
45
45
|
*/
|
|
46
46
|
selectACacheEntryAboveToPreview: 'Select a cache entry above to preview',
|
|
47
47
|
/**
|
|
48
|
-
* @description
|
|
48
|
+
* @description Column header in the cache storage datagrid for the entry name.
|
|
49
49
|
*/
|
|
50
50
|
name: 'Name',
|
|
51
51
|
/**
|
|
52
|
-
* @description
|
|
52
|
+
* @description Column header in the cache storage datagrid for the time the entry was cached.
|
|
53
53
|
*/
|
|
54
|
-
timeCached: 'Time
|
|
54
|
+
timeCached: 'Time cached',
|
|
55
55
|
/**
|
|
56
|
-
* @description Tooltip text
|
|
56
|
+
* @description Tooltip text for the Vary header column in the cache storage datagrid of the Application panel.
|
|
57
57
|
*/
|
|
58
58
|
varyHeaderWarning: '⚠️ Set ignoreVary to true when matching this entry',
|
|
59
59
|
/**
|
|
60
|
-
* @description
|
|
60
|
+
* @description Accessible name for the cache storage datagrid in the Application panel.
|
|
61
61
|
*/
|
|
62
|
-
serviceWorkerCache: '`Service Worker`
|
|
62
|
+
serviceWorkerCache: '`Service Worker` cache',
|
|
63
63
|
/**
|
|
64
|
-
* @description
|
|
64
|
+
* @description Status text in the cache storage view of the Application panel showing the number of matching entries.
|
|
65
65
|
* @example {2} PH1
|
|
66
66
|
*/
|
|
67
67
|
matchingEntriesS: 'Matching entries: {PH1}',
|
|
68
68
|
/**
|
|
69
|
-
* @description
|
|
69
|
+
* @description Status text in the cache storage view of the Application panel showing the total number of entries.
|
|
70
70
|
* @example {2} PH1
|
|
71
71
|
*/
|
|
72
72
|
totalEntriesS: 'Total entries: {PH1}',
|
|
73
73
|
/**
|
|
74
|
-
* @description
|
|
74
|
+
* @description Tab title for request headers in the cache storage entry preview of the Application panel.
|
|
75
75
|
*/
|
|
76
76
|
headers: 'Headers',
|
|
77
77
|
/**
|
|
78
|
-
* @description
|
|
78
|
+
* @description Tab title for response preview in the cache storage entry preview of the Application panel.
|
|
79
79
|
*/
|
|
80
80
|
preview: 'Preview',
|
|
81
81
|
} as const;
|
|
@@ -19,22 +19,15 @@ import {ServiceWorkerCacheTreeElement} from './ServiceWorkerCacheTreeElement.js'
|
|
|
19
19
|
|
|
20
20
|
const UIStrings = {
|
|
21
21
|
/**
|
|
22
|
-
* @description Label for
|
|
23
|
-
* Storage Buckets allow developers to separate site data into buckets so that they can be
|
|
24
|
-
* deleted independently.
|
|
22
|
+
* @description Label for the storage buckets tree element in the Application panel sidebar.
|
|
25
23
|
*/
|
|
26
24
|
storageBuckets: 'Storage buckets',
|
|
27
25
|
/**
|
|
28
|
-
* @description
|
|
29
|
-
* if no storage buckets are available to show. Storage Buckets allow developers to separate
|
|
30
|
-
* site data into buckets so that they can be
|
|
31
|
-
* deleted independently. https://developer.chrome.com/docs/web-platform/storage-buckets.
|
|
26
|
+
* @description Empty state title in the Application panel when no storage buckets are detected.
|
|
32
27
|
*/
|
|
33
28
|
noStorageBuckets: 'No storage buckets detected',
|
|
34
29
|
/**
|
|
35
|
-
* @description
|
|
36
|
-
* Storage Buckets allow developers to separate site data into buckets so that they can be
|
|
37
|
-
* deleted independently. https://developer.chrome.com/docs/web-platform/storage-buckets.
|
|
30
|
+
* @description Empty state description in the Application panel describing the storage buckets view.
|
|
38
31
|
*/
|
|
39
32
|
storageBucketsDescription:
|
|
40
33
|
'On this page you can view and delete storage buckets, and their associated `Storage APIs`',
|