chrome-devtools-frontend 1.0.1556696 → 1.0.1559913
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/Images/src/container.svg +4 -0
- package/front_end/core/common/Gzip.ts +15 -0
- package/front_end/core/common/Object.ts +5 -1
- package/front_end/core/host/ResourceLoader.ts +1 -1
- package/front_end/core/host/UserMetrics.ts +3 -1
- package/front_end/core/sdk/CSSMetadata.ts +6 -6
- package/front_end/core/sdk/CSSModel.ts +2 -2
- package/front_end/core/sdk/DOMModel.ts +14 -3
- package/front_end/core/sdk/NetworkManager.ts +0 -7
- package/front_end/core/sdk/SourceMap.ts +16 -2
- package/front_end/core/sdk/SourceMapManager.ts +1 -1
- package/front_end/core/sdk/SourceMapScopesInfo.ts +11 -4
- package/front_end/entrypoints/formatter_worker/FormatterActions.ts +1 -0
- package/front_end/entrypoints/formatter_worker/ScopeParser.ts +51 -8
- package/front_end/entrypoints/main/GlobalAiButton.ts +5 -1
- package/front_end/generated/Deprecation.ts +0 -7
- package/front_end/generated/InspectorBackendCommands.ts +5 -4
- package/front_end/generated/SupportedCSSProperties.js +64 -32
- package/front_end/generated/protocol-mapping.d.ts +9 -0
- package/front_end/generated/protocol-proxy-api.d.ts +7 -0
- package/front_end/generated/protocol.ts +23 -1
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +1 -1
- package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.ts +11 -7
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +3 -3
- package/front_end/models/bindings/CompilerScriptMapping.ts +7 -6
- package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +4 -4
- package/front_end/models/javascript_metadata/NativeFunctions.js +2 -2
- package/front_end/models/stack_trace/StackTraceImpl.ts +5 -3
- package/front_end/models/stack_trace/StackTraceModel.ts +53 -40
- package/front_end/models/trace/EventsSerializer.ts +8 -2
- package/front_end/models/trace/LanternComputationData.ts +4 -3
- package/front_end/models/trace/Processor.ts +6 -5
- package/front_end/models/trace/Styles.ts +10 -1
- package/front_end/models/trace/handlers/LargestImagePaintHandler.ts +2 -2
- package/front_end/models/trace/handlers/LayoutShiftsHandler.ts +2 -2
- package/front_end/models/trace/handlers/MetaHandler.ts +14 -0
- package/front_end/models/trace/handlers/PageLoadMetricsHandler.ts +54 -34
- package/front_end/models/trace/helpers/Timing.ts +8 -1
- package/front_end/models/trace/insights/Common.ts +1 -1
- package/front_end/models/trace/insights/LCPBreakdown.ts +4 -4
- package/front_end/models/trace/insights/LCPDiscovery.ts +3 -3
- package/front_end/models/trace/insights/RenderBlocking.ts +1 -1
- package/front_end/models/trace/insights/types.ts +1 -1
- package/front_end/models/trace/types/TraceEvents.ts +62 -10
- package/front_end/panels/application/AppManifestView.ts +134 -223
- package/front_end/panels/application/CookieItemsView.ts +1 -0
- package/front_end/panels/application/SharedStorageTreeElement.ts +3 -0
- package/front_end/panels/application/appManifestView.css +1 -1
- package/front_end/panels/common/AiCodeGenerationTeaser.ts +48 -12
- package/front_end/panels/common/aiCodeGenerationTeaser.css +14 -0
- package/front_end/panels/common/common.ts +1 -1
- package/front_end/panels/console/ConsoleViewMessage.ts +4 -3
- package/front_end/panels/console/consoleView.css +1 -1
- package/front_end/panels/elements/CSSRuleValidator.ts +38 -0
- package/front_end/panels/elements/ElementsTreeElement.ts +108 -58
- package/front_end/panels/elements/ElementsTreeOutline.ts +0 -17
- package/front_end/panels/elements/ElementsTreeOutlineRenderer.ts +7 -1
- package/front_end/panels/elements/StylesSidebarPane.ts +15 -4
- package/front_end/panels/elements/components/AdornerManager.ts +8 -0
- package/front_end/panels/emulation/DeviceModeToolbar.ts +3 -1
- package/front_end/panels/issues/AffectedResourcesView.ts +0 -1
- package/front_end/panels/lighthouse/LighthousePanel.ts +10 -0
- package/front_end/panels/lighthouse/lighthousePanel.css +46 -3
- package/front_end/panels/network/NetworkLogViewColumns.ts +9 -9
- package/front_end/panels/network/RequestCookiesView.ts +125 -141
- package/front_end/panels/network/components/RequestHeadersView.ts +2 -2
- package/front_end/panels/network/requestCookiesView.css +22 -20
- package/front_end/panels/recorder/components/RecordingView.ts +3 -3
- package/front_end/panels/recorder/components/StepView.ts +2 -1
- package/front_end/panels/settings/keybindsSettingsTab.css +4 -0
- package/front_end/panels/sources/CallStackSidebarPane.ts +7 -3
- package/front_end/panels/sources/DebuggerPausedMessage.ts +125 -90
- package/front_end/panels/sources/SourcesPanel.ts +10 -7
- package/front_end/panels/sources/debuggerPausedMessage.css +8 -0
- package/front_end/panels/timeline/StatusDialog.ts +4 -3
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +3 -16
- package/front_end/panels/timeline/TimelineFlameChartView.ts +64 -21
- package/front_end/panels/timeline/TimelinePanel.ts +71 -24
- package/front_end/panels/timeline/TimelineUIUtils.ts +28 -2
- package/front_end/panels/timeline/TimingsTrackAppender.ts +3 -1
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.ts +1 -1
- package/front_end/panels/timeline/components/insights/RenderBlocking.ts +6 -4
- package/front_end/panels/timeline/components/sidebarInsightsTab.css +2 -0
- package/front_end/panels/timeline/overlays/OverlaysImpl.ts +4 -0
- package/front_end/panels/timeline/timelinePanel.css +8 -1
- package/front_end/panels/timeline/utils/EntryNodes.ts +2 -1
- package/front_end/third_party/acorn/estree-legacy.d.ts +2 -0
- 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/cjs/puppeteer/api/Browser.d.ts +12 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts +14 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.js +6 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/HTTPRequest.d.ts +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/HTTPRequest.js +0 -20
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.js +10 -14
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/BrowsingContext.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/BrowsingContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/BrowsingContext.js +14 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/BrowsingContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.js +12 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/EmulationManager.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/EmulationManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/EmulationManager.js +22 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/EmulationManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js +9 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Mutex.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +26 -0
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +72 -15
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts +12 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts +14 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.js +6 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/HTTPRequest.d.ts +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/HTTPRequest.js +0 -20
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.js +11 -15
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/BrowsingContext.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/BrowsingContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/BrowsingContext.js +14 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/BrowsingContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.js +12 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/EmulationManager.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/EmulationManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/EmulationManager.js +22 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/EmulationManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js +9 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +26 -0
- package/front_end/third_party/puppeteer/package/package.json +1 -1
- package/front_end/third_party/puppeteer/package/src/api/Browser.ts +18 -0
- package/front_end/third_party/puppeteer/package/src/api/Page.ts +16 -2
- package/front_end/third_party/puppeteer/package/src/bidi/Browser.ts +13 -0
- package/front_end/third_party/puppeteer/package/src/bidi/HTTPRequest.ts +0 -33
- package/front_end/third_party/puppeteer/package/src/bidi/Page.ts +14 -28
- package/front_end/third_party/puppeteer/package/src/bidi/core/BrowsingContext.ts +19 -0
- package/front_end/third_party/puppeteer/package/src/cdp/Browser.ts +19 -0
- package/front_end/third_party/puppeteer/package/src/cdp/EmulationManager.ts +30 -0
- package/front_end/third_party/puppeteer/package/src/cdp/Page.ts +15 -6
- 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/components/icon_button/iconButton.css +3 -1
- package/front_end/ui/components/report_view/ReportView.ts +11 -2
- package/front_end/ui/components/report_view/report.css +16 -0
- package/front_end/ui/components/text_editor/AiCodeGenerationProvider.ts +202 -32
- package/front_end/ui/components/text_editor/config.ts +6 -6
- package/front_end/ui/legacy/ContextMenu.ts +11 -2
- package/front_end/ui/legacy/SearchableView.ts +11 -5
- package/front_end/ui/legacy/SplitWidget.ts +1 -1
- package/front_end/ui/legacy/TextPrompt.ts +1 -1
- package/front_end/ui/legacy/Toolbar.ts +4 -0
- package/front_end/ui/legacy/UIUtils.ts +0 -2
- package/front_end/ui/legacy/components/cookie_table/CookiesTable.ts +18 -3
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +3 -3
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +6 -0
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +43 -9
- package/front_end/ui/visual_logging/KnownContextValues.ts +13 -0
- package/package.json +1 -1
|
@@ -349,6 +349,7 @@ export const generatedProperties = [
|
|
|
349
349
|
"background-repeat",
|
|
350
350
|
"background-size",
|
|
351
351
|
"base-palette",
|
|
352
|
+
"base-url",
|
|
352
353
|
"baseline-shift",
|
|
353
354
|
"baseline-source",
|
|
354
355
|
"block-ellipsis",
|
|
@@ -419,10 +420,10 @@ export const generatedProperties = [
|
|
|
419
420
|
"column-height",
|
|
420
421
|
"column-rule-break",
|
|
421
422
|
"column-rule-color",
|
|
422
|
-
"column-rule-edge-end
|
|
423
|
-
"column-rule-edge-start
|
|
424
|
-
"column-rule-interior-end
|
|
425
|
-
"column-rule-interior-start
|
|
423
|
+
"column-rule-edge-inset-end",
|
|
424
|
+
"column-rule-edge-inset-start",
|
|
425
|
+
"column-rule-interior-inset-end",
|
|
426
|
+
"column-rule-interior-inset-start",
|
|
426
427
|
"column-rule-style",
|
|
427
428
|
"column-rule-visibility-items",
|
|
428
429
|
"column-rule-width",
|
|
@@ -510,7 +511,9 @@ export const generatedProperties = [
|
|
|
510
511
|
"grid-template-areas",
|
|
511
512
|
"grid-template-columns",
|
|
512
513
|
"grid-template-rows",
|
|
514
|
+
"hash",
|
|
513
515
|
"height",
|
|
516
|
+
"hostname",
|
|
514
517
|
"hyphenate-character",
|
|
515
518
|
"hyphenate-limit-chars",
|
|
516
519
|
"hyphens",
|
|
@@ -619,9 +622,12 @@ export const generatedProperties = [
|
|
|
619
622
|
"page",
|
|
620
623
|
"page-orientation",
|
|
621
624
|
"paint-order",
|
|
625
|
+
"pathname",
|
|
626
|
+
"pattern",
|
|
622
627
|
"perspective",
|
|
623
628
|
"perspective-origin",
|
|
624
629
|
"pointer-events",
|
|
630
|
+
"port",
|
|
625
631
|
"position",
|
|
626
632
|
"position-anchor",
|
|
627
633
|
"position-area",
|
|
@@ -630,6 +636,7 @@ export const generatedProperties = [
|
|
|
630
636
|
"position-visibility",
|
|
631
637
|
"prefix",
|
|
632
638
|
"print-color-adjust",
|
|
639
|
+
"protocol",
|
|
633
640
|
"quotes",
|
|
634
641
|
"r",
|
|
635
642
|
"range",
|
|
@@ -642,10 +649,10 @@ export const generatedProperties = [
|
|
|
642
649
|
"row-gap",
|
|
643
650
|
"row-rule-break",
|
|
644
651
|
"row-rule-color",
|
|
645
|
-
"row-rule-edge-end
|
|
646
|
-
"row-rule-edge-start
|
|
647
|
-
"row-rule-interior-end
|
|
648
|
-
"row-rule-interior-start
|
|
652
|
+
"row-rule-edge-inset-end",
|
|
653
|
+
"row-rule-edge-inset-start",
|
|
654
|
+
"row-rule-interior-inset-end",
|
|
655
|
+
"row-rule-interior-inset-start",
|
|
649
656
|
"row-rule-style",
|
|
650
657
|
"row-rule-visibility-items",
|
|
651
658
|
"row-rule-width",
|
|
@@ -683,6 +690,7 @@ export const generatedProperties = [
|
|
|
683
690
|
"scrollbar-color",
|
|
684
691
|
"scrollbar-gutter",
|
|
685
692
|
"scrollbar-width",
|
|
693
|
+
"search",
|
|
686
694
|
"shape-image-threshold",
|
|
687
695
|
"shape-margin",
|
|
688
696
|
"shape-outside",
|
|
@@ -1039,6 +1047,9 @@ export const generatedProperties = [
|
|
|
1039
1047
|
{
|
|
1040
1048
|
"name": "base-palette"
|
|
1041
1049
|
},
|
|
1050
|
+
{
|
|
1051
|
+
"name": "base-url"
|
|
1052
|
+
},
|
|
1042
1053
|
{
|
|
1043
1054
|
"keywords": [
|
|
1044
1055
|
"baseline",
|
|
@@ -1727,28 +1738,28 @@ export const generatedProperties = [
|
|
|
1727
1738
|
},
|
|
1728
1739
|
{
|
|
1729
1740
|
"inherited": false,
|
|
1730
|
-
"name": "column-rule-edge-end
|
|
1741
|
+
"name": "column-rule-edge-inset-end"
|
|
1731
1742
|
},
|
|
1732
1743
|
{
|
|
1733
1744
|
"inherited": false,
|
|
1734
|
-
"name": "column-rule-edge-start
|
|
1745
|
+
"name": "column-rule-edge-inset-start"
|
|
1735
1746
|
},
|
|
1736
1747
|
{
|
|
1737
1748
|
"longhands": [
|
|
1738
|
-
"column-rule-edge-start
|
|
1739
|
-
"column-rule-edge-end
|
|
1740
|
-
"column-rule-interior-start
|
|
1741
|
-
"column-rule-interior-end
|
|
1749
|
+
"column-rule-edge-inset-start",
|
|
1750
|
+
"column-rule-edge-inset-end",
|
|
1751
|
+
"column-rule-interior-inset-start",
|
|
1752
|
+
"column-rule-interior-inset-end"
|
|
1742
1753
|
],
|
|
1743
1754
|
"name": "column-rule-inset"
|
|
1744
1755
|
},
|
|
1745
1756
|
{
|
|
1746
1757
|
"inherited": false,
|
|
1747
|
-
"name": "column-rule-interior-end
|
|
1758
|
+
"name": "column-rule-interior-inset-end"
|
|
1748
1759
|
},
|
|
1749
1760
|
{
|
|
1750
1761
|
"inherited": false,
|
|
1751
|
-
"name": "column-rule-interior-start
|
|
1762
|
+
"name": "column-rule-interior-inset-start"
|
|
1752
1763
|
},
|
|
1753
1764
|
{
|
|
1754
1765
|
"keywords": [
|
|
@@ -2722,6 +2733,9 @@ export const generatedProperties = [
|
|
|
2722
2733
|
],
|
|
2723
2734
|
"name": "grid-template-rows"
|
|
2724
2735
|
},
|
|
2736
|
+
{
|
|
2737
|
+
"name": "hash"
|
|
2738
|
+
},
|
|
2725
2739
|
{
|
|
2726
2740
|
"keywords": [
|
|
2727
2741
|
"auto",
|
|
@@ -2731,6 +2745,9 @@ export const generatedProperties = [
|
|
|
2731
2745
|
],
|
|
2732
2746
|
"name": "height"
|
|
2733
2747
|
},
|
|
2748
|
+
{
|
|
2749
|
+
"name": "hostname"
|
|
2750
|
+
},
|
|
2734
2751
|
{
|
|
2735
2752
|
"inherited": true,
|
|
2736
2753
|
"name": "hyphenate-character"
|
|
@@ -3525,6 +3542,12 @@ export const generatedProperties = [
|
|
|
3525
3542
|
],
|
|
3526
3543
|
"name": "paint-order"
|
|
3527
3544
|
},
|
|
3545
|
+
{
|
|
3546
|
+
"name": "pathname"
|
|
3547
|
+
},
|
|
3548
|
+
{
|
|
3549
|
+
"name": "pattern"
|
|
3550
|
+
},
|
|
3528
3551
|
{
|
|
3529
3552
|
"keywords": [
|
|
3530
3553
|
"none"
|
|
@@ -3572,6 +3595,9 @@ export const generatedProperties = [
|
|
|
3572
3595
|
],
|
|
3573
3596
|
"name": "pointer-events"
|
|
3574
3597
|
},
|
|
3598
|
+
{
|
|
3599
|
+
"name": "port"
|
|
3600
|
+
},
|
|
3575
3601
|
{
|
|
3576
3602
|
"keywords": [
|
|
3577
3603
|
"static",
|
|
@@ -3654,6 +3680,9 @@ export const generatedProperties = [
|
|
|
3654
3680
|
],
|
|
3655
3681
|
"name": "print-color-adjust"
|
|
3656
3682
|
},
|
|
3683
|
+
{
|
|
3684
|
+
"name": "protocol"
|
|
3685
|
+
},
|
|
3657
3686
|
{
|
|
3658
3687
|
"inherited": true,
|
|
3659
3688
|
"keywords": [
|
|
@@ -3738,28 +3767,28 @@ export const generatedProperties = [
|
|
|
3738
3767
|
},
|
|
3739
3768
|
{
|
|
3740
3769
|
"inherited": false,
|
|
3741
|
-
"name": "row-rule-edge-end
|
|
3770
|
+
"name": "row-rule-edge-inset-end"
|
|
3742
3771
|
},
|
|
3743
3772
|
{
|
|
3744
3773
|
"inherited": false,
|
|
3745
|
-
"name": "row-rule-edge-start
|
|
3774
|
+
"name": "row-rule-edge-inset-start"
|
|
3746
3775
|
},
|
|
3747
3776
|
{
|
|
3748
3777
|
"longhands": [
|
|
3749
|
-
"row-rule-edge-start
|
|
3750
|
-
"row-rule-edge-end
|
|
3751
|
-
"row-rule-interior-start
|
|
3752
|
-
"row-rule-interior-end
|
|
3778
|
+
"row-rule-edge-inset-start",
|
|
3779
|
+
"row-rule-edge-inset-end",
|
|
3780
|
+
"row-rule-interior-inset-start",
|
|
3781
|
+
"row-rule-interior-inset-end"
|
|
3753
3782
|
],
|
|
3754
3783
|
"name": "row-rule-inset"
|
|
3755
3784
|
},
|
|
3756
3785
|
{
|
|
3757
3786
|
"inherited": false,
|
|
3758
|
-
"name": "row-rule-interior-end
|
|
3787
|
+
"name": "row-rule-interior-inset-end"
|
|
3759
3788
|
},
|
|
3760
3789
|
{
|
|
3761
3790
|
"inherited": false,
|
|
3762
|
-
"name": "row-rule-interior-start
|
|
3791
|
+
"name": "row-rule-interior-inset-start"
|
|
3763
3792
|
},
|
|
3764
3793
|
{
|
|
3765
3794
|
"keywords": [
|
|
@@ -3847,14 +3876,14 @@ export const generatedProperties = [
|
|
|
3847
3876
|
},
|
|
3848
3877
|
{
|
|
3849
3878
|
"longhands": [
|
|
3850
|
-
"row-rule-edge-start
|
|
3851
|
-
"row-rule-edge-end
|
|
3852
|
-
"row-rule-interior-start
|
|
3853
|
-
"row-rule-interior-end
|
|
3854
|
-
"column-rule-edge-start
|
|
3855
|
-
"column-rule-edge-end
|
|
3856
|
-
"column-rule-interior-start
|
|
3857
|
-
"column-rule-interior-end
|
|
3879
|
+
"row-rule-edge-inset-start",
|
|
3880
|
+
"row-rule-edge-inset-end",
|
|
3881
|
+
"row-rule-interior-inset-start",
|
|
3882
|
+
"row-rule-interior-inset-end",
|
|
3883
|
+
"column-rule-edge-inset-start",
|
|
3884
|
+
"column-rule-edge-inset-end",
|
|
3885
|
+
"column-rule-interior-inset-start",
|
|
3886
|
+
"column-rule-interior-inset-end"
|
|
3858
3887
|
],
|
|
3859
3888
|
"name": "rule-inset"
|
|
3860
3889
|
},
|
|
@@ -4096,6 +4125,9 @@ export const generatedProperties = [
|
|
|
4096
4125
|
],
|
|
4097
4126
|
"name": "scrollbar-width"
|
|
4098
4127
|
},
|
|
4128
|
+
{
|
|
4129
|
+
"name": "search"
|
|
4130
|
+
},
|
|
4099
4131
|
{
|
|
4100
4132
|
"name": "shape-image-threshold"
|
|
4101
4133
|
},
|
|
@@ -3351,6 +3351,15 @@ export namespace ProtocolMapping {
|
|
|
3351
3351
|
paramsType: [Protocol.Network.EnableRequest?];
|
|
3352
3352
|
returnType: void;
|
|
3353
3353
|
};
|
|
3354
|
+
/**
|
|
3355
|
+
* Configures storing response bodies outside of renderer, so that these survive
|
|
3356
|
+
* a cross-process navigation.
|
|
3357
|
+
* If maxTotalBufferSize is not set, durable messages are disabled.
|
|
3358
|
+
*/
|
|
3359
|
+
'Network.configureDurableMessages': {
|
|
3360
|
+
paramsType: [Protocol.Network.ConfigureDurableMessagesRequest?];
|
|
3361
|
+
returnType: void;
|
|
3362
|
+
};
|
|
3354
3363
|
/**
|
|
3355
3364
|
* Returns all browser cookies. Depending on the backend support, will return detailed cookie
|
|
3356
3365
|
* information in the `cookies` field.
|
|
@@ -2538,6 +2538,13 @@ declare namespace ProtocolProxyApi {
|
|
|
2538
2538
|
*/
|
|
2539
2539
|
invoke_enable(params: Protocol.Network.EnableRequest): Promise<Protocol.ProtocolResponseWithError>;
|
|
2540
2540
|
|
|
2541
|
+
/**
|
|
2542
|
+
* Configures storing response bodies outside of renderer, so that these survive
|
|
2543
|
+
* a cross-process navigation.
|
|
2544
|
+
* If maxTotalBufferSize is not set, durable messages are disabled.
|
|
2545
|
+
*/
|
|
2546
|
+
invoke_configureDurableMessages(params: Protocol.Network.ConfigureDurableMessagesRequest): Promise<Protocol.ProtocolResponseWithError>;
|
|
2547
|
+
|
|
2541
2548
|
/**
|
|
2542
2549
|
* Returns all browser cookies. Depending on the backend support, will return detailed cookie
|
|
2543
2550
|
* information in the `cookies` field.
|
|
@@ -1194,6 +1194,9 @@ export namespace Audits {
|
|
|
1194
1194
|
FormInputHasWrongButWellIntendedAutocompleteValueError = 'FormInputHasWrongButWellIntendedAutocompleteValueError',
|
|
1195
1195
|
ResponseWasBlockedByORB = 'ResponseWasBlockedByORB',
|
|
1196
1196
|
NavigationEntryMarkedSkippable = 'NavigationEntryMarkedSkippable',
|
|
1197
|
+
AutofillAndManualTextPolicyControlledFeaturesInfo = 'AutofillAndManualTextPolicyControlledFeaturesInfo',
|
|
1198
|
+
AutofillPolicyControlledFeatureInfo = 'AutofillPolicyControlledFeatureInfo',
|
|
1199
|
+
ManualTextPolicyControlledFeatureInfo = 'ManualTextPolicyControlledFeatureInfo',
|
|
1197
1200
|
}
|
|
1198
1201
|
|
|
1199
1202
|
/**
|
|
@@ -2226,7 +2229,9 @@ export namespace Browser {
|
|
|
2226
2229
|
IdleDetection = 'idleDetection',
|
|
2227
2230
|
KeyboardLock = 'keyboardLock',
|
|
2228
2231
|
LocalFonts = 'localFonts',
|
|
2232
|
+
LocalNetwork = 'localNetwork',
|
|
2229
2233
|
LocalNetworkAccess = 'localNetworkAccess',
|
|
2234
|
+
LoopbackNetwork = 'loopbackNetwork',
|
|
2230
2235
|
Midi = 'midi',
|
|
2231
2236
|
MidiSysex = 'midiSysex',
|
|
2232
2237
|
Nfc = 'nfc',
|
|
@@ -11566,11 +11571,24 @@ export namespace Network {
|
|
|
11566
11571
|
/**
|
|
11567
11572
|
* Enable storing response bodies outside of renderer, so that these survive
|
|
11568
11573
|
* a cross-process navigation. Requires maxTotalBufferSize to be set.
|
|
11569
|
-
* Currently defaults to false.
|
|
11574
|
+
* Currently defaults to false. This field is being deprecated in favor of the dedicated
|
|
11575
|
+
* configureDurableMessages command, due to the possibility of deadlocks when awaiting
|
|
11576
|
+
* Network.enable before issuing Runtime.runIfWaitingForDebugger.
|
|
11570
11577
|
*/
|
|
11571
11578
|
enableDurableMessages?: boolean;
|
|
11572
11579
|
}
|
|
11573
11580
|
|
|
11581
|
+
export interface ConfigureDurableMessagesRequest {
|
|
11582
|
+
/**
|
|
11583
|
+
* Buffer size in bytes to use when preserving network payloads (XHRs, etc).
|
|
11584
|
+
*/
|
|
11585
|
+
maxTotalBufferSize?: integer;
|
|
11586
|
+
/**
|
|
11587
|
+
* Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
|
|
11588
|
+
*/
|
|
11589
|
+
maxResourceBufferSize?: integer;
|
|
11590
|
+
}
|
|
11591
|
+
|
|
11574
11592
|
export interface GetAllCookiesResponse extends ProtocolResponseWithError {
|
|
11575
11593
|
/**
|
|
11576
11594
|
* Array of cookie objects.
|
|
@@ -18390,6 +18408,10 @@ export namespace Target {
|
|
|
18390
18408
|
* An array of browser context ids.
|
|
18391
18409
|
*/
|
|
18392
18410
|
browserContextIds: Browser.BrowserContextID[];
|
|
18411
|
+
/**
|
|
18412
|
+
* The id of the default browser context if available.
|
|
18413
|
+
*/
|
|
18414
|
+
defaultBrowserContextId?: Browser.BrowserContextID;
|
|
18393
18415
|
}
|
|
18394
18416
|
|
|
18395
18417
|
export interface CreateTargetRequest {
|
|
@@ -219,7 +219,7 @@ export class NodeContext extends ConversationContext<SDK.DOMModel.DOMNode> {
|
|
|
219
219
|
{title: 'Why does this element scroll?', jslogContext: 'scroll-why'},
|
|
220
220
|
];
|
|
221
221
|
}
|
|
222
|
-
if (layoutProps.
|
|
222
|
+
if (layoutProps.containerType) {
|
|
223
223
|
return [
|
|
224
224
|
{title: 'What are container queries?', jslogContext: 'container-what'},
|
|
225
225
|
{title: 'How do I use container-type?', jslogContext: 'container-how'},
|
|
@@ -13,12 +13,13 @@ import {bytes, millis} from './UnitFormatters.js';
|
|
|
13
13
|
/**
|
|
14
14
|
* For a given frame ID and navigation ID, returns the LCP Event and the LCP Request, if the resource was an image.
|
|
15
15
|
*/
|
|
16
|
-
function getLCPData(
|
|
16
|
+
function getLCPData(
|
|
17
|
+
parsedTrace: Trace.TraceModel.ParsedTrace, frameId: string, navigation: Trace.Types.Events.NavigationStart): {
|
|
17
18
|
lcpEvent: Trace.Types.Events.LargestContentfulPaintCandidate,
|
|
18
19
|
metricScore: Trace.Handlers.ModelHandlers.PageLoadMetrics.LCPMetricScore,
|
|
19
20
|
lcpRequest?: Trace.Types.Events.SyntheticNetworkRequest,
|
|
20
21
|
}|null {
|
|
21
|
-
const navMetrics = parsedTrace.data.PageLoadMetrics.metricScoresByFrameId.get(frameId)?.get(
|
|
22
|
+
const navMetrics = parsedTrace.data.PageLoadMetrics.metricScoresByFrameId.get(frameId)?.get(navigation);
|
|
22
23
|
if (!navMetrics) {
|
|
23
24
|
return null;
|
|
24
25
|
}
|
|
@@ -28,13 +29,16 @@ function getLCPData(parsedTrace: Trace.TraceModel.ParsedTrace, frameId: string,
|
|
|
28
29
|
return null;
|
|
29
30
|
}
|
|
30
31
|
const lcpEvent = metric?.event;
|
|
31
|
-
if (!lcpEvent || !Trace.Types.Events.
|
|
32
|
+
if (!lcpEvent || !Trace.Types.Events.isAnyLargestContentfulPaintCandidate(lcpEvent)) {
|
|
32
33
|
return null;
|
|
33
34
|
}
|
|
34
35
|
|
|
36
|
+
const navigationId = navigation.args.data?.navigationId;
|
|
37
|
+
|
|
35
38
|
return {
|
|
36
39
|
lcpEvent,
|
|
37
|
-
lcpRequest: parsedTrace.data.LargestImagePaint.lcpRequestByNavigationId.get(navigationId)
|
|
40
|
+
lcpRequest: navigationId ? parsedTrace.data.LargestImagePaint.lcpRequestByNavigationId.get(navigationId) :
|
|
41
|
+
undefined,
|
|
38
42
|
metricScore: metric,
|
|
39
43
|
};
|
|
40
44
|
}
|
|
@@ -89,15 +93,15 @@ export class PerformanceInsightFormatter {
|
|
|
89
93
|
* Information about LCP which we pass to the LLM for all insights that relate to LCP.
|
|
90
94
|
*/
|
|
91
95
|
#lcpMetricSharedContext(): string {
|
|
92
|
-
if (!this.#insight.
|
|
96
|
+
if (!this.#insight.navigation) {
|
|
93
97
|
// No navigation ID = no LCP.
|
|
94
98
|
return '';
|
|
95
99
|
}
|
|
96
|
-
if (!this.#insight.frameId || !this.#insight.
|
|
100
|
+
if (!this.#insight.frameId || !this.#insight.navigation) {
|
|
97
101
|
return '';
|
|
98
102
|
}
|
|
99
103
|
|
|
100
|
-
const data = getLCPData(this.#parsedTrace, this.#insight.frameId, this.#insight.
|
|
104
|
+
const data = getLCPData(this.#parsedTrace, this.#insight.frameId, this.#insight.navigation);
|
|
101
105
|
if (!data) {
|
|
102
106
|
return '';
|
|
103
107
|
}
|
package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt
CHANGED
|
@@ -534,7 +534,7 @@ Metrics (lab / observed):
|
|
|
534
534
|
- Load delay: 90 ms, bounds: {min: 157423704371, max: 157423794709}
|
|
535
535
|
- Load duration: 64 ms, bounds: {min: 157423794709, max: 157423858674}
|
|
536
536
|
- Render delay: 94 ms, bounds: {min: 157423858674, max: 157423953162}
|
|
537
|
-
- CLS: 0.04, event: (eventKey: s
|
|
537
|
+
- CLS: 0.04, event: (eventKey: s-166266, ts: 157425604232)
|
|
538
538
|
Metrics (field / real users): n/a – no data for this page in CrUX
|
|
539
539
|
Available insights:
|
|
540
540
|
- insight name: LCPBreakdown
|
|
@@ -665,7 +665,7 @@ Metrics (lab / observed):
|
|
|
665
665
|
- Load delay: 46 ms, bounds: {min: 59728656735, max: 59728702313}
|
|
666
666
|
- Load duration: 506 ms, bounds: {min: 59728702313, max: 59729208600}
|
|
667
667
|
- Render delay: 104 ms, bounds: {min: 59729208600, max: 59729312744}
|
|
668
|
-
- CLS: 0.31, event: (eventKey: s
|
|
668
|
+
- CLS: 0.31, event: (eventKey: s-14787, ts: 59729100192)
|
|
669
669
|
Metrics (field / real users): n/a – no data for this page in CrUX
|
|
670
670
|
Available insights:
|
|
671
671
|
- insight name: Cache
|
|
@@ -738,7 +738,7 @@ Metrics (lab / observed):
|
|
|
738
738
|
- Load delay: 46 ms, bounds: {min: 59728656735, max: 59728702313}
|
|
739
739
|
- Load duration: 506 ms, bounds: {min: 59728702313, max: 59729208600}
|
|
740
740
|
- Render delay: 104 ms, bounds: {min: 59729208600, max: 59729312744}
|
|
741
|
-
- CLS: 0.31, event: (eventKey: s
|
|
741
|
+
- CLS: 0.31, event: (eventKey: s-14787, ts: 59729100192)
|
|
742
742
|
Metrics (field / real users):
|
|
743
743
|
- LCP: 1740 ms (scope: url)
|
|
744
744
|
- INP: 185 ms (scope: url)
|
|
@@ -281,6 +281,7 @@ export class CompilerScriptMapping implements DebuggerSourceMapping {
|
|
|
281
281
|
if (!sourceMap) {
|
|
282
282
|
return null;
|
|
283
283
|
}
|
|
284
|
+
await sourceMap.waitForScopeInfo();
|
|
284
285
|
|
|
285
286
|
const {lineNumber, columnNumber} = script.rawLocationToRelativeLocation(rawLocation);
|
|
286
287
|
const {url, scope} = sourceMap.findOriginalFunctionScope({line: lineNumber, column: columnNumber}) ?? {};
|
|
@@ -313,17 +314,16 @@ export class CompilerScriptMapping implements DebuggerSourceMapping {
|
|
|
313
314
|
return new Workspace.UISourceCode.UIFunctionBounds(uiSourceCode, range, name);
|
|
314
315
|
}
|
|
315
316
|
|
|
316
|
-
translateRawFramesStep(
|
|
317
|
+
async translateRawFramesStep(
|
|
317
318
|
rawFrames: StackTraceImpl.Trie.RawFrame[],
|
|
318
|
-
translatedFrames: Awaited<ReturnType<StackTraceImpl.StackTraceModel.TranslateRawFrames>>): boolean {
|
|
319
|
+
translatedFrames: Awaited<ReturnType<StackTraceImpl.StackTraceModel.TranslateRawFrames>>): Promise<boolean> {
|
|
319
320
|
const frame = rawFrames[0];
|
|
320
321
|
if (StackTraceImpl.Trie.isBuiltinFrame(frame)) {
|
|
321
322
|
return false;
|
|
322
323
|
}
|
|
323
324
|
|
|
324
|
-
const sourceMapWithScopeInfoForFrame =
|
|
325
|
-
|
|
326
|
-
null => {
|
|
325
|
+
const sourceMapWithScopeInfoForFrame = async(rawFrame: StackTraceImpl.Trie.RawFrame):
|
|
326
|
+
Promise<{sourceMap: SDK.SourceMap.SourceMap, script: SDK.Script.Script}|null> => {
|
|
327
327
|
const script = this.#debuggerModel.scriptForId(rawFrame.scriptId ?? '');
|
|
328
328
|
if (!script || this.#stubUISourceCodes.has(script)) {
|
|
329
329
|
// Use fallback while source map is being loaded.
|
|
@@ -331,10 +331,11 @@ export class CompilerScriptMapping implements DebuggerSourceMapping {
|
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
const sourceMap = script.sourceMap();
|
|
334
|
+
await sourceMap?.waitForScopeInfo();
|
|
334
335
|
return sourceMap?.hasScopeInfo() ? {sourceMap, script} : null;
|
|
335
336
|
};
|
|
336
337
|
|
|
337
|
-
const sourceMapAndScript = sourceMapWithScopeInfoForFrame(frame);
|
|
338
|
+
const sourceMapAndScript = await sourceMapWithScopeInfoForFrame(frame);
|
|
338
339
|
if (!sourceMapAndScript) {
|
|
339
340
|
return false;
|
|
340
341
|
}
|
|
@@ -496,7 +496,7 @@ export class DebuggerWorkspaceBinding implements SDK.TargetManager.SDKModelObser
|
|
|
496
496
|
const modelData =
|
|
497
497
|
this.#debuggerModelToData.get(target.model(SDK.DebuggerModel.DebuggerModel) as SDK.DebuggerModel.DebuggerModel);
|
|
498
498
|
if (modelData) {
|
|
499
|
-
modelData.translateRawFramesStep(rawFrames, translatedFrames);
|
|
499
|
+
await modelData.translateRawFramesStep(rawFrames, translatedFrames);
|
|
500
500
|
return;
|
|
501
501
|
}
|
|
502
502
|
|
|
@@ -609,10 +609,10 @@ class ModelData {
|
|
|
609
609
|
return scope;
|
|
610
610
|
}
|
|
611
611
|
|
|
612
|
-
translateRawFramesStep(
|
|
612
|
+
async translateRawFramesStep(
|
|
613
613
|
rawFrames: StackTraceImpl.Trie.RawFrame[],
|
|
614
|
-
translatedFrames: Awaited<ReturnType<StackTraceImpl.StackTraceModel.TranslateRawFrames>>): void {
|
|
615
|
-
if (!this.compilerMapping.translateRawFramesStep(rawFrames, translatedFrames)) {
|
|
614
|
+
translatedFrames: Awaited<ReturnType<StackTraceImpl.StackTraceModel.TranslateRawFrames>>): Promise<void> {
|
|
615
|
+
if (!await this.compilerMapping.translateRawFramesStep(rawFrames, translatedFrames)) {
|
|
616
616
|
this.#defaultTranslateRawFramesStep(rawFrames, translatedFrames);
|
|
617
617
|
}
|
|
618
618
|
}
|
|
@@ -8896,11 +8896,11 @@ export const NativeFunctions = [
|
|
|
8896
8896
|
},
|
|
8897
8897
|
{
|
|
8898
8898
|
name: "texElementImage2D",
|
|
8899
|
-
signatures: [["target","level","internalformat","format","type","element"],["target","level","internalformat","width","height","format","type","element"]]
|
|
8899
|
+
signatures: [["target","level","internalformat","format","type","element"],["target","level","internalformat","width","height","format","type","element"],["target","level","internalformat","sx","sy","swidth","sheight","format","type","element"],["target","level","internalformat","sx","sy","swidth","sheight","width","height","format","type","element"]]
|
|
8900
8900
|
},
|
|
8901
8901
|
{
|
|
8902
8902
|
name: "texElement2D",
|
|
8903
|
-
signatures: [["target","level","internalformat","format","type","element"],["target","level","internalformat","width","height","format","type","element"]]
|
|
8903
|
+
signatures: [["target","level","internalformat","format","type","element"],["target","level","internalformat","width","height","format","type","element"],["target","level","internalformat","sx","sy","swidth","sheight","format","type","element"],["target","level","internalformat","sx","sy","swidth","sheight","width","height","format","type","element"]]
|
|
8904
8904
|
},
|
|
8905
8905
|
{
|
|
8906
8906
|
name: "drawingBufferStorage",
|
|
@@ -105,9 +105,11 @@ export class DebuggableFragmentImpl implements StackTrace.StackTrace.DebuggableF
|
|
|
105
105
|
|
|
106
106
|
let index = 0;
|
|
107
107
|
for (const node of this.fragment.node.getCallStack()) {
|
|
108
|
-
for (const frame of node.frames) {
|
|
109
|
-
//
|
|
110
|
-
|
|
108
|
+
for (const [inlineIdx, frame] of node.frames.entries()) {
|
|
109
|
+
// Create virtual frames for inlined frames.
|
|
110
|
+
const sdkFrame = inlineIdx === 0 ? this.callFrames[index] :
|
|
111
|
+
this.callFrames[index].createVirtualCallFrame(inlineIdx, frame.name ?? '');
|
|
112
|
+
frames.push(new DebuggableFrameImpl(frame, sdkFrame));
|
|
111
113
|
}
|
|
112
114
|
index++;
|
|
113
115
|
}
|