chrome-devtools-frontend 1.0.1473514 → 1.0.1506453
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/.gemini/commands/migrate-e2e-non-hosted.toml +43 -0
- package/.gemini/commands/review.toml +85 -0
- package/.geminiignore +6 -0
- package/.github/workflows/auto-close-prs.yml +30 -0
- package/.stylelintignore +0 -1
- package/.vscode/devtools-workspace-settings.json +2 -1
- package/AUTHORS +3 -0
- package/WATCHLISTS +0 -4
- package/config/gni/devtools_grd_files.gni +92 -47
- package/config/gni/devtools_image_files.gni +8 -0
- package/config/gni/i18n.gni +3 -2
- package/config/owner/COMMON_OWNERS +2 -0
- package/docs/README.md +2 -2
- package/docs/architecture_of_devtools.md +8 -8
- package/docs/committers_policy.md +2 -0
- package/docs/contributing/README.md +29 -5
- package/docs/contributing/changes.md +1 -1
- package/docs/contributing/images/quickstart-vscode-tsversion.png +0 -0
- package/docs/contributing/infrastructure.md +89 -0
- package/docs/cookbook/localization.md +86 -79
- package/docs/get_the_code.md +9 -9
- package/docs/styleguide/ux/components.md +190 -2
- package/docs/styleguide/ux/glossary.md +16 -0
- package/docs/styleguide/ux/images/context-menu-example.png +0 -0
- package/docs/ui_engineering.md +80 -19
- package/eslint.config.mjs +64 -23
- package/extension-api/ExtensionAPI.d.ts +3 -0
- package/extensions/cxx_debugging/CMakeLists.txt +0 -6
- package/extensions/cxx_debugging/e2e/MochaRootHooks.ts +3 -1
- package/extensions/cxx_debugging/e2e/TestDriver.ts +1 -2
- package/extensions/cxx_debugging/src/GlobMatch.ts +1 -1
- package/extensions/cxx_debugging/src/ModuleConfiguration.ts +2 -2
- package/extensions/cxx_debugging/third_party/llvm/README.chromium +2 -0
- package/extensions/cxx_debugging/tools/bootstrap.py +7 -0
- package/front_end/Images/generate-css-vars.js +1 -1
- package/front_end/Images/readme.md +1 -2
- package/front_end/Images/rollup.config.mjs +12 -1
- package/front_end/Images/src/baseline-high-availability.svg +17 -0
- package/front_end/Images/src/baseline-limited-availability.svg +19 -0
- package/front_end/Images/src/baseline-low-availability.svg +31 -0
- package/front_end/Images/src/bucket.svg +4 -0
- package/front_end/Images/src/label-auto.svg +3 -0
- package/front_end/Images/src/shield.svg +3 -0
- package/front_end/Images/src/smart-assistant.svg +3 -1
- package/front_end/Images/src/speculative-loads.svg +1 -0
- package/front_end/Images/src/text-analysis.svg +3 -0
- package/front_end/Tests.js +78 -230
- package/front_end/application_tokens.css +7 -1
- package/front_end/core/common/Base64.test.ts +1 -1
- package/front_end/core/common/Base64.ts +3 -3
- package/front_end/core/common/Color.ts +38 -0
- package/front_end/core/common/Debouncer.ts +3 -3
- package/front_end/core/common/EventTarget.test.ts +1 -0
- package/front_end/core/common/Gzip.test.ts +63 -0
- package/front_end/core/common/Gzip.ts +72 -0
- package/front_end/core/common/ResourceType.ts +29 -29
- package/front_end/core/common/ReturnToPanel.ts +15 -0
- package/front_end/core/common/Revealer.ts +10 -10
- package/front_end/core/common/SettingRegistration.ts +22 -22
- package/front_end/core/common/Settings.test.ts +151 -18
- package/front_end/core/common/Settings.ts +99 -8
- package/front_end/core/common/SimpleHistoryManager.ts +0 -17
- package/front_end/core/common/common.ts +4 -0
- package/front_end/core/host/AidaClient.test.ts +103 -2
- package/front_end/core/host/AidaClient.ts +161 -31
- package/front_end/core/host/InspectorFrontendHost.ts +57 -48
- package/front_end/core/host/InspectorFrontendHostAPI.ts +11 -0
- package/front_end/core/host/ResourceLoader.ts +15 -15
- package/front_end/core/host/UserMetrics.ts +27 -13
- package/front_end/core/i18n/NumberFormatter.test.ts +92 -0
- package/front_end/core/i18n/NumberFormatter.ts +9 -9
- package/front_end/core/i18n/collect-ui-strings.js +3 -3
- package/front_end/core/i18n/time-utilities.ts +3 -14
- package/front_end/core/platform/Brand.ts +8 -1
- package/front_end/core/platform/DevToolsPath.ts +1 -1
- package/front_end/core/platform/StringUtilities.test.ts +54 -1
- package/front_end/core/platform/StringUtilities.ts +34 -8
- package/front_end/core/protocol_client/InspectorBackend.ts +9 -9
- package/front_end/core/root/Runtime.ts +52 -8
- package/front_end/core/sdk/AnimationModel.test.ts +0 -24
- package/front_end/core/sdk/AnimationModel.ts +1 -95
- package/front_end/core/sdk/AutofillModel.ts +8 -2
- package/front_end/core/sdk/CPUProfilerModel.ts +2 -2
- package/front_end/core/sdk/CSSContainerQuery.test.ts +15 -0
- package/front_end/core/sdk/CSSContainerQuery.ts +3 -1
- package/front_end/core/sdk/CSSMatchedStyles.test.ts +2 -1
- package/front_end/core/sdk/CSSMatchedStyles.ts +79 -50
- package/front_end/core/sdk/CSSModel.ts +20 -7
- package/front_end/core/sdk/CSSPropertyParser.test.ts +4 -3
- package/front_end/core/sdk/CSSPropertyParser.ts +12 -4
- package/front_end/core/sdk/CSSPropertyParserMatchers.test.ts +46 -15
- package/front_end/core/sdk/CSSPropertyParserMatchers.ts +131 -58
- package/front_end/core/sdk/CSSRule.ts +44 -44
- package/front_end/core/sdk/CSSStyleSheetHeader.ts +2 -6
- package/front_end/core/sdk/ChildTargetManager.ts +1 -1
- package/front_end/core/sdk/CompilerSourceMappingContentProvider.ts +3 -8
- package/front_end/core/sdk/Connections.ts +17 -30
- package/front_end/core/sdk/ConsoleModel.ts +9 -9
- package/front_end/core/sdk/DOMModel.ts +45 -16
- package/front_end/core/sdk/DebuggerModel.test.ts +7 -4
- package/front_end/core/sdk/DebuggerModel.ts +55 -11
- package/front_end/core/sdk/EmulationModel.ts +13 -0
- package/front_end/core/sdk/EventBreakpointsModel.ts +2 -2
- package/front_end/core/sdk/IOModel.ts +28 -2
- package/front_end/core/sdk/NetworkManager.test.ts +0 -27
- package/front_end/core/sdk/NetworkManager.ts +137 -105
- package/front_end/core/sdk/NetworkRequest.ts +747 -616
- package/front_end/core/sdk/OverlayModel.ts +4 -8
- package/front_end/core/sdk/PageResourceLoader.ts +32 -13
- package/front_end/core/sdk/PreloadingModel.ts +1 -0
- package/front_end/core/sdk/RehydratingConnection.ts +13 -14
- package/front_end/core/sdk/RemoteObject.test.ts +24 -2
- package/front_end/core/sdk/RemoteObject.ts +0 -3
- package/front_end/core/sdk/Resource.ts +0 -5
- package/front_end/core/sdk/RuntimeModel.ts +2 -1
- package/front_end/core/sdk/Script.ts +2 -7
- package/front_end/core/sdk/ServerTiming.ts +12 -12
- package/front_end/core/sdk/ServiceWorkerCacheModel.ts +7 -3
- package/front_end/core/sdk/ServiceWorkerManager.ts +14 -18
- package/front_end/core/sdk/SourceMap.test.ts +55 -73
- package/front_end/core/sdk/SourceMap.ts +14 -11
- package/front_end/core/sdk/SourceMapFunctionRanges.ts +15 -9
- package/front_end/core/sdk/SourceMapScopeChainEntry.test.ts +6 -5
- package/front_end/core/sdk/SourceMapScopeChainEntry.ts +14 -14
- package/front_end/core/sdk/SourceMapScopesInfo.test.ts +232 -317
- package/front_end/core/sdk/SourceMapScopesInfo.ts +26 -25
- package/front_end/core/sdk/StorageBucketsModel.ts +4 -0
- package/front_end/core/sdk/Target.ts +2 -2
- package/front_end/core/sdk/TargetManager.ts +1 -1
- package/front_end/core/sdk/sdk-meta.ts +86 -86
- package/front_end/core/sdk/sdk.ts +0 -2
- package/front_end/design_system_tokens.css +1 -1
- package/front_end/devtools_compatibility.js +201 -177
- package/front_end/entrypoints/inspector_main/InspectorMain.ts +12 -0
- package/front_end/entrypoints/inspector_main/OutermostTargetSelector.ts +3 -3
- package/front_end/entrypoints/inspector_main/RenderingOptions.ts +1 -1
- package/front_end/entrypoints/inspector_main/inspector_main-meta.ts +1 -1
- package/front_end/entrypoints/js_app/js_app.ts +3 -3
- package/front_end/entrypoints/lighthouse_worker/LighthouseWorkerService.ts +1 -1
- package/front_end/entrypoints/main/GlobalAiButton.test.ts +132 -0
- package/front_end/entrypoints/main/GlobalAiButton.ts +141 -0
- package/front_end/entrypoints/main/MainImpl.test.ts +27 -0
- package/front_end/entrypoints/main/MainImpl.ts +179 -47
- package/front_end/entrypoints/main/globalAiButton.css +72 -0
- package/front_end/entrypoints/main/main-meta.ts +82 -42
- package/front_end/entrypoints/main/main.ts +2 -0
- package/front_end/entrypoints/node_app/NodeConnectionsPanel.ts +6 -6
- package/front_end/entrypoints/node_app/NodeMain.ts +8 -7
- package/front_end/entrypoints/node_app/node_app.ts +5 -5
- package/front_end/entrypoints/wasmparser_worker/WasmParserWorker.ts +1 -1
- package/front_end/entrypoints/worker_app/WorkerMain.ts +1 -1
- package/front_end/generated/Deprecation.ts +7 -29
- package/front_end/generated/InspectorBackendCommands.js +183 -167
- package/front_end/generated/SupportedCSSProperties.js +252 -166
- package/front_end/generated/protocol-mapping.d.ts +687 -608
- package/front_end/generated/protocol-proxy-api.d.ts +782 -672
- package/front_end/generated/protocol.ts +11862 -11509
- package/front_end/global_typings/global_defs.d.ts +5 -0
- package/front_end/legacy_test_runner/accessibility_test_runner/accessibility_test_runner.js +1 -1
- package/front_end/legacy_test_runner/application_test_runner/CacheStorageTestRunner.js +1 -1
- package/front_end/legacy_test_runner/application_test_runner/IndexedDBTestRunner.js +1 -1
- package/front_end/legacy_test_runner/application_test_runner/ResourceTreeTestRunner.js +1 -1
- package/front_end/legacy_test_runner/application_test_runner/ResourcesTestRunner.js +1 -1
- package/front_end/legacy_test_runner/application_test_runner/ServiceWorkersTestRunner.js +1 -1
- package/front_end/legacy_test_runner/application_test_runner/StorageTestRunner.js +1 -1
- package/front_end/legacy_test_runner/axe_core_test_runner/axe_core_test_runner.js +1 -1
- package/front_end/legacy_test_runner/bindings_test_runner/AutomappingTestRunner.js +1 -1
- package/front_end/legacy_test_runner/bindings_test_runner/BindingsTestRunner.js +1 -1
- package/front_end/legacy_test_runner/bindings_test_runner/IsolatedFilesystemTestRunner.js +1 -1
- package/front_end/legacy_test_runner/bindings_test_runner/OverridesTestRunner.js +1 -1
- package/front_end/legacy_test_runner/bindings_test_runner/PersistenceTestRunner.js +1 -1
- package/front_end/legacy_test_runner/console_test_runner/console_test_runner.js +20 -20
- package/front_end/legacy_test_runner/coverage_test_runner/coverage_test_runner.js +11 -11
- package/front_end/legacy_test_runner/data_grid_test_runner/data_grid_test_runner.js +1 -1
- package/front_end/legacy_test_runner/device_mode_test_runner/device_mode_test_runner.js +1 -1
- package/front_end/legacy_test_runner/elements_test_runner/EditDOMTestRunner.js +1 -1
- package/front_end/legacy_test_runner/elements_test_runner/ElementsPanelShadowSelectionOnRefreshTestRunner.js +1 -1
- package/front_end/legacy_test_runner/elements_test_runner/ElementsTestRunner.js +6 -80
- package/front_end/legacy_test_runner/elements_test_runner/SetOuterHTMLTestRunner.js +1 -1
- package/front_end/legacy_test_runner/elements_test_runner/StylesUpdateLinksTestRunner.js +1 -1
- package/front_end/legacy_test_runner/extensions_test_runner/ExtensionsNetworkTestRunner.js +1 -1
- package/front_end/legacy_test_runner/extensions_test_runner/ExtensionsTestRunner.js +1 -1
- package/front_end/legacy_test_runner/heap_profiler_test_runner/heap_profiler_test_runner.js +2 -2
- package/front_end/legacy_test_runner/layers_test_runner/layers_test_runner.js +1 -1
- package/front_end/legacy_test_runner/network_test_runner/network_test_runner.js +1 -1
- package/front_end/legacy_test_runner/performance_test_runner/TimelineDataTestRunner.js +1 -1
- package/front_end/legacy_test_runner/performance_test_runner/TimelineTestRunner.js +1 -10
- package/front_end/legacy_test_runner/sdk_test_runner/sdk_test_runner.js +1 -1
- package/front_end/legacy_test_runner/security_test_runner/security_test_runner.js +1 -1
- package/front_end/legacy_test_runner/sources_test_runner/AutocompleteTestRunner.js +1 -1
- package/front_end/legacy_test_runner/sources_test_runner/DebuggerTestRunner.js +4 -4
- package/front_end/legacy_test_runner/sources_test_runner/EditorTestRunner.js +1 -1
- package/front_end/legacy_test_runner/sources_test_runner/LiveEditTestRunner.js +1 -1
- package/front_end/legacy_test_runner/sources_test_runner/SearchTestRunner.js +1 -1
- package/front_end/legacy_test_runner/sources_test_runner/SourcesTestRunner.js +2 -2
- package/front_end/legacy_test_runner/test_runner/TestRunner.js +45 -45
- package/front_end/legacy_test_runner/test_runner/test_runner.js +4 -4
- package/front_end/models/ai_assistance/AiHistoryStorage.snapshot.txt +66 -0
- package/front_end/models/ai_assistance/AiHistoryStorage.test.ts +82 -3
- package/front_end/models/ai_assistance/AiHistoryStorage.ts +95 -6
- package/front_end/models/ai_assistance/AiUtils.ts +1 -1
- package/front_end/models/ai_assistance/ConversationHandler.test.ts +355 -0
- package/front_end/models/ai_assistance/ConversationHandler.ts +380 -0
- package/front_end/models/ai_assistance/ExtensionScope.ts +1 -4
- package/front_end/models/ai_assistance/README.md +79 -0
- package/front_end/models/ai_assistance/agents/AiAgent.test.ts +22 -1
- package/front_end/models/ai_assistance/agents/AiAgent.ts +76 -95
- package/front_end/models/ai_assistance/agents/FileAgent.test.ts +3 -2
- package/front_end/models/ai_assistance/agents/FileAgent.ts +1 -1
- package/front_end/models/ai_assistance/agents/NetworkAgent.ts +7 -7
- package/front_end/models/ai_assistance/agents/PerformanceAgent.test.ts +591 -62
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +1111 -117
- package/front_end/models/ai_assistance/agents/PerformanceAnnotationsAgent.test.ts +4 -2
- package/front_end/models/ai_assistance/agents/PerformanceAnnotationsAgent.ts +75 -5
- package/front_end/models/ai_assistance/agents/StylingAgent.test.ts +166 -507
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +125 -319
- package/front_end/models/ai_assistance/ai_assistance.ts +2 -1
- package/front_end/models/ai_assistance/data_formatters/FileFormatter.test.ts +3 -2
- package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.snapshot.txt +725 -0
- package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.test.ts +249 -274
- package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.ts +494 -83
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +556 -0
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.test.ts +92 -0
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +359 -0
- package/front_end/models/ai_assistance/debug.ts +1 -1
- package/front_end/models/ai_assistance/injected.ts +1 -1
- package/front_end/models/ai_code_completion/AiCodeCompletion.test.ts +328 -0
- package/front_end/models/ai_code_completion/AiCodeCompletion.ts +289 -0
- package/front_end/models/ai_code_completion/ai_code_completion.ts +6 -0
- package/front_end/models/ai_code_completion/debug.ts +30 -0
- package/front_end/models/autofill_manager/AutofillManager.test.ts +0 -6
- package/front_end/models/autofill_manager/AutofillManager.ts +16 -9
- package/front_end/models/bindings/CSSWorkspaceBinding.ts +0 -4
- package/front_end/models/bindings/CompilerScriptMapping.test.ts +8 -4
- package/front_end/models/bindings/CompilerScriptMapping.ts +12 -5
- package/front_end/models/bindings/DebuggerLanguagePlugins.test.ts +7 -2
- package/front_end/models/bindings/DebuggerLanguagePlugins.ts +33 -24
- package/front_end/models/bindings/DebuggerWorkspaceBinding.test.ts +95 -3
- package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +94 -21
- package/front_end/models/bindings/DefaultScriptMapping.test.ts +3 -2
- package/front_end/models/bindings/FileUtils.test.ts +1 -10
- package/front_end/models/bindings/FileUtils.ts +6 -22
- package/front_end/models/bindings/LiveLocation.ts +0 -5
- package/front_end/models/bindings/PresentationConsoleMessageHelper.test.ts +7 -2
- package/front_end/models/bindings/PresentationConsoleMessageHelper.ts +0 -4
- package/front_end/models/bindings/ResourceMapping.test.ts +7 -2
- package/front_end/models/bindings/ResourceMapping.ts +0 -4
- package/front_end/models/bindings/ResourceScriptMapping.test.ts +2 -1
- package/front_end/models/bindings/ResourceScriptMapping.ts +4 -4
- package/front_end/models/bindings/SASSSourceMapping.ts +1 -1
- package/front_end/models/bindings/StylesSourceMapping.ts +0 -5
- package/front_end/models/bindings/bindings.ts +0 -2
- package/front_end/models/breakpoints/BreakpointManager.test.ts +9 -2
- package/front_end/models/cpu_profile/CPUProfileDataModel.ts +4 -2
- package/front_end/models/elements/ElementUpdateRecord.ts +101 -0
- package/front_end/models/elements/elements.ts +9 -0
- package/front_end/models/emulation/DeviceModeModel.ts +6 -22
- package/front_end/models/emulation/EmulatedDevices.ts +12 -12
- package/front_end/models/extensions/ExtensionAPI.ts +9 -5
- package/front_end/models/extensions/ExtensionPanel.ts +5 -2
- package/front_end/models/extensions/ExtensionServer.test.ts +122 -16
- package/front_end/models/extensions/ExtensionServer.ts +114 -31
- package/front_end/models/extensions/ExtensionView.ts +1 -1
- package/front_end/models/extensions/LanguageExtensionEndpoint.ts +14 -7
- package/front_end/models/har/HARFormat.ts +1 -1
- package/front_end/models/har/Importer.test.ts +40 -0
- package/front_end/models/har/Importer.ts +35 -1
- package/front_end/models/har/Writer.test.ts +3 -2
- package/front_end/models/har/Writer.ts +2 -2
- package/front_end/models/issues_manager/BounceTrackingIssue.ts +1 -1
- package/front_end/models/issues_manager/ClientHintIssue.ts +1 -1
- package/front_end/models/issues_manager/ContentSecurityPolicyIssue.ts +5 -5
- package/front_end/models/issues_manager/CookieIssue.ts +2 -2
- package/front_end/models/issues_manager/CorsIssue.ts +3 -3
- package/front_end/models/issues_manager/CrossOriginEmbedderPolicyIssue.ts +2 -2
- package/front_end/models/issues_manager/{SelectElementAccessibilityIssue.test.ts → ElementAccessibilityIssue.test.ts} +22 -21
- package/front_end/models/issues_manager/{SelectElementAccessibilityIssue.ts → ElementAccessibilityIssue.ts} +29 -21
- package/front_end/models/issues_manager/FederatedAuthRequestIssue.ts +1 -1
- package/front_end/models/issues_manager/FederatedAuthUserInfoRequestIssue.ts +1 -1
- package/front_end/models/issues_manager/GenericIssue.ts +4 -4
- package/front_end/models/issues_manager/HeavyAdIssue.ts +1 -1
- package/front_end/models/issues_manager/Issue.ts +6 -6
- package/front_end/models/issues_manager/IssuesManager.ts +8 -3
- package/front_end/models/issues_manager/LowTextContrastIssue.ts +1 -1
- package/front_end/models/issues_manager/MarkdownIssueDescription.ts +1 -1
- package/front_end/models/issues_manager/MixedContentIssue.ts +1 -1
- package/front_end/models/issues_manager/PartitioningBlobURLIssue.ts +2 -2
- package/front_end/models/issues_manager/QuirksModeIssue.ts +1 -1
- package/front_end/models/issues_manager/SRIMessageSignatureIssue.ts +3 -3
- package/front_end/models/issues_manager/SharedArrayBufferIssue.ts +1 -1
- package/front_end/models/issues_manager/SharedDictionaryIssue.ts +1 -1
- package/front_end/models/issues_manager/UnencodedDigestIssue.test.ts +49 -0
- package/front_end/models/issues_manager/UnencodedDigestIssue.ts +88 -0
- package/front_end/models/issues_manager/descriptions/sriSignatureInputHeaderValueNotInnerList.md +1 -1
- package/front_end/models/issues_manager/descriptions/sriValidationFailedIntegrityMismatch.md +1 -3
- package/front_end/models/issues_manager/descriptions/summaryElementAccessibilityInteractiveContentSummaryDescendant.md +3 -0
- package/front_end/models/issues_manager/descriptions/unencodedDigestIncorrectDigestLength.md +12 -0
- package/front_end/models/issues_manager/descriptions/unencodedDigestIncorrectDigestType.md +17 -0
- package/front_end/models/issues_manager/descriptions/unencodedDigestMalformedDictionary.md +14 -0
- package/front_end/models/issues_manager/descriptions/unencodedDigestUnknownAlgorithm.md +15 -0
- package/front_end/models/issues_manager/descriptions/userReidentificationBlocked.md +1 -1
- package/front_end/models/issues_manager/issues_manager.ts +4 -2
- package/front_end/models/javascript_metadata/NativeFunctions.js +201 -127
- package/front_end/models/live-metrics/web-vitals-injected/OnEachInteraction.ts +1 -1
- package/front_end/models/live-metrics/web-vitals-injected/rollup.config.mjs +1 -1
- package/front_end/models/logs/NetworkLog.ts +74 -83
- package/front_end/models/logs/logs-meta.ts +4 -4
- package/front_end/models/persistence/AutomaticFileSystemManager.test.ts +0 -39
- package/front_end/models/persistence/AutomaticFileSystemManager.ts +14 -21
- package/front_end/models/persistence/EditFileSystemView.ts +6 -6
- package/front_end/models/persistence/IsolatedFileSystem.ts +27 -9
- package/front_end/models/persistence/IsolatedFileSystemManager.ts +16 -3
- package/front_end/models/persistence/NetworkPersistenceManager.ts +7 -3
- package/front_end/models/persistence/PersistenceAction.test.ts +10 -7
- package/front_end/models/persistence/PersistenceActions.ts +26 -15
- package/front_end/models/persistence/PersistenceImpl.test.ts +2 -1
- package/front_end/models/persistence/PersistenceImpl.ts +7 -4
- package/front_end/models/persistence/PersistenceUtils.ts +10 -7
- package/front_end/models/persistence/PlatformFileSystem.ts +11 -2
- package/front_end/models/persistence/WorkspaceSettingsTab.ts +6 -6
- package/front_end/models/persistence/editFileSystemView.css +17 -15
- package/front_end/models/persistence/persistence-meta.ts +10 -10
- package/front_end/models/persistence/workspaceSettingsTab.css +29 -27
- package/front_end/models/project_settings/ProjectSettingsModel.ts +2 -2
- package/front_end/models/source_map_scopes/NamesResolver.test.ts +3 -2
- package/front_end/models/source_map_scopes/NamesResolver.ts +1 -1
- package/front_end/models/source_map_scopes/ScopeChainModel.test.ts +2 -1
- package/front_end/models/stack_trace/README.md +14 -0
- package/front_end/models/stack_trace/StackTrace.ts +35 -0
- package/front_end/models/stack_trace/StackTraceImpl.test.ts +74 -0
- package/front_end/models/stack_trace/StackTraceImpl.ts +82 -0
- package/front_end/models/stack_trace/StackTraceModel.test.ts +296 -0
- package/front_end/models/stack_trace/StackTraceModel.ts +127 -0
- package/front_end/models/stack_trace/Trie.test.ts +129 -0
- package/front_end/models/stack_trace/Trie.ts +154 -0
- package/front_end/models/stack_trace/stack_trace.ts +9 -0
- package/front_end/models/stack_trace/stack_trace_impl.ts +13 -0
- package/front_end/models/text_utils/ContentProvider.ts +1 -3
- package/front_end/models/text_utils/StaticContentProvider.test.ts +1 -1
- package/front_end/models/text_utils/StaticContentProvider.ts +1 -5
- package/front_end/models/text_utils/TextUtils.ts +2 -3
- package/front_end/models/trace/LanternComputationData.ts +1 -0
- package/front_end/models/trace/ModelImpl.ts +18 -7
- package/front_end/models/trace/Processor.test.ts +15 -14
- package/front_end/models/trace/Processor.ts +49 -32
- package/front_end/models/trace/extras/ScriptDuplication.test.ts +13 -10
- package/front_end/models/trace/extras/StackTraceForEvent.test.ts +10 -8
- package/front_end/models/trace/extras/ThirdParties.ts +2 -3
- package/front_end/models/trace/extras/TraceTree.ts +7 -6
- package/front_end/models/trace/extras/extras.ts +0 -2
- package/front_end/models/trace/handlers/AnimationFramesHandler.test.ts +5 -5
- package/front_end/models/trace/handlers/AnimationFramesHandler.ts +10 -0
- package/front_end/models/trace/handlers/ExtensionTraceDataHandler.test.ts +177 -85
- package/front_end/models/trace/handlers/ExtensionTraceDataHandler.ts +28 -27
- package/front_end/models/trace/handlers/FramesHandler.test.ts +2 -7
- package/front_end/models/trace/handlers/FramesHandler.ts +46 -37
- package/front_end/models/trace/handlers/ImagePaintingHandler.test.ts +41 -0
- package/front_end/models/trace/handlers/ImagePaintingHandler.ts +44 -1
- package/front_end/models/trace/handlers/InitiatorsHandler.test.ts +62 -15
- package/front_end/models/trace/handlers/InitiatorsHandler.ts +24 -0
- package/front_end/models/trace/handlers/LayoutShiftsHandler.test.ts +6 -18
- package/front_end/models/trace/handlers/LayoutShiftsHandler.ts +21 -17
- package/front_end/models/trace/handlers/MetaHandler.test.ts +12 -0
- package/front_end/models/trace/handlers/MetaHandler.ts +5 -4
- package/front_end/models/trace/handlers/NetworkRequestsHandler.test.ts +21 -21
- package/front_end/models/trace/handlers/NetworkRequestsHandler.ts +79 -32
- package/front_end/models/trace/handlers/PageLoadMetricsHandler.test.ts +6 -18
- package/front_end/models/trace/handlers/RendererHandler.test.ts +26 -39
- package/front_end/models/trace/handlers/RendererHandler.ts +10 -17
- package/front_end/models/trace/handlers/SamplesHandler.test.ts +3 -4
- package/front_end/models/trace/handlers/SamplesHandler.ts +13 -12
- package/front_end/models/trace/handlers/ScriptsHandler.test.ts +1 -1
- package/front_end/models/trace/handlers/ScriptsHandler.ts +8 -4
- package/front_end/models/trace/handlers/SelectorStatsHandler.test.ts +1 -3
- package/front_end/models/trace/handlers/SelectorStatsHandler.ts +65 -0
- package/front_end/models/trace/handlers/UserInteractionsHandler.test.ts +4 -2
- package/front_end/models/trace/handlers/UserInteractionsHandler.ts +4 -2
- package/front_end/models/trace/handlers/UserTimingsHandler.test.ts +326 -0
- package/front_end/models/trace/handlers/UserTimingsHandler.ts +61 -24
- package/front_end/models/trace/handlers/helpers.test.ts +7 -6
- package/front_end/models/trace/handlers/helpers.ts +19 -14
- package/front_end/models/trace/handlers/types.ts +5 -1
- package/front_end/models/trace/helpers/SamplesIntegrator.test.ts +3 -3
- package/front_end/models/trace/helpers/SamplesIntegrator.ts +24 -33
- package/front_end/models/trace/helpers/SyntheticEvents.ts +2 -2
- package/front_end/models/trace/helpers/Timing.ts +66 -3
- package/front_end/models/trace/helpers/Trace.test.ts +6 -7
- package/front_end/models/trace/helpers/Trace.ts +47 -19
- package/front_end/models/trace/helpers/TreeHelpers.test.ts +0 -8
- package/front_end/models/trace/helpers/TreeHelpers.ts +1 -1
- package/front_end/models/trace/insights/CLSCulprits.test.ts +10 -7
- package/front_end/models/trace/insights/CLSCulprits.ts +85 -23
- package/front_end/models/trace/insights/Cache.ts +12 -0
- package/front_end/models/trace/insights/Common.test.ts +3 -3
- package/front_end/models/trace/insights/Common.ts +56 -22
- package/front_end/models/trace/insights/DOMSize.test.ts +4 -1
- package/front_end/models/trace/insights/DOMSize.ts +48 -1
- package/front_end/models/trace/insights/DocumentLatency.test.ts +5 -1
- package/front_end/models/trace/insights/DocumentLatency.ts +59 -4
- package/front_end/models/trace/insights/DuplicatedJavaScript.test.ts +2 -3
- package/front_end/models/trace/insights/DuplicatedJavaScript.ts +15 -4
- package/front_end/models/trace/insights/FontDisplay.test.ts +1 -1
- package/front_end/models/trace/insights/FontDisplay.ts +8 -0
- package/front_end/models/trace/insights/ForcedReflow.ts +25 -4
- package/front_end/models/trace/insights/{InteractionToNextPaint.test.ts → INPBreakdown.test.ts} +2 -2
- package/front_end/models/trace/insights/{InteractionToNextPaint.ts → INPBreakdown.ts} +63 -16
- package/front_end/models/trace/insights/ImageDelivery.ts +39 -7
- package/front_end/models/trace/insights/LCPBreakdown.test.ts +100 -0
- package/front_end/models/trace/insights/LCPBreakdown.ts +255 -0
- package/front_end/models/trace/insights/LCPDiscovery.ts +84 -8
- package/front_end/models/trace/insights/LegacyJavaScript.ts +14 -4
- package/front_end/models/trace/insights/Models.ts +2 -2
- package/front_end/models/trace/insights/ModernHTTP.test.ts +3 -2
- package/front_end/models/trace/insights/ModernHTTP.ts +35 -18
- package/front_end/models/trace/insights/NetworkDependencyTree.test.ts +10 -1
- package/front_end/models/trace/insights/NetworkDependencyTree.ts +41 -13
- package/front_end/models/trace/insights/RenderBlocking.test.ts +8 -12
- package/front_end/models/trace/insights/RenderBlocking.ts +13 -1
- package/front_end/models/trace/insights/SlowCSSSelector.test.ts +12 -34
- package/front_end/models/trace/insights/SlowCSSSelector.ts +46 -27
- package/front_end/models/trace/insights/ThirdParties.test.ts +1 -1
- package/front_end/models/trace/insights/ThirdParties.ts +36 -0
- package/front_end/models/trace/insights/Viewport.test.ts +16 -1
- package/front_end/models/trace/insights/Viewport.ts +41 -3
- package/front_end/models/trace/insights/types.ts +5 -2
- package/front_end/models/trace/lantern/core/NetworkAnalyzer.test.ts +4 -0
- package/front_end/models/trace/lantern/graph/BaseNode.ts +1 -1
- package/front_end/models/trace/lantern/simulation/SimulationTimingMap.ts +1 -1
- package/front_end/models/trace/trace.ts +0 -2
- package/front_end/models/trace/types/Configuration.ts +8 -0
- package/front_end/models/trace/types/Extensions.ts +24 -3
- package/front_end/models/trace/types/File.ts +5 -2
- package/front_end/models/trace/types/Overlays.ts +140 -0
- package/front_end/models/trace/types/Timing.ts +1 -0
- package/front_end/models/trace/types/TraceEvents.test.ts +2 -1
- package/front_end/models/trace/types/TraceEvents.ts +98 -62
- package/front_end/models/trace/types/types.ts +1 -0
- package/front_end/models/workspace/FileManager.ts +5 -3
- package/front_end/models/{bindings → workspace}/IgnoreListManager.test.ts +11 -7
- package/front_end/models/{bindings → workspace}/IgnoreListManager.ts +36 -33
- package/front_end/models/workspace/UISourceCode.test.ts +18 -17
- package/front_end/models/workspace/UISourceCode.ts +17 -7
- package/front_end/models/workspace/WorkspaceImpl.ts +1 -1
- package/front_end/models/workspace/workspace.ts +2 -0
- package/front_end/models/workspace_diff/WorkspaceDiff.test.ts +2 -0
- package/front_end/models/workspace_diff/WorkspaceDiff.ts +7 -2
- package/front_end/panels/accessibility/ARIAAttributesView.test.ts +101 -0
- package/front_end/panels/accessibility/ARIAAttributesView.ts +16 -4
- package/front_end/panels/accessibility/AXBreadcrumbsPane.ts +12 -9
- package/front_end/panels/accessibility/AccessibilityNodeView.ts +31 -28
- package/front_end/panels/accessibility/AccessibilitySidebarView.ts +8 -12
- package/front_end/panels/accessibility/AccessibilityStrings.ts +87 -87
- package/front_end/panels/accessibility/AccessibilitySubPane.ts +6 -6
- package/front_end/panels/accessibility/SourceOrderView.ts +95 -61
- package/front_end/panels/accessibility/accessibilityProperties.css +5 -0
- package/front_end/panels/ai_assistance/AiAssistancePanel.snapshot.txt +32 -0
- package/front_end/panels/ai_assistance/AiAssistancePanel.test.ts +465 -377
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +289 -339
- package/front_end/panels/ai_assistance/PatchWidget.ts +30 -29
- package/front_end/panels/ai_assistance/SelectWorkspaceDialog.test.ts +11 -1
- package/front_end/panels/ai_assistance/SelectWorkspaceDialog.ts +29 -19
- package/front_end/panels/ai_assistance/aiAssistancePanel.css +1 -0
- package/front_end/panels/ai_assistance/ai_assistance-meta.ts +40 -20
- package/front_end/panels/ai_assistance/components/ChatView.test.ts +1 -0
- package/front_end/panels/ai_assistance/components/ChatView.ts +55 -44
- package/front_end/panels/ai_assistance/components/ExploreWidget.ts +10 -24
- package/front_end/panels/ai_assistance/components/UserActionRow.test.ts +4 -0
- package/front_end/panels/ai_assistance/components/UserActionRow.ts +25 -3
- package/front_end/panels/ai_assistance/components/chatView.css +0 -9
- package/front_end/panels/ai_assistance/components/exploreWidget.css +104 -102
- package/front_end/panels/ai_assistance/components/userActionRow.css +95 -94
- package/front_end/panels/ai_assistance/selectWorkspaceDialog.css +70 -69
- package/front_end/panels/animation/AnimationGroupPreviewUI.ts +1 -10
- package/front_end/panels/animation/AnimationTimeline.test.ts +6 -13
- package/front_end/panels/animation/AnimationTimeline.ts +183 -169
- package/front_end/panels/animation/AnimationUI.ts +4 -4
- package/front_end/panels/animation/animation.ts +0 -2
- package/front_end/panels/animation/animationTimeline.css +0 -67
- package/front_end/panels/application/AppManifestView.test.ts +21 -0
- package/front_end/panels/application/AppManifestView.ts +158 -139
- package/front_end/panels/application/ApplicationPanelSidebar.test.ts +13 -8
- package/front_end/panels/application/ApplicationPanelSidebar.ts +53 -54
- package/front_end/panels/application/BackForwardCacheTreeElement.ts +1 -1
- package/front_end/panels/application/BackgroundServiceView.test.ts +4 -8
- package/front_end/panels/application/BackgroundServiceView.ts +46 -44
- package/front_end/panels/application/CookieItemsView.ts +13 -14
- package/front_end/panels/application/DOMStorageItemsView.ts +5 -5
- package/front_end/panels/application/ExtensionStorageItemsView.ts +3 -3
- package/front_end/panels/application/IndexedDBModel.test.ts +2 -2
- package/front_end/panels/application/IndexedDBModel.ts +3 -0
- package/front_end/panels/application/IndexedDBViews.ts +58 -32
- package/front_end/panels/application/InterestGroupStorageModel.ts +3 -0
- package/front_end/panels/application/InterestGroupStorageView.ts +4 -4
- package/front_end/panels/application/InterestGroupTreeElement.ts +1 -1
- package/front_end/panels/application/KeyValueStorageItemsView.ts +10 -10
- package/front_end/panels/application/OpenedWindowDetailsView.ts +18 -18
- package/front_end/panels/application/PreloadingTreeElement.ts +5 -5
- package/front_end/panels/application/ReportingApiTreeElement.ts +1 -1
- package/front_end/panels/application/ReportingApiView.test.ts +161 -30
- package/front_end/panels/application/ReportingApiView.ts +153 -50
- package/front_end/panels/application/ServiceWorkerCacheTreeElement.ts +5 -5
- package/front_end/panels/application/ServiceWorkerCacheViews.ts +20 -17
- package/front_end/panels/application/ServiceWorkerUpdateCycleView.ts +7 -7
- package/front_end/panels/application/ServiceWorkersView.ts +40 -76
- package/front_end/panels/application/SharedStorageEventsView.test.ts +2 -2
- package/front_end/panels/application/SharedStorageEventsView.ts +10 -20
- package/front_end/panels/application/SharedStorageItemsView.ts +11 -11
- package/front_end/panels/application/SharedStorageListTreeElement.ts +1 -1
- package/front_end/panels/application/SharedStorageModel.ts +3 -0
- package/front_end/panels/application/StorageBucketsTreeElement.test.ts +5 -4
- package/front_end/panels/application/StorageBucketsTreeElement.ts +4 -4
- package/front_end/panels/application/StorageItemsToolbar.ts +7 -7
- package/front_end/panels/application/StorageView.test.ts +5 -1
- package/front_end/panels/application/StorageView.ts +15 -13
- package/front_end/panels/application/application-meta.ts +7 -7
- package/front_end/panels/application/application.ts +0 -2
- package/front_end/panels/application/components/BackForwardCacheStrings.ts +5 -0
- package/front_end/panels/application/components/BackForwardCacheView.ts +11 -37
- package/front_end/panels/application/components/BounceTrackingMitigationsView.ts +1 -0
- package/front_end/panels/application/components/EndpointsGrid.ts +6 -2
- package/front_end/panels/application/components/FrameDetailsView.test.ts +4 -2
- package/front_end/panels/application/components/FrameDetailsView.ts +88 -57
- package/front_end/panels/application/components/InterestGroupAccessGrid.ts +9 -10
- package/front_end/panels/application/components/OriginTrialTreeView.ts +13 -22
- package/front_end/panels/application/components/PermissionsPolicySection.ts +11 -16
- package/front_end/panels/application/components/ProtocolHandlersView.ts +10 -10
- package/front_end/panels/application/components/ReportsGrid.ts +10 -11
- package/front_end/panels/application/components/SharedStorageAccessGrid.test.ts +4 -4
- package/front_end/panels/application/components/SharedStorageAccessGrid.ts +107 -101
- package/front_end/panels/application/components/SharedStorageMetadataView.ts +8 -8
- package/front_end/panels/application/components/StackTrace.ts +6 -12
- package/front_end/panels/application/components/StorageMetadataView.ts +22 -26
- package/front_end/panels/application/components/TrustTokensView.ts +3 -3
- package/front_end/panels/application/components/frameDetailsReportView.css +1 -1
- package/front_end/panels/application/components/sharedStorageAccessGrid.css +19 -17
- package/front_end/panels/application/preloading/PreloadingView.ts +29 -24
- package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts +9 -9
- package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.ts +22 -22
- package/front_end/panels/application/preloading/components/PreloadingDisabledInfobar.ts +28 -29
- package/front_end/panels/application/preloading/components/PreloadingGrid.ts +5 -7
- package/front_end/panels/application/preloading/components/PreloadingMismatchedHeadersGrid.test.ts +2 -2
- package/front_end/panels/application/preloading/components/PreloadingMismatchedHeadersGrid.ts +4 -4
- package/front_end/panels/application/preloading/components/PreloadingString.ts +34 -34
- package/front_end/panels/application/preloading/components/RuleSetDetailsView.test.ts +28 -1
- package/front_end/panels/application/preloading/components/RuleSetDetailsView.ts +4 -10
- package/front_end/panels/application/preloading/components/RuleSetGrid.test.ts +21 -0
- package/front_end/panels/application/preloading/components/RuleSetGrid.ts +10 -10
- package/front_end/panels/application/preloading/components/UsedPreloadingView.ts +22 -23
- package/front_end/panels/application/resourcesSidebar.css +0 -4
- package/front_end/panels/autofill/AutofillView.test.ts +188 -259
- package/front_end/panels/autofill/AutofillView.ts +207 -217
- package/front_end/panels/autofill/autofill-meta.ts +3 -4
- package/front_end/panels/autofill/autofillView.css +85 -82
- package/front_end/panels/browser_debugger/CategorizedBreakpointsSidebarPane.test.ts +179 -0
- package/front_end/panels/browser_debugger/CategorizedBreakpointsSidebarPane.ts +146 -35
- package/front_end/panels/browser_debugger/DOMBreakpointsSidebarPane.ts +27 -27
- package/front_end/panels/browser_debugger/ObjectEventListenersSidebarPane.ts +3 -2
- package/front_end/panels/browser_debugger/XHRBreakpointsSidebarPane.ts +16 -14
- package/front_end/panels/browser_debugger/browser_debugger-meta.ts +17 -17
- package/front_end/panels/browser_debugger/browser_debugger.ts +2 -0
- package/front_end/panels/changes/ChangesSidebar.ts +7 -7
- package/front_end/panels/changes/ChangesView.ts +6 -5
- package/front_end/panels/changes/CombinedDiffView.test.ts +2 -0
- package/front_end/panels/changes/CombinedDiffView.ts +2 -2
- package/front_end/panels/common/AiCodeCompletionDisclaimer.test.ts +57 -0
- package/front_end/panels/common/AiCodeCompletionDisclaimer.ts +186 -0
- package/front_end/panels/common/AiCodeCompletionSummaryToolbar.test.ts +85 -0
- package/front_end/panels/common/AiCodeCompletionSummaryToolbar.ts +139 -0
- package/front_end/panels/common/AiCodeCompletionTeaser.test.ts +98 -0
- package/front_end/panels/common/AiCodeCompletionTeaser.ts +258 -0
- package/front_end/panels/common/FreDialog.ts +139 -0
- package/front_end/panels/common/aiCodeCompletionDisclaimer.css +57 -0
- package/front_end/panels/common/aiCodeCompletionSummaryToolbar.css +101 -0
- package/front_end/panels/common/aiCodeCompletionTeaser.css +42 -0
- package/front_end/panels/common/common.css +0 -83
- package/front_end/panels/common/common.ts +8 -107
- package/front_end/panels/common/freDialog.css +88 -0
- package/front_end/panels/console/ConsoleContextSelector.ts +5 -5
- package/front_end/panels/console/ConsoleFormat.test.ts +1 -1
- package/front_end/panels/console/ConsolePanel.ts +1 -2
- package/front_end/panels/console/ConsolePinPane.ts +9 -9
- package/front_end/panels/console/ConsolePrompt.test.ts +47 -1
- package/front_end/panels/console/ConsolePrompt.ts +188 -19
- package/front_end/panels/console/ConsoleSidebar.test.ts +130 -0
- package/front_end/panels/console/ConsoleSidebar.ts +170 -207
- package/front_end/panels/console/ConsoleView.test.ts +4 -4
- package/front_end/panels/console/ConsoleView.ts +146 -54
- package/front_end/panels/console/ConsoleViewMessage.test.ts +1 -1
- package/front_end/panels/console/ConsoleViewMessage.ts +66 -71
- package/front_end/panels/console/console-meta.ts +27 -27
- package/front_end/panels/console/consoleSidebar.css +2 -0
- package/front_end/panels/console/consoleView.css +22 -15
- package/front_end/panels/console_counters/WarningErrorCounter.ts +133 -100
- package/front_end/panels/coverage/CoverageDecorationManager.test.ts +2 -1
- package/front_end/panels/coverage/CoverageListView.ts +30 -30
- package/front_end/panels/coverage/CoverageView.test.ts +3 -2
- package/front_end/panels/coverage/CoverageView.ts +35 -34
- package/front_end/panels/coverage/coverage-meta.ts +7 -7
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +49 -49
- package/front_end/panels/css_overview/CSSOverviewPanel.test.ts +3 -3
- package/front_end/panels/css_overview/CSSOverviewPanel.ts +1 -1
- package/front_end/panels/css_overview/CSSOverviewProcessingView.ts +3 -3
- package/front_end/panels/css_overview/CSSOverviewSidebarPanel.ts +3 -3
- package/front_end/panels/css_overview/CSSOverviewStartView.ts +8 -8
- package/front_end/panels/css_overview/CSSOverviewUnusedDeclarations.ts +7 -7
- package/front_end/panels/css_overview/cssOverviewCompletedView.css +289 -287
- package/front_end/panels/css_overview/cssOverviewSidebarPanel.css +43 -42
- package/front_end/panels/css_overview/cssOverviewStartView.css +68 -66
- package/front_end/panels/css_overview/css_overview-meta.ts +2 -2
- package/front_end/panels/developer_resources/DeveloperResourcesListView.ts +14 -14
- package/front_end/panels/developer_resources/DeveloperResourcesView.ts +5 -5
- package/front_end/panels/developer_resources/developerResourcesListView.css +19 -18
- package/front_end/panels/developer_resources/developerResourcesView.css +32 -30
- package/front_end/panels/elements/AccessibilityTreeView.ts +2 -1
- package/front_end/panels/elements/CSSRuleValidator.test.ts +39 -0
- package/front_end/panels/elements/CSSRuleValidator.ts +41 -37
- package/front_end/panels/elements/CSSRuleValidatorHelper.ts +8 -0
- package/front_end/panels/elements/CSSValueTraceView.test.ts +2 -1
- package/front_end/panels/elements/CSSValueTraceView.ts +1 -2
- package/front_end/panels/elements/ClassesPaneWidget.ts +5 -3
- package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +18 -9
- package/front_end/panels/elements/ComputedStyleWidget.ts +4 -3
- package/front_end/panels/elements/DOMLinkifier.ts +6 -4
- package/front_end/panels/elements/DOMTreeWidget.test.ts +58 -0
- package/front_end/panels/elements/ElementIssueUtils.ts +14 -9
- package/front_end/panels/elements/ElementStatePaneWidget.ts +3 -3
- package/front_end/panels/elements/ElementsPanel.test.ts +69 -2
- package/front_end/panels/elements/ElementsPanel.ts +105 -187
- package/front_end/panels/elements/ElementsSidebarPane.ts +1 -1
- package/front_end/panels/elements/ElementsTreeElement.test.ts +401 -0
- package/front_end/panels/elements/ElementsTreeElement.ts +434 -82
- package/front_end/panels/elements/ElementsTreeOutline.test.ts +9 -6
- package/front_end/panels/elements/ElementsTreeOutline.ts +425 -258
- package/front_end/panels/elements/ElementsTreeOutlineRenderer.ts +80 -0
- package/front_end/panels/elements/EventListenersWidget.test.ts +129 -0
- package/front_end/panels/elements/EventListenersWidget.ts +112 -78
- package/front_end/panels/elements/ImagePreviewPopover.ts +1 -1
- package/front_end/panels/elements/InspectElementModeController.test.ts +77 -2
- package/front_end/panels/elements/InspectElementModeController.ts +13 -2
- package/front_end/panels/elements/LayersWidget.ts +95 -63
- package/front_end/panels/elements/{components/LayoutPane.test.ts → LayoutPane.test.ts} +60 -49
- package/front_end/panels/elements/LayoutPane.ts +593 -0
- package/front_end/panels/elements/MarkerDecorator.ts +2 -2
- package/front_end/panels/elements/MetricsSidebarPane.ts +6 -6
- package/front_end/panels/elements/NodeStackTraceWidget.ts +16 -14
- package/front_end/panels/elements/PlatformFontsWidget.ts +8 -8
- package/front_end/panels/elements/PropertiesWidget.ts +2 -2
- package/front_end/panels/elements/PropertyRenderer.test.ts +1 -1
- package/front_end/panels/elements/PropertyRenderer.ts +8 -11
- package/front_end/panels/elements/ShortcutTreeElement.ts +157 -0
- package/front_end/panels/elements/StyleEditorWidget.ts +1 -1
- package/front_end/panels/elements/StylePropertiesSection.test.ts +10 -10
- package/front_end/panels/elements/StylePropertiesSection.ts +42 -44
- package/front_end/panels/elements/StylePropertyHighlighter.test.ts +32 -21
- package/front_end/panels/elements/StylePropertyHighlighter.ts +9 -11
- package/front_end/panels/elements/StylePropertyTreeElement.test.ts +111 -53
- package/front_end/panels/elements/StylePropertyTreeElement.ts +166 -100
- package/front_end/panels/elements/StylesSidebarPane.ts +47 -48
- package/front_end/panels/elements/TopLayerContainer.ts +8 -7
- package/front_end/panels/elements/WebCustomData.test.ts +2 -2
- package/front_end/panels/elements/components/AccessibilityTreeNode.ts +1 -1
- package/front_end/panels/elements/components/AdornerManager.ts +15 -0
- package/front_end/panels/elements/components/CSSHintDetailsView.ts +1 -1
- package/front_end/panels/elements/components/CSSPropertyDocsView.test.ts +101 -2
- package/front_end/panels/elements/components/CSSPropertyDocsView.ts +188 -5
- package/front_end/panels/elements/components/CSSPropertyIconResolver.test.ts +1 -1
- package/front_end/panels/elements/components/CSSPropertyIconResolver.ts +2 -2
- package/front_end/panels/elements/components/CSSVariableValueView.ts +5 -5
- package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +2 -7
- package/front_end/panels/elements/components/ElementsTreeExpandButton.ts +1 -1
- package/front_end/panels/elements/components/QueryContainer.ts +1 -4
- package/front_end/panels/elements/components/components.ts +0 -4
- package/front_end/panels/elements/components/cssPropertyDocsView.css +12 -1
- package/front_end/panels/elements/components/cssVariableValueView.css +1 -0
- package/front_end/panels/elements/domLinkifier.css +36 -35
- package/front_end/panels/elements/elementStatePaneWidget.css +46 -45
- package/front_end/panels/elements/elements-meta.ts +4 -13
- package/front_end/panels/elements/elements.ts +4 -3
- package/front_end/panels/elements/elementsTreeOutline.css +2 -1
- package/front_end/panels/elements/layersWidget.css +2 -11
- package/front_end/panels/elements/layoutPane.css +145 -0
- package/front_end/panels/elements/metricsSidebarPane.css +1 -1
- package/front_end/panels/elements/nodeStackTraceWidget.css +5 -4
- package/front_end/panels/elements/platformFontsWidget.css +32 -31
- package/front_end/panels/elements/stylePropertiesTreeOutline.css +2 -2
- package/front_end/panels/elements/stylesSidebarPane.css +1 -0
- package/front_end/panels/emulation/DeviceModeToolbar.ts +13 -50
- package/front_end/panels/emulation/DeviceModeView.ts +3 -4
- package/front_end/panels/emulation/InspectedPagePlaceholder.ts +1 -1
- package/front_end/panels/emulation/MediaQueryInspector.ts +4 -2
- package/front_end/panels/emulation/emulation-meta.ts +7 -7
- package/front_end/panels/event_listeners/EventListenersView.test.ts +4 -4
- package/front_end/panels/event_listeners/EventListenersView.ts +34 -31
- package/front_end/panels/explain/PromptBuilder.test.ts +7 -2
- package/front_end/panels/explain/PromptBuilder.ts +3 -1
- package/front_end/panels/explain/components/ConsoleInsight.test.ts +14 -10
- package/front_end/panels/explain/components/ConsoleInsight.ts +13 -34
- package/front_end/panels/explain/explain-meta.ts +3 -3
- package/front_end/panels/issues/AffectedBlockedByResponseView.ts +4 -4
- package/front_end/panels/issues/AffectedCookiesView.ts +6 -6
- package/front_end/panels/issues/AffectedDescendantsWithinSelectElementView.ts +6 -6
- package/front_end/panels/issues/AffectedDirectivesView.ts +9 -9
- package/front_end/panels/issues/AffectedDocumentsInQuirksModeView.ts +4 -4
- package/front_end/panels/issues/AffectedElementsView.ts +1 -1
- package/front_end/panels/issues/AffectedElementsWithLowContrastView.ts +6 -6
- package/front_end/panels/issues/AffectedHeavyAdView.ts +7 -7
- package/front_end/panels/issues/AffectedMetadataAllowedSitesView.ts +1 -1
- package/front_end/panels/issues/AffectedResourcesView.ts +6 -6
- package/front_end/panels/issues/AffectedSharedArrayBufferIssueDetailsView.ts +10 -10
- package/front_end/panels/issues/AffectedSourcesView.ts +1 -1
- package/front_end/panels/issues/AffectedTrackingSitesView.ts +1 -1
- package/front_end/panels/issues/CorsIssueDetailsView.ts +27 -27
- package/front_end/panels/issues/GenericIssueDetailsView.ts +3 -3
- package/front_end/panels/issues/HiddenIssuesRow.ts +55 -29
- package/front_end/panels/issues/IssueAggregator.ts +5 -11
- package/front_end/panels/issues/IssueKindView.ts +2 -2
- package/front_end/panels/issues/IssueView.ts +13 -13
- package/front_end/panels/issues/IssuesPane.ts +5 -4
- package/front_end/panels/issues/components/HideIssuesMenu.ts +1 -1
- package/front_end/panels/issues/issues-meta.ts +2 -2
- package/front_end/panels/js_timeline/js_timeline-meta.ts +6 -6
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +43 -41
- package/front_end/panels/layer_viewer/LayerTreeOutline.ts +7 -7
- package/front_end/panels/layer_viewer/LayerViewHost.ts +1 -1
- package/front_end/panels/layer_viewer/Layers3DView.ts +19 -13
- package/front_end/panels/layer_viewer/PaintProfilerView.ts +9 -9
- package/front_end/panels/layer_viewer/TransformController.ts +14 -8
- package/front_end/panels/layer_viewer/layer_viewer-meta.ts +9 -9
- package/front_end/panels/layers/LayersPanel.ts +3 -3
- package/front_end/panels/layers/layers-meta.ts +2 -2
- package/front_end/panels/lighthouse/LighthouseController.ts +27 -27
- package/front_end/panels/lighthouse/LighthousePanel.ts +7 -7
- package/front_end/panels/lighthouse/LighthouseProtocolService.ts +31 -33
- package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +4 -2
- package/front_end/panels/lighthouse/LighthouseReportSelector.ts +2 -4
- package/front_end/panels/lighthouse/LighthouseStartView.ts +4 -3
- package/front_end/panels/lighthouse/LighthouseStatusView.ts +31 -31
- package/front_end/panels/lighthouse/lighthouse-meta.ts +1 -1
- package/front_end/panels/lighthouse/lighthousePanel.css +9 -0
- package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorController.ts +2 -2
- package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorPane.ts +5 -6
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryHighlightChipList.ts +6 -10
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts +3 -3
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryNavigator.ts +6 -6
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryValueInterpreter.ts +2 -2
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplay.ts +6 -7
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplayUtils.ts +1 -1
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterSettings.ts +1 -1
- package/front_end/panels/linear_memory_inspector/linear_memory_inspector-meta.ts +2 -2
- package/front_end/panels/media/EventDisplayTable.ts +5 -7
- package/front_end/panels/media/EventTimelineView.ts +4 -4
- package/front_end/panels/media/MainView.test.ts +1 -1
- package/front_end/panels/media/MainView.ts +4 -4
- package/front_end/panels/media/MediaModel.ts +2 -2
- package/front_end/panels/media/PlayerDetailView.ts +8 -8
- package/front_end/panels/media/PlayerListView.ts +8 -8
- package/front_end/panels/media/PlayerMessagesView.ts +15 -17
- package/front_end/panels/media/PlayerPropertiesView.ts +66 -51
- package/front_end/panels/media/TickingFlameChart.ts +6 -5
- package/front_end/panels/media/media-meta.ts +3 -3
- package/front_end/panels/mobile_throttling/CalibrationController.ts +3 -4
- package/front_end/panels/mobile_throttling/MobileThrottlingSelector.ts +3 -3
- package/front_end/panels/mobile_throttling/NetworkPanelIndicator.ts +4 -4
- package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +189 -51
- package/front_end/panels/mobile_throttling/ThrottlingManager.test.ts +37 -1
- package/front_end/panels/mobile_throttling/ThrottlingManager.ts +114 -126
- package/front_end/panels/mobile_throttling/ThrottlingPresets.ts +8 -8
- package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.test.ts +115 -0
- package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +178 -143
- package/front_end/panels/mobile_throttling/mobile_throttling-meta.ts +6 -6
- package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +30 -36
- package/front_end/panels/network/BinaryResourceView.ts +7 -7
- package/front_end/panels/network/BlockedURLsPane.ts +18 -17
- package/front_end/panels/network/EventSourceMessagesView.ts +9 -10
- package/front_end/panels/network/NetworkConfigView.test.ts +35 -0
- package/front_end/panels/network/NetworkConfigView.ts +19 -17
- package/front_end/panels/network/NetworkDataGridNode.test.ts +19 -8
- package/front_end/panels/network/NetworkDataGridNode.ts +129 -90
- package/front_end/panels/network/NetworkItemView.test.ts +3 -3
- package/front_end/panels/network/NetworkItemView.ts +79 -79
- package/front_end/panels/network/NetworkLogView.test.ts +61 -23
- package/front_end/panels/network/NetworkLogView.ts +207 -130
- package/front_end/panels/network/NetworkLogViewColumns.ts +60 -63
- package/front_end/panels/network/NetworkManageCustomHeadersView.ts +5 -5
- package/front_end/panels/network/NetworkPanel.test.ts +3 -3
- package/front_end/panels/network/NetworkPanel.ts +69 -68
- package/front_end/panels/network/NetworkSearchScope.ts +1 -1
- package/front_end/panels/network/NetworkTimeCalculator.ts +35 -40
- package/front_end/panels/network/NetworkWaterfallColumn.ts +2 -12
- package/front_end/panels/network/RequestCookiesView.ts +10 -11
- package/front_end/panels/network/RequestHTMLView.ts +2 -2
- package/front_end/panels/network/RequestInitiatorView.ts +16 -16
- package/front_end/panels/network/RequestPayloadView.ts +12 -13
- package/front_end/panels/network/RequestPreviewView.ts +3 -4
- package/front_end/panels/network/RequestResponseView.test.ts +36 -0
- package/front_end/panels/network/RequestResponseView.ts +5 -5
- package/front_end/panels/network/RequestTimingView.ts +54 -54
- package/front_end/panels/network/ResourceChunkView.ts +13 -13
- package/front_end/panels/network/ResourceDirectSocketChunkView.ts +26 -17
- package/front_end/panels/network/ResourceWebSocketFrameView.ts +9 -9
- package/front_end/panels/network/SignedExchangeInfoView.ts +24 -24
- package/front_end/panels/network/binaryResourceView.css +1 -0
- package/front_end/panels/network/components/DirectSocketConnectionView.ts +18 -16
- package/front_end/panels/network/components/HeaderSectionRow.ts +17 -42
- package/front_end/panels/network/components/RequestHeaderSection.ts +6 -11
- package/front_end/panels/network/components/RequestHeadersView.css +2 -2
- package/front_end/panels/network/components/RequestHeadersView.test.ts +5 -2
- package/front_end/panels/network/components/RequestHeadersView.ts +24 -34
- package/front_end/panels/network/components/RequestTrustTokensView.ts +19 -23
- package/front_end/panels/network/components/ResponseHeaderSection.ts +16 -15
- package/front_end/panels/network/components/WebBundleInfoView.ts +4 -9
- package/front_end/panels/network/network-meta.ts +27 -27
- package/front_end/panels/network/networkConfigView.css +13 -6
- package/front_end/panels/network/networkLogView.css +1 -1
- package/front_end/panels/network/networkPanel.css +3 -2
- package/front_end/panels/network/requestHTMLView.css +9 -8
- package/front_end/panels/network/resourceChunkView.css +21 -28
- package/front_end/panels/performance_monitor/PerformanceMonitor.test.ts +121 -6
- package/front_end/panels/performance_monitor/PerformanceMonitor.ts +252 -168
- package/front_end/panels/performance_monitor/performanceMonitor.css +7 -9
- package/front_end/panels/performance_monitor/performance_monitor-meta.ts +7 -7
- package/front_end/panels/profiler/HeapDetachedElementsDataGrid.ts +19 -52
- package/front_end/panels/profiler/HeapDetachedElementsView.ts +9 -6
- package/front_end/panels/profiler/HeapProfileView.ts +24 -24
- package/front_end/panels/profiler/HeapProfilerPanel.ts +1 -1
- package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +20 -20
- package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +27 -27
- package/front_end/panels/profiler/HeapSnapshotProxy.ts +2 -6
- package/front_end/panels/profiler/HeapSnapshotView.ts +59 -56
- package/front_end/panels/profiler/HeapTimelineOverview.ts +1 -2
- package/front_end/panels/profiler/IsolateSelector.ts +16 -16
- package/front_end/panels/profiler/LiveHeapProfileView.ts +14 -14
- package/front_end/panels/profiler/ModuleUIStrings.ts +26 -26
- package/front_end/panels/profiler/ProfileDataGrid.ts +5 -5
- package/front_end/panels/profiler/ProfileHeader.ts +0 -9
- package/front_end/panels/profiler/ProfileLauncherView.ts +6 -6
- package/front_end/panels/profiler/ProfileSidebarTreeElement.ts +1 -1
- package/front_end/panels/profiler/ProfileView.ts +23 -20
- package/front_end/panels/profiler/ProfilesPanel.ts +9 -9
- package/front_end/panels/profiler/heapProfiler.css +8 -0
- package/front_end/panels/profiler/profiler-meta.ts +12 -12
- package/front_end/panels/protocol_monitor/JSONEditor.test.ts +2 -2
- package/front_end/panels/protocol_monitor/JSONEditor.ts +36 -19
- package/front_end/panels/protocol_monitor/ProtocolMonitor.test.ts +105 -103
- package/front_end/panels/protocol_monitor/ProtocolMonitor.ts +24 -25
- package/front_end/panels/protocol_monitor/protocolMonitor.css +15 -9
- package/front_end/panels/protocol_monitor/protocol_monitor-meta.ts +1 -1
- package/front_end/panels/recorder/RecorderController.test.ts +9 -2
- package/front_end/panels/recorder/RecorderController.ts +82 -85
- package/front_end/panels/recorder/components/CreateRecordingView.ts +2 -2
- package/front_end/panels/recorder/components/RecordingListView.test.ts +42 -53
- package/front_end/panels/recorder/components/RecordingListView.ts +141 -125
- package/front_end/panels/recorder/components/RecordingView.test.ts +73 -122
- package/front_end/panels/recorder/components/RecordingView.ts +912 -929
- package/front_end/panels/recorder/components/StepEditor.ts +13 -13
- package/front_end/panels/recorder/components/StepView.ts +23 -24
- package/front_end/panels/recorder/components/recordingListView.css +76 -75
- package/front_end/panels/recorder/components/recordingView.css +303 -308
- package/front_end/panels/recorder/components/stepView.css +197 -196
- package/front_end/panels/recorder/components/timelineSection.css +1 -1
- package/front_end/panels/recorder/injected/rollup.config.mjs +1 -1
- package/front_end/panels/recorder/injected/selectors/ARIASelector.ts +2 -2
- package/front_end/panels/recorder/injected/selectors/CSSSelector.ts +4 -4
- package/front_end/panels/recorder/injected/selectors/PierceSelector.ts +2 -2
- package/front_end/panels/recorder/injected/selectors/TextSelector.ts +2 -2
- package/front_end/panels/recorder/injected/selectors/XPath.ts +3 -3
- package/front_end/panels/recorder/models/RecorderSettings.ts +0 -1
- package/front_end/panels/recorder/models/RecordingPlayer.test.ts +48 -68
- package/front_end/panels/recorder/models/RecordingPlayer.ts +9 -9
- package/front_end/panels/recorder/models/RecordingSession.ts +3 -3
- package/front_end/panels/recorder/recorder-meta.ts +5 -5
- package/front_end/panels/recorder/recorderController.css +3 -3
- package/front_end/panels/screencast/ScreencastApp.ts +1 -1
- package/front_end/panels/screencast/ScreencastView.ts +13 -18
- package/front_end/panels/search/SearchResultsPane.ts +8 -8
- package/front_end/panels/search/SearchView.test.ts +2 -2
- package/front_end/panels/search/SearchView.ts +130 -127
- package/front_end/panels/search/searchResultsPane.css +2 -2
- package/front_end/panels/search/searchView.css +2 -2
- package/front_end/panels/security/CookieControlsView.ts +27 -27
- package/front_end/panels/security/CookieReportView.ts +40 -73
- package/front_end/panels/security/IPProtectionTreeElement.ts +21 -0
- package/front_end/panels/security/IPProtectionView.ts +179 -0
- package/front_end/panels/security/SecurityModel.ts +10 -10
- package/front_end/panels/security/SecurityPanel.test.ts +22 -0
- package/front_end/panels/security/SecurityPanel.ts +107 -107
- package/front_end/panels/security/SecurityPanelSidebar.ts +27 -11
- package/front_end/panels/security/ipProtectionView.css +109 -0
- package/front_end/panels/security/security-meta.ts +4 -4
- package/front_end/panels/security/security.ts +2 -0
- package/front_end/panels/sensors/LocationsSettingsTab.ts +32 -31
- package/front_end/panels/sensors/SensorsView.ts +50 -42
- package/front_end/panels/sensors/sensors-meta.ts +20 -20
- package/front_end/panels/settings/AISettingsTab.test.ts +19 -6
- package/front_end/panels/settings/AISettingsTab.ts +118 -72
- package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +22 -20
- package/front_end/panels/settings/KeybindsSettingsTab.ts +31 -30
- package/front_end/panels/settings/SettingsScreen.ts +19 -20
- package/front_end/panels/settings/components/SyncSection.test.ts +43 -9
- package/front_end/panels/settings/components/SyncSection.ts +63 -29
- package/front_end/panels/settings/components/syncSection.css +16 -7
- package/front_end/panels/settings/emulation/DevicesSettingsTab.ts +14 -16
- package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.test.ts +61 -0
- package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +134 -28
- package/front_end/panels/settings/emulation/components/userAgentClientHintsForm.css +19 -0
- package/front_end/panels/settings/emulation/emulation-meta.ts +2 -2
- package/front_end/panels/settings/settings-meta.ts +12 -12
- package/front_end/panels/settings/settingsScreen.css +0 -1
- package/front_end/panels/snippets/ScriptSnippetFileSystem.ts +5 -5
- package/front_end/panels/snippets/SnippetsQuickOpen.ts +4 -4
- package/front_end/panels/sources/AddSourceMapURLDialog.ts +5 -5
- package/front_end/panels/sources/AiCodeCompletionPlugin.test.ts +119 -0
- package/front_end/panels/sources/AiCodeCompletionPlugin.ts +400 -0
- package/front_end/panels/sources/AiWarningInfobarPlugin.ts +3 -3
- package/front_end/panels/sources/BreakpointEditDialog.ts +13 -11
- package/front_end/panels/sources/{components/BreakpointsView.test.ts → BreakpointsView.test.ts} +237 -225
- package/front_end/panels/sources/{components/BreakpointsView.ts → BreakpointsView.ts} +336 -301
- package/front_end/panels/sources/{components/BreakpointsViewUtils.test.ts → BreakpointsViewUtils.test.ts} +29 -29
- package/front_end/panels/sources/{components/BreakpointsViewUtils.ts → BreakpointsViewUtils.ts} +3 -3
- package/front_end/panels/sources/CSSPlugin.ts +26 -17
- package/front_end/panels/sources/CallStackSidebarPane.ts +34 -58
- package/front_end/panels/sources/CategorizedBreakpointL10n.ts +18 -18
- package/front_end/panels/sources/CoveragePlugin.test.ts +2 -0
- package/front_end/panels/sources/CoveragePlugin.ts +5 -5
- package/front_end/panels/sources/DebuggerPausedMessage.test.ts +2 -0
- package/front_end/panels/sources/DebuggerPausedMessage.ts +33 -39
- package/front_end/panels/sources/DebuggerPlugin.test.ts +4 -3
- package/front_end/panels/sources/DebuggerPlugin.ts +68 -49
- package/front_end/panels/sources/FilteredUISourceCodeListProvider.test.ts +3 -4
- package/front_end/panels/sources/FilteredUISourceCodeListProvider.ts +7 -7
- package/front_end/panels/sources/GoToLineQuickOpen.ts +15 -15
- package/front_end/panels/sources/InplaceFormatterEditorAction.ts +9 -6
- package/front_end/panels/sources/NavigatorView.test.ts +2 -1
- package/front_end/panels/sources/NavigatorView.ts +39 -35
- package/front_end/panels/sources/OpenFileQuickOpen.ts +6 -6
- package/front_end/panels/sources/OutlineQuickOpen.ts +3 -3
- package/front_end/panels/sources/ProfilePlugin.ts +3 -3
- package/front_end/panels/sources/ResourceOriginPlugin.ts +1 -1
- package/front_end/panels/sources/ScopeChainSidebarPane.ts +11 -9
- package/front_end/panels/sources/SnippetsPlugin.ts +2 -2
- package/front_end/panels/sources/SourcesNavigator.test.ts +3 -2
- package/front_end/panels/sources/SourcesNavigator.ts +32 -20
- package/front_end/panels/sources/SourcesPanel.test.ts +90 -0
- package/front_end/panels/sources/SourcesPanel.ts +71 -28
- package/front_end/panels/sources/SourcesSearchScope.ts +1 -1
- package/front_end/panels/sources/SourcesView.test.ts +5 -2
- package/front_end/panels/sources/SourcesView.ts +7 -8
- package/front_end/panels/sources/TabbedEditorContainer.ts +11 -8
- package/front_end/panels/sources/ThreadsSidebarPane.ts +7 -10
- package/front_end/panels/sources/UISourceCodeFrame.test.ts +104 -0
- package/front_end/panels/sources/UISourceCodeFrame.ts +40 -17
- package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +14 -9
- package/front_end/panels/sources/breakpointsView.css +276 -0
- package/front_end/panels/sources/components/HeadersView.ts +17 -13
- package/front_end/panels/sources/components/components.ts +0 -4
- package/front_end/panels/sources/scopeChainSidebarPane.css +1 -1
- package/front_end/panels/sources/sources-meta.ts +103 -112
- package/front_end/panels/sources/sources.ts +6 -0
- package/front_end/panels/timeline/ActiveFilters.ts +2 -1
- package/front_end/panels/timeline/AnimationsTrackAppender.ts +1 -1
- package/front_end/panels/timeline/AnnotationHelpers.test.ts +14 -8
- package/front_end/panels/timeline/AnnotationHelpers.ts +28 -23
- package/front_end/panels/timeline/AppenderUtils.ts +2 -2
- package/front_end/panels/timeline/CompatibilityTracksAppender.ts +1 -14
- package/front_end/panels/timeline/CountersGraph.test.ts +80 -0
- package/front_end/panels/timeline/CountersGraph.ts +27 -18
- package/front_end/panels/timeline/EntriesFilter.test.ts +22 -15
- package/front_end/panels/timeline/EventsTimelineTreeView.ts +4 -25
- package/front_end/panels/timeline/ExtensionTrackAppender.ts +4 -9
- package/front_end/panels/timeline/GPUTrackAppender.ts +3 -3
- package/front_end/panels/timeline/Initiators.test.ts +22 -19
- package/front_end/panels/timeline/Initiators.ts +19 -6
- package/front_end/panels/timeline/InteractionsTrackAppender.ts +6 -6
- package/front_end/panels/timeline/IsolateSelector.ts +2 -2
- package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +6 -5
- package/front_end/panels/timeline/ModificationsManager.test.ts +98 -188
- package/front_end/panels/timeline/ModificationsManager.ts +51 -48
- package/front_end/panels/timeline/NetworkTrackAppender.ts +3 -3
- package/front_end/panels/timeline/README.md +5 -13
- package/front_end/{models/trace/extras/Metadata.test.ts → panels/timeline/RecordingMetadata.test.ts} +61 -29
- package/front_end/panels/timeline/RecordingMetadata.ts +79 -0
- package/front_end/panels/timeline/SaveFileFormatter.test.ts +1 -3
- package/front_end/panels/timeline/SaveFileFormatter.ts +0 -8
- package/front_end/panels/timeline/StatusDialog.ts +12 -8
- package/front_end/panels/timeline/ThirdPartyTreeView.ts +5 -5
- package/front_end/panels/timeline/ThreadAppender.ts +29 -29
- package/front_end/panels/timeline/TimelineController.ts +14 -18
- package/front_end/panels/timeline/TimelineDetailsView.test.ts +49 -15
- package/front_end/panels/timeline/TimelineDetailsView.ts +213 -105
- package/front_end/panels/timeline/TimelineEventOverview.ts +6 -6
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.test.ts +56 -95
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +94 -65
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.test.ts +3 -62
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +10 -30
- package/front_end/panels/timeline/TimelineFlameChartView.test.ts +105 -80
- package/front_end/panels/timeline/TimelineFlameChartView.ts +107 -102
- package/front_end/panels/timeline/TimelineHistoryManager.test.ts +0 -5
- package/front_end/panels/timeline/TimelineHistoryManager.ts +8 -8
- package/front_end/panels/timeline/TimelineLoader.test.ts +4 -7
- package/front_end/panels/timeline/TimelineLoader.ts +22 -3
- package/front_end/panels/timeline/TimelineMiniMap.ts +13 -5
- package/front_end/panels/timeline/TimelinePaintProfilerView.ts +1 -1
- package/front_end/panels/timeline/TimelinePanel.test.ts +381 -117
- package/front_end/panels/timeline/TimelinePanel.ts +576 -345
- package/front_end/panels/timeline/TimelineSelectorStatsView.ts +195 -80
- package/front_end/panels/timeline/TimelineTreeView.test.ts +5 -5
- package/front_end/panels/timeline/TimelineTreeView.ts +25 -25
- package/front_end/panels/timeline/TimelineUIUtils.test.ts +58 -55
- package/front_end/panels/timeline/TimelineUIUtils.ts +159 -345
- package/front_end/panels/timeline/TimingsTrackAppender.ts +12 -7
- package/front_end/panels/timeline/TrackConfigBanner.test.ts +68 -0
- package/front_end/panels/timeline/TrackConfigBanner.ts +97 -0
- package/front_end/panels/timeline/TrackConfiguration.test.ts +3 -3
- package/front_end/panels/timeline/TrackConfiguration.ts +1 -0
- package/front_end/panels/timeline/UIDevtoolsUtils.ts +15 -15
- package/front_end/panels/timeline/components/BreadcrumbsUI.ts +4 -9
- package/front_end/panels/timeline/components/DetailsView.ts +13 -13
- package/front_end/panels/timeline/components/ExportTraceOptions.test.ts +281 -0
- package/front_end/panels/timeline/components/ExportTraceOptions.ts +262 -0
- package/front_end/panels/timeline/components/FieldSettingsDialog.test.ts +1 -1
- package/front_end/panels/timeline/components/FieldSettingsDialog.ts +2 -1
- package/front_end/panels/timeline/components/IgnoreListSetting.test.ts +5 -4
- package/front_end/panels/timeline/components/IgnoreListSetting.ts +7 -7
- package/front_end/panels/timeline/components/InteractionBreakdown.ts +3 -3
- package/front_end/panels/timeline/components/Invalidations.test.ts +2 -1
- package/front_end/panels/timeline/components/LayoutShiftDetails.test.ts +21 -11
- package/front_end/panels/timeline/components/LayoutShiftDetails.ts +325 -307
- package/front_end/panels/timeline/components/LiveMetricsView.test.ts +14 -22
- package/front_end/panels/timeline/components/LiveMetricsView.ts +1 -1
- package/front_end/panels/timeline/components/MetricCard.test.ts +2 -2
- package/front_end/panels/timeline/components/NetworkRequestDetails.test.ts +38 -44
- package/front_end/panels/timeline/components/NetworkRequestDetails.ts +318 -278
- package/front_end/panels/timeline/components/NetworkRequestTooltip.ts +8 -8
- package/front_end/panels/timeline/components/NetworkThrottlingSelector.test.ts +3 -0
- package/front_end/panels/timeline/components/OriginMap.ts +1 -1
- package/front_end/panels/timeline/components/RelatedInsightChips.test.ts +17 -31
- package/front_end/panels/timeline/components/RelatedInsightChips.ts +87 -66
- package/front_end/panels/timeline/components/Sidebar.test.ts +43 -4
- package/front_end/panels/timeline/components/Sidebar.ts +47 -20
- package/front_end/panels/timeline/components/SidebarAnnotationsTab.test.ts +47 -72
- package/front_end/panels/timeline/components/SidebarAnnotationsTab.ts +228 -218
- package/front_end/panels/timeline/components/SidebarInsightsTab.test.ts +1 -0
- package/front_end/panels/timeline/components/SidebarInsightsTab.ts +18 -54
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.test.ts +7 -53
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.ts +61 -44
- package/front_end/panels/timeline/components/TimelineSummary.ts +4 -4
- package/front_end/panels/timeline/components/Utils.ts +9 -9
- package/front_end/panels/timeline/components/components.ts +2 -0
- package/front_end/panels/timeline/components/exportTraceOptions.css +26 -0
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.test.ts +40 -16
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.ts +28 -34
- package/front_end/panels/timeline/components/insights/CLSCulprits.test.ts +5 -5
- package/front_end/panels/timeline/components/insights/CLSCulprits.ts +32 -23
- package/front_end/panels/timeline/components/insights/Cache.ts +4 -22
- package/front_end/panels/timeline/components/insights/Checklist.ts +6 -7
- package/front_end/panels/timeline/components/insights/DOMSize.ts +35 -15
- package/front_end/panels/timeline/components/insights/DocumentLatency.ts +1 -61
- package/front_end/panels/timeline/components/insights/DuplicatedJavaScript.ts +5 -17
- package/front_end/panels/timeline/components/insights/EventRef.ts +7 -9
- package/front_end/panels/timeline/components/insights/FontDisplay.ts +20 -21
- package/front_end/panels/timeline/components/insights/ForcedReflow.ts +5 -28
- package/front_end/panels/timeline/components/insights/{InteractionToNextPaint.test.ts → INPBreakdown.test.ts} +8 -5
- package/front_end/panels/timeline/components/insights/INPBreakdown.ts +70 -0
- package/front_end/panels/timeline/components/insights/ImageDelivery.ts +7 -21
- package/front_end/panels/timeline/components/insights/LCPBreakdown.ts +146 -0
- package/front_end/panels/timeline/components/insights/LCPDiscovery.ts +28 -80
- package/front_end/panels/timeline/components/insights/LegacyJavaScript.ts +3 -15
- package/front_end/panels/timeline/components/insights/ModernHTTP.ts +18 -23
- package/front_end/panels/timeline/components/insights/NetworkDependencyTree.test.ts +76 -0
- package/front_end/panels/timeline/components/insights/NetworkDependencyTree.ts +35 -29
- package/front_end/panels/timeline/components/insights/NodeLink.test.ts +113 -0
- package/front_end/panels/timeline/components/insights/NodeLink.ts +50 -10
- package/front_end/panels/timeline/components/insights/README.md +1 -1
- package/front_end/panels/timeline/components/insights/RenderBlocking.ts +4 -22
- package/front_end/panels/timeline/components/insights/SidebarInsight.ts +1 -2
- package/front_end/panels/timeline/components/insights/SlowCSSSelector.ts +16 -28
- package/front_end/panels/timeline/components/insights/Table.ts +2 -3
- package/front_end/panels/timeline/components/insights/ThirdParties.ts +7 -47
- package/front_end/panels/timeline/components/insights/Viewport.ts +0 -6
- package/front_end/panels/timeline/components/insights/insights.ts +4 -4
- package/front_end/panels/timeline/components/insights/table.css +18 -0
- package/front_end/panels/timeline/components/insights/types.ts +2 -2
- package/front_end/panels/timeline/components/layoutShiftDetails.css +99 -92
- package/front_end/panels/timeline/components/networkRequestDetails.css +110 -104
- package/front_end/panels/timeline/components/networkRequestTooltip.css +88 -83
- package/front_end/panels/timeline/components/relatedInsightChips.css +60 -58
- package/front_end/panels/timeline/components/sidebarAnnotationsTab.css +80 -78
- package/front_end/panels/timeline/components/sidebarInsightsTab.css +0 -25
- package/front_end/panels/timeline/components/sidebarSingleInsightSet.css +1 -1
- package/front_end/panels/timeline/docs/flame_chart_migration.md +2 -2
- package/front_end/panels/timeline/overlays/OverlaysImpl.test.ts +149 -42
- package/front_end/panels/timeline/overlays/OverlaysImpl.ts +218 -283
- package/front_end/panels/timeline/overlays/components/EntriesLinkOverlay.ts +1 -1
- package/front_end/panels/timeline/overlays/components/EntryLabelOverlay.ts +69 -104
- package/front_end/panels/timeline/overlays/components/TimeRangeOverlay.ts +1 -1
- package/front_end/panels/timeline/overlays/components/entryLabelOverlay.css +13 -0
- package/front_end/panels/timeline/overlays/components/timeRangeOverlay.css +2 -1
- package/front_end/panels/timeline/timeline-meta.ts +14 -14
- package/front_end/panels/timeline/timeline.ts +4 -4
- package/front_end/panels/timeline/timelineDetailsView.css +118 -0
- package/front_end/panels/timeline/timelineFlameChartView.css +18 -117
- package/front_end/panels/timeline/timelineMiniMap.css +5 -0
- package/front_end/panels/timeline/timelinePanel.css +2 -10
- package/front_end/panels/timeline/timelineTreeView.css +0 -4
- package/front_end/panels/timeline/track_appenders/CompatibilityTracksAppender.test.ts +16 -15
- package/front_end/panels/timeline/track_appenders/ExtensionTrackAppender.test.ts +6 -4
- package/front_end/panels/timeline/track_appenders/InteractionsTrackAppender.test.ts +0 -1
- package/front_end/panels/timeline/track_appenders/ThreadAppender.test.ts +34 -49
- package/front_end/panels/timeline/utils/AICallTree.test.ts +54 -120
- package/front_end/panels/timeline/utils/AICallTree.ts +31 -74
- package/front_end/panels/timeline/utils/AIContext.ts +67 -0
- package/front_end/panels/timeline/utils/EntityMapper.test.ts +5 -4
- package/front_end/panels/timeline/utils/EntityMapper.ts +3 -3
- package/front_end/panels/timeline/utils/EntryName.test.ts +3 -3
- package/front_end/panels/timeline/utils/EntryName.ts +10 -10
- package/front_end/panels/timeline/utils/EntryNodes.test.ts +137 -0
- package/front_end/panels/timeline/utils/EntryNodes.ts +107 -0
- package/front_end/panels/timeline/utils/EntryStyles.ts +110 -110
- package/front_end/panels/timeline/{EventsSerializer.test.ts → utils/EventsSerializer.test.ts} +7 -7
- package/front_end/panels/timeline/{EventsSerializer.ts → utils/EventsSerializer.ts} +1 -1
- package/front_end/panels/timeline/{FreshRecording.test.ts → utils/FreshRecording.test.ts} +5 -5
- package/front_end/panels/timeline/{FreshRecording.ts → utils/FreshRecording.ts} +1 -1
- package/front_end/panels/timeline/utils/Helpers.ts +6 -0
- package/front_end/panels/timeline/utils/IgnoreList.test.ts +7 -6
- package/front_end/panels/timeline/utils/IgnoreList.ts +6 -6
- package/front_end/panels/timeline/utils/InsightAIContext.test.ts +61 -25
- package/front_end/panels/timeline/utils/InsightAIContext.ts +102 -81
- package/front_end/panels/timeline/utils/SourceMapsResolver.test.ts +5 -4
- package/front_end/panels/timeline/utils/Treemap.ts +5 -20
- package/front_end/panels/timeline/utils/utils.ts +8 -0
- package/front_end/panels/utils/utils.test.ts +1 -7
- package/front_end/panels/utils/utils.ts +17 -21
- package/front_end/panels/web_audio/WebAudioView.test.ts +224 -11
- package/front_end/panels/web_audio/WebAudioView.ts +219 -267
- package/front_end/panels/web_audio/web_audio-meta.ts +3 -3
- package/front_end/panels/web_audio/web_audio.ts +0 -12
- package/front_end/panels/webauthn/WebauthnPane.test.ts +75 -72
- package/front_end/panels/webauthn/WebauthnPane.ts +517 -578
- package/front_end/panels/webauthn/webauthn-meta.ts +2 -2
- package/front_end/panels/webauthn/webauthnPane.css +157 -155
- package/front_end/panels/whats_new/ReleaseNoteText.ts +11 -11
- package/front_end/panels/whats_new/ReleaseNoteView.ts +2 -2
- package/front_end/panels/whats_new/releaseNoteView.css +92 -91
- package/front_end/panels/whats_new/resources/WNDT.md +6 -10
- package/front_end/panels/whats_new/whats_new-meta.ts +7 -7
- package/front_end/services/trace_bounds/TraceBounds.ts +1 -1
- package/front_end/services/tracing/ExternalRequests.test.ts +39 -0
- package/front_end/services/tracing/ExternalRequests.ts +74 -0
- package/front_end/services/tracing/PerformanceTracing.ts +5 -4
- package/front_end/{models/trace → services/tracing}/TracingManager.test.ts +9 -7
- package/front_end/{models/trace → services/tracing}/TracingManager.ts +3 -4
- package/front_end/services/tracing/tracing.ts +4 -0
- package/front_end/testing/AiAssistanceHelpers.ts +10 -8
- package/front_end/testing/DOMHelpers.ts +8 -6
- package/front_end/testing/EnvironmentHelpers.ts +21 -6
- package/front_end/testing/ExpectStubCall.ts +2 -1
- package/front_end/testing/InsightHelpers.ts +11 -4
- package/front_end/testing/MockConnection.ts +3 -2
- package/front_end/testing/MockSettingStorage.ts +23 -0
- package/front_end/testing/MutationHelpers.test.ts +1 -3
- package/front_end/testing/OverridesHelpers.ts +9 -3
- package/front_end/testing/PropertyParser.ts +1 -1
- package/front_end/testing/README.md +34 -0
- package/front_end/testing/SnapshotTester.snapshot.txt +9 -0
- package/front_end/testing/SnapshotTester.test.ts +32 -0
- package/front_end/testing/SnapshotTester.ts +150 -0
- package/front_end/testing/SourceMapEncoder.ts +1 -237
- package/front_end/testing/SourceMapHelpers.ts +3 -5
- package/front_end/testing/StackTraceHelpers.ts +47 -0
- package/front_end/testing/StyleHelpers.ts +43 -22
- package/front_end/testing/TraceHelpers.ts +135 -122
- package/front_end/testing/TraceLoader.ts +23 -65
- package/front_end/testing/test_setup.ts +31 -4
- package/front_end/ui/components/buttons/Button.ts +1 -1
- package/front_end/ui/components/buttons/FloatingButton.ts +37 -6
- package/front_end/ui/components/cards/Card.ts +2 -2
- package/front_end/ui/components/copy_to_clipboard/copyToClipboard.ts +1 -1
- package/front_end/ui/components/dialogs/ButtonDialog.test.ts +2 -6
- package/front_end/ui/components/dialogs/ButtonDialog.ts +15 -0
- package/front_end/ui/components/dialogs/Dialog.ts +68 -8
- package/front_end/ui/components/dialogs/ShortcutDialog.test.ts +1 -3
- package/front_end/ui/components/diff_view/DiffView.ts +6 -6
- package/front_end/ui/components/docs/console_insight/basic.ts +1 -1
- package/front_end/ui/components/docs/console_insight/error.ts +1 -1
- package/front_end/ui/components/docs/console_insight/loading.ts +1 -1
- package/front_end/ui/components/docs/context_menu/basic.html +45 -0
- package/front_end/ui/components/docs/context_menu/basic.ts +102 -0
- package/front_end/ui/components/docs/icon_component/basic.html +1 -3
- package/front_end/ui/components/docs/icon_component/basic.ts +1 -1
- package/front_end/ui/components/docs/recorder_recording_list_view/basic.ts +4 -1
- package/front_end/ui/components/docs/select_menu/basic.html +1 -27
- package/front_end/ui/components/docs/select_menu/basic.ts +86 -194
- package/front_end/ui/components/icon_button/Icon.ts +16 -10
- package/front_end/ui/components/icon_button/IconButton.ts +1 -3
- package/front_end/ui/components/icon_button/icon.css +73 -0
- package/front_end/ui/components/issue_counter/IssueCounter.ts +13 -14
- package/front_end/ui/components/issue_counter/IssueLinkIcon.ts +3 -3
- package/front_end/ui/components/markdown_view/MarkdownImagesMap.ts +4 -4
- package/front_end/ui/components/markdown_view/MarkdownLinksMap.ts +9 -6
- package/front_end/ui/components/markdown_view/MarkdownView.test.ts +73 -0
- package/front_end/ui/components/panel_feedback/PanelFeedback.ts +5 -11
- package/front_end/ui/components/panel_feedback/PreviewToggle.ts +4 -9
- package/front_end/ui/components/settings/SettingCheckbox.ts +3 -3
- package/front_end/ui/components/settings/SettingDeprecationWarning.ts +2 -4
- package/front_end/ui/components/snackbars/Snackbar.ts +32 -17
- package/front_end/ui/components/snackbars/snackbar.css +1 -1
- package/front_end/ui/components/spinners/Spinner.ts +50 -2
- package/front_end/ui/components/spinners/spinner.css +10 -1
- package/front_end/ui/components/srgb_overlay/SrgbOverlay.ts +0 -1
- package/front_end/ui/components/survey_link/SurveyLink.ts +4 -8
- package/front_end/ui/components/text_editor/AiCodeCompletionTeaserPlaceholder.test.ts +84 -0
- package/front_end/ui/components/text_editor/AiCodeCompletionTeaserPlaceholder.ts +83 -0
- package/front_end/ui/components/text_editor/ExecutionPositionHighlighter.ts +0 -1
- package/front_end/ui/components/text_editor/TextEditor.test.ts +72 -12
- package/front_end/ui/components/text_editor/TextEditor.ts +2 -0
- package/front_end/ui/components/text_editor/config.ts +120 -12
- package/front_end/ui/{legacy/components/inline_editor/bezierSwatch.css → components/text_editor/textEditor.css} +2 -6
- package/front_end/ui/components/text_editor/text_editor.ts +1 -0
- package/front_end/ui/components/tooltips/Tooltip.test.ts +70 -40
- package/front_end/ui/components/tooltips/Tooltip.ts +208 -33
- package/front_end/ui/components/tooltips/tooltip.css +13 -77
- package/front_end/ui/components/tree_outline/TreeOutline.ts +11 -0
- package/front_end/ui/legacy/ARIAUtils.test.ts +101 -20
- package/front_end/ui/legacy/ARIAUtils.ts +77 -49
- package/front_end/ui/legacy/ActionRegistration.test.ts +0 -2
- package/front_end/ui/legacy/ActionRegistration.ts +24 -24
- package/front_end/ui/legacy/ContextMenu.test.ts +60 -1
- package/front_end/ui/legacy/ContextMenu.ts +349 -29
- package/front_end/ui/legacy/DockController.ts +13 -7
- package/front_end/ui/legacy/EmptyWidget.ts +62 -32
- package/front_end/ui/legacy/FilterBar.ts +14 -9
- package/front_end/ui/legacy/GlassPane.ts +10 -4
- package/front_end/ui/legacy/Infobar.ts +2 -2
- package/front_end/ui/legacy/InspectorView.test.ts +99 -0
- package/front_end/ui/legacy/InspectorView.ts +71 -25
- package/front_end/ui/legacy/ListWidget.ts +9 -9
- package/front_end/ui/legacy/Panel.ts +1 -1
- package/front_end/ui/legacy/ProgressIndicator.ts +44 -41
- package/front_end/ui/legacy/RemoteDebuggingTerminatedScreen.ts +4 -4
- package/front_end/ui/legacy/ReportView.ts +1 -1
- package/front_end/ui/legacy/SearchableView.ts +24 -24
- package/front_end/ui/legacy/SettingsUI.ts +2 -2
- package/front_end/ui/legacy/ShortcutRegistry.ts +2 -1
- package/front_end/ui/legacy/SoftContextMenu.ts +23 -9
- package/front_end/ui/legacy/SoftDropDown.ts +1 -1
- package/front_end/ui/legacy/SplitWidget.test.ts +8 -0
- package/front_end/ui/legacy/SplitWidget.ts +3 -3
- package/front_end/ui/legacy/SuggestBox.ts +15 -15
- package/front_end/ui/legacy/TabbedPane.ts +27 -31
- package/front_end/ui/legacy/TargetCrashedScreen.ts +4 -4
- package/front_end/ui/legacy/TextPrompt.ts +4 -2
- package/front_end/ui/legacy/ThrottledWidget.ts +1 -1
- package/front_end/ui/legacy/Toolbar.test.ts +13 -0
- package/front_end/ui/legacy/Toolbar.ts +39 -19
- package/front_end/ui/legacy/Treeoutline.test.ts +140 -0
- package/front_end/ui/legacy/Treeoutline.ts +244 -8
- package/front_end/ui/legacy/UIUtils.test.ts +59 -0
- package/front_end/ui/legacy/UIUtils.ts +235 -25
- package/front_end/ui/legacy/View.test.ts +14 -1
- package/front_end/ui/legacy/View.ts +33 -9
- package/front_end/ui/legacy/ViewManager.test.ts +235 -0
- package/front_end/ui/legacy/ViewManager.ts +109 -15
- package/front_end/ui/legacy/ViewRegistration.ts +17 -7
- package/front_end/ui/legacy/Widget.test.ts +35 -3
- package/front_end/ui/legacy/Widget.ts +127 -16
- package/front_end/ui/legacy/XLink.ts +1 -1
- package/front_end/ui/legacy/components/color_picker/ContrastDetails.ts +36 -26
- package/front_end/ui/legacy/components/color_picker/FormatPickerContextMenu.ts +4 -8
- package/front_end/ui/legacy/components/color_picker/Spectrum.test.ts +36 -1
- package/front_end/ui/legacy/components/color_picker/Spectrum.ts +72 -49
- package/front_end/ui/legacy/components/color_picker/spectrum.css +1 -1
- package/front_end/ui/legacy/components/cookie_table/CookiesTable.ts +14 -19
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +31 -30
- package/front_end/ui/legacy/components/data_grid/DataGridElement.test.ts +19 -15
- package/front_end/ui/legacy/components/data_grid/DataGridElement.ts +15 -3
- package/front_end/ui/legacy/components/data_grid/ShowMoreDataGridNode.ts +2 -2
- package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +6 -3
- package/front_end/ui/legacy/components/data_grid/dataGrid.css +9 -3
- package/front_end/ui/legacy/components/inline_editor/BezierEditor.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/BezierUI.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/CSSAngle.test.ts +25 -25
- package/front_end/ui/legacy/components/inline_editor/CSSAngle.ts +11 -5
- package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +5 -5
- package/front_end/ui/legacy/components/inline_editor/ColorSwatch.test.ts +1 -9
- package/front_end/ui/legacy/components/inline_editor/ColorSwatch.ts +35 -20
- package/front_end/ui/legacy/components/inline_editor/FontEditor.ts +32 -31
- package/front_end/ui/legacy/components/inline_editor/FontEditorUnitConverter.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/Swatches.ts +3 -47
- package/front_end/ui/legacy/components/inline_editor/cssAngle.css +4 -5
- package/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts +2 -2
- package/front_end/ui/legacy/components/object_ui/ObjectPopoverHelper.ts +1 -1
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.test.ts +19 -1
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +31 -28
- package/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css +2 -0
- package/front_end/ui/legacy/components/perf_ui/BrickBreaker.ts +2 -2
- package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +7 -3
- package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +7 -7
- package/front_end/ui/legacy/components/perf_ui/FlameChart.test.ts +162 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +153 -99
- package/front_end/ui/legacy/components/perf_ui/NetworkPriorities.ts +5 -5
- package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +3 -3
- package/front_end/ui/legacy/components/perf_ui/PieChart.ts +1 -1
- package/front_end/ui/legacy/components/perf_ui/TimelineGrid.ts +0 -4
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +54 -6
- package/front_end/ui/legacy/components/perf_ui/perf_ui-meta.ts +6 -6
- package/front_end/ui/legacy/components/quick_open/CommandMenu.ts +29 -3
- package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +14 -5
- package/front_end/ui/legacy/components/quick_open/HelpQuickOpen.ts +2 -5
- package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +2 -0
- package/front_end/ui/legacy/components/quick_open/quick_open-meta.ts +2 -2
- package/front_end/ui/legacy/components/source_frame/FontView.ts +8 -5
- package/front_end/ui/legacy/components/source_frame/ImageView.ts +17 -29
- package/front_end/ui/legacy/components/source_frame/JSONView.ts +3 -3
- package/front_end/ui/legacy/components/source_frame/PreviewFactory.ts +2 -2
- package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.test.ts +0 -4
- package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +2 -2
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +41 -31
- package/front_end/ui/legacy/components/source_frame/StreamingContentHexView.ts +1 -1
- package/front_end/ui/legacy/components/source_frame/XMLView.ts +2 -2
- package/front_end/ui/legacy/components/source_frame/fontView.css +1 -1
- package/front_end/ui/legacy/components/source_frame/source_frame-meta.ts +9 -9
- package/front_end/ui/legacy/components/utils/ImagePreview.ts +4 -4
- package/front_end/ui/legacy/components/utils/JSPresentationUtils.test.ts +6 -5
- package/front_end/ui/legacy/components/utils/JSPresentationUtils.ts +76 -34
- package/front_end/ui/legacy/components/utils/Linkifier.test.ts +154 -2
- package/front_end/ui/legacy/components/utils/Linkifier.ts +108 -50
- package/front_end/ui/legacy/components/utils/TargetDetachedDialog.ts +2 -1
- package/front_end/ui/legacy/confirmDialog.css +1 -1
- package/front_end/ui/legacy/filter.css +12 -4
- package/front_end/ui/legacy/inspectorCommon.css +25 -20
- package/front_end/ui/legacy/remoteDebuggingTerminatedScreen.css +18 -17
- package/front_end/ui/legacy/softContextMenu.css +4 -0
- package/front_end/ui/legacy/tabbedPane.css +5 -1
- package/front_end/ui/legacy/targetCrashedScreen.css +9 -8
- package/front_end/ui/legacy/viewContainers.css +8 -0
- package/front_end/ui/visual_logging/Debugging.ts +122 -26
- package/front_end/ui/visual_logging/KnownContextValues.ts +139 -1
- package/front_end/ui/visual_logging/LoggingConfig.ts +1 -1
- package/front_end/ui/visual_logging/LoggingDriver.test.ts +74 -44
- package/front_end/ui/visual_logging/LoggingDriver.ts +3 -2
- package/front_end/ui/visual_logging/LoggingState.ts +6 -4
- package/front_end/ui/visual_logging/README.md +1 -3
- package/front_end/ui/visual_logging/visual_logging.ts +9 -0
- package/front_end/ui/visual_logging/visual_logging_debugging.png +0 -0
- package/inspector_overlay/css_grid_label_helpers.ts +4 -4
- package/inspector_overlay/highlight_flex_common.ts +2 -2
- package/inspector_overlay/loadCSS.rollup.js +2 -2
- package/inspector_overlay/main.ts +0 -4
- package/inspector_overlay/tool_highlight.css +1 -1
- package/inspector_overlay/tool_highlight.ts +7 -7
- package/package.json +32 -36
- package/scripts/add_icon_paths.py +1 -1
- package/scripts/ai_assistance/README.md +1 -0
- package/scripts/ai_assistance/auto-run/auto-run.ts +46 -6
- package/scripts/ai_assistance/auto-run/shared/comment-parsers.test.ts +2 -2
- package/scripts/ai_assistance/auto-run/shared/comment-parsers.ts +2 -2
- package/scripts/ai_assistance/auto-run/shared/puppeteer-helpers.ts +18 -15
- package/scripts/ai_assistance/auto-run/targets/elements-executor.ts +2 -0
- package/scripts/ai_assistance/auto-run/targets/elements-multimodal-executor.ts +2 -0
- package/scripts/ai_assistance/auto-run/targets/interface.ts +1 -0
- package/scripts/ai_assistance/auto-run/targets/patching-executor.ts +1 -0
- package/scripts/ai_assistance/auto-run/targets/performance-insights-executor.ts +2 -0
- package/scripts/ai_assistance/auto-run/targets/performance-main-thread-executor.ts +2 -0
- package/scripts/ai_assistance/eval/index.js +5 -1
- package/scripts/ai_assistance/package.json +2 -1
- package/scripts/ai_assistance/suite/README.md +57 -0
- package/scripts/ai_assistance/suite/helpers/evaluators.ts +183 -0
- package/scripts/ai_assistance/suite/helpers/gemini.ts +122 -0
- package/scripts/ai_assistance/suite/helpers/outputs.ts +112 -0
- package/scripts/ai_assistance/suite/instructions/lcp-breakdown.md +12 -0
- package/scripts/ai_assistance/suite/instructions/load.ts +13 -0
- package/scripts/ai_assistance/suite/instructions/scoring.md +27 -0
- package/scripts/ai_assistance/suite/performance.eval.ts +18 -0
- package/scripts/ai_assistance/suite/to_eval_output.ts +166 -0
- package/scripts/ai_assistance/suite/types.d.ts +40 -0
- package/scripts/ai_assistance/suite/upload_to_gcp.ts +104 -0
- package/scripts/ai_assistance/tsconfig.json +1 -1
- package/scripts/ai_assistance/types.d.ts +8 -3
- package/scripts/build/assert_grd.py +1 -1
- package/scripts/build/compress_files.js +9 -4
- package/scripts/build/cross_reference_ninja_and_tsc.js +5 -5
- package/scripts/build/devtools_plugin.js +9 -2
- package/scripts/build/esbuild.js +4 -1
- package/scripts/build/generate_html_entrypoint.js +5 -4
- package/scripts/build/ninja/README.md +2 -3
- package/scripts/build/ninja/bundle.gni +7 -30
- package/scripts/build/ninja/devtools_entrypoint.gni +4 -4
- package/scripts/build/ninja/devtools_pre_built.gni +2 -1
- package/scripts/build/ninja/generate_css.gni +4 -2
- package/scripts/build/ninja/vars.gni +5 -1
- package/scripts/build/ninja/write-if-changed.js +2 -2
- package/scripts/build/typescript/ts_library.py +7 -1
- package/scripts/build/typescript/typescript.gni +2 -1
- package/scripts/component_server/server.js +8 -7
- package/scripts/devtools_build.mjs +93 -26
- package/scripts/devtools_build.test.mjs +48 -48
- package/scripts/devtools_paths.py +0 -5
- package/scripts/eslint_rules/README.md +4 -2
- package/scripts/eslint_rules/lib/canvas-context-tracking.ts +1 -1
- package/scripts/eslint_rules/lib/check-css-import.ts +2 -2
- package/scripts/eslint_rules/lib/check-license-header.ts +3 -3
- package/scripts/eslint_rules/lib/check-test-definitions.ts +2 -2
- package/scripts/eslint_rules/lib/enforce-custom-element-definitions-location.ts +1 -1
- package/scripts/eslint_rules/lib/enforce-optional-properties-last.ts +1 -1
- package/scripts/eslint_rules/lib/enforce-ui-strings-as-const.ts +1 -1
- package/scripts/eslint_rules/lib/es-modules-import.ts +3 -2
- package/scripts/eslint_rules/lib/html-tagged-template.ts +2 -2
- package/scripts/eslint_rules/lib/inject-checkbox-styles.ts +36 -24
- package/scripts/eslint_rules/lib/inline-type-imports.ts +1 -1
- package/scripts/eslint_rules/lib/jslog-context-list.ts +32 -7
- package/scripts/eslint_rules/lib/no-adopted-style-sheets.ts +2 -2
- package/scripts/eslint_rules/lib/no-assert-deep-strict-equal.ts +17 -16
- package/scripts/eslint_rules/lib/no-assert-equal-boolean-null-undefined.ts +1 -1
- package/scripts/eslint_rules/lib/no-assert-equal.ts +1 -1
- package/scripts/eslint_rules/lib/no-assert-strict-equal-for-arrays-and-objects.ts +1 -1
- package/scripts/eslint_rules/lib/no-commented-out-console.ts +4 -2
- package/scripts/eslint_rules/lib/no-customized-builtin-elements.ts +1 -4
- package/scripts/eslint_rules/lib/no-imperative-dom-api/adorner.ts +5 -9
- package/scripts/eslint_rules/lib/no-imperative-dom-api/aria-utils.ts +5 -8
- package/scripts/eslint_rules/lib/no-imperative-dom-api/ast.ts +24 -1
- package/scripts/eslint_rules/lib/no-imperative-dom-api/button.ts +5 -4
- package/scripts/eslint_rules/lib/no-imperative-dom-api/class-member.ts +1 -1
- package/scripts/eslint_rules/lib/no-imperative-dom-api/data-grid.ts +23 -25
- package/scripts/eslint_rules/lib/no-imperative-dom-api/dom-api-devtools-extensions.ts +5 -9
- package/scripts/eslint_rules/lib/no-imperative-dom-api/dom-api.ts +11 -16
- package/scripts/eslint_rules/lib/no-imperative-dom-api/dom-fragment.ts +2 -2
- package/scripts/eslint_rules/lib/no-imperative-dom-api/split-widget.ts +14 -18
- package/scripts/eslint_rules/lib/no-imperative-dom-api/toolbar.ts +17 -18
- package/scripts/eslint_rules/lib/no-imperative-dom-api/ui-fragment.ts +7 -12
- package/scripts/eslint_rules/lib/no-imperative-dom-api/ui-utils.ts +7 -7
- package/scripts/eslint_rules/lib/no-imperative-dom-api/widget.ts +8 -13
- package/scripts/eslint_rules/lib/no-imperative-dom-api.ts +3 -22
- package/scripts/eslint_rules/lib/no-importing-images-from-src.ts +1 -1
- package/scripts/eslint_rules/lib/no-imports-in-directory.ts +18 -7
- package/scripts/eslint_rules/lib/no-lit-render-outside-of-view.ts +48 -37
- package/scripts/eslint_rules/lib/no-new-lit-element-components.ts +5 -2
- package/scripts/eslint_rules/lib/no-underscored-properties.ts +36 -28
- package/scripts/eslint_rules/lib/prefer-assert-instance-of.ts +24 -20
- package/scripts/eslint_rules/lib/prefer-assert-is-ok.ts +54 -45
- package/scripts/eslint_rules/lib/prefer-assert-length-of.ts +24 -17
- package/scripts/eslint_rules/lib/prefer-assert-strict-equal.ts +22 -16
- package/scripts/eslint_rules/lib/prefer-private-class-members.ts +11 -4
- package/scripts/eslint_rules/lib/prefer-sinon-assert.ts +37 -29
- package/scripts/eslint_rules/lib/prefer-url-string.ts +1 -1
- package/scripts/eslint_rules/lib/utils/lit.ts +26 -9
- package/scripts/eslint_rules/lib/validate-timing-types.ts +330 -0
- package/scripts/eslint_rules/rules-dir.mjs +4 -1
- package/scripts/eslint_rules/tests/check-license-header.test.ts +8 -8
- package/scripts/eslint_rules/tests/check-test-definitions.test.ts +0 -10
- package/scripts/eslint_rules/tests/enforce-optional-properties-last.test.ts +1 -1
- package/scripts/eslint_rules/tests/inject-checkbox-styles.test.ts +49 -0
- package/scripts/eslint_rules/tests/no-imports-in-directory.test.ts +20 -5
- package/scripts/eslint_rules/tests/no-lit-render-outside-of-view.test.ts +60 -10
- package/scripts/eslint_rules/tests/no-new-lit-element-components.test.ts +4 -0
- package/scripts/eslint_rules/tests/prefer-private-class-members.test.ts +2 -2
- package/scripts/eslint_rules/tests/utils/RuleTester.ts +19 -1
- package/scripts/eslint_rules/tests/utils.test.ts +1 -1
- package/scripts/eslint_rules/tests/validate-timing-types.test.ts +289 -0
- package/scripts/eslint_rules/tsconfig.json +3 -2
- package/scripts/extract_bugs.ts +2 -3
- package/scripts/javascript_natives/helpers.js +9 -9
- package/scripts/migration/e2e_non_hosted_gemini.mjs +102 -0
- package/scripts/migration/web-tests-esm/rename-legacy-global.mjs +1 -1
- package/scripts/npm_test.js +1 -1
- package/scripts/protocol_typescript/protocol_dts_generator.ts +27 -16
- package/scripts/protocol_typescript/protocol_schema.d.ts +9 -4
- package/scripts/reformat-clang-js-ts.js +1 -1
- package/scripts/run_build.mjs +14 -2
- package/scripts/run_start.mjs +6 -3
- package/scripts/scaffold/scaffold-widget.js +7 -7
- package/scripts/scaffold/templates/WidgetTemplate.ts.txt +1 -1
- package/scripts/tools/update_goldens.py +143 -168
- package/scripts/tsconfig.json +2 -1
- package/scripts/whitespaces.txt +1 -1
- package/front_end/core/sdk/SourceMapScopes.test.ts +0 -507
- package/front_end/core/sdk/SourceMapScopes.ts +0 -472
- package/front_end/models/ai_assistance/agents/PerformanceInsightsAgent.test.ts +0 -448
- package/front_end/models/ai_assistance/agents/PerformanceInsightsAgent.ts +0 -498
- package/front_end/models/trace/extras/FetchNodes.test.ts +0 -261
- package/front_end/models/trace/extras/FetchNodes.ts +0 -254
- package/front_end/models/trace/extras/Metadata.ts +0 -79
- package/front_end/models/trace/insights/LCPPhases.test.ts +0 -71
- package/front_end/models/trace/insights/LCPPhases.ts +0 -222
- package/front_end/panels/animation/AnimationScreenshotPopover.ts +0 -65
- package/front_end/panels/animation/animationScreenshotPopover.css +0 -18
- package/front_end/panels/application/ReportingApiReportsView.test.ts +0 -117
- package/front_end/panels/application/ReportingApiReportsView.ts +0 -88
- package/front_end/panels/elements/ElementsTreeElementHighlighter.test.ts +0 -51
- package/front_end/panels/elements/ElementsTreeElementHighlighter.ts +0 -107
- package/front_end/panels/elements/components/LayoutPane.ts +0 -515
- package/front_end/panels/elements/components/LayoutPaneUtils.ts +0 -41
- package/front_end/panels/elements/components/layoutPane.css +0 -168
- package/front_end/panels/sources/components/breakpointsView.css +0 -275
- package/front_end/panels/timeline/components/insights/InteractionToNextPaint.ts +0 -118
- package/front_end/panels/timeline/components/insights/LCPPhases.ts +0 -256
- package/front_end/panels/web_audio/AudioContextContentBuilder.ts +0 -113
- package/front_end/panels/web_audio/AudioContextSelector.ts +0 -140
- package/front_end/panels/web_audio/audioContextSelector.css +0 -20
- package/front_end/panels/web_audio/graph_visualizer/EdgeView.ts +0 -80
- package/front_end/panels/web_audio/graph_visualizer/GraphManager.ts +0 -46
- package/front_end/panels/web_audio/graph_visualizer/GraphStyle.ts +0 -96
- package/front_end/panels/web_audio/graph_visualizer/GraphView.ts +0 -197
- package/front_end/panels/web_audio/graph_visualizer/NodeRendererUtility.ts +0 -43
- package/front_end/panels/web_audio/graph_visualizer/NodeView.ts +0 -258
- package/front_end/panels/web_audio/graph_visualizer/graph_visualizer.ts +0 -19
- package/front_end/ui/components/docs/recorder_recording_view/basic.html +0 -20
- package/front_end/ui/components/docs/recorder_recording_view/basic.ts +0 -99
- package/front_end/ui/legacy/inspectorViewTabbedPane.css +0 -13
- package/inspector_overlay/debug/tool_distances.html +0 -25
- package/inspector_overlay/tool_distances.ts +0 -125
- package/scripts/eslint_rules/lib/no-it-screenshot-only-or-repeat.ts +0 -47
- package/scripts/eslint_rules/lib/no-screenshot-test-outside-perf-panel.ts +0 -77
- package/scripts/eslint_rules/lib/screenshot-assertion-in-it-screenshot.ts +0 -110
- package/scripts/eslint_rules/lib/single-screenshot-assertion-per-test.ts +0 -85
- package/scripts/eslint_rules/tests/no-it-screenshot-only-or-repeat.test.ts +0 -34
- package/scripts/eslint_rules/tests/no-screenshot-test-outside-perf-panel.test.ts +0 -99
- package/scripts/eslint_rules/tests/screenshot-assertion-in-it-screenshot.test.ts +0 -79
- package/scripts/eslint_rules/tests/single-screenshot-assertion-per-test.test.ts +0 -97
- package/scripts/tools/update_goldens_unittest.py +0 -88
- package/scripts/tools/update_goldens_v2.py +0 -68
- package/scripts/watch_build.js +0 -230
- /package/front_end/panels/recorder/models/{RecorderShorcutHelper.test.ts → RecorderShortcutHelper.test.ts} +0 -0
@@ -51,6 +51,23 @@ export namespace ProtocolMapping {
|
|
51
51
|
* events afterwards if enabled and recording.
|
52
52
|
*/
|
53
53
|
'BackgroundService.backgroundServiceEventReceived': [Protocol.BackgroundService.BackgroundServiceEventReceivedEvent];
|
54
|
+
/**
|
55
|
+
* Event for when a GATT operation of |type| to the peripheral with |address|
|
56
|
+
* happened.
|
57
|
+
*/
|
58
|
+
'BluetoothEmulation.gattOperationReceived': [Protocol.BluetoothEmulation.GattOperationReceivedEvent];
|
59
|
+
/**
|
60
|
+
* Event for when a characteristic operation of |type| to the characteristic
|
61
|
+
* respresented by |characteristicId| happened. |data| and |writeType| is
|
62
|
+
* expected to exist when |type| is write.
|
63
|
+
*/
|
64
|
+
'BluetoothEmulation.characteristicOperationReceived': [Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent];
|
65
|
+
/**
|
66
|
+
* Event for when a descriptor operation of |type| to the descriptor
|
67
|
+
* respresented by |descriptorId| happened. |data| is expected to exist when
|
68
|
+
* |type| is write.
|
69
|
+
*/
|
70
|
+
'BluetoothEmulation.descriptorOperationReceived': [Protocol.BluetoothEmulation.DescriptorOperationReceivedEvent];
|
54
71
|
/**
|
55
72
|
* Fired when page is about to start a download.
|
56
73
|
*/
|
@@ -161,10 +178,40 @@ export namespace ProtocolMapping {
|
|
161
178
|
'DOMStorage.domStorageItemRemoved': [Protocol.DOMStorage.DomStorageItemRemovedEvent];
|
162
179
|
'DOMStorage.domStorageItemUpdated': [Protocol.DOMStorage.DomStorageItemUpdatedEvent];
|
163
180
|
'DOMStorage.domStorageItemsCleared': [Protocol.DOMStorage.DomStorageItemsClearedEvent];
|
181
|
+
/**
|
182
|
+
* A device request opened a user prompt to select a device. Respond with the
|
183
|
+
* selectPrompt or cancelPrompt command.
|
184
|
+
*/
|
185
|
+
'DeviceAccess.deviceRequestPrompted': [Protocol.DeviceAccess.DeviceRequestPromptedEvent];
|
164
186
|
/**
|
165
187
|
* Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
|
166
188
|
*/
|
167
189
|
'Emulation.virtualTimeBudgetExpired': [];
|
190
|
+
'FedCm.dialogShown': [Protocol.FedCm.DialogShownEvent];
|
191
|
+
/**
|
192
|
+
* Triggered when a dialog is closed, either by user action, JS abort,
|
193
|
+
* or a command below.
|
194
|
+
*/
|
195
|
+
'FedCm.dialogClosed': [Protocol.FedCm.DialogClosedEvent];
|
196
|
+
/**
|
197
|
+
* Issued when the domain is enabled and the request URL matches the
|
198
|
+
* specified filter. The request is paused until the client responds
|
199
|
+
* with one of continueRequest, failRequest or fulfillRequest.
|
200
|
+
* The stage of the request can be determined by presence of responseErrorReason
|
201
|
+
* and responseStatusCode -- the request is at the response stage if either
|
202
|
+
* of these fields is present and in the request stage otherwise.
|
203
|
+
* Redirect responses and subsequent requests are reported similarly to regular
|
204
|
+
* responses and requests. Redirect responses may be distinguished by the value
|
205
|
+
* of `responseStatusCode` (which is one of 301, 302, 303, 307, 308) along with
|
206
|
+
* presence of the `location` header. Requests resulting from a redirect will
|
207
|
+
* have `redirectedRequestId` field set.
|
208
|
+
*/
|
209
|
+
'Fetch.requestPaused': [Protocol.Fetch.RequestPausedEvent];
|
210
|
+
/**
|
211
|
+
* Issued when the domain is enabled with handleAuthRequests set to true.
|
212
|
+
* The request is paused until client responds with continueWithAuth.
|
213
|
+
*/
|
214
|
+
'Fetch.authRequired': [Protocol.Fetch.AuthRequiredEvent];
|
168
215
|
/**
|
169
216
|
* Emitted only when `Input.setInterceptDrags` is enabled. Use this data with `Input.dispatchDragEvent` to
|
170
217
|
* restore normal drag and drop behavior.
|
@@ -188,6 +235,30 @@ export namespace ProtocolMapping {
|
|
188
235
|
* Issued when new message was logged.
|
189
236
|
*/
|
190
237
|
'Log.entryAdded': [Protocol.Log.EntryAddedEvent];
|
238
|
+
/**
|
239
|
+
* This can be called multiple times, and can be used to set / override /
|
240
|
+
* remove player properties. A null propValue indicates removal.
|
241
|
+
*/
|
242
|
+
'Media.playerPropertiesChanged': [Protocol.Media.PlayerPropertiesChangedEvent];
|
243
|
+
/**
|
244
|
+
* Send events as a list, allowing them to be batched on the browser for less
|
245
|
+
* congestion. If batched, events must ALWAYS be in chronological order.
|
246
|
+
*/
|
247
|
+
'Media.playerEventsAdded': [Protocol.Media.PlayerEventsAddedEvent];
|
248
|
+
/**
|
249
|
+
* Send a list of any messages that need to be delivered.
|
250
|
+
*/
|
251
|
+
'Media.playerMessagesLogged': [Protocol.Media.PlayerMessagesLoggedEvent];
|
252
|
+
/**
|
253
|
+
* Send a list of any errors that need to be delivered.
|
254
|
+
*/
|
255
|
+
'Media.playerErrorsRaised': [Protocol.Media.PlayerErrorsRaisedEvent];
|
256
|
+
/**
|
257
|
+
* Called whenever a player is created, or when a new agent joins and receives
|
258
|
+
* a list of active players. If an agent is restored, it will receive one
|
259
|
+
* event for each active player.
|
260
|
+
*/
|
261
|
+
'Media.playerCreated': [Protocol.Media.PlayerCreatedEvent];
|
191
262
|
/**
|
192
263
|
* Fired when data chunk was received over the network.
|
193
264
|
*/
|
@@ -507,8 +578,7 @@ export namespace ProtocolMapping {
|
|
507
578
|
*/
|
508
579
|
'Page.windowOpen': [Protocol.Page.WindowOpenEvent];
|
509
580
|
/**
|
510
|
-
* Issued for every compilation cache generated.
|
511
|
-
* if Page.setGenerateCompilationCache is enabled.
|
581
|
+
* Issued for every compilation cache generated.
|
512
582
|
*/
|
513
583
|
'Page.compilationCacheProduced': [Protocol.Page.CompilationCacheProducedEvent];
|
514
584
|
/**
|
@@ -519,6 +589,27 @@ export namespace ProtocolMapping {
|
|
519
589
|
* Sent when a performance timeline event is added. See reportPerformanceTimeline method.
|
520
590
|
*/
|
521
591
|
'PerformanceTimeline.timelineEventAdded': [Protocol.PerformanceTimeline.TimelineEventAddedEvent];
|
592
|
+
/**
|
593
|
+
* Upsert. Currently, it is only emitted when a rule set added.
|
594
|
+
*/
|
595
|
+
'Preload.ruleSetUpdated': [Protocol.Preload.RuleSetUpdatedEvent];
|
596
|
+
'Preload.ruleSetRemoved': [Protocol.Preload.RuleSetRemovedEvent];
|
597
|
+
/**
|
598
|
+
* Fired when a preload enabled state is updated.
|
599
|
+
*/
|
600
|
+
'Preload.preloadEnabledStateUpdated': [Protocol.Preload.PreloadEnabledStateUpdatedEvent];
|
601
|
+
/**
|
602
|
+
* Fired when a prefetch attempt is updated.
|
603
|
+
*/
|
604
|
+
'Preload.prefetchStatusUpdated': [Protocol.Preload.PrefetchStatusUpdatedEvent];
|
605
|
+
/**
|
606
|
+
* Fired when a prerender attempt is updated.
|
607
|
+
*/
|
608
|
+
'Preload.prerenderStatusUpdated': [Protocol.Preload.PrerenderStatusUpdatedEvent];
|
609
|
+
/**
|
610
|
+
* Send a list of sources for all preloading attempts in a document.
|
611
|
+
*/
|
612
|
+
'Preload.preloadingAttemptSourcesUpdated': [Protocol.Preload.PreloadingAttemptSourcesUpdatedEvent];
|
522
613
|
/**
|
523
614
|
* There is a certificate error. If overriding certificate errors is enabled, then it should be
|
524
615
|
* handled with the `handleCertificateError` command. Note: this event does not fire if the
|
@@ -585,6 +676,7 @@ export namespace ProtocolMapping {
|
|
585
676
|
'Storage.attributionReportingSourceRegistered': [Protocol.Storage.AttributionReportingSourceRegisteredEvent];
|
586
677
|
'Storage.attributionReportingTriggerRegistered': [Protocol.Storage.AttributionReportingTriggerRegisteredEvent];
|
587
678
|
'Storage.attributionReportingReportSent': [Protocol.Storage.AttributionReportingReportSentEvent];
|
679
|
+
'Storage.attributionReportingVerboseDebugReportSent': [Protocol.Storage.AttributionReportingVerboseDebugReportSentEvent];
|
588
680
|
/**
|
589
681
|
* Issued when attached to target because of auto-attach or `attachToTarget` command.
|
590
682
|
*/
|
@@ -631,25 +723,6 @@ export namespace ProtocolMapping {
|
|
631
723
|
* delivered via dataCollected events.
|
632
724
|
*/
|
633
725
|
'Tracing.tracingComplete': [Protocol.Tracing.TracingCompleteEvent];
|
634
|
-
/**
|
635
|
-
* Issued when the domain is enabled and the request URL matches the
|
636
|
-
* specified filter. The request is paused until the client responds
|
637
|
-
* with one of continueRequest, failRequest or fulfillRequest.
|
638
|
-
* The stage of the request can be determined by presence of responseErrorReason
|
639
|
-
* and responseStatusCode -- the request is at the response stage if either
|
640
|
-
* of these fields is present and in the request stage otherwise.
|
641
|
-
* Redirect responses and subsequent requests are reported similarly to regular
|
642
|
-
* responses and requests. Redirect responses may be distinguished by the value
|
643
|
-
* of `responseStatusCode` (which is one of 301, 302, 303, 307, 308) along with
|
644
|
-
* presence of the `location` header. Requests resulting from a redirect will
|
645
|
-
* have `redirectedRequestId` field set.
|
646
|
-
*/
|
647
|
-
'Fetch.requestPaused': [Protocol.Fetch.RequestPausedEvent];
|
648
|
-
/**
|
649
|
-
* Issued when the domain is enabled with handleAuthRequests set to true.
|
650
|
-
* The request is paused until client responds with continueWithAuth.
|
651
|
-
*/
|
652
|
-
'Fetch.authRequired': [Protocol.Fetch.AuthRequiredEvent];
|
653
726
|
/**
|
654
727
|
* Notifies that a new BaseAudioContext has been created.
|
655
728
|
*/
|
@@ -720,79 +793,6 @@ export namespace ProtocolMapping {
|
|
720
793
|
* Triggered when a credential is used in a webauthn assertion.
|
721
794
|
*/
|
722
795
|
'WebAuthn.credentialAsserted': [Protocol.WebAuthn.CredentialAssertedEvent];
|
723
|
-
/**
|
724
|
-
* This can be called multiple times, and can be used to set / override /
|
725
|
-
* remove player properties. A null propValue indicates removal.
|
726
|
-
*/
|
727
|
-
'Media.playerPropertiesChanged': [Protocol.Media.PlayerPropertiesChangedEvent];
|
728
|
-
/**
|
729
|
-
* Send events as a list, allowing them to be batched on the browser for less
|
730
|
-
* congestion. If batched, events must ALWAYS be in chronological order.
|
731
|
-
*/
|
732
|
-
'Media.playerEventsAdded': [Protocol.Media.PlayerEventsAddedEvent];
|
733
|
-
/**
|
734
|
-
* Send a list of any messages that need to be delivered.
|
735
|
-
*/
|
736
|
-
'Media.playerMessagesLogged': [Protocol.Media.PlayerMessagesLoggedEvent];
|
737
|
-
/**
|
738
|
-
* Send a list of any errors that need to be delivered.
|
739
|
-
*/
|
740
|
-
'Media.playerErrorsRaised': [Protocol.Media.PlayerErrorsRaisedEvent];
|
741
|
-
/**
|
742
|
-
* Called whenever a player is created, or when a new agent joins and receives
|
743
|
-
* a list of active players. If an agent is restored, it will receive the full
|
744
|
-
* list of player ids and all events again.
|
745
|
-
*/
|
746
|
-
'Media.playersCreated': [Protocol.Media.PlayersCreatedEvent];
|
747
|
-
/**
|
748
|
-
* A device request opened a user prompt to select a device. Respond with the
|
749
|
-
* selectPrompt or cancelPrompt command.
|
750
|
-
*/
|
751
|
-
'DeviceAccess.deviceRequestPrompted': [Protocol.DeviceAccess.DeviceRequestPromptedEvent];
|
752
|
-
/**
|
753
|
-
* Upsert. Currently, it is only emitted when a rule set added.
|
754
|
-
*/
|
755
|
-
'Preload.ruleSetUpdated': [Protocol.Preload.RuleSetUpdatedEvent];
|
756
|
-
'Preload.ruleSetRemoved': [Protocol.Preload.RuleSetRemovedEvent];
|
757
|
-
/**
|
758
|
-
* Fired when a preload enabled state is updated.
|
759
|
-
*/
|
760
|
-
'Preload.preloadEnabledStateUpdated': [Protocol.Preload.PreloadEnabledStateUpdatedEvent];
|
761
|
-
/**
|
762
|
-
* Fired when a prefetch attempt is updated.
|
763
|
-
*/
|
764
|
-
'Preload.prefetchStatusUpdated': [Protocol.Preload.PrefetchStatusUpdatedEvent];
|
765
|
-
/**
|
766
|
-
* Fired when a prerender attempt is updated.
|
767
|
-
*/
|
768
|
-
'Preload.prerenderStatusUpdated': [Protocol.Preload.PrerenderStatusUpdatedEvent];
|
769
|
-
/**
|
770
|
-
* Send a list of sources for all preloading attempts in a document.
|
771
|
-
*/
|
772
|
-
'Preload.preloadingAttemptSourcesUpdated': [Protocol.Preload.PreloadingAttemptSourcesUpdatedEvent];
|
773
|
-
'FedCm.dialogShown': [Protocol.FedCm.DialogShownEvent];
|
774
|
-
/**
|
775
|
-
* Triggered when a dialog is closed, either by user action, JS abort,
|
776
|
-
* or a command below.
|
777
|
-
*/
|
778
|
-
'FedCm.dialogClosed': [Protocol.FedCm.DialogClosedEvent];
|
779
|
-
/**
|
780
|
-
* Event for when a GATT operation of |type| to the peripheral with |address|
|
781
|
-
* happened.
|
782
|
-
*/
|
783
|
-
'BluetoothEmulation.gattOperationReceived': [Protocol.BluetoothEmulation.GattOperationReceivedEvent];
|
784
|
-
/**
|
785
|
-
* Event for when a characteristic operation of |type| to the characteristic
|
786
|
-
* respresented by |characteristicId| happened. |data| and |writeType| is
|
787
|
-
* expected to exist when |type| is write.
|
788
|
-
*/
|
789
|
-
'BluetoothEmulation.characteristicOperationReceived': [Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent];
|
790
|
-
/**
|
791
|
-
* Event for when a descriptor operation of |type| to the descriptor
|
792
|
-
* respresented by |descriptorId| happened. |data| is expected to exist when
|
793
|
-
* |type| is write.
|
794
|
-
*/
|
795
|
-
'BluetoothEmulation.descriptorOperationReceived': [Protocol.BluetoothEmulation.DescriptorOperationReceivedEvent];
|
796
796
|
/**
|
797
797
|
* Fired when breakpoint is resolved to an actual script and location.
|
798
798
|
* Deprecated in favor of `resolvedBreakpoints` in the `scriptParsed` event.
|
@@ -1049,56 +1049,6 @@ export namespace ProtocolMapping {
|
|
1049
1049
|
paramsType: [];
|
1050
1050
|
returnType: Protocol.Audits.CheckFormsIssuesResponse;
|
1051
1051
|
};
|
1052
|
-
/**
|
1053
|
-
* Installs an unpacked extension from the filesystem similar to
|
1054
|
-
* --load-extension CLI flags. Returns extension ID once the extension
|
1055
|
-
* has been installed. Available if the client is connected using the
|
1056
|
-
* --remote-debugging-pipe flag and the --enable-unsafe-extension-debugging
|
1057
|
-
* flag is set.
|
1058
|
-
*/
|
1059
|
-
'Extensions.loadUnpacked': {
|
1060
|
-
paramsType: [Protocol.Extensions.LoadUnpackedRequest];
|
1061
|
-
returnType: Protocol.Extensions.LoadUnpackedResponse;
|
1062
|
-
};
|
1063
|
-
/**
|
1064
|
-
* Uninstalls an unpacked extension (others not supported) from the profile.
|
1065
|
-
* Available if the client is connected using the --remote-debugging-pipe flag
|
1066
|
-
* and the --enable-unsafe-extension-debugging.
|
1067
|
-
*/
|
1068
|
-
'Extensions.uninstall': {
|
1069
|
-
paramsType: [Protocol.Extensions.UninstallRequest];
|
1070
|
-
returnType: void;
|
1071
|
-
};
|
1072
|
-
/**
|
1073
|
-
* Gets data from extension storage in the given `storageArea`. If `keys` is
|
1074
|
-
* specified, these are used to filter the result.
|
1075
|
-
*/
|
1076
|
-
'Extensions.getStorageItems': {
|
1077
|
-
paramsType: [Protocol.Extensions.GetStorageItemsRequest];
|
1078
|
-
returnType: Protocol.Extensions.GetStorageItemsResponse;
|
1079
|
-
};
|
1080
|
-
/**
|
1081
|
-
* Removes `keys` from extension storage in the given `storageArea`.
|
1082
|
-
*/
|
1083
|
-
'Extensions.removeStorageItems': {
|
1084
|
-
paramsType: [Protocol.Extensions.RemoveStorageItemsRequest];
|
1085
|
-
returnType: void;
|
1086
|
-
};
|
1087
|
-
/**
|
1088
|
-
* Clears extension storage in the given `storageArea`.
|
1089
|
-
*/
|
1090
|
-
'Extensions.clearStorageItems': {
|
1091
|
-
paramsType: [Protocol.Extensions.ClearStorageItemsRequest];
|
1092
|
-
returnType: void;
|
1093
|
-
};
|
1094
|
-
/**
|
1095
|
-
* Sets `values` in extension storage in the given `storageArea`. The provided `values`
|
1096
|
-
* will be merged with existing values in the storage area.
|
1097
|
-
*/
|
1098
|
-
'Extensions.setStorageItems': {
|
1099
|
-
paramsType: [Protocol.Extensions.SetStorageItemsRequest];
|
1100
|
-
returnType: void;
|
1101
|
-
};
|
1102
1052
|
/**
|
1103
1053
|
* Trigger autofill on a form identified by the fieldId.
|
1104
1054
|
* If the field and related form cannot be autofilled, returns an error.
|
@@ -1157,35 +1107,155 @@ export namespace ProtocolMapping {
|
|
1157
1107
|
returnType: void;
|
1158
1108
|
};
|
1159
1109
|
/**
|
1160
|
-
*
|
1110
|
+
* Enable the BluetoothEmulation domain.
|
1161
1111
|
*/
|
1162
|
-
'
|
1163
|
-
paramsType: [Protocol.
|
1112
|
+
'BluetoothEmulation.enable': {
|
1113
|
+
paramsType: [Protocol.BluetoothEmulation.EnableRequest];
|
1164
1114
|
returnType: void;
|
1165
1115
|
};
|
1166
1116
|
/**
|
1167
|
-
*
|
1117
|
+
* Set the state of the simulated central.
|
1168
1118
|
*/
|
1169
|
-
'
|
1170
|
-
paramsType: [Protocol.
|
1119
|
+
'BluetoothEmulation.setSimulatedCentralState': {
|
1120
|
+
paramsType: [Protocol.BluetoothEmulation.SetSimulatedCentralStateRequest];
|
1171
1121
|
returnType: void;
|
1172
1122
|
};
|
1173
1123
|
/**
|
1174
|
-
*
|
1124
|
+
* Disable the BluetoothEmulation domain.
|
1175
1125
|
*/
|
1176
|
-
'
|
1177
|
-
paramsType: [
|
1126
|
+
'BluetoothEmulation.disable': {
|
1127
|
+
paramsType: [];
|
1178
1128
|
returnType: void;
|
1179
1129
|
};
|
1180
1130
|
/**
|
1181
|
-
*
|
1131
|
+
* Simulates a peripheral with |address|, |name| and |knownServiceUuids|
|
1132
|
+
* that has already been connected to the system.
|
1182
1133
|
*/
|
1183
|
-
'
|
1184
|
-
paramsType: [Protocol.
|
1134
|
+
'BluetoothEmulation.simulatePreconnectedPeripheral': {
|
1135
|
+
paramsType: [Protocol.BluetoothEmulation.SimulatePreconnectedPeripheralRequest];
|
1185
1136
|
returnType: void;
|
1186
1137
|
};
|
1187
1138
|
/**
|
1188
|
-
*
|
1139
|
+
* Simulates an advertisement packet described in |entry| being received by
|
1140
|
+
* the central.
|
1141
|
+
*/
|
1142
|
+
'BluetoothEmulation.simulateAdvertisement': {
|
1143
|
+
paramsType: [Protocol.BluetoothEmulation.SimulateAdvertisementRequest];
|
1144
|
+
returnType: void;
|
1145
|
+
};
|
1146
|
+
/**
|
1147
|
+
* Simulates the response code from the peripheral with |address| for a
|
1148
|
+
* GATT operation of |type|. The |code| value follows the HCI Error Codes from
|
1149
|
+
* Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
|
1150
|
+
*/
|
1151
|
+
'BluetoothEmulation.simulateGATTOperationResponse': {
|
1152
|
+
paramsType: [Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest];
|
1153
|
+
returnType: void;
|
1154
|
+
};
|
1155
|
+
/**
|
1156
|
+
* Simulates the response from the characteristic with |characteristicId| for a
|
1157
|
+
* characteristic operation of |type|. The |code| value follows the Error
|
1158
|
+
* Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
|
1159
|
+
* The |data| is expected to exist when simulating a successful read operation
|
1160
|
+
* response.
|
1161
|
+
*/
|
1162
|
+
'BluetoothEmulation.simulateCharacteristicOperationResponse': {
|
1163
|
+
paramsType: [Protocol.BluetoothEmulation.SimulateCharacteristicOperationResponseRequest];
|
1164
|
+
returnType: void;
|
1165
|
+
};
|
1166
|
+
/**
|
1167
|
+
* Simulates the response from the descriptor with |descriptorId| for a
|
1168
|
+
* descriptor operation of |type|. The |code| value follows the Error
|
1169
|
+
* Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
|
1170
|
+
* The |data| is expected to exist when simulating a successful read operation
|
1171
|
+
* response.
|
1172
|
+
*/
|
1173
|
+
'BluetoothEmulation.simulateDescriptorOperationResponse': {
|
1174
|
+
paramsType: [Protocol.BluetoothEmulation.SimulateDescriptorOperationResponseRequest];
|
1175
|
+
returnType: void;
|
1176
|
+
};
|
1177
|
+
/**
|
1178
|
+
* Adds a service with |serviceUuid| to the peripheral with |address|.
|
1179
|
+
*/
|
1180
|
+
'BluetoothEmulation.addService': {
|
1181
|
+
paramsType: [Protocol.BluetoothEmulation.AddServiceRequest];
|
1182
|
+
returnType: Protocol.BluetoothEmulation.AddServiceResponse;
|
1183
|
+
};
|
1184
|
+
/**
|
1185
|
+
* Removes the service respresented by |serviceId| from the simulated central.
|
1186
|
+
*/
|
1187
|
+
'BluetoothEmulation.removeService': {
|
1188
|
+
paramsType: [Protocol.BluetoothEmulation.RemoveServiceRequest];
|
1189
|
+
returnType: void;
|
1190
|
+
};
|
1191
|
+
/**
|
1192
|
+
* Adds a characteristic with |characteristicUuid| and |properties| to the
|
1193
|
+
* service represented by |serviceId|.
|
1194
|
+
*/
|
1195
|
+
'BluetoothEmulation.addCharacteristic': {
|
1196
|
+
paramsType: [Protocol.BluetoothEmulation.AddCharacteristicRequest];
|
1197
|
+
returnType: Protocol.BluetoothEmulation.AddCharacteristicResponse;
|
1198
|
+
};
|
1199
|
+
/**
|
1200
|
+
* Removes the characteristic respresented by |characteristicId| from the
|
1201
|
+
* simulated central.
|
1202
|
+
*/
|
1203
|
+
'BluetoothEmulation.removeCharacteristic': {
|
1204
|
+
paramsType: [Protocol.BluetoothEmulation.RemoveCharacteristicRequest];
|
1205
|
+
returnType: void;
|
1206
|
+
};
|
1207
|
+
/**
|
1208
|
+
* Adds a descriptor with |descriptorUuid| to the characteristic respresented
|
1209
|
+
* by |characteristicId|.
|
1210
|
+
*/
|
1211
|
+
'BluetoothEmulation.addDescriptor': {
|
1212
|
+
paramsType: [Protocol.BluetoothEmulation.AddDescriptorRequest];
|
1213
|
+
returnType: Protocol.BluetoothEmulation.AddDescriptorResponse;
|
1214
|
+
};
|
1215
|
+
/**
|
1216
|
+
* Removes the descriptor with |descriptorId| from the simulated central.
|
1217
|
+
*/
|
1218
|
+
'BluetoothEmulation.removeDescriptor': {
|
1219
|
+
paramsType: [Protocol.BluetoothEmulation.RemoveDescriptorRequest];
|
1220
|
+
returnType: void;
|
1221
|
+
};
|
1222
|
+
/**
|
1223
|
+
* Simulates a GATT disconnection from the peripheral with |address|.
|
1224
|
+
*/
|
1225
|
+
'BluetoothEmulation.simulateGATTDisconnection': {
|
1226
|
+
paramsType: [Protocol.BluetoothEmulation.SimulateGATTDisconnectionRequest];
|
1227
|
+
returnType: void;
|
1228
|
+
};
|
1229
|
+
/**
|
1230
|
+
* Set permission settings for given origin.
|
1231
|
+
*/
|
1232
|
+
'Browser.setPermission': {
|
1233
|
+
paramsType: [Protocol.Browser.SetPermissionRequest];
|
1234
|
+
returnType: void;
|
1235
|
+
};
|
1236
|
+
/**
|
1237
|
+
* Grant specific permissions to the given origin and reject all others.
|
1238
|
+
*/
|
1239
|
+
'Browser.grantPermissions': {
|
1240
|
+
paramsType: [Protocol.Browser.GrantPermissionsRequest];
|
1241
|
+
returnType: void;
|
1242
|
+
};
|
1243
|
+
/**
|
1244
|
+
* Reset all permission management for all origins.
|
1245
|
+
*/
|
1246
|
+
'Browser.resetPermissions': {
|
1247
|
+
paramsType: [Protocol.Browser.ResetPermissionsRequest?];
|
1248
|
+
returnType: void;
|
1249
|
+
};
|
1250
|
+
/**
|
1251
|
+
* Set the behavior when downloading a file.
|
1252
|
+
*/
|
1253
|
+
'Browser.setDownloadBehavior': {
|
1254
|
+
paramsType: [Protocol.Browser.SetDownloadBehaviorRequest];
|
1255
|
+
returnType: void;
|
1256
|
+
};
|
1257
|
+
/**
|
1258
|
+
* Cancel a download if in progress
|
1189
1259
|
*/
|
1190
1260
|
'Browser.cancelDownload': {
|
1191
1261
|
paramsType: [Protocol.Browser.CancelDownloadRequest];
|
@@ -1262,6 +1332,13 @@ export namespace ProtocolMapping {
|
|
1262
1332
|
paramsType: [Protocol.Browser.SetWindowBoundsRequest];
|
1263
1333
|
returnType: void;
|
1264
1334
|
};
|
1335
|
+
/**
|
1336
|
+
* Set size of the browser contents resizing browser window as necessary.
|
1337
|
+
*/
|
1338
|
+
'Browser.setContentsSize': {
|
1339
|
+
paramsType: [Protocol.Browser.SetContentsSizeRequest];
|
1340
|
+
returnType: void;
|
1341
|
+
};
|
1265
1342
|
/**
|
1266
1343
|
* Set dock tile details, platform-specific.
|
1267
1344
|
*/
|
@@ -1399,6 +1476,13 @@ export namespace ProtocolMapping {
|
|
1399
1476
|
paramsType: [Protocol.CSS.GetMatchedStylesForNodeRequest];
|
1400
1477
|
returnType: Protocol.CSS.GetMatchedStylesForNodeResponse;
|
1401
1478
|
};
|
1479
|
+
/**
|
1480
|
+
* Returns the values of the default UA-defined environment variables used in env()
|
1481
|
+
*/
|
1482
|
+
'CSS.getEnvironmentVariables': {
|
1483
|
+
paramsType: [];
|
1484
|
+
returnType: Protocol.CSS.GetEnvironmentVariablesResponse;
|
1485
|
+
};
|
1402
1486
|
/**
|
1403
1487
|
* Returns all media queries parsed by the rendering engine.
|
1404
1488
|
*/
|
@@ -2020,9 +2104,9 @@ export namespace ProtocolMapping {
|
|
2020
2104
|
/**
|
2021
2105
|
* Returns the query container of the given node based on container query
|
2022
2106
|
* conditions: containerName, physical and logical axes, and whether it queries
|
2023
|
-
* scroll-state. If no axes are provided and
|
2024
|
-
* style container is returned, which is the
|
2025
|
-
* element with a matching container-name.
|
2107
|
+
* scroll-state or anchored elements. If no axes are provided and
|
2108
|
+
* queriesScrollState is false, the style container is returned, which is the
|
2109
|
+
* direct parent or the closest element with a matching container-name.
|
2026
2110
|
*/
|
2027
2111
|
'DOM.getContainerForNode': {
|
2028
2112
|
paramsType: [Protocol.DOM.GetContainerForNodeRequest];
|
@@ -2044,6 +2128,14 @@ export namespace ProtocolMapping {
|
|
2044
2128
|
paramsType: [Protocol.DOM.GetAnchorElementRequest];
|
2045
2129
|
returnType: Protocol.DOM.GetAnchorElementResponse;
|
2046
2130
|
};
|
2131
|
+
/**
|
2132
|
+
* When enabling, this API force-opens the popover identified by nodeId
|
2133
|
+
* and keeps it open until disabled.
|
2134
|
+
*/
|
2135
|
+
'DOM.forceShowPopover': {
|
2136
|
+
paramsType: [Protocol.DOM.ForceShowPopoverRequest];
|
2137
|
+
returnType: Protocol.DOM.ForceShowPopoverResponse;
|
2138
|
+
};
|
2047
2139
|
/**
|
2048
2140
|
* Returns event listeners of the given object.
|
2049
2141
|
*/
|
@@ -2114,27 +2206,6 @@ export namespace ProtocolMapping {
|
|
2114
2206
|
paramsType: [Protocol.DOMDebugger.SetXHRBreakpointRequest];
|
2115
2207
|
returnType: void;
|
2116
2208
|
};
|
2117
|
-
/**
|
2118
|
-
* Sets breakpoint on particular native event.
|
2119
|
-
*/
|
2120
|
-
'EventBreakpoints.setInstrumentationBreakpoint': {
|
2121
|
-
paramsType: [Protocol.EventBreakpoints.SetInstrumentationBreakpointRequest];
|
2122
|
-
returnType: void;
|
2123
|
-
};
|
2124
|
-
/**
|
2125
|
-
* Removes breakpoint on particular native event.
|
2126
|
-
*/
|
2127
|
-
'EventBreakpoints.removeInstrumentationBreakpoint': {
|
2128
|
-
paramsType: [Protocol.EventBreakpoints.RemoveInstrumentationBreakpointRequest];
|
2129
|
-
returnType: void;
|
2130
|
-
};
|
2131
|
-
/**
|
2132
|
-
* Removes all breakpoints
|
2133
|
-
*/
|
2134
|
-
'EventBreakpoints.disable': {
|
2135
|
-
paramsType: [];
|
2136
|
-
returnType: void;
|
2137
|
-
};
|
2138
2209
|
/**
|
2139
2210
|
* Disables DOM snapshot agent for the given page.
|
2140
2211
|
*/
|
@@ -2199,6 +2270,34 @@ export namespace ProtocolMapping {
|
|
2199
2270
|
paramsType: [Protocol.DOMStorage.SetDOMStorageItemRequest];
|
2200
2271
|
returnType: void;
|
2201
2272
|
};
|
2273
|
+
/**
|
2274
|
+
* Enable events in this domain.
|
2275
|
+
*/
|
2276
|
+
'DeviceAccess.enable': {
|
2277
|
+
paramsType: [];
|
2278
|
+
returnType: void;
|
2279
|
+
};
|
2280
|
+
/**
|
2281
|
+
* Disable events in this domain.
|
2282
|
+
*/
|
2283
|
+
'DeviceAccess.disable': {
|
2284
|
+
paramsType: [];
|
2285
|
+
returnType: void;
|
2286
|
+
};
|
2287
|
+
/**
|
2288
|
+
* Select a device in response to a DeviceAccess.deviceRequestPrompted event.
|
2289
|
+
*/
|
2290
|
+
'DeviceAccess.selectPrompt': {
|
2291
|
+
paramsType: [Protocol.DeviceAccess.SelectPromptRequest];
|
2292
|
+
returnType: void;
|
2293
|
+
};
|
2294
|
+
/**
|
2295
|
+
* Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.
|
2296
|
+
*/
|
2297
|
+
'DeviceAccess.cancelPrompt': {
|
2298
|
+
paramsType: [Protocol.DeviceAccess.CancelPromptRequest];
|
2299
|
+
returnType: void;
|
2300
|
+
};
|
2202
2301
|
/**
|
2203
2302
|
* Clears the overridden Device Orientation.
|
2204
2303
|
*/
|
@@ -2493,6 +2592,13 @@ export namespace ProtocolMapping {
|
|
2493
2592
|
paramsType: [Protocol.Emulation.SetDisabledImageTypesRequest];
|
2494
2593
|
returnType: void;
|
2495
2594
|
};
|
2595
|
+
/**
|
2596
|
+
* Override the value of navigator.connection.saveData
|
2597
|
+
*/
|
2598
|
+
'Emulation.setDataSaverOverride': {
|
2599
|
+
paramsType: [Protocol.Emulation.SetDataSaverOverrideRequest?];
|
2600
|
+
returnType: void;
|
2601
|
+
};
|
2496
2602
|
'Emulation.setHardwareConcurrencyOverride': {
|
2497
2603
|
paramsType: [Protocol.Emulation.SetHardwareConcurrencyOverrideRequest];
|
2498
2604
|
returnType: void;
|
@@ -2521,77 +2627,285 @@ export namespace ProtocolMapping {
|
|
2521
2627
|
returnType: void;
|
2522
2628
|
};
|
2523
2629
|
/**
|
2524
|
-
*
|
2525
|
-
* screenshot from the resulting frame. Requires that the target was created with enabled
|
2526
|
-
* BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also
|
2527
|
-
* https://goo.gle/chrome-headless-rendering for more background.
|
2630
|
+
* Returns device's screen configuration.
|
2528
2631
|
*/
|
2529
|
-
'
|
2530
|
-
paramsType: [
|
2531
|
-
returnType: Protocol.
|
2632
|
+
'Emulation.getScreenInfos': {
|
2633
|
+
paramsType: [];
|
2634
|
+
returnType: Protocol.Emulation.GetScreenInfosResponse;
|
2532
2635
|
};
|
2533
2636
|
/**
|
2534
|
-
*
|
2637
|
+
* Add a new screen to the device. Only supported in headless mode.
|
2535
2638
|
*/
|
2536
|
-
'
|
2537
|
-
paramsType: [];
|
2538
|
-
returnType:
|
2639
|
+
'Emulation.addScreen': {
|
2640
|
+
paramsType: [Protocol.Emulation.AddScreenRequest];
|
2641
|
+
returnType: Protocol.Emulation.AddScreenResponse;
|
2539
2642
|
};
|
2540
2643
|
/**
|
2541
|
-
*
|
2644
|
+
* Remove screen from the device. Only supported in headless mode.
|
2542
2645
|
*/
|
2543
|
-
'
|
2544
|
-
paramsType: [];
|
2646
|
+
'Emulation.removeScreen': {
|
2647
|
+
paramsType: [Protocol.Emulation.RemoveScreenRequest];
|
2545
2648
|
returnType: void;
|
2546
2649
|
};
|
2547
2650
|
/**
|
2548
|
-
*
|
2651
|
+
* Sets breakpoint on particular native event.
|
2549
2652
|
*/
|
2550
|
-
'
|
2551
|
-
paramsType: [Protocol.
|
2653
|
+
'EventBreakpoints.setInstrumentationBreakpoint': {
|
2654
|
+
paramsType: [Protocol.EventBreakpoints.SetInstrumentationBreakpointRequest];
|
2552
2655
|
returnType: void;
|
2553
2656
|
};
|
2554
2657
|
/**
|
2555
|
-
*
|
2658
|
+
* Removes breakpoint on particular native event.
|
2556
2659
|
*/
|
2557
|
-
'
|
2558
|
-
paramsType: [Protocol.
|
2559
|
-
returnType:
|
2660
|
+
'EventBreakpoints.removeInstrumentationBreakpoint': {
|
2661
|
+
paramsType: [Protocol.EventBreakpoints.RemoveInstrumentationBreakpointRequest];
|
2662
|
+
returnType: void;
|
2560
2663
|
};
|
2561
2664
|
/**
|
2562
|
-
*
|
2665
|
+
* Removes all breakpoints
|
2563
2666
|
*/
|
2564
|
-
'
|
2565
|
-
paramsType: [
|
2566
|
-
returnType:
|
2667
|
+
'EventBreakpoints.disable': {
|
2668
|
+
paramsType: [];
|
2669
|
+
returnType: void;
|
2567
2670
|
};
|
2568
|
-
|
2569
|
-
|
2570
|
-
|
2671
|
+
/**
|
2672
|
+
* Installs an unpacked extension from the filesystem similar to
|
2673
|
+
* --load-extension CLI flags. Returns extension ID once the extension
|
2674
|
+
* has been installed. Available if the client is connected using the
|
2675
|
+
* --remote-debugging-pipe flag and the --enable-unsafe-extension-debugging
|
2676
|
+
* flag is set.
|
2677
|
+
*/
|
2678
|
+
'Extensions.loadUnpacked': {
|
2679
|
+
paramsType: [Protocol.Extensions.LoadUnpackedRequest];
|
2680
|
+
returnType: Protocol.Extensions.LoadUnpackedResponse;
|
2571
2681
|
};
|
2572
2682
|
/**
|
2573
|
-
*
|
2683
|
+
* Uninstalls an unpacked extension (others not supported) from the profile.
|
2684
|
+
* Available if the client is connected using the --remote-debugging-pipe flag
|
2685
|
+
* and the --enable-unsafe-extension-debugging.
|
2574
2686
|
*/
|
2575
|
-
'
|
2576
|
-
paramsType: [Protocol.
|
2687
|
+
'Extensions.uninstall': {
|
2688
|
+
paramsType: [Protocol.Extensions.UninstallRequest];
|
2577
2689
|
returnType: void;
|
2578
2690
|
};
|
2579
2691
|
/**
|
2580
|
-
*
|
2692
|
+
* Gets data from extension storage in the given `storageArea`. If `keys` is
|
2693
|
+
* specified, these are used to filter the result.
|
2581
2694
|
*/
|
2582
|
-
'
|
2583
|
-
paramsType: [Protocol.
|
2584
|
-
returnType:
|
2695
|
+
'Extensions.getStorageItems': {
|
2696
|
+
paramsType: [Protocol.Extensions.GetStorageItemsRequest];
|
2697
|
+
returnType: Protocol.Extensions.GetStorageItemsResponse;
|
2585
2698
|
};
|
2586
2699
|
/**
|
2587
|
-
*
|
2700
|
+
* Removes `keys` from extension storage in the given `storageArea`.
|
2588
2701
|
*/
|
2589
|
-
'
|
2590
|
-
paramsType: [Protocol.
|
2702
|
+
'Extensions.removeStorageItems': {
|
2703
|
+
paramsType: [Protocol.Extensions.RemoveStorageItemsRequest];
|
2591
2704
|
returnType: void;
|
2592
2705
|
};
|
2593
2706
|
/**
|
2594
|
-
*
|
2707
|
+
* Clears extension storage in the given `storageArea`.
|
2708
|
+
*/
|
2709
|
+
'Extensions.clearStorageItems': {
|
2710
|
+
paramsType: [Protocol.Extensions.ClearStorageItemsRequest];
|
2711
|
+
returnType: void;
|
2712
|
+
};
|
2713
|
+
/**
|
2714
|
+
* Sets `values` in extension storage in the given `storageArea`. The provided `values`
|
2715
|
+
* will be merged with existing values in the storage area.
|
2716
|
+
*/
|
2717
|
+
'Extensions.setStorageItems': {
|
2718
|
+
paramsType: [Protocol.Extensions.SetStorageItemsRequest];
|
2719
|
+
returnType: void;
|
2720
|
+
};
|
2721
|
+
'FedCm.enable': {
|
2722
|
+
paramsType: [Protocol.FedCm.EnableRequest?];
|
2723
|
+
returnType: void;
|
2724
|
+
};
|
2725
|
+
'FedCm.disable': {
|
2726
|
+
paramsType: [];
|
2727
|
+
returnType: void;
|
2728
|
+
};
|
2729
|
+
'FedCm.selectAccount': {
|
2730
|
+
paramsType: [Protocol.FedCm.SelectAccountRequest];
|
2731
|
+
returnType: void;
|
2732
|
+
};
|
2733
|
+
'FedCm.clickDialogButton': {
|
2734
|
+
paramsType: [Protocol.FedCm.ClickDialogButtonRequest];
|
2735
|
+
returnType: void;
|
2736
|
+
};
|
2737
|
+
'FedCm.openUrl': {
|
2738
|
+
paramsType: [Protocol.FedCm.OpenUrlRequest];
|
2739
|
+
returnType: void;
|
2740
|
+
};
|
2741
|
+
'FedCm.dismissDialog': {
|
2742
|
+
paramsType: [Protocol.FedCm.DismissDialogRequest];
|
2743
|
+
returnType: void;
|
2744
|
+
};
|
2745
|
+
/**
|
2746
|
+
* Resets the cooldown time, if any, to allow the next FedCM call to show
|
2747
|
+
* a dialog even if one was recently dismissed by the user.
|
2748
|
+
*/
|
2749
|
+
'FedCm.resetCooldown': {
|
2750
|
+
paramsType: [];
|
2751
|
+
returnType: void;
|
2752
|
+
};
|
2753
|
+
/**
|
2754
|
+
* Disables the fetch domain.
|
2755
|
+
*/
|
2756
|
+
'Fetch.disable': {
|
2757
|
+
paramsType: [];
|
2758
|
+
returnType: void;
|
2759
|
+
};
|
2760
|
+
/**
|
2761
|
+
* Enables issuing of requestPaused events. A request will be paused until client
|
2762
|
+
* calls one of failRequest, fulfillRequest or continueRequest/continueWithAuth.
|
2763
|
+
*/
|
2764
|
+
'Fetch.enable': {
|
2765
|
+
paramsType: [Protocol.Fetch.EnableRequest?];
|
2766
|
+
returnType: void;
|
2767
|
+
};
|
2768
|
+
/**
|
2769
|
+
* Causes the request to fail with specified reason.
|
2770
|
+
*/
|
2771
|
+
'Fetch.failRequest': {
|
2772
|
+
paramsType: [Protocol.Fetch.FailRequestRequest];
|
2773
|
+
returnType: void;
|
2774
|
+
};
|
2775
|
+
/**
|
2776
|
+
* Provides response to the request.
|
2777
|
+
*/
|
2778
|
+
'Fetch.fulfillRequest': {
|
2779
|
+
paramsType: [Protocol.Fetch.FulfillRequestRequest];
|
2780
|
+
returnType: void;
|
2781
|
+
};
|
2782
|
+
/**
|
2783
|
+
* Continues the request, optionally modifying some of its parameters.
|
2784
|
+
*/
|
2785
|
+
'Fetch.continueRequest': {
|
2786
|
+
paramsType: [Protocol.Fetch.ContinueRequestRequest];
|
2787
|
+
returnType: void;
|
2788
|
+
};
|
2789
|
+
/**
|
2790
|
+
* Continues a request supplying authChallengeResponse following authRequired event.
|
2791
|
+
*/
|
2792
|
+
'Fetch.continueWithAuth': {
|
2793
|
+
paramsType: [Protocol.Fetch.ContinueWithAuthRequest];
|
2794
|
+
returnType: void;
|
2795
|
+
};
|
2796
|
+
/**
|
2797
|
+
* Continues loading of the paused response, optionally modifying the
|
2798
|
+
* response headers. If either responseCode or headers are modified, all of them
|
2799
|
+
* must be present.
|
2800
|
+
*/
|
2801
|
+
'Fetch.continueResponse': {
|
2802
|
+
paramsType: [Protocol.Fetch.ContinueResponseRequest];
|
2803
|
+
returnType: void;
|
2804
|
+
};
|
2805
|
+
/**
|
2806
|
+
* Causes the body of the response to be received from the server and
|
2807
|
+
* returned as a single string. May only be issued for a request that
|
2808
|
+
* is paused in the Response stage and is mutually exclusive with
|
2809
|
+
* takeResponseBodyForInterceptionAsStream. Calling other methods that
|
2810
|
+
* affect the request or disabling fetch domain before body is received
|
2811
|
+
* results in an undefined behavior.
|
2812
|
+
* Note that the response body is not available for redirects. Requests
|
2813
|
+
* paused in the _redirect received_ state may be differentiated by
|
2814
|
+
* `responseCode` and presence of `location` response header, see
|
2815
|
+
* comments to `requestPaused` for details.
|
2816
|
+
*/
|
2817
|
+
'Fetch.getResponseBody': {
|
2818
|
+
paramsType: [Protocol.Fetch.GetResponseBodyRequest];
|
2819
|
+
returnType: Protocol.Fetch.GetResponseBodyResponse;
|
2820
|
+
};
|
2821
|
+
/**
|
2822
|
+
* Returns a handle to the stream representing the response body.
|
2823
|
+
* The request must be paused in the HeadersReceived stage.
|
2824
|
+
* Note that after this command the request can't be continued
|
2825
|
+
* as is -- client either needs to cancel it or to provide the
|
2826
|
+
* response body.
|
2827
|
+
* The stream only supports sequential read, IO.read will fail if the position
|
2828
|
+
* is specified.
|
2829
|
+
* This method is mutually exclusive with getResponseBody.
|
2830
|
+
* Calling other methods that affect the request or disabling fetch
|
2831
|
+
* domain before body is received results in an undefined behavior.
|
2832
|
+
*/
|
2833
|
+
'Fetch.takeResponseBodyAsStream': {
|
2834
|
+
paramsType: [Protocol.Fetch.TakeResponseBodyAsStreamRequest];
|
2835
|
+
returnType: Protocol.Fetch.TakeResponseBodyAsStreamResponse;
|
2836
|
+
};
|
2837
|
+
'FileSystem.getDirectory': {
|
2838
|
+
paramsType: [Protocol.FileSystem.GetDirectoryRequest];
|
2839
|
+
returnType: Protocol.FileSystem.GetDirectoryResponse;
|
2840
|
+
};
|
2841
|
+
/**
|
2842
|
+
* Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a
|
2843
|
+
* screenshot from the resulting frame. Requires that the target was created with enabled
|
2844
|
+
* BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also
|
2845
|
+
* https://goo.gle/chrome-headless-rendering for more background.
|
2846
|
+
*/
|
2847
|
+
'HeadlessExperimental.beginFrame': {
|
2848
|
+
paramsType: [Protocol.HeadlessExperimental.BeginFrameRequest?];
|
2849
|
+
returnType: Protocol.HeadlessExperimental.BeginFrameResponse;
|
2850
|
+
};
|
2851
|
+
/**
|
2852
|
+
* Disables headless events for the target.
|
2853
|
+
*/
|
2854
|
+
'HeadlessExperimental.disable': {
|
2855
|
+
paramsType: [];
|
2856
|
+
returnType: void;
|
2857
|
+
};
|
2858
|
+
/**
|
2859
|
+
* Enables headless events for the target.
|
2860
|
+
*/
|
2861
|
+
'HeadlessExperimental.enable': {
|
2862
|
+
paramsType: [];
|
2863
|
+
returnType: void;
|
2864
|
+
};
|
2865
|
+
/**
|
2866
|
+
* Close the stream, discard any temporary backing storage.
|
2867
|
+
*/
|
2868
|
+
'IO.close': {
|
2869
|
+
paramsType: [Protocol.IO.CloseRequest];
|
2870
|
+
returnType: void;
|
2871
|
+
};
|
2872
|
+
/**
|
2873
|
+
* Read a chunk of the stream
|
2874
|
+
*/
|
2875
|
+
'IO.read': {
|
2876
|
+
paramsType: [Protocol.IO.ReadRequest];
|
2877
|
+
returnType: Protocol.IO.ReadResponse;
|
2878
|
+
};
|
2879
|
+
/**
|
2880
|
+
* Return UUID of Blob object specified by a remote object id.
|
2881
|
+
*/
|
2882
|
+
'IO.resolveBlob': {
|
2883
|
+
paramsType: [Protocol.IO.ResolveBlobRequest];
|
2884
|
+
returnType: Protocol.IO.ResolveBlobResponse;
|
2885
|
+
};
|
2886
|
+
/**
|
2887
|
+
* Clears all entries from an object store.
|
2888
|
+
*/
|
2889
|
+
'IndexedDB.clearObjectStore': {
|
2890
|
+
paramsType: [Protocol.IndexedDB.ClearObjectStoreRequest];
|
2891
|
+
returnType: void;
|
2892
|
+
};
|
2893
|
+
/**
|
2894
|
+
* Deletes a database.
|
2895
|
+
*/
|
2896
|
+
'IndexedDB.deleteDatabase': {
|
2897
|
+
paramsType: [Protocol.IndexedDB.DeleteDatabaseRequest];
|
2898
|
+
returnType: void;
|
2899
|
+
};
|
2900
|
+
/**
|
2901
|
+
* Delete a range of entries from an object store
|
2902
|
+
*/
|
2903
|
+
'IndexedDB.deleteObjectStoreEntries': {
|
2904
|
+
paramsType: [Protocol.IndexedDB.DeleteObjectStoreEntriesRequest];
|
2905
|
+
returnType: void;
|
2906
|
+
};
|
2907
|
+
/**
|
2908
|
+
* Disables events from backend.
|
2595
2909
|
*/
|
2596
2910
|
'IndexedDB.disable': {
|
2597
2911
|
paramsType: [];
|
@@ -2837,6 +3151,20 @@ export namespace ProtocolMapping {
|
|
2837
3151
|
paramsType: [];
|
2838
3152
|
returnType: void;
|
2839
3153
|
};
|
3154
|
+
/**
|
3155
|
+
* Enables the Media domain
|
3156
|
+
*/
|
3157
|
+
'Media.enable': {
|
3158
|
+
paramsType: [];
|
3159
|
+
returnType: void;
|
3160
|
+
};
|
3161
|
+
/**
|
3162
|
+
* Disables the Media domain.
|
3163
|
+
*/
|
3164
|
+
'Media.disable': {
|
3165
|
+
paramsType: [];
|
3166
|
+
returnType: void;
|
3167
|
+
};
|
2840
3168
|
/**
|
2841
3169
|
* Retruns current DOM object counters.
|
2842
3170
|
*/
|
@@ -2918,6 +3246,14 @@ export namespace ProtocolMapping {
|
|
2918
3246
|
paramsType: [];
|
2919
3247
|
returnType: Protocol.Memory.GetSamplingProfileResponse;
|
2920
3248
|
};
|
3249
|
+
/**
|
3250
|
+
* Returns enum representing if IP Proxy of requests is available
|
3251
|
+
* or reason it is not active.
|
3252
|
+
*/
|
3253
|
+
'Network.getIPProtectionProxyStatus': {
|
3254
|
+
paramsType: [];
|
3255
|
+
returnType: Protocol.Network.GetIPProtectionProxyStatusResponse;
|
3256
|
+
};
|
2921
3257
|
/**
|
2922
3258
|
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
|
2923
3259
|
*/
|
@@ -3248,6 +3584,9 @@ export namespace ProtocolMapping {
|
|
3248
3584
|
};
|
3249
3585
|
/**
|
3250
3586
|
* Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
|
3587
|
+
* Issue: the method does not handle device pixel ratio (DPR) correctly.
|
3588
|
+
* The coordinates currently have to be adjusted by the client
|
3589
|
+
* if DPR is not 1 (see crbug.com/437807128).
|
3251
3590
|
*/
|
3252
3591
|
'Overlay.highlightRect': {
|
3253
3592
|
paramsType: [Protocol.Overlay.HighlightRectRequest];
|
@@ -3377,33 +3716,130 @@ export namespace ProtocolMapping {
|
|
3377
3716
|
returnType: void;
|
3378
3717
|
};
|
3379
3718
|
/**
|
3380
|
-
*
|
3719
|
+
* Returns the following OS state for the given manifest id.
|
3381
3720
|
*/
|
3382
|
-
'
|
3383
|
-
paramsType: [Protocol.
|
3384
|
-
returnType: Protocol.
|
3721
|
+
'PWA.getOsAppState': {
|
3722
|
+
paramsType: [Protocol.PWA.GetOsAppStateRequest];
|
3723
|
+
returnType: Protocol.PWA.GetOsAppStateResponse;
|
3385
3724
|
};
|
3386
3725
|
/**
|
3387
|
-
*
|
3726
|
+
* Installs the given manifest identity, optionally using the given installUrlOrBundleUrl
|
3727
|
+
*
|
3728
|
+
* IWA-specific install description:
|
3729
|
+
* manifestId corresponds to isolated-app:// + web_package::SignedWebBundleId
|
3730
|
+
*
|
3731
|
+
* File installation mode:
|
3732
|
+
* The installUrlOrBundleUrl can be either file:// or http(s):// pointing
|
3733
|
+
* to a signed web bundle (.swbn). In this case SignedWebBundleId must correspond to
|
3734
|
+
* The .swbn file's signing key.
|
3735
|
+
*
|
3736
|
+
* Dev proxy installation mode:
|
3737
|
+
* installUrlOrBundleUrl must be http(s):// that serves dev mode IWA.
|
3738
|
+
* web_package::SignedWebBundleId must be of type dev proxy.
|
3739
|
+
*
|
3740
|
+
* The advantage of dev proxy mode is that all changes to IWA
|
3741
|
+
* automatically will be reflected in the running app without
|
3742
|
+
* reinstallation.
|
3743
|
+
*
|
3744
|
+
* To generate bundle id for proxy mode:
|
3745
|
+
* 1. Generate 32 random bytes.
|
3746
|
+
* 2. Add a specific suffix 0x00 at the end.
|
3747
|
+
* 3. Encode the entire sequence using Base32 without padding.
|
3748
|
+
*
|
3749
|
+
* If Chrome is not in IWA dev
|
3750
|
+
* mode, the installation will fail, regardless of the state of the allowlist.
|
3388
3751
|
*/
|
3389
|
-
'
|
3390
|
-
paramsType: [Protocol.
|
3391
|
-
returnType:
|
3752
|
+
'PWA.install': {
|
3753
|
+
paramsType: [Protocol.PWA.InstallRequest];
|
3754
|
+
returnType: void;
|
3392
3755
|
};
|
3393
3756
|
/**
|
3394
|
-
*
|
3757
|
+
* Uninstalls the given manifest_id and closes any opened app windows.
|
3395
3758
|
*/
|
3396
|
-
'
|
3397
|
-
paramsType: [];
|
3759
|
+
'PWA.uninstall': {
|
3760
|
+
paramsType: [Protocol.PWA.UninstallRequest];
|
3398
3761
|
returnType: void;
|
3399
3762
|
};
|
3400
3763
|
/**
|
3401
|
-
*
|
3764
|
+
* Launches the installed web app, or an url in the same web app instead of the
|
3765
|
+
* default start url if it is provided. Returns a page Target.TargetID which
|
3766
|
+
* can be used to attach to via Target.attachToTarget or similar APIs.
|
3402
3767
|
*/
|
3403
|
-
'
|
3404
|
-
paramsType: [Protocol.
|
3405
|
-
returnType: Protocol.
|
3406
|
-
};
|
3768
|
+
'PWA.launch': {
|
3769
|
+
paramsType: [Protocol.PWA.LaunchRequest];
|
3770
|
+
returnType: Protocol.PWA.LaunchResponse;
|
3771
|
+
};
|
3772
|
+
/**
|
3773
|
+
* Opens one or more local files from an installed web app identified by its
|
3774
|
+
* manifestId. The web app needs to have file handlers registered to process
|
3775
|
+
* the files. The API returns one or more page Target.TargetIDs which can be
|
3776
|
+
* used to attach to via Target.attachToTarget or similar APIs.
|
3777
|
+
* If some files in the parameters cannot be handled by the web app, they will
|
3778
|
+
* be ignored. If none of the files can be handled, this API returns an error.
|
3779
|
+
* If no files are provided as the parameter, this API also returns an error.
|
3780
|
+
*
|
3781
|
+
* According to the definition of the file handlers in the manifest file, one
|
3782
|
+
* Target.TargetID may represent a page handling one or more files. The order
|
3783
|
+
* of the returned Target.TargetIDs is not guaranteed.
|
3784
|
+
*
|
3785
|
+
* TODO(crbug.com/339454034): Check the existences of the input files.
|
3786
|
+
*/
|
3787
|
+
'PWA.launchFilesInApp': {
|
3788
|
+
paramsType: [Protocol.PWA.LaunchFilesInAppRequest];
|
3789
|
+
returnType: Protocol.PWA.LaunchFilesInAppResponse;
|
3790
|
+
};
|
3791
|
+
/**
|
3792
|
+
* Opens the current page in its web app identified by the manifest id, needs
|
3793
|
+
* to be called on a page target. This function returns immediately without
|
3794
|
+
* waiting for the app to finish loading.
|
3795
|
+
*/
|
3796
|
+
'PWA.openCurrentPageInApp': {
|
3797
|
+
paramsType: [Protocol.PWA.OpenCurrentPageInAppRequest];
|
3798
|
+
returnType: void;
|
3799
|
+
};
|
3800
|
+
/**
|
3801
|
+
* Changes user settings of the web app identified by its manifestId. If the
|
3802
|
+
* app was not installed, this command returns an error. Unset parameters will
|
3803
|
+
* be ignored; unrecognized values will cause an error.
|
3804
|
+
*
|
3805
|
+
* Unlike the ones defined in the manifest files of the web apps, these
|
3806
|
+
* settings are provided by the browser and controlled by the users, they
|
3807
|
+
* impact the way the browser handling the web apps.
|
3808
|
+
*
|
3809
|
+
* See the comment of each parameter.
|
3810
|
+
*/
|
3811
|
+
'PWA.changeAppUserSettings': {
|
3812
|
+
paramsType: [Protocol.PWA.ChangeAppUserSettingsRequest];
|
3813
|
+
returnType: void;
|
3814
|
+
};
|
3815
|
+
/**
|
3816
|
+
* Deprecated, please use addScriptToEvaluateOnNewDocument instead.
|
3817
|
+
*/
|
3818
|
+
'Page.addScriptToEvaluateOnLoad': {
|
3819
|
+
paramsType: [Protocol.Page.AddScriptToEvaluateOnLoadRequest];
|
3820
|
+
returnType: Protocol.Page.AddScriptToEvaluateOnLoadResponse;
|
3821
|
+
};
|
3822
|
+
/**
|
3823
|
+
* Evaluates given script in every frame upon creation (before loading frame's scripts).
|
3824
|
+
*/
|
3825
|
+
'Page.addScriptToEvaluateOnNewDocument': {
|
3826
|
+
paramsType: [Protocol.Page.AddScriptToEvaluateOnNewDocumentRequest];
|
3827
|
+
returnType: Protocol.Page.AddScriptToEvaluateOnNewDocumentResponse;
|
3828
|
+
};
|
3829
|
+
/**
|
3830
|
+
* Brings page to front (activates tab).
|
3831
|
+
*/
|
3832
|
+
'Page.bringToFront': {
|
3833
|
+
paramsType: [];
|
3834
|
+
returnType: void;
|
3835
|
+
};
|
3836
|
+
/**
|
3837
|
+
* Capture page screenshot.
|
3838
|
+
*/
|
3839
|
+
'Page.captureScreenshot': {
|
3840
|
+
paramsType: [Protocol.Page.CaptureScreenshotRequest?];
|
3841
|
+
returnType: Protocol.Page.CaptureScreenshotResponse;
|
3842
|
+
};
|
3407
3843
|
/**
|
3408
3844
|
* Returns a snapshot of the page as a string. For MHTML format, the serialization includes
|
3409
3845
|
* iframes, shadow DOM, external resources, and element-inline styles.
|
@@ -3855,6 +4291,14 @@ export namespace ProtocolMapping {
|
|
3855
4291
|
paramsType: [Protocol.PerformanceTimeline.EnableRequest];
|
3856
4292
|
returnType: void;
|
3857
4293
|
};
|
4294
|
+
'Preload.enable': {
|
4295
|
+
paramsType: [];
|
4296
|
+
returnType: void;
|
4297
|
+
};
|
4298
|
+
'Preload.disable': {
|
4299
|
+
paramsType: [];
|
4300
|
+
returnType: void;
|
4301
|
+
};
|
3858
4302
|
/**
|
3859
4303
|
* Disables tracking security state changes.
|
3860
4304
|
*/
|
@@ -3911,10 +4355,6 @@ export namespace ProtocolMapping {
|
|
3911
4355
|
paramsType: [];
|
3912
4356
|
returnType: void;
|
3913
4357
|
};
|
3914
|
-
'ServiceWorker.inspectWorker': {
|
3915
|
-
paramsType: [Protocol.ServiceWorker.InspectWorkerRequest];
|
3916
|
-
returnType: void;
|
3917
|
-
};
|
3918
4358
|
'ServiceWorker.setForceUpdateOnPageLoad': {
|
3919
4359
|
paramsType: [Protocol.ServiceWorker.SetForceUpdateOnPageLoadRequest];
|
3920
4360
|
returnType: void;
|
@@ -4370,6 +4810,13 @@ export namespace ProtocolMapping {
|
|
4370
4810
|
paramsType: [Protocol.Target.SetRemoteLocationsRequest];
|
4371
4811
|
returnType: void;
|
4372
4812
|
};
|
4813
|
+
/**
|
4814
|
+
* Opens a DevTools window for the target.
|
4815
|
+
*/
|
4816
|
+
'Target.openDevTools': {
|
4817
|
+
paramsType: [Protocol.Target.OpenDevToolsRequest];
|
4818
|
+
returnType: Protocol.Target.OpenDevToolsResponse;
|
4819
|
+
};
|
4373
4820
|
/**
|
4374
4821
|
* Request browser port binding.
|
4375
4822
|
*/
|
@@ -4419,90 +4866,6 @@ export namespace ProtocolMapping {
|
|
4419
4866
|
paramsType: [Protocol.Tracing.StartRequest?];
|
4420
4867
|
returnType: void;
|
4421
4868
|
};
|
4422
|
-
/**
|
4423
|
-
* Disables the fetch domain.
|
4424
|
-
*/
|
4425
|
-
'Fetch.disable': {
|
4426
|
-
paramsType: [];
|
4427
|
-
returnType: void;
|
4428
|
-
};
|
4429
|
-
/**
|
4430
|
-
* Enables issuing of requestPaused events. A request will be paused until client
|
4431
|
-
* calls one of failRequest, fulfillRequest or continueRequest/continueWithAuth.
|
4432
|
-
*/
|
4433
|
-
'Fetch.enable': {
|
4434
|
-
paramsType: [Protocol.Fetch.EnableRequest?];
|
4435
|
-
returnType: void;
|
4436
|
-
};
|
4437
|
-
/**
|
4438
|
-
* Causes the request to fail with specified reason.
|
4439
|
-
*/
|
4440
|
-
'Fetch.failRequest': {
|
4441
|
-
paramsType: [Protocol.Fetch.FailRequestRequest];
|
4442
|
-
returnType: void;
|
4443
|
-
};
|
4444
|
-
/**
|
4445
|
-
* Provides response to the request.
|
4446
|
-
*/
|
4447
|
-
'Fetch.fulfillRequest': {
|
4448
|
-
paramsType: [Protocol.Fetch.FulfillRequestRequest];
|
4449
|
-
returnType: void;
|
4450
|
-
};
|
4451
|
-
/**
|
4452
|
-
* Continues the request, optionally modifying some of its parameters.
|
4453
|
-
*/
|
4454
|
-
'Fetch.continueRequest': {
|
4455
|
-
paramsType: [Protocol.Fetch.ContinueRequestRequest];
|
4456
|
-
returnType: void;
|
4457
|
-
};
|
4458
|
-
/**
|
4459
|
-
* Continues a request supplying authChallengeResponse following authRequired event.
|
4460
|
-
*/
|
4461
|
-
'Fetch.continueWithAuth': {
|
4462
|
-
paramsType: [Protocol.Fetch.ContinueWithAuthRequest];
|
4463
|
-
returnType: void;
|
4464
|
-
};
|
4465
|
-
/**
|
4466
|
-
* Continues loading of the paused response, optionally modifying the
|
4467
|
-
* response headers. If either responseCode or headers are modified, all of them
|
4468
|
-
* must be present.
|
4469
|
-
*/
|
4470
|
-
'Fetch.continueResponse': {
|
4471
|
-
paramsType: [Protocol.Fetch.ContinueResponseRequest];
|
4472
|
-
returnType: void;
|
4473
|
-
};
|
4474
|
-
/**
|
4475
|
-
* Causes the body of the response to be received from the server and
|
4476
|
-
* returned as a single string. May only be issued for a request that
|
4477
|
-
* is paused in the Response stage and is mutually exclusive with
|
4478
|
-
* takeResponseBodyForInterceptionAsStream. Calling other methods that
|
4479
|
-
* affect the request or disabling fetch domain before body is received
|
4480
|
-
* results in an undefined behavior.
|
4481
|
-
* Note that the response body is not available for redirects. Requests
|
4482
|
-
* paused in the _redirect received_ state may be differentiated by
|
4483
|
-
* `responseCode` and presence of `location` response header, see
|
4484
|
-
* comments to `requestPaused` for details.
|
4485
|
-
*/
|
4486
|
-
'Fetch.getResponseBody': {
|
4487
|
-
paramsType: [Protocol.Fetch.GetResponseBodyRequest];
|
4488
|
-
returnType: Protocol.Fetch.GetResponseBodyResponse;
|
4489
|
-
};
|
4490
|
-
/**
|
4491
|
-
* Returns a handle to the stream representing the response body.
|
4492
|
-
* The request must be paused in the HeadersReceived stage.
|
4493
|
-
* Note that after this command the request can't be continued
|
4494
|
-
* as is -- client either needs to cancel it or to provide the
|
4495
|
-
* response body.
|
4496
|
-
* The stream only supports sequential read, IO.read will fail if the position
|
4497
|
-
* is specified.
|
4498
|
-
* This method is mutually exclusive with getResponseBody.
|
4499
|
-
* Calling other methods that affect the request or disabling fetch
|
4500
|
-
* domain before body is received results in an undefined behavior.
|
4501
|
-
*/
|
4502
|
-
'Fetch.takeResponseBodyAsStream': {
|
4503
|
-
paramsType: [Protocol.Fetch.TakeResponseBodyAsStreamRequest];
|
4504
|
-
returnType: Protocol.Fetch.TakeResponseBodyAsStreamResponse;
|
4505
|
-
};
|
4506
4869
|
/**
|
4507
4870
|
* Enables the WebAudio domain and starts sending context lifetime events.
|
4508
4871
|
*/
|
@@ -4620,290 +4983,6 @@ export namespace ProtocolMapping {
|
|
4620
4983
|
paramsType: [Protocol.WebAuthn.SetCredentialPropertiesRequest];
|
4621
4984
|
returnType: void;
|
4622
4985
|
};
|
4623
|
-
/**
|
4624
|
-
* Enables the Media domain
|
4625
|
-
*/
|
4626
|
-
'Media.enable': {
|
4627
|
-
paramsType: [];
|
4628
|
-
returnType: void;
|
4629
|
-
};
|
4630
|
-
/**
|
4631
|
-
* Disables the Media domain.
|
4632
|
-
*/
|
4633
|
-
'Media.disable': {
|
4634
|
-
paramsType: [];
|
4635
|
-
returnType: void;
|
4636
|
-
};
|
4637
|
-
/**
|
4638
|
-
* Enable events in this domain.
|
4639
|
-
*/
|
4640
|
-
'DeviceAccess.enable': {
|
4641
|
-
paramsType: [];
|
4642
|
-
returnType: void;
|
4643
|
-
};
|
4644
|
-
/**
|
4645
|
-
* Disable events in this domain.
|
4646
|
-
*/
|
4647
|
-
'DeviceAccess.disable': {
|
4648
|
-
paramsType: [];
|
4649
|
-
returnType: void;
|
4650
|
-
};
|
4651
|
-
/**
|
4652
|
-
* Select a device in response to a DeviceAccess.deviceRequestPrompted event.
|
4653
|
-
*/
|
4654
|
-
'DeviceAccess.selectPrompt': {
|
4655
|
-
paramsType: [Protocol.DeviceAccess.SelectPromptRequest];
|
4656
|
-
returnType: void;
|
4657
|
-
};
|
4658
|
-
/**
|
4659
|
-
* Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.
|
4660
|
-
*/
|
4661
|
-
'DeviceAccess.cancelPrompt': {
|
4662
|
-
paramsType: [Protocol.DeviceAccess.CancelPromptRequest];
|
4663
|
-
returnType: void;
|
4664
|
-
};
|
4665
|
-
'Preload.enable': {
|
4666
|
-
paramsType: [];
|
4667
|
-
returnType: void;
|
4668
|
-
};
|
4669
|
-
'Preload.disable': {
|
4670
|
-
paramsType: [];
|
4671
|
-
returnType: void;
|
4672
|
-
};
|
4673
|
-
'FedCm.enable': {
|
4674
|
-
paramsType: [Protocol.FedCm.EnableRequest?];
|
4675
|
-
returnType: void;
|
4676
|
-
};
|
4677
|
-
'FedCm.disable': {
|
4678
|
-
paramsType: [];
|
4679
|
-
returnType: void;
|
4680
|
-
};
|
4681
|
-
'FedCm.selectAccount': {
|
4682
|
-
paramsType: [Protocol.FedCm.SelectAccountRequest];
|
4683
|
-
returnType: void;
|
4684
|
-
};
|
4685
|
-
'FedCm.clickDialogButton': {
|
4686
|
-
paramsType: [Protocol.FedCm.ClickDialogButtonRequest];
|
4687
|
-
returnType: void;
|
4688
|
-
};
|
4689
|
-
'FedCm.openUrl': {
|
4690
|
-
paramsType: [Protocol.FedCm.OpenUrlRequest];
|
4691
|
-
returnType: void;
|
4692
|
-
};
|
4693
|
-
'FedCm.dismissDialog': {
|
4694
|
-
paramsType: [Protocol.FedCm.DismissDialogRequest];
|
4695
|
-
returnType: void;
|
4696
|
-
};
|
4697
|
-
/**
|
4698
|
-
* Resets the cooldown time, if any, to allow the next FedCM call to show
|
4699
|
-
* a dialog even if one was recently dismissed by the user.
|
4700
|
-
*/
|
4701
|
-
'FedCm.resetCooldown': {
|
4702
|
-
paramsType: [];
|
4703
|
-
returnType: void;
|
4704
|
-
};
|
4705
|
-
/**
|
4706
|
-
* Returns the following OS state for the given manifest id.
|
4707
|
-
*/
|
4708
|
-
'PWA.getOsAppState': {
|
4709
|
-
paramsType: [Protocol.PWA.GetOsAppStateRequest];
|
4710
|
-
returnType: Protocol.PWA.GetOsAppStateResponse;
|
4711
|
-
};
|
4712
|
-
/**
|
4713
|
-
* Installs the given manifest identity, optionally using the given install_url
|
4714
|
-
* or IWA bundle location.
|
4715
|
-
*
|
4716
|
-
* TODO(crbug.com/337872319) Support IWA to meet the following specific
|
4717
|
-
* requirement.
|
4718
|
-
* IWA-specific install description: If the manifest_id is isolated-app://,
|
4719
|
-
* install_url_or_bundle_url is required, and can be either an http(s) URL or
|
4720
|
-
* file:// URL pointing to a signed web bundle (.swbn). The .swbn file's
|
4721
|
-
* signing key must correspond to manifest_id. If Chrome is not in IWA dev
|
4722
|
-
* mode, the installation will fail, regardless of the state of the allowlist.
|
4723
|
-
*/
|
4724
|
-
'PWA.install': {
|
4725
|
-
paramsType: [Protocol.PWA.InstallRequest];
|
4726
|
-
returnType: void;
|
4727
|
-
};
|
4728
|
-
/**
|
4729
|
-
* Uninstalls the given manifest_id and closes any opened app windows.
|
4730
|
-
*/
|
4731
|
-
'PWA.uninstall': {
|
4732
|
-
paramsType: [Protocol.PWA.UninstallRequest];
|
4733
|
-
returnType: void;
|
4734
|
-
};
|
4735
|
-
/**
|
4736
|
-
* Launches the installed web app, or an url in the same web app instead of the
|
4737
|
-
* default start url if it is provided. Returns a page Target.TargetID which
|
4738
|
-
* can be used to attach to via Target.attachToTarget or similar APIs.
|
4739
|
-
*/
|
4740
|
-
'PWA.launch': {
|
4741
|
-
paramsType: [Protocol.PWA.LaunchRequest];
|
4742
|
-
returnType: Protocol.PWA.LaunchResponse;
|
4743
|
-
};
|
4744
|
-
/**
|
4745
|
-
* Opens one or more local files from an installed web app identified by its
|
4746
|
-
* manifestId. The web app needs to have file handlers registered to process
|
4747
|
-
* the files. The API returns one or more page Target.TargetIDs which can be
|
4748
|
-
* used to attach to via Target.attachToTarget or similar APIs.
|
4749
|
-
* If some files in the parameters cannot be handled by the web app, they will
|
4750
|
-
* be ignored. If none of the files can be handled, this API returns an error.
|
4751
|
-
* If no files are provided as the parameter, this API also returns an error.
|
4752
|
-
*
|
4753
|
-
* According to the definition of the file handlers in the manifest file, one
|
4754
|
-
* Target.TargetID may represent a page handling one or more files. The order
|
4755
|
-
* of the returned Target.TargetIDs is not guaranteed.
|
4756
|
-
*
|
4757
|
-
* TODO(crbug.com/339454034): Check the existences of the input files.
|
4758
|
-
*/
|
4759
|
-
'PWA.launchFilesInApp': {
|
4760
|
-
paramsType: [Protocol.PWA.LaunchFilesInAppRequest];
|
4761
|
-
returnType: Protocol.PWA.LaunchFilesInAppResponse;
|
4762
|
-
};
|
4763
|
-
/**
|
4764
|
-
* Opens the current page in its web app identified by the manifest id, needs
|
4765
|
-
* to be called on a page target. This function returns immediately without
|
4766
|
-
* waiting for the app to finish loading.
|
4767
|
-
*/
|
4768
|
-
'PWA.openCurrentPageInApp': {
|
4769
|
-
paramsType: [Protocol.PWA.OpenCurrentPageInAppRequest];
|
4770
|
-
returnType: void;
|
4771
|
-
};
|
4772
|
-
/**
|
4773
|
-
* Changes user settings of the web app identified by its manifestId. If the
|
4774
|
-
* app was not installed, this command returns an error. Unset parameters will
|
4775
|
-
* be ignored; unrecognized values will cause an error.
|
4776
|
-
*
|
4777
|
-
* Unlike the ones defined in the manifest files of the web apps, these
|
4778
|
-
* settings are provided by the browser and controlled by the users, they
|
4779
|
-
* impact the way the browser handling the web apps.
|
4780
|
-
*
|
4781
|
-
* See the comment of each parameter.
|
4782
|
-
*/
|
4783
|
-
'PWA.changeAppUserSettings': {
|
4784
|
-
paramsType: [Protocol.PWA.ChangeAppUserSettingsRequest];
|
4785
|
-
returnType: void;
|
4786
|
-
};
|
4787
|
-
/**
|
4788
|
-
* Enable the BluetoothEmulation domain.
|
4789
|
-
*/
|
4790
|
-
'BluetoothEmulation.enable': {
|
4791
|
-
paramsType: [Protocol.BluetoothEmulation.EnableRequest];
|
4792
|
-
returnType: void;
|
4793
|
-
};
|
4794
|
-
/**
|
4795
|
-
* Set the state of the simulated central.
|
4796
|
-
*/
|
4797
|
-
'BluetoothEmulation.setSimulatedCentralState': {
|
4798
|
-
paramsType: [Protocol.BluetoothEmulation.SetSimulatedCentralStateRequest];
|
4799
|
-
returnType: void;
|
4800
|
-
};
|
4801
|
-
/**
|
4802
|
-
* Disable the BluetoothEmulation domain.
|
4803
|
-
*/
|
4804
|
-
'BluetoothEmulation.disable': {
|
4805
|
-
paramsType: [];
|
4806
|
-
returnType: void;
|
4807
|
-
};
|
4808
|
-
/**
|
4809
|
-
* Simulates a peripheral with |address|, |name| and |knownServiceUuids|
|
4810
|
-
* that has already been connected to the system.
|
4811
|
-
*/
|
4812
|
-
'BluetoothEmulation.simulatePreconnectedPeripheral': {
|
4813
|
-
paramsType: [Protocol.BluetoothEmulation.SimulatePreconnectedPeripheralRequest];
|
4814
|
-
returnType: void;
|
4815
|
-
};
|
4816
|
-
/**
|
4817
|
-
* Simulates an advertisement packet described in |entry| being received by
|
4818
|
-
* the central.
|
4819
|
-
*/
|
4820
|
-
'BluetoothEmulation.simulateAdvertisement': {
|
4821
|
-
paramsType: [Protocol.BluetoothEmulation.SimulateAdvertisementRequest];
|
4822
|
-
returnType: void;
|
4823
|
-
};
|
4824
|
-
/**
|
4825
|
-
* Simulates the response code from the peripheral with |address| for a
|
4826
|
-
* GATT operation of |type|. The |code| value follows the HCI Error Codes from
|
4827
|
-
* Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
|
4828
|
-
*/
|
4829
|
-
'BluetoothEmulation.simulateGATTOperationResponse': {
|
4830
|
-
paramsType: [Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest];
|
4831
|
-
returnType: void;
|
4832
|
-
};
|
4833
|
-
/**
|
4834
|
-
* Simulates the response from the characteristic with |characteristicId| for a
|
4835
|
-
* characteristic operation of |type|. The |code| value follows the Error
|
4836
|
-
* Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
|
4837
|
-
* The |data| is expected to exist when simulating a successful read operation
|
4838
|
-
* response.
|
4839
|
-
*/
|
4840
|
-
'BluetoothEmulation.simulateCharacteristicOperationResponse': {
|
4841
|
-
paramsType: [Protocol.BluetoothEmulation.SimulateCharacteristicOperationResponseRequest];
|
4842
|
-
returnType: void;
|
4843
|
-
};
|
4844
|
-
/**
|
4845
|
-
* Simulates the response from the descriptor with |descriptorId| for a
|
4846
|
-
* descriptor operation of |type|. The |code| value follows the Error
|
4847
|
-
* Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
|
4848
|
-
* The |data| is expected to exist when simulating a successful read operation
|
4849
|
-
* response.
|
4850
|
-
*/
|
4851
|
-
'BluetoothEmulation.simulateDescriptorOperationResponse': {
|
4852
|
-
paramsType: [Protocol.BluetoothEmulation.SimulateDescriptorOperationResponseRequest];
|
4853
|
-
returnType: void;
|
4854
|
-
};
|
4855
|
-
/**
|
4856
|
-
* Adds a service with |serviceUuid| to the peripheral with |address|.
|
4857
|
-
*/
|
4858
|
-
'BluetoothEmulation.addService': {
|
4859
|
-
paramsType: [Protocol.BluetoothEmulation.AddServiceRequest];
|
4860
|
-
returnType: Protocol.BluetoothEmulation.AddServiceResponse;
|
4861
|
-
};
|
4862
|
-
/**
|
4863
|
-
* Removes the service respresented by |serviceId| from the simulated central.
|
4864
|
-
*/
|
4865
|
-
'BluetoothEmulation.removeService': {
|
4866
|
-
paramsType: [Protocol.BluetoothEmulation.RemoveServiceRequest];
|
4867
|
-
returnType: void;
|
4868
|
-
};
|
4869
|
-
/**
|
4870
|
-
* Adds a characteristic with |characteristicUuid| and |properties| to the
|
4871
|
-
* service represented by |serviceId|.
|
4872
|
-
*/
|
4873
|
-
'BluetoothEmulation.addCharacteristic': {
|
4874
|
-
paramsType: [Protocol.BluetoothEmulation.AddCharacteristicRequest];
|
4875
|
-
returnType: Protocol.BluetoothEmulation.AddCharacteristicResponse;
|
4876
|
-
};
|
4877
|
-
/**
|
4878
|
-
* Removes the characteristic respresented by |characteristicId| from the
|
4879
|
-
* simulated central.
|
4880
|
-
*/
|
4881
|
-
'BluetoothEmulation.removeCharacteristic': {
|
4882
|
-
paramsType: [Protocol.BluetoothEmulation.RemoveCharacteristicRequest];
|
4883
|
-
returnType: void;
|
4884
|
-
};
|
4885
|
-
/**
|
4886
|
-
* Adds a descriptor with |descriptorUuid| to the characteristic respresented
|
4887
|
-
* by |characteristicId|.
|
4888
|
-
*/
|
4889
|
-
'BluetoothEmulation.addDescriptor': {
|
4890
|
-
paramsType: [Protocol.BluetoothEmulation.AddDescriptorRequest];
|
4891
|
-
returnType: Protocol.BluetoothEmulation.AddDescriptorResponse;
|
4892
|
-
};
|
4893
|
-
/**
|
4894
|
-
* Removes the descriptor with |descriptorId| from the simulated central.
|
4895
|
-
*/
|
4896
|
-
'BluetoothEmulation.removeDescriptor': {
|
4897
|
-
paramsType: [Protocol.BluetoothEmulation.RemoveDescriptorRequest];
|
4898
|
-
returnType: void;
|
4899
|
-
};
|
4900
|
-
/**
|
4901
|
-
* Simulates a GATT disconnection from the peripheral with |address|.
|
4902
|
-
*/
|
4903
|
-
'BluetoothEmulation.simulateGATTDisconnection': {
|
4904
|
-
paramsType: [Protocol.BluetoothEmulation.SimulateGATTDisconnectionRequest];
|
4905
|
-
returnType: void;
|
4906
|
-
};
|
4907
4986
|
/**
|
4908
4987
|
* Continues execution until specific location is reached.
|
4909
4988
|
*/
|