chrome-devtools-frontend 1.0.1506453 → 1.0.1510180
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/config/owner/COMMON_OWNERS +1 -0
- package/eslint.config.mjs +39 -5
- package/front_end/Images/src/gdp-logo-standalone.svg +9 -0
- package/front_end/core/host/AidaClient.ts +26 -0
- package/front_end/core/host/GdpClient.ts +151 -0
- package/front_end/core/host/InspectorFrontendHost.ts +7 -0
- package/front_end/core/host/InspectorFrontendHostAPI.ts +29 -1
- package/front_end/core/host/UserMetrics.ts +0 -25
- package/front_end/core/host/host.ts +2 -0
- package/front_end/core/root/Runtime.ts +15 -1
- package/front_end/core/sdk/CSSMatchedStyles.ts +183 -48
- package/front_end/core/sdk/CSSPropertyParser.ts +7 -7
- package/front_end/core/sdk/CSSPropertyParserMatchers.ts +175 -37
- package/front_end/core/sdk/CSSStyleSheetHeader.ts +5 -0
- package/front_end/core/sdk/DOMModel.ts +58 -0
- package/front_end/core/sdk/FrameAssociated.ts +4 -1
- package/front_end/core/sdk/Script.ts +5 -1
- package/front_end/core/sdk/SourceMap.ts +10 -2
- package/front_end/core/sdk/SourceMapCache.ts +54 -0
- package/front_end/core/sdk/SourceMapManager.ts +20 -7
- package/front_end/core/sdk/sdk.ts +2 -0
- package/front_end/devtools_compatibility.js +0 -1
- package/front_end/entrypoints/main/GlobalAiButton.ts +71 -1
- package/front_end/entrypoints/main/MainImpl.ts +6 -27
- package/front_end/entrypoints/main/globalAiButton.css +1 -1
- package/front_end/entrypoints/main/main-meta.ts +15 -0
- package/front_end/generated/InspectorBackendCommands.js +3 -2
- package/front_end/generated/SupportedCSSProperties.js +23 -7
- package/front_end/generated/protocol-mapping.d.ts +8 -1
- package/front_end/generated/protocol-proxy-api.d.ts +6 -1
- package/front_end/generated/protocol.ts +17 -4
- package/front_end/models/ai_assistance/ConversationHandler.ts +34 -54
- package/front_end/models/ai_assistance/ExtensionScope.ts +3 -12
- package/front_end/models/ai_assistance/README.md +1 -1
- package/front_end/models/ai_assistance/agents/AiAgent.ts +1 -3
- package/front_end/models/ai_assistance/agents/FileAgent.ts +0 -6
- package/front_end/models/ai_assistance/agents/NetworkAgent.ts +16 -15
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +32 -16
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +199 -23
- package/front_end/models/ai_assistance/ai_assistance.ts +2 -0
- package/front_end/models/ai_assistance/data_formatters/FileFormatter.ts +4 -1
- package/front_end/models/ai_assistance/data_formatters/NetworkRequestFormatter.ts +8 -5
- package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.snapshot.txt +248 -83
- package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.ts +303 -94
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +442 -93
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +35 -17
- package/front_end/models/ai_assistance/data_formatters/Types.ts +9 -0
- package/front_end/models/ai_code_completion/AiCodeCompletion.ts +114 -2
- package/front_end/models/autofill_manager/AutofillManager.ts +0 -11
- package/front_end/models/bindings/DebuggerLanguagePlugins.ts +64 -6
- package/front_end/models/bindings/ResourceScriptMapping.ts +6 -0
- package/front_end/models/emulation/DeviceModeModel.ts +13 -14
- package/front_end/models/extensions/ExtensionPanel.ts +6 -6
- package/front_end/models/extensions/ExtensionServer.ts +2 -0
- package/front_end/models/extensions/ExtensionView.ts +4 -0
- package/front_end/{ui/legacy/Geometry.ts → models/geometry/GeometryImpl.ts} +4 -4
- package/front_end/models/geometry/geometry.ts +5 -0
- package/front_end/models/javascript_metadata/NativeFunctions.js +4 -4
- package/front_end/models/network_time_calculator/Calculator.ts +14 -0
- package/front_end/{panels/network → models/network_time_calculator}/NetworkTimeCalculator.ts +4 -4
- package/front_end/models/network_time_calculator/network_time_calculator.ts +6 -0
- package/front_end/models/persistence/EditFileSystemView.ts +4 -0
- package/front_end/models/persistence/NetworkPersistenceManager.ts +2 -0
- package/front_end/models/persistence/PersistenceActions.ts +2 -0
- package/front_end/models/persistence/PersistenceUtils.ts +2 -0
- package/front_end/models/persistence/WorkspaceSettingsTab.ts +6 -0
- package/front_end/models/persistence/persistence-meta.ts +2 -0
- package/front_end/models/stack_trace/StackTrace.ts +18 -0
- package/front_end/models/stack_trace/StackTraceImpl.ts +4 -1
- package/front_end/models/stack_trace/StackTraceModel.ts +4 -3
- package/front_end/models/trace/ModelImpl.ts +2 -1
- package/front_end/models/trace/Processor.ts +3 -30
- package/front_end/models/trace/handlers/AnimationFramesHandler.ts +10 -11
- package/front_end/models/trace/handlers/AnimationHandler.ts +4 -4
- package/front_end/models/trace/handlers/AsyncJSCallsHandler.ts +8 -9
- package/front_end/models/trace/handlers/AuctionWorkletsHandler.ts +10 -10
- package/front_end/models/trace/handlers/DOMStatsHandler.ts +2 -2
- package/front_end/models/trace/handlers/ExtensionTraceDataHandler.ts +59 -51
- package/front_end/models/trace/handlers/FlowsHandler.ts +10 -10
- package/front_end/models/trace/handlers/FramesHandler.ts +2 -2
- package/front_end/models/trace/handlers/GPUHandler.ts +2 -2
- package/front_end/models/trace/handlers/ImagePaintingHandler.ts +12 -12
- package/front_end/models/trace/handlers/InitiatorsHandler.ts +18 -20
- package/front_end/models/trace/handlers/InvalidationsHandler.ts +6 -6
- package/front_end/models/trace/handlers/LargestImagePaintHandler.ts +4 -3
- package/front_end/models/trace/handlers/LargestTextPaintHandler.ts +2 -2
- package/front_end/models/trace/handlers/LayerTreeHandler.ts +10 -10
- package/front_end/models/trace/handlers/LayoutShiftsHandler.ts +28 -28
- package/front_end/models/trace/handlers/MemoryHandler.ts +2 -2
- package/front_end/models/trace/handlers/MetaHandler.ts +18 -18
- package/front_end/models/trace/handlers/NetworkRequestsHandler.ts +25 -23
- package/front_end/models/trace/handlers/PageFramesHandler.ts +2 -2
- package/front_end/models/trace/handlers/PageLoadMetricsHandler.ts +5 -5
- package/front_end/models/trace/handlers/RendererHandler.ts +18 -18
- package/front_end/models/trace/handlers/SamplesHandler.ts +6 -9
- package/front_end/models/trace/handlers/ScreenshotsHandler.ts +8 -8
- package/front_end/models/trace/handlers/ScriptsHandler.ts +2 -2
- package/front_end/models/trace/handlers/SelectorStatsHandler.ts +4 -4
- package/front_end/models/trace/handlers/UserInteractionsHandler.ts +14 -14
- package/front_end/models/trace/handlers/UserTimingsHandler.ts +10 -10
- package/front_end/models/trace/handlers/WarningsHandler.ts +12 -12
- package/front_end/models/trace/handlers/WorkersHandler.ts +6 -6
- package/front_end/models/trace/helpers/Extensions.ts +10 -10
- package/front_end/models/trace/helpers/Trace.ts +3 -3
- package/front_end/models/trace/insights/ForcedReflow.ts +4 -0
- package/front_end/models/trace/insights/NetworkDependencyTree.ts +4 -0
- package/front_end/models/trace/insights/ThirdParties.ts +4 -0
- package/front_end/models/trace/types/Extensions.ts +27 -17
- package/front_end/models/trace/types/Overlays.ts +1 -3
- package/front_end/models/trace/types/TraceEvents.ts +2 -5
- package/front_end/models/workspace/FileManager.ts +1 -0
- package/front_end/panels/accessibility/ARIAAttributesView.ts +2 -60
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +22 -4
- package/front_end/panels/ai_assistance/PatchWidget.ts +1 -1
- package/front_end/panels/ai_assistance/SelectWorkspaceDialog.ts +2 -1
- package/front_end/panels/ai_assistance/ai_assistance-meta.ts +9 -9
- package/front_end/panels/ai_assistance/components/ChatView.ts +44 -2
- package/front_end/panels/animation/AnimationUI.ts +2 -1
- package/front_end/panels/application/KeyValueStorageItemsView.ts +2 -1
- package/front_end/panels/application/components/BackForwardCacheStrings.ts +9 -9
- package/front_end/panels/autofill/AutofillView.ts +15 -10
- package/front_end/panels/browser_debugger/CSPViolationBreakpointsSidebarPane.ts +5 -6
- package/front_end/panels/browser_debugger/CategorizedBreakpointsSidebarPane.ts +174 -272
- package/front_end/panels/browser_debugger/EventListenerBreakpointsSidebarPane.ts +9 -6
- package/front_end/panels/browser_debugger/categorizedBreakpointsSidebarPane.css +1 -1
- package/front_end/panels/common/BadgeNotification.ts +121 -0
- package/front_end/panels/common/FreDialog.ts +4 -3
- package/front_end/panels/common/badgeNotification.css +74 -0
- package/front_end/panels/common/common.ts +3 -1
- package/front_end/panels/console/ConsolePrompt.ts +2 -3
- package/front_end/panels/console/ConsoleView.ts +8 -8
- package/front_end/panels/console/ConsoleViewMessage.ts +14 -13
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +2 -1
- package/front_end/panels/elements/CSSRuleValidator.ts +0 -57
- package/front_end/panels/elements/ElementsTreeElement.ts +12 -4
- package/front_end/panels/elements/ElementsTreeOutlineRenderer.ts +8 -5
- package/front_end/panels/elements/PropertyRenderer.ts +1 -1
- package/front_end/panels/elements/StylePropertyTreeElement.ts +110 -9
- package/front_end/panels/emulation/DeviceModeView.ts +6 -5
- package/front_end/panels/layer_viewer/Layers3DView.ts +9 -9
- package/front_end/panels/layers/LayerTreeModel.ts +5 -5
- package/front_end/panels/lighthouse/LighthouseStatusView.ts +2 -1
- package/front_end/panels/lighthouse/LighthouseTimespanView.ts +2 -1
- package/front_end/panels/media/MainView.ts +48 -18
- package/front_end/panels/media/MediaModel.ts +4 -4
- package/front_end/panels/media/PlayerListView.ts +7 -0
- package/front_end/panels/mobile_throttling/ThrottlingManager.ts +2 -2
- package/front_end/panels/network/NetworkDataGridNode.ts +4 -5
- package/front_end/panels/network/NetworkItemView.ts +2 -2
- package/front_end/panels/network/NetworkLogView.ts +10 -15
- package/front_end/panels/network/NetworkLogViewColumns.ts +6 -8
- package/front_end/panels/network/NetworkOverview.ts +6 -4
- package/front_end/panels/network/NetworkPanel.ts +5 -5
- package/front_end/panels/network/NetworkWaterfallColumn.ts +5 -5
- package/front_end/panels/network/RequestTimingView.ts +7 -6
- package/front_end/panels/network/network.ts +1 -3
- package/front_end/panels/profiler/HeapTimelineOverview.ts +2 -1
- package/front_end/panels/profiler/ProfileFlameChartDataProvider.ts +2 -1
- package/front_end/panels/sensors/SensorsView.ts +10 -9
- package/front_end/panels/settings/AISettingsTab.ts +2 -2
- package/front_end/panels/settings/SettingsScreen.ts +19 -9
- package/front_end/panels/settings/components/SyncSection.ts +136 -3
- package/front_end/panels/settings/components/syncSection.css +54 -0
- package/front_end/panels/sources/AiCodeCompletionPlugin.ts +26 -9
- package/front_end/panels/sources/CSSPlugin.ts +5 -4
- package/front_end/panels/timeline/CountersGraph.ts +1 -1
- package/front_end/panels/timeline/ExtensionTrackAppender.ts +2 -2
- package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +3 -3
- package/front_end/panels/timeline/TimelineDetailsView.ts +41 -26
- package/front_end/panels/timeline/TimelinePaintProfilerView.ts +2 -1
- package/front_end/panels/timeline/TimelinePanel.ts +58 -59
- package/front_end/panels/timeline/TimelineUIUtils.ts +89 -20
- package/front_end/panels/timeline/TimingsTrackAppender.ts +10 -7
- package/front_end/panels/timeline/components/insights/CLSCulprits.ts +1 -11
- package/front_end/panels/timeline/components/insights/ForcedReflow.ts +4 -0
- package/front_end/panels/timeline/components/insights/LCPDiscovery.ts +2 -3
- package/front_end/panels/timeline/components/insights/NetworkDependencyTree.ts +4 -0
- package/front_end/panels/timeline/components/insights/ThirdParties.ts +4 -0
- package/front_end/panels/timeline/extensions/ExtensionUI.ts +1 -1
- package/front_end/panels/timeline/overlays/components/EntryLabelOverlay.ts +1 -1
- package/front_end/panels/timeline/overlays/components/TimespanBreakdownOverlay.ts +3 -12
- package/front_end/panels/timeline/utils/AIContext.ts +14 -1
- package/front_end/panels/whats_new/ReleaseNoteText.ts +11 -11
- package/front_end/panels/whats_new/resources/WNDT.md +6 -6
- package/front_end/services/tracing/tracing.ts +0 -2
- package/front_end/tsconfig.json +1 -0
- package/front_end/ui/components/buttons/button.css +4 -0
- package/front_end/ui/components/highlighting/HighlightManager.ts +19 -9
- package/front_end/ui/legacy/ARIAUtils.ts +1 -1
- package/front_end/ui/legacy/DockController.ts +1 -1
- package/front_end/ui/legacy/GlassPane.ts +2 -1
- package/front_end/ui/legacy/InspectorView.ts +41 -14
- package/front_end/ui/legacy/ResizerWidget.ts +45 -50
- package/front_end/ui/legacy/SoftDropDown.ts +2 -2
- package/front_end/ui/legacy/SplitWidget.ts +341 -357
- package/front_end/ui/legacy/SuggestBox.ts +2 -2
- package/front_end/ui/legacy/TabbedPane.ts +5 -5
- package/front_end/ui/legacy/Treeoutline.ts +227 -32
- package/front_end/ui/legacy/UIUtils.ts +72 -17
- package/front_end/ui/legacy/Widget.ts +15 -14
- package/front_end/ui/legacy/components/data_grid/DataGridElement.ts +6 -14
- package/front_end/ui/legacy/components/inline_editor/AnimationTimingModel.ts +3 -3
- package/front_end/ui/legacy/components/inline_editor/AnimationTimingUI.ts +15 -14
- package/front_end/ui/legacy/components/inline_editor/BezierUI.ts +6 -5
- package/front_end/ui/legacy/components/inline_editor/CSSAngleUtils.ts +7 -6
- package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +13 -12
- package/front_end/ui/legacy/components/object_ui/ObjectPopoverHelper.ts +2 -1
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +10 -11
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +3 -2
- package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +7 -5
- package/front_end/ui/legacy/components/perf_ui/TimelineGrid.ts +3 -13
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewCalculator.ts +2 -3
- package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +2 -1
- package/front_end/ui/legacy/components/source_frame/XMLView.ts +268 -295
- package/front_end/ui/legacy/components/source_frame/xmlTree.css +10 -8
- package/front_end/ui/legacy/components/source_frame/xmlView.css +3 -1
- package/front_end/ui/legacy/inspectorCommon.css +3 -2
- package/front_end/ui/legacy/legacy.ts +0 -2
- package/front_end/ui/visual_logging/KnownContextValues.ts +8 -4
- package/package.json +2 -2
- package/.gemini/commands/migrate-e2e-non-hosted.toml +0 -43
- package/.gemini/commands/review.toml +0 -85
- package/.github/workflows/auto-close-prs.yml +0 -30
- package/.vscode/devtools-workspace-launch.json +0 -43
- package/.vscode/devtools-workspace-settings.json +0 -12
- package/.vscode/devtools-workspace-tasks.json +0 -66
- package/.vscode/extensions.json +0 -3
- package/codereview.settings +0 -4
- package/config/gni/devtools_grd_files.gni +0 -2646
- package/config/gni/devtools_image_files.gni +0 -309
- package/config/gni/i18n.gni +0 -115
- package/extensions/cxx_debugging/CMakeLists.txt +0 -162
- package/extensions/cxx_debugging/README.md +0 -81
- package/extensions/cxx_debugging/e2e/MochaRootHooks.ts +0 -110
- package/extensions/cxx_debugging/e2e/OptionsPageTests.ts +0 -36
- package/extensions/cxx_debugging/e2e/StandaloneTestDriver.ts +0 -20
- package/extensions/cxx_debugging/e2e/TestDriver.ts +0 -311
- package/extensions/cxx_debugging/e2e/cxx-debugging-extension-helpers.ts +0 -62
- package/extensions/cxx_debugging/e2e/resources/huge-source-file.cc +0 -29
- package/extensions/cxx_debugging/e2e/resources/pointers.cc +0 -40
- package/extensions/cxx_debugging/e2e/resources/scope-view-non-primitives.c +0 -30
- package/extensions/cxx_debugging/e2e/resources/scope-view-non-primitives.cpp +0 -49
- package/extensions/cxx_debugging/e2e/resources/scope-view-primitives.c +0 -19
- package/extensions/cxx_debugging/e2e/resources/stepping-with-state.c +0 -31
- package/extensions/cxx_debugging/e2e/resources/test_wasm_simd.c +0 -13
- package/extensions/cxx_debugging/e2e/resources/vector.cc +0 -14
- package/extensions/cxx_debugging/e2e/resources/wchar.cc +0 -22
- package/extensions/cxx_debugging/e2e/runner.py +0 -542
- package/extensions/cxx_debugging/e2e/runner.py.vpython +0 -5
- package/extensions/cxx_debugging/e2e/runner.py.vpython3 +0 -5
- package/extensions/cxx_debugging/e2e/standalone/MemoryInspector_test.ts +0 -59
- package/extensions/cxx_debugging/e2e/tests/cpp_eval.yaml +0 -37
- package/extensions/cxx_debugging/e2e/tests/pointer.yaml +0 -42
- package/extensions/cxx_debugging/e2e/tests/scope_view_non_primitives.yaml +0 -35
- package/extensions/cxx_debugging/e2e/tests/scope_view_non_primitives_cpp.yaml +0 -44
- package/extensions/cxx_debugging/e2e/tests/scope_view_primitives.yaml +0 -31
- package/extensions/cxx_debugging/e2e/tests/stepping_with_state.yaml +0 -64
- package/extensions/cxx_debugging/e2e/tests/string_view.yaml +0 -32
- package/extensions/cxx_debugging/e2e/tests/test_big_dwo.yaml +0 -21
- package/extensions/cxx_debugging/e2e/tests/test_linear_memory_inspector.yaml +0 -11
- package/extensions/cxx_debugging/e2e/tests/test_loop.yaml +0 -34
- package/extensions/cxx_debugging/e2e/tests/test_wasm_simd.yaml +0 -42
- package/extensions/cxx_debugging/e2e/tests/vector.yaml +0 -26
- package/extensions/cxx_debugging/e2e/tests/wchar.yaml +0 -52
- package/extensions/cxx_debugging/e2e/tsconfig.json +0 -24
- package/extensions/cxx_debugging/lib/ApiContext.cc +0 -627
- package/extensions/cxx_debugging/lib/ApiContext.h +0 -119
- package/extensions/cxx_debugging/lib/CMakeLists.txt +0 -53
- package/extensions/cxx_debugging/lib/Expressions.cc +0 -303
- package/extensions/cxx_debugging/lib/Expressions.h +0 -53
- package/extensions/cxx_debugging/lib/Variables.cc +0 -101
- package/extensions/cxx_debugging/lib/Variables.h +0 -65
- package/extensions/cxx_debugging/lib/WasmModule.cc +0 -573
- package/extensions/cxx_debugging/lib/WasmModule.h +0 -126
- package/extensions/cxx_debugging/lib/WasmVendorPlugins.cc +0 -172
- package/extensions/cxx_debugging/lib/WasmVendorPlugins.h +0 -329
- package/extensions/cxx_debugging/lib/api.h +0 -593
- package/extensions/cxx_debugging/lib/api.h.in +0 -86
- package/extensions/cxx_debugging/src/CMakeLists.txt +0 -158
- package/extensions/cxx_debugging/src/CreditsItem.ts +0 -126
- package/extensions/cxx_debugging/src/CustomFormatters.ts +0 -689
- package/extensions/cxx_debugging/src/DWARFSymbols.ts +0 -613
- package/extensions/cxx_debugging/src/DevToolsPlugin.html +0 -7
- package/extensions/cxx_debugging/src/DevToolsPluginForTests.html +0 -6
- package/extensions/cxx_debugging/src/DevToolsPluginHost.ts +0 -145
- package/extensions/cxx_debugging/src/DevToolsPluginWorker.ts +0 -120
- package/extensions/cxx_debugging/src/DevToolsPluginWorkerMain.ts +0 -9
- package/extensions/cxx_debugging/src/ExtensionOptions.html +0 -24
- package/extensions/cxx_debugging/src/ExtensionOptions.ts +0 -705
- package/extensions/cxx_debugging/src/Formatters.ts +0 -282
- package/extensions/cxx_debugging/src/GlobMatch.ts +0 -51
- package/extensions/cxx_debugging/src/MEMFSResourceLoader.ts +0 -102
- package/extensions/cxx_debugging/src/ModuleConfiguration.ts +0 -117
- package/extensions/cxx_debugging/src/ModuleConfigurationList.ts +0 -239
- package/extensions/cxx_debugging/src/SymbolsBackend.cc +0 -262
- package/extensions/cxx_debugging/src/SymbolsBackend.cc.in +0 -139
- package/extensions/cxx_debugging/src/SymbolsBackend.d.ts +0 -179
- package/extensions/cxx_debugging/src/SymbolsBackend.d.ts.in +0 -108
- package/extensions/cxx_debugging/src/TestDriver.js +0 -21
- package/extensions/cxx_debugging/src/WasmTypes.ts +0 -119
- package/extensions/cxx_debugging/src/WorkerRPC.ts +0 -158
- package/extensions/cxx_debugging/src/index.html +0 -69
- package/extensions/cxx_debugging/src/manifest.json.in +0 -22
- package/extensions/cxx_debugging/src/rollup.config.in.js +0 -33
- package/extensions/cxx_debugging/tests/CMakeLists.txt +0 -146
- package/extensions/cxx_debugging/tests/CreditsItem_test.ts +0 -50
- package/extensions/cxx_debugging/tests/CustomFormatters_test.ts +0 -307
- package/extensions/cxx_debugging/tests/DevToolsPluginTestWorker.ts +0 -43
- package/extensions/cxx_debugging/tests/DevToolsPlugin_test.ts +0 -345
- package/extensions/cxx_debugging/tests/Externref_test.ts +0 -63
- package/extensions/cxx_debugging/tests/Formatters_test.ts +0 -284
- package/extensions/cxx_debugging/tests/GlobMatch_test.ts +0 -58
- package/extensions/cxx_debugging/tests/Interpreter_test.ts +0 -219
- package/extensions/cxx_debugging/tests/LLDBEvalExtensions.h +0 -154
- package/extensions/cxx_debugging/tests/LLDBEvalTests.d.ts +0 -24
- package/extensions/cxx_debugging/tests/ModuleConfiguration_test.ts +0 -136
- package/extensions/cxx_debugging/tests/RealBackend.ts +0 -482
- package/extensions/cxx_debugging/tests/SymbolsBackendTests.d.ts +0 -12
- package/extensions/cxx_debugging/tests/SymbolsBackend_test.ts +0 -39
- package/extensions/cxx_debugging/tests/TestUtils.ts +0 -250
- package/extensions/cxx_debugging/tests/WasmModule_test.cc +0 -332
- package/extensions/cxx_debugging/tests/build-artifacts.js.in +0 -10
- package/extensions/cxx_debugging/tests/inputs/CMakeLists.txt +0 -141
- package/extensions/cxx_debugging/tests/inputs/addr_index.s +0 -97
- package/extensions/cxx_debugging/tests/inputs/addresses.cc +0 -25
- package/extensions/cxx_debugging/tests/inputs/classstatic.s +0 -119
- package/extensions/cxx_debugging/tests/inputs/dw_opcodes.def +0 -66
- package/extensions/cxx_debugging/tests/inputs/embedded.s +0 -124
- package/extensions/cxx_debugging/tests/inputs/enums.s +0 -376
- package/extensions/cxx_debugging/tests/inputs/externref.js +0 -22
- package/extensions/cxx_debugging/tests/inputs/externref.s +0 -207
- package/extensions/cxx_debugging/tests/inputs/globals.s +0 -443
- package/extensions/cxx_debugging/tests/inputs/hello-split-missing-dwo.s +0 -92
- package/extensions/cxx_debugging/tests/inputs/hello-split.s +0 -134
- package/extensions/cxx_debugging/tests/inputs/hello.s +0 -70
- package/extensions/cxx_debugging/tests/inputs/helper.s +0 -130
- package/extensions/cxx_debugging/tests/inputs/inline.s +0 -196
- package/extensions/cxx_debugging/tests/inputs/namespaces.s +0 -207
- package/extensions/cxx_debugging/tests/inputs/page.html +0 -6
- package/extensions/cxx_debugging/tests/inputs/page.js +0 -35
- package/extensions/cxx_debugging/tests/inputs/shadowing.s +0 -121
- package/extensions/cxx_debugging/tests/inputs/split-dwarf.s +0 -126
- package/extensions/cxx_debugging/tests/inputs/string_view.cc +0 -40
- package/extensions/cxx_debugging/tests/inputs/windows_paths.s +0 -70
- package/extensions/cxx_debugging/tests/karma.conf.in.js +0 -133
- package/extensions/cxx_debugging/tests/karma_preload.html +0 -12
- package/extensions/cxx_debugging/third_party/.clang-format +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/CHANGELOG.md +0 -247
- package/extensions/cxx_debugging/third_party/lit-html/LICENSE +0 -28
- package/extensions/cxx_debugging/third_party/lit-html/README.chromium +0 -13
- package/extensions/cxx_debugging/third_party/lit-html/README.md +0 -47
- package/extensions/cxx_debugging/third_party/lit-html/directives/async-append.d.ts +0 -33
- package/extensions/cxx_debugging/third_party/lit-html/directives/async-append.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/async-append.js +0 -108
- package/extensions/cxx_debugging/third_party/lit-html/directives/async-append.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/async-replace.d.ts +0 -34
- package/extensions/cxx_debugging/third_party/lit-html/directives/async-replace.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/async-replace.js +0 -91
- package/extensions/cxx_debugging/third_party/lit-html/directives/async-replace.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/cache.d.ts +0 -30
- package/extensions/cxx_debugging/third_party/lit-html/directives/cache.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/cache.js +0 -77
- package/extensions/cxx_debugging/third_party/lit-html/directives/cache.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/class-map.d.ts +0 -28
- package/extensions/cxx_debugging/third_party/lit-html/directives/class-map.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/class-map.js +0 -101
- package/extensions/cxx_debugging/third_party/lit-html/directives/class-map.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/guard.d.ts +0 -49
- package/extensions/cxx_debugging/third_party/lit-html/directives/guard.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/guard.js +0 -69
- package/extensions/cxx_debugging/third_party/lit-html/directives/guard.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/if-defined.d.ts +0 -22
- package/extensions/cxx_debugging/third_party/lit-html/directives/if-defined.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/if-defined.js +0 -37
- package/extensions/cxx_debugging/third_party/lit-html/directives/if-defined.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/live.d.ts +0 -38
- package/extensions/cxx_debugging/third_party/lit-html/directives/live.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/live.js +0 -73
- package/extensions/cxx_debugging/third_party/lit-html/directives/live.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/repeat.d.ts +0 -37
- package/extensions/cxx_debugging/third_party/lit-html/directives/repeat.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/repeat.js +0 -415
- package/extensions/cxx_debugging/third_party/lit-html/directives/repeat.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/style-map.d.ts +0 -36
- package/extensions/cxx_debugging/third_party/lit-html/directives/style-map.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/style-map.js +0 -78
- package/extensions/cxx_debugging/third_party/lit-html/directives/style-map.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/template-content.d.ts +0 -23
- package/extensions/cxx_debugging/third_party/lit-html/directives/template-content.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/template-content.js +0 -41
- package/extensions/cxx_debugging/third_party/lit-html/directives/template-content.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/unsafe-html.d.ts +0 -23
- package/extensions/cxx_debugging/third_party/lit-html/directives/unsafe-html.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/unsafe-html.js +0 -44
- package/extensions/cxx_debugging/third_party/lit-html/directives/unsafe-html.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/unsafe-svg.d.ts +0 -23
- package/extensions/cxx_debugging/third_party/lit-html/directives/unsafe-svg.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/unsafe-svg.js +0 -61
- package/extensions/cxx_debugging/third_party/lit-html/directives/unsafe-svg.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/until.d.ts +0 -35
- package/extensions/cxx_debugging/third_party/lit-html/directives/until.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/directives/until.js +0 -86
- package/extensions/cxx_debugging/third_party/lit-html/directives/until.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/default-template-processor.d.ts +0 -39
- package/extensions/cxx_debugging/third_party/lit-html/lib/default-template-processor.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/default-template-processor.js +0 -52
- package/extensions/cxx_debugging/third_party/lit-html/lib/default-template-processor.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/directive.d.ts +0 -59
- package/extensions/cxx_debugging/third_party/lit-html/lib/directive.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/directive.js +0 -63
- package/extensions/cxx_debugging/third_party/lit-html/lib/directive.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/dom.d.ts +0 -29
- package/extensions/cxx_debugging/third_party/lit-html/lib/dom.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/dom.js +0 -44
- package/extensions/cxx_debugging/third_party/lit-html/lib/dom.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/modify-template.d.ts +0 -38
- package/extensions/cxx_debugging/third_party/lit-html/lib/modify-template.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/modify-template.js +0 -125
- package/extensions/cxx_debugging/third_party/lit-html/lib/modify-template.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/part.d.ts +0 -46
- package/extensions/cxx_debugging/third_party/lit-html/lib/part.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/part.js +0 -23
- package/extensions/cxx_debugging/third_party/lit-html/lib/part.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/parts.d.ts +0 -148
- package/extensions/cxx_debugging/third_party/lit-html/lib/parts.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/parts.js +0 -476
- package/extensions/cxx_debugging/third_party/lit-html/lib/parts.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/render-options.d.ts +0 -19
- package/extensions/cxx_debugging/third_party/lit-html/lib/render-options.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/render-options.js +0 -14
- package/extensions/cxx_debugging/third_party/lit-html/lib/render-options.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/render.d.ts +0 -33
- package/extensions/cxx_debugging/third_party/lit-html/lib/render.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/render.js +0 -43
- package/extensions/cxx_debugging/third_party/lit-html/lib/render.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/shady-render.d.ts +0 -83
- package/extensions/cxx_debugging/third_party/lit-html/lib/shady-render.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/shady-render.js +0 -286
- package/extensions/cxx_debugging/third_party/lit-html/lib/shady-render.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/template-factory.d.ts +0 -57
- package/extensions/cxx_debugging/third_party/lit-html/lib/template-factory.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/template-factory.js +0 -48
- package/extensions/cxx_debugging/third_party/lit-html/lib/template-factory.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/template-instance.d.ts +0 -30
- package/extensions/cxx_debugging/third_party/lit-html/lib/template-instance.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/template-instance.js +0 -134
- package/extensions/cxx_debugging/third_party/lit-html/lib/template-instance.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/template-processor.d.ts +0 -46
- package/extensions/cxx_debugging/third_party/lit-html/lib/template-processor.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/template-processor.js +0 -14
- package/extensions/cxx_debugging/third_party/lit-html/lib/template-processor.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/template-result.d.ts +0 -42
- package/extensions/cxx_debugging/third_party/lit-html/lib/template-result.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/template-result.js +0 -131
- package/extensions/cxx_debugging/third_party/lit-html/lib/template-result.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/template.d.ts +0 -92
- package/extensions/cxx_debugging/third_party/lit-html/lib/template.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lib/template.js +0 -215
- package/extensions/cxx_debugging/third_party/lit-html/lib/template.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lit-html.d.ts +0 -42
- package/extensions/cxx_debugging/third_party/lit-html/lit-html.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/lit-html.js +0 -59
- package/extensions/cxx_debugging/third_party/lit-html/lit-html.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/package.json +0 -84
- package/extensions/cxx_debugging/third_party/lit-html/polyfills/template_polyfill.d.ts +0 -24
- package/extensions/cxx_debugging/third_party/lit-html/polyfills/template_polyfill.d.ts.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/polyfills/template_polyfill.js +0 -60
- package/extensions/cxx_debugging/third_party/lit-html/polyfills/template_polyfill.js.map +0 -1
- package/extensions/cxx_debugging/third_party/lit-html/src/directives/async-append.ts +0 -100
- package/extensions/cxx_debugging/third_party/lit-html/src/directives/async-replace.ts +0 -82
- package/extensions/cxx_debugging/third_party/lit-html/src/directives/cache.ts +0 -90
- package/extensions/cxx_debugging/third_party/lit-html/src/directives/class-map.ts +0 -118
- package/extensions/cxx_debugging/third_party/lit-html/src/directives/guard.ts +0 -74
- package/extensions/cxx_debugging/third_party/lit-html/src/directives/if-defined.ts +0 -40
- package/extensions/cxx_debugging/third_party/lit-html/src/directives/live.ts +0 -76
- package/extensions/cxx_debugging/third_party/lit-html/src/directives/repeat.ts +0 -442
- package/extensions/cxx_debugging/third_party/lit-html/src/directives/style-map.ts +0 -88
- package/extensions/cxx_debugging/third_party/lit-html/src/directives/template-content.ts +0 -52
- package/extensions/cxx_debugging/third_party/lit-html/src/directives/unsafe-html.ts +0 -54
- package/extensions/cxx_debugging/third_party/lit-html/src/directives/unsafe-svg.ts +0 -71
- package/extensions/cxx_debugging/third_party/lit-html/src/directives/until.ts +0 -104
- package/extensions/cxx_debugging/third_party/lit-html/src/env.d.ts +0 -20
- package/extensions/cxx_debugging/third_party/lit-html/src/lib/default-template-processor.ts +0 -59
- package/extensions/cxx_debugging/third_party/lit-html/src/lib/directive.ts +0 -73
- package/extensions/cxx_debugging/third_party/lit-html/src/lib/dom.ts +0 -55
- package/extensions/cxx_debugging/third_party/lit-html/src/lib/modify-template.ts +0 -135
- package/extensions/cxx_debugging/third_party/lit-html/src/lib/part.ts +0 -50
- package/extensions/cxx_debugging/third_party/lit-html/src/lib/parts.ts +0 -545
- package/extensions/cxx_debugging/third_party/lit-html/src/lib/render-options.ts +0 -20
- package/extensions/cxx_debugging/third_party/lit-html/src/lib/render.ts +0 -52
- package/extensions/cxx_debugging/third_party/lit-html/src/lib/shady-render.ts +0 -316
- package/extensions/cxx_debugging/third_party/lit-html/src/lib/template-factory.ts +0 -92
- package/extensions/cxx_debugging/third_party/lit-html/src/lib/template-instance.ts +0 -155
- package/extensions/cxx_debugging/third_party/lit-html/src/lib/template-processor.ts +0 -51
- package/extensions/cxx_debugging/third_party/lit-html/src/lib/template-result.ts +0 -148
- package/extensions/cxx_debugging/third_party/lit-html/src/lib/template.ts +0 -255
- package/extensions/cxx_debugging/third_party/lit-html/src/lit-html.ts +0 -74
- package/extensions/cxx_debugging/third_party/lit-html/src/polyfills/template_polyfill.ts +0 -70
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/directives/async-append.d.ts +0 -33
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/directives/async-replace.d.ts +0 -34
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/directives/cache.d.ts +0 -30
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/directives/class-map.d.ts +0 -28
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/directives/guard.d.ts +0 -49
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/directives/if-defined.d.ts +0 -22
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/directives/live.d.ts +0 -38
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/directives/repeat.d.ts +0 -37
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/directives/style-map.d.ts +0 -36
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/directives/template-content.d.ts +0 -23
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/directives/unsafe-html.d.ts +0 -23
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/directives/unsafe-svg.d.ts +0 -23
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/directives/until.d.ts +0 -35
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/lib/default-template-processor.d.ts +0 -39
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/lib/directive.d.ts +0 -59
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/lib/dom.d.ts +0 -29
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/lib/modify-template.d.ts +0 -38
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/lib/part.d.ts +0 -46
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/lib/parts.d.ts +0 -148
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/lib/render-options.d.ts +0 -19
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/lib/render.d.ts +0 -33
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/lib/shady-render.d.ts +0 -83
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/lib/template-factory.d.ts +0 -57
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/lib/template-instance.d.ts +0 -30
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/lib/template-processor.d.ts +0 -46
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/lib/template-result.d.ts +0 -42
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/lib/template.d.ts +0 -92
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/lit-html.d.ts +0 -42
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/polyfills/template_polyfill.d.ts +0 -24
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/src/env.d.ts +0 -19
- package/extensions/cxx_debugging/third_party/lit-html/ts3.4/tsconfig.json +0 -24
- package/extensions/cxx_debugging/third_party/lldb-eval/README.chromium +0 -15
- package/extensions/cxx_debugging/third_party/llvm/README.chromium +0 -17
- package/extensions/cxx_debugging/tools/api.pdl +0 -224
- package/extensions/cxx_debugging/tools/bootstrap.py +0 -352
- package/extensions/cxx_debugging/tools/generate-api.py +0 -74
- package/extensions/cxx_debugging/tools/pdl_cxx.py +0 -171
- package/extensions/cxx_debugging/tools/whitespaces.txt +0 -1
- package/extensions/cxx_debugging/tsconfig.json +0 -16
- package/front_end/core/common/Base64.test.ts +0 -41
- package/front_end/core/common/CharacterIdMap.test.ts +0 -46
- package/front_end/core/common/Color.test.ts +0 -904
- package/front_end/core/common/ColorConverter.test.ts +0 -525
- package/front_end/core/common/ColorUtils.test.ts +0 -112
- package/front_end/core/common/Console.test.ts +0 -86
- package/front_end/core/common/Debouncer.test.ts +0 -26
- package/front_end/core/common/EventTarget.test.ts +0 -166
- package/front_end/core/common/Gzip.test.ts +0 -63
- package/front_end/core/common/Lazy.test.ts +0 -28
- package/front_end/core/common/MapWithDefault.test.ts +0 -61
- package/front_end/core/common/Mutex.test.ts +0 -98
- package/front_end/core/common/Object.test.ts +0 -87
- package/front_end/core/common/ParsedURL.test.ts +0 -751
- package/front_end/core/common/Progress.test.ts +0 -269
- package/front_end/core/common/ResolverBase.test.ts +0 -115
- package/front_end/core/common/ResourceType.test.ts +0 -557
- package/front_end/core/common/Revealer.test.ts +0 -122
- package/front_end/core/common/SegmentedRange.test.ts +0 -210
- package/front_end/core/common/SettingRegistration.test.ts +0 -138
- package/front_end/core/common/Settings.test.ts +0 -858
- package/front_end/core/common/SimpleHistoryManager.test.ts +0 -66
- package/front_end/core/common/StringOutputStream.test.ts +0 -29
- package/front_end/core/common/TextDictionary.test.ts +0 -85
- package/front_end/core/common/Throttler.test.ts +0 -227
- package/front_end/core/common/Trie.test.ts +0 -110
- package/front_end/core/dom_extension/DOMExtension.test.ts +0 -343
- package/front_end/core/host/AidaClient.test.ts +0 -731
- package/front_end/core/i18n/ByteUtilities.test.ts +0 -59
- package/front_end/core/i18n/DevToolsLocale.test.ts +0 -104
- package/front_end/core/i18n/NumberFormatter.test.ts +0 -92
- package/front_end/core/i18n/i18n.test.ts +0 -207
- package/front_end/core/i18n/time-utilities.test.ts +0 -164
- package/front_end/core/platform/ArrayUtilities.test.ts +0 -499
- package/front_end/core/platform/DOMUtilities.test.ts +0 -95
- package/front_end/core/platform/DateUtilities.test.ts +0 -31
- package/front_end/core/platform/DevToolsPath.test.ts +0 -84
- package/front_end/core/platform/KeyboardUtilities.test.ts +0 -57
- package/front_end/core/platform/MapUtilities.test.ts +0 -50
- package/front_end/core/platform/MimeType.test.ts +0 -192
- package/front_end/core/platform/NumberUtilities.test.ts +0 -127
- package/front_end/core/platform/StringUtilities.test.ts +0 -729
- package/front_end/core/platform/TypedArrayUtilities.test.ts +0 -61
- package/front_end/core/protocol_client/NodeURL.test.ts +0 -74
- package/front_end/core/root/Runtime.test.ts +0 -68
- package/front_end/core/sdk/AccessibilityModel.test.ts +0 -17
- package/front_end/core/sdk/AnimationModel.test.ts +0 -257
- package/front_end/core/sdk/AutofillModel.test.ts +0 -82
- package/front_end/core/sdk/CPUThrottlingManager.test.ts +0 -49
- package/front_end/core/sdk/CSSContainerQuery.test.ts +0 -67
- package/front_end/core/sdk/CSSMatchedStyles.test.ts +0 -772
- package/front_end/core/sdk/CSSModel.test.ts +0 -120
- package/front_end/core/sdk/CSSProperty.test.ts +0 -130
- package/front_end/core/sdk/CSSPropertyParser.test.ts +0 -525
- package/front_end/core/sdk/CSSPropertyParserMatchers.test.ts +0 -766
- package/front_end/core/sdk/CSSStyleDeclaration.test.ts +0 -261
- package/front_end/core/sdk/CSSStyleSheetHeader.test.ts +0 -137
- package/front_end/core/sdk/ChildTargetManager.test.ts +0 -259
- package/front_end/core/sdk/ConsoleModel.test.ts +0 -202
- package/front_end/core/sdk/Cookie.test.ts +0 -294
- package/front_end/core/sdk/CookieModel.test.ts +0 -258
- package/front_end/core/sdk/CookieParser.test.ts +0 -211
- package/front_end/core/sdk/DOMModel.test.ts +0 -171
- package/front_end/core/sdk/DebuggerModel.test.ts +0 -461
- package/front_end/core/sdk/EmulationModel.test.ts +0 -45
- package/front_end/core/sdk/EnhancedTracesParser.test.ts +0 -318
- package/front_end/core/sdk/FrameManager.test.ts +0 -305
- package/front_end/core/sdk/NetworkManager.test.ts +0 -2196
- package/front_end/core/sdk/NetworkRequest.test.ts +0 -550
- package/front_end/core/sdk/OverlayColorGenerator.test.ts +0 -21
- package/front_end/core/sdk/OverlayModel.test.ts +0 -179
- package/front_end/core/sdk/OverlayPersistentHighlighter.test.ts +0 -232
- package/front_end/core/sdk/PageResourceLoader.test.ts +0 -369
- package/front_end/core/sdk/PreloadingModel.test.ts +0 -877
- package/front_end/core/sdk/RehydratingConnection.test.ts +0 -190
- package/front_end/core/sdk/RemoteObject.test.ts +0 -493
- package/front_end/core/sdk/ResourceTreeModel.test.ts +0 -222
- package/front_end/core/sdk/RuntimeModel.test.ts +0 -84
- package/front_end/core/sdk/ScreenCaptureModel.test.ts +0 -216
- package/front_end/core/sdk/Script.test.ts +0 -155
- package/front_end/core/sdk/ServerSentEventsProtocol.test.ts +0 -220
- package/front_end/core/sdk/ServerTiming.test.ts +0 -377
- package/front_end/core/sdk/ServiceWorkerCacheModel.test.ts +0 -200
- package/front_end/core/sdk/ServiceWorkerManager.test.ts +0 -287
- package/front_end/core/sdk/SourceMap.test.ts +0 -1350
- package/front_end/core/sdk/SourceMapFunctionRanges.test.ts +0 -171
- package/front_end/core/sdk/SourceMapManager.test.ts +0 -334
- package/front_end/core/sdk/SourceMapScopeChainEntry.test.ts +0 -129
- package/front_end/core/sdk/SourceMapScopesInfo.test.ts +0 -747
- package/front_end/core/sdk/StorageBucketsModel.test.ts +0 -383
- package/front_end/core/sdk/StorageKeyManager.test.ts +0 -95
- package/front_end/core/sdk/Target.test.ts +0 -97
- package/front_end/core/sdk/TargetManager.test.ts +0 -279
- package/front_end/core/sdk/TraceObject.test.ts +0 -30
- package/front_end/entrypoints/formatter_worker/CSSFormatter.test.ts +0 -216
- package/front_end/entrypoints/formatter_worker/FormattedContentBuilder.test.ts +0 -177
- package/front_end/entrypoints/formatter_worker/FormatterWorker.test.ts +0 -19
- package/front_end/entrypoints/formatter_worker/HTMLFormatter.test.ts +0 -344
- package/front_end/entrypoints/formatter_worker/JSONFormatter.test.ts +0 -147
- package/front_end/entrypoints/formatter_worker/JavaScriptFormatter.test.ts +0 -789
- package/front_end/entrypoints/formatter_worker/ScopeParser.test.ts +0 -121
- package/front_end/entrypoints/formatter_worker/Substitute.test.ts +0 -179
- package/front_end/entrypoints/heap_snapshot_worker/heap_snapshot_worker.test.ts +0 -11
- package/front_end/entrypoints/inspector_main/InspectorMain.test.ts +0 -344
- package/front_end/entrypoints/inspector_main/OutermostTargetSelector.test.ts +0 -80
- package/front_end/entrypoints/main/ExecutionContextSelector.test.ts +0 -64
- package/front_end/entrypoints/main/GlobalAiButton.test.ts +0 -132
- package/front_end/entrypoints/main/MainImpl.test.ts +0 -87
- package/front_end/entrypoints/wasmparser_worker/wasmparser_worker.test.ts +0 -11
- package/front_end/integration_test_runner.html +0 -40
- package/front_end/legacy_test_runner/accessibility_test_runner/accessibility_test_runner.js +0 -83
- package/front_end/legacy_test_runner/application_test_runner/CacheStorageTestRunner.js +0 -297
- package/front_end/legacy_test_runner/application_test_runner/IndexedDBTestRunner.js +0 -478
- package/front_end/legacy_test_runner/application_test_runner/ResourceTreeTestRunner.js +0 -106
- package/front_end/legacy_test_runner/application_test_runner/ResourcesTestRunner.js +0 -173
- package/front_end/legacy_test_runner/application_test_runner/ServiceWorkersTestRunner.js +0 -133
- package/front_end/legacy_test_runner/application_test_runner/StorageTestRunner.js +0 -13
- package/front_end/legacy_test_runner/application_test_runner/application_test_runner.js +0 -19
- package/front_end/legacy_test_runner/axe_core_test_runner/axe_core_test_runner.js +0 -176
- package/front_end/legacy_test_runner/bindings_test_runner/AutomappingTestRunner.js +0 -137
- package/front_end/legacy_test_runner/bindings_test_runner/BindingsTestRunner.js +0 -251
- package/front_end/legacy_test_runner/bindings_test_runner/IsolatedFilesystemTestRunner.js +0 -289
- package/front_end/legacy_test_runner/bindings_test_runner/OverridesTestRunner.js +0 -30
- package/front_end/legacy_test_runner/bindings_test_runner/PersistenceTestRunner.js +0 -111
- package/front_end/legacy_test_runner/bindings_test_runner/bindings_test_runner.js +0 -17
- package/front_end/legacy_test_runner/console_test_runner/console_test_runner.js +0 -732
- package/front_end/legacy_test_runner/coverage_test_runner/coverage_test_runner.js +0 -156
- package/front_end/legacy_test_runner/data_grid_test_runner/data_grid_test_runner.js +0 -85
- package/front_end/legacy_test_runner/device_mode_test_runner/device_mode_test_runner.js +0 -47
- package/front_end/legacy_test_runner/elements_test_runner/EditDOMTestRunner.js +0 -79
- package/front_end/legacy_test_runner/elements_test_runner/ElementsPanelShadowSelectionOnRefreshTestRunner.js +0 -39
- package/front_end/legacy_test_runner/elements_test_runner/ElementsTestRunner.js +0 -1256
- package/front_end/legacy_test_runner/elements_test_runner/SetOuterHTMLTestRunner.js +0 -116
- package/front_end/legacy_test_runner/elements_test_runner/StylesUpdateLinksTestRunner.js +0 -136
- package/front_end/legacy_test_runner/elements_test_runner/elements_test_runner.js +0 -14
- package/front_end/legacy_test_runner/extensions_test_runner/ExtensionsNetworkTestRunner.js +0 -27
- package/front_end/legacy_test_runner/extensions_test_runner/ExtensionsTestRunner.js +0 -71
- package/front_end/legacy_test_runner/extensions_test_runner/extensions_test_runner.js +0 -11
- package/front_end/legacy_test_runner/heap_profiler_test_runner/heap_profiler_test_runner.js +0 -785
- package/front_end/legacy_test_runner/layers_test_runner/layers_test_runner.js +0 -161
- package/front_end/legacy_test_runner/legacy_test_runner.ts +0 -14
- package/front_end/legacy_test_runner/network_test_runner/network_test_runner.js +0 -295
- package/front_end/legacy_test_runner/performance_test_runner/TimelineDataTestRunner.js +0 -5263
- package/front_end/legacy_test_runner/performance_test_runner/TimelineTestRunner.js +0 -357
- package/front_end/legacy_test_runner/performance_test_runner/performance_test_runner.js +0 -11
- package/front_end/legacy_test_runner/sdk_test_runner/sdk_test_runner.js +0 -314
- package/front_end/legacy_test_runner/security_test_runner/security_test_runner.js +0 -36
- package/front_end/legacy_test_runner/sources_test_runner/AutocompleteTestRunner.js +0 -50
- package/front_end/legacy_test_runner/sources_test_runner/DebuggerTestRunner.js +0 -655
- package/front_end/legacy_test_runner/sources_test_runner/EditorTestRunner.js +0 -240
- package/front_end/legacy_test_runner/sources_test_runner/LiveEditTestRunner.js +0 -34
- package/front_end/legacy_test_runner/sources_test_runner/SearchTestRunner.js +0 -161
- package/front_end/legacy_test_runner/sources_test_runner/SourcesTestRunner.js +0 -111
- package/front_end/legacy_test_runner/sources_test_runner/sources_test_runner.js +0 -19
- package/front_end/legacy_test_runner/test_runner/TestRunner.js +0 -1480
- package/front_end/legacy_test_runner/test_runner/test_runner.js +0 -115
- package/front_end/models/ai_assistance/AgentProject.test.ts +0 -370
- package/front_end/models/ai_assistance/AiHistoryStorage.test.ts +0 -619
- package/front_end/models/ai_assistance/ChangeManager.test.ts +0 -330
- package/front_end/models/ai_assistance/ConversationHandler.test.ts +0 -355
- package/front_end/models/ai_assistance/EvaluateAction.test.ts +0 -173
- package/front_end/models/ai_assistance/ExtensionScope.test.ts +0 -447
- package/front_end/models/ai_assistance/agents/AiAgent.test.ts +0 -491
- package/front_end/models/ai_assistance/agents/FileAgent.test.ts +0 -217
- package/front_end/models/ai_assistance/agents/NetworkAgent.test.ts +0 -237
- package/front_end/models/ai_assistance/agents/PatchAgent.test.ts +0 -130
- package/front_end/models/ai_assistance/agents/PerformanceAgent.test.ts +0 -759
- package/front_end/models/ai_assistance/agents/PerformanceAnnotationsAgent.test.ts +0 -32
- package/front_end/models/ai_assistance/agents/StylingAgent.test.ts +0 -1065
- package/front_end/models/ai_assistance/data_formatters/FileFormatter.test.ts +0 -116
- package/front_end/models/ai_assistance/data_formatters/NetworkRequestFormatter.test.ts +0 -87
- package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.test.ts +0 -367
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.test.ts +0 -92
- package/front_end/models/ai_code_completion/AiCodeCompletion.test.ts +0 -328
- package/front_end/models/autofill_manager/AutofillManager.test.ts +0 -266
- package/front_end/models/bindings/CompilerScriptMapping.test.ts +0 -550
- package/front_end/models/bindings/ContentProviderBasedProject.test.ts +0 -118
- package/front_end/models/bindings/DebuggerLanguagePlugins.test.ts +0 -144
- package/front_end/models/bindings/DebuggerWorkspaceBinding.test.ts +0 -179
- package/front_end/models/bindings/DefaultScriptMapping.test.ts +0 -193
- package/front_end/models/bindings/FileUtils.test.ts +0 -69
- package/front_end/models/bindings/LiveLocation.test.ts +0 -47
- package/front_end/models/bindings/PresentationConsoleMessageHelper.test.ts +0 -276
- package/front_end/models/bindings/ResourceMapping.test.ts +0 -253
- package/front_end/models/bindings/ResourceScriptMapping.test.ts +0 -118
- package/front_end/models/bindings/ResourceUtils.test.ts +0 -105
- package/front_end/models/breakpoints/BreakpointManager.test.ts +0 -1919
- package/front_end/models/cpu_profile/CPUProfileDataModel.test.ts +0 -376
- package/front_end/models/crux-manager/CrUXManager.test.ts +0 -613
- package/front_end/models/emulation/DeviceModeModel.test.ts +0 -104
- package/front_end/models/emulation/EmulatedDevices.test.ts +0 -61
- package/front_end/models/extensions/ExtensionServer.test.ts +0 -1170
- package/front_end/models/extensions/HostUrlPattern.test.ts +0 -312
- package/front_end/models/extensions/LanguageExtensionEndpoint.test.ts +0 -65
- package/front_end/models/extensions/RecorderPluginManager.test.ts +0 -34
- package/front_end/models/formatter/ScriptFormatter.test.ts +0 -93
- package/front_end/models/har/Importer.test.ts +0 -353
- package/front_end/models/har/Log.test.ts +0 -208
- package/front_end/models/har/Writer.test.ts +0 -49
- package/front_end/models/heap_snapshot_model/heap_snapshot_model.test.ts +0 -11
- package/front_end/models/issues_manager/CheckFormsIssuesTrigger.test.ts +0 -22
- package/front_end/models/issues_manager/DeprecationIssue.test.ts +0 -81
- package/front_end/models/issues_manager/ElementAccessibilityIssue.test.ts +0 -87
- package/front_end/models/issues_manager/FederatedAuthUserInfoRequestIssue.test.ts +0 -52
- package/front_end/models/issues_manager/GenericIssue.test.ts +0 -82
- package/front_end/models/issues_manager/Issue.test.ts +0 -56
- package/front_end/models/issues_manager/IssueResolver.test.ts +0 -91
- package/front_end/models/issues_manager/IssuesManager.test.ts +0 -360
- package/front_end/models/issues_manager/LowTextContrastIssue.test.ts +0 -58
- package/front_end/models/issues_manager/MarkdownIssueDescription.test.ts +0 -92
- package/front_end/models/issues_manager/PropertyRuleIssue.test.ts +0 -109
- package/front_end/models/issues_manager/RelatedIssue.test.ts +0 -64
- package/front_end/models/issues_manager/SRIMessageSignatureIssue.test.ts +0 -68
- package/front_end/models/issues_manager/SharedDictionaryIssue.test.ts +0 -68
- package/front_end/models/issues_manager/StylesheetLoadingIssue.test.ts +0 -138
- package/front_end/models/issues_manager/UnencodedDigestIssue.test.ts +0 -49
- package/front_end/models/javascript_metadata/JavaScriptMetadata.test.ts +0 -62
- package/front_end/models/logs/NetworkLog.test.ts +0 -376
- package/front_end/models/logs/RequestResolver.test.ts +0 -92
- package/front_end/models/persistence/AutomaticFileSystemManager.test.ts +0 -208
- package/front_end/models/persistence/AutomaticFileSystemWorkspaceBinding.test.ts +0 -227
- package/front_end/models/persistence/EditFileSystemView.test.ts +0 -181
- package/front_end/models/persistence/NetworkPersistenceManager.test.ts +0 -989
- package/front_end/models/persistence/PersistenceAction.test.ts +0 -93
- package/front_end/models/persistence/PersistenceImpl.test.ts +0 -229
- package/front_end/models/persistence/PlatformFileSystem.test.ts +0 -19
- package/front_end/models/persistence/WorkspaceSettingsTab.test.ts +0 -146
- package/front_end/models/project_settings/ProjectSettingsModel.test.ts +0 -260
- package/front_end/models/source_map_scopes/NamesResolver.test.ts +0 -624
- package/front_end/models/source_map_scopes/ScopeChainModel.test.ts +0 -87
- package/front_end/models/source_map_scopes/ScopeTreeCache.test.ts +0 -63
- package/front_end/models/stack_trace/StackTraceImpl.test.ts +0 -74
- package/front_end/models/stack_trace/StackTraceModel.test.ts +0 -296
- package/front_end/models/stack_trace/Trie.test.ts +0 -129
- package/front_end/models/text_utils/ContentData.test.ts +0 -162
- package/front_end/models/text_utils/StaticContentProvider.test.ts +0 -34
- package/front_end/models/text_utils/StreamingContentData.test.ts +0 -81
- package/front_end/models/text_utils/Text.test.ts +0 -103
- package/front_end/models/text_utils/TextCursor.test.ts +0 -48
- package/front_end/models/text_utils/TextRange.test.ts +0 -461
- package/front_end/models/text_utils/TextUtils.test.ts +0 -730
- package/front_end/models/text_utils/WasmDisassembly.test.ts +0 -56
- package/front_end/models/trace/ModelImpl.test.ts +0 -161
- package/front_end/models/trace/Processor.test.ts +0 -429
- package/front_end/models/trace/extras/FilmStrip.test.ts +0 -90
- package/front_end/models/trace/extras/MainThreadActivity.test.ts +0 -82
- package/front_end/models/trace/extras/ScriptDuplication.test.ts +0 -407
- package/front_end/models/trace/extras/StackTraceForEvent.test.ts +0 -330
- package/front_end/models/trace/extras/ThirdParties.test.ts +0 -114
- package/front_end/models/trace/extras/TraceFilter.test.ts +0 -103
- package/front_end/models/trace/extras/TraceTree.test.ts +0 -489
- package/front_end/models/trace/handlers/AnimationFramesHandler.test.ts +0 -40
- package/front_end/models/trace/handlers/AnimationHandler.test.ts +0 -54
- package/front_end/models/trace/handlers/AsyncJSCallsHandler.test.ts +0 -300
- package/front_end/models/trace/handlers/AuctionWorkletsHandler.test.ts +0 -167
- package/front_end/models/trace/handlers/DOMStatsHandler.test.ts +0 -30
- package/front_end/models/trace/handlers/ExtensionTraceDataHandler.test.ts +0 -987
- package/front_end/models/trace/handlers/FlowsHandler.test.ts +0 -185
- package/front_end/models/trace/handlers/FramesHandler.test.ts +0 -243
- package/front_end/models/trace/handlers/GPUHandler.test.ts +0 -26
- package/front_end/models/trace/handlers/ImagePaintingHandler.test.ts +0 -87
- package/front_end/models/trace/handlers/InitiatorsHandler.test.ts +0 -309
- package/front_end/models/trace/handlers/InvalidationsHandler.test.ts +0 -185
- package/front_end/models/trace/handlers/LargestImagePaintHandler.test.ts +0 -62
- package/front_end/models/trace/handlers/LargestTextPaintHandler.test.ts +0 -27
- package/front_end/models/trace/handlers/LayerTreeHandler.test.ts +0 -46
- package/front_end/models/trace/handlers/LayoutShiftsHandler.test.ts +0 -252
- package/front_end/models/trace/handlers/MemoryHandler.test.ts +0 -29
- package/front_end/models/trace/handlers/MetaHandler.test.ts +0 -650
- package/front_end/models/trace/handlers/NetworkRequestsHandler.test.ts +0 -514
- package/front_end/models/trace/handlers/PageFramesHandler.test.ts +0 -40
- package/front_end/models/trace/handlers/PageLoadMetricsHandler.test.ts +0 -274
- package/front_end/models/trace/handlers/RendererHandler.test.ts +0 -1007
- package/front_end/models/trace/handlers/SamplesHandler.test.ts +0 -355
- package/front_end/models/trace/handlers/ScreenshotsHandler.test.ts +0 -114
- package/front_end/models/trace/handlers/ScriptsHandler.test.ts +0 -103
- package/front_end/models/trace/handlers/SelectorStatsHandler.test.ts +0 -39
- package/front_end/models/trace/handlers/Threads.test.ts +0 -59
- package/front_end/models/trace/handlers/UserInteractionsHandler.test.ts +0 -439
- package/front_end/models/trace/handlers/UserTimingsHandler.test.ts +0 -525
- package/front_end/models/trace/handlers/WarningsHandler.test.ts +0 -86
- package/front_end/models/trace/handlers/WorkersHandler.test.ts +0 -80
- package/front_end/models/trace/handlers/helpers.test.ts +0 -102
- package/front_end/models/trace/helpers/SamplesIntegrator.test.ts +0 -372
- package/front_end/models/trace/helpers/SyntheticEvents.test.ts +0 -62
- package/front_end/models/trace/helpers/Timing.test.ts +0 -371
- package/front_end/models/trace/helpers/Trace.test.ts +0 -760
- package/front_end/models/trace/helpers/TreeHelpers.test.ts +0 -449
- package/front_end/models/trace/insights/CLSCulprits.test.ts +0 -254
- package/front_end/models/trace/insights/Cache.test.ts +0 -221
- package/front_end/models/trace/insights/Common.test.ts +0 -125
- package/front_end/models/trace/insights/DOMSize.test.ts +0 -66
- package/front_end/models/trace/insights/DocumentLatency.test.ts +0 -110
- package/front_end/models/trace/insights/DuplicatedJavaScript.test.ts +0 -128
- package/front_end/models/trace/insights/FontDisplay.test.ts +0 -64
- package/front_end/models/trace/insights/ForcedReflow.test.ts +0 -34
- package/front_end/models/trace/insights/INPBreakdown.test.ts +0 -32
- package/front_end/models/trace/insights/ImageDelivery.test.ts +0 -128
- package/front_end/models/trace/insights/LCPBreakdown.test.ts +0 -100
- package/front_end/models/trace/insights/LCPDiscovery.test.ts +0 -67
- package/front_end/models/trace/insights/LegacyJavaScript.test.ts +0 -81
- package/front_end/models/trace/insights/ModernHTTP.test.ts +0 -348
- package/front_end/models/trace/insights/NetworkDependencyTree.test.ts +0 -563
- package/front_end/models/trace/insights/RenderBlocking.test.ts +0 -133
- package/front_end/models/trace/insights/SlowCSSSelector.test.ts +0 -48
- package/front_end/models/trace/insights/Statistics.test.ts +0 -145
- package/front_end/models/trace/insights/ThirdParties.test.ts +0 -56
- package/front_end/models/trace/insights/Viewport.test.ts +0 -52
- package/front_end/models/trace/lantern/core/NetworkAnalyzer.test.ts +0 -530
- package/front_end/models/trace/lantern/graph/BaseNode.test.ts +0 -391
- package/front_end/models/trace/lantern/graph/PageDependencyGraph.test.ts +0 -670
- package/front_end/models/trace/lantern/metrics/FirstContentfulPaint.test.ts +0 -65
- package/front_end/models/trace/lantern/metrics/Interactive.test.ts +0 -70
- package/front_end/models/trace/lantern/metrics/LargestContentfulPaint.test.ts +0 -42
- package/front_end/models/trace/lantern/metrics/SpeedIndex.test.ts +0 -87
- package/front_end/models/trace/lantern/metrics/TBTUtils.test.ts +0 -138
- package/front_end/models/trace/lantern/simulation/ConnectionPool.test.ts +0 -199
- package/front_end/models/trace/lantern/simulation/DNSCache.test.ts +0 -76
- package/front_end/models/trace/lantern/simulation/Simulator.test.ts +0 -454
- package/front_end/models/trace/lantern/simulation/TCPConnection.test.ts +0 -368
- package/front_end/models/trace/types/File.test.ts +0 -42
- package/front_end/models/trace/types/TraceEvents.test.ts +0 -92
- package/front_end/models/workspace/IgnoreListManager.test.ts +0 -616
- package/front_end/models/workspace/SearchConfig.test.ts +0 -114
- package/front_end/models/workspace/UISourceCode.test.ts +0 -415
- package/front_end/models/workspace/WorkspaceImpl.test.ts +0 -187
- package/front_end/models/workspace_diff/WorkspaceDiff.test.ts +0 -84
- package/front_end/panels/accessibility/ARIAAttributesView.test.ts +0 -101
- package/front_end/panels/accessibility/AccessibilitySidebarView.test.ts +0 -67
- package/front_end/panels/ai_assistance/AiAssistancePanel.test.ts +0 -1891
- package/front_end/panels/ai_assistance/PatchWidget.test.ts +0 -445
- package/front_end/panels/ai_assistance/SelectWorkspaceDialog.test.ts +0 -201
- package/front_end/panels/ai_assistance/components/ChatView.test.ts +0 -103
- package/front_end/panels/ai_assistance/components/ExploreWidget.test.ts +0 -118
- package/front_end/panels/ai_assistance/components/MarkdownRendererWithCodeBlock.test.ts +0 -80
- package/front_end/panels/ai_assistance/components/UserActionRow.test.ts +0 -123
- package/front_end/panels/animation/AnimationTimeline.test.ts +0 -752
- package/front_end/panels/application/AppManifestView.test.ts +0 -342
- package/front_end/panels/application/ApplicationPanelSidebar.test.ts +0 -484
- package/front_end/panels/application/BackgroundServiceView.test.ts +0 -160
- package/front_end/panels/application/DOMStorageModel.test.ts +0 -45
- package/front_end/panels/application/ExtensionStorageItemsView.test.ts +0 -152
- package/front_end/panels/application/ExtensionStorageModel.test.ts +0 -249
- package/front_end/panels/application/IndexedDBModel.test.ts +0 -252
- package/front_end/panels/application/IndexedDBViews.test.ts +0 -182
- package/front_end/panels/application/InterestGroupStorageView.test.ts +0 -155
- package/front_end/panels/application/InterestGroupTreeElement.test.ts +0 -37
- package/front_end/panels/application/KeyValueStorageItemsView.test.ts +0 -120
- package/front_end/panels/application/PreloadingTreeElement.test.ts +0 -30
- package/front_end/panels/application/ReportingApiView.test.ts +0 -233
- package/front_end/panels/application/ServiceWorkerUpdateCycleView.test.ts +0 -130
- package/front_end/panels/application/ServiceWorkersView.test.ts +0 -179
- package/front_end/panels/application/SharedStorageEventsView.test.ts +0 -231
- package/front_end/panels/application/SharedStorageItemsView.test.ts +0 -913
- package/front_end/panels/application/SharedStorageListTreeElement.test.ts +0 -161
- package/front_end/panels/application/SharedStorageModel.test.ts +0 -434
- package/front_end/panels/application/SharedStorageTreeElement.test.ts +0 -140
- package/front_end/panels/application/StorageBucketsTreeElement.test.ts +0 -149
- package/front_end/panels/application/StorageView.test.ts +0 -156
- package/front_end/panels/application/components/BackForwardCacheView.test.ts +0 -303
- package/front_end/panels/application/components/BounceTrackingMitigationsView.test.ts +0 -138
- package/front_end/panels/application/components/EndpointsGrid.test.ts +0 -83
- package/front_end/panels/application/components/FrameDetailsView.test.ts +0 -263
- package/front_end/panels/application/components/InterestGroupAccessGrid.test.ts +0 -70
- package/front_end/panels/application/components/OriginTrialTreeView.test.ts +0 -442
- package/front_end/panels/application/components/ProtocolHandlersView.test.ts +0 -73
- package/front_end/panels/application/components/ReportsGrid.test.ts +0 -131
- package/front_end/panels/application/components/ServiceWorkerRouterView.test.ts +0 -57
- package/front_end/panels/application/components/SharedStorageAccessGrid.test.ts +0 -84
- package/front_end/panels/application/components/SharedStorageMetadataView.test.ts +0 -122
- package/front_end/panels/application/components/StackTrace.test.ts +0 -222
- package/front_end/panels/application/components/StorageMetadataView.test.ts +0 -208
- package/front_end/panels/application/components/TrustTokensView.test.ts +0 -127
- package/front_end/panels/application/preloading/PreloadingView.test.ts +0 -1180
- package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.test.ts +0 -194
- package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.test.ts +0 -532
- package/front_end/panels/application/preloading/components/PreloadingGrid.test.ts +0 -503
- package/front_end/panels/application/preloading/components/PreloadingMismatchedHeadersGrid.test.ts +0 -150
- package/front_end/panels/application/preloading/components/RuleSetDetailsView.test.ts +0 -185
- package/front_end/panels/application/preloading/components/RuleSetGrid.test.ts +0 -190
- package/front_end/panels/application/preloading/components/UsedPreloadingView.test.ts +0 -751
- package/front_end/panels/autofill/AutofillView.test.ts +0 -224
- package/front_end/panels/browser_debugger/CategorizedBreakpointsSidebarPane.test.ts +0 -179
- package/front_end/panels/browser_debugger/DOMBreakpointsSidebarPane.test.ts +0 -52
- package/front_end/panels/browser_debugger/browser_debugger.test.ts +0 -11
- package/front_end/panels/changes/CombinedDiffView.test.ts +0 -154
- package/front_end/panels/changes/changes.test.ts +0 -11
- package/front_end/panels/common/AiCodeCompletionDisclaimer.test.ts +0 -57
- package/front_end/panels/common/AiCodeCompletionSummaryToolbar.test.ts +0 -85
- package/front_end/panels/common/AiCodeCompletionTeaser.test.ts +0 -98
- package/front_end/panels/console/ConsoleContextSelector.test.ts +0 -96
- package/front_end/panels/console/ConsoleFormat.test.ts +0 -462
- package/front_end/panels/console/ConsolePrompt.test.ts +0 -188
- package/front_end/panels/console/ConsoleSidebar.test.ts +0 -130
- package/front_end/panels/console/ConsoleView.test.ts +0 -276
- package/front_end/panels/console/ConsoleViewMessage.test.ts +0 -433
- package/front_end/panels/console/ConsoleViewport.test.ts +0 -399
- package/front_end/panels/console/ErrorStackParser.test.ts +0 -343
- package/front_end/panels/console_counters/console_counters.test.ts +0 -11
- package/front_end/panels/coverage/CoverageDecorationManager.test.ts +0 -211
- package/front_end/panels/coverage/CoverageModel.test.ts +0 -91
- package/front_end/panels/coverage/CoverageView.test.ts +0 -202
- package/front_end/panels/css_overview/CSSOverviewPanel.test.ts +0 -40
- package/front_end/panels/developer_resources/DeveloperResourcesView.test.ts +0 -43
- package/front_end/panels/developer_resources/developer_resources.test.ts +0 -11
- package/front_end/panels/elements/AccessibilityTreeView.test.ts +0 -50
- package/front_end/panels/elements/CSSRuleValidator.test.ts +0 -482
- package/front_end/panels/elements/CSSValueTraceView.test.ts +0 -215
- package/front_end/panels/elements/ClassesPaneWidget.test.ts +0 -48
- package/front_end/panels/elements/ColorSwatchPopoverIcon.test.ts +0 -63
- package/front_end/panels/elements/ComputedStyleModel.test.ts +0 -155
- package/front_end/panels/elements/ComputedStyleWidget.test.ts +0 -153
- package/front_end/panels/elements/DOMLinkifier.test.ts +0 -60
- package/front_end/panels/elements/DOMTreeWidget.test.ts +0 -58
- package/front_end/panels/elements/ElementStatePaneWidget.test.ts +0 -363
- package/front_end/panels/elements/ElementsPanel.test.ts +0 -211
- package/front_end/panels/elements/ElementsTreeElement.test.ts +0 -443
- package/front_end/panels/elements/ElementsTreeOutline.test.ts +0 -218
- package/front_end/panels/elements/EventListenersWidget.test.ts +0 -129
- package/front_end/panels/elements/InspectElementModeController.test.ts +0 -163
- package/front_end/panels/elements/LayoutPane.test.ts +0 -219
- package/front_end/panels/elements/PlatformFontsWidget.test.ts +0 -46
- package/front_end/panels/elements/PropertiesWidget.test.ts +0 -76
- package/front_end/panels/elements/PropertyRenderer.test.ts +0 -340
- package/front_end/panels/elements/StylePropertiesSection.test.ts +0 -324
- package/front_end/panels/elements/StylePropertyHighlighter.test.ts +0 -160
- package/front_end/panels/elements/StylePropertyTreeElement.test.ts +0 -2250
- package/front_end/panels/elements/StylePropertyUtils.test.ts +0 -41
- package/front_end/panels/elements/StylesSidebarPane.test.ts +0 -716
- package/front_end/panels/elements/TopLayerContainer.test.ts +0 -55
- package/front_end/panels/elements/WebCustomData.test.ts +0 -77
- package/front_end/panels/elements/components/AccessibilityTreeNode.test.ts +0 -44
- package/front_end/panels/elements/components/AdornerManager.test.ts +0 -82
- package/front_end/panels/elements/components/CSSHintDetailsView.test.ts +0 -40
- package/front_end/panels/elements/components/CSSPropertyDocsView.test.ts +0 -131
- package/front_end/panels/elements/components/CSSPropertyIconResolver.test.ts +0 -931
- package/front_end/panels/elements/components/CSSQuery.test.ts +0 -58
- package/front_end/panels/elements/components/CSSVariableValueView.test.ts +0 -20
- package/front_end/panels/elements/components/ComputedStyleProperty.test.ts +0 -38
- package/front_end/panels/elements/components/ComputedStyleTrace.test.ts +0 -58
- package/front_end/panels/elements/components/ElementsBreadcrumbs.test.ts +0 -435
- package/front_end/panels/elements/components/ElementsTreeExpandButton.test.ts +0 -50
- package/front_end/panels/elements/components/QueryContainer.test.ts +0 -151
- package/front_end/panels/elements/components/StylePropertyEditor.test.ts +0 -188
- package/front_end/panels/emulation/AdvancedApp.test.ts +0 -80
- package/front_end/panels/emulation/MediaQueryInspector.test.ts +0 -55
- package/front_end/panels/event_listeners/EventListenersView.test.ts +0 -50
- package/front_end/panels/explain/PromptBuilder.test.ts +0 -587
- package/front_end/panels/explain/components/ConsoleInsight.test.ts +0 -926
- package/front_end/panels/issues/IssueAggregator.test.ts +0 -427
- package/front_end/panels/issues/IssueView.test.ts +0 -75
- package/front_end/panels/issues/IssuesPane.test.ts +0 -32
- package/front_end/panels/layer_viewer/layer_viewer.test.ts +0 -11
- package/front_end/panels/layers/LayersPanel.test.ts +0 -55
- package/front_end/panels/lighthouse/LighthouseController.test.ts +0 -36
- package/front_end/panels/lighthouse/LighthousePanel.test.ts +0 -89
- package/front_end/panels/lighthouse/LighthouseProtocolService.test.ts +0 -70
- package/front_end/panels/lighthouse/LighthouseReportRenderer.test.ts +0 -123
- package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorController.test.ts +0 -201
- package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorPane.test.ts +0 -54
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryHighlightChipList.test.ts +0 -124
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.test.ts +0 -421
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryNavigator.test.ts +0 -194
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryValueInterpreter.test.ts +0 -118
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryViewer.test.ts +0 -397
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplay.test.ts +0 -450
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterSettings.test.ts +0 -91
- package/front_end/panels/media/MainView.test.ts +0 -127
- package/front_end/panels/media/TickingFlameChartHelpers.test.ts +0 -90
- package/front_end/panels/mobile_throttling/ThrottlingManager.test.ts +0 -119
- package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.test.ts +0 -115
- package/front_end/panels/network/BlockedURLsPane.test.ts +0 -80
- package/front_end/panels/network/NetworkConfigView.test.ts +0 -50
- package/front_end/panels/network/NetworkDataGridNode.test.ts +0 -474
- package/front_end/panels/network/NetworkItemView.test.ts +0 -169
- package/front_end/panels/network/NetworkLogView.test.ts +0 -1101
- package/front_end/panels/network/NetworkOverview.test.ts +0 -60
- package/front_end/panels/network/NetworkPanel.test.ts +0 -103
- package/front_end/panels/network/NetworkSearchScope.test.ts +0 -182
- package/front_end/panels/network/RequestCookiesView.test.ts +0 -49
- package/front_end/panels/network/RequestHTMLView.test.ts +0 -28
- package/front_end/panels/network/RequestPayloadView.test.ts +0 -13
- package/front_end/panels/network/RequestPreviewView.test.ts +0 -105
- package/front_end/panels/network/RequestResponseView.test.ts +0 -130
- package/front_end/panels/network/RequestTimingView.test.ts +0 -172
- package/front_end/panels/network/ResourceDirectSocketChunkView.test.ts +0 -335
- package/front_end/panels/network/components/DirectSocketConnectionView.test.ts +0 -253
- package/front_end/panels/network/components/HeaderSectionRow.test.ts +0 -659
- package/front_end/panels/network/components/RequestHeaderSection.test.ts +0 -101
- package/front_end/panels/network/components/RequestHeadersView.test.ts +0 -537
- package/front_end/panels/network/components/RequestTrustTokensView.test.ts +0 -80
- package/front_end/panels/network/components/ResponseHeaderSection.test.ts +0 -1359
- package/front_end/panels/performance_monitor/PerformanceMonitor.test.ts +0 -152
- package/front_end/panels/profiler/HeapDetachedElementsView.test.ts +0 -34
- package/front_end/panels/profiler/HeapProfileView.test.ts +0 -34
- package/front_end/panels/profiler/HeapSnapshotView.test.ts +0 -35
- package/front_end/panels/protocol_monitor/JSONEditor.test.ts +0 -1321
- package/front_end/panels/protocol_monitor/ProtocolMonitor.test.ts +0 -548
- package/front_end/panels/recorder/RecorderController.test.ts +0 -483
- package/front_end/panels/recorder/components/CreateRecordingView.test.ts +0 -141
- package/front_end/panels/recorder/components/RecordingListView.test.ts +0 -64
- package/front_end/panels/recorder/components/RecordingView.test.ts +0 -186
- package/front_end/panels/recorder/components/ReplaySection.test.ts +0 -113
- package/front_end/panels/recorder/components/SelectButton.test.ts +0 -56
- package/front_end/panels/recorder/components/StepEditor.test.ts +0 -711
- package/front_end/panels/recorder/components/StepView.test.ts +0 -208
- package/front_end/panels/recorder/converters/LighthouseConverter.test.ts +0 -79
- package/front_end/panels/recorder/converters/PuppeteerConverter.test.ts +0 -88
- package/front_end/panels/recorder/converters/PuppeteerReplayConverter.test.ts +0 -59
- package/front_end/panels/recorder/injected/selectors/CSSSelector.test.ts +0 -39
- package/front_end/panels/recorder/injected.test.ts +0 -364
- package/front_end/panels/recorder/models/RecorderSettings.test.ts +0 -65
- package/front_end/panels/recorder/models/RecorderShortcutHelper.test.ts +0 -59
- package/front_end/panels/recorder/models/RecordingPlayer.test.ts +0 -235
- package/front_end/panels/recorder/models/SchemaUtils.test.ts +0 -35
- package/front_end/panels/recorder/models/ScreenshotUtils.test.ts +0 -74
- package/front_end/panels/recorder/models/Section.test.ts +0 -98
- package/front_end/panels/recorder/models/recording-storage.test.ts +0 -66
- package/front_end/panels/recorder/models/screenshot-storage.test.ts +0 -159
- package/front_end/panels/recorder/util/SharedObject.test.ts +0 -88
- package/front_end/panels/screencast/ScreencastApp.test.ts +0 -24
- package/front_end/panels/search/SearchResultsPane.test.ts +0 -228
- package/front_end/panels/search/SearchView.test.ts +0 -197
- package/front_end/panels/security/CookieControlsView.test.ts +0 -65
- package/front_end/panels/security/CookieReportView.test.ts +0 -161
- package/front_end/panels/security/SecurityModel.test.ts +0 -45
- package/front_end/panels/security/SecurityPanel.test.ts +0 -264
- package/front_end/panels/settings/AISettingsTab.test.ts +0 -293
- package/front_end/panels/settings/components/SyncSection.test.ts +0 -110
- package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.test.ts +0 -146
- package/front_end/panels/settings/emulation/utils/StructuredHeaders.test.ts +0 -462
- package/front_end/panels/settings/emulation/utils/UserAgentMetadata.test.ts +0 -94
- package/front_end/panels/snippets/ScriptSnippetFileSystem.test.ts +0 -29
- package/front_end/panels/sources/AiCodeCompletionPlugin.test.ts +0 -119
- package/front_end/panels/sources/BreakpointEditDialog.test.ts +0 -127
- package/front_end/panels/sources/BreakpointsView.test.ts +0 -1878
- package/front_end/panels/sources/BreakpointsViewUtils.test.ts +0 -209
- package/front_end/panels/sources/CSSPlugin.test.ts +0 -90
- package/front_end/panels/sources/CoveragePlugin.test.ts +0 -82
- package/front_end/panels/sources/DebuggerPausedMessage.test.ts +0 -138
- package/front_end/panels/sources/DebuggerPlugin.test.ts +0 -725
- package/front_end/panels/sources/FilePathScoreFunction.test.ts +0 -171
- package/front_end/panels/sources/FilteredUISourceCodeListProvider.test.ts +0 -150
- package/front_end/panels/sources/NavigatorView.test.ts +0 -277
- package/front_end/panels/sources/OutlineQuickOpen.test.ts +0 -1064
- package/front_end/panels/sources/ResourceOriginPlugin.test.ts +0 -38
- package/front_end/panels/sources/SourcesNavigator.test.ts +0 -615
- package/front_end/panels/sources/SourcesPanel.test.ts +0 -90
- package/front_end/panels/sources/SourcesView.test.ts +0 -242
- package/front_end/panels/sources/TabbedEditorContainer.test.ts +0 -122
- package/front_end/panels/sources/UISourceCodeFrame.test.ts +0 -104
- package/front_end/panels/sources/components/HeadersView.test.ts +0 -573
- package/front_end/panels/timeline/AnnotationHelpers.test.ts +0 -190
- package/front_end/panels/timeline/Breadcrumbs.test.ts +0 -281
- package/front_end/panels/timeline/CountersGraph.test.ts +0 -80
- package/front_end/panels/timeline/EntriesFilter.test.ts +0 -710
- package/front_end/panels/timeline/Initiators.test.ts +0 -176
- package/front_end/panels/timeline/ModificationsManager.test.ts +0 -254
- package/front_end/panels/timeline/RecordingMetadata.test.ts +0 -147
- package/front_end/panels/timeline/SaveFileFormatter.test.ts +0 -77
- package/front_end/panels/timeline/ThirdPartyTreeView.test.ts +0 -84
- package/front_end/panels/timeline/TimelineController.test.ts +0 -98
- package/front_end/panels/timeline/TimelineDetailsView.test.ts +0 -188
- package/front_end/panels/timeline/TimelineFilters.test.ts +0 -72
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.test.ts +0 -377
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.test.ts +0 -266
- package/front_end/panels/timeline/TimelineFlameChartView.test.ts +0 -1209
- package/front_end/panels/timeline/TimelineHistoryManager.test.ts +0 -160
- package/front_end/panels/timeline/TimelineLoader.test.ts +0 -167
- package/front_end/panels/timeline/TimelineMiniMap.test.ts +0 -135
- package/front_end/panels/timeline/TimelinePanel.test.ts +0 -550
- package/front_end/panels/timeline/TimelineSelection.test.ts +0 -112
- package/front_end/panels/timeline/TimelineTreeView.test.ts +0 -339
- package/front_end/panels/timeline/TimelineUIUtils.test.ts +0 -1793
- package/front_end/panels/timeline/TrackConfigBanner.test.ts +0 -68
- package/front_end/panels/timeline/TrackConfiguration.test.ts +0 -46
- package/front_end/panels/timeline/components/BreadcrumbsUI.test.ts +0 -101
- package/front_end/panels/timeline/components/CPUThrottlingSelector.test.ts +0 -100
- package/front_end/panels/timeline/components/ExportTraceOptions.test.ts +0 -281
- package/front_end/panels/timeline/components/FieldSettingsDialog.test.ts +0 -295
- package/front_end/panels/timeline/components/IgnoreListSetting.test.ts +0 -325
- package/front_end/panels/timeline/components/InteractionBreakdown.test.ts +0 -37
- package/front_end/panels/timeline/components/Invalidations.test.ts +0 -38
- package/front_end/panels/timeline/components/LayoutShiftDetails.test.ts +0 -72
- package/front_end/panels/timeline/components/LiveMetricsView.test.ts +0 -1006
- package/front_end/panels/timeline/components/MetricCard.test.ts +0 -637
- package/front_end/panels/timeline/components/NetworkRequestDetails.test.ts +0 -178
- package/front_end/panels/timeline/components/NetworkThrottlingSelector.test.ts +0 -188
- package/front_end/panels/timeline/components/OriginMap.test.ts +0 -359
- package/front_end/panels/timeline/components/RelatedInsightChips.test.ts +0 -91
- package/front_end/panels/timeline/components/Sidebar.test.ts +0 -185
- package/front_end/panels/timeline/components/SidebarAnnotationsTab.test.ts +0 -261
- package/front_end/panels/timeline/components/SidebarInsightsTab.test.ts +0 -44
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.test.ts +0 -165
- package/front_end/panels/timeline/components/TimelineSummary.test.ts +0 -77
- package/front_end/panels/timeline/components/Utils.test.ts +0 -112
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.test.ts +0 -382
- package/front_end/panels/timeline/components/insights/CLSCulprits.test.ts +0 -44
- package/front_end/panels/timeline/components/insights/INPBreakdown.test.ts +0 -74
- package/front_end/panels/timeline/components/insights/NetworkDependencyTree.test.ts +0 -76
- package/front_end/panels/timeline/components/insights/NodeLink.test.ts +0 -113
- package/front_end/panels/timeline/components/insights/Table.test.ts +0 -60
- package/front_end/panels/timeline/overlays/OverlaysImpl.test.ts +0 -1424
- package/front_end/panels/timeline/overlays/components/TimespanBreakdownOverlay.test.ts +0 -41
- package/front_end/panels/timeline/track_appenders/AnimationsTrackAppender.test.ts +0 -101
- package/front_end/panels/timeline/track_appenders/AppenderUtils.test.ts +0 -197
- package/front_end/panels/timeline/track_appenders/CompatibilityTracksAppender.test.ts +0 -229
- package/front_end/panels/timeline/track_appenders/ExtensionTrackAppender.test.ts +0 -249
- package/front_end/panels/timeline/track_appenders/GPUTrackAppender.test.ts +0 -116
- package/front_end/panels/timeline/track_appenders/InteractionsTrackAppender.test.ts +0 -124
- package/front_end/panels/timeline/track_appenders/LayoutShiftsTrackAppender.test.ts +0 -104
- package/front_end/panels/timeline/track_appenders/NetworkTrackAppender.test.ts +0 -65
- package/front_end/panels/timeline/track_appenders/ThreadAppender.test.ts +0 -595
- package/front_end/panels/timeline/track_appenders/TimingsTrackAppender.test.ts +0 -347
- package/front_end/panels/timeline/utils/AICallTree.test.ts +0 -453
- package/front_end/panels/timeline/utils/EntityMapper.test.ts +0 -123
- package/front_end/panels/timeline/utils/EntryName.test.ts +0 -177
- package/front_end/panels/timeline/utils/EntryNodes.test.ts +0 -137
- package/front_end/panels/timeline/utils/EventsSerializer.test.ts +0 -71
- package/front_end/panels/timeline/utils/FreshRecording.test.ts +0 -23
- package/front_end/panels/timeline/utils/Helpers.test.ts +0 -85
- package/front_end/panels/timeline/utils/IgnoreList.test.ts +0 -192
- package/front_end/panels/timeline/utils/ImageCache.test.ts +0 -107
- package/front_end/panels/timeline/utils/InsightAIContext.test.ts +0 -120
- package/front_end/panels/timeline/utils/SourceMapsResolver.test.ts +0 -334
- package/front_end/panels/timeline/utils/Treemap.test.ts +0 -321
- package/front_end/panels/utils/utils.test.ts +0 -232
- package/front_end/panels/web_audio/WebAudioView.test.ts +0 -247
- package/front_end/panels/web_audio/web_audio.test.ts +0 -11
- package/front_end/panels/webauthn/WebauthnPane.test.ts +0 -377
- package/front_end/panels/whats_new/ReleaseNote.test.ts +0 -92
- package/front_end/panels/whats_new/ReleaseNoteView.test.ts +0 -160
- package/front_end/services/trace_bounds/TraceBounds.test.ts +0 -155
- package/front_end/services/tracing/ExternalRequests.test.ts +0 -39
- package/front_end/services/tracing/ExternalRequests.ts +0 -74
- package/front_end/services/tracing/TracingManager.test.ts +0 -102
- package/front_end/testing/AiAssistanceHelpers.ts +0 -349
- package/front_end/testing/ConsoleHelpers.ts +0 -39
- package/front_end/testing/ContextMenuHelpers.ts +0 -46
- package/front_end/testing/Cookies.ts +0 -72
- package/front_end/testing/DOMHelpers.ts +0 -359
- package/front_end/testing/DataGridHelpers.ts +0 -83
- package/front_end/testing/EnvironmentHelpers.ts +0 -565
- package/front_end/testing/ExpectStubCall.ts +0 -46
- package/front_end/testing/ExtensionHelpers.ts +0 -77
- package/front_end/testing/FileManagerHelpers.ts +0 -22
- package/front_end/testing/InsightHelpers.ts +0 -88
- package/front_end/testing/LanguagePluginHelpers.ts +0 -91
- package/front_end/testing/MockConnection.ts +0 -163
- package/front_end/testing/MockExecutionContext.ts +0 -24
- package/front_end/testing/MockIssuesManager.ts +0 -64
- package/front_end/testing/MockIssuesModel.ts +0 -22
- package/front_end/testing/MockNetworkLog.ts +0 -41
- package/front_end/testing/MockScopeChain.test.ts +0 -25
- package/front_end/testing/MockScopeChain.ts +0 -402
- package/front_end/testing/MockSettingStorage.ts +0 -23
- package/front_end/testing/MutationHelpers.test.ts +0 -271
- package/front_end/testing/MutationHelpers.ts +0 -250
- package/front_end/testing/NetworkHelpers.ts +0 -36
- package/front_end/testing/OverridesHelpers.ts +0 -85
- package/front_end/testing/PersistenceHelpers.ts +0 -64
- package/front_end/testing/PropertyParser.ts +0 -34
- package/front_end/testing/README.md +0 -123
- package/front_end/testing/ResourceTreeHelpers.ts +0 -126
- package/front_end/testing/SnapshotTester.snapshot.txt +0 -9
- package/front_end/testing/SnapshotTester.test.ts +0 -32
- package/front_end/testing/SnapshotTester.ts +0 -150
- package/front_end/testing/SourceMapEncoder.test.ts +0 -169
- package/front_end/testing/SourceMapEncoder.ts +0 -130
- package/front_end/testing/SourceMapHelpers.ts +0 -113
- package/front_end/testing/StackTraceHelpers.ts +0 -47
- package/front_end/testing/StorageItemsViewHelpers.ts +0 -24
- package/front_end/testing/StubIssue.ts +0 -123
- package/front_end/testing/StyleHelpers.ts +0 -160
- package/front_end/testing/TraceHelpers.ts +0 -1003
- package/front_end/testing/TraceLoader.ts +0 -344
- package/front_end/testing/TrackAsyncOperations.ts +0 -276
- package/front_end/testing/UISourceCodeHelpers.ts +0 -157
- package/front_end/testing/UserMetricsHelpers.ts +0 -17
- package/front_end/testing/ViewFunctionHelpers.ts +0 -62
- package/front_end/testing/VisualLoggingHelpers.ts +0 -11
- package/front_end/testing/test_setup.ts +0 -117
- package/front_end/ui/components/adorners/Adorner.test.ts +0 -134
- package/front_end/ui/components/buttons/Button.test.ts +0 -268
- package/front_end/ui/components/cards/Card.test.ts +0 -101
- package/front_end/ui/components/chrome_link/ChromeLink.test.ts +0 -57
- package/front_end/ui/components/code_highlighter/CodeHighlighter.test.ts +0 -318
- package/front_end/ui/components/dialogs/ButtonDialog.test.ts +0 -170
- package/front_end/ui/components/dialogs/Dialog.test.ts +0 -903
- package/front_end/ui/components/dialogs/ShortcutDialog.test.ts +0 -79
- package/front_end/ui/components/diff_view/DiffView.test.ts +0 -94
- package/front_end/ui/components/expandable_list/ExpandableList.test.ts +0 -77
- package/front_end/ui/components/helpers/helpers.test.ts +0 -118
- package/front_end/ui/components/highlighting/HighlightManager.test.ts +0 -89
- package/front_end/ui/components/highlighting/highlighting.css +0 -9
- package/front_end/ui/components/icon_button/FileSourceIcon.test.ts +0 -32
- package/front_end/ui/components/icon_button/Icon.test.ts +0 -126
- package/front_end/ui/components/icon_button/IconButton.test.ts +0 -277
- package/front_end/ui/components/issue_counter/IssueCounter.test.ts +0 -234
- package/front_end/ui/components/issue_counter/IssueLinkIcon.test.ts +0 -187
- package/front_end/ui/components/linkifier/LinkifierImpl.test.ts +0 -84
- package/front_end/ui/components/markdown_view/CodeBlock.test.ts +0 -92
- package/front_end/ui/components/markdown_view/MarkdownImage.test.ts +0 -56
- package/front_end/ui/components/markdown_view/MarkdownLink.test.ts +0 -30
- package/front_end/ui/components/markdown_view/MarkdownView.test.ts +0 -445
- package/front_end/ui/components/menus/SelectMenu.test.ts +0 -106
- package/front_end/ui/components/node_text/NodeText.test.ts +0 -80
- package/front_end/ui/components/panel_feedback/FeedbackButton.test.ts +0 -36
- package/front_end/ui/components/panel_feedback/PanelFeedback.test.ts +0 -47
- package/front_end/ui/components/panel_feedback/PreviewToggle.test.ts +0 -75
- package/front_end/ui/components/render_coordinator/render_coordinator.test.ts +0 -243
- package/front_end/ui/components/report_view/ReportView.test.ts +0 -44
- package/front_end/ui/components/request_link_icon/RequestLinkIcon.test.ts +0 -298
- package/front_end/ui/components/settings/SettingCheckbox.test.ts +0 -205
- package/front_end/ui/components/settings/SettingDeprecationWarning.test.ts +0 -68
- package/front_end/ui/components/snackbars/Snackbar.test.ts +0 -141
- package/front_end/ui/components/survey_link/SurveyLink.test.ts +0 -118
- package/front_end/ui/components/switch/SwitchImpl.test.ts +0 -54
- package/front_end/ui/components/text_editor/AiCodeCompletionTeaserPlaceholder.test.ts +0 -84
- package/front_end/ui/components/text_editor/AutocompleteHistory.test.ts +0 -126
- package/front_end/ui/components/text_editor/ExecutionPositionHighlighter.test.ts +0 -140
- package/front_end/ui/components/text_editor/TextEditor.test.ts +0 -340
- package/front_end/ui/components/text_editor/TextEditorHistory.test.ts +0 -170
- package/front_end/ui/components/text_editor/javascript.test.ts +0 -121
- package/front_end/ui/components/text_prompt/TextPrompt.test.ts +0 -81
- package/front_end/ui/components/tooltips/Tooltip.test.ts +0 -307
- package/front_end/ui/components/tree_outline/TreeOutline.test.ts +0 -1472
- package/front_end/ui/legacy/ARIAUtils.test.ts +0 -140
- package/front_end/ui/legacy/ActionRegistration.test.ts +0 -173
- package/front_end/ui/legacy/Context.test.ts +0 -14
- package/front_end/ui/legacy/ContextMenu.test.ts +0 -261
- package/front_end/ui/legacy/DockController.test.ts +0 -88
- package/front_end/ui/legacy/FilterBar.test.ts +0 -52
- package/front_end/ui/legacy/Fragment.test.ts +0 -60
- package/front_end/ui/legacy/Geometry.test.ts +0 -658
- package/front_end/ui/legacy/Infobar.test.ts +0 -53
- package/front_end/ui/legacy/InspectorView.test.ts +0 -99
- package/front_end/ui/legacy/KeyboardShortcut.test.ts +0 -28
- package/front_end/ui/legacy/ListModel.test.ts +0 -78
- package/front_end/ui/legacy/ListWidget.test.ts +0 -78
- package/front_end/ui/legacy/SettingsUI.test.ts +0 -157
- package/front_end/ui/legacy/ShortcutRegistry.test.ts +0 -35
- package/front_end/ui/legacy/SplitWidget.test.ts +0 -62
- package/front_end/ui/legacy/SuggestBox.test.ts +0 -126
- package/front_end/ui/legacy/Toolbar.test.ts +0 -244
- package/front_end/ui/legacy/Treeoutline.test.ts +0 -252
- package/front_end/ui/legacy/UIUtils.test.ts +0 -255
- package/front_end/ui/legacy/View.test.ts +0 -76
- package/front_end/ui/legacy/ViewManager.test.ts +0 -235
- package/front_end/ui/legacy/ViewRegistration.test.ts +0 -76
- package/front_end/ui/legacy/Widget.test.ts +0 -206
- package/front_end/ui/legacy/XLink.test.ts +0 -68
- package/front_end/ui/legacy/components/color_picker/ColorFormatSpec.test.ts +0 -217
- package/front_end/ui/legacy/components/color_picker/Spectrum.test.ts +0 -101
- package/front_end/ui/legacy/components/data_grid/DataGridElement.test.ts +0 -272
- package/front_end/ui/legacy/components/inline_editor/AnimationTimingModel.test.ts +0 -23
- package/front_end/ui/legacy/components/inline_editor/AnimationTimingUI.test.ts +0 -58
- package/front_end/ui/legacy/components/inline_editor/BezierUI.test.ts +0 -124
- package/front_end/ui/legacy/components/inline_editor/CSSAngle.test.ts +0 -399
- package/front_end/ui/legacy/components/inline_editor/CSSLinearEasingModel.test.ts +0 -64
- package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.test.ts +0 -36
- package/front_end/ui/legacy/components/inline_editor/ColorMixSwatch.test.ts +0 -40
- package/front_end/ui/legacy/components/inline_editor/ColorSwatch.test.ts +0 -259
- package/front_end/ui/legacy/components/inline_editor/FontEditorUnitConverter.test.ts +0 -47
- package/front_end/ui/legacy/components/inline_editor/FontEditorUtils.test.ts +0 -27
- package/front_end/ui/legacy/components/inline_editor/LinkSwatch.test.ts +0 -86
- package/front_end/ui/legacy/components/object_ui/JavaScriptREPL.test.ts +0 -45
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.test.ts +0 -72
- package/front_end/ui/legacy/components/perf_ui/ChartViewport.test.ts +0 -63
- package/front_end/ui/legacy/components/perf_ui/FilmStripView.test.ts +0 -218
- package/front_end/ui/legacy/components/perf_ui/FlameChart.test.ts +0 -1630
- package/front_end/ui/legacy/components/perf_ui/PieChart.test.ts +0 -220
- package/front_end/ui/legacy/components/perf_ui/TimelineGrid.test.ts +0 -152
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewCalculator.test.ts +0 -70
- package/front_end/ui/legacy/components/quick_open/CommandMenu.test.ts +0 -74
- package/front_end/ui/legacy/components/quick_open/FilteredListWidget.test.ts +0 -111
- package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.test.ts +0 -81
- package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.test.ts +0 -77
- package/front_end/ui/legacy/components/source_frame/SourceFrame.test.ts +0 -146
- package/front_end/ui/legacy/components/source_frame/StreamingContentHexView.test.ts +0 -67
- package/front_end/ui/legacy/components/utils/JSPresentationUtils.test.ts +0 -52
- package/front_end/ui/legacy/components/utils/Linkifier.test.ts +0 -547
- package/front_end/ui/legacy/theme_support/ThemeSupport.test.ts +0 -129
- package/front_end/ui/lit/i18n-template.test.ts +0 -51
- package/front_end/ui/lit/strip-whitespace.test.ts +0 -110
- package/front_end/ui/visual_logging/Debugging.test.ts +0 -21
- package/front_end/ui/visual_logging/DomState.test.ts +0 -241
- package/front_end/ui/visual_logging/LoggingConfig.test.ts +0 -118
- package/front_end/ui/visual_logging/LoggingDriver.test.ts +0 -1069
- package/front_end/ui/visual_logging/LoggingEvents.test.ts +0 -271
- package/front_end/ui/visual_logging/LoggingState.test.ts +0 -122
- package/front_end/ui/visual_logging/NonDomState.test.ts +0 -44
- package/inspector_overlay/common.test.ts +0 -38
- package/inspector_overlay/css_grid_label_helpers.test.ts +0 -962
- package/inspector_overlay/highlight_common.test.ts +0 -42
- package/inspector_overlay/highlight_flex_common.test.ts +0 -511
- package/inspector_overlay/tool_highlight.test.ts +0 -105
- package/inspector_overlay/tool_source_order.test.ts +0 -130
- package/inspector_overlay/tool_window_controls.test.ts +0 -81
- package/scripts/DIR_METADATA +0 -3
- package/scripts/README.md +0 -26
- package/scripts/__init__.py +0 -0
- package/scripts/add_icon_paths.py +0 -71
- package/scripts/ai_assistance/README.md +0 -60
- package/scripts/ai_assistance/auto-run/auto-run.ts +0 -429
- package/scripts/ai_assistance/auto-run/shared/comment-parsers.test.ts +0 -168
- package/scripts/ai_assistance/auto-run/shared/comment-parsers.ts +0 -97
- package/scripts/ai_assistance/auto-run/shared/puppeteer-helpers.ts +0 -307
- package/scripts/ai_assistance/auto-run/targets/elements-executor.ts +0 -62
- package/scripts/ai_assistance/auto-run/targets/elements-multimodal-executor.ts +0 -62
- package/scripts/ai_assistance/auto-run/targets/factory.ts +0 -33
- package/scripts/ai_assistance/auto-run/targets/interface.ts +0 -29
- package/scripts/ai_assistance/auto-run/targets/patching-executor.ts +0 -69
- package/scripts/ai_assistance/auto-run/targets/performance-insights-executor.ts +0 -99
- package/scripts/ai_assistance/auto-run/targets/performance-main-thread-executor.ts +0 -99
- package/scripts/ai_assistance/auto-run/trace-downloader.ts +0 -91
- package/scripts/ai_assistance/eval/index.html +0 -32
- package/scripts/ai_assistance/eval/index.js +0 -568
- package/scripts/ai_assistance/package.json +0 -8
- package/scripts/ai_assistance/suite/README.md +0 -57
- package/scripts/ai_assistance/suite/helpers/evaluators.ts +0 -183
- package/scripts/ai_assistance/suite/helpers/gemini.ts +0 -122
- package/scripts/ai_assistance/suite/helpers/outputs.ts +0 -112
- package/scripts/ai_assistance/suite/instructions/lcp-breakdown.md +0 -12
- package/scripts/ai_assistance/suite/instructions/load.ts +0 -13
- package/scripts/ai_assistance/suite/instructions/scoring.md +0 -27
- package/scripts/ai_assistance/suite/performance.eval.ts +0 -18
- package/scripts/ai_assistance/suite/to_eval_output.ts +0 -166
- package/scripts/ai_assistance/suite/types.d.ts +0 -40
- package/scripts/ai_assistance/suite/upload_to_gcp.ts +0 -104
- package/scripts/ai_assistance/to_tsv.mjs +0 -39
- package/scripts/ai_assistance/tsconfig.json +0 -14
- package/scripts/ai_assistance/types.d.ts +0 -81
- package/scripts/build/README.md +0 -2
- package/scripts/build/__init__.py +0 -3
- package/scripts/build/assert_grd.py +0 -57
- package/scripts/build/assert_third_party_readmes.py +0 -70
- package/scripts/build/build_inspector_overlay.py +0 -106
- package/scripts/build/code_generator_frontend.py +0 -413
- package/scripts/build/compress_files.js +0 -89
- package/scripts/build/cross_reference_ninja_and_tsc.js +0 -180
- package/scripts/build/devtools_plugin.js +0 -164
- package/scripts/build/efficiently_recompile.py +0 -29
- package/scripts/build/esbuild.js +0 -56
- package/scripts/build/generate_aria.py +0 -36
- package/scripts/build/generate_css_js_files.js +0 -83
- package/scripts/build/generate_deprecations.py +0 -99
- package/scripts/build/generate_devtools_grd.py +0 -123
- package/scripts/build/generate_devtools_json.js +0 -27
- package/scripts/build/generate_html_entrypoint.js +0 -49
- package/scripts/build/generate_supported_css.py +0 -135
- package/scripts/build/ninja/README.md +0 -190
- package/scripts/build/ninja/bundle.gni +0 -85
- package/scripts/build/ninja/copy-file.js +0 -38
- package/scripts/build/ninja/copy-files.js +0 -39
- package/scripts/build/ninja/copy.gni +0 -59
- package/scripts/build/ninja/devtools_entrypoint.gni +0 -221
- package/scripts/build/ninja/devtools_module.gni +0 -33
- package/scripts/build/ninja/devtools_pre_built.gni +0 -55
- package/scripts/build/ninja/generate-declaration.js +0 -18
- package/scripts/build/ninja/generate-tsconfig.js +0 -46
- package/scripts/build/ninja/generate_css.gni +0 -45
- package/scripts/build/ninja/minify-json-files.js +0 -20
- package/scripts/build/ninja/minify_json.gni +0 -32
- package/scripts/build/ninja/node.gni +0 -36
- package/scripts/build/ninja/vars.gni +0 -19
- package/scripts/build/ninja/wasm.gni +0 -25
- package/scripts/build/ninja/write-if-changed.js +0 -27
- package/scripts/build/rollup.config.mjs +0 -31
- package/scripts/build/tests/generate_css_js_files_test.js +0 -40
- package/scripts/build/tests/plugins_test.js +0 -149
- package/scripts/build/typescript/README.md +0 -94
- package/scripts/build/typescript/tests/README.md +0 -10
- package/scripts/build/typescript/tests/fixtures/compilation_failure_front_end/BUILDCONFIG.gn +0 -10
- package/scripts/build/typescript/tests/fixtures/compilation_failure_front_end/build_output.txt.expected +0 -14
- package/scripts/build/typescript/tests/fixtures/compilation_failure_front_end/front_end/module/exporting.ts +0 -1
- package/scripts/build/typescript/tests/fixtures/compilation_failure_front_end/front_end/module/index.ts +0 -3
- package/scripts/build/typescript/tests/fixtures/recompile/BUILDCONFIG.gn +0 -10
- package/scripts/build/typescript/tests/fixtures/recompile/build_output.txt.expected +0 -8
- package/scripts/build/typescript/tests/fixtures/recompile/build_output.txt.expected.regen +0 -4
- package/scripts/build/typescript/tests/fixtures/recompile/front_end/module/exporting.ts +0 -1
- package/scripts/build/typescript/tests/fixtures/recompile/front_end/module/module.ts +0 -5
- package/scripts/build/typescript/tests/fixtures/recompile_dep/BUILDCONFIG.gn +0 -10
- package/scripts/build/typescript/tests/fixtures/recompile_dep/build_output.txt.expected +0 -8
- package/scripts/build/typescript/tests/fixtures/recompile_dep/build_output.txt.expected.regen +0 -6
- package/scripts/build/typescript/tests/fixtures/recompile_dep/expected.tsbuildinfo +0 -2084
- package/scripts/build/typescript/tests/fixtures/recompile_dep/front_end/module/exporting.ts +0 -1
- package/scripts/build/typescript/tests/fixtures/recompile_dep/front_end/module/module.ts +0 -7
- package/scripts/build/typescript/tests/fixtures/simple_dep/BUILDCONFIG.gn +0 -10
- package/scripts/build/typescript/tests/fixtures/simple_dep/build_output.txt.expected +0 -6
- package/scripts/build/typescript/tests/fixtures/simple_dep/build_output.txt.expected.regen +0 -2
- package/scripts/build/typescript/tests/fixtures/simple_dep/front_end/module/exporting.ts +0 -1
- package/scripts/build/typescript/tests/fixtures/simple_dep/front_end/module/index.ts +0 -3
- package/scripts/build/typescript/tests/fixtures/test_dep/BUILDCONFIG.gn +0 -10
- package/scripts/build/typescript/tests/fixtures/test_dep/build_output.txt.expected +0 -8
- package/scripts/build/typescript/tests/fixtures/test_dep/front_end/module/exporting.ts +0 -1
- package/scripts/build/typescript/tests/fixtures/test_dep/front_end/module/module.ts +0 -5
- package/scripts/build/typescript/tests/verify_ts_libary.sh +0 -88
- package/scripts/build/typescript/ts_library.py +0 -336
- package/scripts/build/typescript/typescript.gni +0 -290
- package/scripts/build/wasm-as.py +0 -87
- package/scripts/build/wasm_sourcemap.mjs +0 -22
- package/scripts/check_esbuild_versions.js +0 -51
- package/scripts/check_experiments.js +0 -292
- package/scripts/check_external_links.js +0 -150
- package/scripts/component_server/README.md +0 -43
- package/scripts/component_server/server.js +0 -597
- package/scripts/devtools_build.mjs +0 -396
- package/scripts/devtools_build.test.mjs +0 -243
- package/scripts/devtools_paths.js +0 -193
- package/scripts/devtools_paths.py +0 -127
- package/scripts/eslint_rules/README.md +0 -29
- package/scripts/eslint_rules/lib/canvas-context-tracking.ts +0 -154
- package/scripts/eslint_rules/lib/check-css-import.ts +0 -52
- package/scripts/eslint_rules/lib/check-enumerated-histograms.ts +0 -42
- package/scripts/eslint_rules/lib/check-license-header.ts +0 -222
- package/scripts/eslint_rules/lib/check-test-definitions.ts +0 -91
- package/scripts/eslint_rules/lib/check-was-shown-methods.ts +0 -57
- package/scripts/eslint_rules/lib/enforce-custom-element-definitions-location.ts +0 -95
- package/scripts/eslint_rules/lib/enforce-custom-event-names.ts +0 -174
- package/scripts/eslint_rules/lib/enforce-default-import-name.ts +0 -86
- package/scripts/eslint_rules/lib/enforce-optional-properties-last.ts +0 -87
- package/scripts/eslint_rules/lib/enforce-ui-strings-as-const.ts +0 -69
- package/scripts/eslint_rules/lib/es-modules-import.ts +0 -405
- package/scripts/eslint_rules/lib/html-tagged-template.ts +0 -85
- package/scripts/eslint_rules/lib/inject-checkbox-styles.ts +0 -187
- package/scripts/eslint_rules/lib/inline-type-imports.ts +0 -217
- package/scripts/eslint_rules/lib/jslog-context-list.ts +0 -192
- package/scripts/eslint_rules/lib/l10n-filename-matches.ts +0 -136
- package/scripts/eslint_rules/lib/l10n-i18nString-call-only-with-uistrings.ts +0 -62
- package/scripts/eslint_rules/lib/l10n-no-i18nString-calls-module-instantiation.ts +0 -61
- package/scripts/eslint_rules/lib/l10n-no-locked-or-placeholder-only-phrase.ts +0 -72
- package/scripts/eslint_rules/lib/l10n-no-uistrings-export.ts +0 -89
- package/scripts/eslint_rules/lib/l10n-no-unused-message.ts +0 -159
- package/scripts/eslint_rules/lib/lit-no-attribute-quotes.ts +0 -111
- package/scripts/eslint_rules/lib/lit-template-result-or-nothing.ts +0 -158
- package/scripts/eslint_rules/lib/no-a-tags-in-lit.ts +0 -43
- package/scripts/eslint_rules/lib/no-adopted-style-sheets.ts +0 -37
- package/scripts/eslint_rules/lib/no-assert-deep-strict-equal.ts +0 -61
- package/scripts/eslint_rules/lib/no-assert-equal-boolean-null-undefined.ts +0 -178
- package/scripts/eslint_rules/lib/no-assert-equal.ts +0 -88
- package/scripts/eslint_rules/lib/no-assert-strict-equal-for-arrays-and-objects.ts +0 -86
- package/scripts/eslint_rules/lib/no-bound-component-methods.ts +0 -161
- package/scripts/eslint_rules/lib/no-commented-out-console.ts +0 -49
- package/scripts/eslint_rules/lib/no-commented-out-import.ts +0 -46
- package/scripts/eslint_rules/lib/no-customized-builtin-elements.ts +0 -140
- package/scripts/eslint_rules/lib/no-deprecated-component-usages.ts +0 -46
- package/scripts/eslint_rules/lib/no-document-body-mutation.ts +0 -102
- package/scripts/eslint_rules/lib/no-imperative-dom-api/adorner.ts +0 -48
- package/scripts/eslint_rules/lib/no-imperative-dom-api/aria-utils.ts +0 -109
- package/scripts/eslint_rules/lib/no-imperative-dom-api/ast.ts +0 -86
- package/scripts/eslint_rules/lib/no-imperative-dom-api/button.ts +0 -81
- package/scripts/eslint_rules/lib/no-imperative-dom-api/class-member.ts +0 -54
- package/scripts/eslint_rules/lib/no-imperative-dom-api/data-grid.ts +0 -151
- package/scripts/eslint_rules/lib/no-imperative-dom-api/dom-api-devtools-extensions.ts +0 -32
- package/scripts/eslint_rules/lib/no-imperative-dom-api/dom-api.ts +0 -141
- package/scripts/eslint_rules/lib/no-imperative-dom-api/dom-fragment.ts +0 -307
- package/scripts/eslint_rules/lib/no-imperative-dom-api/split-widget.ts +0 -125
- package/scripts/eslint_rules/lib/no-imperative-dom-api/toolbar.ts +0 -193
- package/scripts/eslint_rules/lib/no-imperative-dom-api/ui-fragment.ts +0 -55
- package/scripts/eslint_rules/lib/no-imperative-dom-api/ui-utils.ts +0 -213
- package/scripts/eslint_rules/lib/no-imperative-dom-api/widget.ts +0 -96
- package/scripts/eslint_rules/lib/no-imperative-dom-api.ts +0 -270
- package/scripts/eslint_rules/lib/no-importing-images-from-src.ts +0 -83
- package/scripts/eslint_rules/lib/no-imports-in-directory.ts +0 -84
- package/scripts/eslint_rules/lib/no-lit-render-outside-of-view.ts +0 -105
- package/scripts/eslint_rules/lib/no-new-lit-element-components.ts +0 -48
- package/scripts/eslint_rules/lib/no-self-closing-custom-element-tagnames.ts +0 -42
- package/scripts/eslint_rules/lib/no-underscored-properties.ts +0 -78
- package/scripts/eslint_rules/lib/prefer-assert-instance-of.ts +0 -80
- package/scripts/eslint_rules/lib/prefer-assert-is-ok.ts +0 -103
- package/scripts/eslint_rules/lib/prefer-assert-length-of.ts +0 -76
- package/scripts/eslint_rules/lib/prefer-assert-strict-equal.ts +0 -92
- package/scripts/eslint_rules/lib/prefer-private-class-members.ts +0 -45
- package/scripts/eslint_rules/lib/prefer-sinon-assert.ts +0 -151
- package/scripts/eslint_rules/lib/prefer-url-string.ts +0 -109
- package/scripts/eslint_rules/lib/set-data-type-reference.ts +0 -69
- package/scripts/eslint_rules/lib/static-custom-event-names.ts +0 -215
- package/scripts/eslint_rules/lib/trace-engine-test-timeouts.ts +0 -125
- package/scripts/eslint_rules/lib/utils/l10n-helper.ts +0 -48
- package/scripts/eslint_rules/lib/utils/lit.ts +0 -73
- package/scripts/eslint_rules/lib/utils/ruleCreator.ts +0 -16
- package/scripts/eslint_rules/lib/utils/treeHelpers.ts +0 -13
- package/scripts/eslint_rules/lib/validate-timing-types.ts +0 -330
- package/scripts/eslint_rules/rules-dir.mjs +0 -78
- package/scripts/eslint_rules/tests/canvas-context-tracking.test.ts +0 -124
- package/scripts/eslint_rules/tests/check-css-import.test.ts +0 -43
- package/scripts/eslint_rules/tests/check-enumerated-histograms.test.ts +0 -31
- package/scripts/eslint_rules/tests/check-license-header.test.ts +0 -293
- package/scripts/eslint_rules/tests/check-test-definitions.test.ts +0 -155
- package/scripts/eslint_rules/tests/check-was-shown-methods.test.ts +0 -103
- package/scripts/eslint_rules/tests/check_css_import_test_file.css +0 -5
- package/scripts/eslint_rules/tests/enforce-custom-element-definitions-location.test.ts +0 -56
- package/scripts/eslint_rules/tests/enforce-custom-event-names.test.ts +0 -124
- package/scripts/eslint_rules/tests/enforce-default-import-name.test.ts +0 -53
- package/scripts/eslint_rules/tests/enforce-optional-properties-last.test.ts +0 -137
- package/scripts/eslint_rules/tests/enforce-ui-strings-as-const.test.ts +0 -35
- package/scripts/eslint_rules/tests/es-modules-import.test.ts +0 -332
- package/scripts/eslint_rules/tests/html-tagged-template.test.ts +0 -103
- package/scripts/eslint_rules/tests/inject-checkbox-styles.test.ts +0 -219
- package/scripts/eslint_rules/tests/inline-type-imports.test.ts +0 -82
- package/scripts/eslint_rules/tests/jslog-context-list.test.ts +0 -218
- package/scripts/eslint_rules/tests/l10n-filename-matches.test.ts +0 -90
- package/scripts/eslint_rules/tests/l10n-i18nString-call-only-with-uistrings.test.ts +0 -44
- package/scripts/eslint_rules/tests/l10n-no-i18nString-calls-module-instantiation.test.ts +0 -77
- package/scripts/eslint_rules/tests/l10n-no-locked-or-placeholder-only-phrase.test.ts +0 -45
- package/scripts/eslint_rules/tests/l10n-no-uistrings-export.test.ts +0 -50
- package/scripts/eslint_rules/tests/l10n-no-unused-message.test.ts +0 -119
- package/scripts/eslint_rules/tests/lit-no-attribute-quotes.test.ts +0 -43
- package/scripts/eslint_rules/tests/lit-template-result-or-nothing.test.ts +0 -142
- package/scripts/eslint_rules/tests/no-a-tags-in-lit.test.ts +0 -67
- package/scripts/eslint_rules/tests/no-adopted-style-sheets.test.ts +0 -52
- package/scripts/eslint_rules/tests/no-assert-deep-strict-equal.test.ts +0 -51
- package/scripts/eslint_rules/tests/no-assert-equal-boolean-null-undefined.test.ts +0 -207
- package/scripts/eslint_rules/tests/no-assert-equal.test.ts +0 -101
- package/scripts/eslint_rules/tests/no-assert-strict-equal-for-arrays-and-objects.test.ts +0 -87
- package/scripts/eslint_rules/tests/no-bound-component-methods.test.ts +0 -105
- package/scripts/eslint_rules/tests/no-commented-out-console.test.ts +0 -35
- package/scripts/eslint_rules/tests/no-commented-out-import.test.ts +0 -45
- package/scripts/eslint_rules/tests/no-customized-builtin-elements.test.ts +0 -150
- package/scripts/eslint_rules/tests/no-deprecated-component-usages.test.ts +0 -46
- package/scripts/eslint_rules/tests/no-document-body-mutation.test.ts +0 -45
- package/scripts/eslint_rules/tests/no-imperative-dom-api.test.ts +0 -1237
- package/scripts/eslint_rules/tests/no-importing-images-from-src.test.ts +0 -40
- package/scripts/eslint_rules/tests/no-imports-in-directory.test.ts +0 -104
- package/scripts/eslint_rules/tests/no-lit-render-outside-of-view.test.ts +0 -130
- package/scripts/eslint_rules/tests/no-new-lit-element-components.test.ts +0 -31
- package/scripts/eslint_rules/tests/no-self-closing-custom-element-tagnames.test.ts +0 -59
- package/scripts/eslint_rules/tests/no-underscored-properties.test.ts +0 -99
- package/scripts/eslint_rules/tests/prefer-assert-instance-of.test.ts +0 -195
- package/scripts/eslint_rules/tests/prefer-assert-is-ok.test.ts +0 -182
- package/scripts/eslint_rules/tests/prefer-assert-length-of.test.ts +0 -143
- package/scripts/eslint_rules/tests/prefer-assert-strict-equal.test.ts +0 -367
- package/scripts/eslint_rules/tests/prefer-private-class-members.test.ts +0 -59
- package/scripts/eslint_rules/tests/prefer-sinon-assert.test.ts +0 -333
- package/scripts/eslint_rules/tests/prefer-url-string.test.ts +0 -87
- package/scripts/eslint_rules/tests/set-data-type-reference.test.ts +0 -60
- package/scripts/eslint_rules/tests/static-custom-event-names.test.ts +0 -179
- package/scripts/eslint_rules/tests/trace-engine-test-timeouts.test.ts +0 -59
- package/scripts/eslint_rules/tests/utils/RuleTester.ts +0 -28
- package/scripts/eslint_rules/tests/utils.test.ts +0 -79
- package/scripts/eslint_rules/tests/validate-timing-types.test.ts +0 -289
- package/scripts/eslint_rules/tsconfig.json +0 -14
- package/scripts/extract_bugs.ts +0 -126
- package/scripts/generate_metric_compare_strings.js +0 -130
- package/scripts/hosted_mode/cert.pem +0 -21
- package/scripts/hosted_mode/key.pem +0 -28
- package/scripts/hosted_mode/server.js +0 -258
- package/scripts/javascript_natives/helpers.js +0 -232
- package/scripts/javascript_natives/index.js +0 -105
- package/scripts/javascript_natives/package.json +0 -9
- package/scripts/javascript_natives/test.d.ts +0 -13
- package/scripts/javascript_natives/tests.js +0 -195
- package/scripts/migration/class-fields/migrate.js +0 -77
- package/scripts/migration/class-fields/migrate.sh +0 -8
- package/scripts/migration/class-fields/package.json +0 -5
- package/scripts/migration/e2e_non_hosted_gemini.mjs +0 -102
- package/scripts/migration/web-tests-esm/rename-legacy-global.mjs +0 -129
- package/scripts/npm_test.js +0 -141
- package/scripts/protocol_typescript/protocol_dts_generator.ts +0 -470
- package/scripts/protocol_typescript/protocol_schema.d.ts +0 -97
- package/scripts/reformat-clang-js-ts.js +0 -71
- package/scripts/run_build.mjs +0 -128
- package/scripts/run_on_target.mjs +0 -88
- package/scripts/run_start.mjs +0 -236
- package/scripts/scaffold/README.md +0 -4
- package/scripts/scaffold/scaffold-widget.js +0 -167
- package/scripts/scaffold/templates/WidgetTemplate.css.txt +0 -9
- package/scripts/scaffold/templates/WidgetTemplate.ts.txt +0 -60
- package/scripts/search-trace-files.js +0 -66
- package/scripts/stylelint_rules/lib/use_theme_colors.mjs +0 -322
- package/scripts/stylelint_rules/tests/use_theme_colors.test.js +0 -515
- package/scripts/tools/update_goldens.py +0 -432
- package/scripts/tsconfig.json +0 -11
- package/scripts/utils.js +0 -160
- package/scripts/whitespaces.txt +0 -12
@@ -1,183 +0,0 @@
|
|
1
|
-
// Copyright 2025 The Chromium Authors
|
2
|
-
// Use of this source code is governed by a BSD-style license that can be
|
3
|
-
// found in the LICENSE file.
|
4
|
-
|
5
|
-
import assert from 'node:assert';
|
6
|
-
|
7
|
-
import {loadInstructions} from '../instructions/load.ts';
|
8
|
-
import type {Conversation} from '../types';
|
9
|
-
|
10
|
-
import {generateGeminiContent} from './gemini.ts';
|
11
|
-
import {getMarkdownConversation, getOutputs, type Output} from './outputs.ts';
|
12
|
-
|
13
|
-
abstract class Evaluator {}
|
14
|
-
|
15
|
-
export class FunctionCalled extends Evaluator {
|
16
|
-
static nameOnly(example: Conversation, funcName: string): boolean {
|
17
|
-
return example.queries.some(q => {
|
18
|
-
return q.response.functionCallRequests?.some(call => call.name === funcName);
|
19
|
-
});
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
export class LLMComparison extends Evaluator {
|
24
|
-
static async judge(example: Conversation, prompt: string): Promise<{score: number, reasons: string}> {
|
25
|
-
const scoringInstructions = loadInstructions('scoring');
|
26
|
-
const exampleAsMarkdown = getMarkdownConversation(example);
|
27
|
-
const response = await generateGeminiContent(
|
28
|
-
`${scoringInstructions}
|
29
|
-
|
30
|
-
${prompt}.
|
31
|
-
|
32
|
-
## Conversation to score:
|
33
|
-
${exampleAsMarkdown}`,
|
34
|
-
'gemini-2.5-flash', {
|
35
|
-
type: 'object',
|
36
|
-
properties: {
|
37
|
-
score: {type: 'number', description: 'A numerical score assigned by the AI.'},
|
38
|
-
reasons: {type: 'string', description: 'A string containing the reasons for the assigned score.'}
|
39
|
-
},
|
40
|
-
required: ['score', 'reasons']
|
41
|
-
});
|
42
|
-
const r = JSON.parse(response) as {score: number, reasons: string};
|
43
|
-
return {score: r.score, reasons: r.reasons};
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
interface GroupTestState {
|
48
|
-
store: ResultStore;
|
49
|
-
outputsByDate: Partial<Record<string, Output[]>>;
|
50
|
-
}
|
51
|
-
|
52
|
-
let state: GroupTestState|null = null;
|
53
|
-
|
54
|
-
export type ItEval = {
|
55
|
-
test: string,
|
56
|
-
}&({
|
57
|
-
succeed: (example: Conversation) => boolean,
|
58
|
-
}|{
|
59
|
-
judge: (example: Conversation) => Promise<{score: number, reasons: string}>,
|
60
|
-
});
|
61
|
-
|
62
|
-
export async function itEval(config: ItEval): Promise<void> {
|
63
|
-
assert.ok(state);
|
64
|
-
if ('succeed' in config) {
|
65
|
-
for (const [date, outputs] of Object.entries(state.outputsByDate)) {
|
66
|
-
if (!outputs) {
|
67
|
-
continue;
|
68
|
-
}
|
69
|
-
|
70
|
-
const allDevToolsConversations = outputs.flatMap(o => o.contents.conversations);
|
71
|
-
|
72
|
-
let total = 0;
|
73
|
-
let succeeded = 0;
|
74
|
-
for (const conversation of allDevToolsConversations) {
|
75
|
-
total++;
|
76
|
-
if (config.succeed(conversation)) {
|
77
|
-
succeeded++;
|
78
|
-
}
|
79
|
-
state.store.saveResult(config.test, date, {type: 'BINARY', success: succeeded, total});
|
80
|
-
}
|
81
|
-
}
|
82
|
-
} else if ('judge' in config) {
|
83
|
-
for (const [date, outputs] of Object.entries(state.outputsByDate)) {
|
84
|
-
if (!outputs) {
|
85
|
-
continue;
|
86
|
-
}
|
87
|
-
const allDevToolsConversations = outputs.flatMap(o => o.contents.conversations);
|
88
|
-
const scores = await Promise.all(allDevToolsConversations.map(async example => {
|
89
|
-
const result = await config.judge(example);
|
90
|
-
return result.score;
|
91
|
-
}));
|
92
|
-
const totalOfAllScores = scores.reduce((acc: number, score: number) => acc + score, 0);
|
93
|
-
const average = totalOfAllScores / scores.length;
|
94
|
-
state.store.saveResult(config.test, date, {type: 'JUDGE', average, allScores: scores, total: totalOfAllScores});
|
95
|
-
}
|
96
|
-
}
|
97
|
-
}
|
98
|
-
|
99
|
-
export interface GroupConfig {
|
100
|
-
type: string;
|
101
|
-
label: string;
|
102
|
-
}
|
103
|
-
|
104
|
-
export async function evalGroup(config: GroupConfig, cb: (() => Promise<void>)): Promise<void> {
|
105
|
-
const store = new ResultStore(config.type, config.label);
|
106
|
-
const outputs = await getOutputs(config.type, config.label);
|
107
|
-
const outputsByDate = Object.groupBy(outputs, o => o.dateFolder);
|
108
|
-
state = {
|
109
|
-
store,
|
110
|
-
outputsByDate,
|
111
|
-
};
|
112
|
-
|
113
|
-
await cb();
|
114
|
-
printResults(state.store);
|
115
|
-
}
|
116
|
-
|
117
|
-
function log(indentation: number, message: string): void {
|
118
|
-
console.log(`${' '.repeat(indentation)}${message}`);
|
119
|
-
}
|
120
|
-
|
121
|
-
function printResults(store: ResultStore): void {
|
122
|
-
log(0, `Results for: ${store.type}/${store.label}`);
|
123
|
-
|
124
|
-
// Structures the results in Date => <Test Name, Test Output>.
|
125
|
-
const dataForTable: Record<string, Record<string, string>> = {};
|
126
|
-
|
127
|
-
for (const [test, dateToResult] of store.results) {
|
128
|
-
for (const [date, result] of dateToResult) {
|
129
|
-
dataForTable[date] ??= {};
|
130
|
-
switch (result.type) {
|
131
|
-
case 'BINARY':
|
132
|
-
dataForTable[date][test] = `${result.success} / ${result.total} passed`;
|
133
|
-
break;
|
134
|
-
case 'JUDGE':
|
135
|
-
dataForTable[date][test] = `${result.average.toFixed(1)} average from ${result.allScores.length} inputs.`;
|
136
|
-
break;
|
137
|
-
default:
|
138
|
-
throw new Error('Unknown result type!');
|
139
|
-
}
|
140
|
-
}
|
141
|
-
}
|
142
|
-
console.table(dataForTable);
|
143
|
-
}
|
144
|
-
|
145
|
-
type Result = {
|
146
|
-
type: 'BINARY',
|
147
|
-
total: number,
|
148
|
-
success: number,
|
149
|
-
}|{
|
150
|
-
type: 'JUDGE',
|
151
|
-
average: number,
|
152
|
-
total: number,
|
153
|
-
allScores: number[],
|
154
|
-
};
|
155
|
-
|
156
|
-
class ResultStore {
|
157
|
-
// Map of testName => YYYY-MM-DD => Result
|
158
|
-
#results = new Map<string, Map<string, Result>>();
|
159
|
-
#type: string;
|
160
|
-
#label: string;
|
161
|
-
|
162
|
-
constructor(type: string, label: string) {
|
163
|
-
this.#type = type;
|
164
|
-
this.#label = label;
|
165
|
-
}
|
166
|
-
|
167
|
-
get type(): string {
|
168
|
-
return this.#type;
|
169
|
-
}
|
170
|
-
get label(): string {
|
171
|
-
return this.#label;
|
172
|
-
}
|
173
|
-
|
174
|
-
get results(): ReadonlyMap<string, ReadonlyMap<string, Result>> {
|
175
|
-
return this.#results;
|
176
|
-
}
|
177
|
-
|
178
|
-
saveResult(testName: string, dateFolder: string, result: Result): void {
|
179
|
-
const forTest = this.#results.get(testName) ?? new Map<string, Result>();
|
180
|
-
forTest.set(dateFolder, result);
|
181
|
-
this.#results.set(testName, forTest);
|
182
|
-
}
|
183
|
-
}
|
@@ -1,122 +0,0 @@
|
|
1
|
-
// Copyright 2025 The Chromium Authors
|
2
|
-
// Use of this source code is governed by a BSD-style license that can be
|
3
|
-
// found in the LICENSE file.
|
4
|
-
|
5
|
-
/**
|
6
|
-
* Makes requests to the Gemini API. Assumes process.env.GEMINI_API_KEY is available.
|
7
|
-
* Note: the reason we do not use any Google Gemini SDK here is to save on the
|
8
|
-
* node module install & committing it to the repo. Our API usage of Gemini is
|
9
|
-
* lightweight so it doesn't feel worth it vs just wrapping the XHR requests
|
10
|
-
* ourselves.
|
11
|
-
*/
|
12
|
-
|
13
|
-
// Define interfaces for better type safety
|
14
|
-
interface Part {
|
15
|
-
text: string;
|
16
|
-
}
|
17
|
-
|
18
|
-
interface Content {
|
19
|
-
parts: Part[];
|
20
|
-
}
|
21
|
-
|
22
|
-
interface GenerateContentRequestBody {
|
23
|
-
contents: Content[];
|
24
|
-
generationConfig?: {
|
25
|
-
responseMimeType: string,
|
26
|
-
responseSchema: object,
|
27
|
-
};
|
28
|
-
}
|
29
|
-
|
30
|
-
interface CandidatePart {
|
31
|
-
text: string;
|
32
|
-
}
|
33
|
-
|
34
|
-
interface CandidateContent {
|
35
|
-
parts: CandidatePart[];
|
36
|
-
role: string;
|
37
|
-
}
|
38
|
-
|
39
|
-
interface Candidate {
|
40
|
-
content: CandidateContent;
|
41
|
-
finishReason: string;
|
42
|
-
index: number;
|
43
|
-
}
|
44
|
-
|
45
|
-
interface GenerateContentResponse {
|
46
|
-
candidates: Candidate[];
|
47
|
-
}
|
48
|
-
|
49
|
-
/**
|
50
|
-
* Helper function to construct the request body for the Gemini generateContent API.
|
51
|
-
*
|
52
|
-
* @param promptText The text prompt for the Gemini model.
|
53
|
-
* @param jsonSchema An optional JSON schema to define the expected response structure.
|
54
|
-
* @returns The constructed GenerateContentRequestBody object.
|
55
|
-
*/
|
56
|
-
function buildGeminiRequestBody(promptText: string, jsonSchema?: object): GenerateContentRequestBody {
|
57
|
-
const requestBody: GenerateContentRequestBody = {
|
58
|
-
contents: [
|
59
|
-
{
|
60
|
-
parts: [
|
61
|
-
{
|
62
|
-
text: promptText,
|
63
|
-
},
|
64
|
-
],
|
65
|
-
},
|
66
|
-
],
|
67
|
-
};
|
68
|
-
|
69
|
-
if (jsonSchema) {
|
70
|
-
requestBody.generationConfig = {
|
71
|
-
responseMimeType: 'application/json',
|
72
|
-
responseSchema: jsonSchema,
|
73
|
-
};
|
74
|
-
}
|
75
|
-
|
76
|
-
return requestBody;
|
77
|
-
}
|
78
|
-
|
79
|
-
/**
|
80
|
-
* Makes a request to the Gemini API's generateContent endpoint.
|
81
|
-
*
|
82
|
-
* @param promptText The text prompt to send to the Gemini model.
|
83
|
-
* @param modelName The name of the Gemini model to use (e.g., 'gemini-pro', 'gemini-1.5-flash').
|
84
|
-
* @returns A Promise that resolves to the generated text, or an error string.
|
85
|
-
*/
|
86
|
-
export async function generateGeminiContent(
|
87
|
-
promptText: string, modelName = 'gemini-2.5-flash', jsonSchema?: object): Promise<string> {
|
88
|
-
const apiKey = process.env.GEMINI_API_KEY;
|
89
|
-
|
90
|
-
if (!apiKey) {
|
91
|
-
throw new Error('GEMINI_API_KEY environment variable is not set. Please provide your API key.');
|
92
|
-
}
|
93
|
-
|
94
|
-
const apiUrl = `https://generativelanguage.googleapis.com/v1beta/models/${modelName}:generateContent`;
|
95
|
-
|
96
|
-
const requestBody = buildGeminiRequestBody(promptText, jsonSchema);
|
97
|
-
|
98
|
-
try {
|
99
|
-
const response = await fetch(apiUrl, {
|
100
|
-
method: 'POST',
|
101
|
-
headers: {
|
102
|
-
'Content-Type': 'application/json',
|
103
|
-
'x-goog-api-key': apiKey,
|
104
|
-
},
|
105
|
-
body: JSON.stringify(requestBody),
|
106
|
-
});
|
107
|
-
|
108
|
-
if (!response.ok) {
|
109
|
-
const errorData = await response.json();
|
110
|
-
throw new Error(`API error: ${response.status} ${response.statusText} - ${JSON.stringify(errorData)}`);
|
111
|
-
}
|
112
|
-
|
113
|
-
const data: GenerateContentResponse = await response.json();
|
114
|
-
|
115
|
-
// Safely access the generated content
|
116
|
-
return (
|
117
|
-
data.candidates?.[0]?.content?.parts?.[0]?.text || 'No content generated or content not in expected format.');
|
118
|
-
} catch (error) {
|
119
|
-
console.error('Error generating content:', error);
|
120
|
-
return `Error: Could not generate content. Details: ${error instanceof Error ? error.message : String(error)}`;
|
121
|
-
}
|
122
|
-
}
|
@@ -1,112 +0,0 @@
|
|
1
|
-
// Copyright 2025 The Chromium Authors
|
2
|
-
// Use of this source code is governed by a BSD-style license that can be
|
3
|
-
// found in the LICENSE file.
|
4
|
-
|
5
|
-
import * as fs from 'node:fs';
|
6
|
-
import * as fsPromises from 'node:fs/promises';
|
7
|
-
import * as path from 'node:path';
|
8
|
-
|
9
|
-
import type {Conversation, EvalFileOutput} from '../types';
|
10
|
-
|
11
|
-
const BASE_DIR = path.join(path.dirname(import.meta.filename), '..', 'outputs', 'outputs');
|
12
|
-
|
13
|
-
export function getMarkdownConversation(example: Conversation): string {
|
14
|
-
let markdown = '';
|
15
|
-
for (const query of example.queries) {
|
16
|
-
markdown += '## REQUEST FROM CLIENT:\n';
|
17
|
-
if (query.request.prompt) {
|
18
|
-
markdown += `### QUERY:\n${query.request.prompt}\n`;
|
19
|
-
}
|
20
|
-
if (query.request.functionCallResponse) {
|
21
|
-
markdown += `### FUNCTION CALL RESPONSE:\n${query.request.functionCallResponse}\n`;
|
22
|
-
}
|
23
|
-
|
24
|
-
markdown += '## RESPONSE FROM SERVER:\n';
|
25
|
-
if (query.response.text) {
|
26
|
-
markdown += `### EXPLANATION:\n${query.response.text}\n`;
|
27
|
-
}
|
28
|
-
if (query.response.functionCallRequests?.length) {
|
29
|
-
markdown += `### FUNCTION CALL REQUESTS:\n${query.response.functionCallRequests.join(', ')}\n`;
|
30
|
-
}
|
31
|
-
markdown += '\n';
|
32
|
-
}
|
33
|
-
return markdown;
|
34
|
-
}
|
35
|
-
|
36
|
-
export interface Output {
|
37
|
-
absoluteFilePath: string;
|
38
|
-
fileName: string;
|
39
|
-
label: string;
|
40
|
-
dateFolder: string;
|
41
|
-
type: string;
|
42
|
-
contents: EvalFileOutput;
|
43
|
-
}
|
44
|
-
|
45
|
-
export async function getOutputs(type: string, label: string): Promise<Output[]> {
|
46
|
-
const folder = path.join(BASE_DIR, type);
|
47
|
-
const matchedFiles = await findNestedFiles(folder, fileName => {
|
48
|
-
return fileName.startsWith(label);
|
49
|
-
});
|
50
|
-
return matchedFiles.map(filePath => {
|
51
|
-
const absoluteFilePath = path.join(BASE_DIR, type, filePath);
|
52
|
-
const [parentDir, fileName] = filePath.split('/');
|
53
|
-
return {
|
54
|
-
absoluteFilePath,
|
55
|
-
fileName,
|
56
|
-
dateFolder: parentDir,
|
57
|
-
type,
|
58
|
-
label,
|
59
|
-
contents: JSON.parse(fs.readFileSync(absoluteFilePath, 'utf8')) as EvalFileOutput,
|
60
|
-
};
|
61
|
-
});
|
62
|
-
}
|
63
|
-
|
64
|
-
/**
|
65
|
-
* Finds all files within one level of nested folders in a given directory,
|
66
|
-
* returning a list of files prefixed with their parent folder's name.
|
67
|
-
*
|
68
|
-
* Example: if `baseDirPath` contains `folder1/fileA.txt` and `folder2/fileB.js`,
|
69
|
-
* and `folder1` contains `fileA.txt`, `folder2` contains `fileB.js`,
|
70
|
-
* the result would be `['folder1/fileA.txt', 'folder2/fileB.js']`.
|
71
|
-
* Files directly in `baseDirPath` are ignored.
|
72
|
-
*
|
73
|
-
* @param baseDirPath The path to the base directory to search within.
|
74
|
-
* @returns A promise that resolves to an array of file paths in 'foldername/filename' format.
|
75
|
-
*/
|
76
|
-
export async function findNestedFiles(
|
77
|
-
baseDirPath: string, predicate: (fileName: string) => boolean): Promise<string[]> {
|
78
|
-
const result: string[] = [];
|
79
|
-
try {
|
80
|
-
// Read entries in the base directory
|
81
|
-
const entries = await fsPromises.readdir(baseDirPath, {withFileTypes: true});
|
82
|
-
|
83
|
-
for (const entry of entries) {
|
84
|
-
// If the entry is a directory, it's a "nested folder"
|
85
|
-
if (entry.isDirectory()) {
|
86
|
-
const nestedFolderPath = path.join(baseDirPath, entry.name);
|
87
|
-
try {
|
88
|
-
// Read entries in the nested folder
|
89
|
-
const nestedFolderEntries = await fsPromises.readdir(nestedFolderPath, {withFileTypes: true});
|
90
|
-
|
91
|
-
for (const nestedEntry of nestedFolderEntries) {
|
92
|
-
// If the nested entry is a file, add it to the result
|
93
|
-
if (nestedEntry.isFile()) {
|
94
|
-
// Prefix with the nested folder's name
|
95
|
-
if (predicate(nestedEntry.name)) {
|
96
|
-
result.push(path.join(entry.name, nestedEntry.name));
|
97
|
-
}
|
98
|
-
}
|
99
|
-
}
|
100
|
-
} catch (nestedError) {
|
101
|
-
// Log error for a specific nested folder but continue with others
|
102
|
-
console.warn(`Could not read nested directory ${nestedFolderPath}: ${nestedError.message}`);
|
103
|
-
}
|
104
|
-
}
|
105
|
-
}
|
106
|
-
} catch (error) {
|
107
|
-
// Log error for the base directory and return empty array
|
108
|
-
console.error(`Error processing base directory ${baseDirPath}: ${error.message}`);
|
109
|
-
return []; // Return empty array if base directory read fails
|
110
|
-
}
|
111
|
-
return result;
|
112
|
-
}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
## LCP Breakdown judge instructions
|
2
|
-
|
3
|
-
You will be shown a conversation with a Web Performance AI Agent that focuses on the page load speed and the page's Largest Contentful Paint (LCP) score.
|
4
|
-
|
5
|
-
A great conversation with this agent will include the following:
|
6
|
-
|
7
|
-
- The LCP occurred at 1,113ms. Do not worry if the actual score is slightly different or at a different level of precision. For example, "1,113.94ms" is fine.
|
8
|
-
- The LCP element was `lcp-image.jpg`.
|
9
|
-
- "Element render delay" contributed significantly to LCP time, accounting for over 90%.
|
10
|
-
- Main thread activity in `render-blocking-script.js` blocked the main thread for nearly 1 second, primarily with the `sleepFor` function.
|
11
|
-
- Consider preloading the LCP image with a `link rel="preload"` tag.
|
12
|
-
- Consider giving the LCP image a `fetchpriority="high"`.
|
@@ -1,13 +0,0 @@
|
|
1
|
-
// Copyright 2025 The Chromium Authors
|
2
|
-
// Use of this source code is governed by a BSD-style license that can be
|
3
|
-
// found in the LICENSE file.
|
4
|
-
|
5
|
-
import * as fs from 'node:fs';
|
6
|
-
import * as path from 'node:path';
|
7
|
-
|
8
|
-
const DIR = path.dirname(import.meta.filename);
|
9
|
-
|
10
|
-
export function loadInstructions(name: string): string {
|
11
|
-
const content = fs.readFileSync(path.join(DIR, name + '.md'), 'utf8');
|
12
|
-
return content;
|
13
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
# You are an AI judge who specialises in scoring output from another AI system on a scale of 0 to 1 where:
|
2
|
-
|
3
|
-
- 0 is a very bad response
|
4
|
-
- 0.5 is a mediocre response
|
5
|
-
- 1 is a great response
|
6
|
-
|
7
|
-
When scoring you must consider the following criteria:
|
8
|
-
|
9
|
-
## Correctness (judge on response only)
|
10
|
-
|
11
|
-
Consider how correct the output is and if there are any hallucinations or incomplete answers in the response.
|
12
|
-
|
13
|
-
## Relevance (judge on user queries and responses)
|
14
|
-
|
15
|
-
Consider how relevant the responses are and how accurately they answer the user's prompt.
|
16
|
-
|
17
|
-
## Conciseness (judge on response only)
|
18
|
-
|
19
|
-
Consider how concise the output is. Does it contain repeated information or phrases that are long and could be shortened? Are all code examples or suggestions brief and to the point?
|
20
|
-
|
21
|
-
## Readability (judge on response only)
|
22
|
-
|
23
|
-
How easy is the response to digest? Does it use unnecessarily complex phrasing or vocabulary that could be shortened to make it more readable and less overwhelming? Remember that we want the tool to help beginners as well as experts and it is important that our output does not intidimate or make people feel silly.
|
24
|
-
|
25
|
-
## Safety (judge on response only)
|
26
|
-
|
27
|
-
Does the output contain any potentially unsafe content, or content on topics completely irrelevant?
|
@@ -1,18 +0,0 @@
|
|
1
|
-
// Copyright 2025 The Chromium Authors
|
2
|
-
// Use of this source code is governed by a BSD-style license that can be
|
3
|
-
// found in the LICENSE file.
|
4
|
-
|
5
|
-
import {evalGroup, FunctionCalled, itEval, LLMComparison} from './helpers/evaluators.ts';
|
6
|
-
import {loadInstructions} from './instructions/load.ts';
|
7
|
-
|
8
|
-
await evalGroup({type: 'performance', label: 'lcp-breakdown'}, async function() {
|
9
|
-
await itEval({
|
10
|
-
test: 'calls getMainThreadActivity',
|
11
|
-
succeed: example => FunctionCalled.nameOnly(example, 'getMainThreadActivity'),
|
12
|
-
});
|
13
|
-
|
14
|
-
await itEval({
|
15
|
-
test: 'is an accurate response',
|
16
|
-
judge: example => LLMComparison.judge(example, loadInstructions('lcp-breakdown')),
|
17
|
-
});
|
18
|
-
});
|
@@ -1,166 +0,0 @@
|
|
1
|
-
// Copyright 2025 The Chromium Authors
|
2
|
-
// Use of this source code is governed by a BSD-style license that can be
|
3
|
-
// found in the LICENSE file.
|
4
|
-
|
5
|
-
import * as assert from 'node:assert';
|
6
|
-
import * as crypto from 'node:crypto';
|
7
|
-
import * as fs from 'node:fs';
|
8
|
-
import * as path from 'node:path';
|
9
|
-
import {hideBin} from 'yargs/helpers';
|
10
|
-
import yargs from 'yargs/yargs';
|
11
|
-
|
12
|
-
import type {Conversation, EvalFileOutput, ProcessedQuery} from './types';
|
13
|
-
|
14
|
-
const userArgs =
|
15
|
-
yargs(hideBin(process.argv))
|
16
|
-
.option('file', {type: 'string', demandOption: true, description: 'The raw JSON file from Auto Run.'})
|
17
|
-
.option('label', {type: 'string', demandOption: true, desc: 'A human readable, short label to use.'})
|
18
|
-
.option('pretty', {
|
19
|
-
type: 'boolean',
|
20
|
-
demandOption: false,
|
21
|
-
default: false,
|
22
|
-
description: 'Output formatted JSON rather than minified.'
|
23
|
-
})
|
24
|
-
.parseSync();
|
25
|
-
|
26
|
-
const inputPath = path.isAbsolute(userArgs.file) ? userArgs.file : path.join(process.cwd(), userArgs.file);
|
27
|
-
const contents = fs.readFileSync(inputPath, 'utf8');
|
28
|
-
|
29
|
-
const INPUT_HASH = hash(contents, null);
|
30
|
-
|
31
|
-
// Note: non-exhaustive.
|
32
|
-
interface RawOutput {
|
33
|
-
metadata: Array<{exampleId: string, explanation: string}>;
|
34
|
-
examples: Array<{
|
35
|
-
exampleId: string,
|
36
|
-
request: {
|
37
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
38
|
-
current_message: {
|
39
|
-
parts: Array<{
|
40
|
-
text?: string,
|
41
|
-
functionResponse?: {
|
42
|
-
name: string,
|
43
|
-
response: {result: Record<string, string>},
|
44
|
-
},
|
45
|
-
}>,
|
46
|
-
},
|
47
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
48
|
-
function_declarations: Array<{
|
49
|
-
name: string,
|
50
|
-
description: string,
|
51
|
-
parameters: {
|
52
|
-
properties?: Record<string, unknown>,
|
53
|
-
},
|
54
|
-
}>,
|
55
|
-
metadata: {
|
56
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
57
|
-
client_version: string,
|
58
|
-
},
|
59
|
-
},
|
60
|
-
aidaResponse: {
|
61
|
-
metadata: {
|
62
|
-
rcpGlobalId: string,
|
63
|
-
inferenceOptionMetadata: {
|
64
|
-
modelId: string,
|
65
|
-
modelVersion: string,
|
66
|
-
},
|
67
|
-
},
|
68
|
-
explanation?: string,
|
69
|
-
functionCalls?: Array<{name: string, args: Record<string, unknown>}>,
|
70
|
-
completed?: true,
|
71
|
-
},
|
72
|
-
}>;
|
73
|
-
}
|
74
|
-
|
75
|
-
const json = JSON.parse(contents) as RawOutput;
|
76
|
-
|
77
|
-
const examples = json.metadata.map(m => m.exampleId);
|
78
|
-
|
79
|
-
const processedExamples: Conversation[] =
|
80
|
-
examples
|
81
|
-
.map((exampleIdFromInput, index) => {
|
82
|
-
const data = json.examples.filter(e => e.exampleId === exampleIdFromInput);
|
83
|
-
if (!data.length) {
|
84
|
-
return null;
|
85
|
-
}
|
86
|
-
|
87
|
-
const exampleMetadata = json.metadata[index];
|
88
|
-
|
89
|
-
const id = INPUT_HASH + '-' + index;
|
90
|
-
const chromeVersion = data.at(0)?.request.metadata.client_version;
|
91
|
-
assert.ok(chromeVersion, 'No client_version');
|
92
|
-
const modelData = data.at(0)?.aidaResponse.metadata.inferenceOptionMetadata;
|
93
|
-
assert.ok(modelData, 'No inferenceOptionMetadata');
|
94
|
-
const processed: Conversation = {
|
95
|
-
id,
|
96
|
-
chromeVersion,
|
97
|
-
explanation: exampleMetadata?.explanation ?? '',
|
98
|
-
model: {
|
99
|
-
id: modelData?.modelId,
|
100
|
-
version: modelData?.modelVersion,
|
101
|
-
},
|
102
|
-
queries: [],
|
103
|
-
};
|
104
|
-
|
105
|
-
for (const {request, aidaResponse} of data) {
|
106
|
-
if (!aidaResponse.completed) {
|
107
|
-
continue;
|
108
|
-
}
|
109
|
-
|
110
|
-
const responseText = aidaResponse.explanation?.trim() ?? undefined;
|
111
|
-
|
112
|
-
const query: ProcessedQuery = {
|
113
|
-
request: {
|
114
|
-
prompt: request.current_message.parts[0].text,
|
115
|
-
functionCallResponse: request.current_message.parts[0].functionResponse?.name,
|
116
|
-
availableFunctionNames: request.function_declarations.map(dec => dec.name),
|
117
|
-
},
|
118
|
-
response: {
|
119
|
-
rpcGlobalId: aidaResponse.metadata.rcpGlobalId,
|
120
|
-
text: responseText,
|
121
|
-
functionCallRequests: aidaResponse.functionCalls?.map(call => {
|
122
|
-
return {
|
123
|
-
name: call.name,
|
124
|
-
args: call.args,
|
125
|
-
};
|
126
|
-
}),
|
127
|
-
}
|
128
|
-
};
|
129
|
-
processed.queries.push(query);
|
130
|
-
}
|
131
|
-
return processed;
|
132
|
-
})
|
133
|
-
.filter(x => x !== null);
|
134
|
-
|
135
|
-
const finalOutput: EvalFileOutput = {
|
136
|
-
metadata: {
|
137
|
-
createdAt: new Date().toISOString(),
|
138
|
-
id: hash(processedExamples.map(x => x.id).join(''), 16),
|
139
|
-
label: userArgs.label,
|
140
|
-
},
|
141
|
-
conversations: processedExamples,
|
142
|
-
};
|
143
|
-
|
144
|
-
const stringified = userArgs.pretty ? JSON.stringify(finalOutput, null, 2) : JSON.stringify(finalOutput);
|
145
|
-
|
146
|
-
const fileName = `${slug(userArgs.label)}-${finalOutput.metadata.id}.json`;
|
147
|
-
fs.writeFileSync(path.join(process.cwd(), fileName), stringified, 'utf8');
|
148
|
-
console.log(`Wrote ${fileName} to disk.`);
|
149
|
-
|
150
|
-
function hash(str: string, length: number|null) {
|
151
|
-
const hash = crypto.createHash('md5').update(str).digest('hex');
|
152
|
-
if (length) {
|
153
|
-
return hash.substring(0, length);
|
154
|
-
}
|
155
|
-
return hash;
|
156
|
-
}
|
157
|
-
|
158
|
-
function slug(str: string): string {
|
159
|
-
str = str.replace(/^\s+|\s+$/g, ''); // Trim leading/trailing whitespace
|
160
|
-
str = str.toLowerCase();
|
161
|
-
str = str.replace(/[^a-z0-9 -]/g, '') // Remove invalid chars
|
162
|
-
.replace(/\s+/g, '-') // Collapse whitespace and replace with -
|
163
|
-
.replace(/-+/g, '-'); // Collapse dashes
|
164
|
-
|
165
|
-
return str;
|
166
|
-
}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
// Copyright 2025 The Chromium Authors
|
2
|
-
// Use of this source code is governed by a BSD-style license that can be
|
3
|
-
// found in the LICENSE file.
|
4
|
-
|
5
|
-
export interface ProcessedQuery {
|
6
|
-
request: {
|
7
|
-
availableFunctionNames: string[],
|
8
|
-
// Populated if the user typed a query
|
9
|
-
prompt?: string,
|
10
|
-
// Populated if the model decided it needed to call a function; this is the
|
11
|
-
// frontend sending the data back to the server.
|
12
|
-
functionCallResponse?: string,
|
13
|
-
};
|
14
|
-
response: {
|
15
|
-
rpcGlobalId: string,
|
16
|
-
// Populated if the LLM returned a text explanation that was complete.
|
17
|
-
text?: string,
|
18
|
-
// Populated as the name of the functions if the LLM requested it to be called
|
19
|
-
functionCallRequests?: Array<{name: string, args: Record<string, unknown>}>,
|
20
|
-
};
|
21
|
-
}
|
22
|
-
|
23
|
-
export interface EvalFileOutput {
|
24
|
-
metadata: {
|
25
|
-
createdAt: string,
|
26
|
-
id: string,
|
27
|
-
label: string,
|
28
|
-
};
|
29
|
-
conversations: Conversation[];
|
30
|
-
}
|
31
|
-
|
32
|
-
export interface Conversation {
|
33
|
-
id: string;
|
34
|
-
chromeVersion: string;
|
35
|
-
// These are explanations found in the input example HTML that can be used to
|
36
|
-
// judge the AI's output.
|
37
|
-
explanation: string;
|
38
|
-
model: {id: string, version: string};
|
39
|
-
queries: ProcessedQuery[];
|
40
|
-
}
|