@paulirish/trace_engine 0.0.65 → 0.0.67-beta.0
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/README.md +19 -17
- package/analyze-trace.mjs +6 -144
- package/core/common/Base64.d.ts +12 -0
- package/core/common/CharacterIdMap.d.ts +5 -0
- package/core/common/Color.d.ts +357 -0
- package/core/common/ColorConverter.d.ts +26 -0
- package/core/common/ColorUtils.d.ts +45 -0
- package/core/common/Console.d.ts +54 -0
- package/core/common/Debouncer.d.ts +8 -0
- package/core/common/EventTarget.d.ts +22 -0
- package/core/common/Gzip.d.ts +23 -0
- package/core/common/JavaScriptMetaData.d.ts +20 -0
- package/core/common/Lazy.d.ts +4 -0
- package/core/common/MapWithDefault.d.ts +9 -0
- package/core/common/Mutex.d.ts +13 -0
- package/core/common/Object.d.ts +20 -0
- package/core/common/ParsedURL.d.ts +87 -0
- package/core/common/Progress.d.ts +47 -0
- package/core/common/ResolverBase.d.ts +29 -0
- package/core/common/ResourceType.d.ts +52 -0
- package/core/common/ReturnToPanel.d.ts +10 -0
- package/core/common/Revealer.d.ts +66 -0
- package/core/common/Runnable.d.ts +14 -0
- package/core/common/SegmentedRange.d.ts +14 -0
- package/core/common/SettingRegistration.d.ts +136 -0
- package/core/common/Settings.d.ts +226 -0
- package/core/common/SimpleHistoryManager.d.ts +20 -0
- package/core/common/Srcset.d.ts +16 -0
- package/core/common/StringOutputStream.d.ts +10 -0
- package/core/common/TextDictionary.d.ts +11 -0
- package/core/common/Throttler.d.ts +12 -0
- package/core/common/Trie.d.ts +24 -0
- package/core/common/VersionController.d.ts +85 -0
- package/core/common/common.d.ts +33 -1
- package/core/host/AidaClient.d.ts +73 -0
- package/core/host/AidaClientTypes.d.ts +355 -0
- package/core/host/AidaGcaTranslation.d.ts +10 -0
- package/core/host/DispatchHttpRequestClient.d.ts +14 -0
- package/core/host/GcaClient.d.ts +14 -0
- package/core/host/GcaTypes.d.ts +411 -0
- package/core/host/GdpClient.d.ts +84 -0
- package/core/host/InspectorFrontendHost.d.ts +29 -0
- package/core/host/InspectorFrontendHostAPI.d.ts +425 -0
- package/core/host/InspectorFrontendHostStub.d.ts +151 -0
- package/core/host/Platform.d.ts +11 -0
- package/core/host/ResourceLoader.d.ts +15 -0
- package/core/host/UserMetrics.d.ts +116 -0
- package/core/host/UserMetricsEnums.d.ts +883 -0
- package/core/host/host.d.ts +13 -1
- package/core/i18n/ByteUtilities.d.ts +11 -0
- package/core/i18n/DevToolsLocale.d.ts +41 -0
- package/core/i18n/NumberFormatter.d.ts +11 -0
- package/core/i18n/i18n.d.ts +10 -0
- package/core/i18n/i18nImpl.d.ts +64 -0
- package/core/i18n/i18nTypes.d.ts +5 -0
- package/core/i18n/locales.d.ts +15 -0
- package/core/i18n/time-utilities.d.ts +16 -0
- package/core/platform/ArrayUtilities.d.ts +5 -0
- package/core/platform/HostRuntime.d.ts +1 -0
- package/core/platform/Size.d.ts +12 -0
- package/core/platform/StringUtilities.d.ts +28 -0
- package/core/platform/TypescriptUtilities.d.ts +0 -6
- package/core/platform/api/HostRuntime.d.ts +25 -0
- package/core/platform/platform.d.ts +2 -1
- package/core/protocol_client/CDPConnection.d.ts +77 -0
- package/core/protocol_client/ConnectionTransport.d.ts +9 -0
- package/core/protocol_client/DevToolsCDPConnection.d.ts +16 -0
- package/core/protocol_client/InspectorBackend.d.ts +223 -0
- package/core/protocol_client/protocol_client.d.ts +5 -0
- package/core/root/DevToolsContext.d.ts +34 -0
- package/core/root/ExperimentNames.d.ts +8 -0
- package/core/root/Runtime.d.ts +351 -0
- package/core/root/root.d.ts +4 -1
- package/core/sdk/AccessibilityModel.d.ts +76 -0
- package/core/sdk/AnimationModel.d.ts +161 -0
- package/core/sdk/AutofillModel.d.ts +23 -0
- package/core/sdk/CPUProfilerModel.d.ts +46 -0
- package/core/sdk/CPUThrottlingManager.d.ts +47 -0
- package/core/sdk/CSSContainerQuery.d.ts +42 -0
- package/core/sdk/CSSFontFace.d.ts +10 -0
- package/core/sdk/CSSLayer.d.ts +9 -0
- package/core/sdk/CSSLocation.d.ts +14 -0
- package/core/sdk/CSSMatchedStyles.d.ts +138 -0
- package/core/sdk/CSSMedia.d.ts +36 -0
- package/core/sdk/CSSMetadata.d.ts +87 -0
- package/core/sdk/CSSModel.d.ts +180 -0
- package/core/sdk/CSSNavigation.d.ts +10 -0
- package/core/sdk/CSSProperty.d.ts +53 -0
- package/core/sdk/CSSPropertyParser.d.ts +131 -0
- package/core/sdk/CSSPropertyParserMatchers.d.ts +442 -0
- package/core/sdk/CSSQuery.d.ts +22 -0
- package/core/sdk/CSSRule.d.ts +132 -0
- package/core/sdk/CSSScope.d.ts +9 -0
- package/core/sdk/CSSStartingStyle.d.ts +9 -0
- package/core/sdk/CSSStyleDeclaration.d.ts +38 -0
- package/core/sdk/CSSStyleSheetHeader.d.ts +53 -0
- package/core/sdk/CSSSupports.d.ts +10 -0
- package/core/sdk/CategorizedBreakpoint.d.ts +42 -0
- package/core/sdk/ChildTargetManager.d.ts +40 -0
- package/core/sdk/CompilerSourceMappingContentProvider.d.ts +12 -0
- package/core/sdk/Connections.d.ts +36 -0
- package/core/sdk/ConsoleModel.d.ts +127 -0
- package/core/sdk/ConsoleModelTypes.d.ts +6 -0
- package/core/sdk/Cookie.d.ts +68 -0
- package/core/sdk/CookieModel.d.ts +31 -0
- package/core/sdk/CookieParser.d.ts +14 -0
- package/core/sdk/CrashReportContextModel.d.ts +8 -0
- package/core/sdk/DOMDebuggerModel.d.ts +127 -0
- package/core/sdk/DOMModel.d.ts +436 -0
- package/core/sdk/DOMStorageModel.d.ts +79 -0
- package/core/sdk/DebuggerModel.d.ts +272 -0
- package/core/sdk/EmulationModel.d.ts +95 -0
- package/core/sdk/EnhancedTracesParser.d.ts +105 -0
- package/core/sdk/EventBreakpointsModel.d.ts +66 -0
- package/core/sdk/FrameAssociated.d.ts +6 -0
- package/core/sdk/FrameManager.d.ts +68 -0
- package/core/sdk/HeapProfilerModel.d.ts +75 -0
- package/core/sdk/HttpReasonPhraseStrings.d.ts +5 -0
- package/core/sdk/IOModel.d.ts +10 -0
- package/core/sdk/IsolateManager.d.ts +53 -0
- package/core/sdk/IssuesModel.d.ts +28 -0
- package/core/sdk/LayerTreeBase.d.ts +70 -0
- package/core/sdk/LogModel.d.ts +20 -0
- package/core/sdk/NetworkManager.d.ts +418 -0
- package/core/sdk/NetworkRequest.d.ts +469 -0
- package/core/sdk/NetworkRequestAccess.d.ts +91 -0
- package/core/sdk/OverlayColorGenerator.d.ts +14 -0
- package/core/sdk/OverlayModel.d.ts +186 -0
- package/core/sdk/OverlayPersistentHighlighter.d.ts +116 -0
- package/core/sdk/PageFunctions.d.ts +22 -0
- package/core/sdk/PageLoad.d.ts +14 -0
- package/core/sdk/PageResourceLoader.d.ts +111 -0
- package/core/sdk/PaintProfiler.d.ts +43 -0
- package/core/sdk/PerformanceMetricsModel.d.ts +12 -0
- package/core/sdk/PreloadingModel.d.ts +146 -0
- package/core/sdk/RehydratingConnection.d.ts +73 -0
- package/core/sdk/RehydratingObject.d.ts +59 -0
- package/core/sdk/RemoteObject.d.ts +210 -0
- package/core/sdk/Resource.d.ts +36 -0
- package/core/sdk/ResourceTreeModel.d.ts +278 -0
- package/core/sdk/RuntimeModel.d.ts +163 -0
- package/core/sdk/SDKModel.d.ts +30 -0
- package/core/sdk/SDKSettings.d.ts +53 -0
- package/core/sdk/ScopeTreeCache.d.ts +21 -0
- package/core/sdk/ScreenCaptureModel.d.ts +69 -0
- package/core/sdk/Script.d.ts +134 -0
- package/core/sdk/SecurityOrigin.d.ts +108 -0
- package/core/sdk/SecurityOriginManager.d.ts +23 -0
- package/core/sdk/ServerSentEvents.d.ts +18 -0
- package/core/sdk/ServerSentEventsProtocol.d.ts +18 -0
- package/core/sdk/ServerTiming.d.ts +24 -0
- package/core/sdk/ServiceWorkerCacheModel.d.ts +71 -0
- package/core/sdk/ServiceWorkerManager.d.ts +125 -0
- package/core/sdk/SourceMap.d.ts +197 -0
- package/core/sdk/SourceMapCache.d.ts +12 -0
- package/core/sdk/SourceMapFunctionRanges.d.ts +26 -0
- package/core/sdk/SourceMapManager.d.ts +46 -0
- package/core/sdk/SourceMapRangeMappings.d.ts +15 -0
- package/core/sdk/SourceMapScopeChainEntry.d.ts +23 -0
- package/core/sdk/SourceMapScopesInfo.d.ts +109 -0
- package/core/sdk/StorageBucketsModel.d.ts +48 -0
- package/core/sdk/StorageKeyManager.d.ts +38 -0
- package/core/sdk/Target.d.ts +79 -0
- package/core/sdk/TargetManager.d.ts +92 -0
- package/core/sdk/TraceObject.d.ts +43 -0
- package/core/sdk/WebAuthnModel.d.ts +29 -0
- package/core/sdk/sdk.d.ts +97 -1
- package/core/text_utils/CodeMirrorUtils.d.ts +3 -0
- package/core/text_utils/ContentData.d.ts +94 -0
- package/core/text_utils/ContentProvider.d.ts +42 -0
- package/core/text_utils/StaticContentProvider.d.ts +13 -0
- package/core/text_utils/StreamingContentData.d.ts +49 -0
- package/core/text_utils/Text.d.ts +19 -0
- package/core/text_utils/TextCursor.d.ts +9 -0
- package/core/text_utils/TextRange.d.ts +81 -0
- package/core/text_utils/TextUtils.d.ts +97 -0
- package/core/text_utils/WasmDisassembly.d.ts +29 -0
- package/core/text_utils/text_utils.d.ts +11 -0
- package/entrypoints/formatter_actions/formatter_actions.d.ts +48 -0
- package/generated/InspectorBackendCommands.d.ts +14 -0
- package/generated/SupportedCSSProperties.d.ts +18 -0
- package/generated/protocol-mapping.d.ts +5930 -0
- package/generated/protocol-proxy-api.d.ts +5396 -0
- package/generated/protocol.d.ts +736 -685
- package/index.js +6 -0
- package/locales/af.json +80 -62
- package/locales/am.json +363 -345
- package/locales/ar.json +364 -346
- package/locales/as.json +362 -344
- package/locales/az.json +353 -335
- package/locales/be.json +363 -345
- package/locales/bg.json +363 -345
- package/locales/bn.json +363 -345
- package/locales/bs.json +259 -241
- package/locales/ca.json +295 -277
- package/locales/cs.json +348 -330
- package/locales/cy.json +139 -121
- package/locales/da.json +222 -204
- package/locales/de.json +234 -216
- package/locales/el.json +348 -330
- package/locales/en-GB.json +36 -18
- package/locales/es-419.json +290 -272
- package/locales/es.json +292 -274
- package/locales/et.json +251 -233
- package/locales/eu.json +29 -11
- package/locales/fa.json +363 -345
- package/locales/fi.json +295 -277
- package/locales/fil.json +29 -11
- package/locales/fr-CA.json +320 -302
- package/locales/fr.json +317 -299
- package/locales/gl.json +276 -258
- package/locales/gu.json +364 -346
- package/locales/he.json +364 -346
- package/locales/hi.json +348 -330
- package/locales/hr.json +250 -232
- package/locales/hu.json +354 -336
- package/locales/hy.json +363 -345
- package/locales/id.json +27 -9
- package/locales/is.json +317 -299
- package/locales/it.json +154 -136
- package/locales/ja.json +363 -345
- package/locales/ka.json +364 -346
- package/locales/kk.json +364 -346
- package/locales/km.json +363 -345
- package/locales/kn.json +364 -346
- package/locales/ko.json +363 -345
- package/locales/ky.json +362 -344
- package/locales/lo.json +364 -346
- package/locales/lt.json +331 -313
- package/locales/lv.json +331 -313
- package/locales/mk.json +364 -346
- package/locales/ml.json +363 -345
- package/locales/mn.json +363 -345
- package/locales/mr.json +363 -345
- package/locales/ms.json +27 -9
- package/locales/my.json +362 -344
- package/locales/ne.json +348 -330
- package/locales/nl.json +84 -66
- package/locales/no.json +188 -170
- package/locales/or.json +363 -345
- package/locales/pa.json +363 -345
- package/locales/pl.json +322 -304
- package/locales/pt-PT.json +284 -266
- package/locales/pt.json +283 -265
- package/locales/ro.json +318 -300
- package/locales/ru.json +363 -345
- package/locales/si.json +364 -346
- package/locales/sk.json +345 -327
- package/locales/sl.json +231 -213
- package/locales/sq.json +329 -311
- package/locales/sr-Latn.json +267 -249
- package/locales/sr.json +364 -346
- package/locales/sv.json +296 -278
- package/locales/sw.json +35 -17
- package/locales/ta.json +364 -346
- package/locales/te.json +362 -344
- package/locales/th.json +364 -346
- package/locales/tr.json +337 -319
- package/locales/uk.json +363 -345
- package/locales/ur.json +364 -346
- package/locales/uz.json +175 -157
- package/locales/vi.json +364 -346
- package/locales/zh-HK.json +364 -346
- package/locales/zh-TW.json +363 -345
- package/locales/zh.json +363 -345
- package/locales/zu.json +35 -17
- package/models/crux-manager/CrUXManager.d.ts +107 -0
- package/models/crux-manager/crux-manager.d.ts +1 -0
- package/models/emulation/DeviceModeModel.d.ts +156 -0
- package/models/emulation/EmulatedDevices.d.ts +148 -0
- package/models/emulation/emulation.d.ts +3 -0
- package/models/formatter/FormatterWorkerPool.d.ts +58 -0
- package/models/formatter/ScriptFormatter.d.ts +11 -0
- package/models/formatter/formatter.d.ts +3 -0
- package/models/trace/ModelImpl.d.ts +2 -6
- package/models/trace/Processor.d.ts +2 -6
- package/models/trace/extras/StackTraceForEvent.d.ts +1 -1
- package/models/trace/extras/extras.d.ts +2 -7
- package/models/trace/handlers/FramesHandler.d.ts +1 -2
- package/models/trace/handlers/LayoutShiftsHandler.d.ts +2 -2
- package/models/trace/handlers/MetaHandler.d.ts +2 -3
- package/models/trace/handlers/ModelHandlers.d.ts +0 -1
- package/models/trace/handlers/PageLoadMetricsHandler.d.ts +2 -0
- package/models/trace/handlers/ScriptsHandler.d.ts +2 -2
- package/models/trace/handlers/Threads.d.ts +1 -3
- package/models/trace/handlers/UserTimingsHandler.d.ts +1 -1
- package/models/trace/helpers/Network.d.ts +3 -1
- package/models/trace/helpers/SyntheticEvents.d.ts +7 -0
- package/models/trace/insights/CLSCulprits.d.ts +6 -3
- package/models/trace/insights/Cache.d.ts +2 -1
- package/models/trace/insights/CharacterSet.d.ts +5 -4
- package/models/trace/insights/Common.d.ts +4 -4
- package/models/trace/insights/DOMSize.d.ts +4 -3
- package/models/trace/insights/DocumentLatency.d.ts +2 -1
- package/models/trace/insights/DuplicatedJavaScript.d.ts +9 -4
- package/models/trace/insights/FontDisplay.d.ts +11 -5
- package/models/trace/insights/ForcedReflow.d.ts +6 -6
- package/models/trace/insights/INPBreakdown.d.ts +5 -5
- package/models/trace/insights/ImageDelivery.d.ts +7 -7
- package/models/trace/insights/LCPBreakdown.d.ts +4 -3
- package/models/trace/insights/LCPDiscovery.d.ts +7 -6
- package/models/trace/insights/LegacyJavaScript.d.ts +9 -4
- package/models/trace/insights/ModernHTTP.d.ts +6 -6
- package/models/trace/insights/NetworkDependencyTree.d.ts +18 -96
- package/models/trace/insights/RenderBlocking.d.ts +4 -3
- package/models/trace/insights/SlowCSSSelector.d.ts +10 -9
- package/models/trace/insights/ThirdParties.d.ts +17 -8
- package/models/trace/insights/Viewport.d.ts +6 -4
- package/models/trace/insights/types.d.ts +10 -7
- package/models/trace/lantern/lantern.js +6 -8
- package/models/trace/lantern/simulation/Constants.d.ts +29 -28
- package/models/trace/trace.js +529 -18
- package/models/trace/types/Configuration.d.ts +12 -1
- package/models/trace/types/File.d.ts +6 -5
- package/models/trace/types/Overlays.d.ts +13 -3
- package/models/trace/types/Timing.js +6 -14
- package/models/trace/types/TraceEvents.d.ts +48 -18
- package/models/trace/types/TraceEvents.js +187 -884
- package/models/trace/types/types.js +6 -8
- package/package.json +30 -9
- package/third_party/codemirror.next/codemirror.next.d.ts +9196 -0
- package/third_party/i18n/i18n-impl.d.ts +25 -0
- package/third_party/i18n/i18n.d.ts +3 -0
- package/third_party/i18n/localized-string-set.d.ts +49 -0
- package/third_party/intl-messageformat/intl-messageformat.d.ts +1 -0
- package/third_party/legacy-javascript/legacy-javascript.d.ts +2 -1
- package/third_party/legacy-javascript/lib/legacy-javascript.d.ts +18 -0
- package/third_party/source-map-scopes-codec/package/src/builder/builder.d.ts +67 -0
- package/third_party/source-map-scopes-codec/package/src/builder/safe_builder.d.ts +38 -0
- package/third_party/source-map-scopes-codec/package/src/codec.d.ts +48 -0
- package/third_party/source-map-scopes-codec/package/src/decode/decode.d.ts +31 -0
- package/third_party/source-map-scopes-codec/package/src/encode/encode.d.ts +8 -0
- package/third_party/source-map-scopes-codec/package/src/encode/encoder.d.ts +6 -0
- package/third_party/source-map-scopes-codec/package/src/mod.d.ts +5 -0
- package/third_party/source-map-scopes-codec/package/src/scopes.d.ts +168 -0
- package/third_party/source-map-scopes-codec/package/src/util.d.ts +5 -0
- package/third_party/source-map-scopes-codec/package/src/vlq.d.ts +14 -0
- package/third_party/source-map-scopes-codec/source-map-scopes-codec.d.ts +1 -0
- package/third_party/third-party-web/lib/nostats-subset.d.ts +2 -0
- package/third_party/third-party-web/package/lib/index.d.ts +34 -0
- package/third_party/third-party-web/package/lib/subsets/nostats.d.ts +1 -0
- package/third_party/third-party-web/third-party-web.d.ts +2 -1
- package/.tmp/tsbuildinfo/analyze-inspector-issues.d.mts +0 -13
- package/.tmp/tsbuildinfo/analyze-inspector-issues.d.mts.map +0 -1
- package/.tmp/tsbuildinfo/analyze-trace.d.mts +0 -17
- package/.tmp/tsbuildinfo/analyze-trace.d.mts.map +0 -1
- package/.tmp/tsbuildinfo/models/trace/extras/polyfills.d.ts +0 -4
- package/.tmp/tsbuildinfo/models/trace/extras/polyfills.d.ts.map +0 -1
- package/.tmp/tsbuildinfo/test/test-trace-engine.d.mts +0 -2
- package/.tmp/tsbuildinfo/test/test-trace-engine.d.mts.map +0 -1
- package/.tmp/tsbuildinfo/third_party/third-party-web/third-party-web.d.ts +0 -3
- package/.tmp/tsbuildinfo/third_party/third-party-web/third-party-web.d.ts.map +0 -1
- package/.tmp/tsbuildinfo/tsconfig.tsbuildinfo +0 -1
- package/analyze-inspector-issues.mjs +0 -60
- package/core/common/common.js +0 -1
- package/core/host/host.js +0 -1
- package/core/platform/ArrayUtilities.js +0 -210
- package/core/platform/ArrayUtilities.js.map +0 -1
- package/core/platform/Brand.js +0 -5
- package/core/platform/Brand.js.map +0 -1
- package/core/platform/Constructor.js +0 -5
- package/core/platform/Constructor.js.map +0 -1
- package/core/platform/DateUtilities.js +0 -14
- package/core/platform/DateUtilities.js.map +0 -1
- package/core/platform/DevToolsPath.js +0 -28
- package/core/platform/DevToolsPath.js.map +0 -1
- package/core/platform/HostRuntime.js +0 -31
- package/core/platform/HostRuntime.js.map +0 -1
- package/core/platform/KeyboardUtilities.js +0 -22
- package/core/platform/KeyboardUtilities.js.map +0 -1
- package/core/platform/MapUtilities.js +0 -80
- package/core/platform/MapUtilities.js.map +0 -1
- package/core/platform/MimeType.js +0 -144
- package/core/platform/MimeType.js.map +0 -1
- package/core/platform/NumberUtilities.js +0 -73
- package/core/platform/NumberUtilities.js.map +0 -1
- package/core/platform/StringUtilities.js +0 -594
- package/core/platform/StringUtilities.js.map +0 -1
- package/core/platform/Timing.js +0 -10
- package/core/platform/Timing.js.map +0 -1
- package/core/platform/TypedArrayUtilities.js +0 -158
- package/core/platform/TypedArrayUtilities.js.map +0 -1
- package/core/platform/TypescriptUtilities.js +0 -25
- package/core/platform/TypescriptUtilities.js.map +0 -1
- package/core/platform/UIString.js +0 -5
- package/core/platform/UIString.js.map +0 -1
- package/core/platform/UserVisibleError.js +0 -23
- package/core/platform/UserVisibleError.js.map +0 -1
- package/core/platform/api/HostRuntime.js +0 -5
- package/core/platform/api/HostRuntime.js.map +0 -1
- package/core/platform/api/api-tsconfig.json +0 -43
- package/core/platform/api/api.js +0 -6
- package/core/platform/api/api.js.map +0 -1
- package/core/platform/api/api_node_typecheck-tsconfig.json +0 -48
- package/core/platform/api/bundle-tsconfig.json +0 -1
- package/core/platform/api/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/core/platform/browser/HostRuntime.js +0 -75
- package/core/platform/browser/HostRuntime.js.map +0 -1
- package/core/platform/browser/browser-tsconfig.json +0 -48
- package/core/platform/browser/browser.js +0 -6
- package/core/platform/browser/browser.js.map +0 -1
- package/core/platform/browser/bundle-tsconfig.json +0 -1
- package/core/platform/browser/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/core/platform/bundle-tsconfig.json +0 -1
- package/core/platform/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/core/platform/node/HostRuntime.js +0 -82
- package/core/platform/node/HostRuntime.js.map +0 -1
- package/core/platform/node/bundle-tsconfig.json +0 -1
- package/core/platform/node/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/core/platform/node/node-tsconfig.json +0 -52
- package/core/platform/node/node.js +0 -6
- package/core/platform/node/node.js.map +0 -1
- package/core/platform/platform-tsconfig.json +0 -69
- package/core/platform/platform.js +0 -27
- package/core/platform/platform.js.map +0 -1
- package/core/platform/platform_node_typecheck-tsconfig.json +0 -74
- package/core/root/root.js +0 -1
- package/core/sdk/sdk.js +0 -1
- package/generated/protocol.js +0 -5
- package/locales/en-US.json +0 -1046
- package/locales/en-XL.json +0 -1046
- package/models/cpu_profile/CPUProfileDataModel.js +0 -517
- package/models/cpu_profile/CPUProfileDataModel.js.map +0 -1
- package/models/cpu_profile/ProfileTreeModel.js +0 -90
- package/models/cpu_profile/ProfileTreeModel.js.map +0 -1
- package/models/cpu_profile/bundle-tsconfig.json +0 -1
- package/models/cpu_profile/cpu_profile-tsconfig.json +0 -52
- package/models/cpu_profile/cpu_profile.js +0 -7
- package/models/cpu_profile/cpu_profile.js.map +0 -1
- package/models/cpu_profile/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/issues_manager/CheckFormsIssuesTrigger.d.ts +0 -1
- package/models/issues_manager/CheckFormsIssuesTrigger.js +0 -1
- package/models/issues_manager/ContrastCheckTrigger.d.ts +0 -1
- package/models/issues_manager/ContrastCheckTrigger.js +0 -1
- package/models/issues_manager/DeprecationIssue.d.ts +0 -1
- package/models/issues_manager/DeprecationIssue.js +0 -1
- package/models/issues_manager/IssueResolver.d.ts +0 -1
- package/models/issues_manager/IssueResolver.js +0 -1
- package/models/issues_manager/RelatedIssue.d.ts +0 -1
- package/models/issues_manager/RelatedIssue.js +0 -1
- package/models/issues_manager/SourceFrameIssuesManager.d.ts +0 -1
- package/models/issues_manager/SourceFrameIssuesManager.js +0 -1
- package/models/trace/EntityMapper.js +0 -133
- package/models/trace/EntityMapper.js.map +0 -1
- package/models/trace/EventsSerializer.js +0 -90
- package/models/trace/EventsSerializer.js.map +0 -1
- package/models/trace/LanternComputationData.js +0 -367
- package/models/trace/LanternComputationData.js.map +0 -1
- package/models/trace/LegacyTracingModel.d.ts +0 -1
- package/models/trace/LegacyTracingModel.js +0 -1
- package/models/trace/ModelImpl.js +0 -170
- package/models/trace/ModelImpl.js.map +0 -1
- package/models/trace/Name.js +0 -115
- package/models/trace/Name.js.map +0 -1
- package/models/trace/Processor.js +0 -556
- package/models/trace/Processor.js.map +0 -1
- package/models/trace/Styles.js +0 -824
- package/models/trace/Styles.js.map +0 -1
- package/models/trace/TracingManager.d.ts +0 -1
- package/models/trace/TracingManager.js +0 -1
- package/models/trace/bundle-tsconfig.json +0 -1
- package/models/trace/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -66
- package/models/trace/extras/FilmStrip.js +0 -45
- package/models/trace/extras/FilmStrip.js.map +0 -1
- package/models/trace/extras/Initiators.js +0 -47
- package/models/trace/extras/Initiators.js.map +0 -1
- package/models/trace/extras/MainThreadActivity.js +0 -77
- package/models/trace/extras/MainThreadActivity.js.map +0 -1
- package/models/trace/extras/ScriptDuplication.js +0 -163
- package/models/trace/extras/ScriptDuplication.js.map +0 -1
- package/models/trace/extras/StackTraceForEvent.js +0 -192
- package/models/trace/extras/StackTraceForEvent.js.map +0 -1
- package/models/trace/extras/ThirdParties.js +0 -119
- package/models/trace/extras/ThirdParties.js.map +0 -1
- package/models/trace/extras/TraceFilter.js +0 -51
- package/models/trace/extras/TraceFilter.js.map +0 -1
- package/models/trace/extras/TraceTree.js +0 -621
- package/models/trace/extras/TraceTree.js.map +0 -1
- package/models/trace/extras/bundle-tsconfig.json +0 -1
- package/models/trace/extras/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/extras/extras-tsconfig.json +0 -70
- package/models/trace/extras/extras.js +0 -13
- package/models/trace/extras/extras.js.map +0 -1
- package/models/trace/handlers/AnimationFramesHandler.js +0 -110
- package/models/trace/handlers/AnimationFramesHandler.js.map +0 -1
- package/models/trace/handlers/AnimationHandler.js +0 -27
- package/models/trace/handlers/AnimationHandler.js.map +0 -1
- package/models/trace/handlers/AsyncJSCallsHandler.js +0 -188
- package/models/trace/handlers/AsyncJSCallsHandler.js.map +0 -1
- package/models/trace/handlers/AuctionWorkletsHandler.d.ts +0 -8
- package/models/trace/handlers/AuctionWorkletsHandler.js +0 -163
- package/models/trace/handlers/AuctionWorkletsHandler.js.map +0 -1
- package/models/trace/handlers/DOMStatsHandler.js +0 -22
- package/models/trace/handlers/DOMStatsHandler.js.map +0 -1
- package/models/trace/handlers/ExtensionTraceDataHandler.js +0 -264
- package/models/trace/handlers/ExtensionTraceDataHandler.js.map +0 -1
- package/models/trace/handlers/FlowsHandler.js +0 -149
- package/models/trace/handlers/FlowsHandler.js.map +0 -1
- package/models/trace/handlers/FramesHandler.js +0 -492
- package/models/trace/handlers/FramesHandler.js.map +0 -1
- package/models/trace/handlers/GPUHandler.js +0 -36
- package/models/trace/handlers/GPUHandler.js.map +0 -1
- package/models/trace/handlers/ImagePaintingHandler.js +0 -148
- package/models/trace/handlers/ImagePaintingHandler.js.map +0 -1
- package/models/trace/handlers/InitiatorsHandler.js +0 -181
- package/models/trace/handlers/InitiatorsHandler.js.map +0 -1
- package/models/trace/handlers/InvalidationsHandler.js +0 -127
- package/models/trace/handlers/InvalidationsHandler.js.map +0 -1
- package/models/trace/handlers/LargestImagePaintHandler.js +0 -86
- package/models/trace/handlers/LargestImagePaintHandler.js.map +0 -1
- package/models/trace/handlers/LargestTextPaintHandler.js +0 -28
- package/models/trace/handlers/LargestTextPaintHandler.js.map +0 -1
- package/models/trace/handlers/LayerTreeHandler.js +0 -104
- package/models/trace/handlers/LayerTreeHandler.js.map +0 -1
- package/models/trace/handlers/LayoutShiftsHandler.js +0 -458
- package/models/trace/handlers/LayoutShiftsHandler.js.map +0 -1
- package/models/trace/handlers/MemoryHandler.js +0 -22
- package/models/trace/handlers/MemoryHandler.js.map +0 -1
- package/models/trace/handlers/MetaHandler.js +0 -411
- package/models/trace/handlers/MetaHandler.js.map +0 -1
- package/models/trace/handlers/ModelHandlers.js +0 -34
- package/models/trace/handlers/ModelHandlers.js.map +0 -1
- package/models/trace/handlers/NetworkRequestsHandler.js +0 -576
- package/models/trace/handlers/NetworkRequestsHandler.js.map +0 -1
- package/models/trace/handlers/PageFramesHandler.js +0 -43
- package/models/trace/handlers/PageFramesHandler.js.map +0 -1
- package/models/trace/handlers/PageLoadMetricsHandler.js +0 -423
- package/models/trace/handlers/PageLoadMetricsHandler.js.map +0 -1
- package/models/trace/handlers/RendererHandler.js +0 -347
- package/models/trace/handlers/RendererHandler.js.map +0 -1
- package/models/trace/handlers/SamplesHandler.js +0 -261
- package/models/trace/handlers/SamplesHandler.js.map +0 -1
- package/models/trace/handlers/ScreenshotsHandler.js +0 -98
- package/models/trace/handlers/ScreenshotsHandler.js.map +0 -1
- package/models/trace/handlers/ScriptsHandler.js +0 -286
- package/models/trace/handlers/ScriptsHandler.js.map +0 -1
- package/models/trace/handlers/SelectorStatsHandler.js +0 -72
- package/models/trace/handlers/SelectorStatsHandler.js.map +0 -1
- package/models/trace/handlers/Threads.js +0 -112
- package/models/trace/handlers/Threads.js.map +0 -1
- package/models/trace/handlers/UserInteractionsHandler.js +0 -319
- package/models/trace/handlers/UserInteractionsHandler.js.map +0 -1
- package/models/trace/handlers/UserTimingsHandler.js +0 -184
- package/models/trace/handlers/UserTimingsHandler.js.map +0 -1
- package/models/trace/handlers/WarningsHandler.js +0 -135
- package/models/trace/handlers/WarningsHandler.js.map +0 -1
- package/models/trace/handlers/WorkersHandler.js +0 -34
- package/models/trace/handlers/WorkersHandler.js.map +0 -1
- package/models/trace/handlers/bundle-tsconfig.json +0 -1
- package/models/trace/handlers/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/handlers/handlers-tsconfig.json +0 -102
- package/models/trace/handlers/handlers.js +0 -8
- package/models/trace/handlers/handlers.js.map +0 -1
- package/models/trace/handlers/helpers.js +0 -164
- package/models/trace/handlers/helpers.js.map +0 -1
- package/models/trace/handlers/types.js +0 -2
- package/models/trace/handlers/types.js.map +0 -1
- package/models/trace/helpers/Extensions.js +0 -42
- package/models/trace/helpers/Extensions.js.map +0 -1
- package/models/trace/helpers/Network.js +0 -103
- package/models/trace/helpers/Network.js.map +0 -1
- package/models/trace/helpers/SamplesIntegrator.js +0 -496
- package/models/trace/helpers/SamplesIntegrator.js.map +0 -1
- package/models/trace/helpers/SyntheticEvents.js +0 -75
- package/models/trace/helpers/SyntheticEvents.js.map +0 -1
- package/models/trace/helpers/Timing.js +0 -194
- package/models/trace/helpers/Timing.js.map +0 -1
- package/models/trace/helpers/Trace.js +0 -817
- package/models/trace/helpers/Trace.js.map +0 -1
- package/models/trace/helpers/TreeHelpers.js +0 -255
- package/models/trace/helpers/TreeHelpers.js.map +0 -1
- package/models/trace/helpers/bundle-tsconfig.json +0 -1
- package/models/trace/helpers/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/helpers/helpers-tsconfig.json +0 -69
- package/models/trace/helpers/helpers.js +0 -11
- package/models/trace/helpers/helpers.js.map +0 -1
- package/models/trace/insights/CLSCulprits.js +0 -518
- package/models/trace/insights/CLSCulprits.js.map +0 -1
- package/models/trace/insights/Cache.js +0 -210
- package/models/trace/insights/Cache.js.map +0 -1
- package/models/trace/insights/CharacterSet.js +0 -132
- package/models/trace/insights/CharacterSet.js.map +0 -1
- package/models/trace/insights/Common.js +0 -348
- package/models/trace/insights/Common.js.map +0 -1
- package/models/trace/insights/DOMSize.js +0 -182
- package/models/trace/insights/DOMSize.js.map +0 -1
- package/models/trace/insights/DocumentLatency.js +0 -259
- package/models/trace/insights/DocumentLatency.js.map +0 -1
- package/models/trace/insights/DuplicatedJavaScript.js +0 -95
- package/models/trace/insights/DuplicatedJavaScript.js.map +0 -1
- package/models/trace/insights/FontDisplay.js +0 -87
- package/models/trace/insights/FontDisplay.js.map +0 -1
- package/models/trace/insights/ForcedReflow.js +0 -162
- package/models/trace/insights/ForcedReflow.js.map +0 -1
- package/models/trace/insights/INPBreakdown.js +0 -130
- package/models/trace/insights/INPBreakdown.js.map +0 -1
- package/models/trace/insights/ImageDelivery.js +0 -264
- package/models/trace/insights/ImageDelivery.js.map +0 -1
- package/models/trace/insights/LCPBreakdown.js +0 -200
- package/models/trace/insights/LCPBreakdown.js.map +0 -1
- package/models/trace/insights/LCPDiscovery.js +0 -190
- package/models/trace/insights/LCPDiscovery.js.map +0 -1
- package/models/trace/insights/LegacyJavaScript.js +0 -95
- package/models/trace/insights/LegacyJavaScript.js.map +0 -1
- package/models/trace/insights/Models.js +0 -23
- package/models/trace/insights/Models.js.map +0 -1
- package/models/trace/insights/ModernHTTP.js +0 -201
- package/models/trace/insights/ModernHTTP.js.map +0 -1
- package/models/trace/insights/NetworkDependencyTree.js +0 -968
- package/models/trace/insights/NetworkDependencyTree.js.map +0 -1
- package/models/trace/insights/RenderBlocking.js +0 -193
- package/models/trace/insights/RenderBlocking.js.map +0 -1
- package/models/trace/insights/SlowCSSSelector.js +0 -137
- package/models/trace/insights/SlowCSSSelector.js.map +0 -1
- package/models/trace/insights/Statistics.js +0 -93
- package/models/trace/insights/Statistics.js.map +0 -1
- package/models/trace/insights/ThirdParties.js +0 -99
- package/models/trace/insights/ThirdParties.js.map +0 -1
- package/models/trace/insights/Viewport.js +0 -103
- package/models/trace/insights/Viewport.js.map +0 -1
- package/models/trace/insights/bundle-tsconfig.json +0 -1
- package/models/trace/insights/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/insights/insights-tsconfig.json +0 -103
- package/models/trace/insights/insights.js +0 -10
- package/models/trace/insights/insights.js.map +0 -1
- package/models/trace/insights/types.js +0 -41
- package/models/trace/insights/types.js.map +0 -1
- package/models/trace/lantern/bundle-tsconfig.json +0 -1
- package/models/trace/lantern/core/LanternError.js +0 -7
- package/models/trace/lantern/core/LanternError.js.map +0 -1
- package/models/trace/lantern/core/NetworkAnalyzer.js +0 -484
- package/models/trace/lantern/core/NetworkAnalyzer.js.map +0 -1
- package/models/trace/lantern/core/bundle-tsconfig.json +0 -1
- package/models/trace/lantern/core/core-tsconfig.json +0 -49
- package/models/trace/lantern/core/core.js +0 -6
- package/models/trace/lantern/core/core.js.map +0 -1
- package/models/trace/lantern/core/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/lantern/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -60
- package/models/trace/lantern/graph/BaseNode.js +0 -277
- package/models/trace/lantern/graph/BaseNode.js.map +0 -1
- package/models/trace/lantern/graph/CPUNode.js +0 -64
- package/models/trace/lantern/graph/CPUNode.js.map +0 -1
- package/models/trace/lantern/graph/NetworkNode.js +0 -83
- package/models/trace/lantern/graph/NetworkNode.js.map +0 -1
- package/models/trace/lantern/graph/PageDependencyGraph.js +0 -552
- package/models/trace/lantern/graph/PageDependencyGraph.js.map +0 -1
- package/models/trace/lantern/graph/bundle-tsconfig.json +0 -1
- package/models/trace/lantern/graph/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/lantern/graph/graph-tsconfig.json +0 -54
- package/models/trace/lantern/graph/graph.js +0 -8
- package/models/trace/lantern/graph/graph.js.map +0 -1
- package/models/trace/lantern/lantern.js.map +0 -1
- package/models/trace/lantern/metrics/FirstContentfulPaint.js +0 -137
- package/models/trace/lantern/metrics/FirstContentfulPaint.js.map +0 -1
- package/models/trace/lantern/metrics/Interactive.js +0 -68
- package/models/trace/lantern/metrics/Interactive.js.map +0 -1
- package/models/trace/lantern/metrics/LargestContentfulPaint.js +0 -69
- package/models/trace/lantern/metrics/LargestContentfulPaint.js.map +0 -1
- package/models/trace/lantern/metrics/MaxPotentialFID.js +0 -49
- package/models/trace/lantern/metrics/MaxPotentialFID.js.map +0 -1
- package/models/trace/lantern/metrics/Metric.js +0 -69
- package/models/trace/lantern/metrics/Metric.js.map +0 -1
- package/models/trace/lantern/metrics/SpeedIndex.js +0 -102
- package/models/trace/lantern/metrics/SpeedIndex.js.map +0 -1
- package/models/trace/lantern/metrics/TBTUtils.js +0 -65
- package/models/trace/lantern/metrics/TBTUtils.js.map +0 -1
- package/models/trace/lantern/metrics/TotalBlockingTime.js +0 -79
- package/models/trace/lantern/metrics/TotalBlockingTime.js.map +0 -1
- package/models/trace/lantern/metrics/bundle-tsconfig.json +0 -1
- package/models/trace/lantern/metrics/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/lantern/metrics/metrics-tsconfig.json +0 -64
- package/models/trace/lantern/metrics/metrics.js +0 -12
- package/models/trace/lantern/metrics/metrics.js.map +0 -1
- package/models/trace/lantern/simulation/ConnectionPool.js +0 -116
- package/models/trace/lantern/simulation/ConnectionPool.js.map +0 -1
- package/models/trace/lantern/simulation/Constants.js +0 -43
- package/models/trace/lantern/simulation/Constants.js.map +0 -1
- package/models/trace/lantern/simulation/DNSCache.js +0 -48
- package/models/trace/lantern/simulation/DNSCache.js.map +0 -1
- package/models/trace/lantern/simulation/SimulationTimingMap.js +0 -135
- package/models/trace/lantern/simulation/SimulationTimingMap.js.map +0 -1
- package/models/trace/lantern/simulation/Simulator.js +0 -451
- package/models/trace/lantern/simulation/Simulator.js.map +0 -1
- package/models/trace/lantern/simulation/TCPConnection.js +0 -155
- package/models/trace/lantern/simulation/TCPConnection.js.map +0 -1
- package/models/trace/lantern/simulation/bundle-tsconfig.json +0 -1
- package/models/trace/lantern/simulation/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/lantern/simulation/simulation-tsconfig.json +0 -59
- package/models/trace/lantern/simulation/simulation.js +0 -10
- package/models/trace/lantern/simulation/simulation.js.map +0 -1
- package/models/trace/lantern/types/Lantern.js +0 -25
- package/models/trace/lantern/types/Lantern.js.map +0 -1
- package/models/trace/lantern/types/bundle-tsconfig.json +0 -1
- package/models/trace/lantern/types/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/lantern/types/types-tsconfig.json +0 -48
- package/models/trace/lantern/types/types.js +0 -5
- package/models/trace/lantern/types/types.js.map +0 -1
- package/models/trace/trace-tsconfig.json +0 -78
- package/models/trace/trace.js.map +0 -1
- package/models/trace/types/Configuration.js +0 -18
- package/models/trace/types/Configuration.js.map +0 -1
- package/models/trace/types/Extensions.js +0 -38
- package/models/trace/types/Extensions.js.map +0 -1
- package/models/trace/types/File.js +0 -82
- package/models/trace/types/File.js.map +0 -1
- package/models/trace/types/Overlays.js +0 -5
- package/models/trace/types/Overlays.js.map +0 -1
- package/models/trace/types/Timing.js.map +0 -1
- package/models/trace/types/TraceEvents.js.map +0 -1
- package/models/trace/types/bundle-tsconfig.json +0 -1
- package/models/trace/types/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/types/types-tsconfig.json +0 -65
- package/models/trace/types/types.js.map +0 -1
- package/test/invalid-animation-events.json.gz +0 -0
- package/test/test-trace-engine.mjs +0 -191
- package/third_party/legacy-javascript/legacy-javascript.js +0 -1
- package/third_party/marked/marked.d.ts +0 -1
- package/third_party/marked/marked.js +0 -1
- package/third_party/third-party-web/third-party-web.js +0 -1
- package/tsconfig.json +0 -29
package/generated/protocol.d.ts
CHANGED
|
@@ -407,6 +407,97 @@ export declare namespace Accessibility {
|
|
|
407
407
|
nodes: AXNode[];
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
|
+
/**
|
|
411
|
+
* A domain for ad-related metrics and data.
|
|
412
|
+
*/
|
|
413
|
+
export declare namespace Ads {
|
|
414
|
+
/**
|
|
415
|
+
* Ad frame data.
|
|
416
|
+
*/
|
|
417
|
+
interface AdFrameData {
|
|
418
|
+
/**
|
|
419
|
+
* The DevTools frame token.
|
|
420
|
+
*/
|
|
421
|
+
frameId: Page.FrameId;
|
|
422
|
+
/**
|
|
423
|
+
* The initial origin of the frame. To minimize the payload size, this is
|
|
424
|
+
* only sent once per frame.
|
|
425
|
+
*/
|
|
426
|
+
initialOrigin?: string;
|
|
427
|
+
/**
|
|
428
|
+
* The network bytes of the frame.
|
|
429
|
+
*/
|
|
430
|
+
networkBytes: number;
|
|
431
|
+
/**
|
|
432
|
+
* The CPU time of the frame, in milliseconds.
|
|
433
|
+
*/
|
|
434
|
+
cpuTime: number;
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* Ad metrics for a page.
|
|
438
|
+
*/
|
|
439
|
+
interface AdMetrics {
|
|
440
|
+
/**
|
|
441
|
+
* The viewport ad density by area, represented as a percentage (an integer
|
|
442
|
+
* between 0 and 100).
|
|
443
|
+
*/
|
|
444
|
+
viewportAdDensityByArea: integer;
|
|
445
|
+
/**
|
|
446
|
+
* The time-weighted average of the viewport ad density by area, measured
|
|
447
|
+
* across the duration of the page.
|
|
448
|
+
*/
|
|
449
|
+
averageViewportAdDensityByArea: number;
|
|
450
|
+
/**
|
|
451
|
+
* The number of ads currently visible within the viewport.
|
|
452
|
+
*/
|
|
453
|
+
viewportAdCount: integer;
|
|
454
|
+
/**
|
|
455
|
+
* The time-weighted average of the viewport ad count, measured across the
|
|
456
|
+
* duration of the page.
|
|
457
|
+
*/
|
|
458
|
+
averageViewportAdCount: number;
|
|
459
|
+
/**
|
|
460
|
+
* The total ad CPU usage, in milliseconds.
|
|
461
|
+
*/
|
|
462
|
+
totalAdCpuTime: number;
|
|
463
|
+
/**
|
|
464
|
+
* The total ad network bytes.
|
|
465
|
+
*/
|
|
466
|
+
totalAdNetworkBytes: number;
|
|
467
|
+
/**
|
|
468
|
+
* The list of ad frames that have been updated since the last event.
|
|
469
|
+
*/
|
|
470
|
+
updateAdFrames: AdFrameData[];
|
|
471
|
+
/**
|
|
472
|
+
* The list of ad frame IDs that have been removed since the last event.
|
|
473
|
+
*/
|
|
474
|
+
removeAdFrames: Page.FrameId[];
|
|
475
|
+
}
|
|
476
|
+
/**
|
|
477
|
+
* An ad script.
|
|
478
|
+
* Note: when the script is a transitive ad script, we only fill in the
|
|
479
|
+
* immediate ancestor script in the provenance's adScriptAncestry field (as its
|
|
480
|
+
* first entry), rather than filling in the full ancestry. This saves work for
|
|
481
|
+
* the backend, and the frontend can reconstruct the full ancestry if
|
|
482
|
+
* necessary.
|
|
483
|
+
*/
|
|
484
|
+
interface AdScript {
|
|
485
|
+
/**
|
|
486
|
+
* The script ID.
|
|
487
|
+
*/
|
|
488
|
+
scriptId: Runtime.ScriptId;
|
|
489
|
+
/**
|
|
490
|
+
* The ad provenance.
|
|
491
|
+
*/
|
|
492
|
+
provenance: Network.AdProvenance;
|
|
493
|
+
}
|
|
494
|
+
interface GetAdMetricsResponse extends ProtocolResponseWithError {
|
|
495
|
+
metrics: AdMetrics;
|
|
496
|
+
}
|
|
497
|
+
interface GetAdScriptsResponse extends ProtocolResponseWithError {
|
|
498
|
+
newScripts: AdScript[];
|
|
499
|
+
}
|
|
500
|
+
}
|
|
410
501
|
export declare namespace Animation {
|
|
411
502
|
const enum AnimationType {
|
|
412
503
|
CSSTransition = "CSSTransition",
|
|
@@ -611,9 +702,15 @@ export declare namespace Animation {
|
|
|
611
702
|
*/
|
|
612
703
|
animations: string[];
|
|
613
704
|
/**
|
|
614
|
-
* Set
|
|
705
|
+
* Set each animation to the same time.
|
|
615
706
|
*/
|
|
616
|
-
currentTime
|
|
707
|
+
currentTime?: number;
|
|
708
|
+
/**
|
|
709
|
+
* Set each animation to a different time. If set, should have the same
|
|
710
|
+
* length as animations. Exactly one of currentTime or currentTimes should
|
|
711
|
+
* be set.
|
|
712
|
+
*/
|
|
713
|
+
currentTimes?: number[];
|
|
617
714
|
}
|
|
618
715
|
interface SetPausedRequest {
|
|
619
716
|
/**
|
|
@@ -807,7 +904,6 @@ export declare namespace Audits {
|
|
|
807
904
|
MixedContentWarning = "MixedContentWarning"
|
|
808
905
|
}
|
|
809
906
|
const enum MixedContentResourceType {
|
|
810
|
-
AttributionSrc = "AttributionSrc",
|
|
811
907
|
Audio = "Audio",
|
|
812
908
|
Beacon = "Beacon",
|
|
813
909
|
CSPReport = "CSPReport",
|
|
@@ -971,29 +1067,6 @@ export declare namespace Audits {
|
|
|
971
1067
|
resourceIPAddressSpace?: Network.IPAddressSpace;
|
|
972
1068
|
clientSecurityState?: Network.ClientSecurityState;
|
|
973
1069
|
}
|
|
974
|
-
const enum AttributionReportingIssueType {
|
|
975
|
-
PermissionPolicyDisabled = "PermissionPolicyDisabled",
|
|
976
|
-
UntrustworthyReportingOrigin = "UntrustworthyReportingOrigin",
|
|
977
|
-
InsecureContext = "InsecureContext",
|
|
978
|
-
InvalidHeader = "InvalidHeader",
|
|
979
|
-
InvalidRegisterTriggerHeader = "InvalidRegisterTriggerHeader",
|
|
980
|
-
SourceAndTriggerHeaders = "SourceAndTriggerHeaders",
|
|
981
|
-
SourceIgnored = "SourceIgnored",
|
|
982
|
-
TriggerIgnored = "TriggerIgnored",
|
|
983
|
-
OsSourceIgnored = "OsSourceIgnored",
|
|
984
|
-
OsTriggerIgnored = "OsTriggerIgnored",
|
|
985
|
-
InvalidRegisterOsSourceHeader = "InvalidRegisterOsSourceHeader",
|
|
986
|
-
InvalidRegisterOsTriggerHeader = "InvalidRegisterOsTriggerHeader",
|
|
987
|
-
WebAndOsHeaders = "WebAndOsHeaders",
|
|
988
|
-
NoWebOrOsSupport = "NoWebOrOsSupport",
|
|
989
|
-
NavigationRegistrationWithoutTransientUserActivation = "NavigationRegistrationWithoutTransientUserActivation",
|
|
990
|
-
InvalidInfoHeader = "InvalidInfoHeader",
|
|
991
|
-
NoRegisterSourceHeader = "NoRegisterSourceHeader",
|
|
992
|
-
NoRegisterTriggerHeader = "NoRegisterTriggerHeader",
|
|
993
|
-
NoRegisterOsSourceHeader = "NoRegisterOsSourceHeader",
|
|
994
|
-
NoRegisterOsTriggerHeader = "NoRegisterOsTriggerHeader",
|
|
995
|
-
NavigationRegistrationUniqueScopeAlreadySet = "NavigationRegistrationUniqueScopeAlreadySet"
|
|
996
|
-
}
|
|
997
1070
|
const enum SharedDictionaryError {
|
|
998
1071
|
UseErrorCrossOriginNoCorsRequest = "UseErrorCrossOriginNoCorsRequest",
|
|
999
1072
|
UseErrorDictionaryLoadFailure = "UseErrorDictionaryLoadFailure",
|
|
@@ -1061,17 +1134,10 @@ export declare namespace Audits {
|
|
|
1061
1134
|
ItemNotInnerList = "ItemNotInnerList",
|
|
1062
1135
|
InvalidAllowlistItemType = "InvalidAllowlistItemType",
|
|
1063
1136
|
ReportingEndpointNotToken = "ReportingEndpointNotToken",
|
|
1064
|
-
InvalidUrlPattern = "InvalidUrlPattern"
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
* Explainer: https://github.com/WICG/attribution-reporting-api
|
|
1069
|
-
*/
|
|
1070
|
-
interface AttributionReportingIssueDetails {
|
|
1071
|
-
violationType: AttributionReportingIssueType;
|
|
1072
|
-
request?: AffectedRequest;
|
|
1073
|
-
violatingNodeId?: DOM.BackendNodeId;
|
|
1074
|
-
invalidParameter?: string;
|
|
1137
|
+
InvalidUrlPattern = "InvalidUrlPattern",
|
|
1138
|
+
IFrameAttributeLoosensEmbeddingRequirement = "IFrameAttributeLoosensEmbeddingRequirement",
|
|
1139
|
+
InvalidAllowConnectionAllowlistFrom = "InvalidAllowConnectionAllowlistFrom",
|
|
1140
|
+
EmbeddingRequirementNotSatisfied = "EmbeddingRequirementNotSatisfied"
|
|
1075
1141
|
}
|
|
1076
1142
|
/**
|
|
1077
1143
|
* Details for issues about documents in Quirks Mode
|
|
@@ -1202,6 +1268,7 @@ export declare namespace Audits {
|
|
|
1202
1268
|
TooManyRequests = "TooManyRequests",
|
|
1203
1269
|
WellKnownHttpNotFound = "WellKnownHttpNotFound",
|
|
1204
1270
|
WellKnownNoResponse = "WellKnownNoResponse",
|
|
1271
|
+
WellKnownBlockedByConnectionAllowlist = "WellKnownBlockedByConnectionAllowlist",
|
|
1205
1272
|
WellKnownInvalidResponse = "WellKnownInvalidResponse",
|
|
1206
1273
|
WellKnownListEmpty = "WellKnownListEmpty",
|
|
1207
1274
|
WellKnownInvalidContentType = "WellKnownInvalidContentType",
|
|
@@ -1209,6 +1276,7 @@ export declare namespace Audits {
|
|
|
1209
1276
|
WellKnownTooBig = "WellKnownTooBig",
|
|
1210
1277
|
ConfigHttpNotFound = "ConfigHttpNotFound",
|
|
1211
1278
|
ConfigNoResponse = "ConfigNoResponse",
|
|
1279
|
+
ConfigBlockedByConnectionAllowlist = "ConfigBlockedByConnectionAllowlist",
|
|
1212
1280
|
ConfigInvalidResponse = "ConfigInvalidResponse",
|
|
1213
1281
|
ConfigInvalidContentType = "ConfigInvalidContentType",
|
|
1214
1282
|
IdpNotPotentiallyTrustworthy = "IdpNotPotentiallyTrustworthy",
|
|
@@ -1218,11 +1286,13 @@ export declare namespace Audits {
|
|
|
1218
1286
|
InvalidSigninResponse = "InvalidSigninResponse",
|
|
1219
1287
|
AccountsHttpNotFound = "AccountsHttpNotFound",
|
|
1220
1288
|
AccountsNoResponse = "AccountsNoResponse",
|
|
1289
|
+
AccountsBlockedByConnectionAllowlist = "AccountsBlockedByConnectionAllowlist",
|
|
1221
1290
|
AccountsInvalidResponse = "AccountsInvalidResponse",
|
|
1222
1291
|
AccountsListEmpty = "AccountsListEmpty",
|
|
1223
1292
|
AccountsInvalidContentType = "AccountsInvalidContentType",
|
|
1224
1293
|
IdTokenHttpNotFound = "IdTokenHttpNotFound",
|
|
1225
1294
|
IdTokenNoResponse = "IdTokenNoResponse",
|
|
1295
|
+
IdTokenBlockedByConnectionAllowlist = "IdTokenBlockedByConnectionAllowlist",
|
|
1226
1296
|
IdTokenInvalidResponse = "IdTokenInvalidResponse",
|
|
1227
1297
|
IdTokenIdpErrorResponse = "IdTokenIdpErrorResponse",
|
|
1228
1298
|
IdTokenCrossSiteIdpErrorResponse = "IdTokenCrossSiteIdpErrorResponse",
|
|
@@ -1239,7 +1309,8 @@ export declare namespace Audits {
|
|
|
1239
1309
|
TypeNotMatching = "TypeNotMatching",
|
|
1240
1310
|
UiDismissedNoEmbargo = "UiDismissedNoEmbargo",
|
|
1241
1311
|
CorsError = "CorsError",
|
|
1242
|
-
SuppressedBySegmentationPlatform = "SuppressedBySegmentationPlatform"
|
|
1312
|
+
SuppressedBySegmentationPlatform = "SuppressedBySegmentationPlatform",
|
|
1313
|
+
PopupBlockedByConnectionAllowlist = "PopupBlockedByConnectionAllowlist"
|
|
1243
1314
|
}
|
|
1244
1315
|
interface FederatedAuthUserInfoRequestIssueDetails {
|
|
1245
1316
|
federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
|
|
@@ -1290,7 +1361,43 @@ export declare namespace Audits {
|
|
|
1290
1361
|
RpOriginIsOpaque = "RpOriginIsOpaque",
|
|
1291
1362
|
WellKnownMissingAccountsEndpoint = "WellKnownMissingAccountsEndpoint",
|
|
1292
1363
|
UserLoggedOut = "UserLoggedOut",
|
|
1293
|
-
WellKnownAccountsEndpointCrossOrigin = "WellKnownAccountsEndpointCrossOrigin"
|
|
1364
|
+
WellKnownAccountsEndpointCrossOrigin = "WellKnownAccountsEndpointCrossOrigin",
|
|
1365
|
+
AccountsHttpNotFound = "AccountsHttpNotFound",
|
|
1366
|
+
AccountsNoResponse = "AccountsNoResponse",
|
|
1367
|
+
AccountsInvalidResponse = "AccountsInvalidResponse",
|
|
1368
|
+
AccountsInvalidContentType = "AccountsInvalidContentType",
|
|
1369
|
+
AccountsEmptyList = "AccountsEmptyList",
|
|
1370
|
+
EmailVerificationWellKnownHttpNotFound = "EmailVerificationWellKnownHttpNotFound",
|
|
1371
|
+
EmailVerificationWellKnownNoResponse = "EmailVerificationWellKnownNoResponse",
|
|
1372
|
+
EmailVerificationWellKnownInvalidResponse = "EmailVerificationWellKnownInvalidResponse",
|
|
1373
|
+
EmailVerificationWellKnownInvalidContentType = "EmailVerificationWellKnownInvalidContentType",
|
|
1374
|
+
JwksHttpNotFound = "JwksHttpNotFound",
|
|
1375
|
+
JwksInvalidResponse = "JwksInvalidResponse",
|
|
1376
|
+
TokenVerificationSdJwtUnsupportedHeaderAlg = "TokenVerificationSdJwtUnsupportedHeaderAlg",
|
|
1377
|
+
TokenVerificationSdJwtInvalidTyp = "TokenVerificationSdJwtInvalidTyp",
|
|
1378
|
+
TokenVerificationSdJwtMissingIss = "TokenVerificationSdJwtMissingIss",
|
|
1379
|
+
TokenVerificationSdJwtMissingIat = "TokenVerificationSdJwtMissingIat",
|
|
1380
|
+
TokenVerificationSdJwtMissingCnf = "TokenVerificationSdJwtMissingCnf",
|
|
1381
|
+
TokenVerificationSdJwtMissingEmail = "TokenVerificationSdJwtMissingEmail",
|
|
1382
|
+
TokenVerificationSdJwtInvalidIssuedAt = "TokenVerificationSdJwtInvalidIssuedAt",
|
|
1383
|
+
TokenVerificationSdJwtInvalidIssuer = "TokenVerificationSdJwtInvalidIssuer",
|
|
1384
|
+
TokenVerificationSdJwtJwksMissingKeys = "TokenVerificationSdJwtJwksMissingKeys",
|
|
1385
|
+
TokenVerificationSdJwtSignatureFailed = "TokenVerificationSdJwtSignatureFailed",
|
|
1386
|
+
TokenVerificationSdJwtInvalidEmailVerified = "TokenVerificationSdJwtInvalidEmailVerified",
|
|
1387
|
+
TokenVerificationSdJwtInvalidEmail = "TokenVerificationSdJwtInvalidEmail",
|
|
1388
|
+
TokenVerificationSdJwtInvalidHolderKey = "TokenVerificationSdJwtInvalidHolderKey",
|
|
1389
|
+
TokenVerificationKbInvalidTyp = "TokenVerificationKbInvalidTyp",
|
|
1390
|
+
TokenVerificationKbMissingAud = "TokenVerificationKbMissingAud",
|
|
1391
|
+
TokenVerificationKbMissingNonce = "TokenVerificationKbMissingNonce",
|
|
1392
|
+
TokenVerificationKbMissingIat = "TokenVerificationKbMissingIat",
|
|
1393
|
+
TokenVerificationKbMissingSdHash = "TokenVerificationKbMissingSdHash",
|
|
1394
|
+
TokenVerificationKbInvalidIssuedAt = "TokenVerificationKbInvalidIssuedAt",
|
|
1395
|
+
TokenVerificationKbInvalidAudience = "TokenVerificationKbInvalidAudience",
|
|
1396
|
+
TokenVerificationKbInvalidNonce = "TokenVerificationKbInvalidNonce",
|
|
1397
|
+
TokenVerificationKbInvalidSdHash = "TokenVerificationKbInvalidSdHash",
|
|
1398
|
+
TokenVerificationKbMissingCnf = "TokenVerificationKbMissingCnf",
|
|
1399
|
+
TokenVerificationKbSignatureFailed = "TokenVerificationKbSignatureFailed",
|
|
1400
|
+
CrossOriginIframeNotSupported = "CrossOriginIframeNotSupported"
|
|
1294
1401
|
}
|
|
1295
1402
|
/**
|
|
1296
1403
|
* This issue tracks client hints related issues. It's used to deprecate old
|
|
@@ -1427,7 +1534,9 @@ export declare namespace Audits {
|
|
|
1427
1534
|
LowContrast = "LowContrast",
|
|
1428
1535
|
FontSizeTooSmall = "FontSizeTooSmall",
|
|
1429
1536
|
FontSizeTooLarge = "FontSizeTooLarge",
|
|
1430
|
-
InvalidSizeValue = "InvalidSizeValue"
|
|
1537
|
+
InvalidSizeValue = "InvalidSizeValue",
|
|
1538
|
+
NonSecureContext = "NonSecureContext",
|
|
1539
|
+
MissingTransientUserActivation = "MissingTransientUserActivation"
|
|
1431
1540
|
}
|
|
1432
1541
|
/**
|
|
1433
1542
|
* This issue warns about improper usage of the <permission> element.
|
|
@@ -1464,6 +1573,21 @@ export declare namespace Audits {
|
|
|
1464
1573
|
*/
|
|
1465
1574
|
disableReason?: string;
|
|
1466
1575
|
}
|
|
1576
|
+
const enum WebInstallIssueReason {
|
|
1577
|
+
ManifestParsingOrNetworkError = "ManifestParsingOrNetworkError",
|
|
1578
|
+
StartUrlInvalid = "StartUrlInvalid",
|
|
1579
|
+
ManifestMissingNameOrShortName = "ManifestMissingNameOrShortName",
|
|
1580
|
+
ManifestMissingId = "ManifestMissingId",
|
|
1581
|
+
NoManifest = "NoManifest"
|
|
1582
|
+
}
|
|
1583
|
+
/**
|
|
1584
|
+
* This issue reports a failure involving a web app manifest used by a Web
|
|
1585
|
+
* Install operation.
|
|
1586
|
+
*/
|
|
1587
|
+
interface WebInstallIssueDetails {
|
|
1588
|
+
manifestUrl?: string;
|
|
1589
|
+
reason: WebInstallIssueReason;
|
|
1590
|
+
}
|
|
1467
1591
|
/**
|
|
1468
1592
|
* The issue warns about blocked calls to privacy sensitive APIs via the
|
|
1469
1593
|
* Selective Permissions Intervention.
|
|
@@ -1482,6 +1606,23 @@ export declare namespace Audits {
|
|
|
1482
1606
|
*/
|
|
1483
1607
|
stackTrace?: Runtime.StackTrace;
|
|
1484
1608
|
}
|
|
1609
|
+
/**
|
|
1610
|
+
* Details for issues about lazy-loaded images without explicit dimensions.
|
|
1611
|
+
*/
|
|
1612
|
+
interface LazyLoadImageIssueDetails {
|
|
1613
|
+
/**
|
|
1614
|
+
* DOM node of the problematic HTMLImageElement.
|
|
1615
|
+
*/
|
|
1616
|
+
nodeId: DOM.BackendNodeId;
|
|
1617
|
+
/**
|
|
1618
|
+
* URL or src attribute of the image.
|
|
1619
|
+
*/
|
|
1620
|
+
url: string;
|
|
1621
|
+
/**
|
|
1622
|
+
* Frame containing the image.
|
|
1623
|
+
*/
|
|
1624
|
+
frameId: Page.FrameId;
|
|
1625
|
+
}
|
|
1485
1626
|
/**
|
|
1486
1627
|
* A unique identifier for the type of issue. Each type may use one of the
|
|
1487
1628
|
* optional fields in InspectorIssueDetails to convey more specific
|
|
@@ -1495,7 +1636,6 @@ export declare namespace Audits {
|
|
|
1495
1636
|
ContentSecurityPolicyIssue = "ContentSecurityPolicyIssue",
|
|
1496
1637
|
SharedArrayBufferIssue = "SharedArrayBufferIssue",
|
|
1497
1638
|
CorsIssue = "CorsIssue",
|
|
1498
|
-
AttributionReportingIssue = "AttributionReportingIssue",
|
|
1499
1639
|
QuirksModeIssue = "QuirksModeIssue",
|
|
1500
1640
|
PartitioningBlobURLIssue = "PartitioningBlobURLIssue",
|
|
1501
1641
|
NavigatorUserAgentIssue = "NavigatorUserAgentIssue",
|
|
@@ -1517,7 +1657,9 @@ export declare namespace Audits {
|
|
|
1517
1657
|
PermissionElementIssue = "PermissionElementIssue",
|
|
1518
1658
|
PerformanceIssue = "PerformanceIssue",
|
|
1519
1659
|
SelectivePermissionsInterventionIssue = "SelectivePermissionsInterventionIssue",
|
|
1520
|
-
EmailVerificationRequestIssue = "EmailVerificationRequestIssue"
|
|
1660
|
+
EmailVerificationRequestIssue = "EmailVerificationRequestIssue",
|
|
1661
|
+
LazyLoadImageIssue = "LazyLoadImageIssue",
|
|
1662
|
+
WebInstallIssue = "WebInstallIssue"
|
|
1521
1663
|
}
|
|
1522
1664
|
/**
|
|
1523
1665
|
* This struct holds a list of optional fields with additional information
|
|
@@ -1532,7 +1674,6 @@ export declare namespace Audits {
|
|
|
1532
1674
|
contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;
|
|
1533
1675
|
sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
|
|
1534
1676
|
corsIssueDetails?: CorsIssueDetails;
|
|
1535
|
-
attributionReportingIssueDetails?: AttributionReportingIssueDetails;
|
|
1536
1677
|
quirksModeIssueDetails?: QuirksModeIssueDetails;
|
|
1537
1678
|
partitioningBlobURLIssueDetails?: PartitioningBlobURLIssueDetails;
|
|
1538
1679
|
/**
|
|
@@ -1558,6 +1699,8 @@ export declare namespace Audits {
|
|
|
1558
1699
|
performanceIssueDetails?: PerformanceIssueDetails;
|
|
1559
1700
|
selectivePermissionsInterventionIssueDetails?: SelectivePermissionsInterventionIssueDetails;
|
|
1560
1701
|
emailVerificationRequestIssueDetails?: EmailVerificationRequestIssueDetails;
|
|
1702
|
+
lazyLoadImageIssueDetails?: LazyLoadImageIssueDetails;
|
|
1703
|
+
webInstallIssueDetails?: WebInstallIssueDetails;
|
|
1561
1704
|
}
|
|
1562
1705
|
/**
|
|
1563
1706
|
* A unique id for a DevTools inspector issue. Allows other entities (e.g.
|
|
@@ -2228,10 +2371,6 @@ export declare namespace Browser {
|
|
|
2228
2371
|
*/
|
|
2229
2372
|
buckets: Bucket[];
|
|
2230
2373
|
}
|
|
2231
|
-
const enum PrivacySandboxAPI {
|
|
2232
|
-
BiddingAndAuctionServices = "BiddingAndAuctionServices",
|
|
2233
|
-
TrustedKeyValue = "TrustedKeyValue"
|
|
2234
|
-
}
|
|
2235
2374
|
interface SetPermissionRequest {
|
|
2236
2375
|
/**
|
|
2237
2376
|
* Descriptor of permission to override.
|
|
@@ -2338,6 +2477,14 @@ export declare namespace Browser {
|
|
|
2338
2477
|
*/
|
|
2339
2478
|
arguments: string[];
|
|
2340
2479
|
}
|
|
2480
|
+
interface AddMockCameraRequest {
|
|
2481
|
+
/**
|
|
2482
|
+
* Required non-empty identifier for the mock camera. This is mapped to an
|
|
2483
|
+
* internal virtual-device identifier and is not the MediaDeviceInfo.deviceId
|
|
2484
|
+
* exposed to the page.
|
|
2485
|
+
*/
|
|
2486
|
+
deviceId: string;
|
|
2487
|
+
}
|
|
2341
2488
|
interface GetHistogramsRequest {
|
|
2342
2489
|
/**
|
|
2343
2490
|
* Requested substring in name. Only histograms which have query as a
|
|
@@ -2442,15 +2589,14 @@ export declare namespace Browser {
|
|
|
2442
2589
|
interface AddPrivacySandboxEnrollmentOverrideRequest {
|
|
2443
2590
|
url: string;
|
|
2444
2591
|
}
|
|
2445
|
-
interface
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
browserContextId?: BrowserContextID;
|
|
2592
|
+
interface GetGlobalPrivacyControlResponse extends ProtocolResponseWithError {
|
|
2593
|
+
gpc: boolean;
|
|
2594
|
+
}
|
|
2595
|
+
interface SetGlobalPrivacyControlRequest {
|
|
2596
|
+
gpc: boolean;
|
|
2597
|
+
}
|
|
2598
|
+
interface SetGlobalPrivacyControlResponse extends ProtocolResponseWithError {
|
|
2599
|
+
gpc: boolean;
|
|
2454
2600
|
}
|
|
2455
2601
|
/**
|
|
2456
2602
|
* Fired when page is about to start a download.
|
|
@@ -2621,6 +2767,27 @@ export declare namespace CSS {
|
|
|
2621
2767
|
*/
|
|
2622
2768
|
specificity?: Specificity;
|
|
2623
2769
|
}
|
|
2770
|
+
/**
|
|
2771
|
+
* Contribution of an individual simple selector to specificity.
|
|
2772
|
+
*/
|
|
2773
|
+
interface SpecificityComponent {
|
|
2774
|
+
/**
|
|
2775
|
+
* The simple selector text that contributes to specificity.
|
|
2776
|
+
*/
|
|
2777
|
+
text: string;
|
|
2778
|
+
/**
|
|
2779
|
+
* The a component contribution.
|
|
2780
|
+
*/
|
|
2781
|
+
a: integer;
|
|
2782
|
+
/**
|
|
2783
|
+
* The b component contribution.
|
|
2784
|
+
*/
|
|
2785
|
+
b: integer;
|
|
2786
|
+
/**
|
|
2787
|
+
* The c component contribution.
|
|
2788
|
+
*/
|
|
2789
|
+
c: integer;
|
|
2790
|
+
}
|
|
2624
2791
|
/**
|
|
2625
2792
|
* Specificity:
|
|
2626
2793
|
* https://drafts.csswg.org/selectors/#specificity-rules
|
|
@@ -2639,6 +2806,10 @@ export declare namespace CSS {
|
|
|
2639
2806
|
* The c component, which represents the number of type selectors and pseudo-elements.
|
|
2640
2807
|
*/
|
|
2641
2808
|
c: integer;
|
|
2809
|
+
/**
|
|
2810
|
+
* Per-simple-selector contributions used to explain this specificity.
|
|
2811
|
+
*/
|
|
2812
|
+
components?: SpecificityComponent[];
|
|
2642
2813
|
}
|
|
2643
2814
|
/**
|
|
2644
2815
|
* Selector list data.
|
|
@@ -4342,8 +4513,11 @@ export declare namespace DOM {
|
|
|
4342
4513
|
FileSelectorButton = "file-selector-button",
|
|
4343
4514
|
DetailsContent = "details-content",
|
|
4344
4515
|
Picker = "picker",
|
|
4516
|
+
SelectListbox = "select-listbox",
|
|
4345
4517
|
PermissionIcon = "permission-icon",
|
|
4346
|
-
OverscrollAreaParent = "overscroll-area-parent"
|
|
4518
|
+
OverscrollAreaParent = "overscroll-area-parent",
|
|
4519
|
+
OverscrollBackdrop = "overscroll-backdrop",
|
|
4520
|
+
Skeleton = "skeleton"
|
|
4347
4521
|
}
|
|
4348
4522
|
/**
|
|
4349
4523
|
* Shadow root type.
|
|
@@ -5323,6 +5497,13 @@ export declare namespace DOM {
|
|
|
5323
5497
|
* popover if it was previously force-opened.
|
|
5324
5498
|
*/
|
|
5325
5499
|
enable: boolean;
|
|
5500
|
+
/**
|
|
5501
|
+
* Optional ID of the element invoking this popover, used to establish the implicit anchor.
|
|
5502
|
+
* If not provided, it will fall back to the first invoker in the document, preferring
|
|
5503
|
+
* elements with a popovertarget attribute over those with a commandfor attribute. Note that
|
|
5504
|
+
* if there are multiple invokers, this is just an estimate.
|
|
5505
|
+
*/
|
|
5506
|
+
invokerNodeId?: BackendNodeId;
|
|
5326
5507
|
}
|
|
5327
5508
|
interface ForceShowPopoverResponse extends ProtocolResponseWithError {
|
|
5328
5509
|
/**
|
|
@@ -5330,6 +5511,61 @@ export declare namespace DOM {
|
|
|
5330
5511
|
*/
|
|
5331
5512
|
nodeIds: NodeId[];
|
|
5332
5513
|
}
|
|
5514
|
+
interface GetImplicitAnchorCandidatesRequest {
|
|
5515
|
+
/**
|
|
5516
|
+
* Id of the popover HTMLElement.
|
|
5517
|
+
*/
|
|
5518
|
+
nodeId: NodeId;
|
|
5519
|
+
}
|
|
5520
|
+
interface GetImplicitAnchorCandidatesResponse extends ProtocolResponseWithError {
|
|
5521
|
+
/**
|
|
5522
|
+
* Candidate elements that can invoke this popover.
|
|
5523
|
+
*/
|
|
5524
|
+
backendNodeIds: BackendNodeId[];
|
|
5525
|
+
}
|
|
5526
|
+
interface ForceShowInterestRequest {
|
|
5527
|
+
/**
|
|
5528
|
+
* Id of the interest invoker HTMLElement.
|
|
5529
|
+
*/
|
|
5530
|
+
nodeId: NodeId;
|
|
5531
|
+
/**
|
|
5532
|
+
* If true, opens and holds interest. If false, releases forced interest.
|
|
5533
|
+
*/
|
|
5534
|
+
enable: boolean;
|
|
5535
|
+
}
|
|
5536
|
+
const enum SetTextMarkerRequestType {
|
|
5537
|
+
Spelling = "spelling",
|
|
5538
|
+
Grammar = "grammar"
|
|
5539
|
+
}
|
|
5540
|
+
interface SetTextMarkerRequest {
|
|
5541
|
+
/**
|
|
5542
|
+
* Identifier of the node.
|
|
5543
|
+
*/
|
|
5544
|
+
nodeId?: NodeId;
|
|
5545
|
+
/**
|
|
5546
|
+
* Identifier of the backend node.
|
|
5547
|
+
*/
|
|
5548
|
+
backendNodeId?: BackendNodeId;
|
|
5549
|
+
/**
|
|
5550
|
+
* JavaScript object id of the node wrapper.
|
|
5551
|
+
*/
|
|
5552
|
+
objectId?: Runtime.RemoteObjectId;
|
|
5553
|
+
/**
|
|
5554
|
+
* The type of marker to set on the given range of text.
|
|
5555
|
+
*/
|
|
5556
|
+
type: SetTextMarkerRequestType;
|
|
5557
|
+
/**
|
|
5558
|
+
* Start offset into the element's rendered text in UTF-16 code units.
|
|
5559
|
+
* For a text control, an offset into the control's value.
|
|
5560
|
+
* Offsets count text in DOM order and do not enter shadow trees.
|
|
5561
|
+
* To mark text inside a shadow tree, pass the element inside the shadow tree.
|
|
5562
|
+
*/
|
|
5563
|
+
start: integer;
|
|
5564
|
+
/**
|
|
5565
|
+
* End offset (exclusive) in the same units and space as start.
|
|
5566
|
+
*/
|
|
5567
|
+
end: integer;
|
|
5568
|
+
}
|
|
5333
5569
|
/**
|
|
5334
5570
|
* Fired when `Element`'s attribute is modified.
|
|
5335
5571
|
*/
|
|
@@ -6339,6 +6575,40 @@ export declare namespace DeviceOrientation {
|
|
|
6339
6575
|
gamma: number;
|
|
6340
6576
|
}
|
|
6341
6577
|
}
|
|
6578
|
+
/**
|
|
6579
|
+
* This domain allows interacting with the Digital Credentials API for automation.
|
|
6580
|
+
*/
|
|
6581
|
+
export declare namespace DigitalCredentials {
|
|
6582
|
+
/**
|
|
6583
|
+
* The type of virtual wallet action.
|
|
6584
|
+
*/
|
|
6585
|
+
const enum VirtualWalletAction {
|
|
6586
|
+
Respond = "respond",
|
|
6587
|
+
Decline = "decline",
|
|
6588
|
+
Wait = "wait",
|
|
6589
|
+
Clear = "clear"
|
|
6590
|
+
}
|
|
6591
|
+
interface SetVirtualWalletBehaviorRequest {
|
|
6592
|
+
/**
|
|
6593
|
+
* The action of the virtual wallet.
|
|
6594
|
+
*/
|
|
6595
|
+
action: VirtualWalletAction;
|
|
6596
|
+
/**
|
|
6597
|
+
* The protocol identifier (e.g. "openid4vp"). Required when |action| is
|
|
6598
|
+
* "respond", forbidden otherwise.
|
|
6599
|
+
*/
|
|
6600
|
+
protocol?: string;
|
|
6601
|
+
/**
|
|
6602
|
+
* The response data object returned by the wallet.
|
|
6603
|
+
* Required when |action| is "respond", forbidden otherwise.
|
|
6604
|
+
*/
|
|
6605
|
+
response?: any;
|
|
6606
|
+
/**
|
|
6607
|
+
* The frame to scope the virtual wallet behavior to.
|
|
6608
|
+
*/
|
|
6609
|
+
frameId?: Page.FrameId;
|
|
6610
|
+
}
|
|
6611
|
+
}
|
|
6342
6612
|
/**
|
|
6343
6613
|
* This domain emulates different environments for the page.
|
|
6344
6614
|
*/
|
|
@@ -6661,10 +6931,17 @@ export declare namespace Emulation {
|
|
|
6661
6931
|
interface SetSafeAreaInsetsOverrideRequest {
|
|
6662
6932
|
insets: SafeAreaInsets;
|
|
6663
6933
|
}
|
|
6934
|
+
interface SetVirtualKeyboardGeometryOverrideRequest {
|
|
6935
|
+
keyboardRect?: DOM.Rect;
|
|
6936
|
+
}
|
|
6664
6937
|
const enum SetDeviceMetricsOverrideRequestScrollbarType {
|
|
6665
6938
|
Overlay = "overlay",
|
|
6666
6939
|
Default = "default"
|
|
6667
6940
|
}
|
|
6941
|
+
const enum SetDeviceMetricsOverrideRequestViewportMeta {
|
|
6942
|
+
Enable = "enable",
|
|
6943
|
+
Default = "default"
|
|
6944
|
+
}
|
|
6668
6945
|
interface SetDeviceMetricsOverrideRequest {
|
|
6669
6946
|
/**
|
|
6670
6947
|
* Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override.
|
|
@@ -6742,6 +7019,11 @@ export declare namespace Emulation {
|
|
|
6742
7019
|
* responsive design mode.
|
|
6743
7020
|
*/
|
|
6744
7021
|
screenOrientationLockEmulation?: boolean;
|
|
7022
|
+
/**
|
|
7023
|
+
* Viewport meta tag behavior. Default: `default`. Note: if `mobile` is `true`,
|
|
7024
|
+
* the viewport meta tag is always enabled.
|
|
7025
|
+
*/
|
|
7026
|
+
viewportMeta?: SetDeviceMetricsOverrideRequestViewportMeta;
|
|
6745
7027
|
}
|
|
6746
7028
|
interface SetDevicePostureOverrideRequest {
|
|
6747
7029
|
posture: DevicePosture;
|
|
@@ -6962,6 +7244,19 @@ export declare namespace Emulation {
|
|
|
6962
7244
|
*/
|
|
6963
7245
|
hardwareConcurrency: integer;
|
|
6964
7246
|
}
|
|
7247
|
+
const enum SetCPUPerformanceOverrideRequestPerformanceTier {
|
|
7248
|
+
Unknown = "unknown",
|
|
7249
|
+
Low = "low",
|
|
7250
|
+
Mid = "mid",
|
|
7251
|
+
High = "high",
|
|
7252
|
+
Ultra = "ultra"
|
|
7253
|
+
}
|
|
7254
|
+
interface SetCPUPerformanceOverrideRequest {
|
|
7255
|
+
/**
|
|
7256
|
+
* Override value. Omitting the parameter disables the override.
|
|
7257
|
+
*/
|
|
7258
|
+
performanceTier?: SetCPUPerformanceOverrideRequestPerformanceTier;
|
|
7259
|
+
}
|
|
6965
7260
|
interface SetUserAgentOverrideRequest {
|
|
6966
7261
|
/**
|
|
6967
7262
|
* User agent to use.
|
|
@@ -9339,10 +9634,6 @@ export declare namespace Network {
|
|
|
9339
9634
|
* a network request.
|
|
9340
9635
|
*/
|
|
9341
9636
|
type RequestId = OpaqueIdentifier<string, 'Protocol.Network.RequestId'>;
|
|
9342
|
-
/**
|
|
9343
|
-
* Unique intercepted request identifier.
|
|
9344
|
-
*/
|
|
9345
|
-
type InterceptionId = OpaqueIdentifier<string, 'Protocol.Network.InterceptionId'>;
|
|
9346
9637
|
/**
|
|
9347
9638
|
* Network level fetch failure reason.
|
|
9348
9639
|
*/
|
|
@@ -10231,10 +10522,6 @@ export declare namespace Network {
|
|
|
10231
10522
|
const enum CookieExemptionReason {
|
|
10232
10523
|
None = "None",
|
|
10233
10524
|
UserSetting = "UserSetting",
|
|
10234
|
-
TPCDMetadata = "TPCDMetadata",
|
|
10235
|
-
TPCDDeprecationTrial = "TPCDDeprecationTrial",
|
|
10236
|
-
TopLevelTPCDDeprecationTrial = "TopLevelTPCDDeprecationTrial",
|
|
10237
|
-
TPCDHeuristics = "TPCDHeuristics",
|
|
10238
10525
|
EnterprisePolicy = "EnterprisePolicy",
|
|
10239
10526
|
StorageAccess = "StorageAccess",
|
|
10240
10527
|
TopLevelStorageAccess = "TopLevelStorageAccess",
|
|
@@ -10409,32 +10696,6 @@ export declare namespace Network {
|
|
|
10409
10696
|
*/
|
|
10410
10697
|
password?: string;
|
|
10411
10698
|
}
|
|
10412
|
-
/**
|
|
10413
|
-
* Stages of the interception to begin intercepting. Request will intercept before the request is
|
|
10414
|
-
* sent. Response will intercept after the response is received.
|
|
10415
|
-
*/
|
|
10416
|
-
const enum InterceptionStage {
|
|
10417
|
-
Request = "Request",
|
|
10418
|
-
HeadersReceived = "HeadersReceived"
|
|
10419
|
-
}
|
|
10420
|
-
/**
|
|
10421
|
-
* Request pattern for interception.
|
|
10422
|
-
*/
|
|
10423
|
-
interface RequestPattern {
|
|
10424
|
-
/**
|
|
10425
|
-
* Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is
|
|
10426
|
-
* backslash. Omitting is equivalent to `"*"`.
|
|
10427
|
-
*/
|
|
10428
|
-
urlPattern?: string;
|
|
10429
|
-
/**
|
|
10430
|
-
* If set, only requests for matching resource types will be intercepted.
|
|
10431
|
-
*/
|
|
10432
|
-
resourceType?: ResourceType;
|
|
10433
|
-
/**
|
|
10434
|
-
* Stage at which to begin intercepting requests. Default is Request.
|
|
10435
|
-
*/
|
|
10436
|
-
interceptionStage?: InterceptionStage;
|
|
10437
|
-
}
|
|
10438
10699
|
/**
|
|
10439
10700
|
* Information about a signed exchange signature.
|
|
10440
10701
|
* https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1
|
|
@@ -10557,15 +10818,6 @@ export declare namespace Network {
|
|
|
10557
10818
|
*/
|
|
10558
10819
|
errors?: SignedExchangeError[];
|
|
10559
10820
|
}
|
|
10560
|
-
/**
|
|
10561
|
-
* List of content encodings supported by the backend.
|
|
10562
|
-
*/
|
|
10563
|
-
const enum ContentEncoding {
|
|
10564
|
-
Deflate = "deflate",
|
|
10565
|
-
Gzip = "gzip",
|
|
10566
|
-
Br = "br",
|
|
10567
|
-
Zstd = "zstd"
|
|
10568
|
-
}
|
|
10569
10821
|
interface NetworkConditions {
|
|
10570
10822
|
/**
|
|
10571
10823
|
* Only matching requests will be affected by these conditions. Patterns use the URLPattern constructor string
|
|
@@ -10759,6 +11011,9 @@ export declare namespace Network {
|
|
|
10759
11011
|
filterlistRule?: string;
|
|
10760
11012
|
/**
|
|
10761
11013
|
* The script ancestry that created the ad, if any.
|
|
11014
|
+
* Note: depending on the context, this may represent the full ancestry up
|
|
11015
|
+
* to the root script, or it may contain only one script representing the
|
|
11016
|
+
* immediate ancestor.
|
|
10762
11017
|
*/
|
|
10763
11018
|
adScriptAncestry?: AdAncestry;
|
|
10764
11019
|
}
|
|
@@ -10996,10 +11251,12 @@ export declare namespace Network {
|
|
|
10996
11251
|
type DeviceBoundSessionEventId = OpaqueIdentifier<string, 'Protocol.Network.DeviceBoundSessionEventId'>;
|
|
10997
11252
|
/**
|
|
10998
11253
|
* A fetch result for a device bound session creation or refresh.
|
|
11254
|
+
* LINT_SKIP.IfChange(DeviceBoundSessionFetchResult)
|
|
10999
11255
|
*/
|
|
11000
11256
|
const enum DeviceBoundSessionFetchResult {
|
|
11001
11257
|
Success = "Success",
|
|
11002
|
-
|
|
11258
|
+
SigningKeyGenerationError = "SigningKeyGenerationError",
|
|
11259
|
+
AttestationKeyGenerationError = "AttestationKeyGenerationError",
|
|
11003
11260
|
SigningError = "SigningError",
|
|
11004
11261
|
TransientSigningError = "TransientSigningError",
|
|
11005
11262
|
ServerRequestedTermination = "ServerRequestedTermination",
|
|
@@ -11067,7 +11324,12 @@ export declare namespace Network {
|
|
|
11067
11324
|
InvalidFederatedSessionProviderFailedToRestoreKey = "InvalidFederatedSessionProviderFailedToRestoreKey",
|
|
11068
11325
|
FailedToUnwrapKey = "FailedToUnwrapKey",
|
|
11069
11326
|
SessionDeletedDuringRefresh = "SessionDeletedDuringRefresh",
|
|
11070
|
-
CrossOriginRegistrationSiteNotIncluded = "CrossOriginRegistrationSiteNotIncluded"
|
|
11327
|
+
CrossOriginRegistrationSiteNotIncluded = "CrossOriginRegistrationSiteNotIncluded",
|
|
11328
|
+
InvalidPreProvisionedKeyInitiatorMissing = "InvalidPreProvisionedKeyInitiatorMissing",
|
|
11329
|
+
PreProvisionedKeyAccessNotGranted = "PreProvisionedKeyAccessNotGranted",
|
|
11330
|
+
PreProvisionedKeyNotFound = "PreProvisionedKeyNotFound",
|
|
11331
|
+
AttestationCertificationError = "AttestationCertificationError",
|
|
11332
|
+
AttestationSigningError = "AttestationSigningError"
|
|
11071
11333
|
}
|
|
11072
11334
|
/**
|
|
11073
11335
|
* Details about a failed device bound session network request.
|
|
@@ -11116,11 +11378,11 @@ export declare namespace Network {
|
|
|
11116
11378
|
InitializedService = "InitializedService",
|
|
11117
11379
|
Unreachable = "Unreachable",
|
|
11118
11380
|
ServerError = "ServerError",
|
|
11119
|
-
RefreshQuotaExceeded = "RefreshQuotaExceeded",
|
|
11120
11381
|
FatalError = "FatalError",
|
|
11121
11382
|
SigningQuotaExceeded = "SigningQuotaExceeded",
|
|
11122
11383
|
RefreshedAsWaiter = "RefreshedAsWaiter",
|
|
11123
|
-
TransientSigningError = "TransientSigningError"
|
|
11384
|
+
TransientSigningError = "TransientSigningError",
|
|
11385
|
+
InScopeRefreshNotYetNeeded = "InScopeRefreshNotYetNeeded"
|
|
11124
11386
|
}
|
|
11125
11387
|
/**
|
|
11126
11388
|
* Session event details specific to refresh.
|
|
@@ -11128,9 +11390,11 @@ export declare namespace Network {
|
|
|
11128
11390
|
interface RefreshEventDetails {
|
|
11129
11391
|
/**
|
|
11130
11392
|
* The result of a refresh.
|
|
11393
|
+
* LINT_SKIP.IfChange(DeviceBoundSessionRefreshResult)
|
|
11131
11394
|
*/
|
|
11132
11395
|
refreshResult: RefreshEventDetailsRefreshResult;
|
|
11133
11396
|
/**
|
|
11397
|
+
* LINT_SKIP.ThenChange(//net/device_bound_sessions/refresh_result.h:DeviceBoundSessionRefreshResult,//content/browser/devtools/protocol/network_handler.cc:DeviceBoundSessionRefreshResult)
|
|
11134
11398
|
* If there was a fetch attempt, the result of that.
|
|
11135
11399
|
*/
|
|
11136
11400
|
fetchResult?: DeviceBoundSessionFetchResult;
|
|
@@ -11158,7 +11422,8 @@ export declare namespace Network {
|
|
|
11158
11422
|
ServerRequested = "ServerRequested",
|
|
11159
11423
|
InvalidSessionParams = "InvalidSessionParams",
|
|
11160
11424
|
RefreshFatalError = "RefreshFatalError",
|
|
11161
|
-
DevTools = "DevTools"
|
|
11425
|
+
DevTools = "DevTools",
|
|
11426
|
+
Replaced = "Replaced"
|
|
11162
11427
|
}
|
|
11163
11428
|
/**
|
|
11164
11429
|
* Session event details specific to termination.
|
|
@@ -11216,12 +11481,6 @@ export declare namespace Network {
|
|
|
11216
11481
|
disableCache: boolean;
|
|
11217
11482
|
includeCredentials: boolean;
|
|
11218
11483
|
}
|
|
11219
|
-
interface SetAcceptedEncodingsRequest {
|
|
11220
|
-
/**
|
|
11221
|
-
* List of accepted content encodings.
|
|
11222
|
-
*/
|
|
11223
|
-
encodings: ContentEncoding[];
|
|
11224
|
-
}
|
|
11225
11484
|
interface CanClearBrowserCacheResponse extends ProtocolResponseWithError {
|
|
11226
11485
|
/**
|
|
11227
11486
|
* True if browser cache can be cleared.
|
|
@@ -11240,43 +11499,6 @@ export declare namespace Network {
|
|
|
11240
11499
|
*/
|
|
11241
11500
|
result: boolean;
|
|
11242
11501
|
}
|
|
11243
|
-
interface ContinueInterceptedRequestRequest {
|
|
11244
|
-
interceptionId: InterceptionId;
|
|
11245
|
-
/**
|
|
11246
|
-
* If set this causes the request to fail with the given reason. Passing `Aborted` for requests
|
|
11247
|
-
* marked with `isNavigationRequest` also cancels the navigation. Must not be set in response
|
|
11248
|
-
* to an authChallenge.
|
|
11249
|
-
*/
|
|
11250
|
-
errorReason?: ErrorReason;
|
|
11251
|
-
/**
|
|
11252
|
-
* If set the requests completes using with the provided base64 encoded raw response, including
|
|
11253
|
-
* HTTP status line and headers etc... Must not be set in response to an authChallenge.
|
|
11254
|
-
*/
|
|
11255
|
-
rawResponse?: binary;
|
|
11256
|
-
/**
|
|
11257
|
-
* If set the request url will be modified in a way that's not observable by page. Must not be
|
|
11258
|
-
* set in response to an authChallenge.
|
|
11259
|
-
*/
|
|
11260
|
-
url?: string;
|
|
11261
|
-
/**
|
|
11262
|
-
* If set this allows the request method to be overridden. Must not be set in response to an
|
|
11263
|
-
* authChallenge.
|
|
11264
|
-
*/
|
|
11265
|
-
method?: string;
|
|
11266
|
-
/**
|
|
11267
|
-
* If set this allows postData to be set. Must not be set in response to an authChallenge.
|
|
11268
|
-
*/
|
|
11269
|
-
postData?: string;
|
|
11270
|
-
/**
|
|
11271
|
-
* If set this allows the request headers to be changed. Must not be set in response to an
|
|
11272
|
-
* authChallenge.
|
|
11273
|
-
*/
|
|
11274
|
-
headers?: Headers;
|
|
11275
|
-
/**
|
|
11276
|
-
* Response to a requestIntercepted with an authChallenge. Must not be set otherwise.
|
|
11277
|
-
*/
|
|
11278
|
-
authChallengeResponse?: AuthChallengeResponse;
|
|
11279
|
-
}
|
|
11280
11502
|
interface DeleteCookiesRequest {
|
|
11281
11503
|
/**
|
|
11282
11504
|
* Name of the cookies to remove.
|
|
@@ -11481,28 +11703,6 @@ export declare namespace Network {
|
|
|
11481
11703
|
*/
|
|
11482
11704
|
base64Encoded: boolean;
|
|
11483
11705
|
}
|
|
11484
|
-
interface GetResponseBodyForInterceptionRequest {
|
|
11485
|
-
/**
|
|
11486
|
-
* Identifier for the intercepted request to get body for.
|
|
11487
|
-
*/
|
|
11488
|
-
interceptionId: InterceptionId;
|
|
11489
|
-
}
|
|
11490
|
-
interface GetResponseBodyForInterceptionResponse extends ProtocolResponseWithError {
|
|
11491
|
-
/**
|
|
11492
|
-
* Response body.
|
|
11493
|
-
*/
|
|
11494
|
-
body: string;
|
|
11495
|
-
/**
|
|
11496
|
-
* True, if content was sent as base64.
|
|
11497
|
-
*/
|
|
11498
|
-
base64Encoded: boolean;
|
|
11499
|
-
}
|
|
11500
|
-
interface TakeResponseBodyForInterceptionAsStreamRequest {
|
|
11501
|
-
interceptionId: InterceptionId;
|
|
11502
|
-
}
|
|
11503
|
-
interface TakeResponseBodyForInterceptionAsStreamResponse extends ProtocolResponseWithError {
|
|
11504
|
-
stream: IO.StreamHandle;
|
|
11505
|
-
}
|
|
11506
11706
|
interface ReplayXHRRequest {
|
|
11507
11707
|
/**
|
|
11508
11708
|
* Identifier of XHR to replay.
|
|
@@ -11639,13 +11839,6 @@ export declare namespace Network {
|
|
|
11639
11839
|
*/
|
|
11640
11840
|
enabled: boolean;
|
|
11641
11841
|
}
|
|
11642
|
-
interface SetRequestInterceptionRequest {
|
|
11643
|
-
/**
|
|
11644
|
-
* Requests matching any of these patterns will be forwarded and wait for the corresponding
|
|
11645
|
-
* continueInterceptedRequest call.
|
|
11646
|
-
*/
|
|
11647
|
-
patterns: RequestPattern[];
|
|
11648
|
-
}
|
|
11649
11842
|
interface SetUserAgentOverrideRequest {
|
|
11650
11843
|
/**
|
|
11651
11844
|
* User agent to use.
|
|
@@ -11837,97 +12030,36 @@ export declare namespace Network {
|
|
|
11837
12030
|
encodedDataLength: number;
|
|
11838
12031
|
}
|
|
11839
12032
|
/**
|
|
11840
|
-
*
|
|
11841
|
-
* mocked.
|
|
11842
|
-
* Deprecated, use Fetch.requestPaused instead.
|
|
11843
|
-
* @deprecated
|
|
12033
|
+
* Fired if request ended up loading from cache.
|
|
11844
12034
|
*/
|
|
11845
|
-
interface
|
|
12035
|
+
interface RequestServedFromCacheEvent {
|
|
11846
12036
|
/**
|
|
11847
|
-
*
|
|
11848
|
-
* while processing that fetch, they will be reported with the same id as the original fetch.
|
|
11849
|
-
* Likewise if HTTP authentication is needed then the same fetch id will be used.
|
|
12037
|
+
* Request identifier.
|
|
11850
12038
|
*/
|
|
11851
|
-
|
|
11852
|
-
|
|
12039
|
+
requestId: RequestId;
|
|
12040
|
+
}
|
|
12041
|
+
/**
|
|
12042
|
+
* Fired when page is about to send HTTP request.
|
|
12043
|
+
*/
|
|
12044
|
+
interface RequestWillBeSentEvent {
|
|
11853
12045
|
/**
|
|
11854
|
-
*
|
|
12046
|
+
* Request identifier.
|
|
11855
12047
|
*/
|
|
11856
|
-
|
|
12048
|
+
requestId: RequestId;
|
|
11857
12049
|
/**
|
|
11858
|
-
*
|
|
12050
|
+
* Loader identifier. Empty string if the request is fetched from worker.
|
|
11859
12051
|
*/
|
|
11860
|
-
|
|
12052
|
+
loaderId: LoaderId;
|
|
11861
12053
|
/**
|
|
11862
|
-
*
|
|
12054
|
+
* URL of the document this request is loaded for.
|
|
11863
12055
|
*/
|
|
11864
|
-
|
|
12056
|
+
documentURL: string;
|
|
11865
12057
|
/**
|
|
11866
|
-
*
|
|
11867
|
-
* Only present after response is received from the server (i.e. HeadersReceived stage).
|
|
12058
|
+
* Request data.
|
|
11868
12059
|
*/
|
|
11869
|
-
|
|
12060
|
+
request: Request;
|
|
11870
12061
|
/**
|
|
11871
|
-
*
|
|
11872
|
-
*/
|
|
11873
|
-
redirectUrl?: string;
|
|
11874
|
-
/**
|
|
11875
|
-
* Details of the Authorization Challenge encountered. If this is set then
|
|
11876
|
-
* continueInterceptedRequest must contain an authChallengeResponse.
|
|
11877
|
-
*/
|
|
11878
|
-
authChallenge?: AuthChallenge;
|
|
11879
|
-
/**
|
|
11880
|
-
* Response error if intercepted at response stage or if redirect occurred while intercepting
|
|
11881
|
-
* request.
|
|
11882
|
-
*/
|
|
11883
|
-
responseErrorReason?: ErrorReason;
|
|
11884
|
-
/**
|
|
11885
|
-
* Response code if intercepted at response stage or if redirect occurred while intercepting
|
|
11886
|
-
* request or auth retry occurred.
|
|
11887
|
-
*/
|
|
11888
|
-
responseStatusCode?: integer;
|
|
11889
|
-
/**
|
|
11890
|
-
* Response headers if intercepted at the response stage or if redirect occurred while
|
|
11891
|
-
* intercepting request or auth retry occurred.
|
|
11892
|
-
*/
|
|
11893
|
-
responseHeaders?: Headers;
|
|
11894
|
-
/**
|
|
11895
|
-
* If the intercepted request had a corresponding requestWillBeSent event fired for it, then
|
|
11896
|
-
* this requestId will be the same as the requestId present in the requestWillBeSent event.
|
|
11897
|
-
*/
|
|
11898
|
-
requestId?: RequestId;
|
|
11899
|
-
}
|
|
11900
|
-
/**
|
|
11901
|
-
* Fired if request ended up loading from cache.
|
|
11902
|
-
*/
|
|
11903
|
-
interface RequestServedFromCacheEvent {
|
|
11904
|
-
/**
|
|
11905
|
-
* Request identifier.
|
|
11906
|
-
*/
|
|
11907
|
-
requestId: RequestId;
|
|
11908
|
-
}
|
|
11909
|
-
/**
|
|
11910
|
-
* Fired when page is about to send HTTP request.
|
|
11911
|
-
*/
|
|
11912
|
-
interface RequestWillBeSentEvent {
|
|
11913
|
-
/**
|
|
11914
|
-
* Request identifier.
|
|
11915
|
-
*/
|
|
11916
|
-
requestId: RequestId;
|
|
11917
|
-
/**
|
|
11918
|
-
* Loader identifier. Empty string if the request is fetched from worker.
|
|
11919
|
-
*/
|
|
11920
|
-
loaderId: LoaderId;
|
|
11921
|
-
/**
|
|
11922
|
-
* URL of the document this request is loaded for.
|
|
11923
|
-
*/
|
|
11924
|
-
documentURL: string;
|
|
11925
|
-
/**
|
|
11926
|
-
* Request data.
|
|
11927
|
-
*/
|
|
11928
|
-
request: Request;
|
|
11929
|
-
/**
|
|
11930
|
-
* Timestamp.
|
|
12062
|
+
* Timestamp.
|
|
11931
12063
|
*/
|
|
11932
12064
|
timestamp: MonotonicTime;
|
|
11933
12065
|
/**
|
|
@@ -12231,7 +12363,7 @@ export declare namespace Network {
|
|
|
12231
12363
|
*/
|
|
12232
12364
|
interface DirectTCPSocketAbortedEvent {
|
|
12233
12365
|
identifier: RequestId;
|
|
12234
|
-
errorMessage:
|
|
12366
|
+
errorMessage: ErrorReason;
|
|
12235
12367
|
timestamp: MonotonicTime;
|
|
12236
12368
|
}
|
|
12237
12369
|
/**
|
|
@@ -12296,7 +12428,7 @@ export declare namespace Network {
|
|
|
12296
12428
|
*/
|
|
12297
12429
|
interface DirectUDPSocketAbortedEvent {
|
|
12298
12430
|
identifier: RequestId;
|
|
12299
|
-
errorMessage:
|
|
12431
|
+
errorMessage: ErrorReason;
|
|
12300
12432
|
timestamp: MonotonicTime;
|
|
12301
12433
|
}
|
|
12302
12434
|
/**
|
|
@@ -12729,6 +12861,47 @@ export declare namespace Overlay {
|
|
|
12729
12861
|
Aaa = "aaa",
|
|
12730
12862
|
Apca = "apca"
|
|
12731
12863
|
}
|
|
12864
|
+
/**
|
|
12865
|
+
* Configuration for Inset-Modified Containing Block (IMCB) and CSS Anchor Positioning highlight.
|
|
12866
|
+
*/
|
|
12867
|
+
interface ImcbHighlightConfig {
|
|
12868
|
+
/**
|
|
12869
|
+
* Border color for the Inset-Modified Containing Block (default: transparent).
|
|
12870
|
+
*/
|
|
12871
|
+
imcbBorderColor?: DOM.RGBA;
|
|
12872
|
+
/**
|
|
12873
|
+
* Background fill color for the Inset-Modified Containing Block (default: transparent).
|
|
12874
|
+
*/
|
|
12875
|
+
imcbBackgroundColor?: DOM.RGBA;
|
|
12876
|
+
/**
|
|
12877
|
+
* Fill color for the inset modifiers area (difference between CB and IMCB).
|
|
12878
|
+
*/
|
|
12879
|
+
insetsBackgroundColor?: DOM.RGBA;
|
|
12880
|
+
/**
|
|
12881
|
+
* Hatch color for the inset modifiers area.
|
|
12882
|
+
*/
|
|
12883
|
+
insetsHatchColor?: DOM.RGBA;
|
|
12884
|
+
/**
|
|
12885
|
+
* Border color for the referenced target anchor element(s) (when element is anchor-positioned).
|
|
12886
|
+
*/
|
|
12887
|
+
anchorBorderColor?: DOM.RGBA;
|
|
12888
|
+
/**
|
|
12889
|
+
* Background fill color for the referenced target anchor element(s) (when element is anchor-positioned).
|
|
12890
|
+
*/
|
|
12891
|
+
anchorBackgroundColor?: DOM.RGBA;
|
|
12892
|
+
/**
|
|
12893
|
+
* Whether to render the 3x3 position-area grid lines when position-area is used.
|
|
12894
|
+
*/
|
|
12895
|
+
showPositionAreaGrid?: boolean;
|
|
12896
|
+
/**
|
|
12897
|
+
* Line color for the 3x3 position-area grid lines.
|
|
12898
|
+
*/
|
|
12899
|
+
positionAreaGridLineColor?: DOM.RGBA;
|
|
12900
|
+
/**
|
|
12901
|
+
* Fill color for the active region within the position-area grid.
|
|
12902
|
+
*/
|
|
12903
|
+
positionAreaActiveRegionColor?: DOM.RGBA;
|
|
12904
|
+
}
|
|
12732
12905
|
/**
|
|
12733
12906
|
* Configuration data for the highlighting of page elements.
|
|
12734
12907
|
*/
|
|
@@ -12809,6 +12982,10 @@ export declare namespace Overlay {
|
|
|
12809
12982
|
* The container query container highlight configuration (default: all transparent).
|
|
12810
12983
|
*/
|
|
12811
12984
|
containerQueryContainerHighlightConfig?: ContainerQueryContainerHighlightConfig;
|
|
12985
|
+
/**
|
|
12986
|
+
* The IMCB highlight configuration (default: all transparent).
|
|
12987
|
+
*/
|
|
12988
|
+
imcbHighlightConfig?: ImcbHighlightConfig;
|
|
12812
12989
|
}
|
|
12813
12990
|
const enum ColorFormat {
|
|
12814
12991
|
Rgb = "rgb",
|
|
@@ -12884,6 +13061,56 @@ export declare namespace Overlay {
|
|
|
12884
13061
|
*/
|
|
12885
13062
|
outlineColor?: DOM.RGBA;
|
|
12886
13063
|
}
|
|
13064
|
+
/**
|
|
13065
|
+
* Supported display cutout shapes.
|
|
13066
|
+
*/
|
|
13067
|
+
const enum DisplayCutoutShape {
|
|
13068
|
+
Pill = "pill",
|
|
13069
|
+
Notch = "notch",
|
|
13070
|
+
Circle = "circle",
|
|
13071
|
+
Rectangle = "rectangle"
|
|
13072
|
+
}
|
|
13073
|
+
/**
|
|
13074
|
+
* Configuration for a display cutout.
|
|
13075
|
+
*/
|
|
13076
|
+
interface DisplayCutoutConfig {
|
|
13077
|
+
/**
|
|
13078
|
+
* A rectangle representing the cutout bounds.
|
|
13079
|
+
*/
|
|
13080
|
+
rect: DOM.Rect;
|
|
13081
|
+
/**
|
|
13082
|
+
* Shape used to draw the cutout.
|
|
13083
|
+
*/
|
|
13084
|
+
shape: DisplayCutoutShape;
|
|
13085
|
+
/**
|
|
13086
|
+
* Border radius for rounded cutout shapes.
|
|
13087
|
+
*/
|
|
13088
|
+
borderRadius?: integer;
|
|
13089
|
+
/**
|
|
13090
|
+
* Upper shoulder radius for notch cutout shapes.
|
|
13091
|
+
*/
|
|
13092
|
+
upperRadius?: integer;
|
|
13093
|
+
/**
|
|
13094
|
+
* Lower transition radius for notch cutout shapes.
|
|
13095
|
+
*/
|
|
13096
|
+
lowerRadius?: integer;
|
|
13097
|
+
/**
|
|
13098
|
+
* Center x coordinate for circle cutout shapes.
|
|
13099
|
+
*/
|
|
13100
|
+
cx?: integer;
|
|
13101
|
+
/**
|
|
13102
|
+
* Center y coordinate for circle cutout shapes.
|
|
13103
|
+
*/
|
|
13104
|
+
cy?: integer;
|
|
13105
|
+
/**
|
|
13106
|
+
* Radius for circle cutout shapes.
|
|
13107
|
+
*/
|
|
13108
|
+
radius?: integer;
|
|
13109
|
+
/**
|
|
13110
|
+
* The cutout fill color (default: black).
|
|
13111
|
+
*/
|
|
13112
|
+
contentColor?: DOM.RGBA;
|
|
13113
|
+
}
|
|
12887
13114
|
/**
|
|
12888
13115
|
* Configuration for Window Controls Overlay
|
|
12889
13116
|
*/
|
|
@@ -13211,6 +13438,12 @@ export declare namespace Overlay {
|
|
|
13211
13438
|
*/
|
|
13212
13439
|
hingeConfig?: HingeConfig;
|
|
13213
13440
|
}
|
|
13441
|
+
interface SetShowDisplayCutoutRequest {
|
|
13442
|
+
/**
|
|
13443
|
+
* display cutout data, null means hide display cutout
|
|
13444
|
+
*/
|
|
13445
|
+
displayCutoutConfig?: DisplayCutoutConfig;
|
|
13446
|
+
}
|
|
13214
13447
|
interface SetShowIsolatedElementsRequest {
|
|
13215
13448
|
/**
|
|
13216
13449
|
* An array of node identifiers and descriptors for the highlight appearance.
|
|
@@ -13421,7 +13654,6 @@ export declare namespace Page {
|
|
|
13421
13654
|
AllScreensCapture = "all-screens-capture",
|
|
13422
13655
|
AmbientLightSensor = "ambient-light-sensor",
|
|
13423
13656
|
AriaNotify = "aria-notify",
|
|
13424
|
-
AttributionReporting = "attribution-reporting",
|
|
13425
13657
|
Autofill = "autofill",
|
|
13426
13658
|
Autoplay = "autoplay",
|
|
13427
13659
|
Bluetooth = "bluetooth",
|
|
@@ -13464,7 +13696,6 @@ export declare namespace Page {
|
|
|
13464
13696
|
DigitalCredentialsGet = "digital-credentials-get",
|
|
13465
13697
|
DirectSockets = "direct-sockets",
|
|
13466
13698
|
DirectSocketsMulticast = "direct-sockets-multicast",
|
|
13467
|
-
DirectSocketsPrivate = "direct-sockets-private",
|
|
13468
13699
|
DisplayCapture = "display-capture",
|
|
13469
13700
|
DocumentDomain = "document-domain",
|
|
13470
13701
|
EncryptedMedia = "encrypted-media",
|
|
@@ -13476,11 +13707,11 @@ export declare namespace Page {
|
|
|
13476
13707
|
Gamepad = "gamepad",
|
|
13477
13708
|
Geolocation = "geolocation",
|
|
13478
13709
|
Gyroscope = "gyroscope",
|
|
13710
|
+
Haptics = "haptics",
|
|
13479
13711
|
Hid = "hid",
|
|
13480
13712
|
IdentityCredentialsGet = "identity-credentials-get",
|
|
13481
13713
|
IdleDetection = "idle-detection",
|
|
13482
13714
|
InterestCohort = "interest-cohort",
|
|
13483
|
-
JoinAdInterestGroup = "join-ad-interest-group",
|
|
13484
13715
|
KeyboardMap = "keyboard-map",
|
|
13485
13716
|
LanguageDetector = "language-detector",
|
|
13486
13717
|
LanguageModel = "language-model",
|
|
@@ -13497,14 +13728,11 @@ export declare namespace Page {
|
|
|
13497
13728
|
OtpCredentials = "otp-credentials",
|
|
13498
13729
|
Payment = "payment",
|
|
13499
13730
|
PictureInPicture = "picture-in-picture",
|
|
13500
|
-
PrivateAggregation = "private-aggregation",
|
|
13501
13731
|
PrivateStateTokenIssuance = "private-state-token-issuance",
|
|
13502
13732
|
PrivateStateTokenRedemption = "private-state-token-redemption",
|
|
13503
13733
|
PublickeyCredentialsCreate = "publickey-credentials-create",
|
|
13504
13734
|
PublickeyCredentialsGet = "publickey-credentials-get",
|
|
13505
|
-
RecordAdAuctionEvents = "record-ad-auction-events",
|
|
13506
13735
|
Rewriter = "rewriter",
|
|
13507
|
-
RunAdAuction = "run-ad-auction",
|
|
13508
13736
|
ScreenWakeLock = "screen-wake-lock",
|
|
13509
13737
|
Serial = "serial",
|
|
13510
13738
|
SharedStorage = "shared-storage",
|
|
@@ -13522,6 +13750,7 @@ export declare namespace Page {
|
|
|
13522
13750
|
UsbUnrestricted = "usb-unrestricted",
|
|
13523
13751
|
VerticalScroll = "vertical-scroll",
|
|
13524
13752
|
WebAppInstallation = "web-app-installation",
|
|
13753
|
+
Webnn = "webnn",
|
|
13525
13754
|
WebPrinting = "web-printing",
|
|
13526
13755
|
WebShare = "web-share",
|
|
13527
13756
|
WindowManagement = "window-management",
|
|
@@ -14077,7 +14306,6 @@ export declare namespace Page {
|
|
|
14077
14306
|
interface FileHandler {
|
|
14078
14307
|
action: string;
|
|
14079
14308
|
name: string;
|
|
14080
|
-
icons?: ImageResource[];
|
|
14081
14309
|
/**
|
|
14082
14310
|
* Mimic a map, name is the key, accepts is the value.
|
|
14083
14311
|
*/
|
|
@@ -14189,6 +14417,24 @@ export declare namespace Page {
|
|
|
14189
14417
|
startUrl?: string;
|
|
14190
14418
|
themeColor?: string;
|
|
14191
14419
|
}
|
|
14420
|
+
interface SubApp {
|
|
14421
|
+
/**
|
|
14422
|
+
* Display name of the sub-app.
|
|
14423
|
+
*/
|
|
14424
|
+
name: string;
|
|
14425
|
+
/**
|
|
14426
|
+
* Scope of the sub-app.
|
|
14427
|
+
*/
|
|
14428
|
+
scope: string;
|
|
14429
|
+
/**
|
|
14430
|
+
* Manifest id of the sub-app.
|
|
14431
|
+
*/
|
|
14432
|
+
manifestId: string;
|
|
14433
|
+
/**
|
|
14434
|
+
* Start URL of the sub-app.
|
|
14435
|
+
*/
|
|
14436
|
+
startUrl: string;
|
|
14437
|
+
}
|
|
14192
14438
|
/**
|
|
14193
14439
|
* The type of a frameNavigated event.
|
|
14194
14440
|
*/
|
|
@@ -14343,6 +14589,7 @@ export declare namespace Page {
|
|
|
14343
14589
|
EmbedderExtensionMessagingForOpenPort = "EmbedderExtensionMessagingForOpenPort",
|
|
14344
14590
|
EmbedderExtensionSentMessageToCachedFrame = "EmbedderExtensionSentMessageToCachedFrame",
|
|
14345
14591
|
EmbedderExtensionFrame = "EmbedderExtensionFrame",
|
|
14592
|
+
EmbedderPrivilegedWebContents = "EmbedderPrivilegedWebContents",
|
|
14346
14593
|
RequestedByWebViewClient = "RequestedByWebViewClient",
|
|
14347
14594
|
PostMessageByWebViewClient = "PostMessageByWebViewClient",
|
|
14348
14595
|
CacheControlNoStoreDeviceBoundSessionTerminated = "CacheControlNoStoreDeviceBoundSessionTerminated",
|
|
@@ -14506,6 +14753,15 @@ export declare namespace Page {
|
|
|
14506
14753
|
* option, use with caution.
|
|
14507
14754
|
*/
|
|
14508
14755
|
grantUniveralAccess?: boolean;
|
|
14756
|
+
/**
|
|
14757
|
+
* An optional content security policy to set for the isolated world.
|
|
14758
|
+
* If omitted, any existing CSP for the world will be cleared.
|
|
14759
|
+
* Note that clearing or updating the CSP does not immediately affect the active
|
|
14760
|
+
* context in the same document because LocalDOMWindow caches the
|
|
14761
|
+
* ContentSecurityPolicy object. The change takes effect on subsequent
|
|
14762
|
+
* navigations when a new window context is created.
|
|
14763
|
+
*/
|
|
14764
|
+
contentSecurityPolicy?: string;
|
|
14509
14765
|
}
|
|
14510
14766
|
interface CreateIsolatedWorldResponse extends ProtocolResponseWithError {
|
|
14511
14767
|
/**
|
|
@@ -14565,6 +14821,20 @@ export declare namespace Page {
|
|
|
14565
14821
|
* Recommendation for manifest's id attribute to match current id computed from start_url
|
|
14566
14822
|
*/
|
|
14567
14823
|
recommendedId?: string;
|
|
14824
|
+
/**
|
|
14825
|
+
* The bundle ID for an Isolated Web App (IWA)
|
|
14826
|
+
*/
|
|
14827
|
+
bundleId?: string;
|
|
14828
|
+
/**
|
|
14829
|
+
* The name of the parent app if this app is a Sub-App
|
|
14830
|
+
*/
|
|
14831
|
+
parentAppName?: string;
|
|
14832
|
+
}
|
|
14833
|
+
interface GetSubAppsResponse extends ProtocolResponseWithError {
|
|
14834
|
+
subApps: SubApp[];
|
|
14835
|
+
}
|
|
14836
|
+
interface GetSiblingSubAppsResponse extends ProtocolResponseWithError {
|
|
14837
|
+
subApps: SubApp[];
|
|
14568
14838
|
}
|
|
14569
14839
|
interface GetAdScriptAncestryRequest {
|
|
14570
14840
|
frameId: FrameId;
|
|
@@ -15052,9 +15322,48 @@ export declare namespace Page {
|
|
|
15052
15322
|
*/
|
|
15053
15323
|
maxHeight?: integer;
|
|
15054
15324
|
/**
|
|
15055
|
-
* Send every n-th frame.
|
|
15325
|
+
* Send every n-th frame. Must be a positive integer.
|
|
15056
15326
|
*/
|
|
15057
15327
|
everyNthFrame?: integer;
|
|
15328
|
+
/**
|
|
15329
|
+
* Maximum number of frames sent until screencastFrameAck is required.
|
|
15330
|
+
* Defaults to 3. Must be a positive integer.
|
|
15331
|
+
*/
|
|
15332
|
+
maxFramesInFlight?: integer;
|
|
15333
|
+
/**
|
|
15334
|
+
* By default, after screencastFrameAck arrives, the next produced frame is sent.
|
|
15335
|
+
* Passing this flag enables storing the last produced frame in memory, which is
|
|
15336
|
+
* immediately sent upon screencastFrameAck. This way, overall performance is
|
|
15337
|
+
* traded for a better latency.
|
|
15338
|
+
*/
|
|
15339
|
+
sendLastFrame?: boolean;
|
|
15340
|
+
}
|
|
15341
|
+
interface StartScreenRecordingRequest {
|
|
15342
|
+
audio?: boolean;
|
|
15343
|
+
/**
|
|
15344
|
+
* Maximum frame width in pixels.
|
|
15345
|
+
*/
|
|
15346
|
+
maxWidth?: integer;
|
|
15347
|
+
/**
|
|
15348
|
+
* Maximum frame height in pixels.
|
|
15349
|
+
*/
|
|
15350
|
+
maxHeight?: integer;
|
|
15351
|
+
/**
|
|
15352
|
+
* Maximum frame rate in frames per second.
|
|
15353
|
+
*/
|
|
15354
|
+
frameRate?: integer;
|
|
15355
|
+
}
|
|
15356
|
+
interface StartScreenRecordingResponse extends ProtocolResponseWithError {
|
|
15357
|
+
/**
|
|
15358
|
+
* A handle of the stream that holds resulting screencast data.
|
|
15359
|
+
*/
|
|
15360
|
+
stream: IO.StreamHandle;
|
|
15361
|
+
}
|
|
15362
|
+
interface StopScreenRecordingResponse extends ProtocolResponseWithError {
|
|
15363
|
+
/**
|
|
15364
|
+
* A handle of the stream that holds resulting screencast data.
|
|
15365
|
+
*/
|
|
15366
|
+
stream: IO.StreamHandle;
|
|
15058
15367
|
}
|
|
15059
15368
|
const enum SetWebLifecycleStateRequestState {
|
|
15060
15369
|
Frozen = "frozen",
|
|
@@ -15913,7 +16222,9 @@ export declare namespace Preload {
|
|
|
15913
16222
|
PrefetchIneligibleRetryAfter = "PrefetchIneligibleRetryAfter",
|
|
15914
16223
|
PrefetchIsPrivacyDecoy = "PrefetchIsPrivacyDecoy",
|
|
15915
16224
|
PrefetchIsStale = "PrefetchIsStale",
|
|
16225
|
+
PrefetchNotEligibleBlockedByConnectionAllowlist = "PrefetchNotEligibleBlockedByConnectionAllowlist",
|
|
15916
16226
|
PrefetchNotEligibleBrowserContextOffTheRecord = "PrefetchNotEligibleBrowserContextOffTheRecord",
|
|
16227
|
+
PrefetchNotEligibleCrossOrigin = "PrefetchNotEligibleCrossOrigin",
|
|
15917
16228
|
PrefetchNotEligibleDataSaverEnabled = "PrefetchNotEligibleDataSaverEnabled",
|
|
15918
16229
|
PrefetchNotEligibleExistingProxy = "PrefetchNotEligibleExistingProxy",
|
|
15919
16230
|
PrefetchNotEligibleHostIsNonUnique = "PrefetchNotEligibleHostIsNonUnique",
|
|
@@ -15933,7 +16244,8 @@ export declare namespace Preload {
|
|
|
15933
16244
|
PrefetchProxyNotAvailable = "PrefetchProxyNotAvailable",
|
|
15934
16245
|
PrefetchResponseUsed = "PrefetchResponseUsed",
|
|
15935
16246
|
PrefetchSuccessfulButNotUsed = "PrefetchSuccessfulButNotUsed",
|
|
15936
|
-
PrefetchNotUsedProbeFailed = "PrefetchNotUsedProbeFailed"
|
|
16247
|
+
PrefetchNotUsedProbeFailed = "PrefetchNotUsedProbeFailed",
|
|
16248
|
+
PrefetchCancelledOnUserNavigation = "PrefetchCancelledOnUserNavigation"
|
|
15937
16249
|
}
|
|
15938
16250
|
/**
|
|
15939
16251
|
* Information of headers to be displayed when the header mismatch occurred.
|
|
@@ -16320,6 +16632,57 @@ export declare namespace ServiceWorker {
|
|
|
16320
16632
|
Activated = "activated",
|
|
16321
16633
|
Redundant = "redundant"
|
|
16322
16634
|
}
|
|
16635
|
+
/**
|
|
16636
|
+
* Mostly corresponds to `RouterCondition` in ServiceWorker spec
|
|
16637
|
+
* (https://www.w3.org/TR/service-workers/#dictdef-routercondition)
|
|
16638
|
+
*/
|
|
16639
|
+
interface ServiceWorkerRouterCondition {
|
|
16640
|
+
/**
|
|
16641
|
+
* Plain text, or JSON serialization of URLPatternInit or URLPattern
|
|
16642
|
+
*/
|
|
16643
|
+
urlPattern?: string;
|
|
16644
|
+
requestMethod?: string;
|
|
16645
|
+
requestMode?: string;
|
|
16646
|
+
requestDestination?: string;
|
|
16647
|
+
runningStatus?: ServiceWorkerVersionRunningStatus;
|
|
16648
|
+
or?: ServiceWorkerRouterCondition[];
|
|
16649
|
+
not?: ServiceWorkerRouterCondition;
|
|
16650
|
+
}
|
|
16651
|
+
const enum ServiceWorkerRouterSourceType {
|
|
16652
|
+
Cache = "cache",
|
|
16653
|
+
FetchEvent = "fetchEvent",
|
|
16654
|
+
Network = "network",
|
|
16655
|
+
RaceNetworkAndFetchHandler = "raceNetworkAndFetchHandler",
|
|
16656
|
+
RaceNetworkAndCache = "raceNetworkAndCache",
|
|
16657
|
+
SourceDict = "sourceDict"
|
|
16658
|
+
}
|
|
16659
|
+
/**
|
|
16660
|
+
* https://www.w3.org/TR/service-workers/#dictdef-routersourcedict
|
|
16661
|
+
*/
|
|
16662
|
+
interface ServiceWorkerRouterSourceDict {
|
|
16663
|
+
cacheName: string;
|
|
16664
|
+
}
|
|
16665
|
+
/**
|
|
16666
|
+
* Corresponds to `RouterSource` in the spec while the representation is different as follows.
|
|
16667
|
+
* (https://www.w3.org/TR/service-workers/#typedefdef-routersource)
|
|
16668
|
+
* - `RouterSourceEnum`: `type` equals `cache`, `sourceDict` is null.
|
|
16669
|
+
* - `RouterSourceDict`: `type` equals `sourceDict`, `sourceDict` has valid value.
|
|
16670
|
+
*/
|
|
16671
|
+
interface ServiceWorkerRouterSource {
|
|
16672
|
+
type: ServiceWorkerRouterSourceType;
|
|
16673
|
+
/**
|
|
16674
|
+
* Non-empty iff `type` equals "sourceDict".
|
|
16675
|
+
*/
|
|
16676
|
+
sourceDict?: ServiceWorkerRouterSourceDict;
|
|
16677
|
+
}
|
|
16678
|
+
interface ServiceWorkerRouterRule {
|
|
16679
|
+
condition: ServiceWorkerRouterCondition;
|
|
16680
|
+
source: ServiceWorkerRouterSource;
|
|
16681
|
+
/**
|
|
16682
|
+
* Rule ID assigned by the browser. Unique within each ServiceWorkerVersion.
|
|
16683
|
+
*/
|
|
16684
|
+
id: integer;
|
|
16685
|
+
}
|
|
16323
16686
|
/**
|
|
16324
16687
|
* ServiceWorker version.
|
|
16325
16688
|
*/
|
|
@@ -16340,7 +16703,13 @@ export declare namespace ServiceWorker {
|
|
|
16340
16703
|
scriptResponseTime?: number;
|
|
16341
16704
|
controlledClients?: Target.TargetID[];
|
|
16342
16705
|
targetId?: Target.TargetID;
|
|
16706
|
+
/**
|
|
16707
|
+
* Migration to `typedRouterRules` is in progress. The browser sends either
|
|
16708
|
+
* `routerRules` or `typedRouterRules`.
|
|
16709
|
+
* TODO(crbug.com/540469610): Remove `routerRules` after the migration.
|
|
16710
|
+
*/
|
|
16343
16711
|
routerRules?: string;
|
|
16712
|
+
typedRouterRules?: ServiceWorkerRouterRule[];
|
|
16344
16713
|
}
|
|
16345
16714
|
/**
|
|
16346
16715
|
* ServiceWorker error message.
|
|
@@ -16737,8 +17106,6 @@ export declare namespace Storage {
|
|
|
16737
17106
|
Websql = "websql",
|
|
16738
17107
|
Service_workers = "service_workers",
|
|
16739
17108
|
Cache_storage = "cache_storage",
|
|
16740
|
-
Interest_groups = "interest_groups",
|
|
16741
|
-
Shared_storage = "shared_storage",
|
|
16742
17109
|
Storage_buckets = "storage_buckets",
|
|
16743
17110
|
All = "all",
|
|
16744
17111
|
Other = "other"
|
|
@@ -16765,245 +17132,37 @@ export declare namespace Storage {
|
|
|
16765
17132
|
count: number;
|
|
16766
17133
|
}
|
|
16767
17134
|
/**
|
|
16768
|
-
*
|
|
16769
|
-
*/
|
|
16770
|
-
type InterestGroupAuctionId = OpaqueIdentifier<string, 'Protocol.Storage.InterestGroupAuctionId'>;
|
|
16771
|
-
/**
|
|
16772
|
-
* Enum of interest group access types.
|
|
16773
|
-
*/
|
|
16774
|
-
const enum InterestGroupAccessType {
|
|
16775
|
-
Join = "join",
|
|
16776
|
-
Leave = "leave",
|
|
16777
|
-
Update = "update",
|
|
16778
|
-
Loaded = "loaded",
|
|
16779
|
-
Bid = "bid",
|
|
16780
|
-
Win = "win",
|
|
16781
|
-
AdditionalBid = "additionalBid",
|
|
16782
|
-
AdditionalBidWin = "additionalBidWin",
|
|
16783
|
-
TopLevelBid = "topLevelBid",
|
|
16784
|
-
TopLevelAdditionalBid = "topLevelAdditionalBid",
|
|
16785
|
-
Clear = "clear"
|
|
16786
|
-
}
|
|
16787
|
-
/**
|
|
16788
|
-
* Enum of auction events.
|
|
16789
|
-
*/
|
|
16790
|
-
const enum InterestGroupAuctionEventType {
|
|
16791
|
-
Started = "started",
|
|
16792
|
-
ConfigResolved = "configResolved"
|
|
16793
|
-
}
|
|
16794
|
-
/**
|
|
16795
|
-
* Enum of network fetches auctions can do.
|
|
17135
|
+
* Details of a stored Private Verification Token.
|
|
16796
17136
|
*/
|
|
16797
|
-
|
|
16798
|
-
BidderJs = "bidderJs",
|
|
16799
|
-
BidderWasm = "bidderWasm",
|
|
16800
|
-
SellerJs = "sellerJs",
|
|
16801
|
-
BidderTrustedSignals = "bidderTrustedSignals",
|
|
16802
|
-
SellerTrustedSignals = "sellerTrustedSignals"
|
|
16803
|
-
}
|
|
16804
|
-
/**
|
|
16805
|
-
* Enum of shared storage access scopes.
|
|
16806
|
-
*/
|
|
16807
|
-
const enum SharedStorageAccessScope {
|
|
16808
|
-
Window = "window",
|
|
16809
|
-
SharedStorageWorklet = "sharedStorageWorklet",
|
|
16810
|
-
ProtectedAudienceWorklet = "protectedAudienceWorklet",
|
|
16811
|
-
Header = "header"
|
|
16812
|
-
}
|
|
16813
|
-
/**
|
|
16814
|
-
* Enum of shared storage access methods.
|
|
16815
|
-
*/
|
|
16816
|
-
const enum SharedStorageAccessMethod {
|
|
16817
|
-
AddModule = "addModule",
|
|
16818
|
-
CreateWorklet = "createWorklet",
|
|
16819
|
-
SelectURL = "selectURL",
|
|
16820
|
-
Run = "run",
|
|
16821
|
-
BatchUpdate = "batchUpdate",
|
|
16822
|
-
Set = "set",
|
|
16823
|
-
Append = "append",
|
|
16824
|
-
Delete = "delete",
|
|
16825
|
-
Clear = "clear",
|
|
16826
|
-
Get = "get",
|
|
16827
|
-
Keys = "keys",
|
|
16828
|
-
Values = "values",
|
|
16829
|
-
Entries = "entries",
|
|
16830
|
-
Length = "length",
|
|
16831
|
-
RemainingBudget = "remainingBudget"
|
|
16832
|
-
}
|
|
16833
|
-
/**
|
|
16834
|
-
* Struct for a single key-value pair in an origin's shared storage.
|
|
16835
|
-
*/
|
|
16836
|
-
interface SharedStorageEntry {
|
|
16837
|
-
key: string;
|
|
16838
|
-
value: string;
|
|
16839
|
-
}
|
|
16840
|
-
/**
|
|
16841
|
-
* Details for an origin's shared storage.
|
|
16842
|
-
*/
|
|
16843
|
-
interface SharedStorageMetadata {
|
|
17137
|
+
interface PrivateVerificationToken {
|
|
16844
17138
|
/**
|
|
16845
|
-
*
|
|
17139
|
+
* Unique identifier of the token in the database.
|
|
16846
17140
|
*/
|
|
16847
|
-
|
|
16848
|
-
/**
|
|
16849
|
-
* Number of key-value pairs stored in origin's shared storage.
|
|
16850
|
-
*/
|
|
16851
|
-
length: integer;
|
|
16852
|
-
/**
|
|
16853
|
-
* Current amount of bits of entropy remaining in the navigation budget.
|
|
16854
|
-
*/
|
|
16855
|
-
remainingBudget: number;
|
|
16856
|
-
/**
|
|
16857
|
-
* Total number of bytes stored as key-value pairs in origin's shared
|
|
16858
|
-
* storage.
|
|
16859
|
-
*/
|
|
16860
|
-
bytesUsed: integer;
|
|
16861
|
-
}
|
|
16862
|
-
/**
|
|
16863
|
-
* Represents a dictionary object passed in as privateAggregationConfig to
|
|
16864
|
-
* run or selectURL.
|
|
16865
|
-
*/
|
|
16866
|
-
interface SharedStoragePrivateAggregationConfig {
|
|
16867
|
-
/**
|
|
16868
|
-
* The chosen aggregation service deployment.
|
|
16869
|
-
*/
|
|
16870
|
-
aggregationCoordinatorOrigin?: string;
|
|
16871
|
-
/**
|
|
16872
|
-
* The context ID provided.
|
|
16873
|
-
*/
|
|
16874
|
-
contextId?: string;
|
|
16875
|
-
/**
|
|
16876
|
-
* Configures the maximum size allowed for filtering IDs.
|
|
16877
|
-
*/
|
|
16878
|
-
filteringIdMaxBytes: integer;
|
|
16879
|
-
/**
|
|
16880
|
-
* The limit on the number of contributions in the final report.
|
|
16881
|
-
*/
|
|
16882
|
-
maxContributions?: integer;
|
|
16883
|
-
}
|
|
16884
|
-
/**
|
|
16885
|
-
* Pair of reporting metadata details for a candidate URL for `selectURL()`.
|
|
16886
|
-
*/
|
|
16887
|
-
interface SharedStorageReportingMetadata {
|
|
16888
|
-
eventType: string;
|
|
16889
|
-
reportingUrl: string;
|
|
16890
|
-
}
|
|
16891
|
-
/**
|
|
16892
|
-
* Bundles a candidate URL with its reporting metadata.
|
|
16893
|
-
*/
|
|
16894
|
-
interface SharedStorageUrlWithMetadata {
|
|
16895
|
-
/**
|
|
16896
|
-
* Spec of candidate URL.
|
|
16897
|
-
*/
|
|
16898
|
-
url: string;
|
|
16899
|
-
/**
|
|
16900
|
-
* Any associated reporting metadata.
|
|
16901
|
-
*/
|
|
16902
|
-
reportingMetadata: SharedStorageReportingMetadata[];
|
|
16903
|
-
}
|
|
16904
|
-
/**
|
|
16905
|
-
* Bundles the parameters for shared storage access events whose
|
|
16906
|
-
* presence/absence can vary according to SharedStorageAccessType.
|
|
16907
|
-
*/
|
|
16908
|
-
interface SharedStorageAccessParams {
|
|
16909
|
-
/**
|
|
16910
|
-
* Spec of the module script URL.
|
|
16911
|
-
* Present only for SharedStorageAccessMethods: addModule and
|
|
16912
|
-
* createWorklet.
|
|
16913
|
-
*/
|
|
16914
|
-
scriptSourceUrl?: string;
|
|
16915
|
-
/**
|
|
16916
|
-
* String denoting "context-origin", "script-origin", or a custom
|
|
16917
|
-
* origin to be used as the worklet's data origin.
|
|
16918
|
-
* Present only for SharedStorageAccessMethod: createWorklet.
|
|
16919
|
-
*/
|
|
16920
|
-
dataOrigin?: string;
|
|
16921
|
-
/**
|
|
16922
|
-
* Name of the registered operation to be run.
|
|
16923
|
-
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
16924
|
-
*/
|
|
16925
|
-
operationName?: string;
|
|
16926
|
-
/**
|
|
16927
|
-
* ID of the operation call.
|
|
16928
|
-
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
16929
|
-
*/
|
|
16930
|
-
operationId?: string;
|
|
16931
|
-
/**
|
|
16932
|
-
* Whether or not to keep the worket alive for future run or selectURL
|
|
16933
|
-
* calls.
|
|
16934
|
-
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
16935
|
-
*/
|
|
16936
|
-
keepAlive?: boolean;
|
|
16937
|
-
/**
|
|
16938
|
-
* Configures the private aggregation options.
|
|
16939
|
-
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
16940
|
-
*/
|
|
16941
|
-
privateAggregationConfig?: SharedStoragePrivateAggregationConfig;
|
|
16942
|
-
/**
|
|
16943
|
-
* The operation's serialized data in bytes (converted to a string).
|
|
16944
|
-
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
16945
|
-
* TODO(crbug.com/401011862): Consider updating this parameter to binary.
|
|
16946
|
-
*/
|
|
16947
|
-
serializedData?: string;
|
|
16948
|
-
/**
|
|
16949
|
-
* Array of candidate URLs' specs, along with any associated metadata.
|
|
16950
|
-
* Present only for SharedStorageAccessMethod: selectURL.
|
|
16951
|
-
*/
|
|
16952
|
-
urlsWithMetadata?: SharedStorageUrlWithMetadata[];
|
|
16953
|
-
/**
|
|
16954
|
-
* Spec of the URN:UUID generated for a selectURL call.
|
|
16955
|
-
* Present only for SharedStorageAccessMethod: selectURL.
|
|
16956
|
-
*/
|
|
16957
|
-
urnUuid?: string;
|
|
16958
|
-
/**
|
|
16959
|
-
* Key for a specific entry in an origin's shared storage.
|
|
16960
|
-
* Present only for SharedStorageAccessMethods: set, append, delete, and
|
|
16961
|
-
* get.
|
|
16962
|
-
*/
|
|
16963
|
-
key?: string;
|
|
16964
|
-
/**
|
|
16965
|
-
* Value for a specific entry in an origin's shared storage.
|
|
16966
|
-
* Present only for SharedStorageAccessMethods: set and append.
|
|
16967
|
-
*/
|
|
16968
|
-
value?: string;
|
|
17141
|
+
id: string;
|
|
16969
17142
|
/**
|
|
16970
|
-
*
|
|
16971
|
-
* Present only for SharedStorageAccessMethod: set.
|
|
17143
|
+
* Origin of the token issuer.
|
|
16972
17144
|
*/
|
|
16973
|
-
|
|
17145
|
+
issuerOrigin: string;
|
|
16974
17146
|
/**
|
|
16975
|
-
*
|
|
16976
|
-
* creation relative to all other shared storage worklets created by
|
|
16977
|
-
* documents using the current storage partition.
|
|
16978
|
-
* Present only for SharedStorageAccessMethods: addModule, createWorklet.
|
|
17147
|
+
* Public key ID used to issue the token.
|
|
16979
17148
|
*/
|
|
16980
|
-
|
|
17149
|
+
keyId: integer;
|
|
16981
17150
|
/**
|
|
16982
|
-
*
|
|
16983
|
-
* associated shared storage worklet.
|
|
16984
|
-
* Present only for SharedStorageAccessMethods: addModule, createWorklet,
|
|
16985
|
-
* run, selectURL, and any other SharedStorageAccessMethod when the
|
|
16986
|
-
* SharedStorageAccessScope is sharedStorageWorklet.
|
|
17151
|
+
* Expiration timestamp in seconds since the epoch.
|
|
16987
17152
|
*/
|
|
16988
|
-
|
|
17153
|
+
expiration: Network.TimeSinceEpoch;
|
|
16989
17154
|
/**
|
|
16990
|
-
*
|
|
16991
|
-
* Optionally present only for SharedStorageAccessMethods: batchUpdate,
|
|
16992
|
-
* set, append, delete, and clear.
|
|
17155
|
+
* Token creation timestamp in seconds since the epoch.
|
|
16993
17156
|
*/
|
|
16994
|
-
|
|
17157
|
+
creationTime: Network.TimeSinceEpoch;
|
|
16995
17158
|
/**
|
|
16996
|
-
*
|
|
16997
|
-
* number identifies the batch to which it belongs.
|
|
16998
|
-
* Optionally present only for SharedStorageAccessMethods:
|
|
16999
|
-
* batchUpdate (required), set, append, delete, and clear.
|
|
17159
|
+
* Token protocol version.
|
|
17000
17160
|
*/
|
|
17001
|
-
|
|
17161
|
+
version: integer;
|
|
17002
17162
|
/**
|
|
17003
|
-
*
|
|
17004
|
-
* Present only for SharedStorageAccessMethod: batchUpdate.
|
|
17163
|
+
* Base64-encoded serialized token.
|
|
17005
17164
|
*/
|
|
17006
|
-
|
|
17165
|
+
token: string;
|
|
17007
17166
|
}
|
|
17008
17167
|
const enum StorageBucketsDurability {
|
|
17009
17168
|
Relaxed = "relaxed",
|
|
@@ -17204,58 +17363,16 @@ export declare namespace Storage {
|
|
|
17204
17363
|
*/
|
|
17205
17364
|
didDeleteTokens: boolean;
|
|
17206
17365
|
}
|
|
17207
|
-
interface
|
|
17208
|
-
|
|
17209
|
-
name: string;
|
|
17210
|
-
}
|
|
17211
|
-
interface GetInterestGroupDetailsResponse extends ProtocolResponseWithError {
|
|
17212
|
-
/**
|
|
17213
|
-
* This largely corresponds to:
|
|
17214
|
-
* https://wicg.github.io/turtledove/#dictdef-generatebidinterestgroup
|
|
17215
|
-
* but has absolute expirationTime instead of relative lifetimeMs and
|
|
17216
|
-
* also adds joiningOrigin.
|
|
17217
|
-
*/
|
|
17218
|
-
details: any;
|
|
17219
|
-
}
|
|
17220
|
-
interface SetInterestGroupTrackingRequest {
|
|
17221
|
-
enable: boolean;
|
|
17222
|
-
}
|
|
17223
|
-
interface SetInterestGroupAuctionTrackingRequest {
|
|
17224
|
-
enable: boolean;
|
|
17225
|
-
}
|
|
17226
|
-
interface GetSharedStorageMetadataRequest {
|
|
17227
|
-
ownerOrigin: string;
|
|
17228
|
-
}
|
|
17229
|
-
interface GetSharedStorageMetadataResponse extends ProtocolResponseWithError {
|
|
17230
|
-
metadata: SharedStorageMetadata;
|
|
17231
|
-
}
|
|
17232
|
-
interface GetSharedStorageEntriesRequest {
|
|
17233
|
-
ownerOrigin: string;
|
|
17234
|
-
}
|
|
17235
|
-
interface GetSharedStorageEntriesResponse extends ProtocolResponseWithError {
|
|
17236
|
-
entries: SharedStorageEntry[];
|
|
17237
|
-
}
|
|
17238
|
-
interface SetSharedStorageEntryRequest {
|
|
17239
|
-
ownerOrigin: string;
|
|
17240
|
-
key: string;
|
|
17241
|
-
value: string;
|
|
17242
|
-
/**
|
|
17243
|
-
* If `ignoreIfPresent` is included and true, then only sets the entry if
|
|
17244
|
-
* `key` doesn't already exist.
|
|
17245
|
-
*/
|
|
17246
|
-
ignoreIfPresent?: boolean;
|
|
17366
|
+
interface GetPrivateVerificationTokensResponse extends ProtocolResponseWithError {
|
|
17367
|
+
tokens: PrivateVerificationToken[];
|
|
17247
17368
|
}
|
|
17248
|
-
interface
|
|
17249
|
-
|
|
17250
|
-
key: string;
|
|
17251
|
-
}
|
|
17252
|
-
interface ClearSharedStorageEntriesRequest {
|
|
17253
|
-
ownerOrigin: string;
|
|
17369
|
+
interface ClearPrivateVerificationTokensRequest {
|
|
17370
|
+
issuerOrigin: string;
|
|
17254
17371
|
}
|
|
17255
|
-
interface
|
|
17256
|
-
|
|
17372
|
+
interface DeletePrivateVerificationTokenRequest {
|
|
17373
|
+
tokenId: string;
|
|
17257
17374
|
}
|
|
17258
|
-
interface
|
|
17375
|
+
interface SetPrivateVerificationTokensTrackingRequest {
|
|
17259
17376
|
enable: boolean;
|
|
17260
17377
|
}
|
|
17261
17378
|
interface SetStorageBucketTrackingRequest {
|
|
@@ -17271,11 +17388,6 @@ export declare namespace Storage {
|
|
|
17271
17388
|
interface GetRelatedWebsiteSetsResponse extends ProtocolResponseWithError {
|
|
17272
17389
|
sets: RelatedWebsiteSet[];
|
|
17273
17390
|
}
|
|
17274
|
-
interface SetProtectedAudienceKAnonymityRequest {
|
|
17275
|
-
owner: string;
|
|
17276
|
-
name: string;
|
|
17277
|
-
hashes: binary[];
|
|
17278
|
-
}
|
|
17279
17391
|
/**
|
|
17280
17392
|
* A cache's contents have been modified.
|
|
17281
17393
|
*/
|
|
@@ -17356,134 +17468,6 @@ export declare namespace Storage {
|
|
|
17356
17468
|
*/
|
|
17357
17469
|
bucketId: string;
|
|
17358
17470
|
}
|
|
17359
|
-
/**
|
|
17360
|
-
* One of the interest groups was accessed. Note that these events are global
|
|
17361
|
-
* to all targets sharing an interest group store.
|
|
17362
|
-
*/
|
|
17363
|
-
interface InterestGroupAccessedEvent {
|
|
17364
|
-
accessTime: Network.TimeSinceEpoch;
|
|
17365
|
-
type: InterestGroupAccessType;
|
|
17366
|
-
ownerOrigin: string;
|
|
17367
|
-
name: string;
|
|
17368
|
-
/**
|
|
17369
|
-
* For topLevelBid/topLevelAdditionalBid, and when appropriate,
|
|
17370
|
-
* win and additionalBidWin
|
|
17371
|
-
*/
|
|
17372
|
-
componentSellerOrigin?: string;
|
|
17373
|
-
/**
|
|
17374
|
-
* For bid or somethingBid event, if done locally and not on a server.
|
|
17375
|
-
*/
|
|
17376
|
-
bid?: number;
|
|
17377
|
-
bidCurrency?: string;
|
|
17378
|
-
/**
|
|
17379
|
-
* For non-global events --- links to interestGroupAuctionEvent
|
|
17380
|
-
*/
|
|
17381
|
-
uniqueAuctionId?: InterestGroupAuctionId;
|
|
17382
|
-
}
|
|
17383
|
-
/**
|
|
17384
|
-
* An auction involving interest groups is taking place. These events are
|
|
17385
|
-
* target-specific.
|
|
17386
|
-
*/
|
|
17387
|
-
interface InterestGroupAuctionEventOccurredEvent {
|
|
17388
|
-
eventTime: Network.TimeSinceEpoch;
|
|
17389
|
-
type: InterestGroupAuctionEventType;
|
|
17390
|
-
uniqueAuctionId: InterestGroupAuctionId;
|
|
17391
|
-
/**
|
|
17392
|
-
* Set for child auctions.
|
|
17393
|
-
*/
|
|
17394
|
-
parentAuctionId?: InterestGroupAuctionId;
|
|
17395
|
-
/**
|
|
17396
|
-
* Set for started and configResolved
|
|
17397
|
-
*/
|
|
17398
|
-
auctionConfig?: any;
|
|
17399
|
-
}
|
|
17400
|
-
/**
|
|
17401
|
-
* Specifies which auctions a particular network fetch may be related to, and
|
|
17402
|
-
* in what role. Note that it is not ordered with respect to
|
|
17403
|
-
* Network.requestWillBeSent (but will happen before loadingFinished
|
|
17404
|
-
* loadingFailed).
|
|
17405
|
-
*/
|
|
17406
|
-
interface InterestGroupAuctionNetworkRequestCreatedEvent {
|
|
17407
|
-
type: InterestGroupAuctionFetchType;
|
|
17408
|
-
requestId: Network.RequestId;
|
|
17409
|
-
/**
|
|
17410
|
-
* This is the set of the auctions using the worklet that issued this
|
|
17411
|
-
* request. In the case of trusted signals, it's possible that only some of
|
|
17412
|
-
* them actually care about the keys being queried.
|
|
17413
|
-
*/
|
|
17414
|
-
auctions: InterestGroupAuctionId[];
|
|
17415
|
-
}
|
|
17416
|
-
/**
|
|
17417
|
-
* Shared storage was accessed by the associated page.
|
|
17418
|
-
* The following parameters are included in all events.
|
|
17419
|
-
*/
|
|
17420
|
-
interface SharedStorageAccessedEvent {
|
|
17421
|
-
/**
|
|
17422
|
-
* Time of the access.
|
|
17423
|
-
*/
|
|
17424
|
-
accessTime: Network.TimeSinceEpoch;
|
|
17425
|
-
/**
|
|
17426
|
-
* Enum value indicating the access scope.
|
|
17427
|
-
*/
|
|
17428
|
-
scope: SharedStorageAccessScope;
|
|
17429
|
-
/**
|
|
17430
|
-
* Enum value indicating the Shared Storage API method invoked.
|
|
17431
|
-
*/
|
|
17432
|
-
method: SharedStorageAccessMethod;
|
|
17433
|
-
/**
|
|
17434
|
-
* DevTools Frame Token for the primary frame tree's root.
|
|
17435
|
-
*/
|
|
17436
|
-
mainFrameId: Page.FrameId;
|
|
17437
|
-
/**
|
|
17438
|
-
* Serialization of the origin owning the Shared Storage data.
|
|
17439
|
-
*/
|
|
17440
|
-
ownerOrigin: string;
|
|
17441
|
-
/**
|
|
17442
|
-
* Serialization of the site owning the Shared Storage data.
|
|
17443
|
-
*/
|
|
17444
|
-
ownerSite: string;
|
|
17445
|
-
/**
|
|
17446
|
-
* The sub-parameters wrapped by `params` are all optional and their
|
|
17447
|
-
* presence/absence depends on `type`.
|
|
17448
|
-
*/
|
|
17449
|
-
params: SharedStorageAccessParams;
|
|
17450
|
-
}
|
|
17451
|
-
/**
|
|
17452
|
-
* A shared storage run or selectURL operation finished its execution.
|
|
17453
|
-
* The following parameters are included in all events.
|
|
17454
|
-
*/
|
|
17455
|
-
interface SharedStorageWorkletOperationExecutionFinishedEvent {
|
|
17456
|
-
/**
|
|
17457
|
-
* Time that the operation finished.
|
|
17458
|
-
*/
|
|
17459
|
-
finishedTime: Network.TimeSinceEpoch;
|
|
17460
|
-
/**
|
|
17461
|
-
* Time, in microseconds, from start of shared storage JS API call until
|
|
17462
|
-
* end of operation execution in the worklet.
|
|
17463
|
-
*/
|
|
17464
|
-
executionTime: integer;
|
|
17465
|
-
/**
|
|
17466
|
-
* Enum value indicating the Shared Storage API method invoked.
|
|
17467
|
-
*/
|
|
17468
|
-
method: SharedStorageAccessMethod;
|
|
17469
|
-
/**
|
|
17470
|
-
* ID of the operation call.
|
|
17471
|
-
*/
|
|
17472
|
-
operationId: string;
|
|
17473
|
-
/**
|
|
17474
|
-
* Hex representation of the DevTools token used as the TargetID for the
|
|
17475
|
-
* associated shared storage worklet.
|
|
17476
|
-
*/
|
|
17477
|
-
workletTargetId: Target.TargetID;
|
|
17478
|
-
/**
|
|
17479
|
-
* DevTools Frame Token for the primary frame tree's root.
|
|
17480
|
-
*/
|
|
17481
|
-
mainFrameId: Page.FrameId;
|
|
17482
|
-
/**
|
|
17483
|
-
* Serialization of the origin owning the Shared Storage data.
|
|
17484
|
-
*/
|
|
17485
|
-
ownerOrigin: string;
|
|
17486
|
-
}
|
|
17487
17471
|
interface StorageBucketCreatedOrUpdatedEvent {
|
|
17488
17472
|
bucketInfo: StorageBucketInfo;
|
|
17489
17473
|
}
|
|
@@ -17905,13 +17889,11 @@ export declare namespace Target {
|
|
|
17905
17889
|
*/
|
|
17906
17890
|
hidden?: boolean;
|
|
17907
17891
|
/**
|
|
17908
|
-
* If specified,
|
|
17909
|
-
*
|
|
17910
|
-
*
|
|
17911
|
-
*
|
|
17912
|
-
*
|
|
17913
|
-
* and background=false with focus=undefined will result in the window being focused.
|
|
17914
|
-
* Using background: true and focus: true is not supported and will result in an error.
|
|
17892
|
+
* If specified, determines whether the new target should be focused.
|
|
17893
|
+
* By default, the focus behavior depends on the `background` parameter:
|
|
17894
|
+
* - If `background` is false (default) and `focus` is omitted, the new target is focused and the browser window is brought to the foreground.
|
|
17895
|
+
* - If `background` is false and `focus` is false, the target is opened but the browser window's focus remains unchanged (e.g., if the window was in the background, it stays there).
|
|
17896
|
+
* - If `background` is true, setting `focus` to true is not supported and will result in an error.
|
|
17915
17897
|
*/
|
|
17916
17898
|
focus?: boolean;
|
|
17917
17899
|
}
|
|
@@ -18325,6 +18307,21 @@ export declare namespace Tracing {
|
|
|
18325
18307
|
* Backend type (defaults to `auto`)
|
|
18326
18308
|
*/
|
|
18327
18309
|
tracingBackend?: TracingBackend;
|
|
18310
|
+
/**
|
|
18311
|
+
* Maximum width and height (in pixels) of each captured screenshot.
|
|
18312
|
+
* Only used when the `disabled-by-default-devtools.screenshot` category is
|
|
18313
|
+
* enabled. Defaults to 500. The combined memory footprint of screenshots
|
|
18314
|
+
* (`screenshotMaxSize` * `screenshotMaxSize` * 4 * `screenshotMaxCount`)
|
|
18315
|
+
* is clamped to the existing per-session budget.
|
|
18316
|
+
*/
|
|
18317
|
+
screenshotMaxSize?: integer;
|
|
18318
|
+
/**
|
|
18319
|
+
* Maximum number of screenshots captured during a single tracing session.
|
|
18320
|
+
* Only used when the `disabled-by-default-devtools.screenshot` category is
|
|
18321
|
+
* enabled. Defaults to 450. Clamped together with `screenshotMaxSize` to
|
|
18322
|
+
* stay within the per-session screenshot memory budget.
|
|
18323
|
+
*/
|
|
18324
|
+
screenshotMaxCount?: integer;
|
|
18328
18325
|
}
|
|
18329
18326
|
interface BufferUsageEvent {
|
|
18330
18327
|
/**
|
|
@@ -18471,6 +18468,7 @@ export declare namespace WebAudio {
|
|
|
18471
18468
|
* Context sample rate.
|
|
18472
18469
|
*/
|
|
18473
18470
|
sampleRate: number;
|
|
18471
|
+
renderQuantumSize: number;
|
|
18474
18472
|
}
|
|
18475
18473
|
/**
|
|
18476
18474
|
* Protocol object for AudioListener
|
|
@@ -18623,11 +18621,16 @@ export declare namespace WebAuthn {
|
|
|
18623
18621
|
Ctap2_1 = "ctap2_1",
|
|
18624
18622
|
Ctap2_2 = "ctap2_2"
|
|
18625
18623
|
}
|
|
18624
|
+
/**
|
|
18625
|
+
* LINT_SKIP.IfChange(AuthenticatorTransport)
|
|
18626
|
+
*/
|
|
18626
18627
|
const enum AuthenticatorTransport {
|
|
18627
18628
|
Usb = "usb",
|
|
18628
18629
|
Nfc = "nfc",
|
|
18629
18630
|
Ble = "ble",
|
|
18630
18631
|
Cable = "cable",
|
|
18632
|
+
Hybrid = "hybrid",
|
|
18633
|
+
SmartCard = "smart-card",
|
|
18631
18634
|
Internal = "internal"
|
|
18632
18635
|
}
|
|
18633
18636
|
interface VirtualAuthenticatorOptions {
|
|
@@ -18681,6 +18684,13 @@ export declare namespace WebAuthn {
|
|
|
18681
18684
|
* Defaults to false.
|
|
18682
18685
|
*/
|
|
18683
18686
|
hasHmacSecretMc?: boolean;
|
|
18687
|
+
/**
|
|
18688
|
+
* If set to true, the authenticator will support the cmtgKey (Credential
|
|
18689
|
+
* Manager Trust Group Key) extension.
|
|
18690
|
+
* https://github.com/w3c/webauthn/pull/2377
|
|
18691
|
+
* Defaults to false.
|
|
18692
|
+
*/
|
|
18693
|
+
hasCmtgKey?: boolean;
|
|
18684
18694
|
/**
|
|
18685
18695
|
* If set to true, tests of user presence will succeed immediately.
|
|
18686
18696
|
* Otherwise, they will not be resolved. Defaults to true.
|
|
@@ -18722,11 +18732,12 @@ export declare namespace WebAuthn {
|
|
|
18722
18732
|
*/
|
|
18723
18733
|
userHandle?: binary;
|
|
18724
18734
|
/**
|
|
18725
|
-
* Signature counter.
|
|
18726
|
-
*
|
|
18735
|
+
* Signature counter. Must be equal to or greater than -1.
|
|
18736
|
+
* If -1, the credential won't have an associated signature counter, and
|
|
18737
|
+
* every assertion operation will report a value of 0.
|
|
18727
18738
|
* See https://w3c.github.io/webauthn/#signature-counter
|
|
18728
18739
|
*/
|
|
18729
|
-
signCount:
|
|
18740
|
+
signCount: number;
|
|
18730
18741
|
/**
|
|
18731
18742
|
* The large blob associated with the credential.
|
|
18732
18743
|
* See https://w3c.github.io/webauthn/#sctn-large-blob-extension
|
|
@@ -18755,6 +18766,18 @@ export declare namespace WebAuthn {
|
|
|
18755
18766
|
* https://w3c.github.io/webauthn/#dom-publickeycredentialuserentity-displayname
|
|
18756
18767
|
*/
|
|
18757
18768
|
userDisplayName?: string;
|
|
18769
|
+
/**
|
|
18770
|
+
* The CMTG keys associated with the credential.
|
|
18771
|
+
*/
|
|
18772
|
+
cmtgKeys?: binary[];
|
|
18773
|
+
/**
|
|
18774
|
+
* The 0-based index of the active key in cmtgKeys.
|
|
18775
|
+
*/
|
|
18776
|
+
activeCmtgKeyIndex?: integer;
|
|
18777
|
+
/**
|
|
18778
|
+
* If true, the authenticator will generate a new CMTG key on the next operation.
|
|
18779
|
+
*/
|
|
18780
|
+
generateCmtgKeyOnNextOperation?: boolean;
|
|
18758
18781
|
}
|
|
18759
18782
|
interface EnableRequest {
|
|
18760
18783
|
/**
|
|
@@ -18830,6 +18853,15 @@ export declare namespace WebAuthn {
|
|
|
18830
18853
|
credentialId: binary;
|
|
18831
18854
|
backupEligibility?: boolean;
|
|
18832
18855
|
backupState?: boolean;
|
|
18856
|
+
activeCmtgKeyIndex?: integer;
|
|
18857
|
+
generateCmtgKeyOnNextOperation?: boolean;
|
|
18858
|
+
/**
|
|
18859
|
+
* Must be equal to or greater than -1.
|
|
18860
|
+
* If -1, the signature counter is removed from the credential, and every
|
|
18861
|
+
* assertion operation will report a value of 0.
|
|
18862
|
+
* See https://w3c.github.io/webauthn/#signature-counter
|
|
18863
|
+
*/
|
|
18864
|
+
signCount?: number;
|
|
18833
18865
|
}
|
|
18834
18866
|
/**
|
|
18835
18867
|
* Triggered when a credential is added to an authenticator.
|
|
@@ -18875,6 +18907,10 @@ export declare namespace WebMCP {
|
|
|
18875
18907
|
* A hint indicating that the tool output may contain untrusted content, ex: UGC, 3rd party data.
|
|
18876
18908
|
*/
|
|
18877
18909
|
untrustedContent?: boolean;
|
|
18910
|
+
/**
|
|
18911
|
+
* A hint indicating that executing the tool will result in consequential actions, ex: booking a flight, transferring money.
|
|
18912
|
+
*/
|
|
18913
|
+
consequential?: boolean;
|
|
18878
18914
|
/**
|
|
18879
18915
|
* If the declarative tool was declared with the autosubmit attribute.
|
|
18880
18916
|
*/
|
|
@@ -19153,6 +19189,14 @@ export declare namespace Debugger {
|
|
|
19153
19189
|
* Location in the source code where scope ends
|
|
19154
19190
|
*/
|
|
19155
19191
|
endLocation?: Location;
|
|
19192
|
+
/**
|
|
19193
|
+
* True if the scope does not declare any variables or have a runtime context.
|
|
19194
|
+
* Only present if true.
|
|
19195
|
+
* Empty scopes are retained in the scope chain because
|
|
19196
|
+
* they can be targeted via `evaluateOnCallFrame` (using `scopeNumber`) or
|
|
19197
|
+
* matched against scopes in source maps.
|
|
19198
|
+
*/
|
|
19199
|
+
empty?: boolean;
|
|
19156
19200
|
}
|
|
19157
19201
|
/**
|
|
19158
19202
|
* Search match for resource.
|
|
@@ -19296,6 +19340,10 @@ export declare namespace Debugger {
|
|
|
19296
19340
|
* Terminate execution after timing out (number of milliseconds).
|
|
19297
19341
|
*/
|
|
19298
19342
|
timeout?: Runtime.TimeDelta;
|
|
19343
|
+
/**
|
|
19344
|
+
* Specifies the scope number to evaluate the expression in (default: 0, innermost scope).
|
|
19345
|
+
*/
|
|
19346
|
+
scopeNumber?: integer;
|
|
19299
19347
|
}
|
|
19300
19348
|
interface EvaluateOnCallFrameResponse extends ProtocolResponseWithError {
|
|
19301
19349
|
/**
|
|
@@ -20477,6 +20525,7 @@ export declare namespace Runtime {
|
|
|
20477
20525
|
Dataview = "dataview",
|
|
20478
20526
|
Webassemblymemory = "webassemblymemory",
|
|
20479
20527
|
Wasmvalue = "wasmvalue",
|
|
20528
|
+
Deferredmodule = "deferredmodule",
|
|
20480
20529
|
Trustedtype = "trustedtype"
|
|
20481
20530
|
}
|
|
20482
20531
|
/**
|
|
@@ -20567,6 +20616,7 @@ export declare namespace Runtime {
|
|
|
20567
20616
|
Dataview = "dataview",
|
|
20568
20617
|
Webassemblymemory = "webassemblymemory",
|
|
20569
20618
|
Wasmvalue = "wasmvalue",
|
|
20619
|
+
Deferredmodule = "deferredmodule",
|
|
20570
20620
|
Trustedtype = "trustedtype"
|
|
20571
20621
|
}
|
|
20572
20622
|
/**
|
|
@@ -20629,6 +20679,7 @@ export declare namespace Runtime {
|
|
|
20629
20679
|
Dataview = "dataview",
|
|
20630
20680
|
Webassemblymemory = "webassemblymemory",
|
|
20631
20681
|
Wasmvalue = "wasmvalue",
|
|
20682
|
+
Deferredmodule = "deferredmodule",
|
|
20632
20683
|
Trustedtype = "trustedtype"
|
|
20633
20684
|
}
|
|
20634
20685
|
interface PropertyPreview {
|