chrome-devtools-frontend 1.0.1386602 → 1.0.1402249
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/.git-blame-ignore-revs +3 -0
- package/.stylelintrc.json +1 -3
- package/AUTHORS +3 -1
- package/config/gni/devtools_grd_files.gni +38 -31
- package/config/gni/devtools_image_files.gni +4 -1
- package/docs/README.md +1 -0
- package/docs/contributing/issues.md +1 -1
- package/docs/policy/README.md +1 -0
- package/docs/policy/gar-page-zoom-policy.md +43 -0
- package/docs/policy/images/devtools-gar-testing.png +0 -0
- package/docs/policy/images/docked-devtools.webp +0 -0
- package/docs/policy/images/undocked-devtools.png +0 -0
- package/docs/styleguide/ux/components.md +98 -22
- package/docs/styleguide/ux/images/radio-buttons-variations.png +0 -0
- package/docs/styleguide/ux/images/sliders-variations.png +0 -0
- package/docs/styleguide/ux/styles.md +29 -7
- package/eslint.config.mjs +725 -0
- package/extensions/cxx_debugging/src/CreditsItem.ts +1 -1
- package/extensions/cxx_debugging/src/ExtensionOptions.ts +4 -4
- package/extensions/cxx_debugging/src/ModuleConfigurationList.ts +1 -1
- package/extensions/cxx_debugging/src/rollup.config.in.js +1 -3
- package/extensions/cxx_debugging/tests/Formatters_test.ts +2 -1
- package/front_end/Images/rollup.config.mjs +1 -1
- package/front_end/Images/src/compress.svg +8 -0
- package/front_end/Images/src/devtools-thumbnail.svg +57 -0
- package/front_end/Images/src/devtools-tips.svg +61 -0
- package/front_end/Images/src/whatsnew.svg +61 -0
- package/front_end/Tests.js +27 -33
- package/front_end/core/common/CharacterIdMap.test.ts +1 -1
- package/front_end/core/common/ColorUtils.test.ts +2 -2
- package/front_end/core/common/Console.test.ts +7 -7
- package/front_end/core/common/Lazy.test.ts +12 -14
- package/front_end/core/common/MapWithDefault.test.ts +61 -0
- package/front_end/core/common/MapWithDefault.ts +24 -0
- package/front_end/core/common/ParsedURL.test.ts +5 -5
- package/front_end/core/common/Progress.test.ts +7 -7
- package/front_end/core/common/ResolverBase.test.ts +2 -2
- package/front_end/core/common/ResourceType.test.ts +3 -3
- package/front_end/core/common/SettingRegistration.test.ts +2 -4
- package/front_end/core/common/SettingRegistration.ts +1 -1
- package/front_end/core/common/Settings.ts +7 -7
- package/front_end/core/common/common.ts +4 -3
- package/front_end/core/dom_extension/DOMExtension.test.ts +4 -2
- package/front_end/core/dom_extension/DOMExtension.ts +5 -4
- package/front_end/core/host/AidaClient.test.ts +92 -38
- package/front_end/core/host/AidaClient.ts +131 -28
- package/front_end/core/host/InspectorFrontendHost.ts +15 -5
- package/front_end/core/host/InspectorFrontendHostAPI.ts +1 -4
- package/front_end/core/host/UserMetrics.ts +27 -61
- package/front_end/core/i18n/i18n.test.ts +45 -0
- package/front_end/core/i18n/time-utilities.ts +17 -0
- package/front_end/core/platform/ArrayUtilities.test.ts +7 -8
- package/front_end/core/platform/MapUtilities.ts +1 -1
- package/front_end/core/platform/StringUtilities.test.ts +1 -1
- package/front_end/core/platform/TypedArrayUtilities.test.ts +6 -6
- package/front_end/core/root/Runtime.test.ts +5 -3
- package/front_end/core/root/Runtime.ts +21 -3
- package/front_end/core/sdk/AnimationModel.test.ts +4 -4
- package/front_end/core/sdk/AutofillModel.test.ts +1 -1
- package/front_end/core/sdk/CSSMatchedStyles.test.ts +44 -45
- package/front_end/core/sdk/CSSModel.test.ts +1 -1
- package/front_end/core/sdk/CSSStyleDeclaration.test.ts +7 -7
- package/front_end/core/sdk/ChildTargetManager.test.ts +10 -10
- package/front_end/core/sdk/Connections.ts +5 -0
- package/front_end/core/sdk/Cookie.test.ts +37 -37
- package/front_end/core/sdk/CookieModel.test.ts +5 -5
- package/front_end/core/sdk/DOMModel.ts +5 -0
- package/front_end/core/sdk/DebuggerModel.test.ts +2 -2
- package/front_end/core/sdk/EnhancedTracesParser.test.ts +7 -7
- package/front_end/core/sdk/EnhancedTracesParser.ts +3 -1
- package/front_end/core/sdk/FrameManager.test.ts +4 -4
- package/front_end/core/sdk/NetworkManager.test.ts +3 -3
- package/front_end/core/sdk/NetworkManager.ts +1 -1
- package/front_end/core/sdk/NetworkRequest.test.ts +5 -5
- package/front_end/core/sdk/PreloadingModel.test.ts +226 -10
- package/front_end/core/sdk/PreloadingModel.ts +184 -15
- package/front_end/core/sdk/RehydratingConnection.test.ts +3 -3
- package/front_end/core/sdk/RehydratingConnection.ts +49 -7
- package/front_end/core/sdk/RemoteObject.test.ts +60 -60
- package/front_end/core/sdk/ResourceTreeModel.test.ts +5 -5
- package/front_end/core/sdk/ServiceWorkerManager.test.ts +3 -3
- package/front_end/core/sdk/SourceMap.test.ts +30 -30
- package/front_end/core/sdk/SourceMapScopesInfo.test.ts +84 -0
- package/front_end/core/sdk/SourceMapScopesInfo.ts +63 -1
- package/front_end/core/sdk/TraceObject.test.ts +1 -1
- package/front_end/core/sdk/sdk-meta.ts +0 -27
- package/front_end/devtools_compatibility.js +1 -4
- package/front_end/entrypoints/formatter_worker/FormattedContentBuilder.test.ts +1 -1
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +1 -1
- package/front_end/entrypoints/inspector_main/InspectorMain.ts +1 -2
- package/front_end/entrypoints/inspector_main/OutermostTargetSelector.ts +1 -2
- package/front_end/entrypoints/inspector_main/RenderingOptions.ts +2 -2
- package/front_end/entrypoints/inspector_main/nodeIcon.css +1 -0
- package/front_end/entrypoints/main/MainImpl.ts +40 -22
- package/front_end/entrypoints/node_app/NodeConnectionsPanel.ts +1 -1
- package/front_end/entrypoints/node_app/NodeMain.ts +6 -0
- package/front_end/entrypoints/node_app/node_app.ts +2 -2
- package/front_end/entrypoints/shell/shell.ts +1 -1
- package/front_end/generated/ARIAProperties.js +1 -1
- package/front_end/generated/Deprecation.ts +8 -16
- package/front_end/generated/InspectorBackendCommands.js +22 -13
- package/front_end/generated/SupportedCSSProperties.js +51 -36
- package/front_end/generated/protocol-mapping.d.ts +25 -0
- package/front_end/generated/protocol-proxy-api.d.ts +19 -0
- package/front_end/generated/protocol.ts +184 -11
- package/front_end/legacy/legacy-defs.d.ts +4 -6
- package/front_end/models/autofill_manager/AutofillManager.test.ts +1 -1
- package/front_end/models/bindings/DebuggerLanguagePlugins.test.ts +3 -3
- package/front_end/models/bindings/DefaultScriptMapping.test.ts +3 -3
- package/front_end/models/bindings/FileUtils.test.ts +2 -2
- package/front_end/models/bindings/IgnoreListManager.ts +3 -3
- package/front_end/models/breakpoints/BreakpointManager.test.ts +24 -23
- package/front_end/models/crux-manager/CrUXManager.test.ts +77 -16
- package/front_end/models/crux-manager/CrUXManager.ts +57 -6
- package/front_end/models/emulation/DeviceModeModel.ts +15 -0
- package/front_end/models/emulation/EmulatedDevices.test.ts +20 -0
- package/front_end/models/emulation/EmulatedDevices.ts +22 -18
- package/front_end/models/extensions/ExtensionAPI.ts +1 -1
- package/front_end/models/extensions/ExtensionServer.test.ts +121 -40
- package/front_end/models/extensions/ExtensionServer.ts +6 -2
- package/front_end/models/extensions/LanguageExtensionEndpoint.test.ts +59 -0
- package/front_end/models/extensions/LanguageExtensionEndpoint.ts +25 -6
- package/front_end/models/extensions/RecorderPluginManager.test.ts +1 -1
- package/front_end/models/extensions/extensions.ts +4 -0
- package/front_end/models/formatter/FormatterWorkerPool.ts +2 -1
- package/front_end/models/har/Importer.test.ts +4 -4
- package/front_end/models/har/Log.test.ts +1 -1
- package/front_end/models/issues_manager/CookieIssue.ts +4 -3
- package/front_end/models/issues_manager/DeprecationIssue.test.ts +3 -3
- package/front_end/models/issues_manager/DeprecationIssue.ts +1 -1
- package/front_end/models/issues_manager/FederatedAuthUserInfoRequestIssue.test.ts +1 -1
- package/front_end/models/issues_manager/GenericIssue.test.ts +2 -2
- package/front_end/models/issues_manager/IssueResolver.test.ts +2 -2
- package/front_end/models/issues_manager/IssuesManager.test.ts +19 -19
- package/front_end/models/issues_manager/LowTextContrastIssue.test.ts +2 -2
- package/front_end/models/issues_manager/PropertyRuleIssue.test.ts +1 -1
- package/front_end/models/issues_manager/RelatedIssue.test.ts +7 -7
- package/front_end/models/issues_manager/SharedDictionaryIssue.test.ts +1 -1
- package/front_end/models/issues_manager/StylesheetLoadingIssue.test.ts +7 -7
- package/front_end/models/javascript_metadata/JavaScriptMetadata.test.ts +6 -6
- package/front_end/models/javascript_metadata/NativeFunctions.js +81 -69
- package/front_end/models/live-metrics/LiveMetrics.ts +92 -44
- package/front_end/models/live-metrics/web-vitals-injected/web-vitals-injected.ts +3 -3
- package/front_end/models/logs/NetworkLog.test.ts +3 -3
- package/front_end/models/logs/RequestResolver.test.ts +2 -2
- package/front_end/models/persistence/EditFileSystemView.ts +1 -1
- package/front_end/models/persistence/NetworkPersistenceManager.test.ts +2 -2
- package/front_end/models/persistence/WorkspaceSettingsTab.ts +2 -1
- package/front_end/models/persistence/editFileSystemView.css +13 -8
- package/front_end/models/text_utils/Text.test.ts +1 -1
- package/front_end/models/text_utils/TextRange.test.ts +2 -4
- package/front_end/models/text_utils/TextUtils.test.ts +29 -30
- package/front_end/models/trace/ModelImpl.test.ts +2 -2
- package/front_end/models/trace/ModelImpl.ts +1 -0
- package/front_end/models/trace/Processor.test.ts +75 -12
- package/front_end/models/trace/Processor.ts +108 -9
- package/front_end/models/trace/extras/Metadata.test.ts +3 -0
- package/front_end/models/trace/extras/Metadata.ts +4 -1
- package/front_end/models/trace/extras/StackTraceForEvent.test.ts +259 -0
- package/front_end/models/trace/extras/StackTraceForEvent.ts +173 -0
- package/front_end/models/trace/extras/ThirdParties.test.ts +0 -27
- package/front_end/models/trace/extras/ThirdParties.ts +3 -76
- package/front_end/models/trace/extras/extras.ts +1 -1
- package/front_end/models/trace/handlers/AnimationFramesHandler.test.ts +40 -0
- package/front_end/models/trace/handlers/AnimationFramesHandler.ts +119 -0
- package/front_end/models/trace/handlers/AsyncJSCallsHandler.test.ts +211 -0
- package/front_end/models/trace/handlers/AsyncJSCallsHandler.ts +185 -0
- package/front_end/models/trace/handlers/ExtensionTraceDataHandler.test.ts +7 -7
- package/front_end/models/trace/handlers/ExtensionTraceDataHandler.ts +2 -2
- package/front_end/models/trace/handlers/FlowsHandler.test.ts +185 -0
- package/front_end/models/trace/handlers/FlowsHandler.ts +176 -0
- package/front_end/models/trace/handlers/InitiatorsHandler.test.ts +56 -49
- package/front_end/models/trace/handlers/InitiatorsHandler.ts +37 -25
- package/front_end/models/trace/handlers/LargestImagePaintHandler.test.ts +19 -1
- package/front_end/models/trace/handlers/LargestImagePaintHandler.ts +18 -6
- package/front_end/models/trace/handlers/LayoutShiftsHandler.test.ts +8 -8
- package/front_end/models/trace/handlers/MetaHandler.test.ts +10 -10
- package/front_end/models/trace/handlers/ModelHandlers.ts +3 -0
- package/front_end/models/trace/handlers/NetworkRequestsHandler.test.ts +116 -10
- package/front_end/models/trace/handlers/NetworkRequestsHandler.ts +23 -1
- package/front_end/models/trace/handlers/PageLoadMetricsHandler.test.ts +2 -2
- package/front_end/models/trace/handlers/PageLoadMetricsHandler.ts +2 -0
- package/front_end/models/trace/handlers/RendererHandler.test.ts +25 -6
- package/front_end/models/trace/handlers/RendererHandler.ts +39 -1
- package/front_end/models/trace/handlers/SamplesHandler.test.ts +1 -1
- package/front_end/models/trace/handlers/ScreenshotsHandler.test.ts +3 -3
- package/front_end/models/trace/handlers/Threads.test.ts +1 -1
- package/front_end/models/trace/handlers/UserInteractionsHandler.test.ts +3 -3
- package/front_end/models/trace/handlers/handlers.ts +1 -0
- package/front_end/models/trace/{extras/URLForEntry.test.ts → handlers/helpers.test.ts} +34 -7
- package/front_end/models/trace/handlers/helpers.ts +159 -0
- package/front_end/models/trace/helpers/SamplesIntegrator.test.ts +13 -13
- package/front_end/models/trace/helpers/Trace.test.ts +2 -2
- package/front_end/models/trace/helpers/Trace.ts +65 -16
- package/front_end/models/trace/helpers/TreeHelpers.test.ts +5 -5
- package/front_end/models/trace/helpers/TreeHelpers.ts +1 -1
- package/front_end/models/trace/insights/CLSCulprits.test.ts +9 -19
- package/front_end/models/trace/insights/CLSCulprits.ts +9 -2
- package/front_end/models/trace/insights/Common.test.ts +52 -0
- package/front_end/models/trace/insights/Common.ts +118 -1
- package/front_end/models/trace/insights/DOMSize.test.ts +31 -0
- package/front_end/models/trace/insights/DOMSize.ts +121 -0
- package/front_end/models/trace/insights/DocumentLatency.test.ts +6 -10
- package/front_end/models/trace/insights/FontDisplay.test.ts +3 -13
- package/front_end/models/trace/insights/ImageDelivery.test.ts +23 -18
- package/front_end/models/trace/insights/ImageDelivery.ts +99 -11
- package/front_end/models/trace/insights/InteractionToNextPaint.test.ts +1 -11
- package/front_end/models/trace/insights/LCPDiscovery.test.ts +4 -14
- package/front_end/models/trace/insights/LCPPhases.test.ts +4 -14
- package/front_end/models/trace/insights/Models.ts +1 -0
- package/front_end/models/trace/insights/RenderBlocking.test.ts +14 -25
- package/front_end/models/trace/insights/SlowCSSSelector.test.ts +5 -15
- package/front_end/models/trace/insights/Statistics.test.ts +145 -0
- package/front_end/models/trace/insights/Statistics.ts +93 -0
- package/front_end/models/trace/insights/ThirdParties.test.ts +1 -11
- package/front_end/models/trace/insights/ThirdParties.ts +2 -2
- package/front_end/models/trace/insights/Viewport.test.ts +8 -13
- package/front_end/models/trace/insights/Viewport.ts +2 -2
- package/front_end/models/trace/insights/insights.ts +1 -0
- package/front_end/models/trace/insights/types.ts +3 -1
- package/front_end/models/trace/lantern/core/NetworkAnalyzer.test.ts +21 -21
- package/front_end/models/trace/lantern/core/NetworkAnalyzer.ts +1 -1
- package/front_end/models/trace/lantern/graph/BaseNode.test.ts +24 -24
- package/front_end/models/trace/lantern/graph/PageDependencyGraph.test.ts +26 -26
- package/front_end/models/trace/lantern/metrics/FirstContentfulPaint.test.ts +3 -3
- package/front_end/models/trace/lantern/metrics/Interactive.test.ts +6 -6
- package/front_end/models/trace/lantern/metrics/LargestContentfulPaint.test.ts +3 -3
- package/front_end/models/trace/lantern/metrics/SpeedIndex.test.ts +3 -3
- package/front_end/models/trace/lantern/metrics/TBTUtils.test.ts +1 -1
- package/front_end/models/trace/lantern/simulation/ConnectionPool.test.ts +22 -22
- package/front_end/models/trace/lantern/simulation/Simulator.test.ts +1 -1
- package/front_end/models/trace/lantern/simulation/TCPConnection.test.ts +1 -1
- package/front_end/models/trace/root-causes/LayoutShift.test.ts +15 -15
- package/front_end/models/trace/types/Extensions.ts +4 -3
- package/front_end/models/trace/types/File.ts +3 -1
- package/front_end/models/trace/types/TraceEvents.ts +99 -11
- package/front_end/models/workspace/UISourceCode.test.ts +1 -1
- package/front_end/models/workspace/WorkspaceImpl.test.ts +6 -6
- package/front_end/panels/accessibility/AccessibilitySubPane.ts +1 -1
- package/front_end/panels/accessibility/accessibilityNode.css +2 -2
- package/front_end/panels/accessibility/axBreadcrumbs.css +1 -1
- package/front_end/panels/{freestyler/FreestylerPanel.test.ts → ai_assistance/AiAssistancePanel.test.ts} +155 -121
- package/front_end/panels/{freestyler/FreestylerPanel.ts → ai_assistance/AiAssistancePanel.ts} +204 -152
- package/front_end/panels/{freestyler → ai_assistance}/AiHistoryStorage.test.ts +53 -30
- package/front_end/panels/{freestyler → ai_assistance}/AiHistoryStorage.ts +8 -10
- package/front_end/panels/{freestyler → ai_assistance}/ChangeManager.test.ts +6 -6
- package/front_end/panels/{freestyler → ai_assistance}/ChangeManager.ts +2 -2
- package/front_end/panels/{freestyler/FreestylerEvaluateAction.test.ts → ai_assistance/EvaluateAction.test.ts} +37 -35
- package/front_end/panels/{freestyler/FreestylerEvaluateAction.ts → ai_assistance/EvaluateAction.ts} +10 -5
- package/front_end/panels/{freestyler → ai_assistance/agents}/AiAgent.test.ts +110 -75
- package/front_end/panels/{freestyler → ai_assistance/agents}/AiAgent.ts +152 -115
- package/front_end/panels/{freestyler/DrJonesFileAgent.test.ts → ai_assistance/agents/FileAgent.test.ts} +183 -83
- package/front_end/panels/{freestyler/DrJonesFileAgent.ts → ai_assistance/agents/FileAgent.ts} +30 -24
- package/front_end/panels/{freestyler/DrJonesNetworkAgent.test.ts → ai_assistance/agents/NetworkAgent.test.ts} +36 -37
- package/front_end/panels/{freestyler/DrJonesNetworkAgent.ts → ai_assistance/agents/NetworkAgent.ts} +14 -21
- package/front_end/panels/ai_assistance/agents/PatchAgent.ts +405 -0
- package/front_end/panels/{freestyler/DrJonesPerformanceAgent.test.ts → ai_assistance/agents/PerformanceAgent.test.ts} +27 -28
- package/front_end/panels/{freestyler/DrJonesPerformanceAgent.ts → ai_assistance/agents/PerformanceAgent.ts} +8 -15
- package/front_end/panels/{freestyler/FreestylerAgent.test.ts → ai_assistance/agents/StylingAgent.test.ts} +285 -233
- package/front_end/panels/{freestyler/FreestylerAgent.ts → ai_assistance/agents/StylingAgent.ts} +76 -59
- package/front_end/panels/{freestyler/freestylerPanel.css → ai_assistance/aiAssistancePanel.css} +2 -2
- package/front_end/panels/{freestyler/freestyler-meta.ts → ai_assistance/ai_assistance-meta.ts} +71 -45
- package/front_end/panels/ai_assistance/ai_assistance.ts +16 -0
- package/front_end/panels/{freestyler/components/FreestylerChatUi.test.ts → ai_assistance/components/ChatView.test.ts} +21 -24
- package/front_end/panels/{freestyler/components/FreestylerChatUi.ts → ai_assistance/components/ChatView.ts} +138 -47
- package/front_end/panels/{freestyler → ai_assistance}/components/UserActionRow.test.ts +1 -1
- package/front_end/panels/{freestyler → ai_assistance}/components/UserActionRow.ts +19 -15
- package/front_end/panels/{freestyler/components/freestylerChatUi.css → ai_assistance/components/chatView.css} +58 -3
- package/front_end/panels/animation/AnimationTimeline.ts +3 -3
- package/front_end/panels/animation/AnimationUI.ts +1 -1
- package/front_end/panels/animation/animationTimeline.css +7 -10
- package/front_end/panels/application/AppManifestView.test.ts +7 -7
- package/front_end/panels/application/AppManifestView.ts +1 -1
- package/front_end/panels/application/ApplicationPanelSidebar.test.ts +8 -11
- package/front_end/panels/application/BackgroundServiceView.ts +1 -1
- package/front_end/panels/application/DOMStorageModel.test.ts +1 -1
- package/front_end/panels/application/ExtensionStorageItemsView.test.ts +3 -5
- package/front_end/panels/application/ExtensionStorageModel.test.ts +5 -5
- package/front_end/panels/application/IndexedDBViews.test.ts +6 -8
- package/front_end/panels/application/InterestGroupTreeElement.test.ts +1 -1
- package/front_end/panels/application/ServiceWorkerUpdateCycleView.test.ts +9 -10
- package/front_end/panels/application/ServiceWorkerUpdateCycleView.ts +2 -2
- package/front_end/panels/application/ServiceWorkersView.ts +0 -1
- package/front_end/panels/application/SharedStorageItemsView.test.ts +13 -15
- package/front_end/panels/application/SharedStorageModel.test.ts +1 -1
- package/front_end/panels/application/SharedStorageTreeElement.test.ts +2 -4
- package/front_end/panels/application/StorageView.test.ts +2 -4
- package/front_end/panels/application/StorageView.ts +5 -5
- package/front_end/panels/application/components/BackForwardCacheView.test.ts +10 -12
- package/front_end/panels/application/components/BackForwardCacheView.ts +2 -4
- package/front_end/panels/application/components/BounceTrackingMitigationsView.test.ts +11 -13
- package/front_end/panels/application/components/EndpointsGrid.test.ts +4 -6
- package/front_end/panels/application/components/FrameDetailsView.test.ts +3 -5
- package/front_end/panels/application/components/FrameDetailsView.ts +2 -4
- package/front_end/panels/application/components/InterestGroupAccessGrid.test.ts +2 -4
- package/front_end/panels/application/components/OriginTrialTreeView.test.ts +2 -4
- package/front_end/panels/application/components/PermissionsPolicySection.ts +2 -4
- package/front_end/panels/application/components/ProtocolHandlersView.ts +1 -1
- package/front_end/panels/application/components/ReportsGrid.test.ts +2 -4
- package/front_end/panels/application/components/ServiceWorkerRouterView.test.ts +3 -5
- package/front_end/panels/application/components/SharedStorageAccessGrid.test.ts +2 -4
- package/front_end/panels/application/components/SharedStorageMetadataView.test.ts +5 -7
- package/front_end/panels/application/components/StorageMetadataView.test.ts +3 -5
- package/front_end/panels/application/components/StorageMetadataView.ts +2 -3
- package/front_end/panels/application/components/TrustTokensView.test.ts +2 -4
- package/front_end/panels/application/components/TrustTokensView.ts +1 -3
- package/front_end/panels/application/preloading/PreloadingView.test.ts +42 -27
- package/front_end/panels/application/preloading/PreloadingView.ts +12 -9
- package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.test.ts +2 -4
- package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.test.ts +115 -25
- package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.ts +51 -26
- package/front_end/panels/application/preloading/components/PreloadingDisabledInfobar.ts +10 -20
- package/front_end/panels/application/preloading/components/PreloadingGrid.test.ts +169 -17
- package/front_end/panels/application/preloading/components/PreloadingGrid.ts +73 -50
- package/front_end/panels/application/preloading/components/PreloadingMismatchedHeadersGrid.test.ts +3 -4
- package/front_end/panels/application/preloading/components/RuleSetDetailsView.test.ts +7 -15
- package/front_end/panels/application/preloading/components/RuleSetDetailsView.ts +4 -5
- package/front_end/panels/application/preloading/components/RuleSetGrid.test.ts +2 -4
- package/front_end/panels/application/preloading/components/UsedPreloadingView.test.ts +57 -37
- package/front_end/panels/application/preloading/components/UsedPreloadingView.ts +2 -4
- package/front_end/panels/application/preloading/components/preloadingDisabledInfobar.css +4 -17
- package/front_end/panels/application/resourcesPanel.css +1 -2
- package/front_end/panels/application/serviceWorkersView.css +0 -5
- package/front_end/panels/autofill/AutofillView.test.ts +12 -14
- package/front_end/panels/browser_debugger/XHRBreakpointsSidebarPane.ts +2 -2
- package/front_end/panels/console/ConsoleContextSelector.ts +1 -2
- package/front_end/panels/console/ConsolePinPane.ts +3 -4
- package/front_end/panels/console/ConsoleSidebar.ts +1 -1
- package/front_end/panels/console/ConsoleView.test.ts +2 -2
- package/front_end/panels/console/ConsoleView.ts +5 -4
- package/front_end/panels/console/ConsoleViewMessage.test.ts +76 -9
- package/front_end/panels/console/ConsoleViewMessage.ts +11 -6
- package/front_end/panels/console/ConsoleViewport.ts +2 -2
- package/front_end/panels/console/ErrorStackParser.test.ts +31 -11
- package/front_end/panels/console/ErrorStackParser.ts +10 -2
- package/front_end/panels/console/consolePinPane.css +1 -1
- package/front_end/panels/console/consoleView.css +11 -5
- package/front_end/panels/coverage/CoverageView.test.ts +4 -6
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +3 -2
- package/front_end/panels/css_overview/CSSOverviewSidebarPanel.ts +1 -2
- package/front_end/panels/css_overview/cssOverviewCompletedView.css +3 -2
- package/front_end/panels/developer_resources/DeveloperResourcesListView.ts +4 -0
- package/front_end/panels/developer_resources/DeveloperResourcesView.ts +17 -0
- package/front_end/panels/elements/CSSRuleValidator.ts +4 -10
- package/front_end/panels/elements/ClassesPaneWidget.ts +2 -2
- package/front_end/panels/elements/ComputedStyleModel.test.ts +157 -0
- package/front_end/panels/elements/ComputedStyleModel.ts +79 -17
- package/front_end/panels/elements/ComputedStyleWidget.ts +7 -13
- package/front_end/panels/elements/DOMLinkifier.ts +18 -17
- package/front_end/panels/elements/ElementStatePaneWidget.test.ts +1 -1
- package/front_end/panels/elements/ElementStatePaneWidget.ts +2 -1
- package/front_end/panels/elements/ElementsPanel.ts +22 -25
- package/front_end/panels/elements/ElementsSidebarPane.ts +5 -5
- package/front_end/panels/elements/ElementsTreeElement.ts +2 -2
- package/front_end/panels/elements/ElementsTreeOutline.ts +2 -9
- package/front_end/panels/elements/MetricsSidebarPane.ts +3 -2
- package/front_end/panels/elements/PlatformFontsWidget.ts +1 -0
- package/front_end/panels/elements/PropertyMatchers.test.ts +33 -34
- package/front_end/panels/elements/PropertyRenderer.test.ts +5 -5
- package/front_end/panels/elements/StylePropertiesSection.test.ts +9 -4
- package/front_end/panels/elements/StylePropertiesSection.ts +1 -1
- package/front_end/panels/elements/StylePropertyHighlighter.test.ts +2 -1
- package/front_end/panels/elements/StylePropertyTreeElement.test.ts +23 -21
- package/front_end/panels/elements/StylePropertyTreeElement.ts +3 -2
- package/front_end/panels/elements/StylesSidebarPane.test.ts +8 -6
- package/front_end/panels/elements/StylesSidebarPane.ts +9 -21
- package/front_end/panels/elements/components/AccessibilityTreeNode.test.ts +3 -5
- package/front_end/panels/elements/components/AccessibilityTreeNode.ts +5 -7
- package/front_end/panels/elements/components/CSSQuery.ts +1 -1
- package/front_end/panels/elements/components/ElementsBreadcrumbs.test.ts +13 -15
- package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +7 -8
- package/front_end/panels/elements/components/ElementsTreeExpandButton.test.ts +3 -5
- package/front_end/panels/elements/components/LayoutPane.test.ts +14 -10
- package/front_end/panels/elements/components/LayoutPane.ts +3 -4
- package/front_end/panels/elements/components/QueryContainer.test.ts +1 -1
- package/front_end/panels/elements/components/QueryContainer.ts +1 -1
- package/front_end/panels/elements/components/components.ts +0 -2
- package/front_end/panels/elements/elementsPanel.css +4 -4
- package/front_end/panels/elements/elementsTreeOutline.css +6 -5
- package/front_end/panels/elements/metricsSidebarPane.css +1 -1
- package/front_end/panels/elements/stylePropertiesTreeOutline.css +4 -0
- package/front_end/panels/emulation/DeviceModeToolbar.ts +1 -2
- package/front_end/panels/emulation/DeviceModeView.ts +17 -20
- package/front_end/panels/emulation/DeviceModeWrapper.ts +26 -1
- package/front_end/panels/emulation/MediaQueryInspector.test.ts +2 -2
- package/front_end/panels/emulation/components/DeviceSizeInputElement.ts +1 -1
- package/front_end/panels/emulation/deviceModeView.css +9 -16
- package/front_end/panels/emulation/mediaQueryInspector.css +3 -6
- package/front_end/panels/event_listeners/EventListenersView.ts +1 -1
- package/front_end/panels/explain/PromptBuilder.test.ts +9 -9
- package/front_end/panels/explain/components/ConsoleInsight.test.ts +37 -1
- package/front_end/panels/explain/components/ConsoleInsight.ts +46 -5
- package/front_end/panels/explain/components/consoleInsight.css +13 -9
- package/front_end/panels/explain/explain-meta.ts +12 -8
- package/front_end/panels/issues/IssueAggregator.test.ts +23 -20
- package/front_end/panels/issues/IssueAggregator.ts +8 -3
- package/front_end/panels/issues/issuesTree.css +2 -3
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +4 -4
- package/front_end/panels/layer_viewer/Layers3DView.ts +4 -3
- package/front_end/panels/layer_viewer/PaintProfilerView.ts +1 -1
- package/front_end/panels/layer_viewer/layerDetailsView.css +1 -2
- package/front_end/panels/lighthouse/LighthouseReportRenderer.test.ts +1 -1
- package/front_end/panels/lighthouse/LighthouseStatusView.ts +2 -2
- package/front_end/panels/lighthouse/LighthouseTimespanView.ts +2 -2
- package/front_end/panels/lighthouse/lighthousePanel.css +5 -5
- package/front_end/panels/lighthouse/lighthouseStartView.css +1 -0
- package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorController.test.ts +3 -3
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.test.ts +3 -3
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryViewer.test.ts +2 -2
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplay.test.ts +3 -3
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplay.ts +1 -1
- package/front_end/panels/linear_memory_inspector/components/valueInterpreterSettings.css +1 -2
- package/front_end/panels/media/MainView.test.ts +2 -2
- package/front_end/panels/media/PlayerMessagesView.ts +2 -3
- package/front_end/panels/mobile_throttling/ThrottlingManager.test.ts +1 -1
- package/front_end/panels/mobile_throttling/ThrottlingManager.ts +119 -65
- package/front_end/panels/mobile_throttling/ThrottlingPresets.ts +37 -1
- package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +4 -3
- package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +13 -8
- package/front_end/panels/network/BlockedURLsPane.ts +1 -1
- package/front_end/panels/network/NetworkConfigView.test.ts +15 -0
- package/front_end/panels/network/NetworkConfigView.ts +11 -11
- package/front_end/panels/network/NetworkDataGridNode.test.ts +2 -2
- package/front_end/panels/network/NetworkLogView.test.ts +47 -17
- package/front_end/panels/network/NetworkLogView.ts +11 -13
- package/front_end/panels/network/NetworkLogViewColumns.ts +5 -8
- package/front_end/panels/network/NetworkOverview.test.ts +2 -4
- package/front_end/panels/network/NetworkOverview.ts +2 -4
- package/front_end/panels/network/NetworkPanel.test.ts +5 -7
- package/front_end/panels/network/NetworkPanel.ts +3 -4
- package/front_end/panels/network/NetworkWaterfallColumn.ts +3 -5
- package/front_end/panels/network/RequestPayloadView.ts +2 -2
- package/front_end/panels/network/RequestTimingView.test.ts +1 -1
- package/front_end/panels/network/RequestTimingView.ts +9 -10
- package/front_end/panels/network/blockedURLsPane.css +1 -2
- package/front_end/panels/network/components/HeaderSectionRow.test.ts +25 -27
- package/front_end/panels/network/components/RequestHeaderSection.test.ts +3 -5
- package/front_end/panels/network/components/RequestHeadersView.test.ts +27 -29
- package/front_end/panels/network/components/RequestHeadersView.ts +2 -4
- package/front_end/panels/network/components/RequestTrustTokensView.test.ts +1 -1
- package/front_end/panels/network/components/ResponseHeaderSection.test.ts +32 -34
- package/front_end/panels/network/networkConfigView.css +0 -8
- package/front_end/panels/network/networkLogView.css +2 -5
- package/front_end/panels/network/networkTimingTable.css +1 -1
- package/front_end/panels/network/webSocketFrameView.css +1 -1
- package/front_end/panels/performance_monitor/PerformanceMonitor.ts +4 -4
- package/front_end/panels/performance_monitor/performanceMonitor.css +1 -2
- package/front_end/panels/profiler/HeapDetachedElementsView.ts +4 -0
- package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +2 -2
- package/front_end/panels/profiler/HeapSnapshotView.ts +1 -1
- package/front_end/panels/profiler/HeapTimelineOverview.ts +1 -2
- package/front_end/panels/profiler/ProfileFlameChartDataProvider.ts +1 -2
- package/front_end/panels/profiler/ProfileLauncherView.ts +7 -10
- package/front_end/panels/profiler/ProfileSidebarTreeElement.ts +8 -2
- package/front_end/panels/profiler/ProfilesPanel.ts +4 -1
- package/front_end/panels/profiler/heapProfiler.css +8 -4
- package/front_end/panels/profiler/profileLauncherView.css +26 -31
- package/front_end/panels/profiler/profilesPanel.css +1 -4
- package/front_end/panels/profiler/profilesSidebarTree.css +10 -0
- package/front_end/panels/protocol_monitor/ProtocolMonitor.test.ts +12 -12
- package/front_end/panels/protocol_monitor/components/JSONEditor.test.ts +40 -42
- package/front_end/panels/protocol_monitor/components/JSONEditor.ts +0 -1
- package/front_end/panels/recorder/RecorderController.test.ts +11 -13
- package/front_end/panels/recorder/RecorderController.ts +5 -5
- package/front_end/panels/recorder/components/CreateRecordingView.test.ts +9 -9
- package/front_end/panels/recorder/components/CreateRecordingView.ts +1 -1
- package/front_end/panels/recorder/components/RecordingListView.test.ts +7 -9
- package/front_end/panels/recorder/components/RecordingView.test.ts +7 -9
- package/front_end/panels/recorder/components/RecordingView.ts +0 -2
- package/front_end/panels/recorder/components/ReplaySection.test.ts +3 -5
- package/front_end/panels/recorder/components/SelectButton.test.ts +3 -5
- package/front_end/panels/recorder/components/StepEditor.test.ts +38 -38
- package/front_end/panels/recorder/components/StepView.test.ts +10 -10
- package/front_end/panels/recorder/components/StepView.ts +4 -4
- package/front_end/panels/recorder/components/controlButton.css +3 -4
- package/front_end/panels/recorder/components/stepView.css +4 -4
- package/front_end/panels/recorder/converters/LighthouseConverter.test.ts +1 -1
- package/front_end/panels/recorder/converters/PuppeteerConverter.test.ts +2 -2
- package/front_end/panels/recorder/converters/PuppeteerReplayConverter.test.ts +1 -1
- package/front_end/panels/recorder/injected/selectors/CSSSelector.test.ts +1 -1
- package/front_end/panels/recorder/models/RecordingPlayer.test.ts +7 -7
- package/front_end/panels/recorder/models/SchemaUtils.ts +6 -1
- package/front_end/panels/recorder/models/ScreenshotUtils.test.ts +4 -4
- package/front_end/panels/recorder/models/Section.test.ts +5 -5
- package/front_end/panels/recorder/models/recording-storage.test.ts +1 -1
- package/front_end/panels/recorder/models/screenshot-storage.test.ts +1 -1
- package/front_end/panels/screencast/ScreencastView.ts +17 -19
- package/front_end/panels/screencast/screencastView.css +1 -0
- package/front_end/panels/search/SearchView.ts +2 -4
- package/front_end/panels/security/CookieControlsView.test.ts +2 -2
- package/front_end/panels/security/CookieControlsView.ts +42 -19
- package/front_end/panels/security/CookieReportView.test.ts +21 -21
- package/front_end/panels/security/CookieReportView.ts +193 -5
- package/front_end/panels/security/SecurityPanel.ts +1 -2
- package/front_end/panels/security/mainView.css +1 -2
- package/front_end/panels/security/originView.css +1 -2
- package/front_end/panels/sensors/SensorsView.ts +10 -10
- package/front_end/panels/sensors/locationsSettingsTab.css +1 -1
- package/front_end/panels/sensors/sensors.css +1 -4
- package/front_end/panels/settings/AISettingsTab.test.ts +53 -7
- package/front_end/panels/settings/AISettingsTab.ts +77 -39
- package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +3 -3
- package/front_end/panels/settings/KeybindsSettingsTab.ts +7 -8
- package/front_end/panels/settings/SettingsScreen.ts +4 -4
- package/front_end/panels/settings/aiSettingsTab.css +14 -4
- package/front_end/panels/settings/components/SyncSection.test.ts +2 -2
- package/front_end/panels/settings/components/SyncSection.ts +1 -1
- package/front_end/panels/settings/emulation/DevicesSettingsTab.ts +2 -2
- package/front_end/panels/settings/emulation/components/userAgentClientHintsForm.css +1 -2
- package/front_end/panels/settings/emulation/devicesSettingsTab.css +3 -1
- package/front_end/panels/settings/emulation/utils/StructuredHeaders.test.ts +2 -2
- package/front_end/panels/settings/keybindsSettingsTab.css +5 -9
- package/front_end/panels/settings/settingsScreen.css +31 -13
- package/front_end/panels/sources/CSSPlugin.test.ts +1 -1
- package/front_end/panels/sources/CallStackSidebarPane.ts +1 -1
- package/front_end/panels/sources/DebuggerPausedMessage.ts +3 -3
- package/front_end/panels/sources/DebuggerPlugin.test.ts +5 -5
- package/front_end/panels/sources/DebuggerPlugin.ts +1 -1
- package/front_end/panels/sources/NavigatorView.test.ts +3 -3
- package/front_end/panels/sources/NavigatorView.ts +7 -0
- package/front_end/panels/sources/OutlineQuickOpen.ts +1 -1
- package/front_end/panels/sources/SourcesNavigator.test.ts +1 -1
- package/front_end/panels/sources/SourcesView.test.ts +5 -5
- package/front_end/panels/sources/TabbedEditorContainer.test.ts +5 -5
- package/front_end/panels/sources/TabbedEditorContainer.ts +1 -1
- package/front_end/panels/sources/UISourceCodeFrame.ts +2 -5
- package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +2 -2
- package/front_end/panels/sources/components/BreakpointsView.test.ts +28 -30
- package/front_end/panels/sources/components/BreakpointsView.ts +7 -9
- package/front_end/panels/sources/components/HeadersView.test.ts +21 -23
- package/front_end/panels/sources/navigatorTree.css +4 -4
- package/front_end/panels/sources/sources-meta.ts +17 -1
- package/front_end/panels/timeline/AppenderUtils.ts +2 -0
- package/front_end/panels/timeline/CompatibilityTracksAppender.ts +5 -2
- package/front_end/panels/timeline/CountersGraph.ts +5 -4
- package/front_end/panels/timeline/EntriesFilter.test.ts +10 -10
- package/front_end/panels/timeline/EventsTimelineTreeView.ts +1 -6
- package/front_end/panels/timeline/ExtensionTrackAppender.ts +9 -4
- package/front_end/panels/timeline/Initiators.test.ts +149 -168
- package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +3 -26
- package/front_end/panels/timeline/ModificationsManager.test.ts +5 -5
- package/front_end/panels/timeline/TimelineController.ts +50 -4
- package/front_end/panels/timeline/TimelineDetailsView.test.ts +1 -6
- package/front_end/panels/timeline/TimelineDetailsView.ts +3 -6
- package/front_end/panels/timeline/TimelineEventOverview.ts +1 -1
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.test.ts +4 -8
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +66 -76
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.test.ts +3 -3
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +32 -28
- package/front_end/panels/timeline/TimelineFlameChartView.test.ts +180 -201
- package/front_end/panels/timeline/TimelineFlameChartView.ts +170 -54
- package/front_end/panels/timeline/TimelineHistoryManager.test.ts +10 -46
- package/front_end/panels/timeline/TimelineHistoryManager.ts +26 -59
- package/front_end/panels/timeline/TimelineLoader.test.ts +11 -11
- package/front_end/panels/timeline/TimelineLoader.ts +12 -15
- package/front_end/panels/timeline/TimelineMiniMap.test.ts +1 -2
- package/front_end/panels/timeline/TimelineMiniMap.ts +3 -9
- package/front_end/panels/timeline/TimelinePaintProfilerView.ts +1 -1
- package/front_end/panels/timeline/TimelinePanel.ts +259 -124
- package/front_end/panels/timeline/TimelineTreeView.ts +6 -11
- package/front_end/panels/timeline/TimelineUIUtils.test.ts +131 -33
- package/front_end/panels/timeline/TimelineUIUtils.ts +64 -66
- package/front_end/panels/timeline/TimingsTrackAppender.ts +19 -77
- package/front_end/panels/timeline/components/BreadcrumbsUI.test.ts +8 -10
- package/front_end/panels/timeline/components/CPUThrottlingSelector.test.ts +7 -9
- package/front_end/panels/timeline/components/CPUThrottlingSelector.ts +33 -3
- package/front_end/panels/timeline/components/FieldSettingsDialog.test.ts +54 -311
- package/front_end/panels/timeline/components/FieldSettingsDialog.ts +13 -255
- package/front_end/panels/timeline/components/IgnoreListSetting.test.ts +425 -0
- package/front_end/panels/timeline/components/IgnoreListSetting.ts +362 -0
- package/front_end/panels/timeline/components/InteractionBreakdown.test.ts +2 -3
- package/front_end/panels/timeline/components/LiveMetricsView.test.ts +83 -116
- package/front_end/panels/timeline/components/LiveMetricsView.ts +104 -137
- package/front_end/panels/timeline/components/MetricCard.test.ts +58 -37
- package/front_end/panels/timeline/components/MetricCard.ts +5 -1
- package/front_end/panels/timeline/components/MetricCompareStrings.ts +9 -9
- package/front_end/panels/timeline/components/NetworkRequestDetails.ts +5 -8
- package/front_end/panels/timeline/components/NetworkThrottlingSelector.test.ts +14 -15
- package/front_end/panels/timeline/components/NetworkThrottlingSelector.ts +35 -5
- package/front_end/panels/timeline/components/OriginMap.test.ts +359 -0
- package/front_end/panels/timeline/components/OriginMap.ts +278 -0
- package/front_end/panels/timeline/components/RelatedInsightChips.test.ts +37 -6
- package/front_end/panels/timeline/components/RelatedInsightChips.ts +34 -10
- package/front_end/panels/timeline/components/Sidebar.test.ts +1 -7
- package/front_end/panels/timeline/components/Sidebar.ts +6 -11
- package/front_end/panels/timeline/components/SidebarAnnotationsTab.test.ts +17 -20
- package/front_end/panels/timeline/components/SidebarInsightsTab.test.ts +2 -4
- package/front_end/panels/timeline/components/SidebarInsightsTab.ts +0 -1
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.test.ts +66 -14
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.ts +58 -73
- package/front_end/panels/timeline/components/Utils.test.ts +16 -18
- package/front_end/panels/timeline/components/breadcrumbsUI.css +1 -2
- package/front_end/panels/timeline/components/components.ts +4 -0
- package/front_end/panels/timeline/components/cpuThrottlingSelector.css +5 -2
- package/front_end/panels/timeline/components/fieldSettingsDialog.css +7 -10
- package/front_end/panels/timeline/components/ignoreListSetting.css +68 -0
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.test.ts +5 -7
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.ts +25 -12
- package/front_end/panels/timeline/components/insights/CLSCulprits.test.ts +44 -0
- package/front_end/panels/timeline/components/insights/CLSCulprits.ts +36 -29
- package/front_end/panels/timeline/components/insights/DOMSize.ts +62 -0
- package/front_end/panels/timeline/components/insights/DocumentLatency.ts +2 -10
- package/front_end/panels/timeline/components/insights/EventRef.ts +2 -13
- package/front_end/panels/timeline/components/insights/FontDisplay.ts +2 -10
- package/front_end/panels/timeline/components/insights/ImageDelivery.ts +28 -53
- package/front_end/panels/timeline/components/insights/InteractionToNextPaint.ts +11 -10
- package/front_end/panels/timeline/components/insights/LCPDiscovery.ts +18 -12
- package/front_end/panels/timeline/components/insights/LCPPhases.ts +11 -11
- package/front_end/panels/timeline/components/insights/README.md +10 -24
- package/front_end/panels/timeline/components/insights/RenderBlocking.ts +14 -13
- package/front_end/panels/timeline/components/insights/SlowCSSSelector.ts +45 -29
- package/front_end/panels/timeline/components/insights/Table.ts +9 -0
- package/front_end/panels/timeline/components/insights/ThirdParties.ts +28 -23
- package/front_end/panels/timeline/components/insights/Viewport.ts +2 -10
- package/front_end/panels/timeline/components/insights/baseInsightComponent.css +11 -4
- package/front_end/panels/timeline/components/insights/insights.ts +2 -0
- package/front_end/panels/timeline/components/insights/table.css +1 -1
- package/front_end/panels/timeline/components/liveMetricsView.css +40 -1
- package/front_end/panels/timeline/components/metricCard.css +39 -4
- package/front_end/panels/timeline/components/networkThrottlingSelector.css +5 -2
- package/front_end/panels/timeline/components/originMap.css +71 -0
- package/front_end/panels/timeline/components/relatedInsightChips.css +29 -0
- package/front_end/panels/timeline/components/sidebarSingleInsightSet.css +8 -0
- package/front_end/panels/timeline/components/timelineSummary.css +1 -4
- package/front_end/panels/timeline/fixtures/traces/README.md +29 -4
- package/front_end/panels/timeline/fixtures/traces/async-js-calls.json.gz +0 -0
- package/front_end/panels/timeline/fixtures/traces/dom-size-long.json.gz +0 -0
- package/front_end/panels/timeline/fixtures/traces/dom-size.json.gz +0 -0
- package/front_end/panels/timeline/fixtures/traces/extension-tracks-and-marks.json.gz +0 -0
- package/front_end/panels/timeline/fixtures/traces/image-delivery.json.gz +0 -0
- package/front_end/panels/timeline/fixtures/traces/lcp-multiple-frames.json.gz +0 -0
- package/front_end/panels/timeline/fixtures/traces/web-dev-animation-frames.json.gz +0 -0
- package/front_end/panels/timeline/overlays/OverlaysImpl.test.ts +45 -18
- package/front_end/panels/timeline/overlays/OverlaysImpl.ts +198 -64
- package/front_end/panels/timeline/overlays/components/EntriesLinkOverlay.ts +16 -8
- package/front_end/panels/timeline/overlays/components/EntryLabelOverlay.ts +2 -1
- package/front_end/panels/timeline/overlays/components/TimeRangeOverlay.ts +2 -1
- package/front_end/panels/timeline/overlays/components/TimespanBreakdownOverlay.test.ts +1 -2
- package/front_end/panels/timeline/timeline.ts +0 -2
- package/front_end/panels/timeline/timelineFlameChartView.css +44 -5
- package/front_end/panels/timeline/timelineFlamechartPopover.css +2 -2
- package/front_end/panels/timeline/timelinePanel.css +4 -3
- package/front_end/panels/timeline/timelineStatusDialog.css +1 -0
- package/front_end/panels/timeline/track_appenders/AnimationsTrackAppender.test.ts +1 -1
- package/front_end/panels/timeline/track_appenders/CompatibilityTracksAppender.test.ts +6 -20
- package/front_end/panels/timeline/track_appenders/ExtensionTrackAppender.test.ts +23 -9
- package/front_end/panels/timeline/track_appenders/GPUTrackAppender.test.ts +1 -1
- package/front_end/panels/timeline/track_appenders/InteractionsTrackAppender.test.ts +3 -3
- package/front_end/panels/timeline/track_appenders/LayoutShiftsTrackAppender.test.ts +2 -2
- package/front_end/panels/timeline/track_appenders/NetworkTrackAppender.test.ts +1 -1
- package/front_end/panels/timeline/track_appenders/ServerTimingsTrackAppender.test.ts +2 -2
- package/front_end/panels/timeline/track_appenders/ThreadAppender.test.ts +13 -12
- package/front_end/panels/timeline/track_appenders/TimingsTrackAppender.test.ts +4 -64
- package/front_end/panels/timeline/utils/AICallTree.test.ts +11 -11
- package/front_end/panels/timeline/utils/AICallTree.ts +1 -1
- package/front_end/panels/timeline/utils/EntityMapper.test.ts +124 -0
- package/front_end/panels/timeline/utils/EntityMapper.ts +164 -0
- package/front_end/panels/timeline/utils/EntryStyles.ts +40 -2
- package/front_end/panels/timeline/utils/Helpers.ts +20 -0
- package/front_end/panels/timeline/utils/IgnoreList.test.ts +1 -1
- package/front_end/panels/timeline/utils/ImageCache.test.ts +2 -2
- package/front_end/panels/timeline/utils/SourceMapsResolver.test.ts +83 -2
- package/front_end/panels/timeline/utils/SourceMapsResolver.ts +23 -21
- package/front_end/panels/timeline/utils/utils.ts +2 -0
- package/front_end/panels/utils/utils.test.ts +2 -2
- package/front_end/panels/web_audio/AudioContextSelector.ts +1 -2
- package/front_end/panels/webauthn/WebauthnPane.test.ts +55 -11
- package/front_end/panels/webauthn/WebauthnPane.ts +47 -27
- package/front_end/panels/webauthn/webauthnPane.css +2 -9
- package/front_end/panels/whats_new/ReleaseNote.test.ts +3 -2
- package/front_end/panels/whats_new/ReleaseNoteText.ts +25 -10
- package/front_end/panels/whats_new/ReleaseNoteView.test.ts +159 -0
- package/front_end/panels/whats_new/ReleaseNoteView.ts +110 -107
- package/front_end/panels/whats_new/releaseNoteView.css +78 -88
- package/front_end/panels/whats_new/resources/WNDT.md +6 -6
- package/front_end/panels/whats_new/whats_new-meta.ts +2 -2
- package/front_end/testing/DOMHelpers.ts +15 -1
- package/front_end/testing/DataGridHelpers.ts +2 -3
- package/front_end/testing/EnvironmentHelpers.ts +17 -5
- package/front_end/testing/InsightHelpers.ts +11 -0
- package/front_end/testing/NetworkHelpers.ts +2 -4
- package/front_end/testing/StubIssue.ts +1 -1
- package/front_end/testing/TraceHelpers.ts +104 -11
- package/front_end/testing/TraceLoader.ts +14 -0
- package/front_end/third_party/axe-core/README.chromium +2 -2
- package/front_end/third_party/i18n/localized-string-set.ts +13 -3
- package/front_end/third_party/lighthouse/README.chromium +2 -2
- package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +1091 -807
- package/front_end/third_party/lighthouse/locales/ar-XB.json +60 -0
- package/front_end/third_party/lighthouse/locales/ar.json +60 -0
- package/front_end/third_party/lighthouse/locales/bg.json +77 -17
- package/front_end/third_party/lighthouse/locales/ca.json +77 -17
- package/front_end/third_party/lighthouse/locales/cs.json +77 -17
- package/front_end/third_party/lighthouse/locales/da.json +77 -17
- package/front_end/third_party/lighthouse/locales/de.json +77 -17
- package/front_end/third_party/lighthouse/locales/el.json +77 -17
- package/front_end/third_party/lighthouse/locales/en-GB.json +70 -10
- package/front_end/third_party/lighthouse/locales/en-US.json +154 -40
- package/front_end/third_party/lighthouse/locales/en-XL.json +154 -40
- package/front_end/third_party/lighthouse/locales/es-419.json +77 -17
- package/front_end/third_party/lighthouse/locales/es.json +60 -0
- package/front_end/third_party/lighthouse/locales/fi.json +60 -0
- package/front_end/third_party/lighthouse/locales/fil.json +60 -0
- package/front_end/third_party/lighthouse/locales/fr.json +77 -17
- package/front_end/third_party/lighthouse/locales/he.json +77 -17
- package/front_end/third_party/lighthouse/locales/hi.json +77 -17
- package/front_end/third_party/lighthouse/locales/hr.json +60 -0
- package/front_end/third_party/lighthouse/locales/hu.json +77 -17
- package/front_end/third_party/lighthouse/locales/id.json +77 -17
- package/front_end/third_party/lighthouse/locales/it.json +77 -17
- package/front_end/third_party/lighthouse/locales/ja.json +60 -0
- package/front_end/third_party/lighthouse/locales/ko.json +60 -0
- package/front_end/third_party/lighthouse/locales/lt.json +77 -17
- package/front_end/third_party/lighthouse/locales/lv.json +77 -17
- package/front_end/third_party/lighthouse/locales/nl.json +60 -0
- package/front_end/third_party/lighthouse/locales/no.json +77 -17
- package/front_end/third_party/lighthouse/locales/pl.json +60 -0
- package/front_end/third_party/lighthouse/locales/pt-PT.json +60 -0
- package/front_end/third_party/lighthouse/locales/pt.json +77 -17
- package/front_end/third_party/lighthouse/locales/ro.json +77 -17
- package/front_end/third_party/lighthouse/locales/ru.json +60 -0
- package/front_end/third_party/lighthouse/locales/sk.json +60 -0
- package/front_end/third_party/lighthouse/locales/sl.json +77 -17
- package/front_end/third_party/lighthouse/locales/sr-Latn.json +60 -0
- package/front_end/third_party/lighthouse/locales/sr.json +60 -0
- package/front_end/third_party/lighthouse/locales/sv.json +77 -17
- package/front_end/third_party/lighthouse/locales/ta.json +77 -17
- package/front_end/third_party/lighthouse/locales/te.json +72 -12
- package/front_end/third_party/lighthouse/locales/th.json +60 -0
- package/front_end/third_party/lighthouse/locales/tr.json +77 -17
- package/front_end/third_party/lighthouse/locales/uk.json +78 -18
- package/front_end/third_party/lighthouse/locales/vi.json +60 -0
- package/front_end/third_party/lighthouse/locales/zh-HK.json +77 -17
- package/front_end/third_party/lighthouse/locales/zh-TW.json +77 -17
- package/front_end/third_party/lighthouse/locales/zh.json +77 -17
- package/front_end/third_party/lighthouse/report-assets/report-generator.mjs +1 -1
- package/front_end/third_party/lit/lib/decorators.d.ts +5 -2
- package/front_end/third_party/lit/lib/decorators.js +5 -5
- package/front_end/third_party/lit/lib/decorators.js.map +1 -1
- package/front_end/third_party/lit/lib/directive.d.ts +15 -7
- package/front_end/third_party/lit/lib/directive.js.map +1 -1
- package/front_end/third_party/lit/lib/directives.d.ts +147 -7
- package/front_end/third_party/lit/lib/directives.js +9 -9
- package/front_end/third_party/lit/lib/directives.js.map +1 -1
- package/front_end/third_party/lit/lib/lit.d.ts +126 -13
- package/front_end/third_party/lit/lib/lit.js +5 -5
- package/front_end/third_party/lit/lib/lit.js.map +1 -1
- package/front_end/third_party/lit/lib/static-html.d.ts +202 -0
- package/front_end/third_party/lit/lib/static-html.js +13 -0
- package/front_end/third_party/lit/lib/static-html.js.map +1 -0
- package/front_end/third_party/lit/lit.ts +2 -1
- package/front_end/third_party/lit/package.json +2 -2
- package/front_end/third_party/lit/{rollup.config.js → rollup.config.mjs} +2 -2
- package/front_end/third_party/lit/src/static-html.ts +5 -0
- package/front_end/third_party/puppeteer/README.chromium +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts +28 -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 +33 -0
- 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/BrowserContext.d.ts +14 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.js +12 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/CDPSession.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts +22 -6
- 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 +0 -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/BidiOverCdp.js +17 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BidiOverCdp.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserConnector.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserConnector.js +19 -8
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserContext.d.ts +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserContext.js +35 -9
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.js +15 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ExposedFunction.js +17 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ExposedFunction.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.js +13 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/HTTPRequest.d.ts +2 -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 +4 -1
- 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 +11 -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 +30 -2
- 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 +2 -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 +7 -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/bidi/core/Request.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/Request.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/UserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Accessibility.d.ts +8 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Accessibility.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Accessibility.js +100 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Accessibility.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.d.ts +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js +28 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/CDPSession.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/CDPSession.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/CDPSession.js +9 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/CDPSession.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Connection.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Connection.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Connection.js +12 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Connection.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ElementHandle.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ElementHandle.js +11 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ElementHandle.js.map +1 -1
- 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 +1 -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/Frame.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts +2 -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 +18 -13
- 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/common/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +17 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts +6 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Cookie.d.ts +85 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Cookie.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js +17 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.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/injected/injected.js +17 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.d.ts +6 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.js +20 -10
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts +5 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js +7 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.d.ts +4 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.js +4 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts +50 -48
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PuppeteerNode.d.ts +14 -13
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PuppeteerNode.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PuppeteerNode.js +34 -24
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PuppeteerNode.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.d.ts +7 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.js +17 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.js.map +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/third_party/parsel-js/parsel-js.js +11 -21
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +283 -120
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +714 -497
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts +28 -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 +33 -0
- 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/BrowserContext.d.ts +14 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.js +12 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/CDPSession.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts +22 -6
- 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 +0 -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/BrowserConnector.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserConnector.js +2 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserContext.d.ts +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserContext.js +36 -10
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.js +15 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.js +14 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/HTTPRequest.d.ts +2 -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 +4 -1
- 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 +11 -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 +27 -4
- 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 +2 -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 +7 -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/bidi/core/Request.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/Request.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/UserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Accessibility.d.ts +8 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Accessibility.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Accessibility.js +100 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Accessibility.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.d.ts +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js +28 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/CDPSession.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/CDPSession.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/CDPSession.js +9 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/CDPSession.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Connection.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Connection.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Connection.js +12 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Connection.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ElementHandle.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ElementHandle.js +11 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ElementHandle.js.map +1 -1
- 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 +1 -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/Frame.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts +2 -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 +17 -13
- 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/common/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts +6 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Cookie.d.ts +85 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Cookie.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.d.ts +6 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts +5 -5
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js +7 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.d.ts +4 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.js +4 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/LaunchOptions.d.ts +50 -48
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/LaunchOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PuppeteerNode.d.ts +14 -13
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PuppeteerNode.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PuppeteerNode.js +34 -24
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PuppeteerNode.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.d.ts +7 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.d.ts.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/third_party/parsel-js/parsel-js.js +11 -21
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +283 -120
- package/front_end/third_party/puppeteer/package/package.json +7 -7
- package/front_end/third_party/puppeteer/package/src/api/Browser.ts +37 -0
- package/front_end/third_party/puppeteer/package/src/api/BrowserContext.ts +26 -0
- package/front_end/third_party/puppeteer/package/src/api/ElementHandle.ts +6 -0
- package/front_end/third_party/puppeteer/package/src/api/Page.ts +22 -8
- package/front_end/third_party/puppeteer/package/src/bidi/BrowserConnector.ts +4 -6
- package/front_end/third_party/puppeteer/package/src/bidi/BrowserContext.ts +57 -10
- package/front_end/third_party/puppeteer/package/src/bidi/ElementHandle.ts +17 -0
- package/front_end/third_party/puppeteer/package/src/bidi/Frame.ts +20 -3
- package/front_end/third_party/puppeteer/package/src/bidi/HTTPRequest.ts +6 -2
- package/front_end/third_party/puppeteer/package/src/bidi/Page.ts +43 -5
- package/front_end/third_party/puppeteer/package/src/bidi/core/BrowsingContext.ts +10 -0
- package/front_end/third_party/puppeteer/package/src/bidi/core/Request.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/cdp/Accessibility.ts +55 -3
- package/front_end/third_party/puppeteer/package/src/cdp/BrowserConnector.ts +2 -5
- package/front_end/third_party/puppeteer/package/src/cdp/BrowserContext.ts +33 -0
- package/front_end/third_party/puppeteer/package/src/cdp/CDPSession.ts +12 -5
- package/front_end/third_party/puppeteer/package/src/cdp/Connection.ts +15 -6
- package/front_end/third_party/puppeteer/package/src/cdp/ElementHandle.ts +13 -1
- package/front_end/third_party/puppeteer/package/src/cdp/EmulationManager.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/cdp/Frame.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/cdp/Page.ts +25 -13
- package/front_end/third_party/puppeteer/package/src/common/BrowserConnector.ts +1 -2
- package/front_end/third_party/puppeteer/package/src/common/CallbackRegistry.ts +8 -0
- package/front_end/third_party/puppeteer/package/src/common/ConnectOptions.ts +7 -6
- package/front_end/third_party/puppeteer/package/src/common/Cookie.ts +87 -4
- package/front_end/third_party/puppeteer/package/src/generated/version.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts +14 -12
- package/front_end/third_party/puppeteer/package/src/node/ChromeLauncher.ts +11 -12
- package/front_end/third_party/puppeteer/package/src/node/FirefoxLauncher.ts +9 -9
- package/front_end/third_party/puppeteer/package/src/node/LaunchOptions.ts +52 -50
- package/front_end/third_party/puppeteer/package/src/node/PuppeteerNode.ts +55 -45
- package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
- package/front_end/ui/components/adorners/Adorner.test.ts +2 -2
- package/front_end/ui/components/buttons/button.css +5 -5
- package/front_end/ui/components/cards/Card.test.ts +1 -1
- package/front_end/ui/components/cards/card.css +2 -2
- package/front_end/ui/components/chrome_link/ChromeLink.test.ts +2 -4
- package/front_end/ui/components/chrome_link/ChromeLink.ts +1 -1
- package/front_end/ui/components/data_grid/DataGrid.test.ts +65 -67
- package/front_end/ui/components/data_grid/DataGrid.ts +11 -16
- package/front_end/ui/components/data_grid/DataGridController.test.ts +34 -36
- package/front_end/ui/components/data_grid/dataGrid.css +1 -1
- package/front_end/ui/components/dialogs/ButtonDialog.test.ts +4 -6
- package/front_end/ui/components/dialogs/ButtonDialog.ts +3 -1
- package/front_end/ui/components/dialogs/Dialog.test.ts +47 -50
- package/front_end/ui/components/dialogs/Dialog.ts +13 -101
- package/front_end/ui/components/dialogs/ShortcutDialog.test.ts +7 -23
- package/front_end/ui/components/dialogs/ShortcutDialog.ts +13 -92
- package/front_end/ui/components/dialogs/buttonDialog.css +1 -1
- package/front_end/ui/components/dialogs/dialog.css +10 -8
- package/front_end/ui/components/dialogs/dialogs.ts +0 -2
- package/front_end/ui/components/dialogs/shortcutDialog.css +10 -8
- package/front_end/ui/components/diff_view/DiffView.test.ts +1 -1
- package/front_end/ui/components/diff_view/diffView.css +2 -2
- package/front_end/ui/components/docs/{freestyler → ai_assistance}/basic.ts +8 -8
- package/front_end/ui/components/docs/{freestyler → ai_assistance}/empty_state.ts +5 -5
- package/front_end/ui/components/docs/building-ui-documentation/TestingComponents.md +6 -7
- package/front_end/ui/components/docs/button/basic.html +18 -34
- package/front_end/ui/components/docs/button/basic.ts +135 -371
- package/front_end/ui/components/docs/create_breadcrumbs.ts +1 -1
- package/front_end/ui/components/docs/dialog/basic.ts +71 -7
- package/front_end/ui/components/docs/dialog/button_dialog.ts +2 -1
- package/front_end/ui/components/docs/{shortcut_dialog/basic.html → dialog/shortcut_dialog.html} +1 -1
- package/front_end/ui/components/docs/{shortcut_dialog/basic.ts → dialog/shortcut_dialog.ts} +5 -5
- package/front_end/ui/components/docs/menu/basic.ts +0 -1
- package/front_end/ui/components/docs/performance_panel/basic.ts +0 -5
- package/front_end/ui/components/docs/performance_panel/timeline_history_manager.ts +0 -3
- package/front_end/ui/components/docs/radio_button/basic.html +23 -0
- package/front_end/ui/components/docs/radio_button/basic.ts +50 -0
- package/front_end/ui/components/docs/recorder_control_button/basic.ts +1 -1
- package/front_end/ui/components/docs/recorder_create_recording_view/basic.ts +1 -1
- package/front_end/ui/components/docs/recorder_recording_list_view/basic.ts +1 -1
- package/front_end/ui/components/docs/recorder_recording_view/basic.ts +1 -1
- package/front_end/ui/components/docs/recorder_select_button/basic.ts +1 -1
- package/front_end/ui/components/docs/recorder_split_view/basic.ts +1 -1
- package/front_end/ui/components/docs/recorder_start_view/basic.ts +1 -1
- package/front_end/ui/components/docs/select_menu/basic.ts +3 -4
- package/front_end/ui/components/docs/slider/basic.html +20 -0
- package/front_end/ui/components/docs/slider/basic.ts +62 -0
- package/front_end/ui/components/expandable_list/ExpandableList.test.ts +4 -4
- package/front_end/ui/components/helpers/helpers.test.ts +4 -6
- package/front_end/ui/components/helpers/scheduled-render.ts +4 -3
- package/front_end/ui/components/highlighting/HighlightManager.test.ts +7 -7
- package/front_end/ui/components/icon_button/FileSourceIcon.ts +0 -1
- package/front_end/ui/components/icon_button/IconButton.test.ts +8 -8
- package/front_end/ui/components/icon_button/icon.css +1 -1
- package/front_end/ui/components/issue_counter/IssueCounter.test.ts +10 -10
- package/front_end/ui/components/issue_counter/IssueLinkIcon.test.ts +4 -6
- package/front_end/ui/components/issue_counter/IssueLinkIcon.ts +2 -4
- package/front_end/ui/components/linkifier/LinkifierImpl.test.ts +8 -10
- package/front_end/ui/components/linkifier/LinkifierImpl.ts +3 -5
- package/front_end/ui/components/markdown_view/MarkdownImage.test.ts +2 -4
- package/front_end/ui/components/markdown_view/MarkdownView.test.ts +9 -9
- package/front_end/ui/components/markdown_view/markdownLink.css +0 -4
- package/front_end/ui/components/markdown_view/markdownView.css +1 -5
- package/front_end/ui/components/menus/Menu.ts +3 -22
- package/front_end/ui/components/menus/SelectMenu.test.ts +5 -7
- package/front_end/ui/components/menus/SelectMenu.ts +6 -39
- package/front_end/ui/components/menus/selectMenuButton.css +1 -1
- package/front_end/ui/components/panel_feedback/FeedbackButton.test.ts +2 -4
- package/front_end/ui/components/panel_feedback/PanelFeedback.test.ts +2 -4
- package/front_end/ui/components/panel_feedback/PreviewToggle.test.ts +5 -7
- package/front_end/ui/components/render_coordinator/render_coordinator.test.ts +53 -52
- package/front_end/ui/components/render_coordinator/render_coordinator.ts +301 -2
- package/front_end/ui/components/request_link_icon/RequestLinkIcon.test.ts +5 -7
- package/front_end/ui/components/request_link_icon/RequestLinkIcon.ts +30 -27
- package/front_end/ui/components/request_link_icon/requestLinkIcon.css +3 -0
- package/front_end/ui/components/settings/SettingCheckbox.test.ts +3 -3
- package/front_end/ui/components/settings/SettingCheckbox.ts +4 -3
- package/front_end/ui/components/spinners/spinner.css +4 -4
- package/front_end/ui/components/split_view/SplitView.test.ts +6 -8
- package/front_end/ui/components/srgb_overlay/SrgbOverlay.ts +2 -4
- package/front_end/ui/components/srgb_overlay/srgbOverlay.css +2 -2
- package/front_end/ui/components/suggestion_input/SuggestionInput.ts +1 -1
- package/front_end/ui/components/suggestion_input/suggestionInput.css +1 -2
- package/front_end/ui/components/survey_link/SurveyLink.ts +1 -1
- package/front_end/ui/components/switch/SwitchImpl.test.ts +1 -1
- package/front_end/ui/components/switch/SwitchImpl.ts +2 -2
- package/front_end/ui/components/text_editor/TextEditor.test.ts +6 -6
- package/front_end/ui/components/text_editor/config.ts +22 -4
- package/front_end/ui/components/text_prompt/TextPrompt.test.ts +3 -3
- package/front_end/ui/components/tree_outline/TreeOutline.test.ts +46 -48
- package/front_end/ui/components/tree_outline/TreeOutline.ts +3 -5
- package/front_end/ui/legacy/ARIAUtils.ts +1 -5
- package/front_end/ui/legacy/Dialog.ts +2 -4
- package/front_end/ui/legacy/DockController.test.ts +2 -2
- package/front_end/ui/legacy/DropTarget.ts +1 -2
- package/front_end/ui/legacy/EmptyWidget.ts +1 -1
- package/front_end/ui/legacy/FilterBar.ts +3 -5
- package/front_end/ui/legacy/Infobar.ts +5 -7
- package/front_end/ui/legacy/ListWidget.ts +1 -1
- package/front_end/ui/legacy/ProgressIndicator.ts +2 -3
- package/front_end/ui/legacy/ReportView.ts +2 -2
- package/front_end/ui/legacy/SearchableView.ts +4 -7
- package/front_end/ui/legacy/SettingsUI.ts +2 -2
- package/front_end/ui/legacy/ShortcutRegistry.test.ts +3 -3
- package/front_end/ui/legacy/SoftDropDown.ts +0 -1
- package/front_end/ui/legacy/SplitWidget.ts +2 -2
- package/front_end/ui/legacy/SuggestBox.test.ts +5 -5
- package/front_end/ui/legacy/SuggestBox.ts +1 -2
- package/front_end/ui/legacy/TabbedPane.ts +42 -2
- package/front_end/ui/legacy/TextPrompt.ts +1 -1
- package/front_end/ui/legacy/Toolbar.test.ts +2 -5
- package/front_end/ui/legacy/Toolbar.ts +11 -8
- package/front_end/ui/legacy/Treeoutline.ts +1 -2
- package/front_end/ui/legacy/UIUtils.ts +164 -131
- package/front_end/ui/legacy/ViewRegistration.test.ts +1 -1
- package/front_end/ui/legacy/Widget.test.ts +111 -4
- package/front_end/ui/legacy/Widget.ts +81 -34
- package/front_end/ui/legacy/components/color_picker/ContrastDetails.ts +4 -4
- package/front_end/ui/legacy/components/color_picker/Spectrum.test.ts +1 -1
- package/front_end/ui/legacy/components/color_picker/Spectrum.ts +2 -2
- package/front_end/ui/legacy/components/color_picker/spectrum.css +2 -1
- package/front_end/ui/legacy/components/data_grid/DataGrid.test.ts +1 -1
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +8 -8
- package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +2 -4
- package/front_end/ui/legacy/components/data_grid/dataGrid.css +10 -17
- package/front_end/ui/legacy/components/inline_editor/CSSAngle.test.ts +3 -3
- package/front_end/ui/legacy/components/inline_editor/CSSAngle.ts +1 -0
- package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +2 -2
- package/front_end/ui/legacy/components/inline_editor/ColorMixSwatch.test.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/ColorSwatch.test.ts +5 -5
- package/front_end/ui/legacy/components/inline_editor/FontEditor.ts +22 -23
- package/front_end/ui/legacy/components/inline_editor/Swatches.ts +26 -26
- package/front_end/ui/legacy/components/inline_editor/bezierSwatch.css +4 -4
- package/front_end/ui/legacy/components/inline_editor/cssAngleEditor.css +1 -4
- package/front_end/ui/legacy/components/inline_editor/cssAngleSwatch.css +1 -4
- package/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts +2 -4
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +2 -5
- package/front_end/ui/legacy/components/perf_ui/BrickBreaker.ts +4 -4
- package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +72 -71
- package/front_end/ui/legacy/components/perf_ui/FilmStripView.test.ts +1 -1
- package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +1 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +172 -108
- package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +3 -3
- package/front_end/ui/legacy/components/perf_ui/PieChart.test.ts +6 -6
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +29 -11
- package/front_end/ui/legacy/components/perf_ui/filmStripView.css +1 -2
- package/front_end/ui/legacy/components/perf_ui/flameChart.css +1 -12
- package/front_end/ui/legacy/components/perf_ui/overviewGrid.css +1 -4
- package/front_end/ui/legacy/components/perf_ui/perf_ui-meta.ts +13 -11
- package/front_end/ui/legacy/components/perf_ui/pieChart.css +1 -1
- package/front_end/ui/legacy/components/perf_ui/timelineGrid.css +1 -4
- package/front_end/ui/legacy/components/quick_open/CommandMenu.test.ts +3 -3
- package/front_end/ui/legacy/components/quick_open/CommandMenu.ts +2 -2
- package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +3 -1
- package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +1 -2
- package/front_end/ui/legacy/components/source_frame/FontView.ts +1 -1
- package/front_end/ui/legacy/components/source_frame/ImageView.ts +1 -1
- package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +1 -1
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +2 -4
- package/front_end/ui/legacy/components/utils/ImagePreview.ts +22 -19
- package/front_end/ui/legacy/components/utils/JSPresentationUtils.ts +3 -4
- package/front_end/ui/legacy/components/utils/Linkifier.test.ts +4 -0
- package/front_end/ui/legacy/dropTarget.css +1 -4
- package/front_end/ui/legacy/glassPane.css +2 -4
- package/front_end/ui/legacy/inspectorCommon.css +86 -20
- package/front_end/ui/legacy/inspectorViewTabbedPane.css +0 -19
- package/front_end/ui/legacy/legacy.ts +0 -2
- package/front_end/ui/legacy/reportView.css +7 -1
- package/front_end/ui/legacy/rootView.css +1 -4
- package/front_end/ui/legacy/softDropDown.css +1 -2
- package/front_end/ui/legacy/tabbedPane.css +10 -18
- package/front_end/ui/legacy/textButton.css +6 -6
- package/front_end/ui/legacy/themeColors.css +50 -28
- package/front_end/ui/legacy/toolbar.css +4 -28
- package/front_end/ui/legacy/treeoutline.css +1 -1
- package/front_end/ui/lit-html/i18n-template.test.ts +53 -0
- package/front_end/ui/lit-html/i18n-template.ts +32 -0
- package/front_end/ui/lit-html/lit-html.ts +13 -14
- package/front_end/ui/visual_logging/Debugging.test.ts +0 -9
- package/front_end/ui/visual_logging/Debugging.ts +45 -12
- package/front_end/ui/visual_logging/DomState.test.ts +6 -6
- package/front_end/ui/visual_logging/KnownContextValues.ts +199 -3
- package/front_end/ui/visual_logging/LoggingDriver.test.ts +6 -7
- package/front_end/ui/visual_logging/LoggingDriver.ts +3 -4
- package/front_end/ui/visual_logging/LoggingEvents.test.ts +16 -16
- package/front_end/ui/visual_logging/LoggingEvents.ts +1 -1
- package/front_end/ui/visual_logging/visual_logging.ts +12 -1
- package/inspector_overlay/common.css +1 -4
- package/inspector_overlay/css_grid_label_helpers.test.ts +14 -15
- package/inspector_overlay/css_grid_label_helpers.ts +2 -2
- package/inspector_overlay/highlight_common.test.ts +6 -6
- package/inspector_overlay/highlight_common.ts +1 -1
- package/inspector_overlay/highlight_flex_common.test.ts +45 -45
- package/inspector_overlay/main.ts +7 -7
- package/inspector_overlay/tool_highlight.css +1 -1
- package/inspector_overlay/tool_highlight.test.ts +3 -3
- package/inspector_overlay/tool_highlight.ts +1 -1
- package/inspector_overlay/tool_window_controls.test.ts +2 -2
- package/package.json +15 -14
- package/scripts/{freestyler → ai_assistance}/README.md +11 -10
- package/scripts/{freestyler/auto_freestyler.js → ai_assistance/auto-run.js} +31 -2
- package/scripts/{freestyler → ai_assistance}/eval/index.js +1 -1
- package/scripts/ai_assistance/types.d.ts +54 -0
- package/scripts/build/typescript/ts_library.py +3 -0
- package/scripts/build/typescript/typescript.gni +4 -1
- package/scripts/check_experiments.js +82 -23
- package/scripts/component_server/server.js +142 -48
- package/scripts/devtools_paths.js +25 -9
- package/scripts/eslint_rules/README.md +5 -1
- package/scripts/eslint_rules/lib/{l10n_no_locked_or_placeholder_only_phrase.js → l10n-no-locked-or-placeholder-only-phrase.js} +1 -1
- package/scripts/eslint_rules/lib/{l10n_no_uistrings_export.js → l10n-no-uistrings-export.js} +1 -1
- package/scripts/eslint_rules/lib/{l10n_no_unused_message.js → l10n-no-unused-message.js} +1 -1
- package/scripts/eslint_rules/lib/{ban_a_tags_in_lit_html.js → no-a-tags-in-lit-html.js} +0 -1
- package/scripts/eslint_rules/lib/no-assert-deep-strict-equal.js +61 -0
- package/scripts/eslint_rules/lib/no-assert-equal-boolean-null-undefined.js +125 -0
- package/scripts/eslint_rules/lib/no-assert-strict-equal-for-arrays-and-objects.js +75 -0
- package/scripts/eslint_rules/lib/no-customized-builtin-elements.js +120 -0
- package/scripts/eslint_rules/lib/{ban_imports_in_directory.js → no-imports-in-directory.js} +0 -1
- package/scripts/eslint_rules/lib/{ban_new_lit_element_components.js → no-new-lit-element-components.js} +0 -1
- package/scripts/eslint_rules/lib/{ban_style_tags_in_lit_html.js → no-style-tags-in-lit-html.js} +14 -3
- package/scripts/eslint_rules/lib/prefer-assert-instance-of.js +89 -0
- package/scripts/eslint_rules/lib/prefer-assert-is-ok.js +71 -0
- package/scripts/eslint_rules/lib/prefer-assert-length-of.js +79 -0
- package/scripts/eslint_rules/lib/{use_private_class_members.js → prefer-private-class-members.js} +4 -6
- package/scripts/eslint_rules/lib/prefer-readonly-keyword.js +57 -0
- package/scripts/eslint_rules/tests/{canvas_context_tracking_test.js → canvas-context-tracking.test.js} +2 -2
- package/scripts/eslint_rules/tests/{check_css_import_test.js → check-css-import.test.js} +2 -2
- package/scripts/eslint_rules/tests/{check_enumerated_histograms_test.js → check-enumerated-histograms.test.js} +2 -2
- package/scripts/eslint_rules/tests/{check_license_header_test.js → check-license-header.test.js} +2 -2
- package/scripts/eslint_rules/tests/{check_test_definitions_test.js → check-test-definitions.test.js} +2 -2
- package/scripts/eslint_rules/tests/{check_was_shown_methods_test.js → check-was-shown-methods.test.js} +2 -2
- package/scripts/eslint_rules/tests/{enforce_bound_render_for_schedule_render_test.js → enforce-bound-render-for-schedule-render.test.js} +2 -2
- package/scripts/eslint_rules/tests/{enforce_custom_event_names_test.js → enforce-custom-event-names.test.js} +2 -2
- package/scripts/eslint_rules/tests/{enforce_default_import_name_test.js → enforce-default-import-name.test.js} +2 -2
- package/scripts/eslint_rules/tests/{es_modules_import_test.js → es-modules-import.test.js} +2 -2
- package/scripts/eslint_rules/tests/{html_tagged_template_test.js → html-tagged-template.test.js} +2 -2
- package/scripts/eslint_rules/tests/{inject_checkbox_styles_test.js → inject-checkbox-styles.test.js} +2 -2
- package/scripts/eslint_rules/tests/{inline_type_imports_test.js → inline-type-imports.test.js} +2 -2
- package/scripts/eslint_rules/tests/{jslog_context_list_test.js → jslog-context-list.test.js} +2 -2
- package/scripts/eslint_rules/tests/{l10n_filename_matches_test.js → l10n-filename-matches.test.js} +2 -2
- package/scripts/eslint_rules/tests/{l10n_i18nString_call_only_with_uistrings_test.js → l10n-i18nString-call-only-with-uistrings.test.js} +2 -2
- package/scripts/eslint_rules/tests/{l10n_no_i18nString_calls_module_instantiation_test.js → l10n-no-i18nString-calls-module-instantiation.test.js} +2 -2
- package/scripts/eslint_rules/tests/{l10n_no_locked_or_placeholder_only_phrase_test.js → l10n-no-locked-or-placeholder-only-phrase.test.js} +2 -2
- package/scripts/eslint_rules/tests/{l10n_no_uistrings_export_test.js → l10n-no-uistrings-export.test.js} +2 -2
- package/scripts/eslint_rules/tests/{l10n_no_unused_message_test.js → l10n-no-unused-message.test.js} +2 -2
- package/scripts/eslint_rules/tests/{lit_html_host_this_test.js → lit-html-host-this.test.js} +2 -2
- package/scripts/eslint_rules/tests/{lit_html_no_attribute_quotes_test.js → lit-html-no-attribute-quotes.test.js} +2 -2
- package/scripts/eslint_rules/tests/{lit_template_result_or_nothing_test.js → lit-template-result-or-nothing.test.js} +2 -2
- package/scripts/eslint_rules/tests/{ban_a_tags_in_lit_html_test.js → no-a-tags-in-lit-html.test.js} +2 -2
- package/scripts/eslint_rules/tests/no-assert-deep-strict-equal.test.js +53 -0
- package/scripts/eslint_rules/tests/no-assert-equal-boolean-null-undefined.test.js +209 -0
- package/scripts/eslint_rules/tests/{avoid_assert_equal_test.js → no-assert-equal.test.js} +2 -2
- package/scripts/eslint_rules/tests/no-assert-strict-equal-for-arrays-and-objects.test.js +89 -0
- package/scripts/eslint_rules/tests/{no_bound_component_methods_test.js → no-bound-component-methods.test.js} +2 -2
- package/scripts/eslint_rules/tests/{commented_out_console_test.js → no-commented-out-console.test.js} +2 -2
- package/scripts/eslint_rules/tests/{commented_out_import_test.js → no-commented-out-import.test.js} +2 -2
- package/scripts/eslint_rules/tests/no-customized-builtin-elements.test.js +152 -0
- package/scripts/eslint_rules/tests/{no_importing_images_from_src_test.js → no-importing-images-from-src.test.js} +2 -2
- package/scripts/eslint_rules/tests/{ban_imports_in_directory_test.js → no-imports-in-directory.test.js} +2 -2
- package/scripts/eslint_rules/tests/{no_it_screenshot_only_or_repeat_test.js → no-it-screenshot-only-or-repeat.test.js} +2 -2
- package/scripts/eslint_rules/tests/{ban_new_lit_element_components_test.js → no-new-lit-element-components.test.js} +2 -2
- package/scripts/eslint_rules/tests/{no_only_eslint_tests_test.js → no-only-eslint-tests.test.js} +9 -9
- package/scripts/eslint_rules/tests/{ban_screenshot_test_outside_perf_panel_test.js → no-screenshot-test-outside-perf-panel.test.js} +2 -2
- package/scripts/eslint_rules/tests/{ban_self_closing_custom_element_tagnames_test.js → no-self-closing-custom-element-tagnames.test.js} +2 -2
- package/scripts/eslint_rules/tests/{ban_style_tags_in_lit_html_test.js → no-style-tags-in-lit-html.test.js} +2 -2
- package/scripts/eslint_rules/tests/{no_underscored_properties_test.js → no-underscored-properties.test.js} +2 -2
- package/scripts/eslint_rules/tests/prefer-assert-instance-of.test.js +197 -0
- package/scripts/eslint_rules/tests/prefer-assert-is-ok.test.js +81 -0
- package/scripts/eslint_rules/tests/prefer-assert-length-of.test.js +145 -0
- package/scripts/eslint_rules/tests/{use_private_class_members_test.js → prefer-private-class-members.test.js} +2 -2
- package/scripts/eslint_rules/tests/{prefer_readonly_keyword_test.js → prefer-readonly-keyword.test.js} +31 -15
- package/scripts/eslint_rules/tests/{screenshot_assertion_in_it_screenshot_test.js → screenshot-assertion-in-it-screenshot.test.js} +2 -2
- package/scripts/eslint_rules/tests/{set_data_type_reference_test.js → set-data-type-reference.test.js} +2 -2
- package/scripts/eslint_rules/tests/{single_screenshot_assertion_per_test_test.js → single-screenshot-assertion-per-test.test.js} +2 -2
- package/scripts/eslint_rules/tests/{static_custom_event_names_test.js → static-custom-event-names.test.js} +2 -2
- package/scripts/eslint_rules/tests/{trace_engine_test_timeouts_test.js → trace-engine-test-timeouts.test.js} +2 -2
- package/scripts/generate_metric_compare_strings.js +1 -1
- package/scripts/stylelint_rules/lib/{use_theme_colors.js → use_theme_colors.mjs} +150 -52
- package/scripts/stylelint_rules/tests/use_theme_colors_test.js +102 -42
- package/.eslintignore +0 -41
- package/.eslintrc.js +0 -315
- package/front_end/.eslintrc.js +0 -96
- package/front_end/Images/whatsnew.avif +0 -0
- package/front_end/legacy_test_runner/.eslintrc.js +0 -13
- package/front_end/models/trace/extras/URLForEntry.ts +0 -56
- package/front_end/models/trace/handlers/.eslintrc.js +0 -18
- package/front_end/models/trace/lantern/.eslintrc.js +0 -16
- package/front_end/panels/elements/ComputedStyleWidget.test.ts +0 -72
- package/front_end/panels/elements/components/AdornerSettingsPane.ts +0 -132
- package/front_end/panels/elements/components/adornerSettingsPane.css +0 -40
- package/front_end/panels/freestyler/freestyler.ts +0 -16
- package/front_end/panels/recorder/injected/.eslintrc.js +0 -14
- package/front_end/panels/timeline/ExtensionDataGatherer.ts +0 -65
- package/front_end/panels/timeline/TimelineLandingPage.ts +0 -108
- package/front_end/panels/timeline/fixtures/traces/nested-initiators.json.gz +0 -0
- package/front_end/panels/timeline/fixtures/traces/set-timeout-long-task.json.gz +0 -0
- package/front_end/panels/whats_new/resources/whatsnew.avif +0 -0
- package/front_end/ui/components/dialogs/IconDialog.ts +0 -160
- package/front_end/ui/components/dialogs/iconDialog.css +0 -24
- package/front_end/ui/components/docs/.eslintrc.js +0 -19
- package/front_end/ui/components/docs/icon_dialog/basic.html +0 -28
- package/front_end/ui/components/docs/icon_dialog/basic.ts +0 -46
- package/front_end/ui/components/render_coordinator/RenderCoordinator.ts +0 -331
- package/front_end/ui/legacy/HistoryInput.ts +0 -61
- package/front_end/ui/legacy/components/perf_ui/.eslintrc.js +0 -18
- package/front_end/ui/legacy/radioButton.css +0 -32
- package/front_end/ui/legacy/slider.css +0 -51
- package/front_end/ui/lit-html/static.test.ts +0 -153
- package/front_end/ui/lit-html/static.ts +0 -127
- package/scripts/.eslintrc.js +0 -9
- package/scripts/eslint_rules/lib/compare_arrays_with_assert_deepequal.js +0 -60
- package/scripts/eslint_rules/lib/lit_no_style_interpolation.js +0 -80
- package/scripts/eslint_rules/lib/migrate_create_shadow_root_with_styles.js +0 -110
- package/scripts/eslint_rules/lib/migrate_register_required_css.js +0 -240
- package/scripts/eslint_rules/lib/no_repeated_tests.js +0 -30
- package/scripts/eslint_rules/lib/prefer_readonly_keyword.js +0 -27
- package/scripts/eslint_rules/lib/static_tag_must_be_static_property.js +0 -71
- package/scripts/eslint_rules/tests/.eslintrc.js +0 -18
- package/scripts/eslint_rules/tests/compare_arrays_with_assert_deepequal_test.js +0 -110
- package/scripts/eslint_rules/tests/lit_no_style_interpolation_test.js +0 -60
- package/scripts/eslint_rules/tests/migrate_create_shadow_root_with_styles_test.js +0 -265
- package/scripts/eslint_rules/tests/migrate_register_required_css_test.js +0 -473
- package/scripts/eslint_rules/tests/no_repeated_tests_test.js +0 -49
- package/scripts/eslint_rules/tests/static_tag_must_be_static_property_test.js +0 -93
- /package/front_end/panels/{freestyler → ai_assistance}/ExtensionScope.ts +0 -0
- /package/front_end/panels/{freestyler → ai_assistance}/components/userActionRow.css +0 -0
- /package/front_end/ui/components/docs/{freestyler → ai_assistance}/basic.html +0 -0
- /package/front_end/ui/components/docs/{freestyler → ai_assistance}/empty_state.html +0 -0
- /package/scripts/{freestyler → ai_assistance}/eval/index.html +0 -0
- /package/scripts/{freestyler → ai_assistance}/to_tsv.mjs +0 -0
- /package/scripts/eslint_rules/lib/{canvas_context_tracking.js → canvas-context-tracking.js} +0 -0
- /package/scripts/eslint_rules/lib/{check_css_import.js → check-css-import.js} +0 -0
- /package/scripts/eslint_rules/lib/{check_enumerated_histograms.js → check-enumerated-histograms.js} +0 -0
- /package/scripts/eslint_rules/lib/{check_license_header.js → check-license-header.js} +0 -0
- /package/scripts/eslint_rules/lib/{check_test_definitions.js → check-test-definitions.js} +0 -0
- /package/scripts/eslint_rules/lib/{check_was_shown_methods.js → check-was-shown-methods.js} +0 -0
- /package/scripts/eslint_rules/lib/{enforce_bound_render_for_schedule_render.js → enforce-bound-render-for-schedule-render.js} +0 -0
- /package/scripts/eslint_rules/lib/{enforce_custom_event_names.js → enforce-custom-event-names.js} +0 -0
- /package/scripts/eslint_rules/lib/{enforce_default_import_name.js → enforce-default-import-name.js} +0 -0
- /package/scripts/eslint_rules/lib/{es_modules_import.js → es-modules-import.js} +0 -0
- /package/scripts/eslint_rules/lib/{html_tagged_template.js → html-tagged-template.js} +0 -0
- /package/scripts/eslint_rules/lib/{inject_checkbox_styles.js → inject-checkbox-styles.js} +0 -0
- /package/scripts/eslint_rules/lib/{inline_type_imports.js → inline-type-imports.js} +0 -0
- /package/scripts/eslint_rules/lib/{jslog_context_list.js → jslog-context-list.js} +0 -0
- /package/scripts/eslint_rules/lib/{l10n_filename_matches.js → l10n-filename-matches.js} +0 -0
- /package/scripts/eslint_rules/lib/{l10n_helper.js → l10n-helper.js} +0 -0
- /package/scripts/eslint_rules/lib/{l10n_i18nString_call_only_with_uistrings.js → l10n-i18nString-call-only-with-uistrings.js} +0 -0
- /package/scripts/eslint_rules/lib/{l10n_no_i18nString_calls_module_instantiation.js → l10n-no-i18nString-calls-module-instantiation.js} +0 -0
- /package/scripts/eslint_rules/lib/{lit_html_host_this.js → lit-html-host-this.js} +0 -0
- /package/scripts/eslint_rules/lib/{lit_html_no_attribute_quotes.js → lit-html-no-attribute-quotes.js} +0 -0
- /package/scripts/eslint_rules/lib/{lit_template_result_or_nothing.js → lit-template-result-or-nothing.js} +0 -0
- /package/scripts/eslint_rules/lib/{avoid_assert_equal.js → no-assert-equal.js} +0 -0
- /package/scripts/eslint_rules/lib/{no_bound_component_methods.js → no-bound-component-methods.js} +0 -0
- /package/scripts/eslint_rules/lib/{commented_out_console.js → no-commented-out-console.js} +0 -0
- /package/scripts/eslint_rules/lib/{commented_out_import.js → no-commented-out-import.js} +0 -0
- /package/scripts/eslint_rules/lib/{no_importing_images_from_src.js → no-importing-images-from-src.js} +0 -0
- /package/scripts/eslint_rules/lib/{no_it_screenshot_only_or_repeat.js → no-it-screenshot-only-or-repeat.js} +0 -0
- /package/scripts/eslint_rules/lib/{no_only_eslint_tests.js → no-only-eslint-tests.js} +0 -0
- /package/scripts/eslint_rules/lib/{ban_screenshot_test_outside_perf_panel.js → no-screenshot-test-outside-perf-panel.js} +0 -0
- /package/scripts/eslint_rules/lib/{ban_self_closing_custom_element_tagnames.js → no-self-closing-custom-element-tagnames.js} +0 -0
- /package/scripts/eslint_rules/lib/{no_underscored_properties.js → no-underscored-properties.js} +0 -0
- /package/scripts/eslint_rules/lib/{screenshot_assertion_in_it_screenshot.js → screenshot-assertion-in-it-screenshot.js} +0 -0
- /package/scripts/eslint_rules/lib/{set_data_type_reference.js → set-data-type-reference.js} +0 -0
- /package/scripts/eslint_rules/lib/{single_screenshot_assertion_per_test.js → single-screenshot-assertion-per-test.js} +0 -0
- /package/scripts/eslint_rules/lib/{static_custom_event_names.js → static-custom-event-names.js} +0 -0
- /package/scripts/eslint_rules/lib/{trace_engine_test_timeouts.js → trace-engine-test-timeouts.js} +0 -0
- /package/scripts/eslint_rules/tests/{enforce-optional-properties-last_test.js → enforce-optional-properties-last.test.js} +0 -0
- /package/scripts/eslint_rules/tests/{utils_test.js → utils.test.js} +0 -0
@@ -40,13 +40,14 @@ import * as Platform from '../../core/platform/platform.js';
|
|
40
40
|
import * as Root from '../../core/root/root.js';
|
41
41
|
import * as SDK from '../../core/sdk/sdk.js';
|
42
42
|
import type * as Protocol from '../../generated/protocol.js';
|
43
|
-
import * as
|
43
|
+
import * as CrUXManager from '../../models/crux-manager/crux-manager.js';
|
44
44
|
import * as Trace from '../../models/trace/trace.js';
|
45
45
|
import * as Workspace from '../../models/workspace/workspace.js';
|
46
46
|
import * as TraceBounds from '../../services/trace_bounds/trace_bounds.js';
|
47
47
|
import * as Adorners from '../../ui/components/adorners/adorners.js';
|
48
48
|
import type * as Buttons from '../../ui/components/buttons/buttons.js';
|
49
|
-
import * as
|
49
|
+
import * as Dialogs from '../../ui/components/dialogs/dialogs.js';
|
50
|
+
import * as LegacyWrapper from '../../ui/components/legacy_wrapper/legacy_wrapper.js';
|
50
51
|
import * as PerfUI from '../../ui/legacy/components/perf_ui/perf_ui.js';
|
51
52
|
import * as UI from '../../ui/legacy/legacy.js';
|
52
53
|
import * as ThemeSupport from '../../ui/legacy/theme_support/theme_support.js';
|
@@ -69,7 +70,6 @@ import {type Client, TimelineController} from './TimelineController.js';
|
|
69
70
|
import type {TimelineFlameChartDataProvider} from './TimelineFlameChartDataProvider.js';
|
70
71
|
import {TimelineFlameChartView} from './TimelineFlameChartView.js';
|
71
72
|
import {TimelineHistoryManager} from './TimelineHistoryManager.js';
|
72
|
-
import {TimelineLandingPage} from './TimelineLandingPage.js';
|
73
73
|
import {TimelineLoader} from './TimelineLoader.js';
|
74
74
|
import {TimelineMiniMap} from './TimelineMiniMap.js';
|
75
75
|
import timelinePanelStyles from './timelinePanel.css.js';
|
@@ -257,11 +257,6 @@ const UIStrings = {
|
|
257
257
|
*@description Text of an item that stops the running task
|
258
258
|
*/
|
259
259
|
stop: 'Stop',
|
260
|
-
/**
|
261
|
-
*@description Time text content in Timeline Panel of the Performance panel
|
262
|
-
*@example {2.12} PH1
|
263
|
-
*/
|
264
|
-
ssec: '{PH1} sec',
|
265
260
|
/**
|
266
261
|
*
|
267
262
|
* @description Text for exporting basic traces
|
@@ -279,7 +274,7 @@ const UIStrings = {
|
|
279
274
|
/**
|
280
275
|
Label for a checkbox that toggles the visibility of data added by extensions of this panel (Performance).
|
281
276
|
*/
|
282
|
-
|
277
|
+
showCustomtracks: 'Show custom tracks',
|
283
278
|
|
284
279
|
/**
|
285
280
|
* @description Tooltip for the the sidebar toggle in the Performance panel. Command to open/show the sidebar.
|
@@ -334,6 +329,10 @@ const UIStrings = {
|
|
334
329
|
* @description Description of the Timeline right/left panning action that appears in the Performance panel shortcuts dialog.
|
335
330
|
*/
|
336
331
|
timelinePanLeftRight: 'Timeline right/left',
|
332
|
+
/**
|
333
|
+
* @description Title for the Dim 3rd Parties checkbox.
|
334
|
+
*/
|
335
|
+
dimThirdParties: 'Dim 3rd Parties',
|
337
336
|
};
|
338
337
|
const str_ = i18n.i18n.registerUIStrings('panels/timeline/TimelinePanel.ts', UIStrings);
|
339
338
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
@@ -379,6 +378,7 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
379
378
|
private readonly timelinePane: UI.Widget.VBox;
|
380
379
|
readonly #minimapComponent = new TimelineMiniMap();
|
381
380
|
#viewMode: ViewMode = {mode: 'LANDING_PAGE'};
|
381
|
+
readonly #dimThirdPartiesSetting: Common.Settings.Setting<boolean>|null = null;
|
382
382
|
|
383
383
|
/**
|
384
384
|
* We get given any filters for a new trace when it is recorded/imported.
|
@@ -416,8 +416,8 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
416
416
|
private loader?: TimelineLoader;
|
417
417
|
private showScreenshotsToolbarCheckbox?: UI.Toolbar.ToolbarItem;
|
418
418
|
private showMemoryToolbarCheckbox?: UI.Toolbar.ToolbarItem;
|
419
|
-
private networkThrottlingSelect?:
|
420
|
-
private cpuThrottlingSelect?:
|
419
|
+
private networkThrottlingSelect?: MobileThrottling.ThrottlingManager.NetworkThrottlingSelectorWrapper;
|
420
|
+
private cpuThrottlingSelect?: MobileThrottling.ThrottlingManager.CPUThrottlingSelectorWrapper;
|
421
421
|
private fileSelectorElement?: HTMLInputElement;
|
422
422
|
private selection: TimelineSelection|null = null;
|
423
423
|
private traceLoadStart!: Trace.Types.Timing.MilliSeconds|null;
|
@@ -429,6 +429,7 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
429
429
|
|
430
430
|
#traceEngineModel: Trace.TraceModel.Model;
|
431
431
|
#sourceMapsResolver: Utils.SourceMapsResolver.SourceMapsResolver|null = null;
|
432
|
+
#entityMapper: Utils.EntityMapper.EntityMapper|null = null;
|
432
433
|
#onSourceMapsNodeNamesResolvedBound = this.#onSourceMapsNodeNamesResolved.bind(this);
|
433
434
|
readonly #onChartPlayableStateChangeBound: (event: Common.EventTarget.EventTargetEvent<boolean>) => void;
|
434
435
|
#sidebarToggleButton = this.#splitWidget.createShowHideSidebarButton(
|
@@ -463,7 +464,22 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
463
464
|
#pendingAriaMessage: string|null = null;
|
464
465
|
|
465
466
|
#eventToRelatedInsights: TimelineComponents.RelatedInsightChips.EventToRelatedInsightsMap = new Map();
|
466
|
-
#shortcutsDialog:
|
467
|
+
#shortcutsDialog: Dialogs.ShortcutDialog.ShortcutDialog = new Dialogs.ShortcutDialog.ShortcutDialog();
|
468
|
+
/**
|
469
|
+
* Track if the user has opened the shortcuts dialog before. We do this so that the
|
470
|
+
* very first time the performance panel is open after the shortcuts dialog ships, we can
|
471
|
+
* automatically pop it open to aid discovery.
|
472
|
+
*/
|
473
|
+
#userHadShortcutsDialogOpenedOnce = Common.Settings.Settings.instance().createSetting<boolean>(
|
474
|
+
'timeline.user-had-shortcuts-dialog-opened-once', false);
|
475
|
+
/**
|
476
|
+
* Navigation radio buttons located in the shortcuts dialog.
|
477
|
+
*/
|
478
|
+
#navigationRadioButtons = document.createElement('form');
|
479
|
+
#modernNavRadioButton =
|
480
|
+
UI.UIUtils.createRadioButton('flamechart-selected-navigation', 'Modern', 'timeline.select-modern-navigation');
|
481
|
+
#classicNavRadioButton =
|
482
|
+
UI.UIUtils.createRadioButton('flamechart-selected-navigation', 'Classic', 'timeline.select-classic-navigation');
|
467
483
|
|
468
484
|
#onMainEntryHovered: (event: Common.EventTarget.EventTargetEvent<number>) => void;
|
469
485
|
|
@@ -502,7 +518,7 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
502
518
|
this.toggleRecordAction = UI.ActionRegistry.ActionRegistry.instance().getAction('timeline.toggle-recording');
|
503
519
|
this.recordReloadAction = UI.ActionRegistry.ActionRegistry.instance().getAction('timeline.record-reload');
|
504
520
|
|
505
|
-
this.#historyManager = new TimelineHistoryManager(this.#minimapComponent);
|
521
|
+
this.#historyManager = new TimelineHistoryManager(this.#minimapComponent, isNode);
|
506
522
|
|
507
523
|
this.traceLoadStart = null;
|
508
524
|
|
@@ -525,9 +541,16 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
525
541
|
this.showMemorySetting.setTitle(i18nString(UIStrings.memory));
|
526
542
|
this.showMemorySetting.addChangeListener(this.onMemoryModeChanged, this);
|
527
543
|
|
544
|
+
if (Root.Runtime.experiments.isEnabled(Root.Runtime.ExperimentName.TIMELINE_THIRD_PARTY_DEPENDENCIES)) {
|
545
|
+
this.#dimThirdPartiesSetting =
|
546
|
+
Common.Settings.Settings.instance().createSetting('timeline-dim-third-parties', false);
|
547
|
+
this.#dimThirdPartiesSetting.setTitle(i18nString(UIStrings.dimThirdParties));
|
548
|
+
this.#dimThirdPartiesSetting.addChangeListener(this.onDimThirdPartiesChanged, this);
|
549
|
+
}
|
550
|
+
|
528
551
|
this.#thirdPartyTracksSetting = TimelinePanel.extensionDataVisibilitySetting();
|
529
552
|
this.#thirdPartyTracksSetting.addChangeListener(this.#extensionDataVisibilityChanged, this);
|
530
|
-
this.#thirdPartyTracksSetting.setTitle(i18nString(UIStrings.
|
553
|
+
this.#thirdPartyTracksSetting.setTitle(i18nString(UIStrings.showCustomtracks));
|
531
554
|
|
532
555
|
const timelineToolbarContainer = this.element.createChild('div', 'timeline-toolbar-container');
|
533
556
|
timelineToolbarContainer.setAttribute('jslog', `${VisualLogging.toolbar()}`);
|
@@ -571,6 +594,7 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
571
594
|
|
572
595
|
this.searchableViewInternal = new UI.SearchableView.SearchableView(this.flameChart, null);
|
573
596
|
this.searchableViewInternal.setMinimumSize(0, 100);
|
597
|
+
this.searchableViewInternal.setMinimalSearchQuerySize(2); // At 1 it can introduce a bit of jank.
|
574
598
|
this.searchableViewInternal.element.classList.add('searchable-view');
|
575
599
|
this.searchableViewInternal.show(this.timelinePane.element);
|
576
600
|
this.flameChart.show(this.searchableViewInternal.element);
|
@@ -584,7 +608,10 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
584
608
|
|
585
609
|
this.flameChart.overlays().addEventListener(Overlays.Overlays.TimeRangeMouseOverEvent.eventName, event => {
|
586
610
|
const {overlay} = event as Overlays.Overlays.TimeRangeMouseOverEvent;
|
587
|
-
const overlayBounds =
|
611
|
+
const overlayBounds = Overlays.Overlays.traceWindowContainingOverlays([overlay]);
|
612
|
+
if (!overlayBounds) {
|
613
|
+
return;
|
614
|
+
}
|
588
615
|
this.#minimapComponent.highlightBounds(overlayBounds, /* withBracket */ false);
|
589
616
|
});
|
590
617
|
|
@@ -606,7 +633,7 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
606
633
|
|
607
634
|
this.flameChart.setOverlays(overlays, options);
|
608
635
|
|
609
|
-
const overlaysBounds =
|
636
|
+
const overlaysBounds = Overlays.Overlays.traceWindowContainingOverlays(overlays);
|
610
637
|
if (overlaysBounds) {
|
611
638
|
this.#minimapComponent.highlightBounds(overlaysBounds, /* withBracket */ true);
|
612
639
|
} else {
|
@@ -684,7 +711,7 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
684
711
|
}
|
685
712
|
|
686
713
|
#setActiveInsight(insight: TimelineComponents.Sidebar.ActiveInsight|null): void {
|
687
|
-
if (insight
|
714
|
+
if (insight) {
|
688
715
|
this.#splitWidget.showBoth();
|
689
716
|
}
|
690
717
|
this.#sideBar.setActiveInsight(insight);
|
@@ -729,11 +756,24 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
729
756
|
this.registerCSSFiles([timelinePanelStyles]);
|
730
757
|
// Record the performance tool load time.
|
731
758
|
Host.userMetrics.panelLoaded('timeline', 'DevTools.Launch.Timeline');
|
759
|
+
|
760
|
+
const cruxManager = CrUXManager.CrUXManager.instance();
|
761
|
+
cruxManager.addEventListener(CrUXManager.Events.FIELD_DATA_CHANGED, this.#onFieldDataChanged, this);
|
762
|
+
this.#onFieldDataChanged();
|
732
763
|
}
|
733
764
|
|
734
765
|
override willHide(): void {
|
735
766
|
UI.Context.Context.instance().setFlavor(TimelinePanel, null);
|
736
767
|
this.#historyManager.cancelIfShowing();
|
768
|
+
|
769
|
+
const cruxManager = CrUXManager.CrUXManager.instance();
|
770
|
+
cruxManager.removeEventListener(CrUXManager.Events.FIELD_DATA_CHANGED, this.#onFieldDataChanged, this);
|
771
|
+
}
|
772
|
+
|
773
|
+
#onFieldDataChanged(): void {
|
774
|
+
const recs = Utils.Helpers.getThrottlingRecommendations();
|
775
|
+
this.cpuThrottlingSelect?.updateRecommendedRate(recs.cpuRate);
|
776
|
+
this.networkThrottlingSelect?.updateRecommendedConditions(recs.networkConditions);
|
737
777
|
}
|
738
778
|
|
739
779
|
loadFromEvents(events: Trace.Types.Events.Event[]): void {
|
@@ -854,6 +894,7 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
854
894
|
this.#setModelForActiveTrace();
|
855
895
|
this.#removeStatusPane();
|
856
896
|
this.#showSidebarIfRequired();
|
897
|
+
this.#dimThirdPartiesIfRequired(newMode.traceIndex);
|
857
898
|
return;
|
858
899
|
}
|
859
900
|
|
@@ -960,26 +1001,14 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
960
1001
|
this.updateTimelineControls();
|
961
1002
|
}
|
962
1003
|
|
963
|
-
private createSettingCheckbox(setting: Common.Settings.Setting<boolean>, tooltip:
|
1004
|
+
private createSettingCheckbox(setting: Common.Settings.Setting<boolean>, tooltip: Platform.UIString.LocalizedString):
|
1005
|
+
UI.Toolbar.ToolbarItem {
|
964
1006
|
const checkboxItem = new UI.Toolbar.ToolbarSettingCheckbox(setting, tooltip);
|
965
1007
|
this.recordingOptionUIControls.push(checkboxItem);
|
966
1008
|
return checkboxItem;
|
967
1009
|
}
|
968
1010
|
|
969
|
-
/**
|
970
|
-
* Users don't explicitly opt in to the sidebar, but if they opt into either
|
971
|
-
* Insights or Annotations, we will show the sidebar.
|
972
|
-
*/
|
973
|
-
#panelSidebarEnabled(): boolean {
|
974
|
-
const sidebarEnabled = Root.Runtime.experiments.isEnabled(Root.Runtime.ExperimentName.TIMELINE_INSIGHTS) ||
|
975
|
-
Root.Runtime.experiments.isEnabled(Root.Runtime.ExperimentName.TIMELINE_ANNOTATIONS);
|
976
|
-
return sidebarEnabled;
|
977
|
-
}
|
978
1011
|
#addSidebarIconToToolbar(): void {
|
979
|
-
if (!this.#panelSidebarEnabled()) {
|
980
|
-
return;
|
981
|
-
}
|
982
|
-
|
983
1012
|
if (this.panelToolbar.hasItem(this.#sidebarToggleButton)) {
|
984
1013
|
return;
|
985
1014
|
}
|
@@ -995,14 +1024,18 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
995
1024
|
this.panelToolbar.removeToolbarItem(this.#sidebarToggleButton);
|
996
1025
|
}
|
997
1026
|
|
998
|
-
|
1027
|
+
#populateDownloadMenu(contextMenu: UI.ContextMenu.ContextMenu): void {
|
999
1028
|
contextMenu.viewSection().appendItem(i18nString(UIStrings.saveTraceWithAnnotationsMenuOption), () => {
|
1000
1029
|
Host.userMetrics.actionTaken(Host.UserMetrics.Action.PerfPanelTraceExported);
|
1001
1030
|
void this.saveToFile(/* isEnhancedTraces */ false, /* addModifications */ true);
|
1031
|
+
}, {
|
1032
|
+
jslogContext: 'timeline.save-to-file-with-annotations',
|
1002
1033
|
});
|
1003
1034
|
contextMenu.viewSection().appendItem(i18nString(UIStrings.saveTraceWithoutAnnotationsMenuOption), () => {
|
1004
1035
|
Host.userMetrics.actionTaken(Host.UserMetrics.Action.PerfPanelTraceExported);
|
1005
1036
|
void this.saveToFile();
|
1037
|
+
}, {
|
1038
|
+
jslogContext: 'timeline.save-to-file-without-annotations',
|
1006
1039
|
});
|
1007
1040
|
}
|
1008
1041
|
|
@@ -1022,18 +1055,9 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
1022
1055
|
this.selectFileToLoad();
|
1023
1056
|
});
|
1024
1057
|
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
this.saveButton.setTitle(i18nString(UIStrings.saveProfile));
|
1029
|
-
} else {
|
1030
|
-
this.saveButton = new UI.Toolbar.ToolbarButton(
|
1031
|
-
i18nString(UIStrings.saveProfile), 'download', undefined, 'timeline.save-to-file');
|
1032
|
-
this.saveButton.addEventListener(UI.Toolbar.ToolbarButton.Events.CLICK, _event => {
|
1033
|
-
Host.userMetrics.actionTaken(Host.UserMetrics.Action.PerfPanelTraceExported);
|
1034
|
-
void this.saveToFile();
|
1035
|
-
});
|
1036
|
-
}
|
1058
|
+
this.saveButton = new UI.Toolbar.ToolbarMenuButton(
|
1059
|
+
this.#populateDownloadMenu.bind(this), true, true, 'timeline.save-to-file-more-options', 'download');
|
1060
|
+
this.saveButton.setTitle(i18nString(UIStrings.saveProfile));
|
1037
1061
|
|
1038
1062
|
if (Root.Runtime.experiments.isEnabled(Root.Runtime.ExperimentName.TIMELINE_ENHANCED_TRACES)) {
|
1039
1063
|
this.saveButton.element.addEventListener('contextmenu', event => {
|
@@ -1063,7 +1087,7 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
1063
1087
|
// History
|
1064
1088
|
this.panelToolbar.appendSeparator();
|
1065
1089
|
|
1066
|
-
if (
|
1090
|
+
if (!isNode) {
|
1067
1091
|
this.homeButton = new UI.Toolbar.ToolbarButton(
|
1068
1092
|
i18nString(UIStrings.backToLiveMetrics), 'home', undefined, 'timeline.back-to-live-metrics');
|
1069
1093
|
this.homeButton.addEventListener(UI.Toolbar.ToolbarButton.Events.CLICK, () => {
|
@@ -1093,9 +1117,21 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
1093
1117
|
// GC
|
1094
1118
|
this.panelToolbar.appendToolbarItem(UI.Toolbar.Toolbar.createActionButtonForId('components.collect-garbage'));
|
1095
1119
|
|
1120
|
+
// Ignore list setting
|
1121
|
+
this.panelToolbar.appendSeparator();
|
1122
|
+
const showIgnoreListSetting = new TimelineComponents.IgnoreListSetting.IgnoreListSetting();
|
1123
|
+
this.panelToolbar.appendToolbarItem(new UI.Toolbar.ToolbarItem(showIgnoreListSetting));
|
1124
|
+
|
1125
|
+
if (Root.Runtime.experiments.isEnabled(Root.Runtime.ExperimentName.TIMELINE_THIRD_PARTY_DEPENDENCIES) &&
|
1126
|
+
this.#dimThirdPartiesSetting) {
|
1127
|
+
const dimThirdPartiesCheckbox =
|
1128
|
+
this.createSettingCheckbox(this.#dimThirdPartiesSetting, i18nString(UIStrings.dimThirdParties));
|
1129
|
+
this.panelToolbar.appendToolbarItem(dimThirdPartiesCheckbox);
|
1130
|
+
}
|
1131
|
+
|
1096
1132
|
// Isolate selector
|
1097
|
-
const isolateSelector = new IsolateSelector();
|
1098
1133
|
if (isNode) {
|
1134
|
+
const isolateSelector = new IsolateSelector();
|
1099
1135
|
this.panelToolbar.appendSeparator();
|
1100
1136
|
this.panelToolbar.appendToolbarItem(isolateSelector);
|
1101
1137
|
}
|
@@ -1107,54 +1143,82 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
1107
1143
|
}
|
1108
1144
|
|
1109
1145
|
if (Root.Runtime.experiments.isEnabled(Root.Runtime.ExperimentName.TIMELINE_ALTERNATIVE_NAVIGATION)) {
|
1110
|
-
this.#
|
1146
|
+
this.#setupNavigationSetting();
|
1147
|
+
this.#shortcutsDialog.prependElement(this.#navigationRadioButtons);
|
1111
1148
|
const dialogToolbarItem = new UI.Toolbar.ToolbarItem(this.#shortcutsDialog);
|
1149
|
+
dialogToolbarItem.element.setAttribute(
|
1150
|
+
'jslog', `${VisualLogging.action().track({click: true}).context('timeline.shortcuts-dialog-toggle')}`);
|
1112
1151
|
this.panelRightToolbar.appendToolbarItem(dialogToolbarItem);
|
1152
|
+
// The setting could have been changed from the Devtools Settings. Therefore, we
|
1153
|
+
// need to update the radio buttons selection when the dialog is open.
|
1154
|
+
this.#shortcutsDialog.addEventListener('click', this.#updateNavigationSettingSelection.bind(this));
|
1113
1155
|
}
|
1114
1156
|
}
|
1115
1157
|
|
1116
|
-
#
|
1158
|
+
#setupNavigationSetting(): HTMLElement {
|
1117
1159
|
const currentNavSetting = Common.Settings.moduleSetting('flamechart-selected-navigation').get();
|
1118
|
-
|
1160
|
+
const hideTheDialogForTests: string|null = localStorage.getItem('hide-shortcuts-dialog-for-test');
|
1161
|
+
const userHadShortcutsDialogOpenedOnce = this.#userHadShortcutsDialogOpenedOnce.get();
|
1162
|
+
|
1163
|
+
this.#shortcutsDialog.data = {
|
1164
|
+
shortcuts: this.#getShortcutsInfo(currentNavSetting === 'classic'),
|
1165
|
+
open: !userHadShortcutsDialogOpenedOnce && hideTheDialogForTests !== 'true' &&
|
1166
|
+
!Host.InspectorFrontendHost.isUnderTest(),
|
1167
|
+
};
|
1119
1168
|
|
1120
|
-
|
1121
|
-
|
1122
|
-
UI.ARIAUtils.markAsRadioGroup(navigationRadioButtons);
|
1123
|
-
const modernNavRadioButton = UI.UIUtils.createRadioLabel(
|
1124
|
-
'flamechart-selected-navigation', 'Modern', /* checked */ currentNavSetting === 'modern');
|
1169
|
+
this.#navigationRadioButtons.classList.add('nav-radio-buttons');
|
1170
|
+
UI.ARIAUtils.markAsRadioGroup(this.#navigationRadioButtons);
|
1125
1171
|
// Change EventListener is only triggered when the radio button is selected
|
1126
|
-
modernNavRadioButton.
|
1172
|
+
this.#modernNavRadioButton.radio.addEventListener('change', () => {
|
1127
1173
|
this.#shortcutsDialog.data = {shortcuts: this.#getShortcutsInfo(/* isNavClassic */ false)};
|
1128
1174
|
Common.Settings.moduleSetting('flamechart-selected-navigation').set('modern');
|
1129
1175
|
});
|
1130
|
-
|
1131
|
-
'flamechart-selected-navigation', 'Classic', /* checked */ currentNavSetting === 'classic');
|
1132
|
-
classicNavRadioButton.radioElement.addEventListener('change', () => {
|
1176
|
+
this.#classicNavRadioButton.radio.addEventListener('change', () => {
|
1133
1177
|
this.#shortcutsDialog.data = {shortcuts: this.#getShortcutsInfo(/* isNavClassic */ true)};
|
1134
1178
|
Common.Settings.moduleSetting('flamechart-selected-navigation').set('classic');
|
1135
1179
|
});
|
1136
1180
|
|
1137
|
-
navigationRadioButtons.appendChild(modernNavRadioButton);
|
1138
|
-
navigationRadioButtons.appendChild(classicNavRadioButton);
|
1181
|
+
this.#navigationRadioButtons.appendChild(this.#modernNavRadioButton.label);
|
1182
|
+
this.#navigationRadioButtons.appendChild(this.#classicNavRadioButton.label);
|
1139
1183
|
|
1140
|
-
|
1184
|
+
this.#userHadShortcutsDialogOpenedOnce.set(true);
|
1185
|
+
return this.#navigationRadioButtons;
|
1141
1186
|
}
|
1142
1187
|
|
1143
|
-
#
|
1188
|
+
#updateNavigationSettingSelection(): void {
|
1189
|
+
const currentNavSetting = Common.Settings.moduleSetting('flamechart-selected-navigation').get();
|
1190
|
+
if (currentNavSetting === 'classic') {
|
1191
|
+
this.#classicNavRadioButton.radio.checked = true;
|
1192
|
+
Host.userMetrics.navigationSettingAtFirstTimelineLoad(
|
1193
|
+
Host.UserMetrics.TimelineNavigationSetting.SWITCHED_TO_CLASSIC);
|
1194
|
+
} else if (currentNavSetting === 'modern') {
|
1195
|
+
this.#modernNavRadioButton.radio.checked = true;
|
1196
|
+
Host.userMetrics.navigationSettingAtFirstTimelineLoad(
|
1197
|
+
Host.UserMetrics.TimelineNavigationSetting.SWITCHED_TO_MODERN);
|
1198
|
+
}
|
1199
|
+
}
|
1200
|
+
|
1201
|
+
#getShortcutsInfo(isNavClassic: boolean): Dialogs.ShortcutDialog.Shortcut[] {
|
1144
1202
|
if (isNavClassic) {
|
1145
1203
|
return [
|
1146
|
-
{title: i18nString(UIStrings.timelineScrollUpDown), bindings: ['Shift Scroll']},
|
1147
|
-
{title: i18nString(UIStrings.timelineZoomInOut), bindings: ['Scroll', 'W/S']},
|
1148
|
-
{title: i18nString(UIStrings.timelineFastZoomInOut), bindings: ['Shift W/S']},
|
1149
|
-
{title: i18nString(UIStrings.timelinePanLeftRight), bindings: ['A/D']},
|
1204
|
+
{title: i18nString(UIStrings.timelineScrollUpDown), bindings: [['Shift', 'Scroll'], ['Shift', '↑/↓']]},
|
1205
|
+
{title: i18nString(UIStrings.timelineZoomInOut), bindings: [['Scroll'], ['W/S'], ['+/-']]},
|
1206
|
+
{title: i18nString(UIStrings.timelineFastZoomInOut), bindings: [['Shift', 'W/S'], ['Shift', '+/-']]},
|
1207
|
+
{title: i18nString(UIStrings.timelinePanLeftRight), bindings: [['Shift', '←/→'], ['A/D']]},
|
1150
1208
|
];
|
1151
1209
|
}
|
1152
1210
|
|
1153
1211
|
return [
|
1154
|
-
{title: i18nString(UIStrings.timelineScrollUpDown), bindings: ['Scroll', 'Shift
|
1155
|
-
{
|
1156
|
-
|
1157
|
-
|
1212
|
+
{title: i18nString(UIStrings.timelineScrollUpDown), bindings: [['Scroll'], ['Shift', '↑/↓']]},
|
1213
|
+
{
|
1214
|
+
title: i18nString(UIStrings.timelineZoomInOut),
|
1215
|
+
bindings: [[Host.Platform.isMac() ? '⌘' : 'Ctrl', 'Scroll'], ['W/S'], ['+/-']],
|
1216
|
+
},
|
1217
|
+
{title: i18nString(UIStrings.timelineFastZoomInOut), bindings: [['Shift', 'W/S'], ['Shift', '+/-']]},
|
1218
|
+
{
|
1219
|
+
title: i18nString(UIStrings.timelinePanLeftRight),
|
1220
|
+
bindings: [['Shift', 'Scroll'], ['Shift', '←/→'], ['A/D']],
|
1221
|
+
},
|
1158
1222
|
];
|
1159
1223
|
}
|
1160
1224
|
|
@@ -1196,12 +1260,13 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
1196
1260
|
const cpuThrottlingToolbar = new UI.Toolbar.Toolbar('', throttlingPane.element);
|
1197
1261
|
cpuThrottlingToolbar.appendText(i18nString(UIStrings.cpu));
|
1198
1262
|
this.cpuThrottlingSelect = MobileThrottling.ThrottlingManager.throttlingManager().createCPUThrottlingSelector();
|
1199
|
-
|
1263
|
+
this.cpuThrottlingSelect.control.setMinWidth(200);
|
1264
|
+
this.cpuThrottlingSelect.control.setMaxWidth(200);
|
1265
|
+
cpuThrottlingToolbar.appendToolbarItem(this.cpuThrottlingSelect.control);
|
1200
1266
|
|
1201
1267
|
const networkThrottlingToolbar = new UI.Toolbar.Toolbar('', throttlingPane.element);
|
1202
1268
|
networkThrottlingToolbar.appendText(i18nString(UIStrings.network));
|
1203
|
-
|
1204
|
-
networkThrottlingToolbar.appendToolbarItem(this.networkThrottlingSelect);
|
1269
|
+
networkThrottlingToolbar.appendToolbarItem(this.createNetworkConditionsSelectToolbarItem());
|
1205
1270
|
|
1206
1271
|
const thirdPartyToolbar = new UI.Toolbar.Toolbar('', throttlingPane.element);
|
1207
1272
|
thirdPartyToolbar.makeVertical();
|
@@ -1218,11 +1283,13 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
1218
1283
|
this.updateSettingsPaneVisibility();
|
1219
1284
|
}
|
1220
1285
|
|
1221
|
-
private
|
1286
|
+
private createNetworkConditionsSelectToolbarItem(): UI.Toolbar.ToolbarComboBox {
|
1222
1287
|
const toolbarItem = new UI.Toolbar.ToolbarComboBox(null, i18nString(UIStrings.networkConditions));
|
1223
|
-
toolbarItem.
|
1224
|
-
|
1225
|
-
|
1288
|
+
toolbarItem.setMinWidth(200);
|
1289
|
+
toolbarItem.setMaxWidth(200);
|
1290
|
+
this.networkThrottlingSelect =
|
1291
|
+
MobileThrottling.ThrottlingManager.throttlingManager().createNetworkThrottlingSelector(
|
1292
|
+
toolbarItem.selectElement());
|
1226
1293
|
return toolbarItem;
|
1227
1294
|
}
|
1228
1295
|
|
@@ -1261,9 +1328,8 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
1261
1328
|
}
|
1262
1329
|
const traceEvents = this.#traceEngineModel.rawTraceEvents(this.#viewMode.traceIndex);
|
1263
1330
|
const metadata = this.#traceEngineModel.metadata(this.#viewMode.traceIndex);
|
1264
|
-
|
1265
|
-
if (
|
1266
|
-
addModifications) {
|
1331
|
+
|
1332
|
+
if (metadata && addModifications) {
|
1267
1333
|
metadata.modifications = ModificationsManager.activeManager()?.toJSON();
|
1268
1334
|
} else if (metadata) {
|
1269
1335
|
delete metadata.modifications;
|
@@ -1372,11 +1438,44 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
1372
1438
|
if (this.state !== State.IDLE) {
|
1373
1439
|
return;
|
1374
1440
|
}
|
1375
|
-
|
1376
|
-
|
1441
|
+
const maximumTraceFileLengthToDetermineEnhancedTraces = 5000;
|
1442
|
+
// We are expecting to locate the enhanced traces version within the first 5000
|
1443
|
+
// characters of the trace file if the given trace file is enhanced traces.
|
1444
|
+
// Doing so can avoid serializing the whole trace while needing to serialize
|
1445
|
+
// it again in rehydrated session for enhanced traces.
|
1446
|
+
const blob = file.slice(0, maximumTraceFileLengthToDetermineEnhancedTraces);
|
1447
|
+
const content = await blob.text();
|
1448
|
+
if (content.includes('enhancedTraceVersion')) {
|
1449
|
+
await window.scheduler?.postTask(() => {
|
1450
|
+
this.#launchRehydratedSession(file);
|
1451
|
+
}, {priority: 'background'});
|
1452
|
+
} else {
|
1453
|
+
this.loader = await TimelineLoader.loadFromFile(file, this);
|
1454
|
+
this.prepareToLoadTimeline();
|
1455
|
+
}
|
1377
1456
|
this.createFileSelector();
|
1378
1457
|
}
|
1379
1458
|
|
1459
|
+
#launchRehydratedSession(file: File): void {
|
1460
|
+
let rehydratingWindow: Window|null = null;
|
1461
|
+
let pathToLaunch: string|null = null;
|
1462
|
+
const url = new URL(window.location.href);
|
1463
|
+
const pathToEntrypoint = url.pathname.slice(0, url.pathname.lastIndexOf('/'));
|
1464
|
+
url.pathname = `${pathToEntrypoint}/rehydrated_devtools_app.html`;
|
1465
|
+
pathToLaunch = url.toString();
|
1466
|
+
|
1467
|
+
// Clarifying the window the code is referring to
|
1468
|
+
const hostWindow = window;
|
1469
|
+
function onMessageHandler(ev: MessageEvent): void {
|
1470
|
+
if (url && ev.data && ev.data.type === 'REHYDRATING_WINDOW_READY') {
|
1471
|
+
rehydratingWindow?.postMessage({type: 'REHYDRATING_TRACE_FILE', traceFile: file}, url.origin);
|
1472
|
+
}
|
1473
|
+
hostWindow.removeEventListener('message', onMessageHandler);
|
1474
|
+
}
|
1475
|
+
hostWindow.addEventListener('message', onMessageHandler);
|
1476
|
+
rehydratingWindow = hostWindow.open(pathToLaunch, /* target: */ undefined, 'noopener=false,popup=true');
|
1477
|
+
}
|
1478
|
+
|
1380
1479
|
async loadFromURL(url: Platform.DevToolsPath.UrlString): Promise<void> {
|
1381
1480
|
if (this.state !== State.IDLE) {
|
1382
1481
|
return;
|
@@ -1414,6 +1513,13 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
1414
1513
|
this.select(null);
|
1415
1514
|
}
|
1416
1515
|
|
1516
|
+
private onDimThirdPartiesChanged(): void {
|
1517
|
+
if (this.#viewMode.mode !== 'VIEWING_TRACE') {
|
1518
|
+
return;
|
1519
|
+
}
|
1520
|
+
this.#dimThirdPartiesIfRequired(this.#viewMode.traceIndex);
|
1521
|
+
}
|
1522
|
+
|
1417
1523
|
#extensionDataVisibilityChanged(): void {
|
1418
1524
|
this.flameChart.extensionDataVisibilityChanged();
|
1419
1525
|
}
|
@@ -1666,8 +1772,6 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
1666
1772
|
await this.loadingComplete(
|
1667
1773
|
/* no collectedEvents */[],
|
1668
1774
|
/* exclusiveFilter= */ null,
|
1669
|
-
/* isCpuProfile= */ false,
|
1670
|
-
/* recordingStartTime= */ null,
|
1671
1775
|
/* metadata= */ null);
|
1672
1776
|
});
|
1673
1777
|
this.statusPane.showPane(this.statusPaneContainer);
|
@@ -1738,7 +1842,8 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
1738
1842
|
this.#traceEngineModel = this.#instantiateNewModel();
|
1739
1843
|
ModificationsManager.reset();
|
1740
1844
|
this.#uninstallSourceMapsResolver();
|
1741
|
-
this.flameChart.getMainDataProvider().reset(
|
1845
|
+
this.flameChart.getMainDataProvider().reset();
|
1846
|
+
this.flameChart.getNetworkDataProvider().reset();
|
1742
1847
|
this.flameChart.reset();
|
1743
1848
|
this.#changeView({mode: 'LANDING_PAGE'});
|
1744
1849
|
}
|
@@ -1920,13 +2025,20 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
1920
2025
|
}
|
1921
2026
|
}
|
1922
2027
|
|
2028
|
+
// Initialize EntityMapper
|
2029
|
+
this.#entityMapper = new Utils.EntityMapper.EntityMapper(parsedTrace);
|
2030
|
+
|
1923
2031
|
// Set up SourceMapsResolver to ensure we resolve any function names in
|
1924
2032
|
// profile calls.
|
1925
|
-
|
2033
|
+
// Pass in the entity mapper.
|
2034
|
+
this.#sourceMapsResolver = new Utils.SourceMapsResolver.SourceMapsResolver(parsedTrace, this.#entityMapper);
|
1926
2035
|
this.#sourceMapsResolver.addEventListener(
|
1927
2036
|
Utils.SourceMapsResolver.SourceMappingsUpdated.eventName, this.#onSourceMapsNodeNamesResolvedBound);
|
1928
2037
|
void this.#sourceMapsResolver.install();
|
1929
2038
|
|
2039
|
+
// Initialize EntityMapper
|
2040
|
+
this.#entityMapper = new Utils.EntityMapper.EntityMapper(parsedTrace);
|
2041
|
+
|
1930
2042
|
this.statusPane?.updateProgressBar(i18nString(UIStrings.processed), 80);
|
1931
2043
|
this.updateMiniMap();
|
1932
2044
|
this.statusPane?.updateProgressBar(i18nString(UIStrings.processed), 90);
|
@@ -1934,7 +2046,19 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
1934
2046
|
|
1935
2047
|
this.#setActiveInsight(null);
|
1936
2048
|
|
1937
|
-
|
2049
|
+
let traceInsightsSets = this.#traceEngineModel.traceInsights(traceIndex);
|
2050
|
+
if (traceInsightsSets) {
|
2051
|
+
// Omit insight sets that don't have anything of interest to show to the user.
|
2052
|
+
const filteredTraceInsightsSets = new Map();
|
2053
|
+
for (const [key, insightSet] of traceInsightsSets) {
|
2054
|
+
if (Object.values(insightSet.model).some(model => model.shouldShow)) {
|
2055
|
+
filteredTraceInsightsSets.set(key, insightSet);
|
2056
|
+
}
|
2057
|
+
}
|
2058
|
+
|
2059
|
+
traceInsightsSets = filteredTraceInsightsSets.size ? filteredTraceInsightsSets : null;
|
2060
|
+
}
|
2061
|
+
|
1938
2062
|
this.flameChart.setInsights(traceInsightsSets, this.#eventToRelatedInsights);
|
1939
2063
|
this.#sideBar.setInsights(traceInsightsSets);
|
1940
2064
|
|
@@ -1942,11 +2066,19 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
1942
2066
|
if (traceInsightsSets) {
|
1943
2067
|
for (const [insightSetKey, insightSet] of traceInsightsSets) {
|
1944
2068
|
for (const model of Object.values(insightSet.model)) {
|
1945
|
-
|
2069
|
+
let relatedEvents = model.relatedEvents;
|
2070
|
+
if (!relatedEvents) {
|
2071
|
+
relatedEvents = new Map();
|
2072
|
+
} else if (Array.isArray(relatedEvents)) {
|
2073
|
+
relatedEvents = new Map(relatedEvents.map(e => [e, []]));
|
2074
|
+
}
|
2075
|
+
|
2076
|
+
for (const [event, messages] of relatedEvents.entries()) {
|
1946
2077
|
const relatedInsights = this.#eventToRelatedInsights.get(event) ?? [];
|
1947
2078
|
this.#eventToRelatedInsights.set(event, relatedInsights);
|
1948
2079
|
relatedInsights.push({
|
1949
2080
|
insightLabel: model.title,
|
2081
|
+
messages,
|
1950
2082
|
activateInsight: () => {
|
1951
2083
|
this.#setActiveInsight({model, insightSetKey});
|
1952
2084
|
},
|
@@ -1957,13 +2089,24 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
1957
2089
|
}
|
1958
2090
|
|
1959
2091
|
this.#showSidebarIfRequired();
|
2092
|
+
|
2093
|
+
// When the timeline is loaded for the first time, log what navigation setting is selected.
|
2094
|
+
// This will allow us to get an estimate number of people using each option.
|
2095
|
+
if (this.#traceEngineModel.size() === 1) {
|
2096
|
+
if (Common.Settings.moduleSetting('flamechart-selected-navigation').get() === 'classic') {
|
2097
|
+
Host.userMetrics.navigationSettingAtFirstTimelineLoad(
|
2098
|
+
Host.UserMetrics.TimelineNavigationSetting.CLASSIC_AT_SESSION_FIRST_TRACE);
|
2099
|
+
} else {
|
2100
|
+
Host.userMetrics.navigationSettingAtFirstTimelineLoad(
|
2101
|
+
Host.UserMetrics.TimelineNavigationSetting.MODERN_AT_SESSION_FIRST_TRACE);
|
2102
|
+
}
|
2103
|
+
}
|
1960
2104
|
}
|
1961
2105
|
|
1962
2106
|
/**
|
1963
2107
|
* We automatically show the sidebar in only 2 scenarios:
|
1964
2108
|
* 1. The user has never seen it before, so we show it once to aid discovery
|
1965
2109
|
* 2. The user had it open, and we hid it (for example, during recording), so now we need to bring it back.
|
1966
|
-
* We also check that the experiments are enabled, else we reveal an entirely empty sidebar.
|
1967
2110
|
*/
|
1968
2111
|
#showSidebarIfRequired(): void {
|
1969
2112
|
if (Root.Runtime.Runtime.queryParam('disable-auto-performance-sidebar-reveal') !== null) {
|
@@ -1972,14 +2115,27 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
1972
2115
|
}
|
1973
2116
|
const needToRestore = this.#restoreSidebarVisibilityOnTraceLoad;
|
1974
2117
|
const userHasSeenSidebar = this.#sideBar.userHasOpenedSidebarOnce();
|
1975
|
-
const experimentsEnabled = this.#panelSidebarEnabled();
|
1976
2118
|
|
1977
|
-
if (
|
2119
|
+
if (!userHasSeenSidebar || needToRestore) {
|
1978
2120
|
this.#splitWidget.showBoth();
|
1979
2121
|
}
|
1980
2122
|
this.#restoreSidebarVisibilityOnTraceLoad = false;
|
1981
2123
|
}
|
1982
2124
|
|
2125
|
+
#dimThirdPartiesIfRequired(traceIndex: number): void {
|
2126
|
+
const parsedTrace = this.#traceEngineModel.parsedTrace(traceIndex);
|
2127
|
+
if (!parsedTrace) {
|
2128
|
+
return;
|
2129
|
+
}
|
2130
|
+
const thirdPartyEvents = this.#entityMapper?.thirdPartyEvents() ?? [];
|
2131
|
+
if (this.#dimThirdPartiesSetting?.get() && thirdPartyEvents.length) {
|
2132
|
+
this.flameChart.dimEvents(thirdPartyEvents);
|
2133
|
+
} else {
|
2134
|
+
// Ensure dimming stores are cleared, and there is no dimming.
|
2135
|
+
this.flameChart.disableAllDimming();
|
2136
|
+
}
|
2137
|
+
}
|
2138
|
+
|
1983
2139
|
// Build a map mapping annotated entries to the colours that are used to display them in the FlameChart.
|
1984
2140
|
// We need this map to display the entries in the sidebar with the same colours.
|
1985
2141
|
private buildColorsAnnotationsMap(annotations: Trace.Types.File.Annotation[]): Map<Trace.Types.Events.Event, string> {
|
@@ -2075,7 +2231,11 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
2075
2231
|
return;
|
2076
2232
|
}
|
2077
2233
|
|
2078
|
-
|
2234
|
+
const liveMetrics = new TimelineComponents.LiveMetricsView.LiveMetricsView();
|
2235
|
+
liveMetrics.isNode = isNode;
|
2236
|
+
this.landingPage = LegacyWrapper.LegacyWrapper.legacyWrapper(UI.Widget.Widget, liveMetrics);
|
2237
|
+
this.landingPage.element.classList.add('timeline-landing-page', 'fill');
|
2238
|
+
this.landingPage.contentElement.classList.add('fill');
|
2079
2239
|
this.landingPage.show(this.statusPaneContainer);
|
2080
2240
|
}
|
2081
2241
|
|
@@ -2148,20 +2308,6 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
2148
2308
|
this.flameChart.getMainFlameChart().update();
|
2149
2309
|
}
|
2150
2310
|
|
2151
|
-
#deviceModeModel(): EmulationModel.DeviceModeModel.DeviceModeModel|null {
|
2152
|
-
// This is wrapped in a try/catch because in some DevTools entry points
|
2153
|
-
// (such as worker_app.ts) the Emulation panel is not included and as such
|
2154
|
-
// the below code fails; it tries to instantiate the model which requires
|
2155
|
-
// reading the value of a setting which has not been registered.
|
2156
|
-
// In this case, we fallback to 'ALL'. See crbug.com/361515458 for an
|
2157
|
-
// example bug that this resolves.
|
2158
|
-
try {
|
2159
|
-
return EmulationModel.DeviceModeModel.DeviceModeModel.instance();
|
2160
|
-
} catch {
|
2161
|
-
return null;
|
2162
|
-
}
|
2163
|
-
}
|
2164
|
-
|
2165
2311
|
/**
|
2166
2312
|
* This is called with we are done loading a trace from a file, or after we
|
2167
2313
|
* have recorded a fresh trace.
|
@@ -2173,7 +2319,7 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
2173
2319
|
**/
|
2174
2320
|
async loadingComplete(
|
2175
2321
|
collectedEvents: Trace.Types.Events.Event[], exclusiveFilter: Trace.Extras.TraceFilter.TraceFilter|null = null,
|
2176
|
-
|
2322
|
+
metadata: Trace.Types.File.MetaData|null): Promise<void> {
|
2177
2323
|
this.#traceEngineModel.resetProcessor();
|
2178
2324
|
|
2179
2325
|
delete this.loader;
|
@@ -2202,18 +2348,6 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
2202
2348
|
return;
|
2203
2349
|
}
|
2204
2350
|
|
2205
|
-
if (!metadata) {
|
2206
|
-
const deviceModeModel = this.#deviceModeModel();
|
2207
|
-
let emulatedDeviceTitle;
|
2208
|
-
if (deviceModeModel?.type() === EmulationModel.DeviceModeModel.Type.Device) {
|
2209
|
-
emulatedDeviceTitle = deviceModeModel.device()?.title ?? undefined;
|
2210
|
-
} else if (deviceModeModel?.type() === EmulationModel.DeviceModeModel.Type.Responsive) {
|
2211
|
-
emulatedDeviceTitle = 'Responsive';
|
2212
|
-
}
|
2213
|
-
metadata = await Trace.Extras.Metadata.forNewRecording(
|
2214
|
-
isCpuProfile, recordingStartTime ?? undefined, emulatedDeviceTitle);
|
2215
|
-
}
|
2216
|
-
|
2217
2351
|
try {
|
2218
2352
|
await this.#executeNewTrace(collectedEvents, recordingIsFresh, metadata);
|
2219
2353
|
const traceIndex = this.#traceEngineModel.lastTraceIndex();
|
@@ -2279,11 +2413,11 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
|
|
2279
2413
|
|
2280
2414
|
async #executeNewTrace(
|
2281
2415
|
collectedEvents: Trace.Types.Events.Event[], isFreshRecording: boolean,
|
2282
|
-
metadata: Trace.Types.File.MetaData): Promise<void> {
|
2416
|
+
metadata: Trace.Types.File.MetaData|null): Promise<void> {
|
2283
2417
|
return this.#traceEngineModel.parse(
|
2284
2418
|
collectedEvents,
|
2285
2419
|
{
|
2286
|
-
metadata,
|
2420
|
+
metadata: metadata ?? undefined,
|
2287
2421
|
isFreshRecording,
|
2288
2422
|
},
|
2289
2423
|
);
|
@@ -2641,7 +2775,7 @@ export class StatusPane extends UI.Widget.VBox {
|
|
2641
2775
|
|
2642
2776
|
startTimer(): void {
|
2643
2777
|
this.startTime = Date.now();
|
2644
|
-
this.timeUpdateTimer = window.setInterval(this.updateTimer.bind(this),
|
2778
|
+
this.timeUpdateTimer = window.setInterval(this.updateTimer.bind(this), 100);
|
2645
2779
|
this.updateTimer();
|
2646
2780
|
}
|
2647
2781
|
|
@@ -2659,8 +2793,9 @@ export class StatusPane extends UI.Widget.VBox {
|
|
2659
2793
|
if (!this.timeUpdateTimer || !this.time) {
|
2660
2794
|
return;
|
2661
2795
|
}
|
2662
|
-
|
2663
|
-
|
2796
|
+
|
2797
|
+
const seconds = (Date.now() - this.startTime) / 1000;
|
2798
|
+
this.time.textContent = i18n.TimeUtilities.preciseSecondsToString(seconds, 1);
|
2664
2799
|
}
|
2665
2800
|
|
2666
2801
|
private arrangeDialog(parent: Element): void {
|