chrome-devtools-frontend 1.0.1616061 → 1.0.1621064
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/AUTHORS +1 -0
- package/docs/checklist/README.md +8 -7
- package/eslint.config.mjs +7 -0
- package/front_end/core/common/Object.ts +11 -2
- package/front_end/core/dom_extension/DOMExtension.ts +11 -8
- package/front_end/core/host/AidaClient.ts +8 -0
- package/front_end/core/host/AidaGcaTranslation.ts +1 -0
- package/front_end/core/host/UserMetrics.ts +0 -1
- package/front_end/core/platform/api/HostRuntime.ts +2 -2
- package/front_end/core/platform/browser/HostRuntime.ts +4 -2
- package/front_end/core/platform/node/HostRuntime.ts +2 -2
- package/front_end/core/root/ExperimentNames.ts +0 -1
- package/front_end/core/sdk/NetworkManager.ts +30 -4
- package/front_end/core/sdk/NetworkRequest.ts +2 -10
- package/front_end/core/sdk/Resource.ts +2 -1
- package/front_end/core/sdk/ServerSentEventsProtocol.ts +1 -1
- package/front_end/core/sdk/TraceObject.ts +7 -2
- package/front_end/entrypoint_template.html +1 -2
- package/front_end/entrypoints/greendev_floaty/FloatyEntrypoint.ts +119 -15
- package/front_end/entrypoints/greendev_floaty/greendev_floaty.ts +0 -2
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +43 -33
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshotLoader.ts +2 -1
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshotWorkerDispatcher.ts +9 -6
- package/front_end/entrypoints/main/MainImpl.ts +0 -2
- package/front_end/generated/InspectorBackendCommands.ts +8 -7
- package/front_end/generated/SupportedCSSProperties.js +119 -100
- package/front_end/generated/protocol-mapping.d.ts +1 -9
- package/front_end/generated/protocol-proxy-api.d.ts +1 -9
- package/front_end/generated/protocol.ts +24 -1
- package/front_end/legacy/legacy-defs.d.ts +1 -1
- package/front_end/models/ai_assistance/AiConversation.ts +1 -0
- package/front_end/models/ai_assistance/AiHistoryStorage.ts +39 -0
- package/front_end/models/ai_assistance/agents/AiAgent.ts +2 -0
- package/front_end/models/ai_assistance/agents/ConversationSummaryAgent.ts +28 -16
- package/front_end/models/ai_assistance/agents/GreenDevAgent.ts +512 -0
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +112 -145
- package/front_end/models/ai_assistance/agents/README.md +0 -5
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +9 -16
- package/front_end/models/ai_assistance/ai_assistance.ts +2 -0
- package/front_end/models/ai_code_completion/AiCodeCompletion.ts +19 -1
- package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +48 -13
- package/front_end/models/bindings/SymbolizedError.ts +95 -8
- package/front_end/models/emulation/DeviceModeModel.ts +42 -13
- package/front_end/models/emulation/EmulatedDevices.ts +1 -1
- package/front_end/models/issues_manager/IssuesManager.ts +13 -6
- package/front_end/models/issues_manager/IssuesManagerEvents.ts +1 -0
- package/front_end/models/javascript_metadata/NativeFunctions.js +2 -2
- package/front_end/models/live-metrics/web-vitals-injected/web-vitals-injected.ts +1 -0
- package/front_end/models/stack_trace/DetailedErrorStackParser.ts +49 -10
- package/front_end/models/stack_trace/ErrorStackParser.ts +18 -0
- package/front_end/models/stack_trace/StackTraceModel.ts +5 -1
- package/front_end/models/text_utils/ContentData.ts +71 -10
- package/front_end/models/trace/types/File.ts +8 -1
- package/front_end/models/web_mcp/WebMCPModel.ts +22 -0
- package/front_end/models/workspace/UISourceCode.ts +4 -4
- package/front_end/panels/accessibility/ARIAAttributesView.ts +4 -4
- package/front_end/panels/accessibility/AccessibilitySubPane.ts +3 -2
- package/front_end/panels/accessibility/SourceOrderView.ts +4 -4
- package/front_end/panels/ai_assistance/ai_assistance.ts +1 -0
- package/front_end/panels/ai_assistance/components/ChatInput.ts +66 -0
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +144 -21
- package/front_end/panels/ai_assistance/components/ChatView.ts +43 -8
- package/front_end/panels/ai_assistance/components/ExportForAgentsDialog.ts +1 -0
- package/front_end/panels/ai_assistance/components/WalkthroughUtils.ts +74 -0
- package/front_end/panels/ai_assistance/components/WalkthroughView.ts +34 -5
- package/front_end/panels/ai_assistance/components/chatMessage.css +11 -0
- package/front_end/panels/ai_assistance/components/walkthroughView.css +7 -0
- package/front_end/panels/application/ApplicationPanelTreeElement.ts +1 -1
- package/front_end/panels/application/CookieItemsView.ts +8 -9
- package/front_end/panels/application/DOMStorageItemsView.ts +3 -3
- package/front_end/panels/application/DeviceBoundSessionsModel.ts +7 -0
- package/front_end/panels/application/DeviceBoundSessionsTreeElement.ts +21 -0
- package/front_end/panels/application/DeviceBoundSessionsView.ts +2 -2
- package/front_end/panels/application/ExtensionStorageItemsView.ts +1 -1
- package/front_end/panels/application/KeyValueStorageItemsView.ts +32 -14
- package/front_end/panels/application/ResourcesPanel.ts +5 -5
- package/front_end/panels/application/StorageItemsToolbar.ts +0 -19
- package/front_end/panels/application/WebMCPView.ts +285 -86
- package/front_end/panels/application/components/BounceTrackingMitigationsView.ts +4 -4
- package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts +4 -4
- package/front_end/panels/application/webMCPView.css +261 -182
- package/front_end/panels/browser_debugger/CategorizedBreakpointsSidebarPane.ts +9 -5
- package/front_end/panels/changes/ChangesSidebar.ts +2 -2
- package/front_end/panels/changes/ChangesView.ts +9 -14
- package/front_end/panels/console/ConsolePanel.ts +10 -3
- package/front_end/panels/console/ConsoleSidebar.ts +5 -5
- package/front_end/panels/console/ConsoleView.ts +11 -4
- package/front_end/panels/console/ConsoleViewMessage.ts +1 -19
- package/front_end/panels/coverage/CoverageView.ts +4 -5
- package/front_end/panels/elements/ElementsPanel.ts +9 -12
- package/front_end/panels/elements/ElementsSidebarPane.ts +4 -5
- package/front_end/panels/elements/ElementsTreeElement.ts +61 -0
- package/front_end/panels/elements/ElementsTreeOutline.ts +46 -0
- package/front_end/panels/elements/LayersWidget.ts +2 -2
- package/front_end/panels/elements/MetricsSidebarPane.ts +5 -4
- package/front_end/panels/elements/StylePropertiesSection.ts +1 -1
- package/front_end/panels/elements/StylePropertyTreeElement.ts +11 -6
- package/front_end/panels/elements/StylesSidebarPane.ts +4 -1
- package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +19 -20
- package/front_end/panels/elements/components/ElementsBreadcrumbsUtils.ts +29 -29
- package/front_end/panels/elements/components/QueryContainer.ts +5 -6
- package/front_end/panels/elements/components/components.ts +0 -2
- package/front_end/panels/emulation/MediaQueryInspector.ts +4 -7
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +4 -7
- package/front_end/panels/layer_viewer/Layers3DView.ts +2 -2
- package/front_end/panels/lighthouse/LighthouseStartView.ts +2 -2
- package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +47 -66
- package/front_end/panels/network/NetworkConfigView.ts +11 -11
- package/front_end/panels/network/RequestConditionsDrawer.ts +6 -4
- package/front_end/panels/network/RequestCookiesView.ts +2 -2
- package/front_end/panels/network/RequestDeviceBoundSessionsView.ts +2 -2
- package/front_end/panels/network/RequestHeadersView.ts +2 -2
- package/front_end/panels/network/components/DirectSocketConnectionView.ts +4 -5
- package/front_end/panels/performance_monitor/PerformanceMonitor.ts +6 -9
- package/front_end/panels/profiler/HeapProfileView.ts +29 -4
- package/front_end/panels/profiler/ProfilesPanel.ts +1 -1
- package/front_end/panels/protocol_monitor/JSONEditor.css +8 -1
- package/front_end/panels/protocol_monitor/JSONEditor.ts +7 -2
- package/front_end/panels/protocol_monitor/ProtocolMonitor.ts +6 -4
- package/front_end/panels/recorder/components/ControlButton.ts +4 -4
- package/front_end/panels/recorder/components/StepView.ts +6 -6
- package/front_end/panels/search/SearchView.ts +4 -7
- package/front_end/panels/sources/DebuggerPausedMessage.ts +18 -22
- package/front_end/panels/sources/SourcesView.ts +1 -1
- package/front_end/panels/sources/TabbedEditorContainer.ts +2 -2
- package/front_end/panels/sources/ThreadsSidebarPane.ts +2 -4
- package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +24 -20
- package/front_end/panels/timeline/StatusDialog.ts +5 -8
- package/front_end/panels/timeline/ThirdPartyTreeView.ts +10 -0
- package/front_end/panels/timeline/TimelineLoader.ts +3 -4
- package/front_end/panels/timeline/TimelineSelectorStatsView.ts +2 -2
- package/front_end/panels/timeline/components/TimelineRangeSummaryView.ts +2 -0
- package/front_end/panels/timeline/components/TimelineSummary.ts +9 -1
- package/front_end/panels/timeline/components/timelineSummary.css +4 -0
- package/front_end/panels/timeline/overlays/components/TimespanBreakdownOverlay.ts +2 -2
- package/front_end/panels/timeline/thirdPartyTreeView.css +8 -1
- package/front_end/panels/web_audio/WebAudioView.ts +5 -4
- package/front_end/panels/whats_new/ReleaseNoteText.ts +9 -9
- package/front_end/panels/whats_new/resources/WNDT.md +9 -6
- 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/ElementHandle.d.ts +41 -2
- 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/Extension.d.ts +13 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Extension.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Extension.js +21 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Extension.js.map +1 -1
- 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 +1 -0
- 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/cdp/Browser.d.ts +2 -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 +5 -5
- 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/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js +2 -2
- 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/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ElementHandle.js +1 -0
- 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/Extension.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Extension.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Extension.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Extension.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/TargetManager.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/TargetManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/TargetManager.js +52 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/TargetManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/WebMCP.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/WebMCP.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts +25 -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/BrowserLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.js +2 -2
- 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.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js +0 -1
- 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/revisions.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +2 -2
- 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/cjs/third_party/urlpattern-polyfill/urlpattern-polyfill.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/third_party/urlpattern-polyfill/urlpattern-polyfill.js +853 -0
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +91 -11
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +1046 -33
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.d.ts +41 -2
- 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/Extension.d.ts +13 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Extension.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Extension.js +21 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Extension.js.map +1 -1
- 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 +1 -0
- 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/cdp/Browser.d.ts +2 -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 +5 -5
- 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/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.js +2 -2
- 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/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ElementHandle.js +1 -0
- 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/Extension.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Extension.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Extension.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Extension.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/TargetManager.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/TargetManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/TargetManager.js +52 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/TargetManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/WebMCP.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/WebMCP.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts +25 -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/injected/injected.d.ts +1 -1
- 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 +2 -2
- 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.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js +0 -1
- 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/revisions.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Mutex.d.ts +2 -2
- 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/esm/third_party/urlpattern-polyfill/urlpattern-polyfill.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/third_party/urlpattern-polyfill/urlpattern-polyfill.js +805 -0
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +91 -11
- package/front_end/third_party/puppeteer/package/package.json +3 -2
- package/front_end/third_party/puppeteer/package/src/api/ElementHandle.ts +53 -11
- package/front_end/third_party/puppeteer/package/src/api/Extension.ts +29 -1
- package/front_end/third_party/puppeteer/package/src/bidi/ElementHandle.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/cdp/Browser.ts +6 -0
- package/front_end/third_party/puppeteer/package/src/cdp/BrowserConnector.ts +2 -0
- package/front_end/third_party/puppeteer/package/src/cdp/ElementHandle.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/cdp/Extension.ts +9 -2
- package/front_end/third_party/puppeteer/package/src/cdp/TargetManager.ts +59 -0
- package/front_end/third_party/puppeteer/package/src/cdp/WebMCP.ts +6 -1
- package/front_end/third_party/puppeteer/package/src/common/ConnectOptions.ts +26 -0
- package/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts +2 -0
- package/front_end/third_party/puppeteer/package/src/node/ChromeLauncher.ts +0 -1
- package/front_end/third_party/puppeteer/package/src/revisions.ts +2 -2
- package/front_end/third_party/puppeteer/package/src/util/version.ts +1 -1
- package/front_end/third_party/puppeteer/puppeteer-tsconfig.json +2 -1
- package/front_end/third_party/web-vitals/README.chromium +2 -2
- package/front_end/third_party/web-vitals/package/README.md +21 -10
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onCLS.js +2 -4
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onFCP.js +1 -2
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onINP.d.ts +4 -0
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onINP.js +44 -39
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onLCP.js +25 -19
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onTTFB.js +1 -2
- package/front_end/third_party/web-vitals/package/dist/modules/lib/doubleRAF.js +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/lib/getActivationStart.js +1 -2
- package/front_end/third_party/web-vitals/package/dist/modules/lib/getLoadState.js +16 -18
- package/front_end/third_party/web-vitals/package/dist/modules/lib/getVisibilityWatcher.js +2 -1
- package/front_end/third_party/web-vitals/package/dist/modules/lib/initMetric.d.ts +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/lib/observe.js +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/lib/polyfills/interactionCountPolyfill.d.ts +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/lib/polyfills/interactionCountPolyfill.js +1 -3
- package/front_end/third_party/web-vitals/package/dist/modules/lib/whenActivated.js +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/lib/whenIdleOrHidden.js +11 -7
- package/front_end/third_party/web-vitals/package/dist/modules/onCLS.js +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/types/inp.d.ts +4 -0
- package/front_end/third_party/web-vitals/package/dist/modules/types.d.ts +1 -2
- package/front_end/third_party/web-vitals/package/dist/modules/types.js +0 -1
- package/front_end/third_party/web-vitals/package/package.json +24 -27
- package/front_end/third_party/web-vitals/package/src/attribution/onCLS.ts +2 -7
- package/front_end/third_party/web-vitals/package/src/attribution/onFCP.ts +1 -2
- package/front_end/third_party/web-vitals/package/src/attribution/onINP.ts +49 -43
- package/front_end/third_party/web-vitals/package/src/attribution/onLCP.ts +27 -24
- package/front_end/third_party/web-vitals/package/src/attribution/onTTFB.ts +1 -2
- package/front_end/third_party/web-vitals/package/src/lib/doubleRAF.ts +1 -1
- package/front_end/third_party/web-vitals/package/src/lib/getActivationStart.ts +1 -2
- package/front_end/third_party/web-vitals/package/src/lib/getLoadState.ts +21 -20
- package/front_end/third_party/web-vitals/package/src/lib/getVisibilityWatcher.ts +2 -3
- package/front_end/third_party/web-vitals/package/src/lib/observe.ts +1 -1
- package/front_end/third_party/web-vitals/package/src/lib/polyfills/interactionCountPolyfill.ts +2 -4
- package/front_end/third_party/web-vitals/package/src/lib/whenActivated.ts +1 -1
- package/front_end/third_party/web-vitals/package/src/lib/whenIdleOrHidden.ts +13 -7
- package/front_end/third_party/web-vitals/package/src/onCLS.ts +1 -1
- package/front_end/third_party/web-vitals/package/src/types/inp.ts +4 -0
- package/front_end/third_party/web-vitals/package/src/types.ts +1 -2
- package/front_end/third_party/web-vitals/patches/0001-Add-onEachInteraction-to-onINP-options.patch +13 -74
- package/front_end/third_party/web-vitals/rebuild.sh +3 -3
- package/front_end/third_party/web-vitals/web-vitals-tsconfig.json +0 -1
- package/front_end/ui/components/icon_button/iconButton.css +1 -0
- package/front_end/ui/components/legacy_wrapper/LegacyWrapper.ts +6 -6
- package/front_end/ui/components/lists/list.css +4 -0
- package/front_end/ui/legacy/Dialog.ts +21 -2
- package/front_end/ui/legacy/SoftContextMenu.ts +3 -3
- package/front_end/ui/legacy/SplitWidget.ts +9 -9
- package/front_end/ui/legacy/TabbedPane.ts +12 -12
- package/front_end/ui/legacy/View.ts +24 -22
- package/front_end/ui/legacy/ViewManager.ts +12 -12
- package/front_end/ui/legacy/ViewRegistration.ts +2 -2
- package/front_end/ui/legacy/Widget.ts +165 -119
- package/front_end/ui/legacy/components/source_frame/ImageView.ts +10 -5
- package/front_end/ui/legacy/components/utils/JSPresentationUtils.ts +9 -6
- package/front_end/ui/legacy/components/utils/Linkifier.ts +37 -11
- package/front_end/ui/legacy/components/utils/jsUtils.css +1 -0
- package/front_end/ui/legacy/inspectorCommon.css +0 -6
- package/front_end/ui/lit/render.ts +11 -9
- package/front_end/ui/visual_logging/KnownContextValues.ts +36 -0
- package/package.json +1 -1
- package/front_end/Images/src/dots-circle.svg +0 -10
- package/front_end/panels/elements/components/Helper.ts +0 -35
- package/front_end/third_party/web-vitals/package/dist/modules/types/polyfills.d.ts +0 -4
- package/front_end/third_party/web-vitals/package/dist/modules/types/polyfills.js +0 -16
- package/front_end/third_party/web-vitals/package/src/types/polyfills.ts +0 -24
|
@@ -100,12 +100,13 @@ export interface ViewInput {
|
|
|
100
100
|
expandable?: boolean;
|
|
101
101
|
expanded?: boolean;
|
|
102
102
|
showIgnoreListed?: boolean;
|
|
103
|
+
ignoreListManager?: Workspace.IgnoreListManager.IgnoreListManager;
|
|
103
104
|
onExpand: () => void;
|
|
104
105
|
onShowMore: () => void;
|
|
105
106
|
onShowLess: () => void;
|
|
106
107
|
}
|
|
107
108
|
|
|
108
|
-
export type View = (input: ViewInput, output: object, target: HTMLElement) => void;
|
|
109
|
+
export type View = (input: ViewInput, output: object, target: HTMLElement|DocumentFragment) => void;
|
|
109
110
|
|
|
110
111
|
export const DEFAULT_VIEW: View = (input, output, target) => {
|
|
111
112
|
let renderExpandButton = Boolean(input.expandable);
|
|
@@ -158,6 +159,7 @@ export const DEFAULT_VIEW: View = (input, output, target) => {
|
|
|
158
159
|
inlineFrameIndex: 0,
|
|
159
160
|
revealBreakpoint: previousStackFrameWasBreakpointCondition,
|
|
160
161
|
maxLength: UI.UIUtils.MaxLengthForDisplayedURLsInConsole,
|
|
162
|
+
ignoreListManager: input.ignoreListManager,
|
|
161
163
|
});
|
|
162
164
|
link.setAttribute('jslog', `${VisualLogging.link('stack-trace').track({click: true})}`);
|
|
163
165
|
link.addEventListener('contextmenu', populateContextMenu.bind(null, link));
|
|
@@ -193,7 +195,7 @@ export const DEFAULT_VIEW: View = (input, output, target) => {
|
|
|
193
195
|
</tfoot>
|
|
194
196
|
` : nothing}
|
|
195
197
|
</table>
|
|
196
|
-
`, target);
|
|
198
|
+
`, target, {container: {classes: ['monospace', 'stack-preview-container']}});
|
|
197
199
|
// clang-format on
|
|
198
200
|
};
|
|
199
201
|
|
|
@@ -205,9 +207,10 @@ export interface Options {
|
|
|
205
207
|
widthConstrained?: boolean;
|
|
206
208
|
showColumnNumber?: boolean;
|
|
207
209
|
expandable?: boolean;
|
|
210
|
+
ignoreListManager?: Workspace.IgnoreListManager.IgnoreListManager;
|
|
208
211
|
}
|
|
209
212
|
|
|
210
|
-
export class StackTracePreviewContent extends UI.Widget.Widget {
|
|
213
|
+
export class StackTracePreviewContent extends UI.Widget.Widget<ShadowRoot> {
|
|
211
214
|
readonly #view: View;
|
|
212
215
|
|
|
213
216
|
#stackTrace?: StackTrace.StackTrace.StackTrace;
|
|
@@ -216,7 +219,7 @@ export class StackTracePreviewContent extends UI.Widget.Widget {
|
|
|
216
219
|
#showIgnoreListed = false;
|
|
217
220
|
|
|
218
221
|
constructor(element?: HTMLElement, view = DEFAULT_VIEW) {
|
|
219
|
-
super(element, {useShadowDom:
|
|
222
|
+
super(element, {useShadowDom: 'pure'});
|
|
220
223
|
this.#view = view;
|
|
221
224
|
}
|
|
222
225
|
|
|
@@ -254,7 +257,7 @@ export class StackTracePreviewContent extends UI.Widget.Widget {
|
|
|
254
257
|
const hasNonIgnoredLinks = this.linkElements.some(link => {
|
|
255
258
|
const uiLocation = Linkifier.uiLocation(link);
|
|
256
259
|
if (uiLocation) {
|
|
257
|
-
return !uiLocation.isIgnoreListed();
|
|
260
|
+
return !uiLocation.isIgnoreListed(this.#options.ignoreListManager);
|
|
258
261
|
}
|
|
259
262
|
return !link.classList.contains('ignore-list-link');
|
|
260
263
|
});
|
|
@@ -298,7 +301,7 @@ export class StackTracePreviewContent extends UI.Widget.Widget {
|
|
|
298
301
|
this.requestUpdate();
|
|
299
302
|
|
|
300
303
|
// If we are in a popup, this will trigger a re-layout
|
|
301
|
-
void this.updateComplete.then(() => UI.GlassPane.GlassPane.containerMoved(this.
|
|
304
|
+
void this.updateComplete.then(() => UI.GlassPane.GlassPane.containerMoved(this.element));
|
|
302
305
|
}
|
|
303
306
|
|
|
304
307
|
#onExpand(): void {
|
|
@@ -347,11 +347,11 @@ export class Linkifier extends Common.ObjectWrapper.ObjectWrapper<EventTypes> im
|
|
|
347
347
|
callFrame.url as Platform.DevToolsPath.UrlString, callFrame.lineNumber, linkifyOptions);
|
|
348
348
|
}
|
|
349
349
|
|
|
350
|
-
static
|
|
350
|
+
static linkifyUILocation(uiLocation: Workspace.UISourceCode.UILocation, options?: LinkifyOptions): HTMLElement {
|
|
351
351
|
const linkifyURLOptions = {
|
|
352
352
|
...options,
|
|
353
|
-
lineNumber:
|
|
354
|
-
columnNumber:
|
|
353
|
+
lineNumber: uiLocation.lineNumber,
|
|
354
|
+
columnNumber: uiLocation.columnNumber,
|
|
355
355
|
showColumnNumber: Boolean(options?.showColumnNumber),
|
|
356
356
|
className: options?.className,
|
|
357
357
|
tabStop: options?.tabStop,
|
|
@@ -361,10 +361,10 @@ export class Linkifier extends Common.ObjectWrapper.ObjectWrapper<EventTypes> im
|
|
|
361
361
|
omitOrigin: options?.omitOrigin,
|
|
362
362
|
} satisfies LinkifyURLOptions;
|
|
363
363
|
const {className = ''} = linkifyURLOptions;
|
|
364
|
-
const fallbackAnchor = Linkifier.linkifyURL(
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
364
|
+
const fallbackAnchor = Linkifier.linkifyURL(uiLocation.uiSourceCode.url(), linkifyURLOptions);
|
|
365
|
+
const isIgnoreListed = (options?.ignoreListManager ?? Workspace.IgnoreListManager.IgnoreListManager.instance())
|
|
366
|
+
.isUserIgnoreListedURL(uiLocation.uiSourceCode.url());
|
|
367
|
+
fallbackAnchor.classList.toggle('ignore-list-link', isIgnoreListed);
|
|
368
368
|
|
|
369
369
|
const createLinkOptions: CreateLinkOptions = {
|
|
370
370
|
tabStop: options?.tabStop,
|
|
@@ -381,12 +381,36 @@ export class Linkifier extends Common.ObjectWrapper.ObjectWrapper<EventTypes> im
|
|
|
381
381
|
revealBreakpoint: options?.revealBreakpoint,
|
|
382
382
|
};
|
|
383
383
|
|
|
384
|
-
|
|
385
|
-
Linkifier.updateAnchorFromUILocation(link, linkDisplayOptions, uiLocation);
|
|
384
|
+
Linkifier.updateAnchorFromUILocation(link, linkDisplayOptions, uiLocation, options?.ignoreListManager);
|
|
386
385
|
|
|
387
386
|
return link;
|
|
388
387
|
}
|
|
389
388
|
|
|
389
|
+
static linkifyStackTraceFrame(frame: StackTrace.StackTrace.Frame, options?: LinkifyOptions): HTMLElement {
|
|
390
|
+
const linkifyURLOptions = {
|
|
391
|
+
...options,
|
|
392
|
+
lineNumber: frame.line,
|
|
393
|
+
columnNumber: frame.column,
|
|
394
|
+
showColumnNumber: Boolean(options?.showColumnNumber),
|
|
395
|
+
className: options?.className,
|
|
396
|
+
tabStop: options?.tabStop,
|
|
397
|
+
inlineFrameIndex: options?.inlineFrameIndex ?? 0,
|
|
398
|
+
userMetric: options?.userMetric,
|
|
399
|
+
jslogContext: options?.jslogContext || 'script-location',
|
|
400
|
+
omitOrigin: options?.omitOrigin,
|
|
401
|
+
} satisfies LinkifyURLOptions;
|
|
402
|
+
const fallbackAnchor = Linkifier.linkifyURL(frame.url as Platform.DevToolsPath.UrlString, linkifyURLOptions);
|
|
403
|
+
if (!frame.uiSourceCode) {
|
|
404
|
+
const isIgnoreListed = (options?.ignoreListManager ?? Workspace.IgnoreListManager.IgnoreListManager.instance())
|
|
405
|
+
.isUserIgnoreListedURL(frame.url as Platform.DevToolsPath.UrlString);
|
|
406
|
+
fallbackAnchor.classList.toggle('ignore-list-link', isIgnoreListed);
|
|
407
|
+
return fallbackAnchor;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
const uiLocation = frame.uiSourceCode.uiLocation(frame.line, frame.column);
|
|
411
|
+
return Linkifier.linkifyUILocation(uiLocation, options);
|
|
412
|
+
}
|
|
413
|
+
|
|
390
414
|
linkifyStackTraceTopFrame(target: SDK.Target.Target|null, stackTrace: Protocol.Runtime.StackTrace): HTMLElement {
|
|
391
415
|
console.assert(stackTrace.callFrames.length > 0);
|
|
392
416
|
|
|
@@ -512,7 +536,8 @@ export class Linkifier extends Common.ObjectWrapper.ObjectWrapper<EventTypes> im
|
|
|
512
536
|
}
|
|
513
537
|
|
|
514
538
|
private static updateAnchorFromUILocation(
|
|
515
|
-
anchor: HTMLElement, options: LinkDisplayOptions, uiLocation: Workspace.UISourceCode.UILocation|null
|
|
539
|
+
anchor: HTMLElement, options: LinkDisplayOptions, uiLocation: Workspace.UISourceCode.UILocation|null,
|
|
540
|
+
ignoreListManager?: Workspace.IgnoreListManager.IgnoreListManager): void {
|
|
516
541
|
if (!uiLocation) {
|
|
517
542
|
anchor.classList.add('invalid-link');
|
|
518
543
|
anchor.removeAttribute('role');
|
|
@@ -541,7 +566,7 @@ export class Linkifier extends Common.ObjectWrapper.ObjectWrapper<EventTypes> im
|
|
|
541
566
|
}
|
|
542
567
|
}
|
|
543
568
|
UI.Tooltip.Tooltip.install(anchor, titleText);
|
|
544
|
-
const isIgnoreListed = Boolean(uiLocation?.isIgnoreListed());
|
|
569
|
+
const isIgnoreListed = Boolean(uiLocation?.isIgnoreListed(ignoreListManager));
|
|
545
570
|
anchor.classList.toggle('ignore-list-link', isIgnoreListed);
|
|
546
571
|
Linkifier.updateLinkDecorations(anchor);
|
|
547
572
|
}
|
|
@@ -1174,6 +1199,7 @@ export interface LinkifyOptions {
|
|
|
1174
1199
|
*/
|
|
1175
1200
|
revealBreakpoint?: boolean;
|
|
1176
1201
|
maxLength?: number;
|
|
1202
|
+
ignoreListManager?: Workspace.IgnoreListManager.IgnoreListManager;
|
|
1177
1203
|
}
|
|
1178
1204
|
|
|
1179
1205
|
interface CreateLinkOptions {
|
|
@@ -17,7 +17,9 @@ const renderOptions = new WeakMap<HTMLElement|DocumentFragment, RenderOptions|un
|
|
|
17
17
|
|
|
18
18
|
export function render(template: unknown, container: HTMLElement|DocumentFragment, options?: RenderOptions):
|
|
19
19
|
ReturnType<typeof Lit.render> {
|
|
20
|
-
|
|
20
|
+
const host = container instanceof ShadowRoot ? container.host : container;
|
|
21
|
+
|
|
22
|
+
if (host instanceof Element) {
|
|
21
23
|
const oldAttributes = renderOptions.get(container)?.container?.attributes;
|
|
22
24
|
const newAttributes = options?.container?.attributes;
|
|
23
25
|
if (newAttributes) {
|
|
@@ -26,18 +28,18 @@ export function render(template: unknown, container: HTMLElement|DocumentFragmen
|
|
|
26
28
|
continue;
|
|
27
29
|
}
|
|
28
30
|
if (value === null || value === undefined) {
|
|
29
|
-
|
|
31
|
+
host.removeAttribute(name);
|
|
30
32
|
} else if (typeof value === 'boolean') {
|
|
31
|
-
|
|
33
|
+
host.toggleAttribute(name, value);
|
|
32
34
|
} else {
|
|
33
|
-
|
|
35
|
+
host.setAttribute(name, value.toString());
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
38
|
}
|
|
37
39
|
if (oldAttributes) {
|
|
38
40
|
for (const name of Object.keys(oldAttributes)) {
|
|
39
41
|
if (!newAttributes || !(name in newAttributes)) {
|
|
40
|
-
|
|
42
|
+
host.removeAttribute(name);
|
|
41
43
|
}
|
|
42
44
|
}
|
|
43
45
|
}
|
|
@@ -47,14 +49,14 @@ export function render(template: unknown, container: HTMLElement|DocumentFragmen
|
|
|
47
49
|
if (oldClasses) {
|
|
48
50
|
for (const cls of oldClasses) {
|
|
49
51
|
if (!newClasses?.includes(cls)) {
|
|
50
|
-
|
|
52
|
+
host.classList.remove(cls);
|
|
51
53
|
}
|
|
52
54
|
}
|
|
53
55
|
}
|
|
54
56
|
if (newClasses) {
|
|
55
57
|
for (const cls of newClasses) {
|
|
56
58
|
if (!oldClasses?.includes(cls)) {
|
|
57
|
-
|
|
59
|
+
host.classList.add(cls);
|
|
58
60
|
}
|
|
59
61
|
}
|
|
60
62
|
}
|
|
@@ -65,14 +67,14 @@ export function render(template: unknown, container: HTMLElement|DocumentFragmen
|
|
|
65
67
|
if (oldListeners) {
|
|
66
68
|
for (const [name, listener] of Object.entries(oldListeners)) {
|
|
67
69
|
if (newListeners?.[name] !== listener) {
|
|
68
|
-
|
|
70
|
+
host.removeEventListener(name, listener);
|
|
69
71
|
}
|
|
70
72
|
}
|
|
71
73
|
}
|
|
72
74
|
if (newListeners) {
|
|
73
75
|
for (const [name, listener] of Object.entries(newListeners)) {
|
|
74
76
|
if (oldListeners?.[name] !== listener) {
|
|
75
|
-
|
|
77
|
+
host.addEventListener(name, listener);
|
|
76
78
|
}
|
|
77
79
|
}
|
|
78
80
|
}
|
|
@@ -2,6 +2,17 @@
|
|
|
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
|
+
/**
|
|
6
|
+
* @file This file contains a list of all known context values for visual
|
|
7
|
+
* logging. These values are used to generate stable hashes for logs.
|
|
8
|
+
*
|
|
9
|
+
* DO NOT REMOVE any values from this list, as it will break log analysis
|
|
10
|
+
* for historical data. New values should be added to the end of the list
|
|
11
|
+
* (the list is automatically sorted and maintained by the ESLint rule).
|
|
12
|
+
*
|
|
13
|
+
* See crbug.com/504758084 for details.
|
|
14
|
+
*/
|
|
15
|
+
|
|
5
16
|
export const knownContextValues = new Set([
|
|
6
17
|
'%',
|
|
7
18
|
'*',
|
|
@@ -345,6 +356,7 @@ export const knownContextValues = new Set([
|
|
|
345
356
|
'ai-assistance-history-images',
|
|
346
357
|
'ai-assistance-patching-fre-completed',
|
|
347
358
|
'ai-assistance-patching-selected-project-id',
|
|
359
|
+
'ai-assistance-recent-prompts',
|
|
348
360
|
'ai-assistance-v2-opt-in-change-dialog-seen',
|
|
349
361
|
'ai-assistance-v2-opt-in.got-it',
|
|
350
362
|
'ai-assistance-v2-opt-in.manage-settings',
|
|
@@ -841,7 +853,13 @@ export const knownContextValues = new Set([
|
|
|
841
853
|
'column-rule-edge-start-inset',
|
|
842
854
|
'column-rule-edge-start-outset',
|
|
843
855
|
'column-rule-inset',
|
|
856
|
+
'column-rule-inset-cap',
|
|
857
|
+
'column-rule-inset-cap-end',
|
|
858
|
+
'column-rule-inset-cap-start',
|
|
844
859
|
'column-rule-inset-end',
|
|
860
|
+
'column-rule-inset-junction',
|
|
861
|
+
'column-rule-inset-junction-end',
|
|
862
|
+
'column-rule-inset-junction-start',
|
|
845
863
|
'column-rule-inset-start',
|
|
846
864
|
'column-rule-interior-end-inset',
|
|
847
865
|
'column-rule-interior-end-outset',
|
|
@@ -1322,6 +1340,7 @@ export const knownContextValues = new Set([
|
|
|
1322
1340
|
'devices',
|
|
1323
1341
|
'devtools',
|
|
1324
1342
|
'devtools-override',
|
|
1343
|
+
'dialog-close',
|
|
1325
1344
|
'direct-socket-chunks',
|
|
1326
1345
|
'direct-socket-messages',
|
|
1327
1346
|
'direction',
|
|
@@ -1778,6 +1797,9 @@ export const knownContextValues = new Set([
|
|
|
1778
1797
|
'freestyler.settings',
|
|
1779
1798
|
'freestyler.style-tab-context',
|
|
1780
1799
|
'full-accessibility',
|
|
1800
|
+
'full-accessibility-tree',
|
|
1801
|
+
'full-accessibility-tree-documentation',
|
|
1802
|
+
'full-accessibility-tree-feedback',
|
|
1781
1803
|
'full-version',
|
|
1782
1804
|
'function',
|
|
1783
1805
|
'galaxy-z-fold-5',
|
|
@@ -3153,6 +3175,7 @@ export const knownContextValues = new Set([
|
|
|
3153
3175
|
'recommendation',
|
|
3154
3176
|
'reconnect',
|
|
3155
3177
|
'record-allocation-stacks',
|
|
3178
|
+
'record-sampling-heap-profiler-timeline',
|
|
3156
3179
|
'recorder-panel-replay-extension',
|
|
3157
3180
|
'recorder-panel-replay-speed',
|
|
3158
3181
|
'recorder-preferred-copy-format',
|
|
@@ -3313,7 +3336,13 @@ export const knownContextValues = new Set([
|
|
|
3313
3336
|
'row-rule-edge-start-inset',
|
|
3314
3337
|
'row-rule-edge-start-outset',
|
|
3315
3338
|
'row-rule-inset',
|
|
3339
|
+
'row-rule-inset-cap',
|
|
3340
|
+
'row-rule-inset-cap-end',
|
|
3341
|
+
'row-rule-inset-cap-start',
|
|
3316
3342
|
'row-rule-inset-end',
|
|
3343
|
+
'row-rule-inset-junction',
|
|
3344
|
+
'row-rule-inset-junction-end',
|
|
3345
|
+
'row-rule-inset-junction-start',
|
|
3317
3346
|
'row-rule-inset-start',
|
|
3318
3347
|
'row-rule-interior-end-inset',
|
|
3319
3348
|
'row-rule-interior-end-outset',
|
|
@@ -3337,7 +3366,9 @@ export const knownContextValues = new Set([
|
|
|
3337
3366
|
'rule-color',
|
|
3338
3367
|
'rule-edge-inset',
|
|
3339
3368
|
'rule-inset',
|
|
3369
|
+
'rule-inset-cap',
|
|
3340
3370
|
'rule-inset-end',
|
|
3371
|
+
'rule-inset-junction',
|
|
3341
3372
|
'rule-inset-start',
|
|
3342
3373
|
'rule-interior-inset',
|
|
3343
3374
|
'rule-outset',
|
|
@@ -3889,6 +3920,7 @@ export const knownContextValues = new Set([
|
|
|
3889
3920
|
'text-decoration-color',
|
|
3890
3921
|
'text-decoration-line',
|
|
3891
3922
|
'text-decoration-skip-ink',
|
|
3923
|
+
'text-decoration-skip-spaces',
|
|
3892
3924
|
'text-decoration-style',
|
|
3893
3925
|
'text-decoration-thickness',
|
|
3894
3926
|
'text-editor-auto-detect-indent',
|
|
@@ -4350,15 +4382,19 @@ export const knownContextValues = new Set([
|
|
|
4350
4382
|
'webgl-warning-fired',
|
|
4351
4383
|
'webmcp.call-inputs',
|
|
4352
4384
|
'webmcp.call-outputs',
|
|
4385
|
+
'webmcp.canceled',
|
|
4353
4386
|
'webmcp.completed',
|
|
4354
4387
|
'webmcp.copy-tool-description',
|
|
4355
4388
|
'webmcp.copy-tool-name',
|
|
4356
4389
|
'webmcp.declarative',
|
|
4390
|
+
'webmcp.edit-and-run',
|
|
4357
4391
|
'webmcp.error',
|
|
4358
4392
|
'webmcp.imperative',
|
|
4359
4393
|
'webmcp.pending',
|
|
4394
|
+
'webmcp.reveal-tool',
|
|
4360
4395
|
'webmcp.status-types',
|
|
4361
4396
|
'webmcp.tool-details',
|
|
4397
|
+
'webmcp.tool-types',
|
|
4362
4398
|
'webp-format-disabled',
|
|
4363
4399
|
'webp-format-disabled-true',
|
|
4364
4400
|
'websocket',
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#clip0_367_65863)">
|
|
3
|
-
<path d="M5.2 8.875C5.44306 8.875 5.64722 8.79236 5.8125 8.62708C5.9875 8.45208 6.075 8.24306 6.075 8C6.075 7.75694 5.9875 7.55278 5.8125 7.3875C5.64722 7.2125 5.44306 7.125 5.2 7.125C4.95694 7.125 4.74792 7.2125 4.57292 7.3875C4.40764 7.55278 4.325 7.75694 4.325 8C4.325 8.24306 4.40764 8.45208 4.57292 8.62708C4.74792 8.79236 4.95694 8.875 5.2 8.875ZM8 8.875C8.24306 8.875 8.44722 8.79236 8.6125 8.62708C8.7875 8.45208 8.875 8.24306 8.875 8C8.875 7.75694 8.7875 7.55278 8.6125 7.3875C8.44722 7.2125 8.24306 7.125 8 7.125C7.75694 7.125 7.54792 7.2125 7.37292 7.3875C7.20764 7.55278 7.125 7.75694 7.125 8C7.125 8.24306 7.20764 8.45208 7.37292 8.62708C7.54792 8.79236 7.75694 8.875 8 8.875ZM10.8 8.875C11.0431 8.875 11.2472 8.79236 11.4125 8.62708C11.5875 8.45208 11.675 8.24306 11.675 8C11.675 7.75694 11.5875 7.55278 11.4125 7.3875C11.2472 7.2125 11.0431 7.125 10.8 7.125C10.5569 7.125 10.3479 7.2125 10.1729 7.3875C10.0076 7.55278 9.925 7.75694 9.925 8C9.925 8.24306 10.0076 8.45208 10.1729 8.62708C10.3479 8.79236 10.5569 8.875 10.8 8.875ZM8 13.6C7.23194 13.6 6.50764 13.4542 5.82708 13.1625C5.14653 12.8708 4.54861 12.4722 4.03333 11.9667C3.52778 11.4514 3.12917 10.8535 2.8375 10.1729C2.54583 9.49236 2.4 8.76806 2.4 8C2.4 7.22222 2.54583 6.49792 2.8375 5.82708C3.12917 5.14653 3.52778 4.55347 4.03333 4.04792C4.54861 3.53264 5.14653 3.12917 5.82708 2.8375C6.50764 2.54583 7.23194 2.4 8 2.4C8.77778 2.4 9.50208 2.54583 10.1729 2.8375C10.8535 3.12917 11.4465 3.53264 11.9521 4.04792C12.4674 4.55347 12.8708 5.14653 13.1625 5.82708C13.4542 6.49792 13.6 7.22222 13.6 8C13.6 8.76806 13.4542 9.49236 13.1625 10.1729C12.8708 10.8535 12.4674 11.4514 11.9521 11.9667C11.4465 12.4722 10.8535 12.8708 10.1729 13.1625C9.50208 13.4542 8.77778 13.6 8 13.6ZM8 12.55C9.26389 12.55 10.3382 12.1076 11.2229 11.2229C12.1076 10.3382 12.55 9.26389 12.55 8C12.55 6.73611 12.1076 5.66181 11.2229 4.77708C10.3382 3.89236 9.26389 3.45 8 3.45C6.73611 3.45 5.66181 3.89236 4.77708 4.77708C3.89236 5.66181 3.45 6.73611 3.45 8C3.45 9.26389 3.89236 10.3382 4.77708 11.2229C5.66181 12.1076 6.73611 12.55 8 12.55Z" fill="#474747"/>
|
|
4
|
-
</g>
|
|
5
|
-
<defs>
|
|
6
|
-
<clipPath id="clip0_367_65863">
|
|
7
|
-
<rect width="16" height="16" fill="white"/>
|
|
8
|
-
</clipPath>
|
|
9
|
-
</defs>
|
|
10
|
-
</svg>
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
// Copyright 2021 The Chromium Authors
|
|
2
|
-
// Use of this source code is governed by a BSD-style license that can be
|
|
3
|
-
// found in the LICENSE file.
|
|
4
|
-
|
|
5
|
-
import * as SDK from '../../../core/sdk/sdk.js';
|
|
6
|
-
|
|
7
|
-
export interface DOMNode {
|
|
8
|
-
parentNode: DOMNode|null;
|
|
9
|
-
id: number;
|
|
10
|
-
nodeType: number;
|
|
11
|
-
pseudoType?: string;
|
|
12
|
-
shadowRootType: string|null;
|
|
13
|
-
nodeName: string;
|
|
14
|
-
nodeNameNicelyCased: string;
|
|
15
|
-
legacyDomNode: SDK.DOMModel.DOMNode;
|
|
16
|
-
highlightNode: (mode?: string) => void;
|
|
17
|
-
clearHighlight: () => void;
|
|
18
|
-
getAttribute: (attr: string) => string | undefined;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export const legacyNodeToElementsComponentsNode = (node: SDK.DOMModel.DOMNode): DOMNode => {
|
|
22
|
-
return {
|
|
23
|
-
parentNode: node.parentNode ? legacyNodeToElementsComponentsNode(node.parentNode) : null,
|
|
24
|
-
id: (node.id as number),
|
|
25
|
-
nodeType: node.nodeType(),
|
|
26
|
-
pseudoType: node.pseudoType(),
|
|
27
|
-
shadowRootType: node.shadowRootType(),
|
|
28
|
-
nodeName: node.nodeName(),
|
|
29
|
-
nodeNameNicelyCased: node.nodeNameInCorrectCase(),
|
|
30
|
-
legacyDomNode: node,
|
|
31
|
-
highlightNode: (mode?: string) => node.highlight(mode),
|
|
32
|
-
clearHighlight: () => SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight(),
|
|
33
|
-
getAttribute: node.getAttribute.bind(node),
|
|
34
|
-
};
|
|
35
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2022 Google LLC
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2022 Google LLC
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
export type FirstInputPolyfillEntry = Omit<
|
|
18
|
-
PerformanceEventTiming,
|
|
19
|
-
'processingEnd'
|
|
20
|
-
>;
|
|
21
|
-
|
|
22
|
-
export interface FirstInputPolyfillCallback {
|
|
23
|
-
(entry: FirstInputPolyfillEntry): void;
|
|
24
|
-
}
|