chrome-devtools-frontend 1.0.1608868 → 1.0.1609381
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/core/host/AidaGcaTranslation.ts +13 -0
- package/front_end/core/sdk/PreloadingModel.ts +1 -1
- package/front_end/entrypoints/heap_snapshot_worker/AllocationProfile.ts +1 -1
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +1 -1
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshotWorkerDispatcher.ts +1 -1
- package/front_end/generated/InspectorBackendCommands.ts +1 -2
- package/front_end/generated/protocol-mapping.d.ts +0 -9
- package/front_end/generated/protocol-proxy-api.d.ts +0 -7
- package/front_end/generated/protocol.ts +0 -20
- package/front_end/models/ai_assistance/agents/AccessibilityAgent.ts +4 -2
- package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +5 -4
- package/front_end/models/ai_assistance/agents/ConversationSummaryAgent.ts +24 -1
- package/front_end/models/ai_assistance/agents/PerformanceAgent.snapshot.txt +2 -2
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +41 -22
- package/front_end/models/ai_assistance/agents/StylingAgent.snapshot.txt +2 -2
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +5 -3
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +69 -69
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +1 -1
- package/front_end/models/live-metrics/LiveMetrics.ts +43 -41
- package/front_end/models/trace/EntityMapper.ts +12 -0
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +44 -15
- package/front_end/panels/ai_assistance/components/chatMessage.css +13 -0
- package/front_end/panels/application/ApplicationPanelSidebar.ts +8 -0
- package/front_end/panels/application/IndexedDBViews.ts +1 -1
- package/front_end/panels/application/ResourcesPanel.ts +8 -0
- package/front_end/panels/application/ServiceWorkerCacheViews.ts +1 -1
- package/front_end/panels/application/application-meta.ts +11 -0
- package/front_end/panels/application/application.ts +1 -0
- package/front_end/panels/application/components/StorageMetadataView.ts +31 -7
- package/front_end/panels/application/components/backForwardCacheView.css +4 -0
- package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.ts +29 -0
- package/front_end/panels/elements/ElementsTreeElement.ts +4 -0
- package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +1 -1
- package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +1 -1
- package/front_end/panels/profiler/HeapSnapshotView.ts +1 -1
- package/front_end/panels/timeline/TimelinePanel.ts +2 -6
- package/front_end/panels/timeline/utils/Helpers.ts +1 -1
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/ui/legacy/InspectorDrawerView.ts +188 -15
- package/front_end/ui/legacy/InspectorView.ts +162 -11
- package/front_end/ui/legacy/TabbedPane.ts +2 -2
- package/front_end/ui/legacy/inspectorDrawerTabbedPane.css +54 -0
- package/front_end/ui/visual_logging/KnownContextValues.ts +1 -0
- package/front_end/ui/visual_logging/LoggingDriver.ts +3 -3
- package/mcp/mcp.ts +1 -1
- package/package.json +1 -1
- /package/front_end/models/{heap_snapshot_model → heap_snapshot}/ChildrenProvider.ts +0 -0
- /package/front_end/models/{heap_snapshot_model → heap_snapshot}/HeapSnapshotModel.ts +0 -0
- /package/front_end/models/{heap_snapshot_model → heap_snapshot}/HeapSnapshotProxy.ts +0 -0
- /package/front_end/models/{heap_snapshot_model/heap_snapshot_model.ts → heap_snapshot/heap_snapshot.ts} +0 -0
|
@@ -3,3 +3,57 @@
|
|
|
3
3
|
* Use of this source code is governed by a BSD-style license that can be
|
|
4
4
|
* found in the LICENSE file.
|
|
5
5
|
*/
|
|
6
|
+
|
|
7
|
+
.drawer-tabbed-pane.drawer-minimized-vertical {
|
|
8
|
+
min-width: 27px;
|
|
9
|
+
width: 27px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.hide-element {
|
|
13
|
+
display: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.collapsed-vertical-drawer-container {
|
|
17
|
+
height: calc(100% - 27px);
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.collapsed-vertical-drawer-header {
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
flex-basis: 100% !important; /* stylelint-disable-line declaration-no-important */
|
|
25
|
+
border-bottom: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.collapsed-vertical-drawer-right-toolbar {
|
|
29
|
+
margin-left: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
align-items: center;
|
|
32
|
+
height: auto;
|
|
33
|
+
width: 27px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
devtools-toolbar.collapsed-vertical-drawer-toolbar-content {
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
align-items: center;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
height: auto !important; /* stylelint-disable-line declaration-no-important */
|
|
41
|
+
width: 27px;
|
|
42
|
+
padding: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
43
|
+
gap: 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
devtools-toolbar.collapsed-vertical-drawer-toolbar-content .toolbar-button {
|
|
47
|
+
margin: 0 auto;
|
|
48
|
+
padding: 0;
|
|
49
|
+
padding-right: 1px;
|
|
50
|
+
width: 27px;
|
|
51
|
+
height: 26px;
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
devtools-toolbar.collapsed-vertical-drawer-toolbar-content .toolbar-spacer {
|
|
58
|
+
display: none;
|
|
59
|
+
}
|
|
@@ -76,7 +76,7 @@ export async function startLogging(options?: {
|
|
|
76
76
|
export async function addDocument(document: Document): Promise<void> {
|
|
77
77
|
documents.push(document);
|
|
78
78
|
if (['interactive', 'complete'].includes(document.readyState)) {
|
|
79
|
-
await process
|
|
79
|
+
await RenderCoordinator.read('processForLogging', process);
|
|
80
80
|
}
|
|
81
81
|
document.addEventListener('visibilitychange', scheduleProcessing);
|
|
82
82
|
document.addEventListener('scroll', scheduleProcessing);
|
|
@@ -84,8 +84,8 @@ export async function addDocument(document: Document): Promise<void> {
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
export async function stopLogging(): Promise<void> {
|
|
87
|
-
await keyboardLogThrottler.schedule(async () => {}, Common.Throttler.Scheduling.AS_SOON_AS_POSSIBLE);
|
|
88
87
|
logging = false;
|
|
88
|
+
await keyboardLogThrottler.schedule(async () => {}, Common.Throttler.Scheduling.AS_SOON_AS_POSSIBLE);
|
|
89
89
|
unregisterAllLoggables();
|
|
90
90
|
for (const document of documents) {
|
|
91
91
|
document.removeEventListener('visibilitychange', scheduleProcessing);
|
|
@@ -139,7 +139,7 @@ const viewportRectFor = (element: Element): DOMRect => {
|
|
|
139
139
|
};
|
|
140
140
|
|
|
141
141
|
export async function process(): Promise<void> {
|
|
142
|
-
if (document.hidden) {
|
|
142
|
+
if (!logging || document.hidden) {
|
|
143
143
|
return;
|
|
144
144
|
}
|
|
145
145
|
const startTime = performance.now();
|
package/mcp/mcp.ts
CHANGED
|
@@ -38,6 +38,7 @@ export {AgentFocus} from '../front_end/models/ai_assistance/performance/AIContex
|
|
|
38
38
|
export {DebuggerWorkspaceBinding} from '../front_end/models/bindings/DebuggerWorkspaceBinding.js';
|
|
39
39
|
export {CrUXManager} from '../front_end/models/crux-manager/CrUXManager.js';
|
|
40
40
|
export * as Formatter from '../front_end/models/formatter/formatter.js';
|
|
41
|
+
export * as HeapSnapshotModel from '../front_end/models/heap_snapshot/heap_snapshot.js';
|
|
41
42
|
export {Issue} from '../front_end/models/issues_manager/Issue.js';
|
|
42
43
|
export {
|
|
43
44
|
AggregatedIssue,
|
|
@@ -53,7 +54,6 @@ export {
|
|
|
53
54
|
export * as MarkdownIssueDescription from '../front_end/models/issues_manager/MarkdownIssueDescription.js';
|
|
54
55
|
export * as StackTrace from '../front_end/models/stack_trace/stack_trace.js';
|
|
55
56
|
export * as TraceEngine from '../front_end/models/trace/trace.js';
|
|
56
|
-
export {IgnoreListManager} from '../front_end/models/workspace/IgnoreListManager.js';
|
|
57
57
|
export * as Marked from '../front_end/third_party/marked/marked.js';
|
|
58
58
|
|
|
59
59
|
installInspectorFrontendHost(new McpHostBindings());
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|