@paulirish/trace_engine 0.0.64 → 0.0.66
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/.tmp/tsbuildinfo/tsconfig.tsbuildinfo +1 -1
- package/core/platform/ArrayUtilities.d.ts +5 -0
- package/core/platform/ArrayUtilities.js +14 -0
- package/core/platform/ArrayUtilities.js.map +1 -1
- package/core/platform/HostRuntime.d.ts +1 -0
- package/core/platform/HostRuntime.js +1 -1
- package/core/platform/HostRuntime.js.map +1 -1
- package/core/platform/KeyboardUtilities.js +12 -0
- package/core/platform/KeyboardUtilities.js.map +1 -1
- package/core/platform/MimeType.js +13 -0
- package/core/platform/MimeType.js.map +1 -1
- package/core/platform/Size.d.ts +12 -0
- package/core/platform/Size.js +36 -0
- package/core/platform/Size.js.map +1 -0
- package/core/platform/StringUtilities.d.ts +50 -0
- package/core/platform/StringUtilities.js +145 -4
- package/core/platform/StringUtilities.js.map +1 -1
- package/core/platform/TypescriptUtilities.d.ts +0 -6
- package/core/platform/TypescriptUtilities.js +0 -8
- package/core/platform/TypescriptUtilities.js.map +1 -1
- package/core/platform/api/HostRuntime.d.ts +30 -3
- package/core/platform/api/HostRuntime.js.map +1 -1
- package/core/platform/api/api-tsconfig.json +26 -11
- package/core/platform/api/api-tsconfig.ref.json +26 -0
- package/core/platform/browser/HostRuntime.js +103 -2
- package/core/platform/browser/HostRuntime.js.map +1 -1
- package/core/platform/browser/browser-tsconfig.json +22 -11
- package/core/platform/browser/browser-tsconfig.ref.json +27 -0
- package/core/platform/browser/bundle-tsconfig.json +59 -1
- package/core/platform/browser/bundle-tsconfig.ref.json +27 -0
- package/core/platform/bundle-tsconfig.json +59 -1
- package/core/platform/bundle-tsconfig.ref.json +27 -0
- package/core/platform/foundation_unittests-tsconfig.json +73 -0
- package/core/platform/foundation_unittests-tsconfig.ref.json +40 -0
- package/core/platform/foundation_unittests_node_typecheck-tsconfig.json +70 -0
- package/core/platform/node/HostRuntime.js +58 -4
- package/core/platform/node/HostRuntime.js.map +1 -1
- package/core/platform/node/bundle-tsconfig.json +59 -1
- package/core/platform/node/bundle-tsconfig.ref.json +27 -0
- package/core/platform/node/node-tsconfig.json +16 -9
- package/core/platform/node/node-tsconfig.ref.json +27 -0
- package/core/platform/platform-tsconfig.json +25 -13
- package/core/platform/platform-tsconfig.ref.json +49 -0
- package/core/platform/platform.d.ts +2 -1
- package/core/platform/platform.js +2 -1
- package/core/platform/platform.js.map +1 -1
- package/core/platform/platform_node_typecheck-tsconfig.json +18 -14
- package/core/platform/platform_node_typecheck.stamp +0 -0
- package/generated/protocol.d.ts +941 -718
- package/generated/protocol.js +3300 -1
- package/locales/af.json +191 -134
- package/locales/am.json +191 -134
- package/locales/ar.json +194 -137
- package/locales/as.json +193 -136
- package/locales/az.json +191 -134
- package/locales/be.json +189 -132
- package/locales/bg.json +190 -133
- package/locales/bn.json +191 -134
- package/locales/bs.json +189 -132
- package/locales/ca.json +193 -136
- package/locales/cs.json +185 -128
- package/locales/cy.json +191 -134
- package/locales/da.json +189 -132
- package/locales/de.json +189 -132
- package/locales/el.json +188 -131
- package/locales/en-GB.json +193 -136
- package/locales/en-US.json +165 -141
- package/locales/en-XL.json +165 -141
- package/locales/es-419.json +187 -130
- package/locales/es.json +186 -129
- package/locales/et.json +161 -104
- package/locales/eu.json +188 -131
- package/locales/fa.json +191 -134
- package/locales/fi.json +188 -131
- package/locales/fil.json +191 -134
- package/locales/fr-CA.json +191 -134
- package/locales/fr.json +187 -130
- package/locales/gl.json +190 -133
- package/locales/gu.json +192 -135
- package/locales/he.json +193 -136
- package/locales/hi.json +193 -136
- package/locales/hr.json +190 -133
- package/locales/hu.json +148 -91
- package/locales/hy.json +184 -127
- package/locales/id.json +190 -133
- package/locales/is.json +186 -129
- package/locales/it.json +190 -133
- package/locales/ja.json +187 -130
- package/locales/ka.json +193 -136
- package/locales/kk.json +98 -41
- package/locales/km.json +191 -134
- package/locales/kn.json +194 -137
- package/locales/ko.json +79 -22
- package/locales/ky.json +192 -135
- package/locales/lo.json +191 -134
- package/locales/lt.json +189 -132
- package/locales/lv.json +126 -69
- package/locales/mk.json +191 -134
- package/locales/ml.json +187 -130
- package/locales/mn.json +187 -130
- package/locales/mr.json +189 -132
- package/locales/ms.json +190 -133
- package/locales/my.json +192 -135
- package/locales/ne.json +189 -132
- package/locales/nl.json +186 -129
- package/locales/no.json +188 -131
- package/locales/or.json +189 -132
- package/locales/pa.json +190 -133
- package/locales/pl.json +190 -133
- package/locales/pt-PT.json +189 -132
- package/locales/pt.json +191 -134
- package/locales/ro.json +186 -129
- package/locales/ru.json +110 -53
- package/locales/si.json +191 -134
- package/locales/sk.json +190 -133
- package/locales/sl.json +186 -129
- package/locales/sq.json +187 -130
- package/locales/sr-Latn.json +187 -130
- package/locales/sr.json +187 -130
- package/locales/sv.json +189 -132
- package/locales/sw.json +195 -138
- package/locales/ta.json +190 -133
- package/locales/te.json +193 -136
- package/locales/th.json +148 -91
- package/locales/tr.json +188 -131
- package/locales/uk.json +186 -129
- package/locales/ur.json +188 -131
- package/locales/uz.json +185 -128
- package/locales/vi.json +196 -139
- package/locales/zh-HK.json +187 -130
- package/locales/zh-TW.json +190 -133
- package/locales/zh.json +189 -132
- package/locales/zu.json +193 -136
- package/models/cpu_profile/bundle-tsconfig.json +59 -1
- package/models/cpu_profile/bundle-tsconfig.ref.json +27 -0
- package/models/cpu_profile/cpu_profile-tsconfig.json +24 -16
- package/models/cpu_profile/cpu_profile-tsconfig.ref.json +31 -0
- package/models/cpu_profile/cpu_profile_node_typecheck-tsconfig.json +60 -0
- package/models/cpu_profile/cpu_profile_node_typecheck.stamp +0 -0
- package/models/{trace/devtools_entrypoint-bundle-typescript-tsconfig.json → cpu_profile/foundation_unittests-tsconfig.json} +27 -30
- package/models/cpu_profile/foundation_unittests-tsconfig.ref.json +30 -0
- package/models/cpu_profile/foundation_unittests_node_typecheck-tsconfig.json +60 -0
- package/models/trace/EntityMapper.js +1 -1
- package/models/trace/EntityMapper.js.map +1 -1
- package/models/trace/LanternComputationData.js +7 -0
- package/models/trace/LanternComputationData.js.map +1 -1
- package/models/trace/ModelImpl.d.ts +1 -5
- package/models/trace/ModelImpl.js +11 -0
- package/models/trace/ModelImpl.js.map +1 -1
- package/models/trace/Name.js +5 -5
- package/models/trace/Name.js.map +1 -1
- package/models/trace/Processor.d.ts +2 -6
- package/models/trace/Processor.js +77 -15
- package/models/trace/Processor.js.map +1 -1
- package/models/trace/Styles.js +128 -116
- package/models/trace/Styles.js.map +1 -1
- package/models/trace/bundle-tsconfig.json +77 -1
- package/models/trace/bundle-tsconfig.ref.json +45 -0
- package/models/trace/extras/StackTraceForEvent.d.ts +1 -1
- package/models/trace/extras/StackTraceForEvent.js.map +1 -1
- package/models/trace/extras/ThirdParties.js +7 -7
- package/models/trace/extras/ThirdParties.js.map +1 -1
- package/models/trace/extras/TraceTree.js +23 -3
- package/models/trace/extras/TraceTree.js.map +1 -1
- package/models/trace/extras/bundle-tsconfig.json +59 -1
- package/models/trace/extras/bundle-tsconfig.ref.json +27 -0
- package/models/trace/extras/extras-tsconfig.json +28 -20
- package/models/trace/extras/extras-tsconfig.ref.json +49 -0
- package/models/trace/extras/extras_node_typecheck-tsconfig.json +78 -0
- package/models/trace/extras/extras_node_typecheck.stamp +0 -0
- package/models/trace/extras/foundation_unittests-tsconfig.json +91 -0
- package/models/trace/extras/foundation_unittests-tsconfig.ref.json +58 -0
- package/models/trace/extras/foundation_unittests_node_typecheck-tsconfig.json +88 -0
- package/models/trace/foundation_unittests-tsconfig.json +70 -0
- package/models/trace/foundation_unittests-tsconfig.ref.json +37 -0
- package/models/trace/foundation_unittests_node_typecheck-tsconfig.json +67 -0
- package/models/trace/handlers/AsyncJSCallsHandler.js.map +1 -1
- package/models/trace/handlers/ExtensionTraceDataHandler.js +1 -1
- package/models/trace/handlers/ExtensionTraceDataHandler.js.map +1 -1
- package/models/trace/handlers/FlowsHandler.js.map +1 -1
- package/models/trace/handlers/FramesHandler.d.ts +1 -2
- package/models/trace/handlers/FramesHandler.js +23 -18
- package/models/trace/handlers/FramesHandler.js.map +1 -1
- package/models/trace/handlers/LayerTreeHandler.js +3 -3
- package/models/trace/handlers/LayerTreeHandler.js.map +1 -1
- package/models/trace/handlers/LayoutShiftsHandler.d.ts +2 -2
- package/models/trace/handlers/LayoutShiftsHandler.js +17 -18
- package/models/trace/handlers/LayoutShiftsHandler.js.map +1 -1
- package/models/trace/handlers/MetaHandler.d.ts +2 -3
- package/models/trace/handlers/MetaHandler.js +38 -7
- package/models/trace/handlers/MetaHandler.js.map +1 -1
- package/models/trace/handlers/ModelHandlers.d.ts +0 -1
- package/models/trace/handlers/ModelHandlers.js +0 -1
- package/models/trace/handlers/ModelHandlers.js.map +1 -1
- package/models/trace/handlers/NetworkRequestsHandler.js +13 -11
- package/models/trace/handlers/NetworkRequestsHandler.js.map +1 -1
- package/models/trace/handlers/PageLoadMetricsHandler.d.ts +2 -0
- package/models/trace/handlers/PageLoadMetricsHandler.js +43 -4
- package/models/trace/handlers/PageLoadMetricsHandler.js.map +1 -1
- package/models/trace/handlers/RendererHandler.js +19 -20
- package/models/trace/handlers/RendererHandler.js.map +1 -1
- package/models/trace/handlers/SamplesHandler.js.map +1 -1
- package/models/trace/handlers/ScreenshotsHandler.js +1 -43
- package/models/trace/handlers/ScreenshotsHandler.js.map +1 -1
- package/models/trace/handlers/Threads.d.ts +1 -3
- package/models/trace/handlers/Threads.js +4 -8
- package/models/trace/handlers/Threads.js.map +1 -1
- package/models/trace/handlers/UserInteractionsHandler.js.map +1 -1
- package/models/trace/handlers/UserTimingsHandler.d.ts +1 -1
- package/models/trace/handlers/UserTimingsHandler.js +16 -6
- package/models/trace/handlers/UserTimingsHandler.js.map +1 -1
- package/models/trace/handlers/WarningsHandler.js.map +1 -1
- package/models/trace/handlers/bundle-tsconfig.json +59 -1
- package/models/trace/handlers/bundle-tsconfig.ref.json +27 -0
- package/models/trace/handlers/foundation_unittests-tsconfig.json +102 -0
- package/models/trace/handlers/foundation_unittests-tsconfig.ref.json +69 -0
- package/models/trace/handlers/foundation_unittests_node_typecheck-tsconfig.json +99 -0
- package/models/trace/handlers/handlers-tsconfig.json +30 -23
- package/models/trace/handlers/handlers-tsconfig.ref.json +80 -0
- package/models/trace/handlers/handlers_node_typecheck-tsconfig.json +109 -0
- package/models/trace/handlers/handlers_node_typecheck.stamp +0 -0
- package/models/trace/helpers/Network.d.ts +3 -1
- package/models/trace/helpers/Network.js.map +1 -1
- package/models/trace/helpers/SamplesIntegrator.js +22 -6
- package/models/trace/helpers/SamplesIntegrator.js.map +1 -1
- package/models/trace/helpers/SyntheticEvents.d.ts +7 -0
- package/models/trace/helpers/SyntheticEvents.js +20 -1
- package/models/trace/helpers/SyntheticEvents.js.map +1 -1
- package/models/trace/helpers/Timing.js +14 -1
- package/models/trace/helpers/Timing.js.map +1 -1
- package/models/trace/helpers/Trace.js.map +1 -1
- package/models/trace/helpers/bundle-tsconfig.json +59 -1
- package/models/trace/helpers/bundle-tsconfig.ref.json +27 -0
- package/models/trace/helpers/foundation_unittests-tsconfig.json +73 -0
- package/models/trace/helpers/foundation_unittests-tsconfig.ref.json +40 -0
- package/models/trace/helpers/foundation_unittests_node_typecheck-tsconfig.json +70 -0
- package/models/trace/helpers/helpers-tsconfig.json +27 -22
- package/models/trace/helpers/helpers-tsconfig.ref.json +45 -0
- package/models/trace/helpers/helpers_node_typecheck-tsconfig.json +74 -0
- package/models/trace/helpers/helpers_node_typecheck.stamp +0 -0
- package/models/trace/insights/CLSCulprits.d.ts +18 -15
- package/models/trace/insights/CLSCulprits.js +7 -6
- package/models/trace/insights/CLSCulprits.js.map +1 -1
- package/models/trace/insights/Cache.d.ts +8 -7
- package/models/trace/insights/Cache.js.map +1 -1
- package/models/trace/insights/CharacterSet.d.ts +10 -9
- package/models/trace/insights/CharacterSet.js +4 -4
- package/models/trace/insights/CharacterSet.js.map +1 -1
- package/models/trace/insights/Common.d.ts +2 -1
- package/models/trace/insights/Common.js +32 -3
- package/models/trace/insights/Common.js.map +1 -1
- package/models/trace/insights/DOMSize.d.ts +15 -14
- package/models/trace/insights/DOMSize.js +2 -2
- package/models/trace/insights/DOMSize.js.map +1 -1
- package/models/trace/insights/DocumentLatency.d.ts +13 -12
- package/models/trace/insights/DocumentLatency.js +4 -4
- package/models/trace/insights/DocumentLatency.js.map +1 -1
- package/models/trace/insights/DuplicatedJavaScript.d.ts +16 -7
- package/models/trace/insights/DuplicatedJavaScript.js +11 -3
- package/models/trace/insights/DuplicatedJavaScript.js.map +1 -1
- package/models/trace/insights/FontDisplay.d.ts +19 -9
- package/models/trace/insights/FontDisplay.js +13 -3
- package/models/trace/insights/FontDisplay.js.map +1 -1
- package/models/trace/insights/ForcedReflow.d.ts +13 -13
- package/models/trace/insights/ForcedReflow.js +4 -4
- package/models/trace/insights/ForcedReflow.js.map +1 -1
- package/models/trace/insights/INPBreakdown.d.ts +12 -12
- package/models/trace/insights/INPBreakdown.js +1 -1
- package/models/trace/insights/INPBreakdown.js.map +1 -1
- package/models/trace/insights/ImageDelivery.d.ts +13 -12
- package/models/trace/insights/ImageDelivery.js +5 -5
- package/models/trace/insights/ImageDelivery.js.map +1 -1
- package/models/trace/insights/LCPBreakdown.d.ts +13 -12
- package/models/trace/insights/LCPBreakdown.js +3 -3
- package/models/trace/insights/LCPBreakdown.js.map +1 -1
- package/models/trace/insights/LCPDiscovery.d.ts +14 -13
- package/models/trace/insights/LCPDiscovery.js +7 -7
- package/models/trace/insights/LCPDiscovery.js.map +1 -1
- package/models/trace/insights/LegacyJavaScript.d.ts +16 -7
- package/models/trace/insights/LegacyJavaScript.js +11 -3
- package/models/trace/insights/LegacyJavaScript.js.map +1 -1
- package/models/trace/insights/ModernHTTP.d.ts +10 -10
- package/models/trace/insights/ModernHTTP.js +9 -5
- package/models/trace/insights/ModernHTTP.js.map +1 -1
- package/models/trace/insights/NetworkDependencyTree.d.ts +33 -28
- package/models/trace/insights/NetworkDependencyTree.js +17 -13
- package/models/trace/insights/NetworkDependencyTree.js.map +1 -1
- package/models/trace/insights/RenderBlocking.d.ts +8 -7
- package/models/trace/insights/RenderBlocking.js +3 -5
- package/models/trace/insights/RenderBlocking.js.map +1 -1
- package/models/trace/insights/SlowCSSSelector.d.ts +17 -16
- package/models/trace/insights/SlowCSSSelector.js +23 -20
- package/models/trace/insights/SlowCSSSelector.js.map +1 -1
- package/models/trace/insights/ThirdParties.d.ts +22 -13
- package/models/trace/insights/ThirdParties.js +19 -8
- package/models/trace/insights/ThirdParties.js.map +1 -1
- package/models/trace/insights/Viewport.d.ts +8 -6
- package/models/trace/insights/Viewport.js +4 -2
- package/models/trace/insights/Viewport.js.map +1 -1
- package/models/trace/insights/bundle-tsconfig.json +59 -1
- package/models/trace/insights/bundle-tsconfig.ref.json +27 -0
- package/models/trace/insights/foundation_unittests-tsconfig.json +98 -0
- package/models/trace/insights/foundation_unittests-tsconfig.ref.json +65 -0
- package/models/trace/insights/foundation_unittests_node_typecheck-tsconfig.json +95 -0
- package/models/trace/insights/insights-tsconfig.json +34 -23
- package/models/trace/insights/insights-tsconfig.ref.json +82 -0
- package/models/trace/insights/insights_node_typecheck-tsconfig.json +111 -0
- package/models/trace/insights/insights_node_typecheck.stamp +0 -0
- package/models/trace/insights/types.d.ts +9 -6
- package/models/trace/insights/types.js.map +1 -1
- package/models/trace/lantern/bundle-tsconfig.json +71 -1
- package/models/trace/lantern/bundle-tsconfig.ref.json +39 -0
- package/models/trace/lantern/core/NetworkAnalyzer.d.ts +5 -4
- package/models/trace/lantern/core/NetworkAnalyzer.js +21 -22
- package/models/trace/lantern/core/NetworkAnalyzer.js.map +1 -1
- package/models/trace/lantern/core/bundle-tsconfig.json +59 -1
- package/models/trace/lantern/core/bundle-tsconfig.ref.json +27 -0
- package/models/trace/lantern/core/core-tsconfig.json +23 -12
- package/models/trace/lantern/core/core-tsconfig.ref.json +28 -0
- package/models/trace/lantern/core/core_node_typecheck-tsconfig.json +57 -0
- package/models/trace/lantern/core/core_node_typecheck.stamp +0 -0
- package/models/trace/lantern/core/{devtools_entrypoint-bundle-typescript-tsconfig.json → foundation_unittests-tsconfig.json} +34 -13
- package/models/trace/lantern/core/foundation_unittests-tsconfig.ref.json +36 -0
- package/models/trace/lantern/core/foundation_unittests_node_typecheck-tsconfig.json +66 -0
- package/models/trace/lantern/graph/BaseNode.d.ts +2 -2
- package/models/trace/lantern/graph/BaseNode.js.map +1 -1
- package/models/trace/lantern/graph/CPUNode.d.ts +4 -2
- package/models/trace/lantern/graph/CPUNode.js +23 -7
- package/models/trace/lantern/graph/CPUNode.js.map +1 -1
- package/models/trace/lantern/graph/NetworkNode.js +12 -0
- package/models/trace/lantern/graph/NetworkNode.js.map +1 -1
- package/models/trace/lantern/graph/PageDependencyGraph.js +26 -4
- package/models/trace/lantern/graph/PageDependencyGraph.js.map +1 -1
- package/models/trace/lantern/graph/bundle-tsconfig.json +59 -1
- package/models/trace/lantern/graph/bundle-tsconfig.ref.json +27 -0
- package/models/trace/lantern/graph/{devtools_entrypoint-bundle-typescript-tsconfig.json → foundation_unittests-tsconfig.json} +26 -13
- package/models/trace/lantern/graph/foundation_unittests-tsconfig.ref.json +28 -0
- package/models/trace/lantern/graph/foundation_unittests_node_typecheck-tsconfig.json +58 -0
- package/models/trace/lantern/graph/graph-tsconfig.json +24 -13
- package/models/trace/lantern/graph/graph-tsconfig.ref.json +33 -0
- package/models/trace/lantern/graph/graph_node_typecheck-tsconfig.json +62 -0
- package/models/trace/lantern/graph/graph_node_typecheck.stamp +0 -0
- package/models/trace/lantern/metrics/TotalBlockingTime.js +1 -1
- package/models/trace/lantern/metrics/TotalBlockingTime.js.map +1 -1
- package/models/trace/lantern/metrics/bundle-tsconfig.json +59 -1
- package/models/trace/lantern/metrics/bundle-tsconfig.ref.json +27 -0
- package/models/trace/lantern/metrics/foundation_unittests-tsconfig.json +76 -0
- package/models/trace/lantern/metrics/foundation_unittests-tsconfig.ref.json +43 -0
- package/models/trace/lantern/metrics/foundation_unittests_node_typecheck-tsconfig.json +73 -0
- package/models/trace/lantern/metrics/metrics-tsconfig.json +26 -15
- package/models/trace/lantern/metrics/metrics-tsconfig.ref.json +43 -0
- package/models/trace/lantern/metrics/metrics_node_typecheck-tsconfig.json +72 -0
- package/models/trace/lantern/metrics/metrics_node_typecheck.stamp +0 -0
- package/models/trace/lantern/simulation/ConnectionPool.js +4 -4
- package/models/trace/lantern/simulation/ConnectionPool.js.map +1 -1
- package/models/trace/lantern/simulation/Constants.d.ts +29 -28
- package/models/trace/lantern/simulation/Constants.js +3 -1
- package/models/trace/lantern/simulation/Constants.js.map +1 -1
- package/models/trace/lantern/simulation/DNSCache.js.map +1 -1
- package/models/trace/lantern/simulation/Simulator.js +6 -2
- package/models/trace/lantern/simulation/Simulator.js.map +1 -1
- package/models/trace/lantern/simulation/TCPConnection.d.ts +4 -4
- package/models/trace/lantern/simulation/TCPConnection.js +12 -12
- package/models/trace/lantern/simulation/TCPConnection.js.map +1 -1
- package/models/trace/lantern/simulation/bundle-tsconfig.json +59 -1
- package/models/trace/lantern/simulation/bundle-tsconfig.ref.json +27 -0
- package/models/trace/lantern/simulation/foundation_unittests-tsconfig.json +75 -0
- package/models/trace/lantern/simulation/foundation_unittests-tsconfig.ref.json +42 -0
- package/models/trace/lantern/simulation/foundation_unittests_node_typecheck-tsconfig.json +72 -0
- package/models/trace/lantern/simulation/simulation-tsconfig.json +25 -14
- package/models/trace/lantern/simulation/simulation-tsconfig.ref.json +38 -0
- package/models/trace/lantern/simulation/simulation_node_typecheck-tsconfig.json +67 -0
- package/models/trace/lantern/simulation/simulation_node_typecheck.stamp +0 -0
- package/models/trace/lantern/{metrics/devtools_entrypoint-bundle-typescript-tsconfig.json → testing/bundle-tsconfig.json} +25 -13
- package/models/trace/lantern/testing/bundle-tsconfig.ref.json +27 -0
- package/models/trace/lantern/{simulation/devtools_entrypoint-bundle-typescript-tsconfig.json → testing/testing-tsconfig.json} +28 -13
- package/models/trace/lantern/testing/testing-tsconfig.ref.json +30 -0
- package/models/trace/lantern/types/Lantern.d.ts +27 -19
- package/models/trace/lantern/types/Lantern.js.map +1 -1
- package/models/trace/lantern/types/bundle-tsconfig.json +59 -1
- package/models/trace/lantern/types/bundle-tsconfig.ref.json +27 -0
- package/models/trace/lantern/types/types-tsconfig.json +23 -12
- package/models/trace/lantern/types/types-tsconfig.ref.json +27 -0
- package/models/trace/lantern/types/{devtools_entrypoint-bundle-typescript-tsconfig.json → types_node_typecheck-tsconfig.json} +25 -17
- package/models/trace/lantern/types/types_node_typecheck.stamp +0 -0
- package/models/trace/trace-tsconfig.json +31 -32
- package/models/trace/trace-tsconfig.ref.json +57 -0
- package/models/trace/trace_node_typecheck-tsconfig.json +86 -0
- package/models/trace/trace_node_typecheck.stamp +0 -0
- package/models/trace/types/Configuration.d.ts +11 -0
- package/models/trace/types/Configuration.js +1 -0
- package/models/trace/types/Configuration.js.map +1 -1
- package/models/trace/types/Extensions.d.ts +1 -1
- package/models/trace/types/File.d.ts +7 -1
- package/models/trace/types/File.js.map +1 -1
- package/models/trace/types/Overlays.d.ts +13 -3
- package/models/trace/types/Overlays.js.map +1 -1
- package/models/trace/types/TraceEvents.d.ts +39 -9
- package/models/trace/types/TraceEvents.js +103 -3
- package/models/trace/types/TraceEvents.js.map +1 -1
- package/models/trace/types/bundle-tsconfig.json +59 -1
- package/models/trace/types/bundle-tsconfig.ref.json +27 -0
- package/{core/platform/api/api_node_typecheck-tsconfig.json → models/trace/types/foundation_unittests-tsconfig.json} +32 -13
- package/models/trace/types/foundation_unittests-tsconfig.ref.json +34 -0
- package/models/trace/types/foundation_unittests_node_typecheck-tsconfig.json +64 -0
- package/models/trace/types/types-tsconfig.json +27 -19
- package/models/trace/types/types-tsconfig.ref.json +44 -0
- package/models/trace/types/types_node_typecheck-tsconfig.json +73 -0
- package/models/trace/types/types_node_typecheck.stamp +0 -0
- package/package.json +2 -3
- package/test/test-trace-engine.mjs +1 -1
- package/{models/cpu_profile/devtools_entrypoint-bundle-typescript-tsconfig.json → third_party/legacy-javascript/bundle-tsconfig.json} +24 -13
- package/third_party/legacy-javascript/bundle-tsconfig.ref.json +27 -0
- package/third_party/legacy-javascript/legacy-javascript-tsconfig.ref.json +15 -0
- package/third_party/legacy-javascript/legacy-javascript.d.ts +2 -1
- package/third_party/legacy-javascript/legacy-javascript.js +3 -1
- package/third_party/legacy-javascript/legacy-javascript.js.map +1 -0
- package/third_party/legacy-javascript/lib/legacy-javascript.d.ts +18 -0
- package/third_party/legacy-javascript/lib/legacy-javascript.js +1119 -0
- 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/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/core/platform/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/core/platform/node/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/extras/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- 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/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/helpers/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/insights/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/lantern/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
- package/models/trace/lantern/lantern-tsconfig.json +0 -59
- package/models/trace/types/devtools_entrypoint-bundle-typescript-tsconfig.json +0 -48
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
|
/**
|
|
@@ -719,7 +816,6 @@ export declare namespace Audits {
|
|
|
719
816
|
ExcludeSameSiteLax = "ExcludeSameSiteLax",
|
|
720
817
|
ExcludeSameSiteStrict = "ExcludeSameSiteStrict",
|
|
721
818
|
ExcludeDomainNonASCII = "ExcludeDomainNonASCII",
|
|
722
|
-
ExcludeThirdPartyCookieBlockedInFirstPartySet = "ExcludeThirdPartyCookieBlockedInFirstPartySet",
|
|
723
819
|
ExcludeThirdPartyPhaseout = "ExcludeThirdPartyPhaseout",
|
|
724
820
|
ExcludePortMismatch = "ExcludePortMismatch",
|
|
725
821
|
ExcludeSchemeMismatch = "ExcludeSchemeMismatch"
|
|
@@ -807,7 +903,6 @@ export declare namespace Audits {
|
|
|
807
903
|
MixedContentWarning = "MixedContentWarning"
|
|
808
904
|
}
|
|
809
905
|
const enum MixedContentResourceType {
|
|
810
|
-
AttributionSrc = "AttributionSrc",
|
|
811
906
|
Audio = "Audio",
|
|
812
907
|
Beacon = "Beacon",
|
|
813
908
|
CSPReport = "CSPReport",
|
|
@@ -971,29 +1066,6 @@ export declare namespace Audits {
|
|
|
971
1066
|
resourceIPAddressSpace?: Network.IPAddressSpace;
|
|
972
1067
|
clientSecurityState?: Network.ClientSecurityState;
|
|
973
1068
|
}
|
|
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
1069
|
const enum SharedDictionaryError {
|
|
998
1070
|
UseErrorCrossOriginNoCorsRequest = "UseErrorCrossOriginNoCorsRequest",
|
|
999
1071
|
UseErrorDictionaryLoadFailure = "UseErrorDictionaryLoadFailure",
|
|
@@ -1014,6 +1086,7 @@ export declare namespace Audits {
|
|
|
1014
1086
|
WriteErrorNonSecureContext = "WriteErrorNonSecureContext",
|
|
1015
1087
|
WriteErrorNonStringIdField = "WriteErrorNonStringIdField",
|
|
1016
1088
|
WriteErrorNonStringInMatchDestList = "WriteErrorNonStringInMatchDestList",
|
|
1089
|
+
WriteErrorInvalidMatchDestList = "WriteErrorInvalidMatchDestList",
|
|
1017
1090
|
WriteErrorNonStringMatchField = "WriteErrorNonStringMatchField",
|
|
1018
1091
|
WriteErrorNonTokenTypeField = "WriteErrorNonTokenTypeField",
|
|
1019
1092
|
WriteErrorRequestAborted = "WriteErrorRequestAborted",
|
|
@@ -1042,7 +1115,11 @@ export declare namespace Audits {
|
|
|
1042
1115
|
ValidationFailedSignatureExpired = "ValidationFailedSignatureExpired",
|
|
1043
1116
|
ValidationFailedInvalidLength = "ValidationFailedInvalidLength",
|
|
1044
1117
|
ValidationFailedSignatureMismatch = "ValidationFailedSignatureMismatch",
|
|
1045
|
-
ValidationFailedIntegrityMismatch = "ValidationFailedIntegrityMismatch"
|
|
1118
|
+
ValidationFailedIntegrityMismatch = "ValidationFailedIntegrityMismatch",
|
|
1119
|
+
SignatureBaseUnknownDerivedComponent = "SignatureBaseUnknownDerivedComponent",
|
|
1120
|
+
SignatureBaseMissingHeader = "SignatureBaseMissingHeader",
|
|
1121
|
+
SignatureBaseInvalidUnencodedDigest = "SignatureBaseInvalidUnencodedDigest",
|
|
1122
|
+
SignatureBaseUnsupportedComponent = "SignatureBaseUnsupportedComponent"
|
|
1046
1123
|
}
|
|
1047
1124
|
const enum UnencodedDigestError {
|
|
1048
1125
|
MalformedDictionary = "MalformedDictionary",
|
|
@@ -1056,17 +1133,10 @@ export declare namespace Audits {
|
|
|
1056
1133
|
ItemNotInnerList = "ItemNotInnerList",
|
|
1057
1134
|
InvalidAllowlistItemType = "InvalidAllowlistItemType",
|
|
1058
1135
|
ReportingEndpointNotToken = "ReportingEndpointNotToken",
|
|
1059
|
-
InvalidUrlPattern = "InvalidUrlPattern"
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
* Explainer: https://github.com/WICG/attribution-reporting-api
|
|
1064
|
-
*/
|
|
1065
|
-
interface AttributionReportingIssueDetails {
|
|
1066
|
-
violationType: AttributionReportingIssueType;
|
|
1067
|
-
request?: AffectedRequest;
|
|
1068
|
-
violatingNodeId?: DOM.BackendNodeId;
|
|
1069
|
-
invalidParameter?: string;
|
|
1136
|
+
InvalidUrlPattern = "InvalidUrlPattern",
|
|
1137
|
+
IFrameAttributeLoosensEmbeddingRequirement = "IFrameAttributeLoosensEmbeddingRequirement",
|
|
1138
|
+
InvalidAllowConnectionAllowlistFrom = "InvalidAllowConnectionAllowlistFrom",
|
|
1139
|
+
EmbeddingRequirementNotSatisfied = "EmbeddingRequirementNotSatisfied"
|
|
1070
1140
|
}
|
|
1071
1141
|
/**
|
|
1072
1142
|
* Details for issues about documents in Quirks Mode
|
|
@@ -1121,10 +1191,15 @@ export declare namespace Audits {
|
|
|
1121
1191
|
FormInputHasWrongButWellIntendedAutocompleteValueError = "FormInputHasWrongButWellIntendedAutocompleteValueError",
|
|
1122
1192
|
ResponseWasBlockedByORB = "ResponseWasBlockedByORB",
|
|
1123
1193
|
NavigationEntryMarkedSkippable = "NavigationEntryMarkedSkippable",
|
|
1194
|
+
BackUINavigationWouldSkipAd = "BackUINavigationWouldSkipAd",
|
|
1124
1195
|
AutofillAndManualTextPolicyControlledFeaturesInfo = "AutofillAndManualTextPolicyControlledFeaturesInfo",
|
|
1125
1196
|
AutofillPolicyControlledFeatureInfo = "AutofillPolicyControlledFeatureInfo",
|
|
1126
1197
|
ManualTextPolicyControlledFeatureInfo = "ManualTextPolicyControlledFeatureInfo",
|
|
1127
|
-
FormModelContextParameterMissingTitleAndDescription = "FormModelContextParameterMissingTitleAndDescription"
|
|
1198
|
+
FormModelContextParameterMissingTitleAndDescription = "FormModelContextParameterMissingTitleAndDescription",
|
|
1199
|
+
FormModelContextMissingToolName = "FormModelContextMissingToolName",
|
|
1200
|
+
FormModelContextMissingToolDescription = "FormModelContextMissingToolDescription",
|
|
1201
|
+
FormModelContextRequiredParameterMissingName = "FormModelContextRequiredParameterMissingName",
|
|
1202
|
+
FormModelContextParameterMissingName = "FormModelContextParameterMissingName"
|
|
1128
1203
|
}
|
|
1129
1204
|
/**
|
|
1130
1205
|
* Depending on the concrete errorType, different properties are set.
|
|
@@ -1192,6 +1267,7 @@ export declare namespace Audits {
|
|
|
1192
1267
|
TooManyRequests = "TooManyRequests",
|
|
1193
1268
|
WellKnownHttpNotFound = "WellKnownHttpNotFound",
|
|
1194
1269
|
WellKnownNoResponse = "WellKnownNoResponse",
|
|
1270
|
+
WellKnownBlockedByConnectionAllowlist = "WellKnownBlockedByConnectionAllowlist",
|
|
1195
1271
|
WellKnownInvalidResponse = "WellKnownInvalidResponse",
|
|
1196
1272
|
WellKnownListEmpty = "WellKnownListEmpty",
|
|
1197
1273
|
WellKnownInvalidContentType = "WellKnownInvalidContentType",
|
|
@@ -1199,6 +1275,7 @@ export declare namespace Audits {
|
|
|
1199
1275
|
WellKnownTooBig = "WellKnownTooBig",
|
|
1200
1276
|
ConfigHttpNotFound = "ConfigHttpNotFound",
|
|
1201
1277
|
ConfigNoResponse = "ConfigNoResponse",
|
|
1278
|
+
ConfigBlockedByConnectionAllowlist = "ConfigBlockedByConnectionAllowlist",
|
|
1202
1279
|
ConfigInvalidResponse = "ConfigInvalidResponse",
|
|
1203
1280
|
ConfigInvalidContentType = "ConfigInvalidContentType",
|
|
1204
1281
|
IdpNotPotentiallyTrustworthy = "IdpNotPotentiallyTrustworthy",
|
|
@@ -1208,11 +1285,13 @@ export declare namespace Audits {
|
|
|
1208
1285
|
InvalidSigninResponse = "InvalidSigninResponse",
|
|
1209
1286
|
AccountsHttpNotFound = "AccountsHttpNotFound",
|
|
1210
1287
|
AccountsNoResponse = "AccountsNoResponse",
|
|
1288
|
+
AccountsBlockedByConnectionAllowlist = "AccountsBlockedByConnectionAllowlist",
|
|
1211
1289
|
AccountsInvalidResponse = "AccountsInvalidResponse",
|
|
1212
1290
|
AccountsListEmpty = "AccountsListEmpty",
|
|
1213
1291
|
AccountsInvalidContentType = "AccountsInvalidContentType",
|
|
1214
1292
|
IdTokenHttpNotFound = "IdTokenHttpNotFound",
|
|
1215
1293
|
IdTokenNoResponse = "IdTokenNoResponse",
|
|
1294
|
+
IdTokenBlockedByConnectionAllowlist = "IdTokenBlockedByConnectionAllowlist",
|
|
1216
1295
|
IdTokenInvalidResponse = "IdTokenInvalidResponse",
|
|
1217
1296
|
IdTokenIdpErrorResponse = "IdTokenIdpErrorResponse",
|
|
1218
1297
|
IdTokenCrossSiteIdpErrorResponse = "IdTokenCrossSiteIdpErrorResponse",
|
|
@@ -1229,7 +1308,8 @@ export declare namespace Audits {
|
|
|
1229
1308
|
TypeNotMatching = "TypeNotMatching",
|
|
1230
1309
|
UiDismissedNoEmbargo = "UiDismissedNoEmbargo",
|
|
1231
1310
|
CorsError = "CorsError",
|
|
1232
|
-
SuppressedBySegmentationPlatform = "SuppressedBySegmentationPlatform"
|
|
1311
|
+
SuppressedBySegmentationPlatform = "SuppressedBySegmentationPlatform",
|
|
1312
|
+
PopupBlockedByConnectionAllowlist = "PopupBlockedByConnectionAllowlist"
|
|
1233
1313
|
}
|
|
1234
1314
|
interface FederatedAuthUserInfoRequestIssueDetails {
|
|
1235
1315
|
federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
|
|
@@ -1250,6 +1330,74 @@ export declare namespace Audits {
|
|
|
1250
1330
|
InvalidAccountsResponse = "InvalidAccountsResponse",
|
|
1251
1331
|
NoReturningUserFromFetchedAccounts = "NoReturningUserFromFetchedAccounts"
|
|
1252
1332
|
}
|
|
1333
|
+
interface EmailVerificationRequestIssueDetails {
|
|
1334
|
+
emailVerificationRequestIssueReason: EmailVerificationRequestIssueReason;
|
|
1335
|
+
}
|
|
1336
|
+
/**
|
|
1337
|
+
* Represents the failure reason when an email verification request fails.
|
|
1338
|
+
* Should be updated alongside EmailVerificationRequestResult in
|
|
1339
|
+
* third_party/blink/public/mojom/devtools/inspector_issue.mojom.
|
|
1340
|
+
*/
|
|
1341
|
+
const enum EmailVerificationRequestIssueReason {
|
|
1342
|
+
InvalidEmail = "InvalidEmail",
|
|
1343
|
+
DnsFetchFailed = "DnsFetchFailed",
|
|
1344
|
+
DnsInvalidRecord = "DnsInvalidRecord",
|
|
1345
|
+
WellKnownHttpNotFound = "WellKnownHttpNotFound",
|
|
1346
|
+
WellKnownNoResponse = "WellKnownNoResponse",
|
|
1347
|
+
WellKnownInvalidResponse = "WellKnownInvalidResponse",
|
|
1348
|
+
WellKnownListEmpty = "WellKnownListEmpty",
|
|
1349
|
+
WellKnownInvalidContentType = "WellKnownInvalidContentType",
|
|
1350
|
+
WellKnownMissingIssuanceEndpoint = "WellKnownMissingIssuanceEndpoint",
|
|
1351
|
+
WellKnownIssuanceEndpointCrossOrigin = "WellKnownIssuanceEndpointCrossOrigin",
|
|
1352
|
+
WellKnownUnsupportedSigningAlgorithm = "WellKnownUnsupportedSigningAlgorithm",
|
|
1353
|
+
TokenHttpNotFound = "TokenHttpNotFound",
|
|
1354
|
+
TokenNoResponse = "TokenNoResponse",
|
|
1355
|
+
TokenInvalidResponse = "TokenInvalidResponse",
|
|
1356
|
+
TokenInvalidContentType = "TokenInvalidContentType",
|
|
1357
|
+
TokenMalformedSdJwt = "TokenMalformedSdJwt",
|
|
1358
|
+
TokenInvalidSdJwt = "TokenInvalidSdJwt",
|
|
1359
|
+
KeyBindingSigningFailed = "KeyBindingSigningFailed",
|
|
1360
|
+
RpOriginIsOpaque = "RpOriginIsOpaque",
|
|
1361
|
+
WellKnownMissingAccountsEndpoint = "WellKnownMissingAccountsEndpoint",
|
|
1362
|
+
UserLoggedOut = "UserLoggedOut",
|
|
1363
|
+
WellKnownAccountsEndpointCrossOrigin = "WellKnownAccountsEndpointCrossOrigin",
|
|
1364
|
+
AccountsHttpNotFound = "AccountsHttpNotFound",
|
|
1365
|
+
AccountsNoResponse = "AccountsNoResponse",
|
|
1366
|
+
AccountsInvalidResponse = "AccountsInvalidResponse",
|
|
1367
|
+
AccountsInvalidContentType = "AccountsInvalidContentType",
|
|
1368
|
+
AccountsEmptyList = "AccountsEmptyList",
|
|
1369
|
+
EmailVerificationWellKnownHttpNotFound = "EmailVerificationWellKnownHttpNotFound",
|
|
1370
|
+
EmailVerificationWellKnownNoResponse = "EmailVerificationWellKnownNoResponse",
|
|
1371
|
+
EmailVerificationWellKnownInvalidResponse = "EmailVerificationWellKnownInvalidResponse",
|
|
1372
|
+
EmailVerificationWellKnownInvalidContentType = "EmailVerificationWellKnownInvalidContentType",
|
|
1373
|
+
JwksHttpNotFound = "JwksHttpNotFound",
|
|
1374
|
+
JwksInvalidResponse = "JwksInvalidResponse",
|
|
1375
|
+
TokenVerificationSdJwtUnsupportedHeaderAlg = "TokenVerificationSdJwtUnsupportedHeaderAlg",
|
|
1376
|
+
TokenVerificationSdJwtInvalidTyp = "TokenVerificationSdJwtInvalidTyp",
|
|
1377
|
+
TokenVerificationSdJwtMissingIss = "TokenVerificationSdJwtMissingIss",
|
|
1378
|
+
TokenVerificationSdJwtMissingIat = "TokenVerificationSdJwtMissingIat",
|
|
1379
|
+
TokenVerificationSdJwtMissingCnf = "TokenVerificationSdJwtMissingCnf",
|
|
1380
|
+
TokenVerificationSdJwtMissingEmail = "TokenVerificationSdJwtMissingEmail",
|
|
1381
|
+
TokenVerificationSdJwtInvalidIssuedAt = "TokenVerificationSdJwtInvalidIssuedAt",
|
|
1382
|
+
TokenVerificationSdJwtInvalidIssuer = "TokenVerificationSdJwtInvalidIssuer",
|
|
1383
|
+
TokenVerificationSdJwtJwksMissingKeys = "TokenVerificationSdJwtJwksMissingKeys",
|
|
1384
|
+
TokenVerificationSdJwtSignatureFailed = "TokenVerificationSdJwtSignatureFailed",
|
|
1385
|
+
TokenVerificationSdJwtInvalidEmailVerified = "TokenVerificationSdJwtInvalidEmailVerified",
|
|
1386
|
+
TokenVerificationSdJwtInvalidEmail = "TokenVerificationSdJwtInvalidEmail",
|
|
1387
|
+
TokenVerificationSdJwtInvalidHolderKey = "TokenVerificationSdJwtInvalidHolderKey",
|
|
1388
|
+
TokenVerificationKbInvalidTyp = "TokenVerificationKbInvalidTyp",
|
|
1389
|
+
TokenVerificationKbMissingAud = "TokenVerificationKbMissingAud",
|
|
1390
|
+
TokenVerificationKbMissingNonce = "TokenVerificationKbMissingNonce",
|
|
1391
|
+
TokenVerificationKbMissingIat = "TokenVerificationKbMissingIat",
|
|
1392
|
+
TokenVerificationKbMissingSdHash = "TokenVerificationKbMissingSdHash",
|
|
1393
|
+
TokenVerificationKbInvalidIssuedAt = "TokenVerificationKbInvalidIssuedAt",
|
|
1394
|
+
TokenVerificationKbInvalidAudience = "TokenVerificationKbInvalidAudience",
|
|
1395
|
+
TokenVerificationKbInvalidNonce = "TokenVerificationKbInvalidNonce",
|
|
1396
|
+
TokenVerificationKbInvalidSdHash = "TokenVerificationKbInvalidSdHash",
|
|
1397
|
+
TokenVerificationKbMissingCnf = "TokenVerificationKbMissingCnf",
|
|
1398
|
+
TokenVerificationKbSignatureFailed = "TokenVerificationKbSignatureFailed",
|
|
1399
|
+
CrossOriginIframeNotSupported = "CrossOriginIframeNotSupported"
|
|
1400
|
+
}
|
|
1253
1401
|
/**
|
|
1254
1402
|
* This issue tracks client hints related issues. It's used to deprecate old
|
|
1255
1403
|
* features, encourage the use of new ones, and provide general guidance.
|
|
@@ -1385,7 +1533,9 @@ export declare namespace Audits {
|
|
|
1385
1533
|
LowContrast = "LowContrast",
|
|
1386
1534
|
FontSizeTooSmall = "FontSizeTooSmall",
|
|
1387
1535
|
FontSizeTooLarge = "FontSizeTooLarge",
|
|
1388
|
-
InvalidSizeValue = "InvalidSizeValue"
|
|
1536
|
+
InvalidSizeValue = "InvalidSizeValue",
|
|
1537
|
+
NonSecureContext = "NonSecureContext",
|
|
1538
|
+
MissingTransientUserActivation = "MissingTransientUserActivation"
|
|
1389
1539
|
}
|
|
1390
1540
|
/**
|
|
1391
1541
|
* This issue warns about improper usage of the <permission> element.
|
|
@@ -1422,6 +1572,21 @@ export declare namespace Audits {
|
|
|
1422
1572
|
*/
|
|
1423
1573
|
disableReason?: string;
|
|
1424
1574
|
}
|
|
1575
|
+
const enum WebInstallIssueReason {
|
|
1576
|
+
ManifestParsingOrNetworkError = "ManifestParsingOrNetworkError",
|
|
1577
|
+
StartUrlInvalid = "StartUrlInvalid",
|
|
1578
|
+
ManifestMissingNameOrShortName = "ManifestMissingNameOrShortName",
|
|
1579
|
+
ManifestMissingId = "ManifestMissingId",
|
|
1580
|
+
NoManifest = "NoManifest"
|
|
1581
|
+
}
|
|
1582
|
+
/**
|
|
1583
|
+
* This issue reports a failure involving a web app manifest used by a Web
|
|
1584
|
+
* Install operation.
|
|
1585
|
+
*/
|
|
1586
|
+
interface WebInstallIssueDetails {
|
|
1587
|
+
manifestUrl?: string;
|
|
1588
|
+
reason: WebInstallIssueReason;
|
|
1589
|
+
}
|
|
1425
1590
|
/**
|
|
1426
1591
|
* The issue warns about blocked calls to privacy sensitive APIs via the
|
|
1427
1592
|
* Selective Permissions Intervention.
|
|
@@ -1440,6 +1605,23 @@ export declare namespace Audits {
|
|
|
1440
1605
|
*/
|
|
1441
1606
|
stackTrace?: Runtime.StackTrace;
|
|
1442
1607
|
}
|
|
1608
|
+
/**
|
|
1609
|
+
* Details for issues about lazy-loaded images without explicit dimensions.
|
|
1610
|
+
*/
|
|
1611
|
+
interface LazyLoadImageIssueDetails {
|
|
1612
|
+
/**
|
|
1613
|
+
* DOM node of the problematic HTMLImageElement.
|
|
1614
|
+
*/
|
|
1615
|
+
nodeId: DOM.BackendNodeId;
|
|
1616
|
+
/**
|
|
1617
|
+
* URL or src attribute of the image.
|
|
1618
|
+
*/
|
|
1619
|
+
url: string;
|
|
1620
|
+
/**
|
|
1621
|
+
* Frame containing the image.
|
|
1622
|
+
*/
|
|
1623
|
+
frameId: Page.FrameId;
|
|
1624
|
+
}
|
|
1443
1625
|
/**
|
|
1444
1626
|
* A unique identifier for the type of issue. Each type may use one of the
|
|
1445
1627
|
* optional fields in InspectorIssueDetails to convey more specific
|
|
@@ -1453,7 +1635,6 @@ export declare namespace Audits {
|
|
|
1453
1635
|
ContentSecurityPolicyIssue = "ContentSecurityPolicyIssue",
|
|
1454
1636
|
SharedArrayBufferIssue = "SharedArrayBufferIssue",
|
|
1455
1637
|
CorsIssue = "CorsIssue",
|
|
1456
|
-
AttributionReportingIssue = "AttributionReportingIssue",
|
|
1457
1638
|
QuirksModeIssue = "QuirksModeIssue",
|
|
1458
1639
|
PartitioningBlobURLIssue = "PartitioningBlobURLIssue",
|
|
1459
1640
|
NavigatorUserAgentIssue = "NavigatorUserAgentIssue",
|
|
@@ -1474,7 +1655,10 @@ export declare namespace Audits {
|
|
|
1474
1655
|
UserReidentificationIssue = "UserReidentificationIssue",
|
|
1475
1656
|
PermissionElementIssue = "PermissionElementIssue",
|
|
1476
1657
|
PerformanceIssue = "PerformanceIssue",
|
|
1477
|
-
SelectivePermissionsInterventionIssue = "SelectivePermissionsInterventionIssue"
|
|
1658
|
+
SelectivePermissionsInterventionIssue = "SelectivePermissionsInterventionIssue",
|
|
1659
|
+
EmailVerificationRequestIssue = "EmailVerificationRequestIssue",
|
|
1660
|
+
LazyLoadImageIssue = "LazyLoadImageIssue",
|
|
1661
|
+
WebInstallIssue = "WebInstallIssue"
|
|
1478
1662
|
}
|
|
1479
1663
|
/**
|
|
1480
1664
|
* This struct holds a list of optional fields with additional information
|
|
@@ -1489,7 +1673,6 @@ export declare namespace Audits {
|
|
|
1489
1673
|
contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;
|
|
1490
1674
|
sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
|
|
1491
1675
|
corsIssueDetails?: CorsIssueDetails;
|
|
1492
|
-
attributionReportingIssueDetails?: AttributionReportingIssueDetails;
|
|
1493
1676
|
quirksModeIssueDetails?: QuirksModeIssueDetails;
|
|
1494
1677
|
partitioningBlobURLIssueDetails?: PartitioningBlobURLIssueDetails;
|
|
1495
1678
|
/**
|
|
@@ -1514,6 +1697,9 @@ export declare namespace Audits {
|
|
|
1514
1697
|
permissionElementIssueDetails?: PermissionElementIssueDetails;
|
|
1515
1698
|
performanceIssueDetails?: PerformanceIssueDetails;
|
|
1516
1699
|
selectivePermissionsInterventionIssueDetails?: SelectivePermissionsInterventionIssueDetails;
|
|
1700
|
+
emailVerificationRequestIssueDetails?: EmailVerificationRequestIssueDetails;
|
|
1701
|
+
lazyLoadImageIssueDetails?: LazyLoadImageIssueDetails;
|
|
1702
|
+
webInstallIssueDetails?: WebInstallIssueDetails;
|
|
1517
1703
|
}
|
|
1518
1704
|
/**
|
|
1519
1705
|
* A unique id for a DevTools inspector issue. Allows other entities (e.g.
|
|
@@ -2184,10 +2370,6 @@ export declare namespace Browser {
|
|
|
2184
2370
|
*/
|
|
2185
2371
|
buckets: Bucket[];
|
|
2186
2372
|
}
|
|
2187
|
-
const enum PrivacySandboxAPI {
|
|
2188
|
-
BiddingAndAuctionServices = "BiddingAndAuctionServices",
|
|
2189
|
-
TrustedKeyValue = "TrustedKeyValue"
|
|
2190
|
-
}
|
|
2191
2373
|
interface SetPermissionRequest {
|
|
2192
2374
|
/**
|
|
2193
2375
|
* Descriptor of permission to override.
|
|
@@ -2294,6 +2476,14 @@ export declare namespace Browser {
|
|
|
2294
2476
|
*/
|
|
2295
2477
|
arguments: string[];
|
|
2296
2478
|
}
|
|
2479
|
+
interface AddMockCameraRequest {
|
|
2480
|
+
/**
|
|
2481
|
+
* Required non-empty identifier for the mock camera. This is mapped to an
|
|
2482
|
+
* internal virtual-device identifier and is not the MediaDeviceInfo.deviceId
|
|
2483
|
+
* exposed to the page.
|
|
2484
|
+
*/
|
|
2485
|
+
deviceId: string;
|
|
2486
|
+
}
|
|
2297
2487
|
interface GetHistogramsRequest {
|
|
2298
2488
|
/**
|
|
2299
2489
|
* Requested substring in name. Only histograms which have query as a
|
|
@@ -2398,15 +2588,14 @@ export declare namespace Browser {
|
|
|
2398
2588
|
interface AddPrivacySandboxEnrollmentOverrideRequest {
|
|
2399
2589
|
url: string;
|
|
2400
2590
|
}
|
|
2401
|
-
interface
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
browserContextId?: BrowserContextID;
|
|
2591
|
+
interface GetGlobalPrivacyControlResponse extends ProtocolResponseWithError {
|
|
2592
|
+
gpc: boolean;
|
|
2593
|
+
}
|
|
2594
|
+
interface SetGlobalPrivacyControlRequest {
|
|
2595
|
+
gpc: boolean;
|
|
2596
|
+
}
|
|
2597
|
+
interface SetGlobalPrivacyControlResponse extends ProtocolResponseWithError {
|
|
2598
|
+
gpc: boolean;
|
|
2410
2599
|
}
|
|
2411
2600
|
/**
|
|
2412
2601
|
* Fired when page is about to start a download.
|
|
@@ -2577,6 +2766,27 @@ export declare namespace CSS {
|
|
|
2577
2766
|
*/
|
|
2578
2767
|
specificity?: Specificity;
|
|
2579
2768
|
}
|
|
2769
|
+
/**
|
|
2770
|
+
* Contribution of an individual simple selector to specificity.
|
|
2771
|
+
*/
|
|
2772
|
+
interface SpecificityComponent {
|
|
2773
|
+
/**
|
|
2774
|
+
* The simple selector text that contributes to specificity.
|
|
2775
|
+
*/
|
|
2776
|
+
text: string;
|
|
2777
|
+
/**
|
|
2778
|
+
* The a component contribution.
|
|
2779
|
+
*/
|
|
2780
|
+
a: integer;
|
|
2781
|
+
/**
|
|
2782
|
+
* The b component contribution.
|
|
2783
|
+
*/
|
|
2784
|
+
b: integer;
|
|
2785
|
+
/**
|
|
2786
|
+
* The c component contribution.
|
|
2787
|
+
*/
|
|
2788
|
+
c: integer;
|
|
2789
|
+
}
|
|
2580
2790
|
/**
|
|
2581
2791
|
* Specificity:
|
|
2582
2792
|
* https://drafts.csswg.org/selectors/#specificity-rules
|
|
@@ -2595,6 +2805,10 @@ export declare namespace CSS {
|
|
|
2595
2805
|
* The c component, which represents the number of type selectors and pseudo-elements.
|
|
2596
2806
|
*/
|
|
2597
2807
|
c: integer;
|
|
2808
|
+
/**
|
|
2809
|
+
* Per-simple-selector contributions used to explain this specificity.
|
|
2810
|
+
*/
|
|
2811
|
+
components?: SpecificityComponent[];
|
|
2598
2812
|
}
|
|
2599
2813
|
/**
|
|
2600
2814
|
* Selector list data.
|
|
@@ -3002,6 +3216,10 @@ export declare namespace CSS {
|
|
|
3002
3216
|
interface CSSContainerQuery {
|
|
3003
3217
|
/**
|
|
3004
3218
|
* Container query text.
|
|
3219
|
+
* Contains the query part without the container name for a single query.
|
|
3220
|
+
* Deprecated in favor of conditionText which contains the full prelude
|
|
3221
|
+
* after @container.
|
|
3222
|
+
* @deprecated
|
|
3005
3223
|
*/
|
|
3006
3224
|
text: string;
|
|
3007
3225
|
/**
|
|
@@ -3033,6 +3251,10 @@ export declare namespace CSS {
|
|
|
3033
3251
|
* true if the query contains anchored() queries.
|
|
3034
3252
|
*/
|
|
3035
3253
|
queriesAnchored?: boolean;
|
|
3254
|
+
/**
|
|
3255
|
+
* CSSContainerRule.conditionText
|
|
3256
|
+
*/
|
|
3257
|
+
conditionText: string;
|
|
3036
3258
|
}
|
|
3037
3259
|
/**
|
|
3038
3260
|
* CSS Supports at-rule descriptor.
|
|
@@ -3304,7 +3526,8 @@ export declare namespace CSS {
|
|
|
3304
3526
|
const enum CSSAtRuleType {
|
|
3305
3527
|
FontFace = "font-face",
|
|
3306
3528
|
FontFeatureValues = "font-feature-values",
|
|
3307
|
-
FontPaletteValues = "font-palette-values"
|
|
3529
|
+
FontPaletteValues = "font-palette-values",
|
|
3530
|
+
CounterStyle = "counter-style"
|
|
3308
3531
|
}
|
|
3309
3532
|
const enum CSSAtRuleSubsection {
|
|
3310
3533
|
Swash = "swash",
|
|
@@ -3565,6 +3788,17 @@ export declare namespace CSS {
|
|
|
3565
3788
|
*/
|
|
3566
3789
|
forced: boolean;
|
|
3567
3790
|
}
|
|
3791
|
+
interface ForcePositionTryOptionRequest {
|
|
3792
|
+
/**
|
|
3793
|
+
* The element id for which to force the position-try option.
|
|
3794
|
+
*/
|
|
3795
|
+
nodeId: DOM.NodeId;
|
|
3796
|
+
/**
|
|
3797
|
+
* The 1-based index of the position-try fallback option, 0 for base position (no fallback),
|
|
3798
|
+
* or omitted to clear the forced state.
|
|
3799
|
+
*/
|
|
3800
|
+
index?: integer;
|
|
3801
|
+
}
|
|
3568
3802
|
interface GetBackgroundColorsRequest {
|
|
3569
3803
|
/**
|
|
3570
3804
|
* Id of the node to get background colors for.
|
|
@@ -3831,6 +4065,17 @@ export declare namespace CSS {
|
|
|
3831
4065
|
*/
|
|
3832
4066
|
containerQuery: CSSContainerQuery;
|
|
3833
4067
|
}
|
|
4068
|
+
interface SetContainerQueryConditionTextRequest {
|
|
4069
|
+
styleSheetId: DOM.StyleSheetId;
|
|
4070
|
+
range: SourceRange;
|
|
4071
|
+
text: string;
|
|
4072
|
+
}
|
|
4073
|
+
interface SetContainerQueryConditionTextResponse extends ProtocolResponseWithError {
|
|
4074
|
+
/**
|
|
4075
|
+
* The resulting CSS container query rule after modification.
|
|
4076
|
+
*/
|
|
4077
|
+
containerQuery: CSSContainerQuery;
|
|
4078
|
+
}
|
|
3834
4079
|
interface SetSupportsTextRequest {
|
|
3835
4080
|
styleSheetId: DOM.StyleSheetId;
|
|
3836
4081
|
range: SourceRange;
|
|
@@ -4246,7 +4491,7 @@ export declare namespace DOM {
|
|
|
4246
4491
|
After = "after",
|
|
4247
4492
|
ExpandIcon = "expand-icon",
|
|
4248
4493
|
PickerIcon = "picker-icon",
|
|
4249
|
-
|
|
4494
|
+
InterestButton = "interest-button",
|
|
4250
4495
|
Marker = "marker",
|
|
4251
4496
|
Backdrop = "backdrop",
|
|
4252
4497
|
Column = "column",
|
|
@@ -4278,8 +4523,11 @@ export declare namespace DOM {
|
|
|
4278
4523
|
FileSelectorButton = "file-selector-button",
|
|
4279
4524
|
DetailsContent = "details-content",
|
|
4280
4525
|
Picker = "picker",
|
|
4526
|
+
SelectListbox = "select-listbox",
|
|
4281
4527
|
PermissionIcon = "permission-icon",
|
|
4282
|
-
OverscrollAreaParent = "overscroll-area-parent"
|
|
4528
|
+
OverscrollAreaParent = "overscroll-area-parent",
|
|
4529
|
+
OverscrollBackdrop = "overscroll-backdrop",
|
|
4530
|
+
Skeleton = "skeleton"
|
|
4283
4531
|
}
|
|
4284
4532
|
/**
|
|
4285
4533
|
* Shadow root type.
|
|
@@ -5259,6 +5507,13 @@ export declare namespace DOM {
|
|
|
5259
5507
|
* popover if it was previously force-opened.
|
|
5260
5508
|
*/
|
|
5261
5509
|
enable: boolean;
|
|
5510
|
+
/**
|
|
5511
|
+
* Optional ID of the element invoking this popover, used to establish the implicit anchor.
|
|
5512
|
+
* If not provided, it will fall back to the first invoker in the document, preferring
|
|
5513
|
+
* elements with a popovertarget attribute over those with a commandfor attribute. Note that
|
|
5514
|
+
* if there are multiple invokers, this is just an estimate.
|
|
5515
|
+
*/
|
|
5516
|
+
invokerNodeId?: BackendNodeId;
|
|
5262
5517
|
}
|
|
5263
5518
|
interface ForceShowPopoverResponse extends ProtocolResponseWithError {
|
|
5264
5519
|
/**
|
|
@@ -5266,6 +5521,61 @@ export declare namespace DOM {
|
|
|
5266
5521
|
*/
|
|
5267
5522
|
nodeIds: NodeId[];
|
|
5268
5523
|
}
|
|
5524
|
+
interface GetImplicitAnchorCandidatesRequest {
|
|
5525
|
+
/**
|
|
5526
|
+
* Id of the popover HTMLElement.
|
|
5527
|
+
*/
|
|
5528
|
+
nodeId: NodeId;
|
|
5529
|
+
}
|
|
5530
|
+
interface GetImplicitAnchorCandidatesResponse extends ProtocolResponseWithError {
|
|
5531
|
+
/**
|
|
5532
|
+
* Candidate elements that can invoke this popover.
|
|
5533
|
+
*/
|
|
5534
|
+
backendNodeIds: BackendNodeId[];
|
|
5535
|
+
}
|
|
5536
|
+
interface ForceShowInterestRequest {
|
|
5537
|
+
/**
|
|
5538
|
+
* Id of the interest invoker HTMLElement.
|
|
5539
|
+
*/
|
|
5540
|
+
nodeId: NodeId;
|
|
5541
|
+
/**
|
|
5542
|
+
* If true, opens and holds interest. If false, releases forced interest.
|
|
5543
|
+
*/
|
|
5544
|
+
enable: boolean;
|
|
5545
|
+
}
|
|
5546
|
+
const enum SetTextMarkerRequestType {
|
|
5547
|
+
Spelling = "spelling",
|
|
5548
|
+
Grammar = "grammar"
|
|
5549
|
+
}
|
|
5550
|
+
interface SetTextMarkerRequest {
|
|
5551
|
+
/**
|
|
5552
|
+
* Identifier of the node.
|
|
5553
|
+
*/
|
|
5554
|
+
nodeId?: NodeId;
|
|
5555
|
+
/**
|
|
5556
|
+
* Identifier of the backend node.
|
|
5557
|
+
*/
|
|
5558
|
+
backendNodeId?: BackendNodeId;
|
|
5559
|
+
/**
|
|
5560
|
+
* JavaScript object id of the node wrapper.
|
|
5561
|
+
*/
|
|
5562
|
+
objectId?: Runtime.RemoteObjectId;
|
|
5563
|
+
/**
|
|
5564
|
+
* The type of marker to set on the given range of text.
|
|
5565
|
+
*/
|
|
5566
|
+
type: SetTextMarkerRequestType;
|
|
5567
|
+
/**
|
|
5568
|
+
* Start offset into the element's rendered text in UTF-16 code units.
|
|
5569
|
+
* For a text control, an offset into the control's value.
|
|
5570
|
+
* Offsets count text in DOM order and do not enter shadow trees.
|
|
5571
|
+
* To mark text inside a shadow tree, pass the element inside the shadow tree.
|
|
5572
|
+
*/
|
|
5573
|
+
start: integer;
|
|
5574
|
+
/**
|
|
5575
|
+
* End offset (exclusive) in the same units and space as start.
|
|
5576
|
+
*/
|
|
5577
|
+
end: integer;
|
|
5578
|
+
}
|
|
5269
5579
|
/**
|
|
5270
5580
|
* Fired when `Element`'s attribute is modified.
|
|
5271
5581
|
*/
|
|
@@ -6275,6 +6585,40 @@ export declare namespace DeviceOrientation {
|
|
|
6275
6585
|
gamma: number;
|
|
6276
6586
|
}
|
|
6277
6587
|
}
|
|
6588
|
+
/**
|
|
6589
|
+
* This domain allows interacting with the Digital Credentials API for automation.
|
|
6590
|
+
*/
|
|
6591
|
+
export declare namespace DigitalCredentials {
|
|
6592
|
+
/**
|
|
6593
|
+
* The type of virtual wallet action.
|
|
6594
|
+
*/
|
|
6595
|
+
const enum VirtualWalletAction {
|
|
6596
|
+
Respond = "respond",
|
|
6597
|
+
Decline = "decline",
|
|
6598
|
+
Wait = "wait",
|
|
6599
|
+
Clear = "clear"
|
|
6600
|
+
}
|
|
6601
|
+
interface SetVirtualWalletBehaviorRequest {
|
|
6602
|
+
/**
|
|
6603
|
+
* The action of the virtual wallet.
|
|
6604
|
+
*/
|
|
6605
|
+
action: VirtualWalletAction;
|
|
6606
|
+
/**
|
|
6607
|
+
* The protocol identifier (e.g. "openid4vp"). Required when |action| is
|
|
6608
|
+
* "respond", forbidden otherwise.
|
|
6609
|
+
*/
|
|
6610
|
+
protocol?: string;
|
|
6611
|
+
/**
|
|
6612
|
+
* The response data object returned by the wallet.
|
|
6613
|
+
* Required when |action| is "respond", forbidden otherwise.
|
|
6614
|
+
*/
|
|
6615
|
+
response?: any;
|
|
6616
|
+
/**
|
|
6617
|
+
* The frame to scope the virtual wallet behavior to.
|
|
6618
|
+
*/
|
|
6619
|
+
frameId?: Page.FrameId;
|
|
6620
|
+
}
|
|
6621
|
+
}
|
|
6278
6622
|
/**
|
|
6279
6623
|
* This domain emulates different environments for the page.
|
|
6280
6624
|
*/
|
|
@@ -6597,10 +6941,21 @@ export declare namespace Emulation {
|
|
|
6597
6941
|
interface SetSafeAreaInsetsOverrideRequest {
|
|
6598
6942
|
insets: SafeAreaInsets;
|
|
6599
6943
|
}
|
|
6944
|
+
interface SetVirtualKeyboardGeometryOverrideRequest {
|
|
6945
|
+
keyboardRect?: DOM.Rect;
|
|
6946
|
+
}
|
|
6600
6947
|
const enum SetDeviceMetricsOverrideRequestScrollbarType {
|
|
6601
6948
|
Overlay = "overlay",
|
|
6602
6949
|
Default = "default"
|
|
6603
6950
|
}
|
|
6951
|
+
const enum SetDeviceMetricsOverrideRequestViewportMeta {
|
|
6952
|
+
Enable = "enable",
|
|
6953
|
+
Default = "default"
|
|
6954
|
+
}
|
|
6955
|
+
const enum SetDeviceMetricsOverrideRequestTextLayoutMode {
|
|
6956
|
+
Mobile = "mobile",
|
|
6957
|
+
Default = "default"
|
|
6958
|
+
}
|
|
6604
6959
|
interface SetDeviceMetricsOverrideRequest {
|
|
6605
6960
|
/**
|
|
6606
6961
|
* Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override.
|
|
@@ -6678,6 +7033,16 @@ export declare namespace Emulation {
|
|
|
6678
7033
|
* responsive design mode.
|
|
6679
7034
|
*/
|
|
6680
7035
|
screenOrientationLockEmulation?: boolean;
|
|
7036
|
+
/**
|
|
7037
|
+
* Viewport meta tag behavior. Default: `default`. Note: if `mobile` is `true`,
|
|
7038
|
+
* the viewport meta tag is always enabled.
|
|
7039
|
+
*/
|
|
7040
|
+
viewportMeta?: SetDeviceMetricsOverrideRequestViewportMeta;
|
|
7041
|
+
/**
|
|
7042
|
+
* Text layout mode. Default: `default`. Note: if `mobile` is `true`,
|
|
7043
|
+
* mobile text layout mode (text autosizing) is always enabled.
|
|
7044
|
+
*/
|
|
7045
|
+
textLayoutMode?: SetDeviceMetricsOverrideRequestTextLayoutMode;
|
|
6681
7046
|
}
|
|
6682
7047
|
interface SetDevicePostureOverrideRequest {
|
|
6683
7048
|
posture: DevicePosture;
|
|
@@ -6794,11 +7159,6 @@ export declare namespace Emulation {
|
|
|
6794
7159
|
source: PressureSource;
|
|
6795
7160
|
state: PressureState;
|
|
6796
7161
|
}
|
|
6797
|
-
interface SetPressureDataOverrideRequest {
|
|
6798
|
-
source: PressureSource;
|
|
6799
|
-
state: PressureState;
|
|
6800
|
-
ownContributionEstimate?: number;
|
|
6801
|
-
}
|
|
6802
7162
|
interface SetIdleOverrideRequest {
|
|
6803
7163
|
/**
|
|
6804
7164
|
* Mock isUserActive
|
|
@@ -6903,6 +7263,19 @@ export declare namespace Emulation {
|
|
|
6903
7263
|
*/
|
|
6904
7264
|
hardwareConcurrency: integer;
|
|
6905
7265
|
}
|
|
7266
|
+
const enum SetCPUPerformanceOverrideRequestPerformanceTier {
|
|
7267
|
+
Unknown = "unknown",
|
|
7268
|
+
Low = "low",
|
|
7269
|
+
Mid = "mid",
|
|
7270
|
+
High = "high",
|
|
7271
|
+
Ultra = "ultra"
|
|
7272
|
+
}
|
|
7273
|
+
interface SetCPUPerformanceOverrideRequest {
|
|
7274
|
+
/**
|
|
7275
|
+
* Override value. Omitting the parameter disables the override.
|
|
7276
|
+
*/
|
|
7277
|
+
performanceTier?: SetCPUPerformanceOverrideRequestPerformanceTier;
|
|
7278
|
+
}
|
|
6906
7279
|
interface SetUserAgentOverrideRequest {
|
|
6907
7280
|
/**
|
|
6908
7281
|
* User agent to use.
|
|
@@ -7663,6 +8036,14 @@ export declare namespace FileSystem {
|
|
|
7663
8036
|
directory: Directory;
|
|
7664
8037
|
}
|
|
7665
8038
|
}
|
|
8039
|
+
/**
|
|
8040
|
+
* This domain provides commands to trigger the "Find in page" feature.
|
|
8041
|
+
*/
|
|
8042
|
+
export declare namespace FindInPage {
|
|
8043
|
+
interface FindFirstRequest {
|
|
8044
|
+
query: string;
|
|
8045
|
+
}
|
|
8046
|
+
}
|
|
7666
8047
|
/**
|
|
7667
8048
|
* This domain provides experimental commands only supported in headless mode.
|
|
7668
8049
|
*/
|
|
@@ -9280,10 +9661,6 @@ export declare namespace Network {
|
|
|
9280
9661
|
* a network request.
|
|
9281
9662
|
*/
|
|
9282
9663
|
type RequestId = OpaqueIdentifier<string, 'Protocol.Network.RequestId'>;
|
|
9283
|
-
/**
|
|
9284
|
-
* Unique intercepted request identifier.
|
|
9285
|
-
*/
|
|
9286
|
-
type InterceptionId = OpaqueIdentifier<string, 'Protocol.Network.InterceptionId'>;
|
|
9287
9664
|
/**
|
|
9288
9665
|
* Network level fetch failure reason.
|
|
9289
9666
|
*/
|
|
@@ -10129,7 +10506,6 @@ export declare namespace Network {
|
|
|
10129
10506
|
SameSiteNoneInsecure = "SameSiteNoneInsecure",
|
|
10130
10507
|
UserPreferences = "UserPreferences",
|
|
10131
10508
|
ThirdPartyPhaseout = "ThirdPartyPhaseout",
|
|
10132
|
-
ThirdPartyBlockedInFirstPartySet = "ThirdPartyBlockedInFirstPartySet",
|
|
10133
10509
|
SyntaxError = "SyntaxError",
|
|
10134
10510
|
SchemeNotSupported = "SchemeNotSupported",
|
|
10135
10511
|
OverwriteSecure = "OverwriteSecure",
|
|
@@ -10156,7 +10532,6 @@ export declare namespace Network {
|
|
|
10156
10532
|
SameSiteNoneInsecure = "SameSiteNoneInsecure",
|
|
10157
10533
|
UserPreferences = "UserPreferences",
|
|
10158
10534
|
ThirdPartyPhaseout = "ThirdPartyPhaseout",
|
|
10159
|
-
ThirdPartyBlockedInFirstPartySet = "ThirdPartyBlockedInFirstPartySet",
|
|
10160
10535
|
UnknownError = "UnknownError",
|
|
10161
10536
|
SchemefulSameSiteStrict = "SchemefulSameSiteStrict",
|
|
10162
10537
|
SchemefulSameSiteLax = "SchemefulSameSiteLax",
|
|
@@ -10172,10 +10547,6 @@ export declare namespace Network {
|
|
|
10172
10547
|
const enum CookieExemptionReason {
|
|
10173
10548
|
None = "None",
|
|
10174
10549
|
UserSetting = "UserSetting",
|
|
10175
|
-
TPCDMetadata = "TPCDMetadata",
|
|
10176
|
-
TPCDDeprecationTrial = "TPCDDeprecationTrial",
|
|
10177
|
-
TopLevelTPCDDeprecationTrial = "TopLevelTPCDDeprecationTrial",
|
|
10178
|
-
TPCDHeuristics = "TPCDHeuristics",
|
|
10179
10550
|
EnterprisePolicy = "EnterprisePolicy",
|
|
10180
10551
|
StorageAccess = "StorageAccess",
|
|
10181
10552
|
TopLevelStorageAccess = "TopLevelStorageAccess",
|
|
@@ -10350,32 +10721,6 @@ export declare namespace Network {
|
|
|
10350
10721
|
*/
|
|
10351
10722
|
password?: string;
|
|
10352
10723
|
}
|
|
10353
|
-
/**
|
|
10354
|
-
* Stages of the interception to begin intercepting. Request will intercept before the request is
|
|
10355
|
-
* sent. Response will intercept after the response is received.
|
|
10356
|
-
*/
|
|
10357
|
-
const enum InterceptionStage {
|
|
10358
|
-
Request = "Request",
|
|
10359
|
-
HeadersReceived = "HeadersReceived"
|
|
10360
|
-
}
|
|
10361
|
-
/**
|
|
10362
|
-
* Request pattern for interception.
|
|
10363
|
-
*/
|
|
10364
|
-
interface RequestPattern {
|
|
10365
|
-
/**
|
|
10366
|
-
* Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is
|
|
10367
|
-
* backslash. Omitting is equivalent to `"*"`.
|
|
10368
|
-
*/
|
|
10369
|
-
urlPattern?: string;
|
|
10370
|
-
/**
|
|
10371
|
-
* If set, only requests for matching resource types will be intercepted.
|
|
10372
|
-
*/
|
|
10373
|
-
resourceType?: ResourceType;
|
|
10374
|
-
/**
|
|
10375
|
-
* Stage at which to begin intercepting requests. Default is Request.
|
|
10376
|
-
*/
|
|
10377
|
-
interceptionStage?: InterceptionStage;
|
|
10378
|
-
}
|
|
10379
10724
|
/**
|
|
10380
10725
|
* Information about a signed exchange signature.
|
|
10381
10726
|
* https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1
|
|
@@ -10498,15 +10843,6 @@ export declare namespace Network {
|
|
|
10498
10843
|
*/
|
|
10499
10844
|
errors?: SignedExchangeError[];
|
|
10500
10845
|
}
|
|
10501
|
-
/**
|
|
10502
|
-
* List of content encodings supported by the backend.
|
|
10503
|
-
*/
|
|
10504
|
-
const enum ContentEncoding {
|
|
10505
|
-
Deflate = "deflate",
|
|
10506
|
-
Gzip = "gzip",
|
|
10507
|
-
Br = "br",
|
|
10508
|
-
Zstd = "zstd"
|
|
10509
|
-
}
|
|
10510
10846
|
interface NetworkConditions {
|
|
10511
10847
|
/**
|
|
10512
10848
|
* Only matching requests will be affected by these conditions. Patterns use the URLPattern constructor string
|
|
@@ -10542,6 +10878,10 @@ export declare namespace Network {
|
|
|
10542
10878
|
* WebRTC packetReordering feature.
|
|
10543
10879
|
*/
|
|
10544
10880
|
packetReordering?: boolean;
|
|
10881
|
+
/**
|
|
10882
|
+
* True to emulate internet disconnection.
|
|
10883
|
+
*/
|
|
10884
|
+
offline?: boolean;
|
|
10545
10885
|
}
|
|
10546
10886
|
interface BlockPattern {
|
|
10547
10887
|
/**
|
|
@@ -10696,6 +11036,9 @@ export declare namespace Network {
|
|
|
10696
11036
|
filterlistRule?: string;
|
|
10697
11037
|
/**
|
|
10698
11038
|
* The script ancestry that created the ad, if any.
|
|
11039
|
+
* Note: depending on the context, this may represent the full ancestry up
|
|
11040
|
+
* to the root script, or it may contain only one script representing the
|
|
11041
|
+
* immediate ancestor.
|
|
10699
11042
|
*/
|
|
10700
11043
|
adScriptAncestry?: AdAncestry;
|
|
10701
11044
|
}
|
|
@@ -10933,11 +11276,14 @@ export declare namespace Network {
|
|
|
10933
11276
|
type DeviceBoundSessionEventId = OpaqueIdentifier<string, 'Protocol.Network.DeviceBoundSessionEventId'>;
|
|
10934
11277
|
/**
|
|
10935
11278
|
* A fetch result for a device bound session creation or refresh.
|
|
11279
|
+
* LINT_SKIP.IfChange(DeviceBoundSessionFetchResult)
|
|
10936
11280
|
*/
|
|
10937
11281
|
const enum DeviceBoundSessionFetchResult {
|
|
10938
11282
|
Success = "Success",
|
|
10939
|
-
|
|
11283
|
+
SigningKeyGenerationError = "SigningKeyGenerationError",
|
|
11284
|
+
AttestationKeyGenerationError = "AttestationKeyGenerationError",
|
|
10940
11285
|
SigningError = "SigningError",
|
|
11286
|
+
TransientSigningError = "TransientSigningError",
|
|
10941
11287
|
ServerRequestedTermination = "ServerRequestedTermination",
|
|
10942
11288
|
InvalidSessionId = "InvalidSessionId",
|
|
10943
11289
|
InvalidChallenge = "InvalidChallenge",
|
|
@@ -11002,7 +11348,13 @@ export declare namespace Network {
|
|
|
11002
11348
|
InvalidConfigJson = "InvalidConfigJson",
|
|
11003
11349
|
InvalidFederatedSessionProviderFailedToRestoreKey = "InvalidFederatedSessionProviderFailedToRestoreKey",
|
|
11004
11350
|
FailedToUnwrapKey = "FailedToUnwrapKey",
|
|
11005
|
-
SessionDeletedDuringRefresh = "SessionDeletedDuringRefresh"
|
|
11351
|
+
SessionDeletedDuringRefresh = "SessionDeletedDuringRefresh",
|
|
11352
|
+
CrossOriginRegistrationSiteNotIncluded = "CrossOriginRegistrationSiteNotIncluded",
|
|
11353
|
+
InvalidPreProvisionedKeyInitiatorMissing = "InvalidPreProvisionedKeyInitiatorMissing",
|
|
11354
|
+
PreProvisionedKeyAccessNotGranted = "PreProvisionedKeyAccessNotGranted",
|
|
11355
|
+
PreProvisionedKeyNotFound = "PreProvisionedKeyNotFound",
|
|
11356
|
+
AttestationCertificationError = "AttestationCertificationError",
|
|
11357
|
+
AttestationSigningError = "AttestationSigningError"
|
|
11006
11358
|
}
|
|
11007
11359
|
/**
|
|
11008
11360
|
* Details about a failed device bound session network request.
|
|
@@ -11051,9 +11403,11 @@ export declare namespace Network {
|
|
|
11051
11403
|
InitializedService = "InitializedService",
|
|
11052
11404
|
Unreachable = "Unreachable",
|
|
11053
11405
|
ServerError = "ServerError",
|
|
11054
|
-
RefreshQuotaExceeded = "RefreshQuotaExceeded",
|
|
11055
11406
|
FatalError = "FatalError",
|
|
11056
|
-
SigningQuotaExceeded = "SigningQuotaExceeded"
|
|
11407
|
+
SigningQuotaExceeded = "SigningQuotaExceeded",
|
|
11408
|
+
RefreshedAsWaiter = "RefreshedAsWaiter",
|
|
11409
|
+
TransientSigningError = "TransientSigningError",
|
|
11410
|
+
InScopeRefreshNotYetNeeded = "InScopeRefreshNotYetNeeded"
|
|
11057
11411
|
}
|
|
11058
11412
|
/**
|
|
11059
11413
|
* Session event details specific to refresh.
|
|
@@ -11061,9 +11415,11 @@ export declare namespace Network {
|
|
|
11061
11415
|
interface RefreshEventDetails {
|
|
11062
11416
|
/**
|
|
11063
11417
|
* The result of a refresh.
|
|
11418
|
+
* LINT_SKIP.IfChange(DeviceBoundSessionRefreshResult)
|
|
11064
11419
|
*/
|
|
11065
11420
|
refreshResult: RefreshEventDetailsRefreshResult;
|
|
11066
11421
|
/**
|
|
11422
|
+
* LINT_SKIP.ThenChange(//net/device_bound_sessions/refresh_result.h:DeviceBoundSessionRefreshResult,//content/browser/devtools/protocol/network_handler.cc:DeviceBoundSessionRefreshResult)
|
|
11067
11423
|
* If there was a fetch attempt, the result of that.
|
|
11068
11424
|
*/
|
|
11069
11425
|
fetchResult?: DeviceBoundSessionFetchResult;
|
|
@@ -11090,7 +11446,9 @@ export declare namespace Network {
|
|
|
11090
11446
|
ClearBrowsingData = "ClearBrowsingData",
|
|
11091
11447
|
ServerRequested = "ServerRequested",
|
|
11092
11448
|
InvalidSessionParams = "InvalidSessionParams",
|
|
11093
|
-
RefreshFatalError = "RefreshFatalError"
|
|
11449
|
+
RefreshFatalError = "RefreshFatalError",
|
|
11450
|
+
DevTools = "DevTools",
|
|
11451
|
+
Replaced = "Replaced"
|
|
11094
11452
|
}
|
|
11095
11453
|
/**
|
|
11096
11454
|
* Session event details specific to termination.
|
|
@@ -11148,12 +11506,6 @@ export declare namespace Network {
|
|
|
11148
11506
|
disableCache: boolean;
|
|
11149
11507
|
includeCredentials: boolean;
|
|
11150
11508
|
}
|
|
11151
|
-
interface SetAcceptedEncodingsRequest {
|
|
11152
|
-
/**
|
|
11153
|
-
* List of accepted content encodings.
|
|
11154
|
-
*/
|
|
11155
|
-
encodings: ContentEncoding[];
|
|
11156
|
-
}
|
|
11157
11509
|
interface CanClearBrowserCacheResponse extends ProtocolResponseWithError {
|
|
11158
11510
|
/**
|
|
11159
11511
|
* True if browser cache can be cleared.
|
|
@@ -11172,64 +11524,27 @@ export declare namespace Network {
|
|
|
11172
11524
|
*/
|
|
11173
11525
|
result: boolean;
|
|
11174
11526
|
}
|
|
11175
|
-
interface
|
|
11176
|
-
interceptionId: InterceptionId;
|
|
11177
|
-
/**
|
|
11178
|
-
* If set this causes the request to fail with the given reason. Passing `Aborted` for requests
|
|
11179
|
-
* marked with `isNavigationRequest` also cancels the navigation. Must not be set in response
|
|
11180
|
-
* to an authChallenge.
|
|
11181
|
-
*/
|
|
11182
|
-
errorReason?: ErrorReason;
|
|
11527
|
+
interface DeleteCookiesRequest {
|
|
11183
11528
|
/**
|
|
11184
|
-
*
|
|
11185
|
-
* HTTP status line and headers etc... Must not be set in response to an authChallenge.
|
|
11529
|
+
* Name of the cookies to remove.
|
|
11186
11530
|
*/
|
|
11187
|
-
|
|
11531
|
+
name: string;
|
|
11188
11532
|
/**
|
|
11189
|
-
* If
|
|
11190
|
-
*
|
|
11533
|
+
* If specified, deletes all the cookies with the given name where domain and path match
|
|
11534
|
+
* provided URL.
|
|
11191
11535
|
*/
|
|
11192
11536
|
url?: string;
|
|
11193
11537
|
/**
|
|
11194
|
-
* If
|
|
11195
|
-
* authChallenge.
|
|
11538
|
+
* If specified, deletes only cookies with the exact domain.
|
|
11196
11539
|
*/
|
|
11197
|
-
|
|
11540
|
+
domain?: string;
|
|
11198
11541
|
/**
|
|
11199
|
-
* If
|
|
11542
|
+
* If specified, deletes only cookies with the exact path.
|
|
11200
11543
|
*/
|
|
11201
|
-
|
|
11544
|
+
path?: string;
|
|
11202
11545
|
/**
|
|
11203
|
-
* If
|
|
11204
|
-
*
|
|
11205
|
-
*/
|
|
11206
|
-
headers?: Headers;
|
|
11207
|
-
/**
|
|
11208
|
-
* Response to a requestIntercepted with an authChallenge. Must not be set otherwise.
|
|
11209
|
-
*/
|
|
11210
|
-
authChallengeResponse?: AuthChallengeResponse;
|
|
11211
|
-
}
|
|
11212
|
-
interface DeleteCookiesRequest {
|
|
11213
|
-
/**
|
|
11214
|
-
* Name of the cookies to remove.
|
|
11215
|
-
*/
|
|
11216
|
-
name: string;
|
|
11217
|
-
/**
|
|
11218
|
-
* If specified, deletes all the cookies with the given name where domain and path match
|
|
11219
|
-
* provided URL.
|
|
11220
|
-
*/
|
|
11221
|
-
url?: string;
|
|
11222
|
-
/**
|
|
11223
|
-
* If specified, deletes only cookies with the exact domain.
|
|
11224
|
-
*/
|
|
11225
|
-
domain?: string;
|
|
11226
|
-
/**
|
|
11227
|
-
* If specified, deletes only cookies with the exact path.
|
|
11228
|
-
*/
|
|
11229
|
-
path?: string;
|
|
11230
|
-
/**
|
|
11231
|
-
* If specified, deletes only cookies with the the given name and partitionKey where
|
|
11232
|
-
* all partition key attributes match the cookie partition key attribute.
|
|
11546
|
+
* If specified, deletes only cookies with the the given name and partitionKey where
|
|
11547
|
+
* all partition key attributes match the cookie partition key attribute.
|
|
11233
11548
|
*/
|
|
11234
11549
|
partitionKey?: CookiePartitionKey;
|
|
11235
11550
|
}
|
|
@@ -11269,9 +11584,15 @@ export declare namespace Network {
|
|
|
11269
11584
|
}
|
|
11270
11585
|
interface EmulateNetworkConditionsByRuleRequest {
|
|
11271
11586
|
/**
|
|
11272
|
-
* True to emulate internet disconnection.
|
|
11587
|
+
* True to emulate internet disconnection. Deprecated, use the offline property in matchedNetworkConditions
|
|
11588
|
+
* or emulateOfflineServiceWorker instead.
|
|
11589
|
+
* @deprecated
|
|
11273
11590
|
*/
|
|
11274
|
-
offline
|
|
11591
|
+
offline?: boolean;
|
|
11592
|
+
/**
|
|
11593
|
+
* True to emulate offline service worker.
|
|
11594
|
+
*/
|
|
11595
|
+
emulateOfflineServiceWorker?: boolean;
|
|
11275
11596
|
/**
|
|
11276
11597
|
* Configure conditions for matching requests. If multiple entries match a request, the first entry wins. Global
|
|
11277
11598
|
* conditions can be configured by leaving the urlPattern for the conditions empty. These global conditions are
|
|
@@ -11407,28 +11728,6 @@ export declare namespace Network {
|
|
|
11407
11728
|
*/
|
|
11408
11729
|
base64Encoded: boolean;
|
|
11409
11730
|
}
|
|
11410
|
-
interface GetResponseBodyForInterceptionRequest {
|
|
11411
|
-
/**
|
|
11412
|
-
* Identifier for the intercepted request to get body for.
|
|
11413
|
-
*/
|
|
11414
|
-
interceptionId: InterceptionId;
|
|
11415
|
-
}
|
|
11416
|
-
interface GetResponseBodyForInterceptionResponse extends ProtocolResponseWithError {
|
|
11417
|
-
/**
|
|
11418
|
-
* Response body.
|
|
11419
|
-
*/
|
|
11420
|
-
body: string;
|
|
11421
|
-
/**
|
|
11422
|
-
* True, if content was sent as base64.
|
|
11423
|
-
*/
|
|
11424
|
-
base64Encoded: boolean;
|
|
11425
|
-
}
|
|
11426
|
-
interface TakeResponseBodyForInterceptionAsStreamRequest {
|
|
11427
|
-
interceptionId: InterceptionId;
|
|
11428
|
-
}
|
|
11429
|
-
interface TakeResponseBodyForInterceptionAsStreamResponse extends ProtocolResponseWithError {
|
|
11430
|
-
stream: IO.StreamHandle;
|
|
11431
|
-
}
|
|
11432
11731
|
interface ReplayXHRRequest {
|
|
11433
11732
|
/**
|
|
11434
11733
|
* Identifier of XHR to replay.
|
|
@@ -11565,13 +11864,6 @@ export declare namespace Network {
|
|
|
11565
11864
|
*/
|
|
11566
11865
|
enabled: boolean;
|
|
11567
11866
|
}
|
|
11568
|
-
interface SetRequestInterceptionRequest {
|
|
11569
|
-
/**
|
|
11570
|
-
* Requests matching any of these patterns will be forwarded and wait for the corresponding
|
|
11571
|
-
* continueInterceptedRequest call.
|
|
11572
|
-
*/
|
|
11573
|
-
patterns: RequestPattern[];
|
|
11574
|
-
}
|
|
11575
11867
|
interface SetUserAgentOverrideRequest {
|
|
11576
11868
|
/**
|
|
11577
11869
|
* User agent to use.
|
|
@@ -11623,6 +11915,9 @@ export declare namespace Network {
|
|
|
11623
11915
|
*/
|
|
11624
11916
|
enable: boolean;
|
|
11625
11917
|
}
|
|
11918
|
+
interface DeleteDeviceBoundSessionRequest {
|
|
11919
|
+
key: DeviceBoundSessionKey;
|
|
11920
|
+
}
|
|
11626
11921
|
interface FetchSchemefulSiteRequest {
|
|
11627
11922
|
/**
|
|
11628
11923
|
* The URL origin.
|
|
@@ -11658,14 +11953,6 @@ export declare namespace Network {
|
|
|
11658
11953
|
* Whether 3pc restriction is enabled.
|
|
11659
11954
|
*/
|
|
11660
11955
|
enableThirdPartyCookieRestriction: boolean;
|
|
11661
|
-
/**
|
|
11662
|
-
* Whether 3pc grace period exception should be enabled; false by default.
|
|
11663
|
-
*/
|
|
11664
|
-
disableThirdPartyCookieMetadata: boolean;
|
|
11665
|
-
/**
|
|
11666
|
-
* Whether 3pc heuristics exceptions should be enabled; false by default.
|
|
11667
|
-
*/
|
|
11668
|
-
disableThirdPartyCookieHeuristics: boolean;
|
|
11669
11956
|
}
|
|
11670
11957
|
/**
|
|
11671
11958
|
* Fired when data chunk was received over the network.
|
|
@@ -11767,67 +12054,6 @@ export declare namespace Network {
|
|
|
11767
12054
|
*/
|
|
11768
12055
|
encodedDataLength: number;
|
|
11769
12056
|
}
|
|
11770
|
-
/**
|
|
11771
|
-
* Details of an intercepted HTTP request, which must be either allowed, blocked, modified or
|
|
11772
|
-
* mocked.
|
|
11773
|
-
* Deprecated, use Fetch.requestPaused instead.
|
|
11774
|
-
* @deprecated
|
|
11775
|
-
*/
|
|
11776
|
-
interface RequestInterceptedEvent {
|
|
11777
|
-
/**
|
|
11778
|
-
* Each request the page makes will have a unique id, however if any redirects are encountered
|
|
11779
|
-
* while processing that fetch, they will be reported with the same id as the original fetch.
|
|
11780
|
-
* Likewise if HTTP authentication is needed then the same fetch id will be used.
|
|
11781
|
-
*/
|
|
11782
|
-
interceptionId: InterceptionId;
|
|
11783
|
-
request: Request;
|
|
11784
|
-
/**
|
|
11785
|
-
* The id of the frame that initiated the request.
|
|
11786
|
-
*/
|
|
11787
|
-
frameId: Page.FrameId;
|
|
11788
|
-
/**
|
|
11789
|
-
* How the requested resource will be used.
|
|
11790
|
-
*/
|
|
11791
|
-
resourceType: ResourceType;
|
|
11792
|
-
/**
|
|
11793
|
-
* Whether this is a navigation request, which can abort the navigation completely.
|
|
11794
|
-
*/
|
|
11795
|
-
isNavigationRequest: boolean;
|
|
11796
|
-
/**
|
|
11797
|
-
* Set if the request is a navigation that will result in a download.
|
|
11798
|
-
* Only present after response is received from the server (i.e. HeadersReceived stage).
|
|
11799
|
-
*/
|
|
11800
|
-
isDownload?: boolean;
|
|
11801
|
-
/**
|
|
11802
|
-
* Redirect location, only sent if a redirect was intercepted.
|
|
11803
|
-
*/
|
|
11804
|
-
redirectUrl?: string;
|
|
11805
|
-
/**
|
|
11806
|
-
* Details of the Authorization Challenge encountered. If this is set then
|
|
11807
|
-
* continueInterceptedRequest must contain an authChallengeResponse.
|
|
11808
|
-
*/
|
|
11809
|
-
authChallenge?: AuthChallenge;
|
|
11810
|
-
/**
|
|
11811
|
-
* Response error if intercepted at response stage or if redirect occurred while intercepting
|
|
11812
|
-
* request.
|
|
11813
|
-
*/
|
|
11814
|
-
responseErrorReason?: ErrorReason;
|
|
11815
|
-
/**
|
|
11816
|
-
* Response code if intercepted at response stage or if redirect occurred while intercepting
|
|
11817
|
-
* request or auth retry occurred.
|
|
11818
|
-
*/
|
|
11819
|
-
responseStatusCode?: integer;
|
|
11820
|
-
/**
|
|
11821
|
-
* Response headers if intercepted at the response stage or if redirect occurred while
|
|
11822
|
-
* intercepting request or auth retry occurred.
|
|
11823
|
-
*/
|
|
11824
|
-
responseHeaders?: Headers;
|
|
11825
|
-
/**
|
|
11826
|
-
* If the intercepted request had a corresponding requestWillBeSent event fired for it, then
|
|
11827
|
-
* this requestId will be the same as the requestId present in the requestWillBeSent event.
|
|
11828
|
-
*/
|
|
11829
|
-
requestId?: RequestId;
|
|
11830
|
-
}
|
|
11831
12057
|
/**
|
|
11832
12058
|
* Fired if request ended up loading from cache.
|
|
11833
12059
|
*/
|
|
@@ -12162,7 +12388,7 @@ export declare namespace Network {
|
|
|
12162
12388
|
*/
|
|
12163
12389
|
interface DirectTCPSocketAbortedEvent {
|
|
12164
12390
|
identifier: RequestId;
|
|
12165
|
-
errorMessage:
|
|
12391
|
+
errorMessage: ErrorReason;
|
|
12166
12392
|
timestamp: MonotonicTime;
|
|
12167
12393
|
}
|
|
12168
12394
|
/**
|
|
@@ -12227,7 +12453,7 @@ export declare namespace Network {
|
|
|
12227
12453
|
*/
|
|
12228
12454
|
interface DirectUDPSocketAbortedEvent {
|
|
12229
12455
|
identifier: RequestId;
|
|
12230
|
-
errorMessage:
|
|
12456
|
+
errorMessage: ErrorReason;
|
|
12231
12457
|
timestamp: MonotonicTime;
|
|
12232
12458
|
}
|
|
12233
12459
|
/**
|
|
@@ -12660,6 +12886,47 @@ export declare namespace Overlay {
|
|
|
12660
12886
|
Aaa = "aaa",
|
|
12661
12887
|
Apca = "apca"
|
|
12662
12888
|
}
|
|
12889
|
+
/**
|
|
12890
|
+
* Configuration for Inset-Modified Containing Block (IMCB) and CSS Anchor Positioning highlight.
|
|
12891
|
+
*/
|
|
12892
|
+
interface ImcbHighlightConfig {
|
|
12893
|
+
/**
|
|
12894
|
+
* Border color for the Inset-Modified Containing Block (default: transparent).
|
|
12895
|
+
*/
|
|
12896
|
+
imcbBorderColor?: DOM.RGBA;
|
|
12897
|
+
/**
|
|
12898
|
+
* Background fill color for the Inset-Modified Containing Block (default: transparent).
|
|
12899
|
+
*/
|
|
12900
|
+
imcbBackgroundColor?: DOM.RGBA;
|
|
12901
|
+
/**
|
|
12902
|
+
* Fill color for the inset modifiers area (difference between CB and IMCB).
|
|
12903
|
+
*/
|
|
12904
|
+
insetsBackgroundColor?: DOM.RGBA;
|
|
12905
|
+
/**
|
|
12906
|
+
* Hatch color for the inset modifiers area.
|
|
12907
|
+
*/
|
|
12908
|
+
insetsHatchColor?: DOM.RGBA;
|
|
12909
|
+
/**
|
|
12910
|
+
* Border color for the referenced target anchor element(s) (when element is anchor-positioned).
|
|
12911
|
+
*/
|
|
12912
|
+
anchorBorderColor?: DOM.RGBA;
|
|
12913
|
+
/**
|
|
12914
|
+
* Background fill color for the referenced target anchor element(s) (when element is anchor-positioned).
|
|
12915
|
+
*/
|
|
12916
|
+
anchorBackgroundColor?: DOM.RGBA;
|
|
12917
|
+
/**
|
|
12918
|
+
* Whether to render the 3x3 position-area grid lines when position-area is used.
|
|
12919
|
+
*/
|
|
12920
|
+
showPositionAreaGrid?: boolean;
|
|
12921
|
+
/**
|
|
12922
|
+
* Line color for the 3x3 position-area grid lines.
|
|
12923
|
+
*/
|
|
12924
|
+
positionAreaGridLineColor?: DOM.RGBA;
|
|
12925
|
+
/**
|
|
12926
|
+
* Fill color for the active region within the position-area grid.
|
|
12927
|
+
*/
|
|
12928
|
+
positionAreaActiveRegionColor?: DOM.RGBA;
|
|
12929
|
+
}
|
|
12663
12930
|
/**
|
|
12664
12931
|
* Configuration data for the highlighting of page elements.
|
|
12665
12932
|
*/
|
|
@@ -12740,6 +13007,10 @@ export declare namespace Overlay {
|
|
|
12740
13007
|
* The container query container highlight configuration (default: all transparent).
|
|
12741
13008
|
*/
|
|
12742
13009
|
containerQueryContainerHighlightConfig?: ContainerQueryContainerHighlightConfig;
|
|
13010
|
+
/**
|
|
13011
|
+
* The IMCB highlight configuration (default: all transparent).
|
|
13012
|
+
*/
|
|
13013
|
+
imcbHighlightConfig?: ImcbHighlightConfig;
|
|
12743
13014
|
}
|
|
12744
13015
|
const enum ColorFormat {
|
|
12745
13016
|
Rgb = "rgb",
|
|
@@ -12815,6 +13086,56 @@ export declare namespace Overlay {
|
|
|
12815
13086
|
*/
|
|
12816
13087
|
outlineColor?: DOM.RGBA;
|
|
12817
13088
|
}
|
|
13089
|
+
/**
|
|
13090
|
+
* Supported display cutout shapes.
|
|
13091
|
+
*/
|
|
13092
|
+
const enum DisplayCutoutShape {
|
|
13093
|
+
Pill = "pill",
|
|
13094
|
+
Notch = "notch",
|
|
13095
|
+
Circle = "circle",
|
|
13096
|
+
Rectangle = "rectangle"
|
|
13097
|
+
}
|
|
13098
|
+
/**
|
|
13099
|
+
* Configuration for a display cutout.
|
|
13100
|
+
*/
|
|
13101
|
+
interface DisplayCutoutConfig {
|
|
13102
|
+
/**
|
|
13103
|
+
* A rectangle representing the cutout bounds.
|
|
13104
|
+
*/
|
|
13105
|
+
rect: DOM.Rect;
|
|
13106
|
+
/**
|
|
13107
|
+
* Shape used to draw the cutout.
|
|
13108
|
+
*/
|
|
13109
|
+
shape: DisplayCutoutShape;
|
|
13110
|
+
/**
|
|
13111
|
+
* Border radius for rounded cutout shapes.
|
|
13112
|
+
*/
|
|
13113
|
+
borderRadius?: integer;
|
|
13114
|
+
/**
|
|
13115
|
+
* Upper shoulder radius for notch cutout shapes.
|
|
13116
|
+
*/
|
|
13117
|
+
upperRadius?: integer;
|
|
13118
|
+
/**
|
|
13119
|
+
* Lower transition radius for notch cutout shapes.
|
|
13120
|
+
*/
|
|
13121
|
+
lowerRadius?: integer;
|
|
13122
|
+
/**
|
|
13123
|
+
* Center x coordinate for circle cutout shapes.
|
|
13124
|
+
*/
|
|
13125
|
+
cx?: integer;
|
|
13126
|
+
/**
|
|
13127
|
+
* Center y coordinate for circle cutout shapes.
|
|
13128
|
+
*/
|
|
13129
|
+
cy?: integer;
|
|
13130
|
+
/**
|
|
13131
|
+
* Radius for circle cutout shapes.
|
|
13132
|
+
*/
|
|
13133
|
+
radius?: integer;
|
|
13134
|
+
/**
|
|
13135
|
+
* The cutout fill color (default: black).
|
|
13136
|
+
*/
|
|
13137
|
+
contentColor?: DOM.RGBA;
|
|
13138
|
+
}
|
|
12818
13139
|
/**
|
|
12819
13140
|
* Configuration for Window Controls Overlay
|
|
12820
13141
|
*/
|
|
@@ -13142,6 +13463,12 @@ export declare namespace Overlay {
|
|
|
13142
13463
|
*/
|
|
13143
13464
|
hingeConfig?: HingeConfig;
|
|
13144
13465
|
}
|
|
13466
|
+
interface SetShowDisplayCutoutRequest {
|
|
13467
|
+
/**
|
|
13468
|
+
* display cutout data, null means hide display cutout
|
|
13469
|
+
*/
|
|
13470
|
+
displayCutoutConfig?: DisplayCutoutConfig;
|
|
13471
|
+
}
|
|
13145
13472
|
interface SetShowIsolatedElementsRequest {
|
|
13146
13473
|
/**
|
|
13147
13474
|
* An array of node identifiers and descriptors for the highlight appearance.
|
|
@@ -13352,7 +13679,6 @@ export declare namespace Page {
|
|
|
13352
13679
|
AllScreensCapture = "all-screens-capture",
|
|
13353
13680
|
AmbientLightSensor = "ambient-light-sensor",
|
|
13354
13681
|
AriaNotify = "aria-notify",
|
|
13355
|
-
AttributionReporting = "attribution-reporting",
|
|
13356
13682
|
Autofill = "autofill",
|
|
13357
13683
|
Autoplay = "autoplay",
|
|
13358
13684
|
Bluetooth = "bluetooth",
|
|
@@ -13395,7 +13721,6 @@ export declare namespace Page {
|
|
|
13395
13721
|
DigitalCredentialsGet = "digital-credentials-get",
|
|
13396
13722
|
DirectSockets = "direct-sockets",
|
|
13397
13723
|
DirectSocketsMulticast = "direct-sockets-multicast",
|
|
13398
|
-
DirectSocketsPrivate = "direct-sockets-private",
|
|
13399
13724
|
DisplayCapture = "display-capture",
|
|
13400
13725
|
DocumentDomain = "document-domain",
|
|
13401
13726
|
EncryptedMedia = "encrypted-media",
|
|
@@ -13407,11 +13732,11 @@ export declare namespace Page {
|
|
|
13407
13732
|
Gamepad = "gamepad",
|
|
13408
13733
|
Geolocation = "geolocation",
|
|
13409
13734
|
Gyroscope = "gyroscope",
|
|
13735
|
+
Haptics = "haptics",
|
|
13410
13736
|
Hid = "hid",
|
|
13411
13737
|
IdentityCredentialsGet = "identity-credentials-get",
|
|
13412
13738
|
IdleDetection = "idle-detection",
|
|
13413
13739
|
InterestCohort = "interest-cohort",
|
|
13414
|
-
JoinAdInterestGroup = "join-ad-interest-group",
|
|
13415
13740
|
KeyboardMap = "keyboard-map",
|
|
13416
13741
|
LanguageDetector = "language-detector",
|
|
13417
13742
|
LanguageModel = "language-model",
|
|
@@ -13428,14 +13753,12 @@ export declare namespace Page {
|
|
|
13428
13753
|
OtpCredentials = "otp-credentials",
|
|
13429
13754
|
Payment = "payment",
|
|
13430
13755
|
PictureInPicture = "picture-in-picture",
|
|
13431
|
-
PrivateAggregation = "private-aggregation",
|
|
13432
13756
|
PrivateStateTokenIssuance = "private-state-token-issuance",
|
|
13433
13757
|
PrivateStateTokenRedemption = "private-state-token-redemption",
|
|
13434
13758
|
PublickeyCredentialsCreate = "publickey-credentials-create",
|
|
13435
13759
|
PublickeyCredentialsGet = "publickey-credentials-get",
|
|
13436
|
-
|
|
13760
|
+
PublickeyCredentialsRemoteClientDataJson = "publickey-credentials-remote-client-data-json",
|
|
13437
13761
|
Rewriter = "rewriter",
|
|
13438
|
-
RunAdAuction = "run-ad-auction",
|
|
13439
13762
|
ScreenWakeLock = "screen-wake-lock",
|
|
13440
13763
|
Serial = "serial",
|
|
13441
13764
|
SharedStorage = "shared-storage",
|
|
@@ -13446,12 +13769,14 @@ export declare namespace Page {
|
|
|
13446
13769
|
SubApps = "sub-apps",
|
|
13447
13770
|
Summarizer = "summarizer",
|
|
13448
13771
|
SyncXhr = "sync-xhr",
|
|
13772
|
+
Tools = "tools",
|
|
13449
13773
|
Translator = "translator",
|
|
13450
13774
|
Unload = "unload",
|
|
13451
13775
|
Usb = "usb",
|
|
13452
13776
|
UsbUnrestricted = "usb-unrestricted",
|
|
13453
13777
|
VerticalScroll = "vertical-scroll",
|
|
13454
13778
|
WebAppInstallation = "web-app-installation",
|
|
13779
|
+
Webnn = "webnn",
|
|
13455
13780
|
WebPrinting = "web-printing",
|
|
13456
13781
|
WebShare = "web-share",
|
|
13457
13782
|
WindowManagement = "window-management",
|
|
@@ -13750,6 +14075,10 @@ export declare namespace Page {
|
|
|
13750
14075
|
* Frame swap timestamp.
|
|
13751
14076
|
*/
|
|
13752
14077
|
timestamp?: Network.TimeSinceEpoch;
|
|
14078
|
+
/**
|
|
14079
|
+
* Frame swap timestamp as monotonic time.
|
|
14080
|
+
*/
|
|
14081
|
+
monotonicTimestamp?: Network.MonotonicTime;
|
|
13753
14082
|
}
|
|
13754
14083
|
/**
|
|
13755
14084
|
* Javascript dialog type.
|
|
@@ -14007,7 +14336,6 @@ export declare namespace Page {
|
|
|
14007
14336
|
interface FileHandler {
|
|
14008
14337
|
action: string;
|
|
14009
14338
|
name: string;
|
|
14010
|
-
icons?: ImageResource[];
|
|
14011
14339
|
/**
|
|
14012
14340
|
* Mimic a map, name is the key, accepts is the value.
|
|
14013
14341
|
*/
|
|
@@ -14119,6 +14447,24 @@ export declare namespace Page {
|
|
|
14119
14447
|
startUrl?: string;
|
|
14120
14448
|
themeColor?: string;
|
|
14121
14449
|
}
|
|
14450
|
+
interface SubApp {
|
|
14451
|
+
/**
|
|
14452
|
+
* Display name of the sub-app.
|
|
14453
|
+
*/
|
|
14454
|
+
name: string;
|
|
14455
|
+
/**
|
|
14456
|
+
* Scope of the sub-app.
|
|
14457
|
+
*/
|
|
14458
|
+
scope: string;
|
|
14459
|
+
/**
|
|
14460
|
+
* Manifest id of the sub-app.
|
|
14461
|
+
*/
|
|
14462
|
+
manifestId: string;
|
|
14463
|
+
/**
|
|
14464
|
+
* Start URL of the sub-app.
|
|
14465
|
+
*/
|
|
14466
|
+
startUrl: string;
|
|
14467
|
+
}
|
|
14122
14468
|
/**
|
|
14123
14469
|
* The type of a frameNavigated event.
|
|
14124
14470
|
*/
|
|
@@ -14272,6 +14618,8 @@ export declare namespace Page {
|
|
|
14272
14618
|
EmbedderExtensionMessaging = "EmbedderExtensionMessaging",
|
|
14273
14619
|
EmbedderExtensionMessagingForOpenPort = "EmbedderExtensionMessagingForOpenPort",
|
|
14274
14620
|
EmbedderExtensionSentMessageToCachedFrame = "EmbedderExtensionSentMessageToCachedFrame",
|
|
14621
|
+
EmbedderExtensionFrame = "EmbedderExtensionFrame",
|
|
14622
|
+
EmbedderPrivilegedWebContents = "EmbedderPrivilegedWebContents",
|
|
14275
14623
|
RequestedByWebViewClient = "RequestedByWebViewClient",
|
|
14276
14624
|
PostMessageByWebViewClient = "PostMessageByWebViewClient",
|
|
14277
14625
|
CacheControlNoStoreDeviceBoundSessionTerminated = "CacheControlNoStoreDeviceBoundSessionTerminated",
|
|
@@ -14435,6 +14783,15 @@ export declare namespace Page {
|
|
|
14435
14783
|
* option, use with caution.
|
|
14436
14784
|
*/
|
|
14437
14785
|
grantUniveralAccess?: boolean;
|
|
14786
|
+
/**
|
|
14787
|
+
* An optional content security policy to set for the isolated world.
|
|
14788
|
+
* If omitted, any existing CSP for the world will be cleared.
|
|
14789
|
+
* Note that clearing or updating the CSP does not immediately affect the active
|
|
14790
|
+
* context in the same document because LocalDOMWindow caches the
|
|
14791
|
+
* ContentSecurityPolicy object. The change takes effect on subsequent
|
|
14792
|
+
* navigations when a new window context is created.
|
|
14793
|
+
*/
|
|
14794
|
+
contentSecurityPolicy?: string;
|
|
14438
14795
|
}
|
|
14439
14796
|
interface CreateIsolatedWorldResponse extends ProtocolResponseWithError {
|
|
14440
14797
|
/**
|
|
@@ -14494,6 +14851,20 @@ export declare namespace Page {
|
|
|
14494
14851
|
* Recommendation for manifest's id attribute to match current id computed from start_url
|
|
14495
14852
|
*/
|
|
14496
14853
|
recommendedId?: string;
|
|
14854
|
+
/**
|
|
14855
|
+
* The bundle ID for an Isolated Web App (IWA)
|
|
14856
|
+
*/
|
|
14857
|
+
bundleId?: string;
|
|
14858
|
+
/**
|
|
14859
|
+
* The name of the parent app if this app is a Sub-App
|
|
14860
|
+
*/
|
|
14861
|
+
parentAppName?: string;
|
|
14862
|
+
}
|
|
14863
|
+
interface GetSubAppsResponse extends ProtocolResponseWithError {
|
|
14864
|
+
subApps: SubApp[];
|
|
14865
|
+
}
|
|
14866
|
+
interface GetSiblingSubAppsResponse extends ProtocolResponseWithError {
|
|
14867
|
+
subApps: SubApp[];
|
|
14497
14868
|
}
|
|
14498
14869
|
interface GetAdScriptAncestryRequest {
|
|
14499
14870
|
frameId: FrameId;
|
|
@@ -14981,9 +15352,48 @@ export declare namespace Page {
|
|
|
14981
15352
|
*/
|
|
14982
15353
|
maxHeight?: integer;
|
|
14983
15354
|
/**
|
|
14984
|
-
* Send every n-th frame.
|
|
15355
|
+
* Send every n-th frame. Must be a positive integer.
|
|
14985
15356
|
*/
|
|
14986
15357
|
everyNthFrame?: integer;
|
|
15358
|
+
/**
|
|
15359
|
+
* Maximum number of frames sent until screencastFrameAck is required.
|
|
15360
|
+
* Defaults to 3. Must be a positive integer.
|
|
15361
|
+
*/
|
|
15362
|
+
maxFramesInFlight?: integer;
|
|
15363
|
+
/**
|
|
15364
|
+
* By default, after screencastFrameAck arrives, the next produced frame is sent.
|
|
15365
|
+
* Passing this flag enables storing the last produced frame in memory, which is
|
|
15366
|
+
* immediately sent upon screencastFrameAck. This way, overall performance is
|
|
15367
|
+
* traded for a better latency.
|
|
15368
|
+
*/
|
|
15369
|
+
sendLastFrame?: boolean;
|
|
15370
|
+
}
|
|
15371
|
+
interface StartScreenRecordingRequest {
|
|
15372
|
+
audio?: boolean;
|
|
15373
|
+
/**
|
|
15374
|
+
* Maximum frame width in pixels.
|
|
15375
|
+
*/
|
|
15376
|
+
maxWidth?: integer;
|
|
15377
|
+
/**
|
|
15378
|
+
* Maximum frame height in pixels.
|
|
15379
|
+
*/
|
|
15380
|
+
maxHeight?: integer;
|
|
15381
|
+
/**
|
|
15382
|
+
* Maximum frame rate in frames per second.
|
|
15383
|
+
*/
|
|
15384
|
+
frameRate?: integer;
|
|
15385
|
+
}
|
|
15386
|
+
interface StartScreenRecordingResponse extends ProtocolResponseWithError {
|
|
15387
|
+
/**
|
|
15388
|
+
* A handle of the stream that holds resulting screencast data.
|
|
15389
|
+
*/
|
|
15390
|
+
stream: IO.StreamHandle;
|
|
15391
|
+
}
|
|
15392
|
+
interface StopScreenRecordingResponse extends ProtocolResponseWithError {
|
|
15393
|
+
/**
|
|
15394
|
+
* A handle of the stream that holds resulting screencast data.
|
|
15395
|
+
*/
|
|
15396
|
+
stream: IO.StreamHandle;
|
|
14987
15397
|
}
|
|
14988
15398
|
const enum SetWebLifecycleStateRequestState {
|
|
14989
15399
|
Frozen = "frozen",
|
|
@@ -15809,7 +16219,8 @@ export declare namespace Preload {
|
|
|
15809
16219
|
PrerenderFailedDuringPrefetch = "PrerenderFailedDuringPrefetch",
|
|
15810
16220
|
BrowsingDataRemoved = "BrowsingDataRemoved",
|
|
15811
16221
|
PrerenderHostReused = "PrerenderHostReused",
|
|
15812
|
-
FormSubmitWhenPrerendering = "FormSubmitWhenPrerendering"
|
|
16222
|
+
FormSubmitWhenPrerendering = "FormSubmitWhenPrerendering",
|
|
16223
|
+
CrossDocumentRestart = "CrossDocumentRestart"
|
|
15813
16224
|
}
|
|
15814
16225
|
/**
|
|
15815
16226
|
* Preloading status values, see also PreloadingTriggeringOutcome. This
|
|
@@ -15841,7 +16252,9 @@ export declare namespace Preload {
|
|
|
15841
16252
|
PrefetchIneligibleRetryAfter = "PrefetchIneligibleRetryAfter",
|
|
15842
16253
|
PrefetchIsPrivacyDecoy = "PrefetchIsPrivacyDecoy",
|
|
15843
16254
|
PrefetchIsStale = "PrefetchIsStale",
|
|
16255
|
+
PrefetchNotEligibleBlockedByConnectionAllowlist = "PrefetchNotEligibleBlockedByConnectionAllowlist",
|
|
15844
16256
|
PrefetchNotEligibleBrowserContextOffTheRecord = "PrefetchNotEligibleBrowserContextOffTheRecord",
|
|
16257
|
+
PrefetchNotEligibleCrossOrigin = "PrefetchNotEligibleCrossOrigin",
|
|
15845
16258
|
PrefetchNotEligibleDataSaverEnabled = "PrefetchNotEligibleDataSaverEnabled",
|
|
15846
16259
|
PrefetchNotEligibleExistingProxy = "PrefetchNotEligibleExistingProxy",
|
|
15847
16260
|
PrefetchNotEligibleHostIsNonUnique = "PrefetchNotEligibleHostIsNonUnique",
|
|
@@ -15861,7 +16274,8 @@ export declare namespace Preload {
|
|
|
15861
16274
|
PrefetchProxyNotAvailable = "PrefetchProxyNotAvailable",
|
|
15862
16275
|
PrefetchResponseUsed = "PrefetchResponseUsed",
|
|
15863
16276
|
PrefetchSuccessfulButNotUsed = "PrefetchSuccessfulButNotUsed",
|
|
15864
|
-
PrefetchNotUsedProbeFailed = "PrefetchNotUsedProbeFailed"
|
|
16277
|
+
PrefetchNotUsedProbeFailed = "PrefetchNotUsedProbeFailed",
|
|
16278
|
+
PrefetchCancelledOnUserNavigation = "PrefetchCancelledOnUserNavigation"
|
|
15865
16279
|
}
|
|
15866
16280
|
/**
|
|
15867
16281
|
* Information of headers to be displayed when the header mismatch occurred.
|
|
@@ -15912,6 +16326,12 @@ export declare namespace Preload {
|
|
|
15912
16326
|
key: PreloadingAttemptKey;
|
|
15913
16327
|
pipelineId: PreloadPipelineId;
|
|
15914
16328
|
status: PreloadingStatus;
|
|
16329
|
+
/**
|
|
16330
|
+
* The action currently performed by this attempt. This differs from
|
|
16331
|
+
* `key.action` after a prerender-until-script attempt is upgraded in place
|
|
16332
|
+
* to a full prerender.
|
|
16333
|
+
*/
|
|
16334
|
+
effectiveAction?: SpeculationAction;
|
|
15915
16335
|
prerenderStatus?: PrerenderFinalStatus;
|
|
15916
16336
|
/**
|
|
15917
16337
|
* This is used to give users more information about the name of Mojo interface
|
|
@@ -16248,6 +16668,57 @@ export declare namespace ServiceWorker {
|
|
|
16248
16668
|
Activated = "activated",
|
|
16249
16669
|
Redundant = "redundant"
|
|
16250
16670
|
}
|
|
16671
|
+
/**
|
|
16672
|
+
* Mostly corresponds to `RouterCondition` in ServiceWorker spec
|
|
16673
|
+
* (https://www.w3.org/TR/service-workers/#dictdef-routercondition)
|
|
16674
|
+
*/
|
|
16675
|
+
interface ServiceWorkerRouterCondition {
|
|
16676
|
+
/**
|
|
16677
|
+
* Plain text, or JSON serialization of URLPatternInit or URLPattern
|
|
16678
|
+
*/
|
|
16679
|
+
urlPattern?: string;
|
|
16680
|
+
requestMethod?: string;
|
|
16681
|
+
requestMode?: string;
|
|
16682
|
+
requestDestination?: string;
|
|
16683
|
+
runningStatus?: ServiceWorkerVersionRunningStatus;
|
|
16684
|
+
or?: ServiceWorkerRouterCondition[];
|
|
16685
|
+
not?: ServiceWorkerRouterCondition;
|
|
16686
|
+
}
|
|
16687
|
+
const enum ServiceWorkerRouterSourceType {
|
|
16688
|
+
Cache = "cache",
|
|
16689
|
+
FetchEvent = "fetchEvent",
|
|
16690
|
+
Network = "network",
|
|
16691
|
+
RaceNetworkAndFetchHandler = "raceNetworkAndFetchHandler",
|
|
16692
|
+
RaceNetworkAndCache = "raceNetworkAndCache",
|
|
16693
|
+
SourceDict = "sourceDict"
|
|
16694
|
+
}
|
|
16695
|
+
/**
|
|
16696
|
+
* https://www.w3.org/TR/service-workers/#dictdef-routersourcedict
|
|
16697
|
+
*/
|
|
16698
|
+
interface ServiceWorkerRouterSourceDict {
|
|
16699
|
+
cacheName: string;
|
|
16700
|
+
}
|
|
16701
|
+
/**
|
|
16702
|
+
* Corresponds to `RouterSource` in the spec while the representation is different as follows.
|
|
16703
|
+
* (https://www.w3.org/TR/service-workers/#typedefdef-routersource)
|
|
16704
|
+
* - `RouterSourceEnum`: `type` equals `cache`, `sourceDict` is null.
|
|
16705
|
+
* - `RouterSourceDict`: `type` equals `sourceDict`, `sourceDict` has valid value.
|
|
16706
|
+
*/
|
|
16707
|
+
interface ServiceWorkerRouterSource {
|
|
16708
|
+
type: ServiceWorkerRouterSourceType;
|
|
16709
|
+
/**
|
|
16710
|
+
* Non-empty iff `type` equals "sourceDict".
|
|
16711
|
+
*/
|
|
16712
|
+
sourceDict?: ServiceWorkerRouterSourceDict;
|
|
16713
|
+
}
|
|
16714
|
+
interface ServiceWorkerRouterRule {
|
|
16715
|
+
condition: ServiceWorkerRouterCondition;
|
|
16716
|
+
source: ServiceWorkerRouterSource;
|
|
16717
|
+
/**
|
|
16718
|
+
* Rule ID assigned by the browser. Unique within each ServiceWorkerVersion.
|
|
16719
|
+
*/
|
|
16720
|
+
id: integer;
|
|
16721
|
+
}
|
|
16251
16722
|
/**
|
|
16252
16723
|
* ServiceWorker version.
|
|
16253
16724
|
*/
|
|
@@ -16268,7 +16739,13 @@ export declare namespace ServiceWorker {
|
|
|
16268
16739
|
scriptResponseTime?: number;
|
|
16269
16740
|
controlledClients?: Target.TargetID[];
|
|
16270
16741
|
targetId?: Target.TargetID;
|
|
16742
|
+
/**
|
|
16743
|
+
* Migration to `typedRouterRules` is in progress. The browser sends either
|
|
16744
|
+
* `routerRules` or `typedRouterRules`.
|
|
16745
|
+
* TODO(crbug.com/540469610): Remove `routerRules` after the migration.
|
|
16746
|
+
*/
|
|
16271
16747
|
routerRules?: string;
|
|
16748
|
+
typedRouterRules?: ServiceWorkerRouterRule[];
|
|
16272
16749
|
}
|
|
16273
16750
|
/**
|
|
16274
16751
|
* ServiceWorker error message.
|
|
@@ -16665,8 +17142,6 @@ export declare namespace Storage {
|
|
|
16665
17142
|
Websql = "websql",
|
|
16666
17143
|
Service_workers = "service_workers",
|
|
16667
17144
|
Cache_storage = "cache_storage",
|
|
16668
|
-
Interest_groups = "interest_groups",
|
|
16669
|
-
Shared_storage = "shared_storage",
|
|
16670
17145
|
Storage_buckets = "storage_buckets",
|
|
16671
17146
|
All = "all",
|
|
16672
17147
|
Other = "other"
|
|
@@ -16693,245 +17168,50 @@ export declare namespace Storage {
|
|
|
16693
17168
|
count: number;
|
|
16694
17169
|
}
|
|
16695
17170
|
/**
|
|
16696
|
-
*
|
|
17171
|
+
* Details of a stored Private Verification Token.
|
|
16697
17172
|
*/
|
|
16698
|
-
|
|
16699
|
-
/**
|
|
16700
|
-
* Enum of interest group access types.
|
|
16701
|
-
*/
|
|
16702
|
-
const enum InterestGroupAccessType {
|
|
16703
|
-
Join = "join",
|
|
16704
|
-
Leave = "leave",
|
|
16705
|
-
Update = "update",
|
|
16706
|
-
Loaded = "loaded",
|
|
16707
|
-
Bid = "bid",
|
|
16708
|
-
Win = "win",
|
|
16709
|
-
AdditionalBid = "additionalBid",
|
|
16710
|
-
AdditionalBidWin = "additionalBidWin",
|
|
16711
|
-
TopLevelBid = "topLevelBid",
|
|
16712
|
-
TopLevelAdditionalBid = "topLevelAdditionalBid",
|
|
16713
|
-
Clear = "clear"
|
|
16714
|
-
}
|
|
16715
|
-
/**
|
|
16716
|
-
* Enum of auction events.
|
|
16717
|
-
*/
|
|
16718
|
-
const enum InterestGroupAuctionEventType {
|
|
16719
|
-
Started = "started",
|
|
16720
|
-
ConfigResolved = "configResolved"
|
|
16721
|
-
}
|
|
16722
|
-
/**
|
|
16723
|
-
* Enum of network fetches auctions can do.
|
|
16724
|
-
*/
|
|
16725
|
-
const enum InterestGroupAuctionFetchType {
|
|
16726
|
-
BidderJs = "bidderJs",
|
|
16727
|
-
BidderWasm = "bidderWasm",
|
|
16728
|
-
SellerJs = "sellerJs",
|
|
16729
|
-
BidderTrustedSignals = "bidderTrustedSignals",
|
|
16730
|
-
SellerTrustedSignals = "sellerTrustedSignals"
|
|
16731
|
-
}
|
|
16732
|
-
/**
|
|
16733
|
-
* Enum of shared storage access scopes.
|
|
16734
|
-
*/
|
|
16735
|
-
const enum SharedStorageAccessScope {
|
|
16736
|
-
Window = "window",
|
|
16737
|
-
SharedStorageWorklet = "sharedStorageWorklet",
|
|
16738
|
-
ProtectedAudienceWorklet = "protectedAudienceWorklet",
|
|
16739
|
-
Header = "header"
|
|
16740
|
-
}
|
|
16741
|
-
/**
|
|
16742
|
-
* Enum of shared storage access methods.
|
|
16743
|
-
*/
|
|
16744
|
-
const enum SharedStorageAccessMethod {
|
|
16745
|
-
AddModule = "addModule",
|
|
16746
|
-
CreateWorklet = "createWorklet",
|
|
16747
|
-
SelectURL = "selectURL",
|
|
16748
|
-
Run = "run",
|
|
16749
|
-
BatchUpdate = "batchUpdate",
|
|
16750
|
-
Set = "set",
|
|
16751
|
-
Append = "append",
|
|
16752
|
-
Delete = "delete",
|
|
16753
|
-
Clear = "clear",
|
|
16754
|
-
Get = "get",
|
|
16755
|
-
Keys = "keys",
|
|
16756
|
-
Values = "values",
|
|
16757
|
-
Entries = "entries",
|
|
16758
|
-
Length = "length",
|
|
16759
|
-
RemainingBudget = "remainingBudget"
|
|
16760
|
-
}
|
|
16761
|
-
/**
|
|
16762
|
-
* Struct for a single key-value pair in an origin's shared storage.
|
|
16763
|
-
*/
|
|
16764
|
-
interface SharedStorageEntry {
|
|
16765
|
-
key: string;
|
|
16766
|
-
value: string;
|
|
16767
|
-
}
|
|
16768
|
-
/**
|
|
16769
|
-
* Details for an origin's shared storage.
|
|
16770
|
-
*/
|
|
16771
|
-
interface SharedStorageMetadata {
|
|
16772
|
-
/**
|
|
16773
|
-
* Time when the origin's shared storage was last created.
|
|
16774
|
-
*/
|
|
16775
|
-
creationTime: Network.TimeSinceEpoch;
|
|
16776
|
-
/**
|
|
16777
|
-
* Number of key-value pairs stored in origin's shared storage.
|
|
16778
|
-
*/
|
|
16779
|
-
length: integer;
|
|
17173
|
+
interface PrivateVerificationToken {
|
|
16780
17174
|
/**
|
|
16781
|
-
*
|
|
17175
|
+
* Unique identifier of the token in the database.
|
|
16782
17176
|
*/
|
|
16783
|
-
|
|
16784
|
-
/**
|
|
16785
|
-
* Total number of bytes stored as key-value pairs in origin's shared
|
|
16786
|
-
* storage.
|
|
16787
|
-
*/
|
|
16788
|
-
bytesUsed: integer;
|
|
16789
|
-
}
|
|
16790
|
-
/**
|
|
16791
|
-
* Represents a dictionary object passed in as privateAggregationConfig to
|
|
16792
|
-
* run or selectURL.
|
|
16793
|
-
*/
|
|
16794
|
-
interface SharedStoragePrivateAggregationConfig {
|
|
17177
|
+
id: string;
|
|
16795
17178
|
/**
|
|
16796
|
-
*
|
|
17179
|
+
* Origin of the token issuer.
|
|
16797
17180
|
*/
|
|
16798
|
-
|
|
17181
|
+
issuerOrigin: string;
|
|
16799
17182
|
/**
|
|
16800
|
-
*
|
|
17183
|
+
* Public key ID used to issue the token.
|
|
16801
17184
|
*/
|
|
16802
|
-
|
|
17185
|
+
keyId: integer;
|
|
16803
17186
|
/**
|
|
16804
|
-
*
|
|
17187
|
+
* Expiration timestamp in seconds since the epoch.
|
|
16805
17188
|
*/
|
|
16806
|
-
|
|
17189
|
+
expiration: Network.TimeSinceEpoch;
|
|
16807
17190
|
/**
|
|
16808
|
-
*
|
|
17191
|
+
* Token creation timestamp in seconds since the epoch.
|
|
16809
17192
|
*/
|
|
16810
|
-
|
|
16811
|
-
}
|
|
16812
|
-
/**
|
|
16813
|
-
* Pair of reporting metadata details for a candidate URL for `selectURL()`.
|
|
16814
|
-
*/
|
|
16815
|
-
interface SharedStorageReportingMetadata {
|
|
16816
|
-
eventType: string;
|
|
16817
|
-
reportingUrl: string;
|
|
16818
|
-
}
|
|
16819
|
-
/**
|
|
16820
|
-
* Bundles a candidate URL with its reporting metadata.
|
|
16821
|
-
*/
|
|
16822
|
-
interface SharedStorageUrlWithMetadata {
|
|
17193
|
+
creationTime: Network.TimeSinceEpoch;
|
|
16823
17194
|
/**
|
|
16824
|
-
*
|
|
17195
|
+
* Token protocol version.
|
|
16825
17196
|
*/
|
|
16826
|
-
|
|
17197
|
+
version: integer;
|
|
16827
17198
|
/**
|
|
16828
|
-
*
|
|
17199
|
+
* Base64-encoded serialized token.
|
|
16829
17200
|
*/
|
|
16830
|
-
|
|
17201
|
+
token: string;
|
|
16831
17202
|
}
|
|
16832
17203
|
/**
|
|
16833
|
-
*
|
|
16834
|
-
* presence/absence can vary according to SharedStorageAccessType.
|
|
17204
|
+
* Configuration for a Private Verification Tokens issuer.
|
|
16835
17205
|
*/
|
|
16836
|
-
interface
|
|
16837
|
-
/**
|
|
16838
|
-
* Spec of the module script URL.
|
|
16839
|
-
* Present only for SharedStorageAccessMethods: addModule and
|
|
16840
|
-
* createWorklet.
|
|
16841
|
-
*/
|
|
16842
|
-
scriptSourceUrl?: string;
|
|
16843
|
-
/**
|
|
16844
|
-
* String denoting "context-origin", "script-origin", or a custom
|
|
16845
|
-
* origin to be used as the worklet's data origin.
|
|
16846
|
-
* Present only for SharedStorageAccessMethod: createWorklet.
|
|
16847
|
-
*/
|
|
16848
|
-
dataOrigin?: string;
|
|
16849
|
-
/**
|
|
16850
|
-
* Name of the registered operation to be run.
|
|
16851
|
-
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
16852
|
-
*/
|
|
16853
|
-
operationName?: string;
|
|
16854
|
-
/**
|
|
16855
|
-
* ID of the operation call.
|
|
16856
|
-
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
16857
|
-
*/
|
|
16858
|
-
operationId?: string;
|
|
17206
|
+
interface PrivateVerificationTokensIssuerConfig {
|
|
16859
17207
|
/**
|
|
16860
|
-
*
|
|
16861
|
-
* calls.
|
|
16862
|
-
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
17208
|
+
* Origin of the token issuer.
|
|
16863
17209
|
*/
|
|
16864
|
-
|
|
16865
|
-
/**
|
|
16866
|
-
* Configures the private aggregation options.
|
|
16867
|
-
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
16868
|
-
*/
|
|
16869
|
-
privateAggregationConfig?: SharedStoragePrivateAggregationConfig;
|
|
16870
|
-
/**
|
|
16871
|
-
* The operation's serialized data in bytes (converted to a string).
|
|
16872
|
-
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
16873
|
-
* TODO(crbug.com/401011862): Consider updating this parameter to binary.
|
|
16874
|
-
*/
|
|
16875
|
-
serializedData?: string;
|
|
16876
|
-
/**
|
|
16877
|
-
* Array of candidate URLs' specs, along with any associated metadata.
|
|
16878
|
-
* Present only for SharedStorageAccessMethod: selectURL.
|
|
16879
|
-
*/
|
|
16880
|
-
urlsWithMetadata?: SharedStorageUrlWithMetadata[];
|
|
16881
|
-
/**
|
|
16882
|
-
* Spec of the URN:UUID generated for a selectURL call.
|
|
16883
|
-
* Present only for SharedStorageAccessMethod: selectURL.
|
|
16884
|
-
*/
|
|
16885
|
-
urnUuid?: string;
|
|
16886
|
-
/**
|
|
16887
|
-
* Key for a specific entry in an origin's shared storage.
|
|
16888
|
-
* Present only for SharedStorageAccessMethods: set, append, delete, and
|
|
16889
|
-
* get.
|
|
16890
|
-
*/
|
|
16891
|
-
key?: string;
|
|
16892
|
-
/**
|
|
16893
|
-
* Value for a specific entry in an origin's shared storage.
|
|
16894
|
-
* Present only for SharedStorageAccessMethods: set and append.
|
|
16895
|
-
*/
|
|
16896
|
-
value?: string;
|
|
16897
|
-
/**
|
|
16898
|
-
* Whether or not to set an entry for a key if that key is already present.
|
|
16899
|
-
* Present only for SharedStorageAccessMethod: set.
|
|
16900
|
-
*/
|
|
16901
|
-
ignoreIfPresent?: boolean;
|
|
16902
|
-
/**
|
|
16903
|
-
* A number denoting the (0-based) order of the worklet's
|
|
16904
|
-
* creation relative to all other shared storage worklets created by
|
|
16905
|
-
* documents using the current storage partition.
|
|
16906
|
-
* Present only for SharedStorageAccessMethods: addModule, createWorklet.
|
|
16907
|
-
*/
|
|
16908
|
-
workletOrdinal?: integer;
|
|
16909
|
-
/**
|
|
16910
|
-
* Hex representation of the DevTools token used as the TargetID for the
|
|
16911
|
-
* associated shared storage worklet.
|
|
16912
|
-
* Present only for SharedStorageAccessMethods: addModule, createWorklet,
|
|
16913
|
-
* run, selectURL, and any other SharedStorageAccessMethod when the
|
|
16914
|
-
* SharedStorageAccessScope is sharedStorageWorklet.
|
|
16915
|
-
*/
|
|
16916
|
-
workletTargetId?: Target.TargetID;
|
|
16917
|
-
/**
|
|
16918
|
-
* Name of the lock to be acquired, if present.
|
|
16919
|
-
* Optionally present only for SharedStorageAccessMethods: batchUpdate,
|
|
16920
|
-
* set, append, delete, and clear.
|
|
16921
|
-
*/
|
|
16922
|
-
withLock?: string;
|
|
16923
|
-
/**
|
|
16924
|
-
* If the method has been called as part of a batchUpdate, then this
|
|
16925
|
-
* number identifies the batch to which it belongs.
|
|
16926
|
-
* Optionally present only for SharedStorageAccessMethods:
|
|
16927
|
-
* batchUpdate (required), set, append, delete, and clear.
|
|
16928
|
-
*/
|
|
16929
|
-
batchUpdateId?: string;
|
|
17210
|
+
issuerOrigin: string;
|
|
16930
17211
|
/**
|
|
16931
|
-
*
|
|
16932
|
-
* Present only for SharedStorageAccessMethod: batchUpdate.
|
|
17212
|
+
* Origins authorized to redeem tokens from this issuer.
|
|
16933
17213
|
*/
|
|
16934
|
-
|
|
17214
|
+
redeemerOrigins: string[];
|
|
16935
17215
|
}
|
|
16936
17216
|
const enum StorageBucketsDurability {
|
|
16937
17217
|
Relaxed = "relaxed",
|
|
@@ -16955,23 +17235,6 @@ export declare namespace Storage {
|
|
|
16955
17235
|
persistent: boolean;
|
|
16956
17236
|
durability: StorageBucketsDurability;
|
|
16957
17237
|
}
|
|
16958
|
-
/**
|
|
16959
|
-
* A single Related Website Set object.
|
|
16960
|
-
*/
|
|
16961
|
-
interface RelatedWebsiteSet {
|
|
16962
|
-
/**
|
|
16963
|
-
* The primary site of this set, along with the ccTLDs if there is any.
|
|
16964
|
-
*/
|
|
16965
|
-
primarySites: string[];
|
|
16966
|
-
/**
|
|
16967
|
-
* The associated sites of this set, along with the ccTLDs if there is any.
|
|
16968
|
-
*/
|
|
16969
|
-
associatedSites: string[];
|
|
16970
|
-
/**
|
|
16971
|
-
* The service sites of this set, along with the ccTLDs if there is any.
|
|
16972
|
-
*/
|
|
16973
|
-
serviceSites: string[];
|
|
16974
|
-
}
|
|
16975
17238
|
interface GetStorageKeyForFrameRequest {
|
|
16976
17239
|
frameId: Page.FrameId;
|
|
16977
17240
|
}
|
|
@@ -17132,58 +17395,19 @@ export declare namespace Storage {
|
|
|
17132
17395
|
*/
|
|
17133
17396
|
didDeleteTokens: boolean;
|
|
17134
17397
|
}
|
|
17135
|
-
interface
|
|
17136
|
-
|
|
17137
|
-
name: string;
|
|
17138
|
-
}
|
|
17139
|
-
interface GetInterestGroupDetailsResponse extends ProtocolResponseWithError {
|
|
17140
|
-
/**
|
|
17141
|
-
* This largely corresponds to:
|
|
17142
|
-
* https://wicg.github.io/turtledove/#dictdef-generatebidinterestgroup
|
|
17143
|
-
* but has absolute expirationTime instead of relative lifetimeMs and
|
|
17144
|
-
* also adds joiningOrigin.
|
|
17145
|
-
*/
|
|
17146
|
-
details: any;
|
|
17147
|
-
}
|
|
17148
|
-
interface SetInterestGroupTrackingRequest {
|
|
17149
|
-
enable: boolean;
|
|
17150
|
-
}
|
|
17151
|
-
interface SetInterestGroupAuctionTrackingRequest {
|
|
17152
|
-
enable: boolean;
|
|
17398
|
+
interface GetPrivateVerificationTokensResponse extends ProtocolResponseWithError {
|
|
17399
|
+
tokens: PrivateVerificationToken[];
|
|
17153
17400
|
}
|
|
17154
|
-
interface
|
|
17155
|
-
|
|
17401
|
+
interface GetPrivateVerificationTokensIssuerConfigsResponse extends ProtocolResponseWithError {
|
|
17402
|
+
configs: PrivateVerificationTokensIssuerConfig[];
|
|
17156
17403
|
}
|
|
17157
|
-
interface
|
|
17158
|
-
|
|
17159
|
-
}
|
|
17160
|
-
interface GetSharedStorageEntriesRequest {
|
|
17161
|
-
ownerOrigin: string;
|
|
17162
|
-
}
|
|
17163
|
-
interface GetSharedStorageEntriesResponse extends ProtocolResponseWithError {
|
|
17164
|
-
entries: SharedStorageEntry[];
|
|
17165
|
-
}
|
|
17166
|
-
interface SetSharedStorageEntryRequest {
|
|
17167
|
-
ownerOrigin: string;
|
|
17168
|
-
key: string;
|
|
17169
|
-
value: string;
|
|
17170
|
-
/**
|
|
17171
|
-
* If `ignoreIfPresent` is included and true, then only sets the entry if
|
|
17172
|
-
* `key` doesn't already exist.
|
|
17173
|
-
*/
|
|
17174
|
-
ignoreIfPresent?: boolean;
|
|
17175
|
-
}
|
|
17176
|
-
interface DeleteSharedStorageEntryRequest {
|
|
17177
|
-
ownerOrigin: string;
|
|
17178
|
-
key: string;
|
|
17179
|
-
}
|
|
17180
|
-
interface ClearSharedStorageEntriesRequest {
|
|
17181
|
-
ownerOrigin: string;
|
|
17404
|
+
interface ClearPrivateVerificationTokensRequest {
|
|
17405
|
+
issuerOrigin: string;
|
|
17182
17406
|
}
|
|
17183
|
-
interface
|
|
17184
|
-
|
|
17407
|
+
interface DeletePrivateVerificationTokenRequest {
|
|
17408
|
+
tokenId: string;
|
|
17185
17409
|
}
|
|
17186
|
-
interface
|
|
17410
|
+
interface SetPrivateVerificationTokensTrackingRequest {
|
|
17187
17411
|
enable: boolean;
|
|
17188
17412
|
}
|
|
17189
17413
|
interface SetStorageBucketTrackingRequest {
|
|
@@ -17196,14 +17420,6 @@ export declare namespace Storage {
|
|
|
17196
17420
|
interface RunBounceTrackingMitigationsResponse extends ProtocolResponseWithError {
|
|
17197
17421
|
deletedSites: string[];
|
|
17198
17422
|
}
|
|
17199
|
-
interface GetRelatedWebsiteSetsResponse extends ProtocolResponseWithError {
|
|
17200
|
-
sets: RelatedWebsiteSet[];
|
|
17201
|
-
}
|
|
17202
|
-
interface SetProtectedAudienceKAnonymityRequest {
|
|
17203
|
-
owner: string;
|
|
17204
|
-
name: string;
|
|
17205
|
-
hashes: binary[];
|
|
17206
|
-
}
|
|
17207
17423
|
/**
|
|
17208
17424
|
* A cache's contents have been modified.
|
|
17209
17425
|
*/
|
|
@@ -17284,134 +17500,6 @@ export declare namespace Storage {
|
|
|
17284
17500
|
*/
|
|
17285
17501
|
bucketId: string;
|
|
17286
17502
|
}
|
|
17287
|
-
/**
|
|
17288
|
-
* One of the interest groups was accessed. Note that these events are global
|
|
17289
|
-
* to all targets sharing an interest group store.
|
|
17290
|
-
*/
|
|
17291
|
-
interface InterestGroupAccessedEvent {
|
|
17292
|
-
accessTime: Network.TimeSinceEpoch;
|
|
17293
|
-
type: InterestGroupAccessType;
|
|
17294
|
-
ownerOrigin: string;
|
|
17295
|
-
name: string;
|
|
17296
|
-
/**
|
|
17297
|
-
* For topLevelBid/topLevelAdditionalBid, and when appropriate,
|
|
17298
|
-
* win and additionalBidWin
|
|
17299
|
-
*/
|
|
17300
|
-
componentSellerOrigin?: string;
|
|
17301
|
-
/**
|
|
17302
|
-
* For bid or somethingBid event, if done locally and not on a server.
|
|
17303
|
-
*/
|
|
17304
|
-
bid?: number;
|
|
17305
|
-
bidCurrency?: string;
|
|
17306
|
-
/**
|
|
17307
|
-
* For non-global events --- links to interestGroupAuctionEvent
|
|
17308
|
-
*/
|
|
17309
|
-
uniqueAuctionId?: InterestGroupAuctionId;
|
|
17310
|
-
}
|
|
17311
|
-
/**
|
|
17312
|
-
* An auction involving interest groups is taking place. These events are
|
|
17313
|
-
* target-specific.
|
|
17314
|
-
*/
|
|
17315
|
-
interface InterestGroupAuctionEventOccurredEvent {
|
|
17316
|
-
eventTime: Network.TimeSinceEpoch;
|
|
17317
|
-
type: InterestGroupAuctionEventType;
|
|
17318
|
-
uniqueAuctionId: InterestGroupAuctionId;
|
|
17319
|
-
/**
|
|
17320
|
-
* Set for child auctions.
|
|
17321
|
-
*/
|
|
17322
|
-
parentAuctionId?: InterestGroupAuctionId;
|
|
17323
|
-
/**
|
|
17324
|
-
* Set for started and configResolved
|
|
17325
|
-
*/
|
|
17326
|
-
auctionConfig?: any;
|
|
17327
|
-
}
|
|
17328
|
-
/**
|
|
17329
|
-
* Specifies which auctions a particular network fetch may be related to, and
|
|
17330
|
-
* in what role. Note that it is not ordered with respect to
|
|
17331
|
-
* Network.requestWillBeSent (but will happen before loadingFinished
|
|
17332
|
-
* loadingFailed).
|
|
17333
|
-
*/
|
|
17334
|
-
interface InterestGroupAuctionNetworkRequestCreatedEvent {
|
|
17335
|
-
type: InterestGroupAuctionFetchType;
|
|
17336
|
-
requestId: Network.RequestId;
|
|
17337
|
-
/**
|
|
17338
|
-
* This is the set of the auctions using the worklet that issued this
|
|
17339
|
-
* request. In the case of trusted signals, it's possible that only some of
|
|
17340
|
-
* them actually care about the keys being queried.
|
|
17341
|
-
*/
|
|
17342
|
-
auctions: InterestGroupAuctionId[];
|
|
17343
|
-
}
|
|
17344
|
-
/**
|
|
17345
|
-
* Shared storage was accessed by the associated page.
|
|
17346
|
-
* The following parameters are included in all events.
|
|
17347
|
-
*/
|
|
17348
|
-
interface SharedStorageAccessedEvent {
|
|
17349
|
-
/**
|
|
17350
|
-
* Time of the access.
|
|
17351
|
-
*/
|
|
17352
|
-
accessTime: Network.TimeSinceEpoch;
|
|
17353
|
-
/**
|
|
17354
|
-
* Enum value indicating the access scope.
|
|
17355
|
-
*/
|
|
17356
|
-
scope: SharedStorageAccessScope;
|
|
17357
|
-
/**
|
|
17358
|
-
* Enum value indicating the Shared Storage API method invoked.
|
|
17359
|
-
*/
|
|
17360
|
-
method: SharedStorageAccessMethod;
|
|
17361
|
-
/**
|
|
17362
|
-
* DevTools Frame Token for the primary frame tree's root.
|
|
17363
|
-
*/
|
|
17364
|
-
mainFrameId: Page.FrameId;
|
|
17365
|
-
/**
|
|
17366
|
-
* Serialization of the origin owning the Shared Storage data.
|
|
17367
|
-
*/
|
|
17368
|
-
ownerOrigin: string;
|
|
17369
|
-
/**
|
|
17370
|
-
* Serialization of the site owning the Shared Storage data.
|
|
17371
|
-
*/
|
|
17372
|
-
ownerSite: string;
|
|
17373
|
-
/**
|
|
17374
|
-
* The sub-parameters wrapped by `params` are all optional and their
|
|
17375
|
-
* presence/absence depends on `type`.
|
|
17376
|
-
*/
|
|
17377
|
-
params: SharedStorageAccessParams;
|
|
17378
|
-
}
|
|
17379
|
-
/**
|
|
17380
|
-
* A shared storage run or selectURL operation finished its execution.
|
|
17381
|
-
* The following parameters are included in all events.
|
|
17382
|
-
*/
|
|
17383
|
-
interface SharedStorageWorkletOperationExecutionFinishedEvent {
|
|
17384
|
-
/**
|
|
17385
|
-
* Time that the operation finished.
|
|
17386
|
-
*/
|
|
17387
|
-
finishedTime: Network.TimeSinceEpoch;
|
|
17388
|
-
/**
|
|
17389
|
-
* Time, in microseconds, from start of shared storage JS API call until
|
|
17390
|
-
* end of operation execution in the worklet.
|
|
17391
|
-
*/
|
|
17392
|
-
executionTime: integer;
|
|
17393
|
-
/**
|
|
17394
|
-
* Enum value indicating the Shared Storage API method invoked.
|
|
17395
|
-
*/
|
|
17396
|
-
method: SharedStorageAccessMethod;
|
|
17397
|
-
/**
|
|
17398
|
-
* ID of the operation call.
|
|
17399
|
-
*/
|
|
17400
|
-
operationId: string;
|
|
17401
|
-
/**
|
|
17402
|
-
* Hex representation of the DevTools token used as the TargetID for the
|
|
17403
|
-
* associated shared storage worklet.
|
|
17404
|
-
*/
|
|
17405
|
-
workletTargetId: Target.TargetID;
|
|
17406
|
-
/**
|
|
17407
|
-
* DevTools Frame Token for the primary frame tree's root.
|
|
17408
|
-
*/
|
|
17409
|
-
mainFrameId: Page.FrameId;
|
|
17410
|
-
/**
|
|
17411
|
-
* Serialization of the origin owning the Shared Storage data.
|
|
17412
|
-
*/
|
|
17413
|
-
ownerOrigin: string;
|
|
17414
|
-
}
|
|
17415
17503
|
interface StorageBucketCreatedOrUpdatedEvent {
|
|
17416
17504
|
bucketInfo: StorageBucketInfo;
|
|
17417
17505
|
}
|
|
@@ -17630,6 +17718,10 @@ export declare namespace Target {
|
|
|
17630
17718
|
* Whether the target has an attached client.
|
|
17631
17719
|
*/
|
|
17632
17720
|
attached: boolean;
|
|
17721
|
+
/**
|
|
17722
|
+
* Id of the parent target, if any. For example, "iframe" target may have a "page" parent.
|
|
17723
|
+
*/
|
|
17724
|
+
parentId?: TargetID;
|
|
17633
17725
|
/**
|
|
17634
17726
|
* Opener target Id
|
|
17635
17727
|
*/
|
|
@@ -17643,7 +17735,8 @@ export declare namespace Target {
|
|
|
17643
17735
|
*/
|
|
17644
17736
|
openerFrameId?: Page.FrameId;
|
|
17645
17737
|
/**
|
|
17646
|
-
* Id of the parent frame,
|
|
17738
|
+
* Id of the parent frame, present for "iframe" and "worker" targets. For nested workers,
|
|
17739
|
+
* this is the "ancestor" frame that created the first worker in the nested chain.
|
|
17647
17740
|
*/
|
|
17648
17741
|
parentFrameId?: Page.FrameId;
|
|
17649
17742
|
browserContextId?: Browser.BrowserContextID;
|
|
@@ -17652,6 +17745,11 @@ export declare namespace Target {
|
|
|
17652
17745
|
* the type of "page", this may be set to "prerender".
|
|
17653
17746
|
*/
|
|
17654
17747
|
subtype?: string;
|
|
17748
|
+
/**
|
|
17749
|
+
* Embedder-specific target metadata. This is only set for targets of
|
|
17750
|
+
* type "tab".
|
|
17751
|
+
*/
|
|
17752
|
+
embedderData?: any;
|
|
17655
17753
|
}
|
|
17656
17754
|
/**
|
|
17657
17755
|
* A filter used by target query/discovery/auto-attach operations.
|
|
@@ -17823,13 +17921,11 @@ export declare namespace Target {
|
|
|
17823
17921
|
*/
|
|
17824
17922
|
hidden?: boolean;
|
|
17825
17923
|
/**
|
|
17826
|
-
* If specified,
|
|
17827
|
-
*
|
|
17828
|
-
*
|
|
17829
|
-
*
|
|
17830
|
-
*
|
|
17831
|
-
* and background=false with focus=undefined will result in the window being focused.
|
|
17832
|
-
* Using background: true and focus: true is not supported and will result in an error.
|
|
17924
|
+
* If specified, determines whether the new target should be focused.
|
|
17925
|
+
* By default, the focus behavior depends on the `background` parameter:
|
|
17926
|
+
* - If `background` is false (default) and `focus` is omitted, the new target is focused and the browser window is brought to the foreground.
|
|
17927
|
+
* - 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).
|
|
17928
|
+
* - If `background` is true, setting `focus` to true is not supported and will result in an error.
|
|
17833
17929
|
*/
|
|
17834
17930
|
focus?: boolean;
|
|
17835
17931
|
}
|
|
@@ -17954,8 +18050,8 @@ export declare namespace Target {
|
|
|
17954
18050
|
targetId: TargetID;
|
|
17955
18051
|
/**
|
|
17956
18052
|
* The id of the panel we want DevTools to open initially. Currently
|
|
17957
|
-
* supported panels are elements, console, network, sources, resources
|
|
17958
|
-
* and
|
|
18053
|
+
* supported panels are elements, console, network, sources, resources,
|
|
18054
|
+
* timeline, chrome-recorder, heap-profiler, lighthouse, and security.
|
|
17959
18055
|
*/
|
|
17960
18056
|
panelId?: string;
|
|
17961
18057
|
}
|
|
@@ -18243,6 +18339,21 @@ export declare namespace Tracing {
|
|
|
18243
18339
|
* Backend type (defaults to `auto`)
|
|
18244
18340
|
*/
|
|
18245
18341
|
tracingBackend?: TracingBackend;
|
|
18342
|
+
/**
|
|
18343
|
+
* Maximum width and height (in pixels) of each captured screenshot.
|
|
18344
|
+
* Only used when the `disabled-by-default-devtools.screenshot` category is
|
|
18345
|
+
* enabled. Defaults to 500. The combined memory footprint of screenshots
|
|
18346
|
+
* (`screenshotMaxSize` * `screenshotMaxSize` * 4 * `screenshotMaxCount`)
|
|
18347
|
+
* is clamped to the existing per-session budget.
|
|
18348
|
+
*/
|
|
18349
|
+
screenshotMaxSize?: integer;
|
|
18350
|
+
/**
|
|
18351
|
+
* Maximum number of screenshots captured during a single tracing session.
|
|
18352
|
+
* Only used when the `disabled-by-default-devtools.screenshot` category is
|
|
18353
|
+
* enabled. Defaults to 450. Clamped together with `screenshotMaxSize` to
|
|
18354
|
+
* stay within the per-session screenshot memory budget.
|
|
18355
|
+
*/
|
|
18356
|
+
screenshotMaxCount?: integer;
|
|
18246
18357
|
}
|
|
18247
18358
|
interface BufferUsageEvent {
|
|
18248
18359
|
/**
|
|
@@ -18389,6 +18500,7 @@ export declare namespace WebAudio {
|
|
|
18389
18500
|
* Context sample rate.
|
|
18390
18501
|
*/
|
|
18391
18502
|
sampleRate: number;
|
|
18503
|
+
renderQuantumSize: number;
|
|
18392
18504
|
}
|
|
18393
18505
|
/**
|
|
18394
18506
|
* Protocol object for AudioListener
|
|
@@ -18541,11 +18653,16 @@ export declare namespace WebAuthn {
|
|
|
18541
18653
|
Ctap2_1 = "ctap2_1",
|
|
18542
18654
|
Ctap2_2 = "ctap2_2"
|
|
18543
18655
|
}
|
|
18656
|
+
/**
|
|
18657
|
+
* LINT_SKIP.IfChange(AuthenticatorTransport)
|
|
18658
|
+
*/
|
|
18544
18659
|
const enum AuthenticatorTransport {
|
|
18545
18660
|
Usb = "usb",
|
|
18546
18661
|
Nfc = "nfc",
|
|
18547
18662
|
Ble = "ble",
|
|
18548
18663
|
Cable = "cable",
|
|
18664
|
+
Hybrid = "hybrid",
|
|
18665
|
+
SmartCard = "smart-card",
|
|
18549
18666
|
Internal = "internal"
|
|
18550
18667
|
}
|
|
18551
18668
|
interface VirtualAuthenticatorOptions {
|
|
@@ -18599,6 +18716,13 @@ export declare namespace WebAuthn {
|
|
|
18599
18716
|
* Defaults to false.
|
|
18600
18717
|
*/
|
|
18601
18718
|
hasHmacSecretMc?: boolean;
|
|
18719
|
+
/**
|
|
18720
|
+
* If set to true, the authenticator will support the cmtgKey (Credential
|
|
18721
|
+
* Manager Trust Group Key) extension.
|
|
18722
|
+
* https://github.com/w3c/webauthn/pull/2377
|
|
18723
|
+
* Defaults to false.
|
|
18724
|
+
*/
|
|
18725
|
+
hasCmtgKey?: boolean;
|
|
18602
18726
|
/**
|
|
18603
18727
|
* If set to true, tests of user presence will succeed immediately.
|
|
18604
18728
|
* Otherwise, they will not be resolved. Defaults to true.
|
|
@@ -18640,11 +18764,12 @@ export declare namespace WebAuthn {
|
|
|
18640
18764
|
*/
|
|
18641
18765
|
userHandle?: binary;
|
|
18642
18766
|
/**
|
|
18643
|
-
* Signature counter.
|
|
18644
|
-
*
|
|
18767
|
+
* Signature counter. Must be equal to or greater than -1.
|
|
18768
|
+
* If -1, the credential won't have an associated signature counter, and
|
|
18769
|
+
* every assertion operation will report a value of 0.
|
|
18645
18770
|
* See https://w3c.github.io/webauthn/#signature-counter
|
|
18646
18771
|
*/
|
|
18647
|
-
signCount:
|
|
18772
|
+
signCount: number;
|
|
18648
18773
|
/**
|
|
18649
18774
|
* The large blob associated with the credential.
|
|
18650
18775
|
* See https://w3c.github.io/webauthn/#sctn-large-blob-extension
|
|
@@ -18673,6 +18798,18 @@ export declare namespace WebAuthn {
|
|
|
18673
18798
|
* https://w3c.github.io/webauthn/#dom-publickeycredentialuserentity-displayname
|
|
18674
18799
|
*/
|
|
18675
18800
|
userDisplayName?: string;
|
|
18801
|
+
/**
|
|
18802
|
+
* The CMTG keys associated with the credential.
|
|
18803
|
+
*/
|
|
18804
|
+
cmtgKeys?: binary[];
|
|
18805
|
+
/**
|
|
18806
|
+
* The 0-based index of the active key in cmtgKeys.
|
|
18807
|
+
*/
|
|
18808
|
+
activeCmtgKeyIndex?: integer;
|
|
18809
|
+
/**
|
|
18810
|
+
* If true, the authenticator will generate a new CMTG key on the next operation.
|
|
18811
|
+
*/
|
|
18812
|
+
generateCmtgKeyOnNextOperation?: boolean;
|
|
18676
18813
|
}
|
|
18677
18814
|
interface EnableRequest {
|
|
18678
18815
|
/**
|
|
@@ -18748,6 +18885,15 @@ export declare namespace WebAuthn {
|
|
|
18748
18885
|
credentialId: binary;
|
|
18749
18886
|
backupEligibility?: boolean;
|
|
18750
18887
|
backupState?: boolean;
|
|
18888
|
+
activeCmtgKeyIndex?: integer;
|
|
18889
|
+
generateCmtgKeyOnNextOperation?: boolean;
|
|
18890
|
+
/**
|
|
18891
|
+
* Must be equal to or greater than -1.
|
|
18892
|
+
* If -1, the signature counter is removed from the credential, and every
|
|
18893
|
+
* assertion operation will report a value of 0.
|
|
18894
|
+
* See https://w3c.github.io/webauthn/#signature-counter
|
|
18895
|
+
*/
|
|
18896
|
+
signCount?: number;
|
|
18751
18897
|
}
|
|
18752
18898
|
/**
|
|
18753
18899
|
* Triggered when a credential is added to an authenticator.
|
|
@@ -18789,6 +18935,18 @@ export declare namespace WebMCP {
|
|
|
18789
18935
|
* A hint indicating that the tool does not modify any state.
|
|
18790
18936
|
*/
|
|
18791
18937
|
readOnly?: boolean;
|
|
18938
|
+
/**
|
|
18939
|
+
* A hint indicating that the tool output may contain untrusted content, ex: UGC, 3rd party data.
|
|
18940
|
+
*/
|
|
18941
|
+
untrustedContent?: boolean;
|
|
18942
|
+
/**
|
|
18943
|
+
* A hint indicating that executing the tool will result in consequential actions, ex: booking a flight, transferring money.
|
|
18944
|
+
*/
|
|
18945
|
+
consequential?: boolean;
|
|
18946
|
+
/**
|
|
18947
|
+
* If true, indicates that the tool is intended for debugging and developer tooling rather than end-user interactions.
|
|
18948
|
+
*/
|
|
18949
|
+
debugging?: boolean;
|
|
18792
18950
|
/**
|
|
18793
18951
|
* If the declarative tool was declared with the autosubmit attribute.
|
|
18794
18952
|
*/
|
|
@@ -18798,7 +18956,7 @@ export declare namespace WebMCP {
|
|
|
18798
18956
|
* Represents the status of a tool invocation.
|
|
18799
18957
|
*/
|
|
18800
18958
|
const enum InvocationStatus {
|
|
18801
|
-
|
|
18959
|
+
Completed = "Completed",
|
|
18802
18960
|
Canceled = "Canceled",
|
|
18803
18961
|
Error = "Error"
|
|
18804
18962
|
}
|
|
@@ -18835,6 +18993,45 @@ export declare namespace WebMCP {
|
|
|
18835
18993
|
*/
|
|
18836
18994
|
stackTrace?: Runtime.StackTrace;
|
|
18837
18995
|
}
|
|
18996
|
+
/**
|
|
18997
|
+
* Definition of a tool that was removed.
|
|
18998
|
+
*/
|
|
18999
|
+
interface RemovedTool {
|
|
19000
|
+
/**
|
|
19001
|
+
* Tool name.
|
|
19002
|
+
*/
|
|
19003
|
+
name: string;
|
|
19004
|
+
/**
|
|
19005
|
+
* Frame identifier associated with the tool registration.
|
|
19006
|
+
*/
|
|
19007
|
+
frameId: Page.FrameId;
|
|
19008
|
+
}
|
|
19009
|
+
interface InvokeToolRequest {
|
|
19010
|
+
/**
|
|
19011
|
+
* Frame in which to invoke the tool.
|
|
19012
|
+
*/
|
|
19013
|
+
frameId: Page.FrameId;
|
|
19014
|
+
/**
|
|
19015
|
+
* Name of the tool to invoke.
|
|
19016
|
+
*/
|
|
19017
|
+
toolName: string;
|
|
19018
|
+
/**
|
|
19019
|
+
* Input parameters for the tool, matching the tool's inputSchema.
|
|
19020
|
+
*/
|
|
19021
|
+
input: any;
|
|
19022
|
+
}
|
|
19023
|
+
interface InvokeToolResponse extends ProtocolResponseWithError {
|
|
19024
|
+
/**
|
|
19025
|
+
* Unique identifier for this invocation. Response is sent before tool events.
|
|
19026
|
+
*/
|
|
19027
|
+
invocationId: string;
|
|
19028
|
+
}
|
|
19029
|
+
interface CancelInvocationRequest {
|
|
19030
|
+
/**
|
|
19031
|
+
* Invocation identifier to cancel.
|
|
19032
|
+
*/
|
|
19033
|
+
invocationId: string;
|
|
19034
|
+
}
|
|
18838
19035
|
/**
|
|
18839
19036
|
* Event fired when new tools are added.
|
|
18840
19037
|
*/
|
|
@@ -18851,7 +19048,7 @@ export declare namespace WebMCP {
|
|
|
18851
19048
|
/**
|
|
18852
19049
|
* Array of tools that were removed.
|
|
18853
19050
|
*/
|
|
18854
|
-
tools:
|
|
19051
|
+
tools: RemovedTool[];
|
|
18855
19052
|
}
|
|
18856
19053
|
/**
|
|
18857
19054
|
* Event fired when a tool invocation starts.
|
|
@@ -18887,7 +19084,8 @@ export declare namespace WebMCP {
|
|
|
18887
19084
|
*/
|
|
18888
19085
|
status: InvocationStatus;
|
|
18889
19086
|
/**
|
|
18890
|
-
* Output or error delivered as delivered to the agent. Missing if `status` is anything other than
|
|
19087
|
+
* Output or error delivered as delivered to the agent. Missing if `status` is anything other than Completed.
|
|
19088
|
+
* Note: The output is untrusted and poses a prompt injection risk. Clients should treat this as potentially malicious user input.
|
|
18891
19089
|
*/
|
|
18892
19090
|
output?: any;
|
|
18893
19091
|
/**
|
|
@@ -19004,6 +19202,10 @@ export declare namespace Debugger {
|
|
|
19004
19202
|
Module = "module",
|
|
19005
19203
|
WasmExpressionStack = "wasm-expression-stack"
|
|
19006
19204
|
}
|
|
19205
|
+
const enum ScopeEmptyReason {
|
|
19206
|
+
NoVariables = "no-variables",
|
|
19207
|
+
AllUnavailable = "all-unavailable"
|
|
19208
|
+
}
|
|
19007
19209
|
/**
|
|
19008
19210
|
* Scope description.
|
|
19009
19211
|
*/
|
|
@@ -19027,6 +19229,14 @@ export declare namespace Debugger {
|
|
|
19027
19229
|
* Location in the source code where scope ends
|
|
19028
19230
|
*/
|
|
19029
19231
|
endLocation?: Location;
|
|
19232
|
+
/**
|
|
19233
|
+
* Present if the scope has no variable values to show. Absent means that
|
|
19234
|
+
* the scope declares at least one variable with an available value.
|
|
19235
|
+
* Empty scopes are retained in the scope chain because
|
|
19236
|
+
* they can be targeted via `evaluateOnCallFrame` (using `scopeNumber`) or
|
|
19237
|
+
* matched against scopes in source maps.
|
|
19238
|
+
*/
|
|
19239
|
+
emptyReason?: ScopeEmptyReason;
|
|
19030
19240
|
}
|
|
19031
19241
|
/**
|
|
19032
19242
|
* Search match for resource.
|
|
@@ -19170,6 +19380,10 @@ export declare namespace Debugger {
|
|
|
19170
19380
|
* Terminate execution after timing out (number of milliseconds).
|
|
19171
19381
|
*/
|
|
19172
19382
|
timeout?: Runtime.TimeDelta;
|
|
19383
|
+
/**
|
|
19384
|
+
* Specifies the scope number to evaluate the expression in (default: 0, innermost scope).
|
|
19385
|
+
*/
|
|
19386
|
+
scopeNumber?: integer;
|
|
19173
19387
|
}
|
|
19174
19388
|
interface EvaluateOnCallFrameResponse extends ProtocolResponseWithError {
|
|
19175
19389
|
/**
|
|
@@ -19591,6 +19805,12 @@ export declare namespace Debugger {
|
|
|
19591
19805
|
* The skipList specifies location ranges that should be skipped on step over.
|
|
19592
19806
|
*/
|
|
19593
19807
|
skipList?: LocationRange[];
|
|
19808
|
+
/**
|
|
19809
|
+
* Functions whose source range lies within one of the enterRanges are
|
|
19810
|
+
* entered as if by stepInto, even when they are called (directly or
|
|
19811
|
+
* indirectly) from a call that is stepped over.
|
|
19812
|
+
*/
|
|
19813
|
+
enterRanges?: LocationRange[];
|
|
19594
19814
|
}
|
|
19595
19815
|
/**
|
|
19596
19816
|
* Fired when breakpoint is resolved to an actual script and location.
|
|
@@ -20351,6 +20571,7 @@ export declare namespace Runtime {
|
|
|
20351
20571
|
Dataview = "dataview",
|
|
20352
20572
|
Webassemblymemory = "webassemblymemory",
|
|
20353
20573
|
Wasmvalue = "wasmvalue",
|
|
20574
|
+
Deferredmodule = "deferredmodule",
|
|
20354
20575
|
Trustedtype = "trustedtype"
|
|
20355
20576
|
}
|
|
20356
20577
|
/**
|
|
@@ -20441,6 +20662,7 @@ export declare namespace Runtime {
|
|
|
20441
20662
|
Dataview = "dataview",
|
|
20442
20663
|
Webassemblymemory = "webassemblymemory",
|
|
20443
20664
|
Wasmvalue = "wasmvalue",
|
|
20665
|
+
Deferredmodule = "deferredmodule",
|
|
20444
20666
|
Trustedtype = "trustedtype"
|
|
20445
20667
|
}
|
|
20446
20668
|
/**
|
|
@@ -20503,6 +20725,7 @@ export declare namespace Runtime {
|
|
|
20503
20725
|
Dataview = "dataview",
|
|
20504
20726
|
Webassemblymemory = "webassemblymemory",
|
|
20505
20727
|
Wasmvalue = "wasmvalue",
|
|
20728
|
+
Deferredmodule = "deferredmodule",
|
|
20506
20729
|
Trustedtype = "trustedtype"
|
|
20507
20730
|
}
|
|
20508
20731
|
interface PropertyPreview {
|