chrome-devtools-frontend 1.0.1549484 → 1.0.1553956
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/docs/styleguide/ux/components.md +84 -17
- package/docs/styleguide/ux/images/cards.png +0 -0
- package/docs/ui_engineering.md +2 -2
- package/eslint.config.mjs +7 -0
- package/front_end/Images/generate-css-vars.js +8 -4
- package/front_end/core/common/Settings.ts +20 -8
- package/front_end/core/host/UserMetrics.ts +3 -1
- package/front_end/core/i18n/collect-ui-strings.js +19 -10
- package/front_end/core/i18n/generate-locales-js.js +4 -4
- package/front_end/core/protocol_client/CDPConnection.ts +1 -0
- package/front_end/core/protocol_client/InspectorBackend.ts +5 -1
- package/front_end/core/root/Runtime.ts +0 -12
- package/front_end/core/sdk/DOMModel.ts +38 -3
- package/front_end/core/sdk/DebuggerModel.ts +9 -4
- package/front_end/core/sdk/IsolateManager.ts +7 -0
- package/front_end/core/sdk/NetworkManager.ts +12 -10
- package/front_end/core/sdk/PageResourceLoader.ts +11 -4
- package/front_end/core/sdk/RehydratingConnection.ts +5 -2
- package/front_end/core/sdk/SourceMapManager.ts +12 -6
- package/front_end/entrypoints/main/MainImpl.ts +28 -19
- package/front_end/foundation/Universe.ts +7 -0
- package/front_end/generated/InspectorBackendCommands.ts +5 -2
- package/front_end/generated/SupportedCSSProperties.js +14 -0
- package/front_end/generated/protocol-mapping.d.ts +8 -0
- package/front_end/generated/protocol-proxy-api.d.ts +6 -0
- package/front_end/generated/protocol.ts +76 -0
- package/front_end/models/ai_assistance/AiConversation.ts +94 -4
- package/front_end/models/ai_assistance/BuiltInAi.ts +79 -5
- package/front_end/models/ai_assistance/agents/AiAgent.ts +30 -15
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +179 -41
- package/front_end/models/ai_assistance/agents/StylingAgent.snapshot.txt +5 -0
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +62 -0
- package/front_end/models/ai_assistance/data_formatters/NetworkRequestFormatter.ts +2 -1
- package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.ts +1 -7
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +124 -12
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +125 -30
- package/front_end/models/ai_assistance/performance/AICallTree.ts +42 -0
- package/front_end/models/ai_code_generation/AiCodeGeneration.ts +12 -0
- package/front_end/models/issues_manager/AttributionReportingIssue.ts +6 -8
- package/front_end/models/issues_manager/BounceTrackingIssue.ts +4 -14
- package/front_end/models/issues_manager/ClientHintIssue.ts +5 -12
- package/front_end/models/issues_manager/ContentSecurityPolicyIssue.ts +5 -12
- package/front_end/models/issues_manager/CookieDeprecationMetadataIssue.ts +7 -14
- package/front_end/models/issues_manager/CookieIssue.ts +27 -30
- package/front_end/models/issues_manager/CorsIssue.ts +8 -17
- package/front_end/models/issues_manager/CrossOriginEmbedderPolicyIssue.ts +5 -8
- package/front_end/models/issues_manager/DeprecationIssue.ts +7 -14
- package/front_end/models/issues_manager/ElementAccessibilityIssue.ts +7 -14
- package/front_end/models/issues_manager/FederatedAuthRequestIssue.ts +4 -11
- package/front_end/models/issues_manager/FederatedAuthUserInfoRequestIssue.ts +4 -11
- package/front_end/models/issues_manager/GenericIssue.ts +11 -16
- package/front_end/models/issues_manager/HeavyAdIssue.ts +4 -11
- package/front_end/models/issues_manager/Issue.ts +13 -4
- package/front_end/models/issues_manager/IssueAggregator.ts +17 -2
- package/front_end/models/issues_manager/IssuesManager.ts +5 -0
- package/front_end/models/issues_manager/LowTextContrastIssue.ts +3 -10
- package/front_end/models/issues_manager/MixedContentIssue.ts +7 -13
- package/front_end/models/issues_manager/PartitioningBlobURLIssue.ts +4 -11
- package/front_end/models/issues_manager/PermissionElementIssue.ts +262 -0
- package/front_end/models/issues_manager/PropertyRuleIssue.ts +6 -12
- package/front_end/models/issues_manager/QuirksModeIssue.ts +3 -10
- package/front_end/models/issues_manager/SRIMessageSignatureIssue.ts +7 -13
- package/front_end/models/issues_manager/SharedArrayBufferIssue.ts +4 -11
- package/front_end/models/issues_manager/SharedDictionaryIssue.ts +6 -13
- package/front_end/models/issues_manager/StylesheetLoadingIssue.ts +8 -13
- package/front_end/models/issues_manager/UnencodedDigestIssue.ts +2 -9
- package/front_end/models/issues_manager/descriptions/permissionElementActivationDisabled.md +7 -0
- package/front_end/models/issues_manager/descriptions/permissionElementActivationDisabledWithOccluder.md +9 -0
- package/front_end/models/issues_manager/descriptions/permissionElementActivationDisabledWithOccluderParent.md +9 -0
- package/front_end/models/issues_manager/descriptions/permissionElementCspFrameAncestorsMissing.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementFencedFrameDisallowed.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementFontSizeTooLarge.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementFontSizeTooSmall.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementGeolocationDeprecated.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementInsetBoxShadowUnsupported.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementInvalidDisplayStyle.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementInvalidSizeValue.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementInvalidType.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementInvalidTypeActivation.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementLowContrast.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementNonOpaqueColor.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementPaddingBottomUnsupported.md +6 -0
- package/front_end/models/issues_manager/descriptions/permissionElementPaddingRightUnsupported.md +6 -0
- package/front_end/models/issues_manager/descriptions/permissionElementPermissionsPolicyBlocked.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementRegistrationFailed.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementRequestInProgress.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementSecurityChecksFailed.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementTypeNotSupported.md +5 -0
- package/front_end/models/issues_manager/descriptions/permissionElementUntrustedEvent.md +7 -0
- package/front_end/models/issues_manager/issues_manager.ts +2 -0
- package/front_end/models/javascript_metadata/NativeFunctions.js +8 -13
- package/front_end/models/stack_trace/StackTraceModel.ts +37 -18
- package/front_end/models/trace/Processor.ts +14 -15
- package/front_end/models/trace/insights/Common.ts +2 -8
- package/front_end/models/trace/insights/types.ts +12 -2
- package/front_end/models/trace/types/TraceEvents.ts +4 -1
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +28 -6
- package/front_end/panels/ai_assistance/ai_assistance-meta.ts +9 -23
- package/front_end/panels/ai_assistance/ai_assistance.ts +1 -0
- package/front_end/panels/ai_assistance/components/ChatView.ts +78 -2
- package/front_end/panels/ai_assistance/components/CollapsibleAssistanceContentWidget.ts +71 -0
- package/front_end/panels/ai_assistance/components/PerformanceAgentFlameChart.ts +126 -0
- package/front_end/panels/ai_assistance/components/PerformanceAgentMarkdownRenderer.ts +131 -2
- package/front_end/panels/ai_assistance/components/chatView.css +28 -0
- package/front_end/panels/ai_assistance/components/collapsibleAssistanceContentWidget.css +33 -0
- package/front_end/panels/application/AppManifestView.ts +1007 -521
- package/front_end/panels/application/ApplicationPanelSidebar.ts +22 -38
- package/front_end/panels/application/BackForwardCacheTreeElement.ts +2 -2
- package/front_end/panels/application/BounceTrackingMitigationsTreeElement.ts +2 -2
- package/front_end/panels/application/ExtensionStorageItemsView.ts +3 -5
- package/front_end/panels/application/InterestGroupTreeElement.ts +2 -2
- package/front_end/panels/application/KeyValueStorageItemsView.ts +3 -2
- package/front_end/panels/application/OpenedWindowDetailsView.ts +2 -2
- package/front_end/panels/application/OriginTrialTreeView.ts +1 -1
- package/front_end/panels/application/PreloadingTreeElement.ts +3 -3
- package/front_end/panels/application/ReportingApiTreeElement.ts +2 -2
- package/front_end/panels/application/ServiceWorkerCacheTreeElement.ts +3 -3
- package/front_end/panels/application/SharedStorageListTreeElement.ts +2 -2
- package/front_end/panels/application/StorageBucketsTreeElement.ts +3 -3
- package/front_end/panels/application/StorageView.ts +2 -2
- package/front_end/panels/application/TrustTokensTreeElement.ts +2 -2
- package/front_end/panels/application/components/BackForwardCacheView.ts +2 -2
- package/front_end/panels/application/components/PermissionsPolicySection.ts +1 -1
- package/front_end/panels/application/components/ProtocolHandlersView.ts +1 -1
- package/front_end/panels/application/components/SharedStorageMetadataView.ts +1 -1
- package/front_end/panels/application/components/TrustTokensView.ts +1 -1
- package/front_end/panels/application/preloading/PreloadingView.ts +46 -45
- package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts +80 -75
- package/front_end/panels/application/preloading/components/PreloadingDisabledInfobar.ts +169 -133
- package/front_end/panels/application/preloading/components/PreloadingGrid.ts +1 -1
- package/front_end/panels/application/preloading/components/RuleSetDetailsView.ts +74 -93
- package/front_end/panels/application/preloading/components/RuleSetGrid.ts +143 -118
- package/front_end/panels/application/preloading/components/UsedPreloadingView.ts +52 -12
- package/front_end/panels/application/preloading/components/components.ts +0 -2
- package/front_end/panels/changes/ChangesSidebar.ts +2 -0
- package/front_end/panels/changes/CombinedDiffView.ts +2 -0
- package/front_end/panels/common/Annotation.ts +184 -0
- package/front_end/panels/common/AnnotationManager.ts +208 -0
- package/front_end/panels/common/ExtensionView.ts +47 -0
- package/front_end/panels/common/PersistenceUtils.ts +22 -26
- package/front_end/panels/common/annotation.css +40 -0
- package/front_end/panels/common/common.ts +2 -0
- package/front_end/panels/console/ConsoleInsightTeaser.ts +187 -5
- package/front_end/panels/console/ConsolePinPane.ts +437 -217
- package/front_end/panels/console/ConsolePrompt.ts +36 -227
- package/front_end/panels/console/ConsoleView.ts +69 -68
- package/front_end/panels/console/ConsoleViewMessage.ts +18 -14
- package/front_end/panels/console/consoleInsightTeaser.css +23 -0
- package/front_end/panels/console/consoleView.css +1 -1
- package/front_end/panels/console_counters/WarningErrorCounter.ts +2 -0
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +1 -1
- package/front_end/panels/elements/AdoptedStyleSheetTreeElement.ts +89 -0
- package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +5 -5
- package/front_end/panels/elements/ComputedStyleWidget.ts +16 -5
- package/front_end/panels/elements/ElementsPanel.ts +75 -0
- package/front_end/panels/elements/ElementsSidebarPane.ts +1 -3
- package/front_end/panels/elements/ElementsTreeElement.ts +459 -451
- package/front_end/panels/elements/ElementsTreeOutline.ts +48 -15
- package/front_end/panels/elements/ShortcutTreeElement.ts +2 -2
- package/front_end/panels/elements/StyleEditorWidget.ts +2 -2
- package/front_end/panels/elements/StylePropertyTreeElement.ts +21 -20
- package/front_end/panels/elements/StylesSidebarPane.ts +5 -6
- package/front_end/panels/elements/TopLayerContainer.ts +2 -2
- package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +1 -1
- package/front_end/panels/elements/components/ElementsTreeExpandButton.ts +1 -1
- package/front_end/panels/elements/components/QueryContainer.ts +1 -1
- package/front_end/panels/elements/components/StylePropertyEditor.ts +1 -1
- package/front_end/panels/emulation/DeviceModeWrapper.ts +48 -3
- package/front_end/panels/emulation/MediaQueryInspector.ts +171 -125
- package/front_end/panels/explain/components/ConsoleInsight.ts +181 -154
- package/front_end/panels/explain/components/consoleInsight.css +348 -347
- package/front_end/panels/issues/AffectedPermissionElementsView.ts +46 -0
- package/front_end/panels/issues/AffectedResourcesView.ts +2 -2
- package/front_end/panels/issues/AttributionReportingIssueDetailsView.ts +2 -2
- package/front_end/panels/issues/IssueKindView.ts +2 -2
- package/front_end/panels/issues/IssueView.ts +6 -4
- package/front_end/panels/issues/IssuesPane.ts +6 -0
- package/front_end/panels/js_timeline/js_timeline-meta.ts +4 -2
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +165 -149
- package/front_end/panels/layer_viewer/Layers3DView.ts +131 -78
- package/front_end/panels/lighthouse/LighthouseStatusView.ts +149 -100
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryHighlightChipList.ts +91 -65
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts +25 -34
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryNavigator.ts +1 -1
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryValueInterpreter.ts +61 -45
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplay.ts +171 -152
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterSettings.ts +50 -51
- package/front_end/panels/linear_memory_inspector/components/valueInterpreterDisplay.css +0 -13
- package/front_end/panels/linear_memory_inspector/components/valueInterpreterSettings.css +20 -18
- package/front_end/panels/media/PlayerListView.ts +1 -1
- package/front_end/panels/mobile_throttling/CalibrationController.ts +3 -1
- package/front_end/panels/mobile_throttling/ThrottlingManager.ts +2 -2
- package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +2 -3
- package/front_end/panels/network/NetworkDataGridNode.ts +17 -9
- package/front_end/panels/network/NetworkFrameGrouper.ts +2 -2
- package/front_end/panels/network/NetworkItemView.ts +46 -7
- package/front_end/panels/network/NetworkLogView.ts +10 -11
- package/front_end/panels/network/NetworkLogViewColumns.ts +3 -3
- package/front_end/panels/network/NetworkPanel.ts +63 -1
- package/front_end/panels/network/RequestCookiesView.ts +2 -2
- package/front_end/panels/network/RequestInitiatorView.ts +146 -113
- package/front_end/panels/network/SignedExchangeInfoView.ts +2 -2
- package/front_end/panels/network/components/RequestHeaderSection.css +51 -50
- package/front_end/panels/network/components/RequestHeaderSection.ts +81 -71
- package/front_end/panels/network/components/RequestHeadersView.css +1 -1
- package/front_end/panels/network/components/RequestHeadersView.ts +26 -11
- package/front_end/panels/network/components/RequestTrustTokensView.css +24 -14
- package/front_end/panels/network/components/RequestTrustTokensView.ts +145 -142
- package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +3 -3
- package/front_end/panels/profiler/IsolateSelector.ts +2 -1
- package/front_end/panels/profiler/ProfileDataGrid.ts +2 -2
- package/front_end/panels/profiler/ProfilesPanel.ts +2 -2
- package/front_end/panels/protocol_monitor/JSONEditor.ts +1 -1
- package/front_end/panels/protocol_monitor/ProtocolMonitor.ts +49 -33
- package/front_end/panels/recorder/RecorderController.ts +2 -3
- package/front_end/panels/recorder/components/ControlButton.ts +68 -34
- package/front_end/panels/recorder/components/CreateRecordingView.ts +10 -7
- package/front_end/panels/recorder/components/ExtensionView.ts +1 -1
- package/front_end/panels/recorder/components/RecordingListView.ts +1 -1
- package/front_end/panels/recorder/components/RecordingView.ts +82 -89
- package/front_end/panels/recorder/components/ReplaySection.ts +226 -145
- package/front_end/panels/recorder/{controllers → components}/SelectorPicker.ts +129 -52
- package/front_end/panels/recorder/components/StepEditor.ts +21 -67
- package/front_end/panels/recorder/components/StepView.ts +223 -181
- package/front_end/panels/recorder/components/TimelineSection.ts +69 -48
- package/front_end/panels/recorder/components/components.ts +2 -2
- package/front_end/panels/recorder/components/selectorPicker.css +14 -0
- package/front_end/panels/recorder/components/stepEditor.css +0 -5
- package/front_end/panels/recorder/components/stepView.css +196 -198
- package/front_end/panels/recorder/extensions/ExtensionManager.ts +4 -48
- package/front_end/panels/recorder/models/ScreenshotUtils.ts +17 -11
- package/front_end/panels/screencast/ScreencastView.ts +8 -8
- package/front_end/panels/search/SearchView.ts +1 -1
- package/front_end/panels/security/CookieControlsTreeElement.ts +2 -2
- package/front_end/panels/security/CookieControlsView.ts +9 -16
- package/front_end/panels/security/CookieReportTreeElement.ts +2 -2
- package/front_end/panels/security/SecurityPanel.ts +5 -5
- package/front_end/panels/security/SecurityPanelSidebar.ts +3 -4
- package/front_end/panels/settings/KeybindsSettingsTab.ts +4 -4
- package/front_end/panels/settings/SettingsScreen.ts +2 -3
- package/front_end/panels/settings/components/SyncSection.ts +0 -1
- package/front_end/panels/snippets/SnippetsQuickOpen.ts +16 -8
- package/front_end/panels/sources/BreakpointEditDialog.ts +3 -3
- package/front_end/panels/sources/BreakpointsView.ts +1 -1
- package/front_end/panels/sources/CSSPlugin.ts +6 -6
- package/front_end/panels/sources/CallStackSidebarPane.ts +63 -78
- package/front_end/panels/sources/DebuggerPausedMessage.ts +3 -3
- package/front_end/panels/sources/FilteredUISourceCodeListProvider.ts +39 -30
- package/front_end/panels/sources/GoToLineQuickOpen.ts +11 -7
- package/front_end/panels/sources/NavigatorView.ts +2 -2
- package/front_end/panels/sources/OpenFileQuickOpen.ts +11 -15
- package/front_end/panels/sources/OutlineQuickOpen.ts +23 -26
- package/front_end/panels/sources/SourcesPanel.ts +1 -11
- package/front_end/panels/sources/SourcesView.ts +2 -2
- package/front_end/panels/sources/TabbedEditorContainer.ts +13 -11
- package/front_end/panels/sources/ThreadsSidebarPane.ts +96 -101
- package/front_end/panels/sources/UISourceCodeFrame.ts +5 -5
- package/front_end/panels/sources/threadsSidebarPane.css +6 -5
- package/front_end/panels/timeline/InteractionsTrackAppender.ts +2 -3
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +23 -33
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +4 -3
- package/front_end/panels/timeline/TimelineFlameChartView.ts +12 -0
- package/front_end/panels/timeline/TimelineHistoryManager.ts +2 -2
- package/front_end/panels/timeline/TimelinePanel.ts +17 -14
- package/front_end/panels/timeline/components/CPUThrottlingSelector.ts +1 -1
- package/front_end/panels/timeline/components/IgnoreListSetting.ts +164 -142
- package/front_end/panels/timeline/components/InteractionBreakdown.ts +48 -28
- package/front_end/panels/timeline/components/LayoutShiftDetails.ts +18 -23
- package/front_end/panels/timeline/components/LiveMetricsView.ts +1 -1
- package/front_end/panels/timeline/components/NetworkRequestTooltip.ts +99 -74
- package/front_end/panels/timeline/components/NetworkThrottlingSelector.ts +1 -1
- package/front_end/panels/timeline/components/OriginMap.ts +1 -1
- package/front_end/panels/timeline/components/SidebarInsightsTab.ts +9 -12
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.ts +262 -291
- package/front_end/panels/timeline/components/Utils.ts +25 -0
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.ts +210 -146
- package/front_end/panels/timeline/components/insights/CLSCulprits.ts +8 -20
- package/front_end/panels/timeline/components/insights/Cache.ts +0 -9
- package/front_end/panels/timeline/components/insights/Checklist.ts +1 -1
- package/front_end/panels/timeline/components/insights/DOMSize.ts +12 -34
- package/front_end/panels/timeline/components/insights/DocumentLatency.ts +0 -9
- package/front_end/panels/timeline/components/insights/DuplicatedJavaScript.ts +0 -9
- package/front_end/panels/timeline/components/insights/EventRef.ts +47 -109
- package/front_end/panels/timeline/components/insights/FontDisplay.ts +0 -9
- package/front_end/panels/timeline/components/insights/ForcedReflow.ts +0 -9
- package/front_end/panels/timeline/components/insights/INPBreakdown.ts +0 -9
- package/front_end/panels/timeline/components/insights/ImageDelivery.ts +2 -11
- package/front_end/panels/timeline/components/insights/ImageRef.ts +112 -0
- package/front_end/panels/timeline/components/insights/InsightRenderer.ts +91 -0
- package/front_end/panels/timeline/components/insights/LCPBreakdown.ts +0 -9
- package/front_end/panels/timeline/components/insights/LCPDiscovery.ts +4 -11
- package/front_end/panels/timeline/components/insights/LegacyJavaScript.ts +0 -9
- package/front_end/panels/timeline/components/insights/ModernHTTP.ts +0 -9
- package/front_end/panels/timeline/components/insights/NetworkDependencyTree.ts +7 -22
- package/front_end/panels/timeline/components/insights/NodeLink.ts +68 -43
- package/front_end/panels/timeline/components/insights/README.md +2 -3
- package/front_end/panels/timeline/components/insights/RenderBlocking.ts +0 -9
- package/front_end/panels/timeline/components/insights/SlowCSSSelector.ts +0 -9
- package/front_end/panels/timeline/components/insights/ThirdParties.ts +0 -9
- package/front_end/panels/timeline/components/insights/Viewport.ts +7 -19
- package/front_end/panels/timeline/components/insights/baseInsightComponent.css +5 -0
- package/front_end/panels/timeline/components/insights/insights.ts +2 -0
- package/front_end/panels/timeline/components/interactionBreakdown.css +15 -13
- package/front_end/panels/timeline/enable-easter-egg.js +7 -3
- package/front_end/panels/timeline/overlays/components/EntriesLinkOverlay.ts +1 -1
- package/front_end/panels/timeline/overlays/components/EntryLabelOverlay.ts +1 -1
- package/front_end/panels/timeline/timeline-meta.ts +3 -2
- package/front_end/panels/utils/utils.ts +1 -0
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/puppeteer/README.chromium +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BluetoothEmulation.d.ts +96 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BluetoothEmulation.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BluetoothEmulation.js +8 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BluetoothEmulation.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts +87 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/DeviceRequestPrompt.d.ts +2 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/DeviceRequestPrompt.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/DeviceRequestPrompt.js +5 -24
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/DeviceRequestPrompt.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BluetoothEmulation.d.ts +18 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BluetoothEmulation.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BluetoothEmulation.js +42 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BluetoothEmulation.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.d.ts +4 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.js +10 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/DeviceRequestPrompt.d.ts +27 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/DeviceRequestPrompt.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/DeviceRequestPrompt.js +90 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/DeviceRequestPrompt.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.d.ts +3 -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 +3 -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/Page.d.ts +4 -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 +5 -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 +4 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/BrowsingContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/BrowsingContext.js +14 -2
- 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/util.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/util.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/util.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Accessibility.js +1 -1
- 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/BluetoothEmulation.d.ts +18 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BluetoothEmulation.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BluetoothEmulation.js +30 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BluetoothEmulation.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts +5 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.js +22 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/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/DeviceRequestPrompt.d.ts +2 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/DeviceRequestPrompt.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/DeviceRequestPrompt.js +4 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/DeviceRequestPrompt.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/FrameManager.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/FrameManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/FrameManager.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/FrameManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts +2 -0
- 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 +8 -0
- 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/cdp/WebWorker.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/WebWorker.js +8 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/WebWorker.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +30 -0
- 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/ConnectOptions.d.ts +15 -0
- 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/injected/injected.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts +1 -1
- 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 +2 -13
- 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/LaunchOptions.d.ts +5 -3
- 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/LaunchOptions.js +17 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.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/puppeteer/util/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +221 -4
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +182 -95
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BluetoothEmulation.d.ts +96 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BluetoothEmulation.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BluetoothEmulation.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BluetoothEmulation.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts +87 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/DeviceRequestPrompt.d.ts +2 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/DeviceRequestPrompt.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/DeviceRequestPrompt.js +4 -22
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/DeviceRequestPrompt.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BluetoothEmulation.d.ts +18 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BluetoothEmulation.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BluetoothEmulation.js +38 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BluetoothEmulation.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.d.ts +4 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.js +10 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/DeviceRequestPrompt.d.ts +27 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/DeviceRequestPrompt.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/DeviceRequestPrompt.js +85 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/DeviceRequestPrompt.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.d.ts +3 -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 +3 -2
- 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/Page.d.ts +4 -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 +5 -2
- 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 +4 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/BrowsingContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/BrowsingContext.js +14 -2
- 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/util.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/util.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/util.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Accessibility.js +1 -1
- 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/BluetoothEmulation.d.ts +18 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BluetoothEmulation.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BluetoothEmulation.js +26 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BluetoothEmulation.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts +5 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.js +22 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/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/DeviceRequestPrompt.d.ts +2 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/DeviceRequestPrompt.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js +2 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/FrameManager.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/FrameManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/FrameManager.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/FrameManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts +2 -0
- 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 +8 -0
- 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/cdp/WebWorker.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/WebWorker.js +8 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/WebWorker.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js +31 -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/ConnectOptions.d.ts +15 -0
- 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/node/ChromeLauncher.d.ts +1 -1
- 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 +2 -13
- 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/LaunchOptions.d.ts +5 -3
- 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/LaunchOptions.js +16 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/LaunchOptions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +221 -4
- package/front_end/third_party/puppeteer/package/package.json +4 -4
- package/front_end/third_party/puppeteer/package/src/api/BluetoothEmulation.ts +103 -0
- package/front_end/third_party/puppeteer/package/src/api/Browser.ts +96 -1
- package/front_end/third_party/puppeteer/package/src/api/DeviceRequestPrompt.ts +2 -10
- package/front_end/third_party/puppeteer/package/src/api/Page.ts +6 -0
- package/front_end/third_party/puppeteer/package/src/api/api.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/bidi/BluetoothEmulation.ts +52 -0
- package/front_end/third_party/puppeteer/package/src/bidi/Browser.ts +15 -0
- package/front_end/third_party/puppeteer/package/src/bidi/DeviceRequestPrompt.ts +138 -0
- package/front_end/third_party/puppeteer/package/src/bidi/Frame.ts +7 -3
- package/front_end/third_party/puppeteer/package/src/bidi/Page.ts +10 -2
- package/front_end/third_party/puppeteer/package/src/bidi/core/BrowsingContext.ts +30 -2
- package/front_end/third_party/puppeteer/package/src/bidi/util.ts +8 -0
- package/front_end/third_party/puppeteer/package/src/cdp/Accessibility.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/cdp/BluetoothEmulation.ts +47 -0
- package/front_end/third_party/puppeteer/package/src/cdp/Browser.ts +33 -3
- package/front_end/third_party/puppeteer/package/src/cdp/CdpSession.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/cdp/DeviceRequestPrompt.ts +3 -8
- package/front_end/third_party/puppeteer/package/src/cdp/Frame.ts +2 -2
- package/front_end/third_party/puppeteer/package/src/cdp/FrameManager.ts +9 -4
- package/front_end/third_party/puppeteer/package/src/cdp/Page.ts +13 -0
- package/front_end/third_party/puppeteer/package/src/cdp/WebWorker.ts +8 -3
- package/front_end/third_party/puppeteer/package/src/cdp/cdp.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/common/BrowserConnector.ts +45 -1
- package/front_end/third_party/puppeteer/package/src/common/ConnectOptions.ts +20 -0
- package/front_end/third_party/puppeteer/package/src/node/ChromeLauncher.ts +5 -17
- package/front_end/third_party/puppeteer/package/src/node/LaunchOptions.ts +23 -7
- package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
- package/front_end/third_party/puppeteer/package/src/util/version.ts +1 -1
- package/front_end/third_party/puppeteer/puppeteer-tsconfig.json +4 -0
- package/front_end/ui/components/adorners/Adorner.ts +20 -0
- package/front_end/ui/components/annotations/AnnotationRepository.ts +154 -14
- package/front_end/ui/components/buttons/Button.ts +1 -1
- package/front_end/ui/components/buttons/FloatingButton.ts +1 -1
- package/front_end/ui/components/highlighting/HighlightElement.ts +15 -2
- package/front_end/ui/components/icon_button/FileSourceIcon.ts +1 -1
- package/front_end/ui/components/icon_button/IconButton.ts +1 -1
- package/front_end/ui/components/icon_button/icon_button.ts +0 -2
- package/front_end/ui/components/issue_counter/IssueCounter.ts +1 -1
- package/front_end/ui/components/issue_counter/IssueLinkIcon.ts +1 -1
- package/front_end/ui/components/markdown_view/MarkdownImage.ts +3 -3
- package/front_end/ui/components/request_link_icon/RequestLinkIcon.ts +1 -1
- package/front_end/ui/components/settings/SettingDeprecationWarning.ts +1 -1
- package/front_end/ui/components/snackbars/Snackbars.docs.ts +0 -1
- package/front_end/ui/components/survey_link/SurveyLink.ts +1 -1
- package/front_end/ui/components/text_editor/AiCodeCompletionTeaserPlaceholder.ts +12 -3
- package/front_end/ui/components/text_editor/AiCodeGenerationProvider.ts +182 -0
- package/front_end/ui/components/text_editor/config.ts +2 -2
- package/front_end/ui/components/text_editor/text_editor.ts +1 -0
- package/front_end/ui/helpers/OpenInNewTab.ts +5 -1
- package/front_end/ui/i18n/i18n.ts +9 -9
- package/front_end/ui/kit/cards/Card.docs.ts +43 -0
- package/front_end/ui/kit/icons/Icon.docs.ts +34 -0
- package/front_end/ui/{components/icon_button → kit/icons}/Icon.ts +4 -4
- package/front_end/ui/kit/kit.ts +2 -0
- package/front_end/ui/kit/link/Link.docs.ts +15 -0
- package/front_end/ui/kit/link/Link.ts +151 -0
- package/front_end/ui/kit/link/link.css +27 -0
- package/front_end/ui/legacy/EmptyWidget.ts +6 -0
- package/front_end/ui/legacy/Floaty.ts +442 -0
- package/front_end/ui/legacy/Infobar.ts +3 -3
- package/front_end/ui/legacy/InspectorView.ts +15 -3
- package/front_end/ui/legacy/ReportView.ts +1 -1
- package/front_end/ui/legacy/SearchableView.ts +2 -2
- package/front_end/ui/legacy/SelectMenu.docs.ts +0 -1
- package/front_end/ui/legacy/SoftContextMenu.ts +5 -5
- package/front_end/ui/legacy/SoftDropDown.ts +2 -2
- package/front_end/ui/legacy/TabbedPane.ts +139 -61
- package/front_end/ui/legacy/Toolbar.ts +3 -3
- package/front_end/ui/legacy/Treeoutline.ts +2 -2
- package/front_end/ui/legacy/UIUtils.ts +4 -4
- package/front_end/ui/legacy/ViewManager.ts +4 -4
- package/front_end/ui/legacy/components/color_picker/ContrastDetails.ts +8 -8
- package/front_end/ui/legacy/components/color_picker/Spectrum.ts +4 -4
- package/front_end/ui/legacy/components/cookie_table/CookiesTable.ts +5 -5
- package/front_end/ui/legacy/components/inline_editor/ColorSwatch.ts +36 -36
- package/front_end/ui/legacy/components/inline_editor/FontEditor.ts +2 -2
- package/front_end/ui/legacy/components/inline_editor/Swatches.ts +5 -5
- package/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts +3 -3
- package/front_end/ui/legacy/components/object_ui/JavaScriptREPL.ts +22 -37
- package/front_end/ui/legacy/components/object_ui/RemoteObjectPreviewFormatter.ts +31 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +2 -2
- package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +3 -3
- package/front_end/ui/legacy/components/quick_open/CommandMenu.ts +22 -29
- package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +8 -15
- package/front_end/ui/legacy/components/quick_open/HelpQuickOpen.ts +11 -14
- package/front_end/ui/legacy/components/utils/Linkifier.ts +7 -11
- package/front_end/ui/legacy/floaty.css +77 -0
- package/front_end/ui/legacy/legacy.ts +2 -0
- package/front_end/ui/visual_logging/KnownContextValues.ts +6 -0
- package/inspector_overlay/loadCSS.rollup.js +5 -4
- package/mcp/mcp.ts +1 -0
- package/package.json +2 -2
- package/front_end/panels/application/preloading/components/PreloadingMismatchedHeadersGrid.ts +0 -99
- package/front_end/panels/recorder/components/SelectButton.ts +0 -304
- package/front_end/panels/recorder/controllers/controllers.ts +0 -7
- package/front_end/ui/components/chrome_link/ChromeLink.ts +0 -76
- package/front_end/ui/components/chrome_link/chromeLink.css +0 -12
- package/front_end/ui/components/chrome_link/chrome_link.ts +0 -9
- package/front_end/ui/components/icon_button/Icon.docs.ts +0 -78
- /package/front_end/panels/recorder/components/{selectButton.css → replaySection.css} +0 -0
- /package/front_end/ui/{components/icon_button → kit/icons}/icon.css +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
|
3
3
|
// found in the LICENSE file.
|
|
4
4
|
|
|
5
|
+
import type * as Protocol from '../../../generated/protocol.js';
|
|
5
6
|
import * as Trace from '../../../models/trace/trace.js';
|
|
6
7
|
import * as SourceMapsResolver from '../../../models/trace_source_maps_resolver/trace_source_maps_resolver.js';
|
|
7
8
|
|
|
@@ -375,6 +376,47 @@ export class AICallTree {
|
|
|
375
376
|
return line;
|
|
376
377
|
}
|
|
377
378
|
|
|
379
|
+
topCallFramesBySelfTime(limit: number): Protocol.Runtime.CallFrame[] {
|
|
380
|
+
const functionNodesByCallFrame = new Map<string, Trace.Extras.TraceTree.Node[]>();
|
|
381
|
+
|
|
382
|
+
this.breadthFirstWalk(this.rootNode.children().values(), node => {
|
|
383
|
+
if (Trace.Types.Events.isProfileCall(node.event)) {
|
|
384
|
+
const callFrame = node.event.callFrame;
|
|
385
|
+
const callFrameKey = `${callFrame.scriptId}:${callFrame.lineNumber}:${callFrame.columnNumber}`;
|
|
386
|
+
const array = functionNodesByCallFrame.get(callFrameKey) ?? [];
|
|
387
|
+
array.push(node);
|
|
388
|
+
functionNodesByCallFrame.set(callFrameKey, array);
|
|
389
|
+
}
|
|
390
|
+
});
|
|
391
|
+
|
|
392
|
+
return [...functionNodesByCallFrame.values()]
|
|
393
|
+
.map(nodes => {
|
|
394
|
+
return {
|
|
395
|
+
callFrame: (nodes[0].event as Trace.Types.Events.SyntheticProfileCall).callFrame,
|
|
396
|
+
selfTime: nodes.reduce((total, cur) => total + cur.selfTime, 0),
|
|
397
|
+
};
|
|
398
|
+
})
|
|
399
|
+
.sort((a, b) => b.selfTime - a.selfTime)
|
|
400
|
+
.slice(0, limit)
|
|
401
|
+
.map(({callFrame}) => callFrame);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
topCallFrameByTotalTime(): Protocol.Runtime.CallFrame|null {
|
|
405
|
+
let topChild: Trace.Extras.TraceTree.Node|null = null;
|
|
406
|
+
let topProfileCallEvent: Trace.Types.Events.SyntheticProfileCall|null = null;
|
|
407
|
+
|
|
408
|
+
for (const child of this.rootNode.children().values()) {
|
|
409
|
+
if (Trace.Types.Events.isProfileCall(child.event)) {
|
|
410
|
+
if (!topChild || child.totalTime > topChild.totalTime) {
|
|
411
|
+
topChild = child;
|
|
412
|
+
topProfileCallEvent = child.event;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
return topProfileCallEvent?.callFrame ?? null;
|
|
418
|
+
}
|
|
419
|
+
|
|
378
420
|
// Only used for debugging.
|
|
379
421
|
logDebug(): void {
|
|
380
422
|
const str = this.serialize();
|
|
@@ -150,4 +150,16 @@ export class AiCodeGeneration {
|
|
|
150
150
|
|
|
151
151
|
return response;
|
|
152
152
|
}
|
|
153
|
+
|
|
154
|
+
static isAiCodeGenerationEnabled(locale: string): boolean {
|
|
155
|
+
if (!locale.startsWith('en-')) {
|
|
156
|
+
return false;
|
|
157
|
+
}
|
|
158
|
+
const aidaAvailability = Root.Runtime.hostConfig.aidaAvailability;
|
|
159
|
+
if (!aidaAvailability || aidaAvailability.blockedByGeo || aidaAvailability.blockedByAge ||
|
|
160
|
+
aidaAvailability.blockedByEnterprisePolicy) {
|
|
161
|
+
return false;
|
|
162
|
+
}
|
|
163
|
+
return Boolean(aidaAvailability.enabled && Root.Runtime.hostConfig.devToolsAiCodeGeneration?.enabled);
|
|
164
|
+
}
|
|
153
165
|
}
|
|
@@ -89,13 +89,10 @@ const structuredHeaderLink = {
|
|
|
89
89
|
linkTitle: 'Structured Headers RFC',
|
|
90
90
|
};
|
|
91
91
|
|
|
92
|
-
export class AttributionReportingIssue extends Issue<IssueCode> {
|
|
93
|
-
issueDetails: Readonly<Protocol.Audits.AttributionReportingIssueDetails>;
|
|
94
|
-
|
|
92
|
+
export class AttributionReportingIssue extends Issue<Protocol.Audits.AttributionReportingIssueDetails, IssueCode> {
|
|
95
93
|
constructor(
|
|
96
94
|
issueDetails: Protocol.Audits.AttributionReportingIssueDetails, issuesModel: SDK.IssuesModel.IssuesModel|null) {
|
|
97
|
-
super(getIssueCode(issueDetails), issuesModel);
|
|
98
|
-
this.issueDetails = issueDetails;
|
|
95
|
+
super(getIssueCode(issueDetails), issueDetails, issuesModel);
|
|
99
96
|
}
|
|
100
97
|
|
|
101
98
|
getCategory(): IssueCategory {
|
|
@@ -106,8 +103,9 @@ export class AttributionReportingIssue extends Issue<IssueCode> {
|
|
|
106
103
|
const url = new URL('https://wicg.github.io/attribution-reporting-api/validate-headers');
|
|
107
104
|
url.searchParams.set('header', name);
|
|
108
105
|
|
|
109
|
-
|
|
110
|
-
|
|
106
|
+
const details = this.details();
|
|
107
|
+
if (details.invalidParameter) {
|
|
108
|
+
url.searchParams.set('json', details.invalidParameter);
|
|
111
109
|
}
|
|
112
110
|
|
|
113
111
|
return {
|
|
@@ -229,7 +227,7 @@ export class AttributionReportingIssue extends Issue<IssueCode> {
|
|
|
229
227
|
}
|
|
230
228
|
|
|
231
229
|
primaryKey(): string {
|
|
232
|
-
return JSON.stringify(this.
|
|
230
|
+
return JSON.stringify(this.details());
|
|
233
231
|
}
|
|
234
232
|
|
|
235
233
|
getKind(): IssueKind {
|
|
@@ -18,12 +18,9 @@ const UIStrings = {
|
|
|
18
18
|
const str_ = i18n.i18n.registerUIStrings('models/issues_manager/BounceTrackingIssue.ts', UIStrings);
|
|
19
19
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
20
20
|
|
|
21
|
-
export class BounceTrackingIssue extends Issue {
|
|
22
|
-
readonly #issueDetails: Protocol.Audits.BounceTrackingIssueDetails;
|
|
23
|
-
|
|
21
|
+
export class BounceTrackingIssue extends Issue<Protocol.Audits.BounceTrackingIssueDetails> {
|
|
24
22
|
constructor(issueDetails: Protocol.Audits.BounceTrackingIssueDetails, issuesModel: SDK.IssuesModel.IssuesModel|null) {
|
|
25
|
-
super(Protocol.Audits.InspectorIssueCode.BounceTrackingIssue, issuesModel);
|
|
26
|
-
this.#issueDetails = issueDetails;
|
|
23
|
+
super(Protocol.Audits.InspectorIssueCode.BounceTrackingIssue, issueDetails, issuesModel);
|
|
27
24
|
}
|
|
28
25
|
|
|
29
26
|
getCategory(): IssueCategory {
|
|
@@ -42,23 +39,16 @@ export class BounceTrackingIssue extends Issue {
|
|
|
42
39
|
};
|
|
43
40
|
}
|
|
44
41
|
|
|
45
|
-
details(): Protocol.Audits.BounceTrackingIssueDetails {
|
|
46
|
-
return this.#issueDetails;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
42
|
getKind(): IssueKind {
|
|
50
43
|
return IssueKind.BREAKING_CHANGE;
|
|
51
44
|
}
|
|
52
45
|
|
|
53
46
|
primaryKey(): string {
|
|
54
|
-
return JSON.stringify(this
|
|
47
|
+
return JSON.stringify(this.details());
|
|
55
48
|
}
|
|
56
49
|
|
|
57
50
|
override trackingSites(): Iterable<string> {
|
|
58
|
-
|
|
59
|
-
return this.#issueDetails.trackingSites;
|
|
60
|
-
}
|
|
61
|
-
return [];
|
|
51
|
+
return this.details().trackingSites;
|
|
62
52
|
}
|
|
63
53
|
|
|
64
54
|
static fromInspectorIssue(
|
|
@@ -22,29 +22,22 @@ const UIStrings = {
|
|
|
22
22
|
const str_ = i18n.i18n.registerUIStrings('models/issues_manager/ClientHintIssue.ts', UIStrings);
|
|
23
23
|
const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);
|
|
24
24
|
|
|
25
|
-
export class ClientHintIssue extends Issue {
|
|
26
|
-
private issueDetails: Protocol.Audits.ClientHintIssueDetails;
|
|
27
|
-
|
|
25
|
+
export class ClientHintIssue extends Issue<Protocol.Audits.ClientHintIssueDetails> {
|
|
28
26
|
constructor(issueDetails: Protocol.Audits.ClientHintIssueDetails, issuesModel: SDK.IssuesModel.IssuesModel|null) {
|
|
29
27
|
super(
|
|
30
28
|
{
|
|
31
29
|
code: Protocol.Audits.InspectorIssueCode.ClientHintIssue,
|
|
32
30
|
umaCode: [Protocol.Audits.InspectorIssueCode.ClientHintIssue, issueDetails.clientHintIssueReason].join('::'),
|
|
33
31
|
},
|
|
34
|
-
issuesModel);
|
|
35
|
-
this.issueDetails = issueDetails;
|
|
32
|
+
issueDetails, issuesModel);
|
|
36
33
|
}
|
|
37
34
|
|
|
38
35
|
getCategory(): IssueCategory {
|
|
39
36
|
return IssueCategory.OTHER;
|
|
40
37
|
}
|
|
41
38
|
|
|
42
|
-
details(): Protocol.Audits.ClientHintIssueDetails {
|
|
43
|
-
return this.issueDetails;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
39
|
getDescription(): MarkdownIssueDescription|null {
|
|
47
|
-
const description = issueDescriptions.get(this.
|
|
40
|
+
const description = issueDescriptions.get(this.details().clientHintIssueReason);
|
|
48
41
|
if (!description) {
|
|
49
42
|
return null;
|
|
50
43
|
}
|
|
@@ -52,11 +45,11 @@ export class ClientHintIssue extends Issue {
|
|
|
52
45
|
}
|
|
53
46
|
|
|
54
47
|
override sources(): Iterable<Protocol.Audits.SourceCodeLocation> {
|
|
55
|
-
return [this.
|
|
48
|
+
return [this.details().sourceCodeLocation];
|
|
56
49
|
}
|
|
57
50
|
|
|
58
51
|
primaryKey(): string {
|
|
59
|
-
return JSON.stringify(this.
|
|
52
|
+
return JSON.stringify(this.details());
|
|
60
53
|
}
|
|
61
54
|
|
|
62
55
|
getKind(): IssueKind {
|
|
@@ -38,9 +38,7 @@ const UIStrings = {
|
|
|
38
38
|
const str_ = i18n.i18n.registerUIStrings('models/issues_manager/ContentSecurityPolicyIssue.ts', UIStrings);
|
|
39
39
|
const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);
|
|
40
40
|
|
|
41
|
-
export class ContentSecurityPolicyIssue extends Issue {
|
|
42
|
-
#issueDetails: Protocol.Audits.ContentSecurityPolicyIssueDetails;
|
|
43
|
-
|
|
41
|
+
export class ContentSecurityPolicyIssue extends Issue<Protocol.Audits.ContentSecurityPolicyIssueDetails> {
|
|
44
42
|
constructor(
|
|
45
43
|
issueDetails: Protocol.Audits.ContentSecurityPolicyIssueDetails, issuesModel: SDK.IssuesModel.IssuesModel|null,
|
|
46
44
|
issueId?: Protocol.Audits.IssueId) {
|
|
@@ -48,8 +46,7 @@ export class ContentSecurityPolicyIssue extends Issue {
|
|
|
48
46
|
Protocol.Audits.InspectorIssueCode.ContentSecurityPolicyIssue,
|
|
49
47
|
issueDetails.contentSecurityPolicyViolationType,
|
|
50
48
|
].join('::');
|
|
51
|
-
super(issueCode, issuesModel, issueId);
|
|
52
|
-
this.#issueDetails = issueDetails;
|
|
49
|
+
super(issueCode, issueDetails, issuesModel, issueId);
|
|
53
50
|
}
|
|
54
51
|
|
|
55
52
|
getCategory(): IssueCategory {
|
|
@@ -57,7 +54,7 @@ export class ContentSecurityPolicyIssue extends Issue {
|
|
|
57
54
|
}
|
|
58
55
|
|
|
59
56
|
primaryKey(): string {
|
|
60
|
-
return JSON.stringify(this
|
|
57
|
+
return JSON.stringify(this.details(), [
|
|
61
58
|
'blockedURL',
|
|
62
59
|
'contentSecurityPolicyViolationType',
|
|
63
60
|
'violatedDirective',
|
|
@@ -71,19 +68,15 @@ export class ContentSecurityPolicyIssue extends Issue {
|
|
|
71
68
|
}
|
|
72
69
|
|
|
73
70
|
getDescription(): MarkdownIssueDescription|null {
|
|
74
|
-
const description = issueDescriptions.get(this
|
|
71
|
+
const description = issueDescriptions.get(this.details().contentSecurityPolicyViolationType);
|
|
75
72
|
if (!description) {
|
|
76
73
|
return null;
|
|
77
74
|
}
|
|
78
75
|
return resolveLazyDescription(description);
|
|
79
76
|
}
|
|
80
77
|
|
|
81
|
-
details(): Protocol.Audits.ContentSecurityPolicyIssueDetails {
|
|
82
|
-
return this.#issueDetails;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
78
|
getKind(): IssueKind {
|
|
86
|
-
if (this
|
|
79
|
+
if (this.details().isReportOnly) {
|
|
87
80
|
return IssueKind.IMPROVEMENT;
|
|
88
81
|
}
|
|
89
82
|
return IssueKind.PAGE_ERROR;
|
|
@@ -19,16 +19,13 @@ const str_ = i18n.i18n.registerUIStrings('models/issues_manager/CookieDeprecatio
|
|
|
19
19
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
20
20
|
|
|
21
21
|
/** TODO(b/305738703): Move this issue into a warning on CookieIssue. **/
|
|
22
|
-
export class CookieDeprecationMetadataIssue extends Issue {
|
|
23
|
-
readonly #issueDetails: Protocol.Audits.CookieDeprecationMetadataIssueDetails;
|
|
24
|
-
|
|
22
|
+
export class CookieDeprecationMetadataIssue extends Issue<Protocol.Audits.CookieDeprecationMetadataIssueDetails> {
|
|
25
23
|
constructor(
|
|
26
24
|
issueDetails: Protocol.Audits.CookieDeprecationMetadataIssueDetails,
|
|
27
25
|
issuesModel: SDK.IssuesModel.IssuesModel|null) {
|
|
28
26
|
// Set a distinct code for ReadCookie and SetCookie issues, so they are grouped separately.
|
|
29
27
|
const issueCode = Protocol.Audits.InspectorIssueCode.CookieDeprecationMetadataIssue + '_' + issueDetails.operation;
|
|
30
|
-
super(issueCode, issuesModel);
|
|
31
|
-
this.#issueDetails = issueDetails;
|
|
28
|
+
super(issueCode, issueDetails, issuesModel);
|
|
32
29
|
}
|
|
33
30
|
|
|
34
31
|
getCategory(): IssueCategory {
|
|
@@ -36,12 +33,12 @@ export class CookieDeprecationMetadataIssue extends Issue {
|
|
|
36
33
|
}
|
|
37
34
|
|
|
38
35
|
getDescription(): MarkdownIssueDescription {
|
|
39
|
-
const fileName =
|
|
40
|
-
|
|
36
|
+
const fileName =
|
|
37
|
+
this.details().operation === 'SetCookie' ? 'cookieWarnMetadataGrantSet.md' : 'cookieWarnMetadataGrantRead.md';
|
|
41
38
|
|
|
42
39
|
let optOutText = '';
|
|
43
|
-
if (this
|
|
44
|
-
optOutText = '\n\n (Top level site opt-out: ' + this
|
|
40
|
+
if (this.details().isOptOutTopLevel) {
|
|
41
|
+
optOutText = '\n\n (Top level site opt-out: ' + this.details().optOutPercentage +
|
|
45
42
|
'% - [learn more](gracePeriodStagedControlExplainer))';
|
|
46
43
|
}
|
|
47
44
|
|
|
@@ -59,16 +56,12 @@ export class CookieDeprecationMetadataIssue extends Issue {
|
|
|
59
56
|
};
|
|
60
57
|
}
|
|
61
58
|
|
|
62
|
-
details(): Protocol.Audits.CookieDeprecationMetadataIssueDetails {
|
|
63
|
-
return this.#issueDetails;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
59
|
getKind(): IssueKind {
|
|
67
60
|
return IssueKind.BREAKING_CHANGE;
|
|
68
61
|
}
|
|
69
62
|
|
|
70
63
|
primaryKey(): string {
|
|
71
|
-
return JSON.stringify(this
|
|
64
|
+
return JSON.stringify(this.details());
|
|
72
65
|
}
|
|
73
66
|
|
|
74
67
|
static fromInspectorIssue(
|
|
@@ -68,27 +68,20 @@ export interface CookieReportInfo {
|
|
|
68
68
|
insight?: Protocol.Audits.CookieIssueInsight;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
export class CookieIssue extends Issue {
|
|
72
|
-
#issueDetails: Protocol.Audits.CookieIssueDetails;
|
|
73
|
-
|
|
74
|
-
constructor(
|
|
75
|
-
code: string, issueDetails: Protocol.Audits.CookieIssueDetails, issuesModel: SDK.IssuesModel.IssuesModel|null,
|
|
76
|
-
issueId: Protocol.Audits.IssueId|undefined) {
|
|
77
|
-
super(code, issuesModel, issueId);
|
|
78
|
-
this.#issueDetails = issueDetails;
|
|
79
|
-
}
|
|
80
|
-
|
|
71
|
+
export class CookieIssue extends Issue<Protocol.Audits.CookieIssueDetails> {
|
|
81
72
|
cookieId(): string {
|
|
82
|
-
|
|
83
|
-
|
|
73
|
+
const details = this.details();
|
|
74
|
+
if (details.cookie) {
|
|
75
|
+
const {domain, path, name} = details.cookie;
|
|
84
76
|
const cookieId = `${domain};${path};${name}`;
|
|
85
77
|
return cookieId;
|
|
86
78
|
}
|
|
87
|
-
return this
|
|
79
|
+
return this.details().rawCookieLine ?? 'no-cookie-info';
|
|
88
80
|
}
|
|
89
81
|
|
|
90
82
|
primaryKey(): string {
|
|
91
|
-
const
|
|
83
|
+
const details = this.details();
|
|
84
|
+
const requestId = details.request ? details.request.requestId : 'no-request';
|
|
92
85
|
return `${this.code()}-(${this.cookieId()})-(${requestId})`;
|
|
93
86
|
}
|
|
94
87
|
|
|
@@ -210,22 +203,25 @@ export class CookieIssue extends Issue {
|
|
|
210
203
|
}
|
|
211
204
|
|
|
212
205
|
override cookies(): Iterable<Protocol.Audits.AffectedCookie> {
|
|
213
|
-
|
|
214
|
-
|
|
206
|
+
const details = this.details();
|
|
207
|
+
if (details.cookie) {
|
|
208
|
+
return [details.cookie];
|
|
215
209
|
}
|
|
216
210
|
return [];
|
|
217
211
|
}
|
|
218
212
|
|
|
219
213
|
override rawCookieLines(): Iterable<string> {
|
|
220
|
-
|
|
221
|
-
|
|
214
|
+
const details = this.details();
|
|
215
|
+
if (details.rawCookieLine) {
|
|
216
|
+
return [details.rawCookieLine];
|
|
222
217
|
}
|
|
223
218
|
return [];
|
|
224
219
|
}
|
|
225
220
|
|
|
226
221
|
override requests(): Iterable<Protocol.Audits.AffectedRequest> {
|
|
227
|
-
|
|
228
|
-
|
|
222
|
+
const details = this.details();
|
|
223
|
+
if (details.request) {
|
|
224
|
+
return [details.request];
|
|
229
225
|
}
|
|
230
226
|
return [];
|
|
231
227
|
}
|
|
@@ -244,27 +240,28 @@ export class CookieIssue extends Issue {
|
|
|
244
240
|
|
|
245
241
|
override isCausedByThirdParty(): boolean {
|
|
246
242
|
const outermostFrame = SDK.FrameManager.FrameManager.instance().getOutermostFrame();
|
|
247
|
-
return isCausedByThirdParty(outermostFrame, this
|
|
243
|
+
return isCausedByThirdParty(outermostFrame, this.details().cookieUrl, this.details().siteForCookies);
|
|
248
244
|
}
|
|
249
245
|
|
|
250
246
|
getKind(): IssueKind {
|
|
251
|
-
if (this
|
|
247
|
+
if (this.details().cookieExclusionReasons?.length > 0) {
|
|
252
248
|
return IssueKind.PAGE_ERROR;
|
|
253
249
|
}
|
|
254
250
|
return IssueKind.BREAKING_CHANGE;
|
|
255
251
|
}
|
|
256
252
|
|
|
257
253
|
makeCookieReportEntry(): CookieReportInfo|undefined {
|
|
258
|
-
const status = CookieIssue.getCookieStatus(this
|
|
259
|
-
|
|
260
|
-
|
|
254
|
+
const status = CookieIssue.getCookieStatus(this.details());
|
|
255
|
+
const details = this.details();
|
|
256
|
+
if (details.cookie && details.cookieUrl && status !== undefined) {
|
|
257
|
+
const entity = ThirdPartyWeb.ThirdPartyWeb.getEntity(details.cookieUrl);
|
|
261
258
|
return {
|
|
262
|
-
name:
|
|
263
|
-
domain:
|
|
259
|
+
name: details.cookie.name,
|
|
260
|
+
domain: details.cookie.domain,
|
|
264
261
|
type: entity?.category,
|
|
265
262
|
platform: entity?.name,
|
|
266
263
|
status,
|
|
267
|
-
insight: this
|
|
264
|
+
insight: this.details().insight,
|
|
268
265
|
};
|
|
269
266
|
}
|
|
270
267
|
|
|
@@ -332,8 +329,8 @@ export class CookieIssue extends Issue {
|
|
|
332
329
|
return new SDK.ConsoleModel.ConsoleMessage(
|
|
333
330
|
issuesModel.target().model(SDK.RuntimeModel.RuntimeModel), Common.Console.FrontendMessageSource.ISSUE_PANEL,
|
|
334
331
|
Protocol.Log.LogEntryLevel.Warning, UIStrings.consoleTpcdErrorMessage, {
|
|
335
|
-
url: this
|
|
336
|
-
affectedResources: {requestId: this
|
|
332
|
+
url: this.details().request?.url as Platform.DevToolsPath.UrlString | undefined,
|
|
333
|
+
affectedResources: {requestId: this.details().request?.requestId, issueId: this.issueId},
|
|
337
334
|
isCookieReportIssue: true
|
|
338
335
|
});
|
|
339
336
|
}
|
|
@@ -115,26 +115,19 @@ function getIssueCode(details: Protocol.Audits.CorsIssueDetails): IssueCode {
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export class CorsIssue extends Issue<IssueCode> {
|
|
119
|
-
#issueDetails: Protocol.Audits.CorsIssueDetails;
|
|
120
|
-
|
|
118
|
+
export class CorsIssue extends Issue<Protocol.Audits.CorsIssueDetails, IssueCode> {
|
|
121
119
|
constructor(
|
|
122
120
|
issueDetails: Protocol.Audits.CorsIssueDetails, issuesModel: SDK.IssuesModel.IssuesModel|null,
|
|
123
121
|
issueId: Protocol.Audits.IssueId|undefined) {
|
|
124
|
-
super(getIssueCode(issueDetails), issuesModel, issueId);
|
|
125
|
-
this.#issueDetails = issueDetails;
|
|
122
|
+
super(getIssueCode(issueDetails), issueDetails, issuesModel, issueId);
|
|
126
123
|
}
|
|
127
124
|
|
|
128
125
|
getCategory(): IssueCategory {
|
|
129
126
|
return IssueCategory.CORS;
|
|
130
127
|
}
|
|
131
128
|
|
|
132
|
-
details(): Protocol.Audits.CorsIssueDetails {
|
|
133
|
-
return this.#issueDetails;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
129
|
getDescription(): MarkdownIssueDescription|null {
|
|
137
|
-
switch (getIssueCode(this
|
|
130
|
+
switch (getIssueCode(this.details())) {
|
|
138
131
|
case IssueCode.INSECURE_PRIVATE_NETWORK:
|
|
139
132
|
return {
|
|
140
133
|
file: 'corsInsecurePrivateNetwork.md',
|
|
@@ -269,16 +262,14 @@ export class CorsIssue extends Issue<IssueCode> {
|
|
|
269
262
|
}
|
|
270
263
|
|
|
271
264
|
primaryKey(): string {
|
|
272
|
-
return JSON.stringify(this
|
|
265
|
+
return JSON.stringify(this.details());
|
|
273
266
|
}
|
|
274
267
|
|
|
275
268
|
getKind(): IssueKind {
|
|
276
|
-
if (this
|
|
277
|
-
(this
|
|
278
|
-
this
|
|
279
|
-
|
|
280
|
-
this.#issueDetails.corsErrorStatus.corsError ===
|
|
281
|
-
Protocol.Network.CorsError.PreflightInvalidAllowPrivateNetwork)) {
|
|
269
|
+
if (this.details().isWarning &&
|
|
270
|
+
(this.details().corsErrorStatus.corsError === Protocol.Network.CorsError.InsecurePrivateNetwork ||
|
|
271
|
+
this.details().corsErrorStatus.corsError === Protocol.Network.CorsError.PreflightMissingAllowPrivateNetwork ||
|
|
272
|
+
this.details().corsErrorStatus.corsError === Protocol.Network.CorsError.PreflightInvalidAllowPrivateNetwork)) {
|
|
282
273
|
return IssueKind.BREAKING_CHANGE;
|
|
283
274
|
}
|
|
284
275
|
return IssueKind.PAGE_ERROR;
|
|
@@ -42,25 +42,22 @@ export function isCrossOriginEmbedderPolicyIssue(reason: Protocol.Audits.Blocked
|
|
|
42
42
|
return false;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
export class CrossOriginEmbedderPolicyIssue extends Issue {
|
|
46
|
-
#issueDetails: Protocol.Audits.BlockedByResponseIssueDetails;
|
|
47
|
-
|
|
45
|
+
export class CrossOriginEmbedderPolicyIssue extends Issue<Protocol.Audits.BlockedByResponseIssueDetails> {
|
|
48
46
|
constructor(
|
|
49
47
|
issueDetails: Protocol.Audits.BlockedByResponseIssueDetails, issuesModel: SDK.IssuesModel.IssuesModel|null) {
|
|
50
|
-
super(`CrossOriginEmbedderPolicyIssue::${issueDetails.reason}`, issuesModel);
|
|
51
|
-
this.#issueDetails = issueDetails;
|
|
48
|
+
super(`CrossOriginEmbedderPolicyIssue::${issueDetails.reason}`, issueDetails, issuesModel);
|
|
52
49
|
}
|
|
53
50
|
|
|
54
51
|
primaryKey(): string {
|
|
55
|
-
return `${this.code()}-(${this
|
|
52
|
+
return `${this.code()}-(${this.details().request.requestId})`;
|
|
56
53
|
}
|
|
57
54
|
|
|
58
55
|
override getBlockedByResponseDetails(): Iterable<Protocol.Audits.BlockedByResponseIssueDetails> {
|
|
59
|
-
return [this
|
|
56
|
+
return [this.details()];
|
|
60
57
|
}
|
|
61
58
|
|
|
62
59
|
override requests(): Iterable<Protocol.Audits.AffectedRequest> {
|
|
63
|
-
return [this
|
|
60
|
+
return [this.details().request];
|
|
64
61
|
}
|
|
65
62
|
|
|
66
63
|
getCategory(): IssueCategory {
|
|
@@ -33,35 +33,28 @@ const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined
|
|
|
33
33
|
const strDeprecation = i18n.i18n.registerUIStrings('generated/Deprecation.ts', Deprecation.UIStrings);
|
|
34
34
|
const i18nLazyDeprecationString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, strDeprecation);
|
|
35
35
|
|
|
36
|
-
export class DeprecationIssue extends Issue {
|
|
37
|
-
#issueDetails: Protocol.Audits.DeprecationIssueDetails;
|
|
38
|
-
|
|
36
|
+
export class DeprecationIssue extends Issue<Protocol.Audits.DeprecationIssueDetails> {
|
|
39
37
|
constructor(issueDetails: Protocol.Audits.DeprecationIssueDetails, issuesModel: SDK.IssuesModel.IssuesModel|null) {
|
|
40
38
|
const issueCode = [
|
|
41
39
|
Protocol.Audits.InspectorIssueCode.DeprecationIssue,
|
|
42
40
|
issueDetails.type,
|
|
43
41
|
].join('::');
|
|
44
|
-
super({code: issueCode, umaCode: 'DeprecationIssue'}, issuesModel);
|
|
45
|
-
this.#issueDetails = issueDetails;
|
|
42
|
+
super({code: issueCode, umaCode: 'DeprecationIssue'}, issueDetails, issuesModel);
|
|
46
43
|
}
|
|
47
44
|
|
|
48
45
|
getCategory(): IssueCategory {
|
|
49
46
|
return IssueCategory.OTHER;
|
|
50
47
|
}
|
|
51
48
|
|
|
52
|
-
details(): Protocol.Audits.DeprecationIssueDetails {
|
|
53
|
-
return this.#issueDetails;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
49
|
getDescription(): MarkdownIssueDescription {
|
|
57
50
|
let messageFunction = (): string => '';
|
|
58
|
-
const maybeEnglishMessage = (Deprecation.UIStrings as Record<string, string>)[this
|
|
51
|
+
const maybeEnglishMessage = (Deprecation.UIStrings as Record<string, string>)[this.details().type];
|
|
59
52
|
if (maybeEnglishMessage) {
|
|
60
53
|
messageFunction = i18nLazyDeprecationString(maybeEnglishMessage);
|
|
61
54
|
}
|
|
62
55
|
|
|
63
56
|
const links = [];
|
|
64
|
-
const deprecationMeta = Deprecation.DEPRECATIONS_METADATA[this
|
|
57
|
+
const deprecationMeta = Deprecation.DEPRECATIONS_METADATA[this.details().type];
|
|
65
58
|
const feature = deprecationMeta?.chromeStatusFeature ?? 0;
|
|
66
59
|
if (feature !== 0) {
|
|
67
60
|
links.push({
|
|
@@ -87,14 +80,14 @@ export class DeprecationIssue extends Issue {
|
|
|
87
80
|
}
|
|
88
81
|
|
|
89
82
|
override sources(): Iterable<Protocol.Audits.SourceCodeLocation> {
|
|
90
|
-
if (this
|
|
91
|
-
return [this
|
|
83
|
+
if (this.details().sourceCodeLocation) {
|
|
84
|
+
return [this.details().sourceCodeLocation];
|
|
92
85
|
}
|
|
93
86
|
return [];
|
|
94
87
|
}
|
|
95
88
|
|
|
96
89
|
primaryKey(): string {
|
|
97
|
-
return JSON.stringify(this
|
|
90
|
+
return JSON.stringify(this.details());
|
|
98
91
|
}
|
|
99
92
|
|
|
100
93
|
getKind(): IssueKind {
|
|
@@ -12,9 +12,7 @@ import {
|
|
|
12
12
|
resolveLazyDescription
|
|
13
13
|
} from './MarkdownIssueDescription.js';
|
|
14
14
|
|
|
15
|
-
export class ElementAccessibilityIssue extends Issue {
|
|
16
|
-
private issueDetails: Protocol.Audits.ElementAccessibilityIssueDetails;
|
|
17
|
-
|
|
15
|
+
export class ElementAccessibilityIssue extends Issue<Protocol.Audits.ElementAccessibilityIssueDetails> {
|
|
18
16
|
constructor(
|
|
19
17
|
issueDetails: Protocol.Audits.ElementAccessibilityIssueDetails, issuesModel: SDK.IssuesModel.IssuesModel|null,
|
|
20
18
|
issueId?: Protocol.Audits.IssueId) {
|
|
@@ -22,12 +20,11 @@ export class ElementAccessibilityIssue extends Issue {
|
|
|
22
20
|
Protocol.Audits.InspectorIssueCode.ElementAccessibilityIssue,
|
|
23
21
|
issueDetails.elementAccessibilityIssueReason,
|
|
24
22
|
].join('::');
|
|
25
|
-
super(issueCode, issuesModel, issueId);
|
|
26
|
-
this.issueDetails = issueDetails;
|
|
23
|
+
super(issueCode, issueDetails, issuesModel, issueId);
|
|
27
24
|
}
|
|
28
25
|
|
|
29
26
|
primaryKey(): string {
|
|
30
|
-
return JSON.stringify(this.
|
|
27
|
+
return JSON.stringify(this.details());
|
|
31
28
|
}
|
|
32
29
|
|
|
33
30
|
getDescription(): MarkdownIssueDescription|null {
|
|
@@ -37,7 +34,7 @@ export class ElementAccessibilityIssue extends Issue {
|
|
|
37
34
|
links: [],
|
|
38
35
|
};
|
|
39
36
|
}
|
|
40
|
-
const description = issueDescriptions.get(this.
|
|
37
|
+
const description = issueDescriptions.get(this.details().elementAccessibilityIssueReason);
|
|
41
38
|
if (!description) {
|
|
42
39
|
return null;
|
|
43
40
|
}
|
|
@@ -52,15 +49,11 @@ export class ElementAccessibilityIssue extends Issue {
|
|
|
52
49
|
return IssueCategory.OTHER;
|
|
53
50
|
}
|
|
54
51
|
|
|
55
|
-
details(): Protocol.Audits.ElementAccessibilityIssueDetails {
|
|
56
|
-
return this.issueDetails;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
52
|
isInteractiveContentAttributesSelectDescendantIssue(): boolean {
|
|
60
|
-
return this.
|
|
61
|
-
(this.
|
|
53
|
+
return this.details().hasDisallowedAttributes &&
|
|
54
|
+
(this.details().elementAccessibilityIssueReason !==
|
|
62
55
|
Protocol.Audits.ElementAccessibilityIssueReason.InteractiveContentOptionChild &&
|
|
63
|
-
this.
|
|
56
|
+
this.details().elementAccessibilityIssueReason !==
|
|
64
57
|
Protocol.Audits.ElementAccessibilityIssueReason.InteractiveContentSummaryDescendant);
|
|
65
58
|
}
|
|
66
59
|
|
|
@@ -22,9 +22,7 @@ const UIStrings = {
|
|
|
22
22
|
const str_ = i18n.i18n.registerUIStrings('models/issues_manager/FederatedAuthRequestIssue.ts', UIStrings);
|
|
23
23
|
const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);
|
|
24
24
|
|
|
25
|
-
export class FederatedAuthRequestIssue extends Issue {
|
|
26
|
-
readonly #issueDetails: Protocol.Audits.FederatedAuthRequestIssueDetails;
|
|
27
|
-
|
|
25
|
+
export class FederatedAuthRequestIssue extends Issue<Protocol.Audits.FederatedAuthRequestIssueDetails> {
|
|
28
26
|
constructor(
|
|
29
27
|
issueDetails: Protocol.Audits.FederatedAuthRequestIssueDetails, issuesModel: SDK.IssuesModel.IssuesModel|null) {
|
|
30
28
|
super(
|
|
@@ -35,20 +33,15 @@ export class FederatedAuthRequestIssue extends Issue {
|
|
|
35
33
|
issueDetails.federatedAuthRequestIssueReason,
|
|
36
34
|
].join('::'),
|
|
37
35
|
},
|
|
38
|
-
issuesModel);
|
|
39
|
-
this.#issueDetails = issueDetails;
|
|
36
|
+
issueDetails, issuesModel);
|
|
40
37
|
}
|
|
41
38
|
|
|
42
39
|
getCategory(): IssueCategory {
|
|
43
40
|
return IssueCategory.OTHER;
|
|
44
41
|
}
|
|
45
42
|
|
|
46
|
-
details(): Protocol.Audits.FederatedAuthRequestIssueDetails {
|
|
47
|
-
return this.#issueDetails;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
43
|
getDescription(): MarkdownIssueDescription|null {
|
|
51
|
-
const description = issueDescriptions.get(this
|
|
44
|
+
const description = issueDescriptions.get(this.details().federatedAuthRequestIssueReason);
|
|
52
45
|
if (!description) {
|
|
53
46
|
return null;
|
|
54
47
|
}
|
|
@@ -56,7 +49,7 @@ export class FederatedAuthRequestIssue extends Issue {
|
|
|
56
49
|
}
|
|
57
50
|
|
|
58
51
|
primaryKey(): string {
|
|
59
|
-
return JSON.stringify(this
|
|
52
|
+
return JSON.stringify(this.details());
|
|
60
53
|
}
|
|
61
54
|
|
|
62
55
|
getKind(): IssueKind {
|