chrome-devtools-frontend 1.0.1376716 → 1.0.1386602
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/.stylelintrc.json +2 -1
- package/config/gni/devtools_grd_files.gni +40 -11
- package/config/gni/devtools_image_files.gni +4 -0
- package/docs/README.md +4 -0
- package/docs/contributing/issues.md +13 -10
- package/docs/get_the_code.md +4 -1
- package/docs/policy/README.md +6 -0
- package/docs/policy/slow-close.md +52 -0
- package/docs/styleguide/ux/README.md +1 -0
- package/docs/styleguide/ux/numbers.md +106 -0
- package/front_end/Images/src/animation.svg +3 -0
- package/front_end/Images/src/brush-2.svg +3 -0
- package/front_end/Images/src/cookie_off.svg +3 -0
- package/front_end/Images/src/domain.svg +3 -0
- package/front_end/core/common/Color.ts +3 -3
- package/front_end/core/common/SettingRegistration.ts +8 -1
- package/front_end/core/host/AidaClient.ts +4 -3
- package/front_end/core/host/InspectorFrontendHost.ts +4 -0
- package/front_end/core/host/InspectorFrontendHostAPI.ts +0 -1
- package/front_end/core/host/UserMetrics.ts +0 -8
- package/front_end/core/i18n/ByteUtilities.test.ts +34 -0
- package/front_end/core/i18n/ByteUtilities.ts +65 -0
- package/front_end/core/i18n/NumberFormatter.ts +75 -0
- package/front_end/core/i18n/i18n.ts +4 -0
- package/front_end/core/i18n/locales/af.json +1031 -887
- package/front_end/core/i18n/locales/am.json +1036 -892
- package/front_end/core/i18n/locales/ar.json +1039 -895
- package/front_end/core/i18n/locales/as.json +1032 -888
- package/front_end/core/i18n/locales/az.json +1034 -890
- package/front_end/core/i18n/locales/be.json +1031 -887
- package/front_end/core/i18n/locales/bg.json +1031 -887
- package/front_end/core/i18n/locales/bn.json +1033 -889
- package/front_end/core/i18n/locales/bs.json +1036 -892
- package/front_end/core/i18n/locales/ca.json +1031 -887
- package/front_end/core/i18n/locales/cs.json +1030 -886
- package/front_end/core/i18n/locales/cy.json +1032 -888
- package/front_end/core/i18n/locales/da.json +1031 -887
- package/front_end/core/i18n/locales/de.json +1033 -889
- package/front_end/core/i18n/locales/el.json +1031 -887
- package/front_end/core/i18n/locales/en-GB.json +1033 -889
- package/front_end/core/i18n/locales/es-419.json +1029 -885
- package/front_end/core/i18n/locales/es.json +1032 -888
- package/front_end/core/i18n/locales/et.json +1033 -889
- package/front_end/core/i18n/locales/eu.json +1031 -887
- package/front_end/core/i18n/locales/fa.json +1035 -891
- package/front_end/core/i18n/locales/fi.json +1035 -891
- package/front_end/core/i18n/locales/fil.json +1034 -890
- package/front_end/core/i18n/locales/fr-CA.json +1031 -887
- package/front_end/core/i18n/locales/fr.json +1049 -905
- package/front_end/core/i18n/locales/gl.json +1032 -888
- package/front_end/core/i18n/locales/gu.json +1035 -891
- package/front_end/core/i18n/locales/he.json +1031 -887
- package/front_end/core/i18n/locales/hi.json +1034 -890
- package/front_end/core/i18n/locales/hr.json +1031 -887
- package/front_end/core/i18n/locales/hu.json +1033 -889
- package/front_end/core/i18n/locales/hy.json +1046 -902
- package/front_end/core/i18n/locales/id.json +1023 -879
- package/front_end/core/i18n/locales/is.json +1032 -888
- package/front_end/core/i18n/locales/it.json +1031 -887
- package/front_end/core/i18n/locales/ja.json +1042 -898
- package/front_end/core/i18n/locales/ka.json +1034 -890
- package/front_end/core/i18n/locales/kk.json +1035 -891
- package/front_end/core/i18n/locales/km.json +1035 -891
- package/front_end/core/i18n/locales/kn.json +1036 -892
- package/front_end/core/i18n/locales/ko.json +1031 -887
- package/front_end/core/i18n/locales/ky.json +1032 -888
- package/front_end/core/i18n/locales/lo.json +1030 -886
- package/front_end/core/i18n/locales/lt.json +1032 -888
- package/front_end/core/i18n/locales/lv.json +1032 -888
- package/front_end/core/i18n/locales/mk.json +1032 -888
- package/front_end/core/i18n/locales/ml.json +1033 -889
- package/front_end/core/i18n/locales/mn.json +1034 -890
- package/front_end/core/i18n/locales/mr.json +1035 -891
- package/front_end/core/i18n/locales/ms.json +1033 -889
- package/front_end/core/i18n/locales/my.json +1033 -889
- package/front_end/core/i18n/locales/ne.json +1036 -892
- package/front_end/core/i18n/locales/nl.json +1033 -889
- package/front_end/core/i18n/locales/no.json +1036 -892
- package/front_end/core/i18n/locales/or.json +1043 -899
- package/front_end/core/i18n/locales/pa.json +1030 -886
- package/front_end/core/i18n/locales/pl.json +1032 -888
- package/front_end/core/i18n/locales/pt-PT.json +1033 -889
- package/front_end/core/i18n/locales/pt.json +1033 -889
- package/front_end/core/i18n/locales/ro.json +1029 -885
- package/front_end/core/i18n/locales/ru.json +1026 -882
- package/front_end/core/i18n/locales/si.json +1031 -887
- package/front_end/core/i18n/locales/sk.json +1033 -889
- package/front_end/core/i18n/locales/sl.json +1031 -887
- package/front_end/core/i18n/locales/sq.json +1061 -917
- package/front_end/core/i18n/locales/sr-Latn.json +1033 -889
- package/front_end/core/i18n/locales/sr.json +1033 -889
- package/front_end/core/i18n/locales/sv.json +1031 -887
- package/front_end/core/i18n/locales/sw.json +1033 -889
- package/front_end/core/i18n/locales/ta.json +1058 -914
- package/front_end/core/i18n/locales/te.json +1037 -893
- package/front_end/core/i18n/locales/th.json +1032 -888
- package/front_end/core/i18n/locales/tr.json +1031 -887
- package/front_end/core/i18n/locales/uk.json +1030 -886
- package/front_end/core/i18n/locales/ur.json +1031 -887
- package/front_end/core/i18n/locales/uz.json +1023 -879
- package/front_end/core/i18n/locales/vi.json +1032 -888
- package/front_end/core/i18n/locales/zh-HK.json +1032 -888
- package/front_end/core/i18n/locales/zh-TW.json +1032 -888
- package/front_end/core/i18n/locales/zh.json +1033 -889
- package/front_end/core/i18n/locales/zu.json +1032 -888
- package/front_end/core/i18n/time-utilities.test.ts +20 -2
- package/front_end/core/i18n/time-utilities.ts +125 -86
- package/front_end/core/platform/NumberUtilities.test.ts +3 -26
- package/front_end/core/platform/NumberUtilities.ts +0 -20
- package/front_end/core/root/Runtime.ts +6 -4
- package/front_end/core/sdk/CPUThrottlingManager.ts +4 -0
- package/front_end/core/sdk/CSSContainerQuery.test.ts +10 -16
- package/front_end/core/sdk/CSSContainerQuery.ts +3 -15
- package/front_end/core/sdk/CSSMatchedStyles.test.ts +4 -0
- package/front_end/core/sdk/CSSMatchedStyles.ts +5 -5
- package/front_end/core/sdk/CSSModel.ts +18 -0
- package/front_end/core/sdk/CSSPropertyParser.test.ts +16 -1
- package/front_end/core/sdk/CSSPropertyParser.ts +2 -2
- package/front_end/core/sdk/NetworkManager.test.ts +50 -0
- package/front_end/core/sdk/NetworkManager.ts +6 -4
- package/front_end/core/sdk/SourceMap.test.ts +5 -5
- package/front_end/core/sdk/SourceMapScopeChainEntry.test.ts +7 -2
- package/front_end/core/sdk/SourceMapScopeChainEntry.ts +2 -2
- package/front_end/core/sdk/SourceMapScopes.test.ts +112 -45
- package/front_end/core/sdk/SourceMapScopes.ts +39 -14
- package/front_end/core/sdk/SourceMapScopesInfo.test.ts +51 -50
- package/front_end/core/sdk/SourceMapScopesInfo.ts +1 -1
- package/front_end/core/sdk/sdk-meta.ts +35 -0
- package/front_end/devtools_compatibility.js +0 -1
- package/front_end/entrypoints/devtools_app/devtools_app.ts +1 -0
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +3 -3
- package/front_end/entrypoints/inspector_main/renderingOptions.css +1 -1
- package/front_end/entrypoints/main/ExecutionContextSelector.test.ts +13 -3
- package/front_end/entrypoints/main/ExecutionContextSelector.ts +23 -1
- package/front_end/entrypoints/main/MainImpl.ts +0 -5
- package/front_end/generated/ARIAProperties.js +4 -0
- package/front_end/generated/Deprecation.ts +0 -15
- package/front_end/generated/InspectorBackendCommands.js +9 -7
- package/front_end/generated/SupportedCSSProperties.js +14 -41
- package/front_end/generated/protocol-mapping.d.ts +15 -1
- package/front_end/generated/protocol-proxy-api.d.ts +14 -1
- package/front_end/generated/protocol.ts +27 -2
- package/front_end/models/bindings/IgnoreListManager.ts +25 -2
- package/front_end/models/crux-manager/CrUXManager.test.ts +25 -6
- package/front_end/models/crux-manager/CrUXManager.ts +23 -4
- package/front_end/models/extensions/ExtensionAPI.ts +9 -1
- package/front_end/models/extensions/ExtensionServer.test.ts +14 -0
- package/front_end/models/extensions/ExtensionServer.ts +28 -15
- package/front_end/models/heap_snapshot_model/HeapSnapshotModel.ts +2 -0
- package/front_end/models/issues_manager/CookieIssue.ts +79 -2
- package/front_end/models/issues_manager/IssuesManager.ts +1 -1
- package/front_end/models/issues_manager/descriptions/cookieExcludePortMismatch.md +8 -0
- package/front_end/models/issues_manager/descriptions/cookieExcludeSchemeMismatch.md +7 -0
- package/front_end/models/javascript_metadata/NativeFunctions.js +22 -25
- package/front_end/models/live-metrics/web-vitals-injected/{rollup.config.js → rollup.config.mjs} +1 -1
- package/front_end/models/persistence/EditFileSystemView.ts +20 -10
- package/front_end/models/persistence/WorkspaceSettingsTab.ts +50 -54
- package/front_end/models/persistence/editFileSystemView.css +38 -15
- package/front_end/models/persistence/workspaceSettingsTab.css +21 -87
- package/front_end/models/timeline_model/timeline_model.ts +0 -6
- package/front_end/models/trace/Processor.test.ts +18 -17
- package/front_end/models/trace/Processor.ts +10 -14
- package/front_end/models/trace/README.md +0 -1
- package/front_end/models/trace/extras/Metadata.test.ts +35 -2
- package/front_end/models/trace/extras/Metadata.ts +24 -5
- package/front_end/models/{timeline_model → trace/extras}/TimelineJSProfile.ts +19 -29
- package/front_end/models/{timeline_model/TimelineModelFilter.test.ts → trace/extras/TraceFilter.test.ts} +15 -17
- package/front_end/models/trace/extras/TraceFilter.ts +62 -0
- package/front_end/models/{timeline_model/TimelineProfileTree.test.ts → trace/extras/TraceTree.test.ts} +44 -43
- package/front_end/models/{timeline_model/TimelineProfileTree.ts → trace/extras/TraceTree.ts} +86 -70
- package/front_end/models/trace/extras/URLForEntry.ts +6 -5
- package/front_end/models/trace/extras/extras.ts +3 -0
- package/front_end/models/trace/handlers/AnimationHandler.ts +0 -8
- package/front_end/models/trace/handlers/ExtensionTraceDataHandler.ts +1 -11
- package/front_end/models/trace/handlers/FramesHandler.test.ts +1 -6
- package/front_end/models/trace/handlers/FramesHandler.ts +1 -14
- package/front_end/models/trace/handlers/GPUHandler.test.ts +0 -2
- package/front_end/models/trace/handlers/GPUHandler.ts +1 -25
- package/front_end/models/trace/handlers/ImagePaintingHandler.ts +15 -0
- package/front_end/models/trace/handlers/InitiatorsHandler.test.ts +0 -1
- package/front_end/models/trace/handlers/InitiatorsHandler.ts +0 -20
- package/front_end/models/trace/handlers/InvalidationsHandler.test.ts +0 -1
- package/front_end/models/trace/handlers/InvalidationsHandler.ts +0 -18
- package/front_end/models/trace/handlers/LargestImagePaintHandler.test.ts +2 -2
- package/front_end/models/trace/handlers/LargestImagePaintHandler.ts +63 -3
- package/front_end/models/trace/handlers/LargestTextPaintHandler.ts +3 -0
- package/front_end/models/trace/handlers/LayerTreeHandler.test.ts +0 -2
- package/front_end/models/trace/handlers/LayerTreeHandler.ts +1 -18
- package/front_end/models/trace/handlers/LayoutShiftsHandler.test.ts +0 -3
- package/front_end/models/trace/handlers/LayoutShiftsHandler.ts +1 -20
- package/front_end/models/trace/handlers/MemoryHandler.test.ts +0 -1
- package/front_end/models/trace/handlers/MemoryHandler.ts +3 -0
- package/front_end/models/trace/handlers/MetaHandler.test.ts +1 -32
- package/front_end/models/trace/handlers/MetaHandler.ts +2 -30
- package/front_end/models/trace/handlers/NetworkRequestsHandler.test.ts +0 -26
- package/front_end/models/trace/handlers/NetworkRequestsHandler.ts +4 -23
- package/front_end/models/trace/handlers/PageFramesHandler.ts +3 -0
- package/front_end/models/trace/handlers/RendererHandler.test.ts +0 -4
- package/front_end/models/trace/handlers/RendererHandler.ts +1 -24
- package/front_end/models/trace/handlers/SamplesHandler.test.ts +0 -5
- package/front_end/models/trace/handlers/SamplesHandler.ts +0 -26
- package/front_end/models/trace/handlers/ScreenshotsHandler.test.ts +0 -1
- package/front_end/models/trace/handlers/SelectorStatsHandler.ts +3 -0
- package/front_end/models/trace/handlers/ServerTimingsHandler.ts +1 -16
- package/front_end/models/trace/handlers/Threads.test.ts +1 -2
- package/front_end/models/trace/handlers/UserInteractionsHandler.test.ts +4 -27
- package/front_end/models/trace/handlers/UserInteractionsHandler.ts +16 -25
- package/front_end/models/trace/handlers/UserTimingsHandler.ts +0 -17
- package/front_end/models/trace/handlers/WorkersHandler.test.ts +0 -1
- package/front_end/models/trace/handlers/WorkersHandler.ts +0 -23
- package/front_end/models/trace/handlers/types.ts +1 -8
- package/front_end/models/trace/helpers/Timing.ts +8 -0
- package/front_end/models/trace/insights/{CumulativeLayoutShift.test.ts → CLSCulprits.test.ts} +21 -21
- package/front_end/models/trace/insights/{CumulativeLayoutShift.ts → CLSCulprits.ts} +32 -5
- package/front_end/models/trace/insights/Common.ts +5 -55
- package/front_end/models/trace/insights/DocumentLatency.test.ts +2 -2
- package/front_end/models/trace/insights/DocumentLatency.ts +39 -6
- package/front_end/models/trace/insights/FontDisplay.ts +31 -5
- package/front_end/models/trace/insights/ImageDelivery.test.ts +98 -0
- package/front_end/models/trace/insights/ImageDelivery.ts +183 -0
- package/front_end/models/trace/insights/InteractionToNextPaint.test.ts +1 -1
- package/front_end/models/trace/insights/InteractionToNextPaint.ts +32 -6
- package/front_end/models/trace/insights/LCPDiscovery.test.ts +58 -0
- package/front_end/models/trace/insights/LCPDiscovery.ts +122 -0
- package/front_end/models/trace/insights/{LargestContentfulPaint.test.ts → LCPPhases.test.ts} +6 -28
- package/front_end/models/trace/insights/{LargestContentfulPaint.ts → LCPPhases.ts} +59 -38
- package/front_end/models/trace/insights/{InsightRunners.ts → Models.ts} +5 -3
- package/front_end/models/trace/insights/RenderBlocking.test.ts +1 -1
- package/front_end/models/trace/insights/RenderBlocking.ts +41 -28
- package/front_end/models/trace/insights/SlowCSSSelector.ts +33 -5
- package/front_end/models/trace/insights/{ThirdPartyWeb.test.ts → ThirdParties.test.ts} +3 -3
- package/front_end/models/trace/insights/{ThirdPartyWeb.ts → ThirdParties.ts} +32 -5
- package/front_end/models/trace/insights/Viewport.test.ts +1 -1
- package/front_end/models/trace/insights/Viewport.ts +40 -9
- package/front_end/models/trace/insights/insights.ts +1 -1
- package/front_end/models/trace/insights/types.ts +22 -9
- package/front_end/models/trace/types/File.ts +7 -0
- package/front_end/models/trace/types/TraceEvents.ts +60 -24
- package/front_end/panels/animation/AnimationTimeline.ts +2 -4
- package/front_end/panels/application/ApplicationPanelSidebar.test.ts +0 -5
- package/front_end/panels/application/ApplicationPanelSidebar.ts +15 -21
- package/front_end/panels/application/IndexedDBViews.ts +4 -1
- package/front_end/panels/application/ServiceWorkerCacheViews.ts +4 -1
- package/front_end/panels/application/SharedStorageItemsView.test.ts +3 -3
- package/front_end/panels/application/SharedStorageItemsView.ts +5 -3
- package/front_end/panels/application/StorageView.test.ts +1 -1
- package/front_end/panels/application/StorageView.ts +3 -3
- package/front_end/panels/application/components/StorageMetadataView.ts +1 -2
- package/front_end/panels/application/resourcesSidebar.css +1 -1
- package/front_end/panels/browser_debugger/CategorizedBreakpointsSidebarPane.ts +1 -1
- package/front_end/panels/browser_debugger/DOMBreakpointsSidebarPane.ts +1 -1
- package/front_end/panels/browser_debugger/XHRBreakpointsSidebarPane.ts +35 -32
- package/front_end/panels/browser_debugger/categorizedBreakpointsSidebarPane.css +1 -1
- package/front_end/panels/browser_debugger/xhrBreakpointsSidebarPane.css +1 -1
- package/front_end/panels/console/ConsoleViewMessage.test.ts +25 -0
- package/front_end/panels/console/ConsoleViewMessage.ts +23 -0
- package/front_end/panels/coverage/CoverageListView.ts +1 -1
- package/front_end/panels/coverage/CoverageView.ts +3 -3
- package/front_end/panels/developer_resources/DeveloperResourcesListView.ts +1 -1
- package/front_end/panels/elements/ClassesPaneWidget.ts +1 -1
- package/front_end/panels/elements/ComputedStyleModel.ts +9 -2
- package/front_end/panels/elements/ComputedStyleWidget.test.ts +72 -0
- package/front_end/panels/elements/ComputedStyleWidget.ts +12 -0
- package/front_end/panels/elements/ElementStatePaneWidget.test.ts +85 -30
- package/front_end/panels/elements/ElementStatePaneWidget.ts +49 -26
- package/front_end/panels/elements/ElementsSidebarPane.ts +3 -3
- package/front_end/panels/elements/ElementsTreeElement.ts +25 -11
- package/front_end/panels/elements/LayersWidget.ts +1 -1
- package/front_end/panels/elements/MetricsSidebarPane.ts +12 -7
- package/front_end/panels/elements/PropertyMatchers.test.ts +7 -0
- package/front_end/panels/elements/PropertyMatchers.ts +6 -0
- package/front_end/panels/elements/StylePropertiesSection.ts +15 -6
- package/front_end/panels/elements/StylePropertyTreeElement.test.ts +3 -1
- package/front_end/panels/elements/StylePropertyTreeElement.ts +8 -3
- package/front_end/panels/elements/classesPaneWidget.css +1 -1
- package/front_end/panels/elements/stylePropertiesTreeOutline.css +2 -2
- package/front_end/panels/emulation/DeviceModeView.ts +1 -1
- package/front_end/panels/emulation/DeviceModeWrapper.ts +1 -1
- package/front_end/panels/emulation/InspectedPagePlaceholder.ts +1 -1
- package/front_end/panels/explain/components/ConsoleInsight.ts +8 -18
- package/front_end/panels/freestyler/AiAgent.test.ts +376 -50
- package/front_end/panels/freestyler/AiAgent.ts +251 -144
- package/front_end/panels/freestyler/AiHistoryStorage.test.ts +159 -0
- package/front_end/panels/freestyler/AiHistoryStorage.ts +73 -0
- package/front_end/panels/freestyler/DrJonesFileAgent.test.ts +113 -38
- package/front_end/panels/freestyler/DrJonesFileAgent.ts +56 -34
- package/front_end/panels/freestyler/DrJonesNetworkAgent.test.ts +29 -20
- package/front_end/panels/freestyler/DrJonesNetworkAgent.ts +39 -18
- package/front_end/panels/freestyler/DrJonesPerformanceAgent.test.ts +44 -42
- package/front_end/panels/freestyler/DrJonesPerformanceAgent.ts +51 -22
- package/front_end/panels/freestyler/FreestylerAgent.test.ts +210 -28
- package/front_end/panels/freestyler/FreestylerAgent.ts +65 -26
- package/front_end/panels/freestyler/FreestylerPanel.test.ts +610 -39
- package/front_end/panels/freestyler/FreestylerPanel.ts +414 -255
- package/front_end/panels/freestyler/components/FreestylerChatUi.test.ts +126 -34
- package/front_end/panels/freestyler/components/FreestylerChatUi.ts +431 -280
- package/front_end/panels/freestyler/components/UserActionRow.ts +157 -47
- package/front_end/panels/freestyler/components/freestylerChatUi.css +90 -35
- package/front_end/panels/freestyler/components/userActionRow.css +41 -67
- package/front_end/panels/freestyler/freestyler-meta.ts +3 -11
- package/front_end/panels/freestyler/freestyler.ts +1 -0
- package/front_end/panels/issues/IssueAggregator.test.ts +50 -0
- package/front_end/panels/issues/IssueAggregator.ts +10 -10
- package/front_end/panels/issues/components/HideIssuesMenu.ts +2 -11
- package/front_end/panels/issues/issuesTree.css +1 -1
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +2 -3
- package/front_end/panels/layer_viewer/Layers3DView.ts +1 -1
- package/front_end/panels/layer_viewer/PaintProfilerView.ts +6 -6
- package/front_end/panels/layers/LayersPanel.ts +1 -1
- package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +46 -0
- package/front_end/panels/lighthouse/lighthouseStartView.css +1 -1
- package/front_end/panels/media/TickingFlameChart.ts +1 -1
- package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +26 -17
- package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +25 -19
- package/front_end/panels/network/BinaryResourceView.ts +6 -7
- package/front_end/panels/network/BlockedURLsPane.ts +1 -1
- package/front_end/panels/network/EventSourceMessagesView.ts +1 -1
- package/front_end/panels/network/NetworkDataGridNode.ts +4 -3
- package/front_end/panels/network/NetworkLogView.test.ts +1 -1
- package/front_end/panels/network/NetworkLogView.ts +7 -8
- package/front_end/panels/network/NetworkPanel.ts +40 -32
- package/front_end/panels/network/NetworkWaterfallColumn.ts +1 -1
- package/front_end/panels/network/RequestTimingView.test.ts +35 -1
- package/front_end/panels/network/RequestTimingView.ts +96 -0
- package/front_end/panels/network/ResourceWebSocketFrameView.ts +2 -2
- package/front_end/panels/network/networkTimingTable.css +2 -1
- package/front_end/panels/performance_monitor/PerformanceMonitor.ts +1 -1
- package/front_end/panels/profiler/HeapProfileView.ts +10 -10
- package/front_end/panels/profiler/HeapSnapshotView.ts +2 -2
- package/front_end/panels/profiler/HeapTimelineOverview.ts +13 -13
- package/front_end/panels/profiler/IsolateSelector.ts +4 -5
- package/front_end/panels/profiler/LiveHeapProfileView.ts +3 -1
- package/front_end/panels/profiler/ProfileFlameChartDataProvider.ts +4 -4
- package/front_end/panels/profiler/ProfileSidebarTreeElement.ts +7 -6
- package/front_end/panels/profiler/ProfileView.ts +3 -3
- package/front_end/panels/profiler/profileLauncherView.css +1 -1
- package/front_end/panels/profiler/profilesSidebarTree.css +1 -1
- package/front_end/panels/recorder/components/RecordingView.ts +2 -2
- package/front_end/panels/recorder/injected/{rollup.config.js → rollup.config.mjs} +1 -1
- package/front_end/panels/recorder/recorderController.css +1 -5
- package/front_end/panels/security/CookieControlsTreeElement.ts +18 -0
- package/front_end/panels/security/CookieControlsView.test.ts +29 -0
- package/front_end/panels/security/CookieControlsView.ts +265 -0
- package/front_end/panels/security/CookieReportTreeElement.ts +1 -9
- package/front_end/panels/security/CookieReportView.test.ts +157 -0
- package/front_end/panels/security/CookieReportView.ts +316 -0
- package/front_end/panels/security/SecurityPanel.ts +12 -4
- package/front_end/panels/security/SecurityPanelSidebar.ts +6 -1
- package/front_end/panels/security/cookieControlsView.css +101 -0
- package/front_end/panels/security/cookieReportView.css +69 -0
- package/front_end/panels/security/security.ts +4 -0
- package/front_end/panels/security/sidebar.css +2 -3
- package/front_end/panels/sensors/LocationsSettingsTab.ts +26 -11
- package/front_end/panels/sensors/locationsSettingsTab.css +18 -18
- package/front_end/panels/settings/AISettingsTab.ts +6 -15
- package/front_end/panels/settings/KeybindsSettingsTab.ts +4 -3
- package/front_end/panels/settings/SettingsScreen.ts +64 -55
- package/front_end/panels/settings/aiSettingsTab.css +3 -14
- package/front_end/panels/settings/components/SyncSection.ts +1 -2
- package/front_end/panels/settings/components/syncSection.css +0 -10
- package/front_end/panels/settings/frameworkIgnoreListSettingsTab.css +4 -2
- package/front_end/panels/settings/keybindsSettingsTab.css +12 -10
- package/front_end/panels/settings/settings-meta.ts +3 -1
- package/front_end/panels/settings/settingsScreen.css +37 -125
- package/front_end/panels/sources/CallStackSidebarPane.ts +2 -2
- package/front_end/panels/sources/DebuggerPlugin.ts +9 -4
- package/front_end/panels/sources/NavigatorView.ts +12 -13
- package/front_end/panels/sources/navigatorTree.css +1 -1
- package/front_end/panels/sources/sourcesPanel.css +2 -2
- package/front_end/panels/timeline/ActiveFilters.ts +3 -4
- package/front_end/panels/timeline/AnimationsTrackAppender.ts +2 -9
- package/front_end/panels/timeline/AppenderUtils.ts +1 -1
- package/front_end/panels/timeline/CompatibilityTracksAppender.ts +38 -41
- package/front_end/panels/timeline/CountersGraph.ts +2 -4
- package/front_end/panels/timeline/EventsTimelineTreeView.ts +7 -8
- package/front_end/panels/timeline/ExtensionTrackAppender.ts +4 -13
- package/front_end/panels/timeline/InteractionsTrackAppender.ts +3 -4
- package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +6 -12
- package/front_end/panels/timeline/README.md +2 -1
- package/front_end/panels/timeline/ServerTimingsTrackAppender.ts +1 -10
- package/front_end/panels/timeline/ThreadAppender.ts +9 -12
- package/front_end/panels/timeline/TimelineController.ts +14 -4
- package/front_end/panels/timeline/TimelineDetailsView.test.ts +3 -2
- package/front_end/panels/timeline/TimelineDetailsView.ts +18 -17
- package/front_end/panels/timeline/TimelineEventOverview.ts +3 -4
- package/front_end/panels/timeline/TimelineFilters.ts +3 -4
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.test.ts +1 -1
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +58 -46
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +2 -3
- package/front_end/panels/timeline/TimelineFlameChartView.ts +54 -26
- package/front_end/panels/timeline/TimelineHistoryManager.test.ts +20 -15
- package/front_end/panels/timeline/TimelineHistoryManager.ts +46 -58
- package/front_end/panels/timeline/TimelineLayersView.ts +1 -1
- package/front_end/panels/timeline/TimelineLoader.test.ts +1 -2
- package/front_end/panels/timeline/TimelineLoader.ts +19 -4
- package/front_end/panels/timeline/TimelineMiniMap.ts +12 -2
- package/front_end/panels/timeline/TimelinePaintProfilerView.ts +1 -1
- package/front_end/panels/timeline/TimelinePanel.ts +161 -32
- package/front_end/panels/timeline/TimelineTreeView.test.ts +12 -13
- package/front_end/panels/timeline/TimelineTreeView.ts +98 -54
- package/front_end/panels/timeline/TimelineUIUtils.test.ts +2 -2
- package/front_end/panels/timeline/TimelineUIUtils.ts +56 -14
- package/front_end/panels/timeline/TimingsTrackAppender.ts +6 -13
- package/front_end/panels/timeline/components/FieldSettingsDialog.test.ts +1 -0
- package/front_end/panels/timeline/components/FieldSettingsDialog.ts +6 -1
- package/front_end/panels/timeline/components/LayoutShiftDetails.ts +6 -7
- package/front_end/panels/timeline/components/LiveMetricsView.test.ts +15 -3
- package/front_end/panels/timeline/components/LiveMetricsView.ts +27 -44
- package/front_end/panels/timeline/components/MetricCard.test.ts +1 -1
- package/front_end/panels/timeline/components/MetricCard.ts +46 -0
- package/front_end/panels/timeline/components/NetworkRequestDetails.ts +3 -4
- package/front_end/panels/timeline/components/Sidebar.ts +1 -4
- package/front_end/panels/timeline/components/SidebarAnnotationsTab.test.ts +1 -1
- package/front_end/panels/timeline/components/SidebarInsightsTab.ts +1 -1
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.test.ts +23 -35
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.ts +53 -41
- package/front_end/panels/timeline/components/TimelineSummary.test.ts +75 -0
- package/front_end/panels/timeline/components/TimelineSummary.ts +101 -0
- package/front_end/panels/timeline/components/Utils.test.ts +49 -0
- package/front_end/panels/timeline/components/Utils.ts +2 -2
- package/front_end/panels/timeline/components/components.ts +2 -0
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.test.ts +84 -0
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.ts +291 -0
- package/front_end/panels/timeline/components/insights/CLSCulprits.ts +24 -62
- package/front_end/panels/timeline/components/insights/DocumentLatency.ts +43 -72
- package/front_end/panels/timeline/components/insights/EventRef.ts +70 -2
- package/front_end/panels/timeline/components/insights/FontDisplay.ts +37 -61
- package/front_end/panels/timeline/components/insights/Helpers.ts +5 -212
- package/front_end/panels/timeline/components/insights/ImageDelivery.ts +142 -0
- package/front_end/panels/timeline/components/insights/InteractionToNextPaint.ts +34 -69
- package/front_end/panels/timeline/components/insights/LCPDiscovery.ts +52 -103
- package/front_end/panels/timeline/components/insights/LCPPhases.ts +31 -92
- package/front_end/panels/timeline/components/insights/RenderBlocking.ts +38 -64
- package/front_end/panels/timeline/components/insights/SidebarInsight.ts +3 -198
- package/front_end/panels/timeline/components/insights/SlowCSSSelector.ts +59 -95
- package/front_end/panels/timeline/components/insights/Table.ts +6 -3
- package/front_end/panels/timeline/components/insights/ThirdParties.ts +51 -78
- package/front_end/panels/timeline/components/insights/Viewport.ts +27 -49
- package/front_end/panels/timeline/components/insights/{sidebarInsight.css → baseInsightComponent.css} +9 -9
- package/front_end/panels/timeline/components/insights/insights.ts +4 -0
- package/front_end/panels/timeline/components/insights/types.ts +0 -7
- package/front_end/panels/timeline/components/liveMetricsView.css +10 -18
- package/front_end/panels/timeline/components/metricCard.css +11 -0
- package/front_end/panels/timeline/components/sidebarInsightsTab.css +1 -1
- package/front_end/panels/timeline/components/timelineSummary.css +67 -0
- package/front_end/panels/timeline/docs/flame_chart_migration.md +1 -1
- package/front_end/panels/timeline/fixtures/traces/README.md +4 -0
- package/front_end/panels/timeline/fixtures/traces/image-delivery.json.gz +0 -0
- package/front_end/panels/timeline/overlays/OverlaysImpl.test.ts +5 -5
- package/front_end/panels/timeline/overlays/OverlaysImpl.ts +35 -12
- package/front_end/panels/timeline/timeline-meta.ts +1 -1
- package/front_end/panels/timeline/timelineFlameChartView.css +1 -1
- package/front_end/panels/timeline/timelineFlamechartPopover.css +14 -4
- package/front_end/panels/timeline/timelineHistoryManager.css +7 -3
- package/front_end/panels/timeline/timelinePanel.css +0 -1
- package/front_end/panels/timeline/track_appenders/CompatibilityTracksAppender.test.ts +5 -5
- package/front_end/panels/timeline/track_appenders/ExtensionTrackAppender.test.ts +5 -6
- package/front_end/panels/timeline/track_appenders/LayoutShiftsTrackAppender.test.ts +11 -2
- package/front_end/panels/timeline/track_appenders/ServerTimingsTrackAppender.test.ts +0 -9
- package/front_end/panels/timeline/track_appenders/ThreadAppender.test.ts +37 -44
- package/front_end/panels/timeline/track_appenders/TimingsTrackAppender.test.ts +44 -30
- package/front_end/panels/timeline/utils/AICallTree.test.ts +105 -0
- package/front_end/panels/timeline/utils/AICallTree.ts +25 -24
- package/front_end/panels/timeline/utils/EntryName.ts +1 -2
- package/front_end/panels/timeline/utils/Helpers.ts +19 -0
- package/front_end/panels/timeline/utils/IgnoreList.test.ts +52 -0
- package/front_end/panels/timeline/utils/IgnoreList.ts +68 -7
- package/front_end/panels/timeline/utils/SourceMapsResolver.ts +2 -0
- package/front_end/panels/webauthn/webauthnPane.css +1 -1
- package/front_end/panels/whats_new/ReleaseNote.test.ts +90 -0
- package/front_end/panels/whats_new/ReleaseNoteText.ts +52 -0
- package/front_end/panels/whats_new/ReleaseNoteView.ts +157 -0
- package/front_end/panels/whats_new/WhatsNewImpl.ts +102 -0
- package/front_end/panels/whats_new/releaseNoteView.css +121 -0
- package/front_end/panels/whats_new/resources/WNDT.md +6 -0
- package/front_end/panels/whats_new/resources/whatsnew.avif +0 -0
- package/front_end/panels/whats_new/whats_new-meta.ts +142 -0
- package/front_end/panels/whats_new/whats_new.ts +13 -0
- package/front_end/services/puppeteer/PuppeteerConnection.ts +4 -3
- package/front_end/testing/EnvironmentHelpers.ts +6 -20
- package/front_end/testing/InsightHelpers.ts +4 -4
- package/front_end/testing/SourceMapEncoder.ts +27 -11
- package/front_end/testing/TraceHelpers.ts +3 -2
- package/front_end/testing/TraceLoader.ts +6 -2
- package/front_end/third_party/lighthouse/README.chromium +2 -2
- package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +1380 -1369
- package/front_end/third_party/lighthouse/locales/ar-XB.json +88 -85
- package/front_end/third_party/lighthouse/locales/ar.json +98 -95
- package/front_end/third_party/lighthouse/locales/bg.json +88 -85
- package/front_end/third_party/lighthouse/locales/ca.json +91 -88
- package/front_end/third_party/lighthouse/locales/cs.json +91 -88
- package/front_end/third_party/lighthouse/locales/da.json +94 -91
- package/front_end/third_party/lighthouse/locales/de.json +92 -89
- package/front_end/third_party/lighthouse/locales/el.json +92 -89
- package/front_end/third_party/lighthouse/locales/en-GB.json +89 -86
- package/front_end/third_party/lighthouse/locales/en-US.json +23 -20
- package/front_end/third_party/lighthouse/locales/en-XA.json +88 -85
- package/front_end/third_party/lighthouse/locales/en-XL.json +23 -20
- package/front_end/third_party/lighthouse/locales/es-419.json +92 -89
- package/front_end/third_party/lighthouse/locales/es.json +91 -88
- package/front_end/third_party/lighthouse/locales/fi.json +92 -89
- package/front_end/third_party/lighthouse/locales/fil.json +93 -90
- package/front_end/third_party/lighthouse/locales/fr.json +94 -91
- package/front_end/third_party/lighthouse/locales/he.json +97 -94
- package/front_end/third_party/lighthouse/locales/hi.json +92 -89
- package/front_end/third_party/lighthouse/locales/hr.json +90 -87
- package/front_end/third_party/lighthouse/locales/hu.json +90 -87
- package/front_end/third_party/lighthouse/locales/id.json +91 -88
- package/front_end/third_party/lighthouse/locales/it.json +90 -87
- package/front_end/third_party/lighthouse/locales/ja.json +90 -87
- package/front_end/third_party/lighthouse/locales/ko.json +90 -87
- package/front_end/third_party/lighthouse/locales/lt.json +90 -87
- package/front_end/third_party/lighthouse/locales/lv.json +91 -88
- package/front_end/third_party/lighthouse/locales/nl.json +90 -87
- package/front_end/third_party/lighthouse/locales/no.json +92 -89
- package/front_end/third_party/lighthouse/locales/pl.json +90 -87
- package/front_end/third_party/lighthouse/locales/pt-PT.json +111 -108
- package/front_end/third_party/lighthouse/locales/pt.json +97 -94
- package/front_end/third_party/lighthouse/locales/ro.json +94 -91
- package/front_end/third_party/lighthouse/locales/ru.json +93 -90
- package/front_end/third_party/lighthouse/locales/sk.json +93 -90
- package/front_end/third_party/lighthouse/locales/sl.json +91 -88
- package/front_end/third_party/lighthouse/locales/sr-Latn.json +91 -88
- package/front_end/third_party/lighthouse/locales/sr.json +91 -88
- package/front_end/third_party/lighthouse/locales/sv.json +92 -89
- package/front_end/third_party/lighthouse/locales/ta.json +101 -98
- package/front_end/third_party/lighthouse/locales/te.json +92 -89
- package/front_end/third_party/lighthouse/locales/th.json +95 -92
- package/front_end/third_party/lighthouse/locales/tr.json +91 -88
- package/front_end/third_party/lighthouse/locales/uk.json +93 -90
- package/front_end/third_party/lighthouse/locales/vi.json +95 -92
- package/front_end/third_party/lighthouse/locales/zh-HK.json +92 -89
- package/front_end/third_party/lighthouse/locales/zh-TW.json +98 -95
- package/front_end/third_party/lighthouse/locales/zh.json +96 -93
- package/front_end/third_party/puppeteer/README.chromium +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts +10 -3
- 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/ElementHandle.d.ts +14 -3
- 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 +16 -2
- 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/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.js +3 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Input.d.ts +34 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Input.js +51 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts +4 -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/bidi/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.js +10 -8
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.js +1 -1
- 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/Input.d.ts +14 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Input.js +57 -23
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.d.ts +1 -0
- 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 +3 -0
- 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/cdp/Browser.d.ts +3 -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 +10 -4
- 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/BrowserContext.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ElementHandle.d.ts +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 +13 -10
- 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/HTTPRequest.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPRequest.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.d.ts +1 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.js +4 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Input.d.ts +15 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Input.js +55 -26
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.js +24 -12
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts +1 -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 +3 -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/common/CallbackRegistry.d.ts +0 -8
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.js +2 -11
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts +5 -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/common/ConsoleMessage.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.js +5 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DownloadBehavior.d.ts +30 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DownloadBehavior.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DownloadBehavior.js +8 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DownloadBehavior.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts +7 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js +9 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WaitTask.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WaitTask.js +5 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WaitTask.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.js +0 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js +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/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/util/Mutex.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/incremental-id-generator.d.ts +14 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/incremental-id-generator.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/incremental-id-generator.js +18 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/incremental-id-generator.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +100 -10
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +291 -143
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts +10 -3
- 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/ElementHandle.d.ts +14 -3
- 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 +16 -2
- 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/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.js +3 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Input.d.ts +34 -5
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Input.js +51 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts +4 -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/bidi/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.js +10 -8
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.js +1 -1
- 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/Input.d.ts +14 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Input.js +57 -23
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.d.ts +1 -0
- 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 +3 -0
- 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/cdp/Browser.d.ts +3 -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 +10 -4
- 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/BrowserContext.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ElementHandle.d.ts +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 +13 -10
- 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/HTTPRequest.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPRequest.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.d.ts +1 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.js +4 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Input.d.ts +15 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Input.js +55 -26
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.js +24 -12
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts +1 -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 +3 -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/common/CallbackRegistry.d.ts +0 -8
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.js +1 -9
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts +5 -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/common/ConsoleMessage.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.js +5 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DownloadBehavior.d.ts +30 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DownloadBehavior.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DownloadBehavior.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DownloadBehavior.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WaitTask.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WaitTask.js +5 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WaitTask.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.js +0 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js +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/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/util/incremental-id-generator.d.ts +14 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/incremental-id-generator.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/incremental-id-generator.js +15 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/incremental-id-generator.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +100 -10
- package/front_end/third_party/puppeteer/package/package.json +5 -5
- package/front_end/third_party/puppeteer/package/src/api/Browser.ts +10 -3
- package/front_end/third_party/puppeteer/package/src/api/ElementHandle.ts +21 -3
- package/front_end/third_party/puppeteer/package/src/api/Frame.ts +3 -1
- package/front_end/third_party/puppeteer/package/src/api/HTTPRequest.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/api/Input.ts +57 -8
- package/front_end/third_party/puppeteer/package/src/api/Page.ts +5 -0
- package/front_end/third_party/puppeteer/package/src/bidi/ElementHandle.ts +9 -7
- package/front_end/third_party/puppeteer/package/src/bidi/Frame.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/bidi/Input.ts +72 -31
- package/front_end/third_party/puppeteer/package/src/bidi/Page.ts +4 -0
- package/front_end/third_party/puppeteer/package/src/cdp/Browser.ts +11 -3
- package/front_end/third_party/puppeteer/package/src/cdp/BrowserConnector.ts +2 -0
- package/front_end/third_party/puppeteer/package/src/cdp/BrowserContext.ts +11 -0
- package/front_end/third_party/puppeteer/package/src/cdp/ElementHandle.ts +14 -9
- package/front_end/third_party/puppeteer/package/src/cdp/HTTPRequest.ts +4 -0
- package/front_end/third_party/puppeteer/package/src/cdp/HTTPResponse.ts +3 -5
- package/front_end/third_party/puppeteer/package/src/cdp/Input.ts +71 -26
- package/front_end/third_party/puppeteer/package/src/cdp/NetworkManager.ts +34 -17
- package/front_end/third_party/puppeteer/package/src/cdp/Page.ts +4 -0
- package/front_end/third_party/puppeteer/package/src/common/CallbackRegistry.ts +1 -15
- package/front_end/third_party/puppeteer/package/src/common/ConnectOptions.ts +5 -0
- package/front_end/third_party/puppeteer/package/src/common/ConsoleMessage.ts +8 -1
- package/front_end/third_party/puppeteer/package/src/common/DownloadBehavior.ts +31 -0
- package/front_end/third_party/puppeteer/package/src/common/Errors.ts +7 -0
- package/front_end/third_party/puppeteer/package/src/common/WaitTask.ts +9 -9
- package/front_end/third_party/puppeteer/package/src/common/common.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/environment.ts +1 -4
- package/front_end/third_party/puppeteer/package/src/generated/injected.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/generated/version.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts +2 -0
- package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
- package/front_end/third_party/puppeteer/package/src/util/incremental-id-generator.ts +20 -0
- package/front_end/third_party/puppeteer/puppeteer-tsconfig.json +2 -0
- package/front_end/ui/components/buttons/Button.test.ts +14 -0
- package/front_end/ui/components/buttons/Button.ts +27 -4
- package/front_end/ui/components/cards/card.css +7 -4
- package/front_end/ui/components/data_grid/DataGridControllerIntegrator.ts +4 -1
- package/front_end/ui/components/dialogs/ButtonDialog.test.ts +78 -0
- package/front_end/ui/components/dialogs/ButtonDialog.ts +131 -0
- package/front_end/ui/components/dialogs/Dialog.test.ts +43 -0
- package/front_end/ui/components/dialogs/Dialog.ts +63 -3
- package/front_end/ui/components/dialogs/ShortcutDialog.test.ts +15 -1
- package/front_end/ui/components/dialogs/ShortcutDialog.ts +33 -23
- package/front_end/ui/components/dialogs/buttonDialog.css +9 -0
- package/front_end/ui/components/dialogs/dialog.css +15 -4
- package/front_end/ui/components/dialogs/dialogs.ts +2 -0
- package/front_end/ui/components/dialogs/shortcutDialog.css +58 -38
- package/front_end/ui/components/docs/dialog/button_dialog.html +28 -0
- package/front_end/ui/components/docs/dialog/button_dialog.ts +29 -0
- package/front_end/ui/components/docs/freestyler/basic.ts +6 -8
- package/front_end/ui/components/docs/freestyler/empty_state.ts +6 -8
- package/front_end/ui/components/docs/performance_panel/basic.ts +1 -1
- package/front_end/ui/components/docs/performance_panel/timeline_history_manager.ts +6 -4
- package/front_end/ui/components/docs/performance_panel/track_example.html +1 -1
- package/front_end/ui/components/floating_button/FloatingButton.ts +3 -2
- package/front_end/ui/components/icon_button/fileSourceIcon.css +7 -3
- package/front_end/ui/components/issue_counter/IssueCounter.ts +15 -2
- package/front_end/ui/components/legacy_wrapper/LegacyWrapper.ts +1 -1
- package/front_end/ui/components/markdown_view/MarkdownView.test.ts +39 -17
- package/front_end/ui/components/markdown_view/MarkdownView.ts +92 -14
- package/front_end/ui/components/markdown_view/markdownView.css +15 -0
- package/front_end/ui/components/render_coordinator/RenderCoordinator.ts +24 -18
- package/front_end/ui/components/settings/SettingCheckbox.ts +3 -2
- package/front_end/ui/components/switch/SwitchImpl.ts +2 -2
- package/front_end/ui/legacy/ContextMenu.ts +2 -2
- package/front_end/ui/legacy/Infobar.ts +6 -0
- package/front_end/ui/legacy/InplaceEditor.ts +18 -14
- package/front_end/ui/legacy/InspectorView.ts +40 -0
- package/front_end/ui/legacy/ListWidget.ts +4 -2
- package/front_end/ui/legacy/TabbedPane.ts +0 -14
- package/front_end/ui/legacy/ThrottledWidget.ts +2 -2
- package/front_end/ui/legacy/Toolbar.ts +3 -3
- package/front_end/ui/legacy/UIUtils.ts +8 -13
- package/front_end/ui/legacy/Widget.ts +32 -0
- package/front_end/ui/legacy/components/cookie_table/CookiesTable.ts +7 -2
- package/front_end/ui/legacy/components/data_grid/DataGrid.test.ts +6 -9
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +43 -38
- package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +21 -12
- package/front_end/ui/legacy/components/inline_editor/LinkSwatch.test.ts +19 -0
- package/front_end/ui/legacy/components/inline_editor/LinkSwatch.ts +1 -1
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +1 -1
- package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +2 -2
- package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +1 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +37 -47
- package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +129 -100
- package/front_end/ui/legacy/components/perf_ui/TimelineGrid.ts +4 -2
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewCalculator.test.ts +9 -4
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewCalculator.ts +23 -9
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +102 -43
- package/front_end/ui/legacy/components/perf_ui/flameChart.css +0 -2
- package/front_end/ui/legacy/components/perf_ui/perf_ui-meta.ts +4 -4
- package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.test.ts +49 -0
- package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.ts +23 -46
- package/front_end/ui/legacy/components/source_frame/ImageView.ts +1 -1
- package/front_end/ui/legacy/components/utils/ImagePreview.ts +1 -1
- package/front_end/ui/legacy/components/utils/jsUtils.css +8 -0
- package/front_end/ui/legacy/filter.css +1 -1
- package/front_end/ui/legacy/inspectorCommon.css +1 -1
- package/front_end/ui/legacy/listWidget.css +4 -1
- package/front_end/ui/legacy/reportView.css +1 -1
- package/front_end/ui/legacy/textPrompt.css +1 -1
- package/front_end/ui/legacy/toolbar.css +7 -11
- package/front_end/ui/legacy/treeoutline.css +3 -1
- package/front_end/ui/visual_logging/KnownContextValues.ts +186 -1
- package/front_end/ui/visual_logging/LoggingConfig.ts +6 -2
- package/front_end/ui/visual_logging/LoggingDriver.test.ts +27 -1
- package/front_end/ui/visual_logging/LoggingDriver.ts +7 -4
- package/package.json +8 -8
- package/scripts/build/ninja/bundle.gni +3 -3
- package/scripts/build/{rollup.config.js → rollup.config.mjs} +4 -4
- package/scripts/build/wasm-as.py +1 -1
- package/scripts/devtools_paths.py +8 -4
- package/scripts/eslint_rules/tests/check_test_definitions_test.js +8 -3
- package/scripts/freestyler/auto_freestyler.js +12 -4
- package/scripts/freestyler/to_tsv.mjs +40 -0
- package/scripts/tools/update_goldens.py +11 -13
- package/scripts/tools/update_goldens_v2.py +1 -1
- package/front_end/models/timeline_model/TimelineModelFilter.ts +0 -61
- package/front_end/panels/timeline/components/insights/SidebarInsight.test.ts +0 -72
- package/front_end/ui/components/docs/two_states_counter/basic.html +0 -27
- package/front_end/ui/components/docs/two_states_counter/basic.ts +0 -45
- package/front_end/ui/components/two_states_counter/TwoStatesCounter.test.ts +0 -73
- package/front_end/ui/components/two_states_counter/TwoStatesCounter.ts +0 -104
- package/front_end/ui/components/two_states_counter/twoStatesCounter.css +0 -37
- package/front_end/ui/components/two_states_counter/two_states_counter.ts +0 -9
- /package/front_end/Images/{rollup.config.js → rollup.config.mjs} +0 -0
package/.stylelintrc.json
CHANGED
@@ -36,6 +36,7 @@ grd_files_release_sources = [
|
|
36
36
|
"front_end/Images/align-self-end.svg",
|
37
37
|
"front_end/Images/align-self-start.svg",
|
38
38
|
"front_end/Images/align-self-stretch.svg",
|
39
|
+
"front_end/Images/animation.svg",
|
39
40
|
"front_end/Images/arrow-back.svg",
|
40
41
|
"front_end/Images/arrow-down.svg",
|
41
42
|
"front_end/Images/arrow-drop-down-dark.svg",
|
@@ -54,6 +55,7 @@ grd_files_release_sources = [
|
|
54
55
|
"front_end/Images/breakpoint-circle.svg",
|
55
56
|
"front_end/Images/breakpoint-crossed-filled.svg",
|
56
57
|
"front_end/Images/breakpoint-crossed.svg",
|
58
|
+
"front_end/Images/brush-2.svg",
|
57
59
|
"front_end/Images/brush-filled.svg",
|
58
60
|
"front_end/Images/brush.svg",
|
59
61
|
"front_end/Images/bug.svg",
|
@@ -86,6 +88,7 @@ grd_files_release_sources = [
|
|
86
88
|
"front_end/Images/console-conditional-breakpoint.svg",
|
87
89
|
"front_end/Images/console-logpoint.svg",
|
88
90
|
"front_end/Images/cookie.svg",
|
91
|
+
"front_end/Images/cookie_off.svg",
|
89
92
|
"front_end/Images/copy.svg",
|
90
93
|
"front_end/Images/corporate-fare.svg",
|
91
94
|
"front_end/Images/credit-card.svg",
|
@@ -105,6 +108,7 @@ grd_files_release_sources = [
|
|
105
108
|
"front_end/Images/dock-window.svg",
|
106
109
|
"front_end/Images/document.svg",
|
107
110
|
"front_end/Images/dog-paw.svg",
|
111
|
+
"front_end/Images/domain.svg",
|
108
112
|
"front_end/Images/dots-horizontal.svg",
|
109
113
|
"front_end/Images/dots-vertical.svg",
|
110
114
|
"front_end/Images/download.svg",
|
@@ -411,6 +415,8 @@ grd_files_release_sources = [
|
|
411
415
|
"front_end/models/issues_manager/descriptions/cookieCrossSiteRedirectDowngrade.md",
|
412
416
|
"front_end/models/issues_manager/descriptions/cookieExcludeBlockedWithinRelatedWebsiteSet.md",
|
413
417
|
"front_end/models/issues_manager/descriptions/cookieExcludeDomainNonAscii.md",
|
418
|
+
"front_end/models/issues_manager/descriptions/cookieExcludePortMismatch.md",
|
419
|
+
"front_end/models/issues_manager/descriptions/cookieExcludeSchemeMismatch.md",
|
414
420
|
"front_end/models/issues_manager/descriptions/cookieExcludeThirdPartyPhaseoutRead.md",
|
415
421
|
"front_end/models/issues_manager/descriptions/cookieExcludeThirdPartyPhaseoutSet.md",
|
416
422
|
"front_end/models/issues_manager/descriptions/cookieWarnDomainNonAscii.md",
|
@@ -646,6 +652,10 @@ grd_files_release_sources = [
|
|
646
652
|
"front_end/panels/web_audio/web_audio.js",
|
647
653
|
"front_end/panels/webauthn/webauthn-meta.js",
|
648
654
|
"front_end/panels/webauthn/webauthn.js",
|
655
|
+
"front_end/panels/whats_new/resources/WNDT.md",
|
656
|
+
"front_end/panels/whats_new/resources/whatsnew.avif",
|
657
|
+
"front_end/panels/whats_new/whats_new-meta.js",
|
658
|
+
"front_end/panels/whats_new/whats_new.js",
|
649
659
|
"front_end/rehydrated_devtools_app.html",
|
650
660
|
"front_end/services/puppeteer/puppeteer.js",
|
651
661
|
"front_end/services/trace_bounds/trace_bounds.js",
|
@@ -717,7 +727,6 @@ grd_files_release_sources = [
|
|
717
727
|
"front_end/ui/components/text_editor/text_editor.js",
|
718
728
|
"front_end/ui/components/text_prompt/text_prompt.js",
|
719
729
|
"front_end/ui/components/tree_outline/tree_outline.js",
|
720
|
-
"front_end/ui/components/two_states_counter/two_states_counter.js",
|
721
730
|
"front_end/ui/legacy/components/color_picker/color_picker.js",
|
722
731
|
"front_end/ui/legacy/components/cookie_table/cookie_table.js",
|
723
732
|
"front_end/ui/legacy/components/data_grid/data_grid.js",
|
@@ -777,7 +786,9 @@ grd_files_debug_sources = [
|
|
777
786
|
"front_end/core/host/Platform.js",
|
778
787
|
"front_end/core/host/ResourceLoader.js",
|
779
788
|
"front_end/core/host/UserMetrics.js",
|
789
|
+
"front_end/core/i18n/ByteUtilities.js",
|
780
790
|
"front_end/core/i18n/DevToolsLocale.js",
|
791
|
+
"front_end/core/i18n/NumberFormatter.js",
|
781
792
|
"front_end/core/i18n/i18nImpl.js",
|
782
793
|
"front_end/core/i18n/i18nTypes.js",
|
783
794
|
"front_end/core/i18n/locales.js",
|
@@ -1025,9 +1036,6 @@ grd_files_debug_sources = [
|
|
1025
1036
|
"front_end/models/text_utils/TextRange.js",
|
1026
1037
|
"front_end/models/text_utils/TextUtils.js",
|
1027
1038
|
"front_end/models/text_utils/WasmDisassembly.js",
|
1028
|
-
"front_end/models/timeline_model/TimelineJSProfile.js",
|
1029
|
-
"front_end/models/timeline_model/TimelineModelFilter.js",
|
1030
|
-
"front_end/models/timeline_model/TimelineProfileTree.js",
|
1031
1039
|
"front_end/models/timeline_model/TracingLayerTree.js",
|
1032
1040
|
"front_end/models/trace/LanternComputationData.js",
|
1033
1041
|
"front_end/models/trace/ModelImpl.js",
|
@@ -1038,6 +1046,9 @@ grd_files_debug_sources = [
|
|
1038
1046
|
"front_end/models/trace/extras/MainThreadActivity.js",
|
1039
1047
|
"front_end/models/trace/extras/Metadata.js",
|
1040
1048
|
"front_end/models/trace/extras/ThirdParties.js",
|
1049
|
+
"front_end/models/trace/extras/TimelineJSProfile.js",
|
1050
|
+
"front_end/models/trace/extras/TraceFilter.js",
|
1051
|
+
"front_end/models/trace/extras/TraceTree.js",
|
1041
1052
|
"front_end/models/trace/extras/URLForEntry.js",
|
1042
1053
|
"front_end/models/trace/handlers/AnimationHandler.js",
|
1043
1054
|
"front_end/models/trace/handlers/AuctionWorkletsHandler.js",
|
@@ -1075,16 +1086,18 @@ grd_files_debug_sources = [
|
|
1075
1086
|
"front_end/models/trace/helpers/Timing.js",
|
1076
1087
|
"front_end/models/trace/helpers/Trace.js",
|
1077
1088
|
"front_end/models/trace/helpers/TreeHelpers.js",
|
1089
|
+
"front_end/models/trace/insights/CLSCulprits.js",
|
1078
1090
|
"front_end/models/trace/insights/Common.js",
|
1079
|
-
"front_end/models/trace/insights/CumulativeLayoutShift.js",
|
1080
1091
|
"front_end/models/trace/insights/DocumentLatency.js",
|
1081
1092
|
"front_end/models/trace/insights/FontDisplay.js",
|
1082
|
-
"front_end/models/trace/insights/
|
1093
|
+
"front_end/models/trace/insights/ImageDelivery.js",
|
1083
1094
|
"front_end/models/trace/insights/InteractionToNextPaint.js",
|
1084
|
-
"front_end/models/trace/insights/
|
1095
|
+
"front_end/models/trace/insights/LCPDiscovery.js",
|
1096
|
+
"front_end/models/trace/insights/LCPPhases.js",
|
1097
|
+
"front_end/models/trace/insights/Models.js",
|
1085
1098
|
"front_end/models/trace/insights/RenderBlocking.js",
|
1086
1099
|
"front_end/models/trace/insights/SlowCSSSelector.js",
|
1087
|
-
"front_end/models/trace/insights/
|
1100
|
+
"front_end/models/trace/insights/ThirdParties.js",
|
1088
1101
|
"front_end/models/trace/insights/Viewport.js",
|
1089
1102
|
"front_end/models/trace/insights/types.js",
|
1090
1103
|
"front_end/models/trace/lantern/core/LanternError.js",
|
@@ -1396,6 +1409,7 @@ grd_files_debug_sources = [
|
|
1396
1409
|
"front_end/panels/explain/components/consoleInsight.css.js",
|
1397
1410
|
"front_end/panels/explain/components/consoleInsightSourcesList.css.js",
|
1398
1411
|
"front_end/panels/freestyler/AiAgent.js",
|
1412
|
+
"front_end/panels/freestyler/AiHistoryStorage.js",
|
1399
1413
|
"front_end/panels/freestyler/ChangeManager.js",
|
1400
1414
|
"front_end/panels/freestyler/DrJonesFileAgent.js",
|
1401
1415
|
"front_end/panels/freestyler/DrJonesNetworkAgent.js",
|
@@ -1669,12 +1683,17 @@ grd_files_debug_sources = [
|
|
1669
1683
|
"front_end/panels/search/SearchView.js",
|
1670
1684
|
"front_end/panels/search/searchResultsPane.css.js",
|
1671
1685
|
"front_end/panels/search/searchView.css.js",
|
1686
|
+
"front_end/panels/security/CookieControlsTreeElement.js",
|
1687
|
+
"front_end/panels/security/CookieControlsView.js",
|
1672
1688
|
"front_end/panels/security/CookieReportTreeElement.js",
|
1689
|
+
"front_end/panels/security/CookieReportView.js",
|
1673
1690
|
"front_end/panels/security/OriginTreeElement.js",
|
1674
1691
|
"front_end/panels/security/SecurityModel.js",
|
1675
1692
|
"front_end/panels/security/SecurityPanel.js",
|
1676
1693
|
"front_end/panels/security/SecurityPanelSidebar.js",
|
1677
1694
|
"front_end/panels/security/SecurityPanelSidebarTreeElement.js",
|
1695
|
+
"front_end/panels/security/cookieControlsView.css.js",
|
1696
|
+
"front_end/panels/security/cookieReportView.css.js",
|
1678
1697
|
"front_end/panels/security/lockIcon.css.js",
|
1679
1698
|
"front_end/panels/security/mainView.css.js",
|
1680
1699
|
"front_end/panels/security/originView.css.js",
|
@@ -1813,15 +1832,18 @@ grd_files_debug_sources = [
|
|
1813
1832
|
"front_end/panels/timeline/components/SidebarAnnotationsTab.js",
|
1814
1833
|
"front_end/panels/timeline/components/SidebarInsightsTab.js",
|
1815
1834
|
"front_end/panels/timeline/components/SidebarSingleInsightSet.js",
|
1835
|
+
"front_end/panels/timeline/components/TimelineSummary.js",
|
1816
1836
|
"front_end/panels/timeline/components/Utils.js",
|
1817
1837
|
"front_end/panels/timeline/components/breadcrumbsUI.css.js",
|
1818
1838
|
"front_end/panels/timeline/components/cpuThrottlingSelector.css.js",
|
1819
1839
|
"front_end/panels/timeline/components/fieldSettingsDialog.css.js",
|
1840
|
+
"front_end/panels/timeline/components/insights/BaseInsightComponent.js",
|
1820
1841
|
"front_end/panels/timeline/components/insights/CLSCulprits.js",
|
1821
1842
|
"front_end/panels/timeline/components/insights/DocumentLatency.js",
|
1822
1843
|
"front_end/panels/timeline/components/insights/EventRef.js",
|
1823
1844
|
"front_end/panels/timeline/components/insights/FontDisplay.js",
|
1824
1845
|
"front_end/panels/timeline/components/insights/Helpers.js",
|
1846
|
+
"front_end/panels/timeline/components/insights/ImageDelivery.js",
|
1825
1847
|
"front_end/panels/timeline/components/insights/InteractionToNextPaint.js",
|
1826
1848
|
"front_end/panels/timeline/components/insights/LCPDiscovery.js",
|
1827
1849
|
"front_end/panels/timeline/components/insights/LCPPhases.js",
|
@@ -1832,7 +1854,7 @@ grd_files_debug_sources = [
|
|
1832
1854
|
"front_end/panels/timeline/components/insights/Table.js",
|
1833
1855
|
"front_end/panels/timeline/components/insights/ThirdParties.js",
|
1834
1856
|
"front_end/panels/timeline/components/insights/Viewport.js",
|
1835
|
-
"front_end/panels/timeline/components/insights/
|
1857
|
+
"front_end/panels/timeline/components/insights/baseInsightComponent.css.js",
|
1836
1858
|
"front_end/panels/timeline/components/insights/table.css.js",
|
1837
1859
|
"front_end/panels/timeline/components/insights/types.js",
|
1838
1860
|
"front_end/panels/timeline/components/interactionBreakdown.css.js",
|
@@ -1847,6 +1869,7 @@ grd_files_debug_sources = [
|
|
1847
1869
|
"front_end/panels/timeline/components/sidebarAnnotationsTab.css.js",
|
1848
1870
|
"front_end/panels/timeline/components/sidebarInsightsTab.css.js",
|
1849
1871
|
"front_end/panels/timeline/components/sidebarSingleInsightSet.css.js",
|
1872
|
+
"front_end/panels/timeline/components/timelineSummary.css.js",
|
1850
1873
|
"front_end/panels/timeline/extensions/ExtensionUI.js",
|
1851
1874
|
"front_end/panels/timeline/historyToolbarButton.css.js",
|
1852
1875
|
"front_end/panels/timeline/overlays/OverlaysImpl.js",
|
@@ -1887,6 +1910,10 @@ grd_files_debug_sources = [
|
|
1887
1910
|
"front_end/panels/web_audio/webAudio.css.js",
|
1888
1911
|
"front_end/panels/webauthn/WebauthnPane.js",
|
1889
1912
|
"front_end/panels/webauthn/webauthnPane.css.js",
|
1913
|
+
"front_end/panels/whats_new/ReleaseNoteText.js",
|
1914
|
+
"front_end/panels/whats_new/ReleaseNoteView.js",
|
1915
|
+
"front_end/panels/whats_new/WhatsNewImpl.js",
|
1916
|
+
"front_end/panels/whats_new/releaseNoteView.css.js",
|
1890
1917
|
"front_end/services/puppeteer/PuppeteerConnection.js",
|
1891
1918
|
"front_end/services/trace_bounds/TraceBounds.js",
|
1892
1919
|
"front_end/services/tracing/PerformanceTracing.js",
|
@@ -2025,6 +2052,7 @@ grd_files_debug_sources = [
|
|
2025
2052
|
"front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CustomQueryHandler.js",
|
2026
2053
|
"front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js",
|
2027
2054
|
"front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Device.js",
|
2055
|
+
"front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DownloadBehavior.js",
|
2028
2056
|
"front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js",
|
2029
2057
|
"front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EventEmitter.js",
|
2030
2058
|
"front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FileChooser.js",
|
@@ -2089,6 +2117,7 @@ grd_files_debug_sources = [
|
|
2089
2117
|
"front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/decorators.js",
|
2090
2118
|
"front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/disposable.js",
|
2091
2119
|
"front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/encoding.js",
|
2120
|
+
"front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/incremental-id-generator.js",
|
2092
2121
|
"front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/util.js",
|
2093
2122
|
"front_end/third_party/puppeteer/package/lib/esm/third_party/mitt/mitt.js",
|
2094
2123
|
"front_end/third_party/puppeteer/package/lib/esm/third_party/parsel-js/parsel-js.js",
|
@@ -2159,9 +2188,11 @@ grd_files_debug_sources = [
|
|
2159
2188
|
"front_end/ui/components/data_grid/DataGridUtils.js",
|
2160
2189
|
"front_end/ui/components/data_grid/dataGrid.css.js",
|
2161
2190
|
"front_end/ui/components/data_grid/dataGridController.css.js",
|
2191
|
+
"front_end/ui/components/dialogs/ButtonDialog.js",
|
2162
2192
|
"front_end/ui/components/dialogs/Dialog.js",
|
2163
2193
|
"front_end/ui/components/dialogs/IconDialog.js",
|
2164
2194
|
"front_end/ui/components/dialogs/ShortcutDialog.js",
|
2195
|
+
"front_end/ui/components/dialogs/buttonDialog.css.js",
|
2165
2196
|
"front_end/ui/components/dialogs/dialog.css.js",
|
2166
2197
|
"front_end/ui/components/dialogs/iconDialog.css.js",
|
2167
2198
|
"front_end/ui/components/dialogs/shortcutDialog.css.js",
|
@@ -2258,8 +2289,6 @@ grd_files_debug_sources = [
|
|
2258
2289
|
"front_end/ui/components/tree_outline/TreeOutline.js",
|
2259
2290
|
"front_end/ui/components/tree_outline/TreeOutlineUtils.js",
|
2260
2291
|
"front_end/ui/components/tree_outline/treeOutline.css.js",
|
2261
|
-
"front_end/ui/components/two_states_counter/TwoStatesCounter.js",
|
2262
|
-
"front_end/ui/components/two_states_counter/twoStatesCounter.css.js",
|
2263
2292
|
"front_end/ui/legacy/ARIAUtils.js",
|
2264
2293
|
"front_end/ui/legacy/ActionRegistration.js",
|
2265
2294
|
"front_end/ui/legacy/ActionRegistry.js",
|
@@ -43,6 +43,7 @@ devtools_svg_sources = [
|
|
43
43
|
"align-self-end.svg",
|
44
44
|
"align-self-start.svg",
|
45
45
|
"align-self-stretch.svg",
|
46
|
+
"animation.svg",
|
46
47
|
"arrow-back.svg",
|
47
48
|
"arrow-down.svg",
|
48
49
|
"arrow-drop-down-dark.svg",
|
@@ -61,6 +62,7 @@ devtools_svg_sources = [
|
|
61
62
|
"breakpoint-circle.svg",
|
62
63
|
"breakpoint-crossed-filled.svg",
|
63
64
|
"breakpoint-crossed.svg",
|
65
|
+
"brush-2.svg",
|
64
66
|
"brush-filled.svg",
|
65
67
|
"brush.svg",
|
66
68
|
"bug.svg",
|
@@ -90,6 +92,7 @@ devtools_svg_sources = [
|
|
90
92
|
"console-conditional-breakpoint.svg",
|
91
93
|
"console-logpoint.svg",
|
92
94
|
"cookie.svg",
|
95
|
+
"cookie_off.svg",
|
93
96
|
"copy.svg",
|
94
97
|
"corporate-fare.svg",
|
95
98
|
"credit-card.svg",
|
@@ -108,6 +111,7 @@ devtools_svg_sources = [
|
|
108
111
|
"dock-window.svg",
|
109
112
|
"document.svg",
|
110
113
|
"dog-paw.svg",
|
114
|
+
"domain.svg",
|
111
115
|
"dots-horizontal.svg",
|
112
116
|
"dots-vertical.svg",
|
113
117
|
"download.svg",
|
package/docs/README.md
CHANGED
@@ -49,6 +49,10 @@ below.**
|
|
49
49
|
* [DevTools support checklist for JavaScript features](./checklist/javascript.md)
|
50
50
|
* [DevTools support checklist for WebAssembly features](./checklist/webassembly.md)
|
51
51
|
|
52
|
+
### Policies
|
53
|
+
|
54
|
+
* [Chromium DevTools Slow-Close Policy](./policy/slow-close.md)
|
55
|
+
|
52
56
|
### Useful Commands
|
53
57
|
|
54
58
|
`git cl format --js`
|
@@ -1,5 +1,7 @@
|
|
1
1
|
# Chromium DevTools Issues Guidelines
|
2
2
|
|
3
|
+
[goo.gle/chromium-devtools-issues](https://goo.gle/chromium-devtools-issues)
|
4
|
+
|
3
5
|
This document explains how Chromium DevTools (related) issues are tracked in the
|
4
6
|
`Chromium>Platform>DevTools` component tree of [crbug], how we define and manage
|
5
7
|
priorities and Service Level Objectives (SLOs), as well as the overall bug life
|
@@ -133,12 +135,13 @@ The following components in [crbug] are owned by the Chrome DevTools team.
|
|
133
135
|
| `Chromium>Platform>DevTools>Application` | Application panel |
|
134
136
|
| `Chromium>Platform>DevTools>Console` | Console panel |
|
135
137
|
| `Chromium>Platform>DevTools>Elements` | Elements panel |
|
138
|
+
| `Chromium>Platform>DevTools>Infra` | Issues related to DevTools' infrastructure |
|
136
139
|
| `Chromium>Platform>DevTools>Issues` | Issues panel |
|
137
140
|
| `Chromium>Platform>DevTools>Memory` | Heap/Memory Profiling, Memory Analysis |
|
138
141
|
| `Chromium>Platform>DevTools>Mobile` | Mobile Emulation / Debugging |
|
139
142
|
| `Chromium>Platform>DevTools>Network` | Network, Network conditions, Network request blocking panels |
|
140
143
|
| `Chromium>Platform>DevTools>Performance` | Performance, Performance Monitor, Performance Insights panels |
|
141
|
-
| `Chromium>Platform>DevTools>
|
144
|
+
| `Chromium>Platform>DevTools>Extensions` | Issues related to DevTools extensions and extensibility |
|
142
145
|
| `Chromium>Platform>DevTools>Recorder` | Recorder panel |
|
143
146
|
| `Chromium>Platform>DevTools>Security` | Security panel |
|
144
147
|
| `Chromium>Platform>DevTools>Sources` | Sources panel |
|
@@ -176,15 +179,15 @@ untriaged issues due to this fact.
|
|
176
179
|
We use the T-Shirt sizes approach to estimate effort for the `Chromium>Platform>DevTools`
|
177
180
|
component tree, based on the following guidelines:
|
178
181
|
|
179
|
-
| Size | Description
|
180
|
-
| :--- |
|
181
|
-
| XXS |
|
182
|
-
| XS |
|
183
|
-
| S | series of CLs
|
184
|
-
| M | quarter-long single-person project
|
185
|
-
| L | multi-quarter or -person project
|
186
|
-
| XL | multi-quarter and -person project
|
187
|
-
| XXL | multi-year project with a dedicated team
|
182
|
+
| Size | Description | Examples |
|
183
|
+
| :--- | :------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
184
|
+
| XXS | Small CL | [Styles bar loses focus in Chrome OS DevTools](http://crbug.com/338348417), [Add 20x CPU throttling preset](https://crbug.com/324978881), [Remove 'Consistent source map variable experiment'](http://crbug.com/40944633), [Autofill tab breaks with phone numbers starting with '+'](https://b.corp.google.com/issues/335409093) |
|
185
|
+
| XS | Medium-sized CL or series of trivial CLs | [Local overrides for New Tab Page misses one "/" in folder name](http://crbug.com/328210785), [Memory tool should highlight common problems and opportunities](http://crbug.com/337094903), [Improve the developer experience of using compression dictionaries](http://crbug.com/333756098) |
|
186
|
+
| S | Large-sized CL or series of non-trivial CLs | [Excluding sensitive data from HARs (HTTP Archives) by default](https://crbug.com/361717594) |
|
187
|
+
| M | quarter-long single-person project | [Exceptions in promise constructor should be treated as promise rejection](http://crbug.com/40283985) |
|
188
|
+
| L | multi-quarter or -person project | [Replace regex-matching in the StylesSidebarPane](http://crbug.com/40945390) |
|
189
|
+
| XL | multi-quarter and -person project | [MPArch migration](http://crbug.com/40238399), [GM3 adoption](http://crbug.com/40273199) |
|
190
|
+
| XXL | multi-year project with a dedicated team | [Performance Insights](http://crbug.com/40810111) |
|
188
191
|
|
189
192
|
## SLOs
|
190
193
|
|
package/docs/get_the_code.md
CHANGED
@@ -87,7 +87,10 @@ and a separate CL with a proper roll.
|
|
87
87
|
|
88
88
|
### Run in a pre-built Chromium
|
89
89
|
|
90
|
-
You can run a [build](#Build) of DevTools frontend in a pre-built Chromium in order to avoid the expensive
|
90
|
+
You can run a [build](#Build) of DevTools frontend in a pre-built Chrome or Chromium in order to avoid the expensive build. Options:
|
91
|
+
|
92
|
+
- Use the downloaded Chrome for Testing binary in `third_party/chrome`.
|
93
|
+
- Use the latest Chrome Canary. This includes any DevTools features that are only available in regular Chrome builds (`is_official_build` + `is_chrome_branded`), such as GenAI-related features.
|
91
94
|
|
92
95
|
#### Running from file system
|
93
96
|
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# Chromium DevTools Slow-Close Policy
|
2
|
+
|
3
|
+
[goo.gle/devtools-slow-close]
|
4
|
+
<small>([go/chrome-devtools:slow-close-policy])</small>
|
5
|
+
|
6
|
+
In November 2024, we instituted a slow close policy for Chrome DevTools to
|
7
|
+
automatically maintain hygiene of our bug database. We ended up with a list
|
8
|
+
of over 1650 open bugs and over 750 open feature requests, some of them going
|
9
|
+
back over 10 years, which was not only challenging to maintain, but also made
|
10
|
+
it difficult to determine what's relevant and where we should invest our
|
11
|
+
resources best.
|
12
|
+
|
13
|
+
By automatically nudging and closing stale bugs and feature requests, we can
|
14
|
+
reduce this burden, and better communicate to our users what will actually be
|
15
|
+
actioned, and hear from them what remains relevant.
|
16
|
+
|
17
|
+
[TOC]
|
18
|
+
|
19
|
+
## Rules
|
20
|
+
|
21
|
+
The criteria for slow close:
|
22
|
+
|
23
|
+
- Status: unassigned
|
24
|
+
- Type: Bug or Feature Request
|
25
|
+
- Created: over 3 years ago
|
26
|
+
- Last updated: over 90 days ago
|
27
|
+
- Popularity: (cc count + vote count) < 10
|
28
|
+
- No open descendants
|
29
|
+
|
30
|
+
Googlers can mark issues as exempt from slow close by adding them to the
|
31
|
+
[`DevTools-Blintz-Close-Exempt` hotlist](https://issues.chromium.org/hotlists/6459983).
|
32
|
+
|
33
|
+
## Process
|
34
|
+
|
35
|
+
The automation runs on a daily basis, and performs the following steps:
|
36
|
+
|
37
|
+
- Issues that meet the criteria outlined above are added to the
|
38
|
+
[`DevTools-Blintz-Close-Candidate` hotlist](https://issues.chromium.org/hotlists/6459982)
|
39
|
+
for closure.
|
40
|
+
- If 14 days have passed and no updates have occurred, the issue will be closed
|
41
|
+
and moved to the
|
42
|
+
[`DevTools-Blintz-Close` hotlist](https://issues.chromium.org/hotlists/6460812)
|
43
|
+
for recording purposes.
|
44
|
+
- No more than 25 issues will be updated in a single run.
|
45
|
+
|
46
|
+
## Implementation
|
47
|
+
|
48
|
+
**(Googlers only)**: This is implemented in [go/chrome-devtools:blintz].
|
49
|
+
|
50
|
+
[goo.gle/devtools-slow-close]: http://goo.gle/devtools-slow-close
|
51
|
+
[go/chrome-devtools:slow-close-policy]: http://go/chrome-devtools:slow-close-policy
|
52
|
+
[go/chrome-devtools:blintz]: http://go/chrome-devtools:blintz
|
@@ -0,0 +1,106 @@
|
|
1
|
+
# How to format numbers
|
2
|
+
|
3
|
+
[TOC]
|
4
|
+
|
5
|
+
## Checklist
|
6
|
+
|
7
|
+
### General
|
8
|
+
|
9
|
+
Use [Intl.NumberFormat] consistently for all number formatting within Chrome
|
10
|
+
DevTools' UI, including - but not limited to - formatting bytes and times. This
|
11
|
+
way we ensure that numbers are formatted the same way throughout the whole UI
|
12
|
+
and we don't put the burden of ensuring this level of consistency on the
|
13
|
+
translators for the various languages.
|
14
|
+
|
15
|
+
### Text length
|
16
|
+
|
17
|
+
Pay attention to text length, because the unit portion can be longer in different
|
18
|
+
locales, sometimes even longer than 4 characters. Try to alleviate the worse UX
|
19
|
+
of strings being too long.
|
20
|
+
|
21
|
+
Concretely these locales produces the longest unit strings, so make sure to
|
22
|
+
explicitly test for them:
|
23
|
+
|
24
|
+
* `th` (Thai)
|
25
|
+
* `vi` (Vietnamese)
|
26
|
+
* `hi` (Hindi)
|
27
|
+
* `kn` (Kannada)
|
28
|
+
* `ur` (Urdu)
|
29
|
+
|
30
|
+
We also suggest to explicitly check `en-US` (English) and `de` (German) locales.
|
31
|
+
|
32
|
+
## Examples
|
33
|
+
|
34
|
+
### Formatting percentages
|
35
|
+
|
36
|
+
Consider the following snippet for formatting percentage values:
|
37
|
+
|
38
|
+
```js
|
39
|
+
const {locale} = i18n.DevToolsLocale.DevToolsLocale.instance();
|
40
|
+
const formatter = new Intl.NumberFormat(locale, {
|
41
|
+
style: 'percent',
|
42
|
+
maximumFractionDigits: 1,
|
43
|
+
});
|
44
|
+
const formattedValue = formatter.format(percentageValue);
|
45
|
+
```
|
46
|
+
|
47
|
+
Note that this code will only work after the `DevToolsLocale` has been
|
48
|
+
initialized.
|
49
|
+
|
50
|
+
### Formatting bytes
|
51
|
+
|
52
|
+
Prefer the helper exported by [ByteUtilities.ts] when formatting byte values.
|
53
|
+
For example:
|
54
|
+
|
55
|
+
```js
|
56
|
+
// Formatting bytes
|
57
|
+
i18n.ByteUtilities.bytesToString(99);
|
58
|
+
|
59
|
+
// Formatting kilobytes
|
60
|
+
i18n.ByteUtilities.bytesToString(1234);
|
61
|
+
|
62
|
+
// Formatting megabytes
|
63
|
+
i18n.ByteUtilities.bytesToString(1500 * 1000);
|
64
|
+
```
|
65
|
+
|
66
|
+
### Formatting times
|
67
|
+
|
68
|
+
Prefer the helpers exported by [time-utilities.ts] when formatting time values.
|
69
|
+
For example:
|
70
|
+
|
71
|
+
```js
|
72
|
+
// Formatting precise milliseconds
|
73
|
+
i18n.TimeUtilities.preciseMillisToString(6.12345);
|
74
|
+
|
75
|
+
// Formatting milliseconds (lossy)
|
76
|
+
i18n.TimeUtilities.millisToString(26500);
|
77
|
+
|
78
|
+
// Formatting seconds
|
79
|
+
i18n.TimeUtilities.secondsToString(7849);
|
80
|
+
```
|
81
|
+
|
82
|
+
## Tips
|
83
|
+
|
84
|
+
### Defining formatters upfront
|
85
|
+
|
86
|
+
Use `defineFormatter()` from the [NumberFormatter.ts] file in order to define
|
87
|
+
a formatter upfront. The function has some magic built into such that it defers
|
88
|
+
the creation of the underlying `Intl.NumberFormat` instance until the first
|
89
|
+
invocation of `format()` or `formatToParts()` methods, and therefore it's safe
|
90
|
+
to define the formatters this way without running into the issue that the
|
91
|
+
`DevToolsLocale` isn't initialized yet:
|
92
|
+
|
93
|
+
```js
|
94
|
+
import * as i18n from 'path/to/i18n/i18n.js';
|
95
|
+
|
96
|
+
const percentageFormatter = i18n.NumberFormatter.defineFormatter({
|
97
|
+
style: 'percent',
|
98
|
+
maximumFractionDigits: 1,
|
99
|
+
});
|
100
|
+
```
|
101
|
+
|
102
|
+
|
103
|
+
[Intl.NumberFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
|
104
|
+
[ByteUtilities.ts]: ../../../front_end/core/i18n/ByteUtilities.ts
|
105
|
+
[NumberFormatter.ts]: ../../../front_end/core/i18n/NumberFormatter.ts
|
106
|
+
[time-utilities.ts]: ../../../front_end/core/i18n/time-utilities.ts
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<path d="M7.5 18C6.75 18 6.04514 17.8646 5.38542 17.5938C4.72569 17.3229 4.13194 16.9236 3.60417 16.3958C3.07639 15.8681 2.67708 15.2743 2.40625 14.6146C2.13542 13.9549 2 13.25 2 12.5C2 11.4444 2.27083 10.4757 2.8125 9.59375C3.35417 8.71181 4.10417 8.03472 5.0625 7.5625C5.29861 7.04861 5.63542 6.57292 6.07292 6.13542C6.51042 5.69792 7.00694 5.34028 7.5625 5.0625C8.03472 4.11806 8.71181 3.37153 9.59375 2.82292C10.4757 2.27431 11.4444 2 12.5 2C13.25 2 13.9549 2.13542 14.6146 2.40625C15.2743 2.67708 15.8681 3.07639 16.3958 3.60417C16.9236 4.13194 17.3229 4.72569 17.5938 5.38542C17.8646 6.04514 18 6.75 18 7.5C18 8.56944 17.7326 9.53819 17.1979 10.4063C16.6632 11.2743 15.9097 11.9514 14.9375 12.4375C14.6736 12.9931 14.3229 13.4861 13.8854 13.9167C13.4479 14.3472 12.9653 14.6875 12.4375 14.9375C11.9514 15.8819 11.2674 16.6285 10.3854 17.1771C9.50347 17.7257 8.54167 18 7.5 18ZM7.5 16.5C7.95833 16.5 8.42014 16.4132 8.88542 16.2396C9.35069 16.066 9.76389 15.8194 10.125 15.5C9.36111 15.5278 8.63542 15.3993 7.94792 15.1146C7.26042 14.8299 6.64583 14.4167 6.10417 13.875C5.5625 13.3333 5.15278 12.7222 4.875 12.0417C4.59722 11.3611 4.47222 10.6389 4.5 9.875C4.18056 10.2361 3.93403 10.6493 3.76042 11.1146C3.58681 11.5799 3.5 12.0417 3.5 12.5C3.5 13.0417 3.59722 13.5486 3.79167 14.0208C3.98611 14.4931 4.27778 14.9236 4.66667 15.3125C5.05556 15.7014 5.48958 15.9965 5.96875 16.1979C6.44792 16.3993 6.95833 16.5 7.5 16.5ZM10 14C10.4722 14 10.9375 13.9132 11.3958 13.7396C11.8542 13.566 12.2708 13.3194 12.6458 13C11.8958 13.0278 11.1736 12.9028 10.4792 12.625C9.78472 12.3472 9.15972 11.9306 8.60417 11.375C8.04861 10.8194 7.63542 10.2049 7.36458 9.53125C7.09375 8.85764 6.97222 8.13889 7 7.375C6.68056 7.73611 6.43403 8.14236 6.26042 8.59375C6.08681 9.04514 6 9.51389 6 10C6 10.5417 6.09722 11.0486 6.29167 11.5208C6.48611 11.9931 6.77778 12.4236 7.16667 12.8125C7.55556 13.2014 7.98958 13.4965 8.46875 13.6979C8.94792 13.8993 9.45833 14 10 14ZM12.4375 11.4792C12.6736 11.4792 12.9063 11.4618 13.1354 11.4271C13.3646 11.3924 13.5764 11.3403 13.7708 11.2708C14.0208 10.5347 14.0625 9.80208 13.8958 9.07292C13.7292 8.34375 13.375 7.70833 12.8333 7.16667C12.2917 6.625 11.6563 6.27083 10.9271 6.10417C10.1979 5.9375 9.46528 5.97917 8.72917 6.22917C8.65972 6.42361 8.60764 6.63542 8.57292 6.86458C8.53819 7.09375 8.52083 7.32639 8.52083 7.5625C8.52083 8.07639 8.62153 8.56944 8.82292 9.04167C9.02431 9.51389 9.30556 9.93056 9.66667 10.2917C10.0417 10.6667 10.4722 10.9583 10.9583 11.1667C11.4444 11.375 11.9375 11.4792 12.4375 11.4792ZM15.5 10.125C15.8194 9.77778 16.066 9.375 16.2396 8.91667C16.4132 8.45833 16.5 7.98611 16.5 7.5C16.5 6.97222 16.3993 6.46528 16.1979 5.97917C15.9965 5.49306 15.7014 5.05556 15.3125 4.66667C14.9236 4.27778 14.4931 3.98611 14.0208 3.79167C13.5486 3.59722 13.0417 3.5 12.5 3.5C12.0278 3.5 11.566 3.58681 11.1146 3.76042C10.6632 3.93403 10.25 4.18056 9.875 4.5C10.6667 4.47222 11.3958 4.59375 12.0625 4.86458C12.7292 5.13542 13.3403 5.54861 13.8958 6.10417C14.4514 6.65972 14.8646 7.27083 15.1354 7.9375C15.4063 8.60417 15.5278 9.33333 15.5 10.125Z" fill="black"/>
|
3
|
+
</svg>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<path d="M5.14583 17.1042C4.52083 17.1042 3.93403 16.9618 3.38542 16.6771C2.83681 16.3924 2.375 16.0069 2 15.5208C2.43056 15.4931 2.79861 15.3333 3.10417 15.0417C3.40972 14.75 3.5625 14.3889 3.5625 13.9583C3.5625 13.2917 3.79271 12.7326 4.25312 12.2812C4.7134 11.8299 5.27243 11.6042 5.93021 11.6042C6.58785 11.6042 7.14236 11.8331 7.59375 12.2908C8.04514 12.7486 8.27083 13.3044 8.27083 13.9583C8.27083 14.8333 7.96875 15.5764 7.36458 16.1875C6.76042 16.7986 6.02083 17.1042 5.14583 17.1042ZM5.14583 15.7083C5.62708 15.7083 6.0391 15.5369 6.38187 15.1942C6.72451 14.8515 6.89583 14.4396 6.89583 13.9583C6.89583 13.6944 6.80208 13.4687 6.61458 13.2812C6.42708 13.0937 6.20139 13 5.9375 13C5.67361 13 5.44792 13.0937 5.26042 13.2812C5.07292 13.4687 4.97917 13.6944 4.97917 13.9583C4.97917 14.2639 4.94444 14.559 4.875 14.8437C4.80556 15.1285 4.67361 15.3819 4.47917 15.6042C4.59028 15.6319 4.70139 15.6562 4.8125 15.6771C4.92361 15.6979 5.03472 15.7083 5.14583 15.7083ZM10.0625 12.1667L7.9375 10.0417L14.5833 3.39583C14.7778 3.20139 15.0139 3.10416 15.2917 3.10416C15.5694 3.10416 15.8056 3.20139 16 3.39583L16.7083 4.10416C16.9028 4.30486 17 4.53909 17 4.80687C17 5.07451 16.9028 5.30555 16.7083 5.5L10.0625 12.1667Z" fill="black"/>
|
3
|
+
</svg>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<path d="M16.625 14.5L15.5208 13.3959C15.7958 12.9527 16.0174 12.4773 16.1854 11.9696C16.3535 11.4621 16.4583 10.9306 16.5 10.375C15.875 10.125 15.3542 9.73962 14.9375 9.21879C14.5208 8.69795 14.2569 8.1042 14.1458 7.43754C13.0903 7.28476 12.1944 6.84726 11.4583 6.12504C10.7222 5.40282 10.2847 4.52782 10.1458 3.50004C9.49306 3.45837 8.86458 3.52087 8.26042 3.68754C7.65625 3.8542 7.09028 4.1042 6.5625 4.43754L5.45833 3.33337C6.34722 2.69448 7.32986 2.26045 8.40625 2.03129C9.48264 1.80212 10.5694 1.84726 11.6667 2.1667C11.5556 2.77782 11.5903 3.34031 11.7708 3.8542C11.9514 4.36809 12.2361 4.79518 12.625 5.13545C13.0139 5.47573 13.4861 5.71184 14.0417 5.84379C14.5972 5.97573 15.1875 5.96532 15.8125 5.81254C15.4653 6.6042 15.5174 7.35768 15.9688 8.07295C16.4201 8.78823 17.0833 9.15955 17.9583 9.18691C18.0694 10.1723 18.0035 11.1167 17.7604 12.02C17.5174 12.9234 17.1389 13.75 16.625 14.5ZM6.75 12.5C6.40278 12.5 6.10764 12.3785 5.86458 12.1355C5.62153 11.8924 5.5 11.5973 5.5 11.25C5.5 10.9028 5.62153 10.6077 5.86458 10.3646C6.10764 10.1216 6.40278 10 6.75 10C7.09722 10 7.39236 10.1216 7.63542 10.3646C7.87847 10.6077 8 10.9028 8 11.25C8 11.5973 7.87847 11.8924 7.63542 12.1355C7.39236 12.3785 7.09722 12.5 6.75 12.5ZM15.875 18L14.5 16.625C13.8194 17.0695 13.1007 17.4098 12.3438 17.6459C11.5868 17.882 10.8056 18 10 18C8.8975 18 7.86146 17.7917 6.89188 17.375C5.92229 16.9584 5.07292 16.3855 4.34375 15.6563C3.61458 14.9271 3.04167 14.0777 2.625 13.1082C2.20833 12.1386 2 11.1025 2 10C2 9.19448 2.11806 8.41323 2.35417 7.65629C2.59028 6.89934 2.93056 6.18059 3.375 5.50004L2 4.12504L3.0625 3.06254L16.9375 16.9375L15.875 18ZM10.0023 16.5C10.6119 16.5 11.2014 16.4098 11.7708 16.2292C12.3403 16.0486 12.8889 15.8125 13.4167 15.5209L4.47917 6.58337C4.1875 7.11115 3.95139 7.65976 3.77083 8.2292C3.59028 8.79865 3.5 9.38816 3.5 9.99775C3.5 11.7994 4.13326 13.3336 5.39979 14.6002C6.66646 15.8668 8.20062 16.5 10.0023 16.5Z" fill="black"/>
|
3
|
+
</svg>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<path d="M2 17V3H10V6H18V17H2ZM3.5 15.5H5V14H3.5V15.5ZM3.5 12.3333H5V10.8333H3.5V12.3333ZM3.5 9.16667H5V7.66667H3.5V9.16667ZM3.5 6H5V4.5H3.5V6ZM7 15.5H8.5V14H7V15.5ZM7 12.3333H8.5V10.8333H7V12.3333ZM7 9.16667H8.5V7.66667H7V9.16667ZM7 6H8.5V4.5H7V6ZM10 15.5H16.5V7.5H10V9.16667H11.5V10.6667H10V12.3333H11.5V13.8333H10V15.5ZM13.5 10.6667V9.16667H15V10.6667H13.5ZM13.5 13.8333V12.3333H15V13.8333H13.5Z" fill="black"/>
|
3
|
+
</svg>
|
@@ -2154,12 +2154,12 @@ export class Legacy implements Color {
|
|
2154
2154
|
|
2155
2155
|
/**
|
2156
2156
|
* Returns a new color using the NTSC formula for making a RGB color grayscale.
|
2157
|
-
* Note:
|
2157
|
+
* Note: We override with an alpha of 50% to enhance the dimming effect.
|
2158
2158
|
*/
|
2159
2159
|
grayscale(): Legacy {
|
2160
|
-
const [r, g, b
|
2160
|
+
const [r, g, b] = this.#rgbaInternal;
|
2161
2161
|
const gray = r * 0.299 + g * 0.587 + b * 0.114;
|
2162
|
-
return new Legacy([gray, gray, gray,
|
2162
|
+
return new Legacy([gray, gray, gray, 0.5], Format.RGBA);
|
2163
2163
|
}
|
2164
2164
|
|
2165
2165
|
setAlpha(alpha: number): Legacy {
|
@@ -74,6 +74,10 @@ const UIStrings = {
|
|
74
74
|
* section allows users to configure which DevTools data is synced via Chrome Sync.
|
75
75
|
*/
|
76
76
|
sync: 'Sync',
|
77
|
+
/**
|
78
|
+
* @description Text for the privacy section of the page.
|
79
|
+
*/
|
80
|
+
privacy: 'Privacy',
|
77
81
|
};
|
78
82
|
const str_ = i18n.i18n.registerUIStrings('core/common/SettingRegistration.ts', UIStrings);
|
79
83
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
@@ -142,6 +146,7 @@ export const enum SettingCategory {
|
|
142
146
|
EXTENSIONS = 'EXTENSIONS',
|
143
147
|
ADORNER = 'ADORNER',
|
144
148
|
SYNC = 'SYNC',
|
149
|
+
PRIVACY = 'PRIVACY',
|
145
150
|
}
|
146
151
|
|
147
152
|
export function getLocalizedSettingsCategory(category: SettingCategory): Platform.UIString.LocalizedString {
|
@@ -182,6 +187,8 @@ export function getLocalizedSettingsCategory(category: SettingCategory): Platfor
|
|
182
187
|
return i18n.i18n.lockedString('');
|
183
188
|
case SettingCategory.SYNC:
|
184
189
|
return i18nString(UIStrings.sync);
|
190
|
+
case SettingCategory.PRIVACY:
|
191
|
+
return i18nString(UIStrings.privacy);
|
185
192
|
}
|
186
193
|
}
|
187
194
|
|
@@ -302,7 +309,7 @@ export interface SettingRegistration {
|
|
302
309
|
*/
|
303
310
|
export interface LearnMore {
|
304
311
|
tooltip: () => Platform.UIString.LocalizedString;
|
305
|
-
url
|
312
|
+
url?: Platform.DevToolsPath.UrlString;
|
306
313
|
}
|
307
314
|
|
308
315
|
interface LocalizedSettingExtensionOption {
|
@@ -16,11 +16,12 @@ export enum Entity {
|
|
16
16
|
}
|
17
17
|
|
18
18
|
export const enum Rating {
|
19
|
+
SENTIMENT_UNSPECIFIED = 'SENTIMENT_UNSPECIFIED',
|
19
20
|
POSITIVE = 'POSITIVE',
|
20
21
|
NEGATIVE = 'NEGATIVE',
|
21
22
|
}
|
22
23
|
|
23
|
-
export interface
|
24
|
+
export interface HistoryChunk {
|
24
25
|
text: string;
|
25
26
|
entity: Entity;
|
26
27
|
}
|
@@ -64,10 +65,10 @@ export interface AidaRequest {
|
|
64
65
|
input: string;
|
65
66
|
preamble?: string;
|
66
67
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
67
|
-
chat_history?:
|
68
|
+
chat_history?: HistoryChunk[];
|
68
69
|
client: string;
|
69
70
|
options?: {
|
70
|
-
temperature?:
|
71
|
+
temperature?: number,
|
71
72
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
72
73
|
model_id?: string,
|
73
74
|
};
|
@@ -429,6 +429,10 @@ export class InspectorFrontendHostStub implements InspectorFrontendHostAPI {
|
|
429
429
|
devToolsPrivacyUI: {
|
430
430
|
enabled: false,
|
431
431
|
},
|
432
|
+
devToolsEnableOriginBoundCookies: {
|
433
|
+
portBindingEnabled: false,
|
434
|
+
schemeBindingEnabled: false,
|
435
|
+
},
|
432
436
|
isOffTheRecord: false,
|
433
437
|
};
|
434
438
|
if ('hostConfigForTesting' in globalThis) {
|