chrome-devtools-frontend 1.0.1730971 → 1.0.1732418
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/front_end/Tests.js +20 -0
- package/front_end/core/host/AidaClient.ts +47 -3
- package/front_end/core/host/AidaClientTypes.ts +8 -1
- package/front_end/core/host/AidaGcaTranslation.ts +1 -1
- package/front_end/core/sdk/NetworkManager.ts +2 -1
- package/front_end/generated/Deprecation.ts +0 -8
- package/front_end/generated/InspectorBackendCommands.ts +2 -1
- package/front_end/generated/protocol.ts +9 -0
- package/front_end/models/ai_assistance/agents/StylingAgent.snapshot.txt +1 -1
- package/front_end/models/ai_assistance/contexts/LighthouseContext.snapshot.txt +6 -1
- package/front_end/models/ai_assistance/contexts/LighthouseContext.ts +4 -3
- package/front_end/models/ai_assistance/data_formatters/LighthouseFormatter.snapshot.txt +91 -11
- package/front_end/models/ai_assistance/data_formatters/LighthouseFormatter.ts +90 -43
- package/front_end/models/ai_assistance/skills/styling.md +4 -2
- package/front_end/models/ai_assistance/tools/ExecuteJavaScript.ts +31 -36
- package/front_end/models/bindings/CompilerScriptMapping.ts +0 -1
- package/front_end/models/bindings/DebuggerLanguagePlugins.ts +0 -1
- package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +0 -1
- package/front_end/models/har/HARFormat.ts +1 -0
- package/front_end/models/har/Importer.ts +7 -1
- package/front_end/models/har/Log.snapshot.txt +2 -0
- package/front_end/models/har/Log.ts +2 -0
- package/front_end/models/javascript_metadata/NativeFunctions.ts +0 -4
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +1 -1
- package/front_end/panels/ai_assistance/components/ChatInput.ts +2 -0
- package/front_end/panels/ai_assistance/components/chatInput.css +1 -1
- package/front_end/panels/ai_assistance/components/exploreWidget.css +1 -1
- package/front_end/panels/animation/animationTimeline.css +11 -9
- package/front_end/panels/application/IndexedDBViews.ts +2 -2
- package/front_end/panels/application/PrivateVerificationTokensView.ts +217 -9
- package/front_end/panels/application/ServiceWorkerCacheViews.ts +1 -1
- package/front_end/panels/application/ServiceWorkersView.ts +1 -1
- package/front_end/panels/application/StorageView.ts +1 -1
- package/front_end/panels/application/appManifestView.css +0 -6
- package/front_end/panels/application/backgroundServiceView.css +0 -21
- package/front_end/panels/application/components/backForwardCacheView.css +1 -9
- package/front_end/panels/application/components/endpointsGrid.css +1 -1
- package/front_end/panels/application/components/permissionsPolicySection.css +1 -1
- package/front_end/panels/application/cookieItemsView.css +0 -1
- package/front_end/panels/application/frameDetailsReportView.css +0 -10
- package/front_end/panels/application/indexedDBViews.css +0 -6
- package/front_end/panels/application/privateVerificationTokensView.css +12 -0
- package/front_end/panels/application/resourcesPanel.css +0 -14
- package/front_end/panels/application/serviceWorkerUpdateCycleView.css +4 -4
- package/front_end/panels/application/serviceWorkersView.css +1 -1
- package/front_end/panels/changes/CombinedDiffView.ts +1 -1
- package/front_end/panels/comments/CommentsPane.ts +5 -0
- package/front_end/panels/common/CommentsOverlayWidget.ts +337 -117
- package/front_end/panels/console/consoleView.css +5 -3
- package/front_end/panels/coverage/CoverageView.ts +0 -1
- package/front_end/panels/coverage/coverageView.css +4 -3
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +0 -1
- package/front_end/panels/elements/AccessibilityTreeView.ts +1 -1
- package/front_end/panels/elements/CSSValueTraceView.ts +2 -4
- package/front_end/panels/elements/DOMTreeContextMenu.ts +1 -1
- package/front_end/panels/elements/DOMTreeWidget.ts +14 -0
- package/front_end/panels/elements/MetricsSidebarPane.ts +1 -1
- package/front_end/panels/elements/PlatformFontsWidget.ts +0 -1
- package/front_end/panels/elements/PropertiesWidget.ts +1 -1
- package/front_end/panels/elements/StylesSidebarPane.ts +2 -0
- package/front_end/panels/elements/WebCustomData.ts +1 -1
- package/front_end/panels/elements/components/cssHintDetailsView.css +1 -1
- package/front_end/panels/elements/components/cssVariableValueView.css +3 -1
- package/front_end/panels/elements/components/elementsTreeExpandButton.css +3 -2
- package/front_end/panels/elements/components/stylePropertyEditor.css +2 -2
- package/front_end/panels/elements/layoutPane.css +1 -1
- package/front_end/panels/elements/metricsSidebarPane.css +4 -4
- package/front_end/panels/elements/platformFontsWidget.css +1 -1
- package/front_end/panels/elements/stylesSidebarPane.css +1 -1
- package/front_end/panels/emulation/DeviceModeView.ts +4 -3
- package/front_end/panels/emulation/deviceModeView.css +6 -7
- package/front_end/panels/event_listeners/eventListenersView.css +4 -4
- package/front_end/panels/explain/components/consoleInsight.css +3 -18
- package/front_end/panels/issues/issuesTree.css +5 -6
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +4 -2
- package/front_end/panels/layer_viewer/TransformController.ts +106 -54
- package/front_end/panels/lighthouse/lighthousePanel.css +4 -7
- package/front_end/panels/lighthouse/lighthouseStartView.css +1 -2
- package/front_end/panels/linear_memory_inspector/components/linearMemoryHighlightChipList.css +4 -4
- package/front_end/panels/media/EventTimelineView.ts +1 -4
- package/front_end/panels/media/TickingFlameChart.ts +3 -2
- package/front_end/panels/media/playerListView.css +6 -3
- package/front_end/panels/media/playerMessagesView.css +2 -2
- package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +1 -1
- package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +5 -7
- package/front_end/panels/network/NetworkConfigView.ts +1 -1
- package/front_end/panels/network/binaryResourceView.css +0 -7
- package/front_end/panels/network/networkLogView.css +0 -7
- package/front_end/panels/network/networkTimingTable.css +2 -2
- package/front_end/panels/network/requestConditionsDrawer.css +1 -24
- package/front_end/panels/performance_monitor/PerformanceMonitor.ts +1 -1
- package/front_end/panels/performance_monitor/performanceMonitor.css +1 -1
- package/front_end/panels/protocol_monitor/JSONEditor.ts +1 -1
- package/front_end/panels/protocol_monitor/protocolMonitor.css +1 -1
- package/front_end/panels/recorder/extensionView.css +1 -1
- package/front_end/panels/recorder/recorderPanel.css +3 -3
- package/front_end/panels/recorder/recordingListView.css +1 -1
- package/front_end/panels/recorder/stepEditor.css +2 -2
- package/front_end/panels/recorder/stepView.css +0 -24
- package/front_end/panels/screencast/screencastView.css +2 -1
- package/front_end/panels/search/searchView.css +4 -3
- package/front_end/panels/security/SecurityPanelSidebar.ts +0 -1
- package/front_end/panels/security/mainView.css +1 -1
- package/front_end/panels/security/originView.css +0 -4
- package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +2 -1
- package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +1 -2
- package/front_end/panels/sources/breakpointsView.css +0 -1
- package/front_end/panels/sources/tabbedEditorContainer.css +1 -1
- package/front_end/panels/sources/watchExpressionsSidebarPane.css +2 -2
- package/front_end/panels/timeline/TimelineSelectorStatsView.ts +1 -1
- package/front_end/panels/timeline/components/OriginMap.ts +1 -1
- package/front_end/panels/timeline/components/fieldSettingsDialog.css +1 -1
- package/front_end/panels/timeline/components/metricCard.css +1 -1
- package/front_end/panels/timeline/components/networkRequestDetails.css +0 -1
- package/front_end/panels/timeline/components/networkRequestTooltip.css +2 -2
- package/front_end/panels/timeline/timelineFlamechartPopover.css +1 -1
- package/front_end/panels/timeline/timelineHistoryManager.css +1 -1
- package/front_end/panels/timeline/timelineMiniMap.css +1 -1
- package/front_end/panels/timeline/timelineStatusDialog.css +1 -1
- package/front_end/panels/web_audio/webAudio.css +0 -20
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/ui/comments/CommentAnchorResolver.ts +166 -8
- package/front_end/ui/comments/CommentOverlayManager.ts +17 -2
- package/front_end/ui/components/diff_view/diffView.css +1 -1
- package/front_end/ui/components/markdown_view/markdownView.css +1 -1
- package/front_end/ui/components/menus/Menu.ts +1 -1
- package/front_end/ui/components/menus/menuItem.css +1 -1
- package/front_end/ui/components/panel_feedback/panelFeedback.css +2 -2
- package/front_end/ui/components/panel_introduction_steps/panelIntroductionSteps.css +1 -1
- package/front_end/ui/components/report_view/reportValue.css +5 -2
- package/front_end/ui/components/suggestion_input/suggestionInput.css +4 -4
- package/front_end/ui/legacy/ContextMenu.ts +3 -0
- package/front_end/ui/legacy/GlassPane.ts +3 -3
- package/front_end/ui/legacy/SoftContextMenu.ts +7 -1
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +2 -0
- package/front_end/ui/legacy/components/inline_editor/bezierEditor.css +7 -6
- package/front_end/ui/legacy/components/inline_editor/cssAngleEditor.css +3 -3
- package/front_end/ui/legacy/components/perf_ui/flameChart.css +7 -6
- package/front_end/ui/legacy/components/perf_ui/overviewGrid.css +4 -3
- package/front_end/ui/legacy/components/perf_ui/pieChart.css +3 -3
- package/front_end/ui/legacy/components/source_frame/imageView.css +4 -4
- package/front_end/ui/legacy/components/utils/jsUtils.css +2 -1
- package/front_end/ui/legacy/dropTarget.css +1 -1
- package/front_end/ui/legacy/filter.css +4 -3
- package/front_end/ui/legacy/inspectorCommon.css +8 -23
- package/front_end/ui/legacy/inspectorDrawerTabbedPane.css +1 -1
- package/front_end/ui/legacy/suggestBox.css +2 -1
- package/front_end/ui/legacy/toolbar.css +2 -1
- package/front_end/ui/legacy/treeoutline.css +5 -4
- package/front_end/ui/legacy/viewContainers.css +2 -1
- package/front_end/ui/visual_logging/KnownContextValues.ts +7 -0
- package/inspector_overlay/highlight_anchor.ts +8 -11
- package/package.json +1 -1
|
@@ -272,6 +272,7 @@ type View = (input: ServiceWorkersViewInput, output: undefined, target: HTMLElem
|
|
|
272
272
|
export const DEFAULT_VIEW: View = (input, _output, target): void => {
|
|
273
273
|
// clang-format off
|
|
274
274
|
render(html`
|
|
275
|
+
<style>${serviceWorkersViewStyles}</style>
|
|
275
276
|
<!-- This Origin Report -->
|
|
276
277
|
${renderOriginReport(input)}
|
|
277
278
|
${renderOthersOriginView()}`,
|
|
@@ -307,7 +308,6 @@ export class ServiceWorkersView extends UI.Widget.VBox implements
|
|
|
307
308
|
useShadowDom: true,
|
|
308
309
|
});
|
|
309
310
|
this.#view = view;
|
|
310
|
-
this.registerRequiredCSS(serviceWorkersViewStyles);
|
|
311
311
|
|
|
312
312
|
this.sections = new Map();
|
|
313
313
|
|
|
@@ -339,6 +339,7 @@ export const DEFAULT_VIEW: View = (input, output, target) => {
|
|
|
339
339
|
|
|
340
340
|
// clang-format off
|
|
341
341
|
render(html`
|
|
342
|
+
<style>${storageViewStyles}</style>
|
|
342
343
|
<devtools-report class="clear-storage-header" .data=${{reportTitle: i18nString(UIStrings.storageTitle)}}>
|
|
343
344
|
${input.subtitle ? html`<div class="report-subtitle" slot="toolbar">${input.subtitle}</div>` : nothing}
|
|
344
345
|
${renderClearSiteData()}
|
|
@@ -383,7 +384,6 @@ export class StorageView extends UI.Widget.VBox {
|
|
|
383
384
|
constructor(element?: HTMLElement, view: View = DEFAULT_VIEW) {
|
|
384
385
|
super(element, {useShadowDom: true});
|
|
385
386
|
this.#view = view;
|
|
386
|
-
this.registerRequiredCSS(storageViewStyles);
|
|
387
387
|
this.pieColors = storagePieColors;
|
|
388
388
|
|
|
389
389
|
this.settings = new Map();
|
|
@@ -30,27 +30,6 @@
|
|
|
30
30
|
flex-direction: column;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.background-service-preview {
|
|
34
|
-
position: absolute;
|
|
35
|
-
background-color: var(--sys-color-cdt-base-container);
|
|
36
|
-
justify-content: center;
|
|
37
|
-
align-items: center;
|
|
38
|
-
overflow: auto;
|
|
39
|
-
font-size: var(--sys-typescale-body3-size);
|
|
40
|
-
color: var(--sys-color-on-surface-subtle);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.background-service-preview > div {
|
|
44
|
-
max-width: 450px;
|
|
45
|
-
margin: 10px;
|
|
46
|
-
text-align: center;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.background-service-preview > div > p {
|
|
50
|
-
flex: none;
|
|
51
|
-
white-space: pre-line;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
33
|
.background-service-shortcut {
|
|
55
34
|
color: var(--sys-color-on-surface-subtle);
|
|
56
35
|
}
|
|
@@ -38,7 +38,7 @@ devtools-report-value {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.circled-exclamation-icon {
|
|
41
|
-
margin-right:
|
|
41
|
+
margin-right: var(--sys-size-5);
|
|
42
42
|
flex-shrink: 0;
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -47,14 +47,6 @@ devtools-report-value {
|
|
|
47
47
|
flex-shrink: 0;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.report-line {
|
|
51
|
-
grid-column-start: span 2;
|
|
52
|
-
display: flex;
|
|
53
|
-
align-items: center;
|
|
54
|
-
margin: 0 30px;
|
|
55
|
-
line-height: 26px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
50
|
.report-key {
|
|
59
51
|
color: var(--sys-color-token-subtle);
|
|
60
52
|
min-width: auto;
|
|
@@ -46,11 +46,6 @@ devtools-button.help-button {
|
|
|
46
46
|
position: relative;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
button.text-link {
|
|
50
|
-
padding-left: var(--sys-size-2);
|
|
51
|
-
height: 26px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
49
|
.inline-button {
|
|
55
50
|
padding-left: 1ex;
|
|
56
51
|
}
|
|
@@ -109,11 +104,6 @@ button.text-link {
|
|
|
109
104
|
font-weight: bold;
|
|
110
105
|
}
|
|
111
106
|
|
|
112
|
-
.link:not(button):has(devtools-icon) {
|
|
113
|
-
vertical-align: baseline;
|
|
114
|
-
margin-inline-start: 3px;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
107
|
.inline-icon {
|
|
118
108
|
margin-bottom: -5px;
|
|
119
109
|
width: 18px;
|
|
@@ -55,16 +55,6 @@
|
|
|
55
55
|
flex: auto;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
.storage-view .storage-table-error {
|
|
59
|
-
color: var(--sys-color-error);
|
|
60
|
-
font-size: var(--sys-typescale-headline1-size);
|
|
61
|
-
font-weight: bold;
|
|
62
|
-
padding: 10px;
|
|
63
|
-
display: flex;
|
|
64
|
-
align-items: center;
|
|
65
|
-
justify-content: center;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
58
|
.storage-view.query {
|
|
69
59
|
padding: var(--sys-size-2) 0;
|
|
70
60
|
overflow: hidden auto;
|
|
@@ -98,10 +88,6 @@
|
|
|
98
88
|
user-select: none;
|
|
99
89
|
}
|
|
100
90
|
|
|
101
|
-
.database-user-query .prompt-icon {
|
|
102
|
-
margin-top: -10px;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
91
|
.database-query-prompt-container .prompt-icon {
|
|
106
92
|
top: var(--sys-size-4);
|
|
107
93
|
}
|
|
@@ -77,14 +77,14 @@
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.service-worker-update-timing-bar.activate {
|
|
80
|
-
|
|
81
|
-
height:
|
|
80
|
+
margin-block: auto;
|
|
81
|
+
height: var(--sys-size-5);
|
|
82
82
|
background-color: var(--sys-color-yellow-bright);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
.service-worker-update-timing-bar.wait {
|
|
86
|
-
|
|
87
|
-
height:
|
|
86
|
+
margin-block: auto;
|
|
87
|
+
height: var(--sys-size-5);
|
|
88
88
|
background-color: var(--sys-color-purple-bright);
|
|
89
89
|
}
|
|
90
90
|
|
|
@@ -106,6 +106,7 @@ const DEFAULT_VIEW: View = (input, output, target) => {
|
|
|
106
106
|
// clang-format off
|
|
107
107
|
Lit.render(
|
|
108
108
|
html`
|
|
109
|
+
<style>${combinedDiffViewStyles}</style>
|
|
109
110
|
<div class="combined-diff-view">
|
|
110
111
|
${input.singleDiffViewInputs.map(singleDiffViewInput => renderSingleDiffView(singleDiffViewInput))}
|
|
111
112
|
</div>
|
|
@@ -128,7 +129,6 @@ export class CombinedDiffView extends UI.Widget.Widget {
|
|
|
128
129
|
#viewOutput: ViewOutput = {};
|
|
129
130
|
constructor(element?: HTMLElement, view: View = DEFAULT_VIEW) {
|
|
130
131
|
super(element);
|
|
131
|
-
this.registerRequiredCSS(combinedDiffViewStyles);
|
|
132
132
|
this.#view = view;
|
|
133
133
|
}
|
|
134
134
|
|
|
@@ -493,6 +493,11 @@ export class CommentsPane extends UI.Widget.Widget {
|
|
|
493
493
|
thread: CommentManager.CommentManager.CommentThread,
|
|
494
494
|
position?: {left: number, top: number},
|
|
495
495
|
): void => {
|
|
496
|
+
// Generated comments can only be revealed once resolved, to read the response.
|
|
497
|
+
if (thread.isGeneratedComment && thread.status !== 'RESOLVED') {
|
|
498
|
+
return;
|
|
499
|
+
}
|
|
500
|
+
|
|
496
501
|
void Common.Revealer.reveal(new CommentManager.CommentThread.RevealableThread(thread, position));
|
|
497
502
|
};
|
|
498
503
|
|