@paulirish/trace_engine 0.0.65 → 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 +49 -0
- package/core/platform/StringUtilities.js +141 -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 +25 -0
- 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 +90 -0
- 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 +47 -2
- 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 +782 -685
- package/generated/protocol.js +3300 -1
- package/locales/af.json +154 -133
- package/locales/am.json +156 -135
- package/locales/ar.json +157 -136
- package/locales/as.json +156 -135
- package/locales/az.json +156 -135
- package/locales/be.json +153 -132
- package/locales/bg.json +154 -133
- package/locales/bn.json +156 -135
- package/locales/bs.json +152 -131
- package/locales/ca.json +157 -136
- package/locales/cs.json +148 -127
- package/locales/cy.json +155 -134
- package/locales/da.json +153 -132
- package/locales/de.json +152 -131
- package/locales/el.json +153 -132
- package/locales/en-GB.json +160 -139
- package/locales/en-US.json +153 -141
- package/locales/en-XL.json +153 -141
- package/locales/es-419.json +150 -129
- package/locales/es.json +149 -128
- package/locales/et.json +124 -103
- package/locales/eu.json +151 -130
- package/locales/fa.json +155 -134
- package/locales/fi.json +151 -130
- package/locales/fil.json +154 -133
- package/locales/fr-CA.json +154 -133
- package/locales/fr.json +150 -129
- package/locales/gl.json +153 -132
- package/locales/gu.json +156 -135
- package/locales/he.json +160 -139
- package/locales/hi.json +156 -135
- package/locales/hr.json +154 -133
- package/locales/hu.json +111 -90
- package/locales/hy.json +147 -126
- package/locales/id.json +153 -132
- package/locales/is.json +149 -128
- package/locales/it.json +153 -132
- package/locales/ja.json +150 -129
- package/locales/ka.json +159 -138
- package/locales/kk.json +62 -41
- package/locales/km.json +157 -136
- package/locales/kn.json +159 -138
- package/locales/ko.json +42 -21
- package/locales/ky.json +155 -134
- package/locales/lo.json +154 -133
- package/locales/lt.json +152 -131
- package/locales/lv.json +93 -72
- package/locales/mk.json +154 -133
- package/locales/ml.json +153 -132
- package/locales/mn.json +150 -129
- package/locales/mr.json +152 -131
- package/locales/ms.json +153 -132
- package/locales/my.json +156 -135
- package/locales/ne.json +152 -131
- package/locales/nl.json +149 -128
- package/locales/no.json +152 -131
- package/locales/or.json +152 -131
- package/locales/pa.json +154 -133
- package/locales/pl.json +153 -132
- package/locales/pt-PT.json +152 -131
- package/locales/pt.json +157 -136
- package/locales/ro.json +149 -128
- package/locales/ru.json +73 -52
- package/locales/si.json +156 -135
- package/locales/sk.json +153 -132
- package/locales/sl.json +149 -128
- package/locales/sq.json +150 -129
- package/locales/sr-Latn.json +151 -130
- package/locales/sr.json +151 -130
- package/locales/sv.json +152 -131
- package/locales/sw.json +160 -139
- package/locales/ta.json +156 -135
- package/locales/te.json +157 -136
- package/locales/th.json +111 -90
- package/locales/tr.json +153 -132
- package/locales/uk.json +149 -128
- package/locales/ur.json +151 -130
- package/locales/uz.json +151 -130
- package/locales/vi.json +162 -141
- package/locales/zh-HK.json +150 -129
- package/locales/zh-TW.json +154 -133
- package/locales/zh.json +152 -131
- package/locales/zu.json +159 -138
- 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 -13
- 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 +2 -2
- 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 -17
- 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 +4 -5
- 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 -20
- 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 -19
- 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.js +21 -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 +13 -8
- package/models/trace/insights/DuplicatedJavaScript.js +7 -3
- package/models/trace/insights/DuplicatedJavaScript.js.map +1 -1
- package/models/trace/insights/FontDisplay.d.ts +16 -10
- package/models/trace/insights/FontDisplay.js +9 -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 +13 -8
- package/models/trace/insights/LegacyJavaScript.js +7 -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 +1 -0
- package/models/trace/lantern/core/NetworkAnalyzer.js +6 -2
- 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 -20
- 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 +1 -0
- 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 -16
- 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 -60
- 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",
|
|
@@ -1061,17 +1133,10 @@ export declare namespace Audits {
|
|
|
1061
1133
|
ItemNotInnerList = "ItemNotInnerList",
|
|
1062
1134
|
InvalidAllowlistItemType = "InvalidAllowlistItemType",
|
|
1063
1135
|
ReportingEndpointNotToken = "ReportingEndpointNotToken",
|
|
1064
|
-
InvalidUrlPattern = "InvalidUrlPattern"
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
* Explainer: https://github.com/WICG/attribution-reporting-api
|
|
1069
|
-
*/
|
|
1070
|
-
interface AttributionReportingIssueDetails {
|
|
1071
|
-
violationType: AttributionReportingIssueType;
|
|
1072
|
-
request?: AffectedRequest;
|
|
1073
|
-
violatingNodeId?: DOM.BackendNodeId;
|
|
1074
|
-
invalidParameter?: string;
|
|
1136
|
+
InvalidUrlPattern = "InvalidUrlPattern",
|
|
1137
|
+
IFrameAttributeLoosensEmbeddingRequirement = "IFrameAttributeLoosensEmbeddingRequirement",
|
|
1138
|
+
InvalidAllowConnectionAllowlistFrom = "InvalidAllowConnectionAllowlistFrom",
|
|
1139
|
+
EmbeddingRequirementNotSatisfied = "EmbeddingRequirementNotSatisfied"
|
|
1075
1140
|
}
|
|
1076
1141
|
/**
|
|
1077
1142
|
* Details for issues about documents in Quirks Mode
|
|
@@ -1202,6 +1267,7 @@ export declare namespace Audits {
|
|
|
1202
1267
|
TooManyRequests = "TooManyRequests",
|
|
1203
1268
|
WellKnownHttpNotFound = "WellKnownHttpNotFound",
|
|
1204
1269
|
WellKnownNoResponse = "WellKnownNoResponse",
|
|
1270
|
+
WellKnownBlockedByConnectionAllowlist = "WellKnownBlockedByConnectionAllowlist",
|
|
1205
1271
|
WellKnownInvalidResponse = "WellKnownInvalidResponse",
|
|
1206
1272
|
WellKnownListEmpty = "WellKnownListEmpty",
|
|
1207
1273
|
WellKnownInvalidContentType = "WellKnownInvalidContentType",
|
|
@@ -1209,6 +1275,7 @@ export declare namespace Audits {
|
|
|
1209
1275
|
WellKnownTooBig = "WellKnownTooBig",
|
|
1210
1276
|
ConfigHttpNotFound = "ConfigHttpNotFound",
|
|
1211
1277
|
ConfigNoResponse = "ConfigNoResponse",
|
|
1278
|
+
ConfigBlockedByConnectionAllowlist = "ConfigBlockedByConnectionAllowlist",
|
|
1212
1279
|
ConfigInvalidResponse = "ConfigInvalidResponse",
|
|
1213
1280
|
ConfigInvalidContentType = "ConfigInvalidContentType",
|
|
1214
1281
|
IdpNotPotentiallyTrustworthy = "IdpNotPotentiallyTrustworthy",
|
|
@@ -1218,11 +1285,13 @@ export declare namespace Audits {
|
|
|
1218
1285
|
InvalidSigninResponse = "InvalidSigninResponse",
|
|
1219
1286
|
AccountsHttpNotFound = "AccountsHttpNotFound",
|
|
1220
1287
|
AccountsNoResponse = "AccountsNoResponse",
|
|
1288
|
+
AccountsBlockedByConnectionAllowlist = "AccountsBlockedByConnectionAllowlist",
|
|
1221
1289
|
AccountsInvalidResponse = "AccountsInvalidResponse",
|
|
1222
1290
|
AccountsListEmpty = "AccountsListEmpty",
|
|
1223
1291
|
AccountsInvalidContentType = "AccountsInvalidContentType",
|
|
1224
1292
|
IdTokenHttpNotFound = "IdTokenHttpNotFound",
|
|
1225
1293
|
IdTokenNoResponse = "IdTokenNoResponse",
|
|
1294
|
+
IdTokenBlockedByConnectionAllowlist = "IdTokenBlockedByConnectionAllowlist",
|
|
1226
1295
|
IdTokenInvalidResponse = "IdTokenInvalidResponse",
|
|
1227
1296
|
IdTokenIdpErrorResponse = "IdTokenIdpErrorResponse",
|
|
1228
1297
|
IdTokenCrossSiteIdpErrorResponse = "IdTokenCrossSiteIdpErrorResponse",
|
|
@@ -1239,7 +1308,8 @@ export declare namespace Audits {
|
|
|
1239
1308
|
TypeNotMatching = "TypeNotMatching",
|
|
1240
1309
|
UiDismissedNoEmbargo = "UiDismissedNoEmbargo",
|
|
1241
1310
|
CorsError = "CorsError",
|
|
1242
|
-
SuppressedBySegmentationPlatform = "SuppressedBySegmentationPlatform"
|
|
1311
|
+
SuppressedBySegmentationPlatform = "SuppressedBySegmentationPlatform",
|
|
1312
|
+
PopupBlockedByConnectionAllowlist = "PopupBlockedByConnectionAllowlist"
|
|
1243
1313
|
}
|
|
1244
1314
|
interface FederatedAuthUserInfoRequestIssueDetails {
|
|
1245
1315
|
federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
|
|
@@ -1290,7 +1360,43 @@ export declare namespace Audits {
|
|
|
1290
1360
|
RpOriginIsOpaque = "RpOriginIsOpaque",
|
|
1291
1361
|
WellKnownMissingAccountsEndpoint = "WellKnownMissingAccountsEndpoint",
|
|
1292
1362
|
UserLoggedOut = "UserLoggedOut",
|
|
1293
|
-
WellKnownAccountsEndpointCrossOrigin = "WellKnownAccountsEndpointCrossOrigin"
|
|
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"
|
|
1294
1400
|
}
|
|
1295
1401
|
/**
|
|
1296
1402
|
* This issue tracks client hints related issues. It's used to deprecate old
|
|
@@ -1427,7 +1533,9 @@ export declare namespace Audits {
|
|
|
1427
1533
|
LowContrast = "LowContrast",
|
|
1428
1534
|
FontSizeTooSmall = "FontSizeTooSmall",
|
|
1429
1535
|
FontSizeTooLarge = "FontSizeTooLarge",
|
|
1430
|
-
InvalidSizeValue = "InvalidSizeValue"
|
|
1536
|
+
InvalidSizeValue = "InvalidSizeValue",
|
|
1537
|
+
NonSecureContext = "NonSecureContext",
|
|
1538
|
+
MissingTransientUserActivation = "MissingTransientUserActivation"
|
|
1431
1539
|
}
|
|
1432
1540
|
/**
|
|
1433
1541
|
* This issue warns about improper usage of the <permission> element.
|
|
@@ -1464,6 +1572,21 @@ export declare namespace Audits {
|
|
|
1464
1572
|
*/
|
|
1465
1573
|
disableReason?: string;
|
|
1466
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
|
+
}
|
|
1467
1590
|
/**
|
|
1468
1591
|
* The issue warns about blocked calls to privacy sensitive APIs via the
|
|
1469
1592
|
* Selective Permissions Intervention.
|
|
@@ -1482,6 +1605,23 @@ export declare namespace Audits {
|
|
|
1482
1605
|
*/
|
|
1483
1606
|
stackTrace?: Runtime.StackTrace;
|
|
1484
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
|
+
}
|
|
1485
1625
|
/**
|
|
1486
1626
|
* A unique identifier for the type of issue. Each type may use one of the
|
|
1487
1627
|
* optional fields in InspectorIssueDetails to convey more specific
|
|
@@ -1495,7 +1635,6 @@ export declare namespace Audits {
|
|
|
1495
1635
|
ContentSecurityPolicyIssue = "ContentSecurityPolicyIssue",
|
|
1496
1636
|
SharedArrayBufferIssue = "SharedArrayBufferIssue",
|
|
1497
1637
|
CorsIssue = "CorsIssue",
|
|
1498
|
-
AttributionReportingIssue = "AttributionReportingIssue",
|
|
1499
1638
|
QuirksModeIssue = "QuirksModeIssue",
|
|
1500
1639
|
PartitioningBlobURLIssue = "PartitioningBlobURLIssue",
|
|
1501
1640
|
NavigatorUserAgentIssue = "NavigatorUserAgentIssue",
|
|
@@ -1517,7 +1656,9 @@ export declare namespace Audits {
|
|
|
1517
1656
|
PermissionElementIssue = "PermissionElementIssue",
|
|
1518
1657
|
PerformanceIssue = "PerformanceIssue",
|
|
1519
1658
|
SelectivePermissionsInterventionIssue = "SelectivePermissionsInterventionIssue",
|
|
1520
|
-
EmailVerificationRequestIssue = "EmailVerificationRequestIssue"
|
|
1659
|
+
EmailVerificationRequestIssue = "EmailVerificationRequestIssue",
|
|
1660
|
+
LazyLoadImageIssue = "LazyLoadImageIssue",
|
|
1661
|
+
WebInstallIssue = "WebInstallIssue"
|
|
1521
1662
|
}
|
|
1522
1663
|
/**
|
|
1523
1664
|
* This struct holds a list of optional fields with additional information
|
|
@@ -1532,7 +1673,6 @@ export declare namespace Audits {
|
|
|
1532
1673
|
contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;
|
|
1533
1674
|
sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
|
|
1534
1675
|
corsIssueDetails?: CorsIssueDetails;
|
|
1535
|
-
attributionReportingIssueDetails?: AttributionReportingIssueDetails;
|
|
1536
1676
|
quirksModeIssueDetails?: QuirksModeIssueDetails;
|
|
1537
1677
|
partitioningBlobURLIssueDetails?: PartitioningBlobURLIssueDetails;
|
|
1538
1678
|
/**
|
|
@@ -1558,6 +1698,8 @@ export declare namespace Audits {
|
|
|
1558
1698
|
performanceIssueDetails?: PerformanceIssueDetails;
|
|
1559
1699
|
selectivePermissionsInterventionIssueDetails?: SelectivePermissionsInterventionIssueDetails;
|
|
1560
1700
|
emailVerificationRequestIssueDetails?: EmailVerificationRequestIssueDetails;
|
|
1701
|
+
lazyLoadImageIssueDetails?: LazyLoadImageIssueDetails;
|
|
1702
|
+
webInstallIssueDetails?: WebInstallIssueDetails;
|
|
1561
1703
|
}
|
|
1562
1704
|
/**
|
|
1563
1705
|
* A unique id for a DevTools inspector issue. Allows other entities (e.g.
|
|
@@ -2228,10 +2370,6 @@ export declare namespace Browser {
|
|
|
2228
2370
|
*/
|
|
2229
2371
|
buckets: Bucket[];
|
|
2230
2372
|
}
|
|
2231
|
-
const enum PrivacySandboxAPI {
|
|
2232
|
-
BiddingAndAuctionServices = "BiddingAndAuctionServices",
|
|
2233
|
-
TrustedKeyValue = "TrustedKeyValue"
|
|
2234
|
-
}
|
|
2235
2373
|
interface SetPermissionRequest {
|
|
2236
2374
|
/**
|
|
2237
2375
|
* Descriptor of permission to override.
|
|
@@ -2338,6 +2476,14 @@ export declare namespace Browser {
|
|
|
2338
2476
|
*/
|
|
2339
2477
|
arguments: string[];
|
|
2340
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
|
+
}
|
|
2341
2487
|
interface GetHistogramsRequest {
|
|
2342
2488
|
/**
|
|
2343
2489
|
* Requested substring in name. Only histograms which have query as a
|
|
@@ -2442,15 +2588,14 @@ export declare namespace Browser {
|
|
|
2442
2588
|
interface AddPrivacySandboxEnrollmentOverrideRequest {
|
|
2443
2589
|
url: string;
|
|
2444
2590
|
}
|
|
2445
|
-
interface
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
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;
|
|
2454
2599
|
}
|
|
2455
2600
|
/**
|
|
2456
2601
|
* Fired when page is about to start a download.
|
|
@@ -2621,6 +2766,27 @@ export declare namespace CSS {
|
|
|
2621
2766
|
*/
|
|
2622
2767
|
specificity?: Specificity;
|
|
2623
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
|
+
}
|
|
2624
2790
|
/**
|
|
2625
2791
|
* Specificity:
|
|
2626
2792
|
* https://drafts.csswg.org/selectors/#specificity-rules
|
|
@@ -2639,6 +2805,10 @@ export declare namespace CSS {
|
|
|
2639
2805
|
* The c component, which represents the number of type selectors and pseudo-elements.
|
|
2640
2806
|
*/
|
|
2641
2807
|
c: integer;
|
|
2808
|
+
/**
|
|
2809
|
+
* Per-simple-selector contributions used to explain this specificity.
|
|
2810
|
+
*/
|
|
2811
|
+
components?: SpecificityComponent[];
|
|
2642
2812
|
}
|
|
2643
2813
|
/**
|
|
2644
2814
|
* Selector list data.
|
|
@@ -3618,6 +3788,17 @@ export declare namespace CSS {
|
|
|
3618
3788
|
*/
|
|
3619
3789
|
forced: boolean;
|
|
3620
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
|
+
}
|
|
3621
3802
|
interface GetBackgroundColorsRequest {
|
|
3622
3803
|
/**
|
|
3623
3804
|
* Id of the node to get background colors for.
|
|
@@ -4342,8 +4523,11 @@ export declare namespace DOM {
|
|
|
4342
4523
|
FileSelectorButton = "file-selector-button",
|
|
4343
4524
|
DetailsContent = "details-content",
|
|
4344
4525
|
Picker = "picker",
|
|
4526
|
+
SelectListbox = "select-listbox",
|
|
4345
4527
|
PermissionIcon = "permission-icon",
|
|
4346
|
-
OverscrollAreaParent = "overscroll-area-parent"
|
|
4528
|
+
OverscrollAreaParent = "overscroll-area-parent",
|
|
4529
|
+
OverscrollBackdrop = "overscroll-backdrop",
|
|
4530
|
+
Skeleton = "skeleton"
|
|
4347
4531
|
}
|
|
4348
4532
|
/**
|
|
4349
4533
|
* Shadow root type.
|
|
@@ -5323,6 +5507,13 @@ export declare namespace DOM {
|
|
|
5323
5507
|
* popover if it was previously force-opened.
|
|
5324
5508
|
*/
|
|
5325
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;
|
|
5326
5517
|
}
|
|
5327
5518
|
interface ForceShowPopoverResponse extends ProtocolResponseWithError {
|
|
5328
5519
|
/**
|
|
@@ -5330,6 +5521,61 @@ export declare namespace DOM {
|
|
|
5330
5521
|
*/
|
|
5331
5522
|
nodeIds: NodeId[];
|
|
5332
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
|
+
}
|
|
5333
5579
|
/**
|
|
5334
5580
|
* Fired when `Element`'s attribute is modified.
|
|
5335
5581
|
*/
|
|
@@ -6339,6 +6585,40 @@ export declare namespace DeviceOrientation {
|
|
|
6339
6585
|
gamma: number;
|
|
6340
6586
|
}
|
|
6341
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
|
+
}
|
|
6342
6622
|
/**
|
|
6343
6623
|
* This domain emulates different environments for the page.
|
|
6344
6624
|
*/
|
|
@@ -6661,10 +6941,21 @@ export declare namespace Emulation {
|
|
|
6661
6941
|
interface SetSafeAreaInsetsOverrideRequest {
|
|
6662
6942
|
insets: SafeAreaInsets;
|
|
6663
6943
|
}
|
|
6944
|
+
interface SetVirtualKeyboardGeometryOverrideRequest {
|
|
6945
|
+
keyboardRect?: DOM.Rect;
|
|
6946
|
+
}
|
|
6664
6947
|
const enum SetDeviceMetricsOverrideRequestScrollbarType {
|
|
6665
6948
|
Overlay = "overlay",
|
|
6666
6949
|
Default = "default"
|
|
6667
6950
|
}
|
|
6951
|
+
const enum SetDeviceMetricsOverrideRequestViewportMeta {
|
|
6952
|
+
Enable = "enable",
|
|
6953
|
+
Default = "default"
|
|
6954
|
+
}
|
|
6955
|
+
const enum SetDeviceMetricsOverrideRequestTextLayoutMode {
|
|
6956
|
+
Mobile = "mobile",
|
|
6957
|
+
Default = "default"
|
|
6958
|
+
}
|
|
6668
6959
|
interface SetDeviceMetricsOverrideRequest {
|
|
6669
6960
|
/**
|
|
6670
6961
|
* Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override.
|
|
@@ -6742,6 +7033,16 @@ export declare namespace Emulation {
|
|
|
6742
7033
|
* responsive design mode.
|
|
6743
7034
|
*/
|
|
6744
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;
|
|
6745
7046
|
}
|
|
6746
7047
|
interface SetDevicePostureOverrideRequest {
|
|
6747
7048
|
posture: DevicePosture;
|
|
@@ -6962,6 +7263,19 @@ export declare namespace Emulation {
|
|
|
6962
7263
|
*/
|
|
6963
7264
|
hardwareConcurrency: integer;
|
|
6964
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
|
+
}
|
|
6965
7279
|
interface SetUserAgentOverrideRequest {
|
|
6966
7280
|
/**
|
|
6967
7281
|
* User agent to use.
|
|
@@ -7722,6 +8036,14 @@ export declare namespace FileSystem {
|
|
|
7722
8036
|
directory: Directory;
|
|
7723
8037
|
}
|
|
7724
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
|
+
}
|
|
7725
8047
|
/**
|
|
7726
8048
|
* This domain provides experimental commands only supported in headless mode.
|
|
7727
8049
|
*/
|
|
@@ -9339,10 +9661,6 @@ export declare namespace Network {
|
|
|
9339
9661
|
* a network request.
|
|
9340
9662
|
*/
|
|
9341
9663
|
type RequestId = OpaqueIdentifier<string, 'Protocol.Network.RequestId'>;
|
|
9342
|
-
/**
|
|
9343
|
-
* Unique intercepted request identifier.
|
|
9344
|
-
*/
|
|
9345
|
-
type InterceptionId = OpaqueIdentifier<string, 'Protocol.Network.InterceptionId'>;
|
|
9346
9664
|
/**
|
|
9347
9665
|
* Network level fetch failure reason.
|
|
9348
9666
|
*/
|
|
@@ -10188,7 +10506,6 @@ export declare namespace Network {
|
|
|
10188
10506
|
SameSiteNoneInsecure = "SameSiteNoneInsecure",
|
|
10189
10507
|
UserPreferences = "UserPreferences",
|
|
10190
10508
|
ThirdPartyPhaseout = "ThirdPartyPhaseout",
|
|
10191
|
-
ThirdPartyBlockedInFirstPartySet = "ThirdPartyBlockedInFirstPartySet",
|
|
10192
10509
|
SyntaxError = "SyntaxError",
|
|
10193
10510
|
SchemeNotSupported = "SchemeNotSupported",
|
|
10194
10511
|
OverwriteSecure = "OverwriteSecure",
|
|
@@ -10215,7 +10532,6 @@ export declare namespace Network {
|
|
|
10215
10532
|
SameSiteNoneInsecure = "SameSiteNoneInsecure",
|
|
10216
10533
|
UserPreferences = "UserPreferences",
|
|
10217
10534
|
ThirdPartyPhaseout = "ThirdPartyPhaseout",
|
|
10218
|
-
ThirdPartyBlockedInFirstPartySet = "ThirdPartyBlockedInFirstPartySet",
|
|
10219
10535
|
UnknownError = "UnknownError",
|
|
10220
10536
|
SchemefulSameSiteStrict = "SchemefulSameSiteStrict",
|
|
10221
10537
|
SchemefulSameSiteLax = "SchemefulSameSiteLax",
|
|
@@ -10231,10 +10547,6 @@ export declare namespace Network {
|
|
|
10231
10547
|
const enum CookieExemptionReason {
|
|
10232
10548
|
None = "None",
|
|
10233
10549
|
UserSetting = "UserSetting",
|
|
10234
|
-
TPCDMetadata = "TPCDMetadata",
|
|
10235
|
-
TPCDDeprecationTrial = "TPCDDeprecationTrial",
|
|
10236
|
-
TopLevelTPCDDeprecationTrial = "TopLevelTPCDDeprecationTrial",
|
|
10237
|
-
TPCDHeuristics = "TPCDHeuristics",
|
|
10238
10550
|
EnterprisePolicy = "EnterprisePolicy",
|
|
10239
10551
|
StorageAccess = "StorageAccess",
|
|
10240
10552
|
TopLevelStorageAccess = "TopLevelStorageAccess",
|
|
@@ -10409,32 +10721,6 @@ export declare namespace Network {
|
|
|
10409
10721
|
*/
|
|
10410
10722
|
password?: string;
|
|
10411
10723
|
}
|
|
10412
|
-
/**
|
|
10413
|
-
* Stages of the interception to begin intercepting. Request will intercept before the request is
|
|
10414
|
-
* sent. Response will intercept after the response is received.
|
|
10415
|
-
*/
|
|
10416
|
-
const enum InterceptionStage {
|
|
10417
|
-
Request = "Request",
|
|
10418
|
-
HeadersReceived = "HeadersReceived"
|
|
10419
|
-
}
|
|
10420
|
-
/**
|
|
10421
|
-
* Request pattern for interception.
|
|
10422
|
-
*/
|
|
10423
|
-
interface RequestPattern {
|
|
10424
|
-
/**
|
|
10425
|
-
* Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is
|
|
10426
|
-
* backslash. Omitting is equivalent to `"*"`.
|
|
10427
|
-
*/
|
|
10428
|
-
urlPattern?: string;
|
|
10429
|
-
/**
|
|
10430
|
-
* If set, only requests for matching resource types will be intercepted.
|
|
10431
|
-
*/
|
|
10432
|
-
resourceType?: ResourceType;
|
|
10433
|
-
/**
|
|
10434
|
-
* Stage at which to begin intercepting requests. Default is Request.
|
|
10435
|
-
*/
|
|
10436
|
-
interceptionStage?: InterceptionStage;
|
|
10437
|
-
}
|
|
10438
10724
|
/**
|
|
10439
10725
|
* Information about a signed exchange signature.
|
|
10440
10726
|
* https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1
|
|
@@ -10557,15 +10843,6 @@ export declare namespace Network {
|
|
|
10557
10843
|
*/
|
|
10558
10844
|
errors?: SignedExchangeError[];
|
|
10559
10845
|
}
|
|
10560
|
-
/**
|
|
10561
|
-
* List of content encodings supported by the backend.
|
|
10562
|
-
*/
|
|
10563
|
-
const enum ContentEncoding {
|
|
10564
|
-
Deflate = "deflate",
|
|
10565
|
-
Gzip = "gzip",
|
|
10566
|
-
Br = "br",
|
|
10567
|
-
Zstd = "zstd"
|
|
10568
|
-
}
|
|
10569
10846
|
interface NetworkConditions {
|
|
10570
10847
|
/**
|
|
10571
10848
|
* Only matching requests will be affected by these conditions. Patterns use the URLPattern constructor string
|
|
@@ -10759,6 +11036,9 @@ export declare namespace Network {
|
|
|
10759
11036
|
filterlistRule?: string;
|
|
10760
11037
|
/**
|
|
10761
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.
|
|
10762
11042
|
*/
|
|
10763
11043
|
adScriptAncestry?: AdAncestry;
|
|
10764
11044
|
}
|
|
@@ -10996,10 +11276,12 @@ export declare namespace Network {
|
|
|
10996
11276
|
type DeviceBoundSessionEventId = OpaqueIdentifier<string, 'Protocol.Network.DeviceBoundSessionEventId'>;
|
|
10997
11277
|
/**
|
|
10998
11278
|
* A fetch result for a device bound session creation or refresh.
|
|
11279
|
+
* LINT_SKIP.IfChange(DeviceBoundSessionFetchResult)
|
|
10999
11280
|
*/
|
|
11000
11281
|
const enum DeviceBoundSessionFetchResult {
|
|
11001
11282
|
Success = "Success",
|
|
11002
|
-
|
|
11283
|
+
SigningKeyGenerationError = "SigningKeyGenerationError",
|
|
11284
|
+
AttestationKeyGenerationError = "AttestationKeyGenerationError",
|
|
11003
11285
|
SigningError = "SigningError",
|
|
11004
11286
|
TransientSigningError = "TransientSigningError",
|
|
11005
11287
|
ServerRequestedTermination = "ServerRequestedTermination",
|
|
@@ -11067,7 +11349,12 @@ export declare namespace Network {
|
|
|
11067
11349
|
InvalidFederatedSessionProviderFailedToRestoreKey = "InvalidFederatedSessionProviderFailedToRestoreKey",
|
|
11068
11350
|
FailedToUnwrapKey = "FailedToUnwrapKey",
|
|
11069
11351
|
SessionDeletedDuringRefresh = "SessionDeletedDuringRefresh",
|
|
11070
|
-
CrossOriginRegistrationSiteNotIncluded = "CrossOriginRegistrationSiteNotIncluded"
|
|
11352
|
+
CrossOriginRegistrationSiteNotIncluded = "CrossOriginRegistrationSiteNotIncluded",
|
|
11353
|
+
InvalidPreProvisionedKeyInitiatorMissing = "InvalidPreProvisionedKeyInitiatorMissing",
|
|
11354
|
+
PreProvisionedKeyAccessNotGranted = "PreProvisionedKeyAccessNotGranted",
|
|
11355
|
+
PreProvisionedKeyNotFound = "PreProvisionedKeyNotFound",
|
|
11356
|
+
AttestationCertificationError = "AttestationCertificationError",
|
|
11357
|
+
AttestationSigningError = "AttestationSigningError"
|
|
11071
11358
|
}
|
|
11072
11359
|
/**
|
|
11073
11360
|
* Details about a failed device bound session network request.
|
|
@@ -11116,11 +11403,11 @@ export declare namespace Network {
|
|
|
11116
11403
|
InitializedService = "InitializedService",
|
|
11117
11404
|
Unreachable = "Unreachable",
|
|
11118
11405
|
ServerError = "ServerError",
|
|
11119
|
-
RefreshQuotaExceeded = "RefreshQuotaExceeded",
|
|
11120
11406
|
FatalError = "FatalError",
|
|
11121
11407
|
SigningQuotaExceeded = "SigningQuotaExceeded",
|
|
11122
11408
|
RefreshedAsWaiter = "RefreshedAsWaiter",
|
|
11123
|
-
TransientSigningError = "TransientSigningError"
|
|
11409
|
+
TransientSigningError = "TransientSigningError",
|
|
11410
|
+
InScopeRefreshNotYetNeeded = "InScopeRefreshNotYetNeeded"
|
|
11124
11411
|
}
|
|
11125
11412
|
/**
|
|
11126
11413
|
* Session event details specific to refresh.
|
|
@@ -11128,9 +11415,11 @@ export declare namespace Network {
|
|
|
11128
11415
|
interface RefreshEventDetails {
|
|
11129
11416
|
/**
|
|
11130
11417
|
* The result of a refresh.
|
|
11418
|
+
* LINT_SKIP.IfChange(DeviceBoundSessionRefreshResult)
|
|
11131
11419
|
*/
|
|
11132
11420
|
refreshResult: RefreshEventDetailsRefreshResult;
|
|
11133
11421
|
/**
|
|
11422
|
+
* LINT_SKIP.ThenChange(//net/device_bound_sessions/refresh_result.h:DeviceBoundSessionRefreshResult,//content/browser/devtools/protocol/network_handler.cc:DeviceBoundSessionRefreshResult)
|
|
11134
11423
|
* If there was a fetch attempt, the result of that.
|
|
11135
11424
|
*/
|
|
11136
11425
|
fetchResult?: DeviceBoundSessionFetchResult;
|
|
@@ -11158,7 +11447,8 @@ export declare namespace Network {
|
|
|
11158
11447
|
ServerRequested = "ServerRequested",
|
|
11159
11448
|
InvalidSessionParams = "InvalidSessionParams",
|
|
11160
11449
|
RefreshFatalError = "RefreshFatalError",
|
|
11161
|
-
DevTools = "DevTools"
|
|
11450
|
+
DevTools = "DevTools",
|
|
11451
|
+
Replaced = "Replaced"
|
|
11162
11452
|
}
|
|
11163
11453
|
/**
|
|
11164
11454
|
* Session event details specific to termination.
|
|
@@ -11216,12 +11506,6 @@ export declare namespace Network {
|
|
|
11216
11506
|
disableCache: boolean;
|
|
11217
11507
|
includeCredentials: boolean;
|
|
11218
11508
|
}
|
|
11219
|
-
interface SetAcceptedEncodingsRequest {
|
|
11220
|
-
/**
|
|
11221
|
-
* List of accepted content encodings.
|
|
11222
|
-
*/
|
|
11223
|
-
encodings: ContentEncoding[];
|
|
11224
|
-
}
|
|
11225
11509
|
interface CanClearBrowserCacheResponse extends ProtocolResponseWithError {
|
|
11226
11510
|
/**
|
|
11227
11511
|
* True if browser cache can be cleared.
|
|
@@ -11240,43 +11524,6 @@ export declare namespace Network {
|
|
|
11240
11524
|
*/
|
|
11241
11525
|
result: boolean;
|
|
11242
11526
|
}
|
|
11243
|
-
interface ContinueInterceptedRequestRequest {
|
|
11244
|
-
interceptionId: InterceptionId;
|
|
11245
|
-
/**
|
|
11246
|
-
* If set this causes the request to fail with the given reason. Passing `Aborted` for requests
|
|
11247
|
-
* marked with `isNavigationRequest` also cancels the navigation. Must not be set in response
|
|
11248
|
-
* to an authChallenge.
|
|
11249
|
-
*/
|
|
11250
|
-
errorReason?: ErrorReason;
|
|
11251
|
-
/**
|
|
11252
|
-
* If set the requests completes using with the provided base64 encoded raw response, including
|
|
11253
|
-
* HTTP status line and headers etc... Must not be set in response to an authChallenge.
|
|
11254
|
-
*/
|
|
11255
|
-
rawResponse?: binary;
|
|
11256
|
-
/**
|
|
11257
|
-
* If set the request url will be modified in a way that's not observable by page. Must not be
|
|
11258
|
-
* set in response to an authChallenge.
|
|
11259
|
-
*/
|
|
11260
|
-
url?: string;
|
|
11261
|
-
/**
|
|
11262
|
-
* If set this allows the request method to be overridden. Must not be set in response to an
|
|
11263
|
-
* authChallenge.
|
|
11264
|
-
*/
|
|
11265
|
-
method?: string;
|
|
11266
|
-
/**
|
|
11267
|
-
* If set this allows postData to be set. Must not be set in response to an authChallenge.
|
|
11268
|
-
*/
|
|
11269
|
-
postData?: string;
|
|
11270
|
-
/**
|
|
11271
|
-
* If set this allows the request headers to be changed. Must not be set in response to an
|
|
11272
|
-
* authChallenge.
|
|
11273
|
-
*/
|
|
11274
|
-
headers?: Headers;
|
|
11275
|
-
/**
|
|
11276
|
-
* Response to a requestIntercepted with an authChallenge. Must not be set otherwise.
|
|
11277
|
-
*/
|
|
11278
|
-
authChallengeResponse?: AuthChallengeResponse;
|
|
11279
|
-
}
|
|
11280
11527
|
interface DeleteCookiesRequest {
|
|
11281
11528
|
/**
|
|
11282
11529
|
* Name of the cookies to remove.
|
|
@@ -11481,28 +11728,6 @@ export declare namespace Network {
|
|
|
11481
11728
|
*/
|
|
11482
11729
|
base64Encoded: boolean;
|
|
11483
11730
|
}
|
|
11484
|
-
interface GetResponseBodyForInterceptionRequest {
|
|
11485
|
-
/**
|
|
11486
|
-
* Identifier for the intercepted request to get body for.
|
|
11487
|
-
*/
|
|
11488
|
-
interceptionId: InterceptionId;
|
|
11489
|
-
}
|
|
11490
|
-
interface GetResponseBodyForInterceptionResponse extends ProtocolResponseWithError {
|
|
11491
|
-
/**
|
|
11492
|
-
* Response body.
|
|
11493
|
-
*/
|
|
11494
|
-
body: string;
|
|
11495
|
-
/**
|
|
11496
|
-
* True, if content was sent as base64.
|
|
11497
|
-
*/
|
|
11498
|
-
base64Encoded: boolean;
|
|
11499
|
-
}
|
|
11500
|
-
interface TakeResponseBodyForInterceptionAsStreamRequest {
|
|
11501
|
-
interceptionId: InterceptionId;
|
|
11502
|
-
}
|
|
11503
|
-
interface TakeResponseBodyForInterceptionAsStreamResponse extends ProtocolResponseWithError {
|
|
11504
|
-
stream: IO.StreamHandle;
|
|
11505
|
-
}
|
|
11506
11731
|
interface ReplayXHRRequest {
|
|
11507
11732
|
/**
|
|
11508
11733
|
* Identifier of XHR to replay.
|
|
@@ -11639,13 +11864,6 @@ export declare namespace Network {
|
|
|
11639
11864
|
*/
|
|
11640
11865
|
enabled: boolean;
|
|
11641
11866
|
}
|
|
11642
|
-
interface SetRequestInterceptionRequest {
|
|
11643
|
-
/**
|
|
11644
|
-
* Requests matching any of these patterns will be forwarded and wait for the corresponding
|
|
11645
|
-
* continueInterceptedRequest call.
|
|
11646
|
-
*/
|
|
11647
|
-
patterns: RequestPattern[];
|
|
11648
|
-
}
|
|
11649
11867
|
interface SetUserAgentOverrideRequest {
|
|
11650
11868
|
/**
|
|
11651
11869
|
* User agent to use.
|
|
@@ -11837,72 +12055,11 @@ export declare namespace Network {
|
|
|
11837
12055
|
encodedDataLength: number;
|
|
11838
12056
|
}
|
|
11839
12057
|
/**
|
|
11840
|
-
*
|
|
11841
|
-
* mocked.
|
|
11842
|
-
* Deprecated, use Fetch.requestPaused instead.
|
|
11843
|
-
* @deprecated
|
|
12058
|
+
* Fired if request ended up loading from cache.
|
|
11844
12059
|
*/
|
|
11845
|
-
interface
|
|
11846
|
-
/**
|
|
11847
|
-
* Each request the page makes will have a unique id, however if any redirects are encountered
|
|
11848
|
-
* while processing that fetch, they will be reported with the same id as the original fetch.
|
|
11849
|
-
* Likewise if HTTP authentication is needed then the same fetch id will be used.
|
|
11850
|
-
*/
|
|
11851
|
-
interceptionId: InterceptionId;
|
|
11852
|
-
request: Request;
|
|
12060
|
+
interface RequestServedFromCacheEvent {
|
|
11853
12061
|
/**
|
|
11854
|
-
*
|
|
11855
|
-
*/
|
|
11856
|
-
frameId: Page.FrameId;
|
|
11857
|
-
/**
|
|
11858
|
-
* How the requested resource will be used.
|
|
11859
|
-
*/
|
|
11860
|
-
resourceType: ResourceType;
|
|
11861
|
-
/**
|
|
11862
|
-
* Whether this is a navigation request, which can abort the navigation completely.
|
|
11863
|
-
*/
|
|
11864
|
-
isNavigationRequest: boolean;
|
|
11865
|
-
/**
|
|
11866
|
-
* Set if the request is a navigation that will result in a download.
|
|
11867
|
-
* Only present after response is received from the server (i.e. HeadersReceived stage).
|
|
11868
|
-
*/
|
|
11869
|
-
isDownload?: boolean;
|
|
11870
|
-
/**
|
|
11871
|
-
* Redirect location, only sent if a redirect was intercepted.
|
|
11872
|
-
*/
|
|
11873
|
-
redirectUrl?: string;
|
|
11874
|
-
/**
|
|
11875
|
-
* Details of the Authorization Challenge encountered. If this is set then
|
|
11876
|
-
* continueInterceptedRequest must contain an authChallengeResponse.
|
|
11877
|
-
*/
|
|
11878
|
-
authChallenge?: AuthChallenge;
|
|
11879
|
-
/**
|
|
11880
|
-
* Response error if intercepted at response stage or if redirect occurred while intercepting
|
|
11881
|
-
* request.
|
|
11882
|
-
*/
|
|
11883
|
-
responseErrorReason?: ErrorReason;
|
|
11884
|
-
/**
|
|
11885
|
-
* Response code if intercepted at response stage or if redirect occurred while intercepting
|
|
11886
|
-
* request or auth retry occurred.
|
|
11887
|
-
*/
|
|
11888
|
-
responseStatusCode?: integer;
|
|
11889
|
-
/**
|
|
11890
|
-
* Response headers if intercepted at the response stage or if redirect occurred while
|
|
11891
|
-
* intercepting request or auth retry occurred.
|
|
11892
|
-
*/
|
|
11893
|
-
responseHeaders?: Headers;
|
|
11894
|
-
/**
|
|
11895
|
-
* If the intercepted request had a corresponding requestWillBeSent event fired for it, then
|
|
11896
|
-
* this requestId will be the same as the requestId present in the requestWillBeSent event.
|
|
11897
|
-
*/
|
|
11898
|
-
requestId?: RequestId;
|
|
11899
|
-
}
|
|
11900
|
-
/**
|
|
11901
|
-
* Fired if request ended up loading from cache.
|
|
11902
|
-
*/
|
|
11903
|
-
interface RequestServedFromCacheEvent {
|
|
11904
|
-
/**
|
|
11905
|
-
* Request identifier.
|
|
12062
|
+
* Request identifier.
|
|
11906
12063
|
*/
|
|
11907
12064
|
requestId: RequestId;
|
|
11908
12065
|
}
|
|
@@ -12231,7 +12388,7 @@ export declare namespace Network {
|
|
|
12231
12388
|
*/
|
|
12232
12389
|
interface DirectTCPSocketAbortedEvent {
|
|
12233
12390
|
identifier: RequestId;
|
|
12234
|
-
errorMessage:
|
|
12391
|
+
errorMessage: ErrorReason;
|
|
12235
12392
|
timestamp: MonotonicTime;
|
|
12236
12393
|
}
|
|
12237
12394
|
/**
|
|
@@ -12296,7 +12453,7 @@ export declare namespace Network {
|
|
|
12296
12453
|
*/
|
|
12297
12454
|
interface DirectUDPSocketAbortedEvent {
|
|
12298
12455
|
identifier: RequestId;
|
|
12299
|
-
errorMessage:
|
|
12456
|
+
errorMessage: ErrorReason;
|
|
12300
12457
|
timestamp: MonotonicTime;
|
|
12301
12458
|
}
|
|
12302
12459
|
/**
|
|
@@ -12729,6 +12886,47 @@ export declare namespace Overlay {
|
|
|
12729
12886
|
Aaa = "aaa",
|
|
12730
12887
|
Apca = "apca"
|
|
12731
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
|
+
}
|
|
12732
12930
|
/**
|
|
12733
12931
|
* Configuration data for the highlighting of page elements.
|
|
12734
12932
|
*/
|
|
@@ -12809,6 +13007,10 @@ export declare namespace Overlay {
|
|
|
12809
13007
|
* The container query container highlight configuration (default: all transparent).
|
|
12810
13008
|
*/
|
|
12811
13009
|
containerQueryContainerHighlightConfig?: ContainerQueryContainerHighlightConfig;
|
|
13010
|
+
/**
|
|
13011
|
+
* The IMCB highlight configuration (default: all transparent).
|
|
13012
|
+
*/
|
|
13013
|
+
imcbHighlightConfig?: ImcbHighlightConfig;
|
|
12812
13014
|
}
|
|
12813
13015
|
const enum ColorFormat {
|
|
12814
13016
|
Rgb = "rgb",
|
|
@@ -12884,6 +13086,56 @@ export declare namespace Overlay {
|
|
|
12884
13086
|
*/
|
|
12885
13087
|
outlineColor?: DOM.RGBA;
|
|
12886
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
|
+
}
|
|
12887
13139
|
/**
|
|
12888
13140
|
* Configuration for Window Controls Overlay
|
|
12889
13141
|
*/
|
|
@@ -13211,6 +13463,12 @@ export declare namespace Overlay {
|
|
|
13211
13463
|
*/
|
|
13212
13464
|
hingeConfig?: HingeConfig;
|
|
13213
13465
|
}
|
|
13466
|
+
interface SetShowDisplayCutoutRequest {
|
|
13467
|
+
/**
|
|
13468
|
+
* display cutout data, null means hide display cutout
|
|
13469
|
+
*/
|
|
13470
|
+
displayCutoutConfig?: DisplayCutoutConfig;
|
|
13471
|
+
}
|
|
13214
13472
|
interface SetShowIsolatedElementsRequest {
|
|
13215
13473
|
/**
|
|
13216
13474
|
* An array of node identifiers and descriptors for the highlight appearance.
|
|
@@ -13421,7 +13679,6 @@ export declare namespace Page {
|
|
|
13421
13679
|
AllScreensCapture = "all-screens-capture",
|
|
13422
13680
|
AmbientLightSensor = "ambient-light-sensor",
|
|
13423
13681
|
AriaNotify = "aria-notify",
|
|
13424
|
-
AttributionReporting = "attribution-reporting",
|
|
13425
13682
|
Autofill = "autofill",
|
|
13426
13683
|
Autoplay = "autoplay",
|
|
13427
13684
|
Bluetooth = "bluetooth",
|
|
@@ -13464,7 +13721,6 @@ export declare namespace Page {
|
|
|
13464
13721
|
DigitalCredentialsGet = "digital-credentials-get",
|
|
13465
13722
|
DirectSockets = "direct-sockets",
|
|
13466
13723
|
DirectSocketsMulticast = "direct-sockets-multicast",
|
|
13467
|
-
DirectSocketsPrivate = "direct-sockets-private",
|
|
13468
13724
|
DisplayCapture = "display-capture",
|
|
13469
13725
|
DocumentDomain = "document-domain",
|
|
13470
13726
|
EncryptedMedia = "encrypted-media",
|
|
@@ -13476,11 +13732,11 @@ export declare namespace Page {
|
|
|
13476
13732
|
Gamepad = "gamepad",
|
|
13477
13733
|
Geolocation = "geolocation",
|
|
13478
13734
|
Gyroscope = "gyroscope",
|
|
13735
|
+
Haptics = "haptics",
|
|
13479
13736
|
Hid = "hid",
|
|
13480
13737
|
IdentityCredentialsGet = "identity-credentials-get",
|
|
13481
13738
|
IdleDetection = "idle-detection",
|
|
13482
13739
|
InterestCohort = "interest-cohort",
|
|
13483
|
-
JoinAdInterestGroup = "join-ad-interest-group",
|
|
13484
13740
|
KeyboardMap = "keyboard-map",
|
|
13485
13741
|
LanguageDetector = "language-detector",
|
|
13486
13742
|
LanguageModel = "language-model",
|
|
@@ -13497,14 +13753,12 @@ export declare namespace Page {
|
|
|
13497
13753
|
OtpCredentials = "otp-credentials",
|
|
13498
13754
|
Payment = "payment",
|
|
13499
13755
|
PictureInPicture = "picture-in-picture",
|
|
13500
|
-
PrivateAggregation = "private-aggregation",
|
|
13501
13756
|
PrivateStateTokenIssuance = "private-state-token-issuance",
|
|
13502
13757
|
PrivateStateTokenRedemption = "private-state-token-redemption",
|
|
13503
13758
|
PublickeyCredentialsCreate = "publickey-credentials-create",
|
|
13504
13759
|
PublickeyCredentialsGet = "publickey-credentials-get",
|
|
13505
|
-
|
|
13760
|
+
PublickeyCredentialsRemoteClientDataJson = "publickey-credentials-remote-client-data-json",
|
|
13506
13761
|
Rewriter = "rewriter",
|
|
13507
|
-
RunAdAuction = "run-ad-auction",
|
|
13508
13762
|
ScreenWakeLock = "screen-wake-lock",
|
|
13509
13763
|
Serial = "serial",
|
|
13510
13764
|
SharedStorage = "shared-storage",
|
|
@@ -13522,6 +13776,7 @@ export declare namespace Page {
|
|
|
13522
13776
|
UsbUnrestricted = "usb-unrestricted",
|
|
13523
13777
|
VerticalScroll = "vertical-scroll",
|
|
13524
13778
|
WebAppInstallation = "web-app-installation",
|
|
13779
|
+
Webnn = "webnn",
|
|
13525
13780
|
WebPrinting = "web-printing",
|
|
13526
13781
|
WebShare = "web-share",
|
|
13527
13782
|
WindowManagement = "window-management",
|
|
@@ -13820,6 +14075,10 @@ export declare namespace Page {
|
|
|
13820
14075
|
* Frame swap timestamp.
|
|
13821
14076
|
*/
|
|
13822
14077
|
timestamp?: Network.TimeSinceEpoch;
|
|
14078
|
+
/**
|
|
14079
|
+
* Frame swap timestamp as monotonic time.
|
|
14080
|
+
*/
|
|
14081
|
+
monotonicTimestamp?: Network.MonotonicTime;
|
|
13823
14082
|
}
|
|
13824
14083
|
/**
|
|
13825
14084
|
* Javascript dialog type.
|
|
@@ -14077,7 +14336,6 @@ export declare namespace Page {
|
|
|
14077
14336
|
interface FileHandler {
|
|
14078
14337
|
action: string;
|
|
14079
14338
|
name: string;
|
|
14080
|
-
icons?: ImageResource[];
|
|
14081
14339
|
/**
|
|
14082
14340
|
* Mimic a map, name is the key, accepts is the value.
|
|
14083
14341
|
*/
|
|
@@ -14189,6 +14447,24 @@ export declare namespace Page {
|
|
|
14189
14447
|
startUrl?: string;
|
|
14190
14448
|
themeColor?: string;
|
|
14191
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
|
+
}
|
|
14192
14468
|
/**
|
|
14193
14469
|
* The type of a frameNavigated event.
|
|
14194
14470
|
*/
|
|
@@ -14343,6 +14619,7 @@ export declare namespace Page {
|
|
|
14343
14619
|
EmbedderExtensionMessagingForOpenPort = "EmbedderExtensionMessagingForOpenPort",
|
|
14344
14620
|
EmbedderExtensionSentMessageToCachedFrame = "EmbedderExtensionSentMessageToCachedFrame",
|
|
14345
14621
|
EmbedderExtensionFrame = "EmbedderExtensionFrame",
|
|
14622
|
+
EmbedderPrivilegedWebContents = "EmbedderPrivilegedWebContents",
|
|
14346
14623
|
RequestedByWebViewClient = "RequestedByWebViewClient",
|
|
14347
14624
|
PostMessageByWebViewClient = "PostMessageByWebViewClient",
|
|
14348
14625
|
CacheControlNoStoreDeviceBoundSessionTerminated = "CacheControlNoStoreDeviceBoundSessionTerminated",
|
|
@@ -14506,6 +14783,15 @@ export declare namespace Page {
|
|
|
14506
14783
|
* option, use with caution.
|
|
14507
14784
|
*/
|
|
14508
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;
|
|
14509
14795
|
}
|
|
14510
14796
|
interface CreateIsolatedWorldResponse extends ProtocolResponseWithError {
|
|
14511
14797
|
/**
|
|
@@ -14565,6 +14851,20 @@ export declare namespace Page {
|
|
|
14565
14851
|
* Recommendation for manifest's id attribute to match current id computed from start_url
|
|
14566
14852
|
*/
|
|
14567
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[];
|
|
14568
14868
|
}
|
|
14569
14869
|
interface GetAdScriptAncestryRequest {
|
|
14570
14870
|
frameId: FrameId;
|
|
@@ -15052,9 +15352,48 @@ export declare namespace Page {
|
|
|
15052
15352
|
*/
|
|
15053
15353
|
maxHeight?: integer;
|
|
15054
15354
|
/**
|
|
15055
|
-
* Send every n-th frame.
|
|
15355
|
+
* Send every n-th frame. Must be a positive integer.
|
|
15056
15356
|
*/
|
|
15057
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;
|
|
15058
15397
|
}
|
|
15059
15398
|
const enum SetWebLifecycleStateRequestState {
|
|
15060
15399
|
Frozen = "frozen",
|
|
@@ -15913,7 +16252,9 @@ export declare namespace Preload {
|
|
|
15913
16252
|
PrefetchIneligibleRetryAfter = "PrefetchIneligibleRetryAfter",
|
|
15914
16253
|
PrefetchIsPrivacyDecoy = "PrefetchIsPrivacyDecoy",
|
|
15915
16254
|
PrefetchIsStale = "PrefetchIsStale",
|
|
16255
|
+
PrefetchNotEligibleBlockedByConnectionAllowlist = "PrefetchNotEligibleBlockedByConnectionAllowlist",
|
|
15916
16256
|
PrefetchNotEligibleBrowserContextOffTheRecord = "PrefetchNotEligibleBrowserContextOffTheRecord",
|
|
16257
|
+
PrefetchNotEligibleCrossOrigin = "PrefetchNotEligibleCrossOrigin",
|
|
15917
16258
|
PrefetchNotEligibleDataSaverEnabled = "PrefetchNotEligibleDataSaverEnabled",
|
|
15918
16259
|
PrefetchNotEligibleExistingProxy = "PrefetchNotEligibleExistingProxy",
|
|
15919
16260
|
PrefetchNotEligibleHostIsNonUnique = "PrefetchNotEligibleHostIsNonUnique",
|
|
@@ -15933,7 +16274,8 @@ export declare namespace Preload {
|
|
|
15933
16274
|
PrefetchProxyNotAvailable = "PrefetchProxyNotAvailable",
|
|
15934
16275
|
PrefetchResponseUsed = "PrefetchResponseUsed",
|
|
15935
16276
|
PrefetchSuccessfulButNotUsed = "PrefetchSuccessfulButNotUsed",
|
|
15936
|
-
PrefetchNotUsedProbeFailed = "PrefetchNotUsedProbeFailed"
|
|
16277
|
+
PrefetchNotUsedProbeFailed = "PrefetchNotUsedProbeFailed",
|
|
16278
|
+
PrefetchCancelledOnUserNavigation = "PrefetchCancelledOnUserNavigation"
|
|
15937
16279
|
}
|
|
15938
16280
|
/**
|
|
15939
16281
|
* Information of headers to be displayed when the header mismatch occurred.
|
|
@@ -15984,6 +16326,12 @@ export declare namespace Preload {
|
|
|
15984
16326
|
key: PreloadingAttemptKey;
|
|
15985
16327
|
pipelineId: PreloadPipelineId;
|
|
15986
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;
|
|
15987
16335
|
prerenderStatus?: PrerenderFinalStatus;
|
|
15988
16336
|
/**
|
|
15989
16337
|
* This is used to give users more information about the name of Mojo interface
|
|
@@ -16320,6 +16668,57 @@ export declare namespace ServiceWorker {
|
|
|
16320
16668
|
Activated = "activated",
|
|
16321
16669
|
Redundant = "redundant"
|
|
16322
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
|
+
}
|
|
16323
16722
|
/**
|
|
16324
16723
|
* ServiceWorker version.
|
|
16325
16724
|
*/
|
|
@@ -16340,7 +16739,13 @@ export declare namespace ServiceWorker {
|
|
|
16340
16739
|
scriptResponseTime?: number;
|
|
16341
16740
|
controlledClients?: Target.TargetID[];
|
|
16342
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
|
+
*/
|
|
16343
16747
|
routerRules?: string;
|
|
16748
|
+
typedRouterRules?: ServiceWorkerRouterRule[];
|
|
16344
16749
|
}
|
|
16345
16750
|
/**
|
|
16346
16751
|
* ServiceWorker error message.
|
|
@@ -16737,8 +17142,6 @@ export declare namespace Storage {
|
|
|
16737
17142
|
Websql = "websql",
|
|
16738
17143
|
Service_workers = "service_workers",
|
|
16739
17144
|
Cache_storage = "cache_storage",
|
|
16740
|
-
Interest_groups = "interest_groups",
|
|
16741
|
-
Shared_storage = "shared_storage",
|
|
16742
17145
|
Storage_buckets = "storage_buckets",
|
|
16743
17146
|
All = "all",
|
|
16744
17147
|
Other = "other"
|
|
@@ -16765,245 +17168,50 @@ export declare namespace Storage {
|
|
|
16765
17168
|
count: number;
|
|
16766
17169
|
}
|
|
16767
17170
|
/**
|
|
16768
|
-
*
|
|
16769
|
-
*/
|
|
16770
|
-
type InterestGroupAuctionId = OpaqueIdentifier<string, 'Protocol.Storage.InterestGroupAuctionId'>;
|
|
16771
|
-
/**
|
|
16772
|
-
* Enum of interest group access types.
|
|
16773
|
-
*/
|
|
16774
|
-
const enum InterestGroupAccessType {
|
|
16775
|
-
Join = "join",
|
|
16776
|
-
Leave = "leave",
|
|
16777
|
-
Update = "update",
|
|
16778
|
-
Loaded = "loaded",
|
|
16779
|
-
Bid = "bid",
|
|
16780
|
-
Win = "win",
|
|
16781
|
-
AdditionalBid = "additionalBid",
|
|
16782
|
-
AdditionalBidWin = "additionalBidWin",
|
|
16783
|
-
TopLevelBid = "topLevelBid",
|
|
16784
|
-
TopLevelAdditionalBid = "topLevelAdditionalBid",
|
|
16785
|
-
Clear = "clear"
|
|
16786
|
-
}
|
|
16787
|
-
/**
|
|
16788
|
-
* Enum of auction events.
|
|
16789
|
-
*/
|
|
16790
|
-
const enum InterestGroupAuctionEventType {
|
|
16791
|
-
Started = "started",
|
|
16792
|
-
ConfigResolved = "configResolved"
|
|
16793
|
-
}
|
|
16794
|
-
/**
|
|
16795
|
-
* Enum of network fetches auctions can do.
|
|
16796
|
-
*/
|
|
16797
|
-
const enum InterestGroupAuctionFetchType {
|
|
16798
|
-
BidderJs = "bidderJs",
|
|
16799
|
-
BidderWasm = "bidderWasm",
|
|
16800
|
-
SellerJs = "sellerJs",
|
|
16801
|
-
BidderTrustedSignals = "bidderTrustedSignals",
|
|
16802
|
-
SellerTrustedSignals = "sellerTrustedSignals"
|
|
16803
|
-
}
|
|
16804
|
-
/**
|
|
16805
|
-
* Enum of shared storage access scopes.
|
|
16806
|
-
*/
|
|
16807
|
-
const enum SharedStorageAccessScope {
|
|
16808
|
-
Window = "window",
|
|
16809
|
-
SharedStorageWorklet = "sharedStorageWorklet",
|
|
16810
|
-
ProtectedAudienceWorklet = "protectedAudienceWorklet",
|
|
16811
|
-
Header = "header"
|
|
16812
|
-
}
|
|
16813
|
-
/**
|
|
16814
|
-
* Enum of shared storage access methods.
|
|
16815
|
-
*/
|
|
16816
|
-
const enum SharedStorageAccessMethod {
|
|
16817
|
-
AddModule = "addModule",
|
|
16818
|
-
CreateWorklet = "createWorklet",
|
|
16819
|
-
SelectURL = "selectURL",
|
|
16820
|
-
Run = "run",
|
|
16821
|
-
BatchUpdate = "batchUpdate",
|
|
16822
|
-
Set = "set",
|
|
16823
|
-
Append = "append",
|
|
16824
|
-
Delete = "delete",
|
|
16825
|
-
Clear = "clear",
|
|
16826
|
-
Get = "get",
|
|
16827
|
-
Keys = "keys",
|
|
16828
|
-
Values = "values",
|
|
16829
|
-
Entries = "entries",
|
|
16830
|
-
Length = "length",
|
|
16831
|
-
RemainingBudget = "remainingBudget"
|
|
16832
|
-
}
|
|
16833
|
-
/**
|
|
16834
|
-
* Struct for a single key-value pair in an origin's shared storage.
|
|
16835
|
-
*/
|
|
16836
|
-
interface SharedStorageEntry {
|
|
16837
|
-
key: string;
|
|
16838
|
-
value: string;
|
|
16839
|
-
}
|
|
16840
|
-
/**
|
|
16841
|
-
* Details for an origin's shared storage.
|
|
17171
|
+
* Details of a stored Private Verification Token.
|
|
16842
17172
|
*/
|
|
16843
|
-
interface
|
|
16844
|
-
/**
|
|
16845
|
-
* Time when the origin's shared storage was last created.
|
|
16846
|
-
*/
|
|
16847
|
-
creationTime: Network.TimeSinceEpoch;
|
|
16848
|
-
/**
|
|
16849
|
-
* Number of key-value pairs stored in origin's shared storage.
|
|
16850
|
-
*/
|
|
16851
|
-
length: integer;
|
|
16852
|
-
/**
|
|
16853
|
-
* Current amount of bits of entropy remaining in the navigation budget.
|
|
16854
|
-
*/
|
|
16855
|
-
remainingBudget: number;
|
|
17173
|
+
interface PrivateVerificationToken {
|
|
16856
17174
|
/**
|
|
16857
|
-
*
|
|
16858
|
-
* storage.
|
|
17175
|
+
* Unique identifier of the token in the database.
|
|
16859
17176
|
*/
|
|
16860
|
-
|
|
16861
|
-
}
|
|
16862
|
-
/**
|
|
16863
|
-
* Represents a dictionary object passed in as privateAggregationConfig to
|
|
16864
|
-
* run or selectURL.
|
|
16865
|
-
*/
|
|
16866
|
-
interface SharedStoragePrivateAggregationConfig {
|
|
17177
|
+
id: string;
|
|
16867
17178
|
/**
|
|
16868
|
-
*
|
|
17179
|
+
* Origin of the token issuer.
|
|
16869
17180
|
*/
|
|
16870
|
-
|
|
17181
|
+
issuerOrigin: string;
|
|
16871
17182
|
/**
|
|
16872
|
-
*
|
|
17183
|
+
* Public key ID used to issue the token.
|
|
16873
17184
|
*/
|
|
16874
|
-
|
|
17185
|
+
keyId: integer;
|
|
16875
17186
|
/**
|
|
16876
|
-
*
|
|
17187
|
+
* Expiration timestamp in seconds since the epoch.
|
|
16877
17188
|
*/
|
|
16878
|
-
|
|
17189
|
+
expiration: Network.TimeSinceEpoch;
|
|
16879
17190
|
/**
|
|
16880
|
-
*
|
|
17191
|
+
* Token creation timestamp in seconds since the epoch.
|
|
16881
17192
|
*/
|
|
16882
|
-
|
|
16883
|
-
}
|
|
16884
|
-
/**
|
|
16885
|
-
* Pair of reporting metadata details for a candidate URL for `selectURL()`.
|
|
16886
|
-
*/
|
|
16887
|
-
interface SharedStorageReportingMetadata {
|
|
16888
|
-
eventType: string;
|
|
16889
|
-
reportingUrl: string;
|
|
16890
|
-
}
|
|
16891
|
-
/**
|
|
16892
|
-
* Bundles a candidate URL with its reporting metadata.
|
|
16893
|
-
*/
|
|
16894
|
-
interface SharedStorageUrlWithMetadata {
|
|
17193
|
+
creationTime: Network.TimeSinceEpoch;
|
|
16895
17194
|
/**
|
|
16896
|
-
*
|
|
17195
|
+
* Token protocol version.
|
|
16897
17196
|
*/
|
|
16898
|
-
|
|
17197
|
+
version: integer;
|
|
16899
17198
|
/**
|
|
16900
|
-
*
|
|
17199
|
+
* Base64-encoded serialized token.
|
|
16901
17200
|
*/
|
|
16902
|
-
|
|
17201
|
+
token: string;
|
|
16903
17202
|
}
|
|
16904
17203
|
/**
|
|
16905
|
-
*
|
|
16906
|
-
* presence/absence can vary according to SharedStorageAccessType.
|
|
17204
|
+
* Configuration for a Private Verification Tokens issuer.
|
|
16907
17205
|
*/
|
|
16908
|
-
interface
|
|
16909
|
-
/**
|
|
16910
|
-
* Spec of the module script URL.
|
|
16911
|
-
* Present only for SharedStorageAccessMethods: addModule and
|
|
16912
|
-
* createWorklet.
|
|
16913
|
-
*/
|
|
16914
|
-
scriptSourceUrl?: string;
|
|
16915
|
-
/**
|
|
16916
|
-
* String denoting "context-origin", "script-origin", or a custom
|
|
16917
|
-
* origin to be used as the worklet's data origin.
|
|
16918
|
-
* Present only for SharedStorageAccessMethod: createWorklet.
|
|
16919
|
-
*/
|
|
16920
|
-
dataOrigin?: string;
|
|
16921
|
-
/**
|
|
16922
|
-
* Name of the registered operation to be run.
|
|
16923
|
-
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
16924
|
-
*/
|
|
16925
|
-
operationName?: string;
|
|
16926
|
-
/**
|
|
16927
|
-
* ID of the operation call.
|
|
16928
|
-
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
16929
|
-
*/
|
|
16930
|
-
operationId?: string;
|
|
16931
|
-
/**
|
|
16932
|
-
* Whether or not to keep the worket alive for future run or selectURL
|
|
16933
|
-
* calls.
|
|
16934
|
-
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
16935
|
-
*/
|
|
16936
|
-
keepAlive?: boolean;
|
|
16937
|
-
/**
|
|
16938
|
-
* Configures the private aggregation options.
|
|
16939
|
-
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
16940
|
-
*/
|
|
16941
|
-
privateAggregationConfig?: SharedStoragePrivateAggregationConfig;
|
|
16942
|
-
/**
|
|
16943
|
-
* The operation's serialized data in bytes (converted to a string).
|
|
16944
|
-
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
16945
|
-
* TODO(crbug.com/401011862): Consider updating this parameter to binary.
|
|
16946
|
-
*/
|
|
16947
|
-
serializedData?: string;
|
|
16948
|
-
/**
|
|
16949
|
-
* Array of candidate URLs' specs, along with any associated metadata.
|
|
16950
|
-
* Present only for SharedStorageAccessMethod: selectURL.
|
|
16951
|
-
*/
|
|
16952
|
-
urlsWithMetadata?: SharedStorageUrlWithMetadata[];
|
|
16953
|
-
/**
|
|
16954
|
-
* Spec of the URN:UUID generated for a selectURL call.
|
|
16955
|
-
* Present only for SharedStorageAccessMethod: selectURL.
|
|
16956
|
-
*/
|
|
16957
|
-
urnUuid?: string;
|
|
16958
|
-
/**
|
|
16959
|
-
* Key for a specific entry in an origin's shared storage.
|
|
16960
|
-
* Present only for SharedStorageAccessMethods: set, append, delete, and
|
|
16961
|
-
* get.
|
|
16962
|
-
*/
|
|
16963
|
-
key?: string;
|
|
16964
|
-
/**
|
|
16965
|
-
* Value for a specific entry in an origin's shared storage.
|
|
16966
|
-
* Present only for SharedStorageAccessMethods: set and append.
|
|
16967
|
-
*/
|
|
16968
|
-
value?: string;
|
|
16969
|
-
/**
|
|
16970
|
-
* Whether or not to set an entry for a key if that key is already present.
|
|
16971
|
-
* Present only for SharedStorageAccessMethod: set.
|
|
16972
|
-
*/
|
|
16973
|
-
ignoreIfPresent?: boolean;
|
|
16974
|
-
/**
|
|
16975
|
-
* A number denoting the (0-based) order of the worklet's
|
|
16976
|
-
* creation relative to all other shared storage worklets created by
|
|
16977
|
-
* documents using the current storage partition.
|
|
16978
|
-
* Present only for SharedStorageAccessMethods: addModule, createWorklet.
|
|
16979
|
-
*/
|
|
16980
|
-
workletOrdinal?: integer;
|
|
16981
|
-
/**
|
|
16982
|
-
* Hex representation of the DevTools token used as the TargetID for the
|
|
16983
|
-
* associated shared storage worklet.
|
|
16984
|
-
* Present only for SharedStorageAccessMethods: addModule, createWorklet,
|
|
16985
|
-
* run, selectURL, and any other SharedStorageAccessMethod when the
|
|
16986
|
-
* SharedStorageAccessScope is sharedStorageWorklet.
|
|
16987
|
-
*/
|
|
16988
|
-
workletTargetId?: Target.TargetID;
|
|
17206
|
+
interface PrivateVerificationTokensIssuerConfig {
|
|
16989
17207
|
/**
|
|
16990
|
-
*
|
|
16991
|
-
* Optionally present only for SharedStorageAccessMethods: batchUpdate,
|
|
16992
|
-
* set, append, delete, and clear.
|
|
17208
|
+
* Origin of the token issuer.
|
|
16993
17209
|
*/
|
|
16994
|
-
|
|
16995
|
-
/**
|
|
16996
|
-
* If the method has been called as part of a batchUpdate, then this
|
|
16997
|
-
* number identifies the batch to which it belongs.
|
|
16998
|
-
* Optionally present only for SharedStorageAccessMethods:
|
|
16999
|
-
* batchUpdate (required), set, append, delete, and clear.
|
|
17000
|
-
*/
|
|
17001
|
-
batchUpdateId?: string;
|
|
17210
|
+
issuerOrigin: string;
|
|
17002
17211
|
/**
|
|
17003
|
-
*
|
|
17004
|
-
* Present only for SharedStorageAccessMethod: batchUpdate.
|
|
17212
|
+
* Origins authorized to redeem tokens from this issuer.
|
|
17005
17213
|
*/
|
|
17006
|
-
|
|
17214
|
+
redeemerOrigins: string[];
|
|
17007
17215
|
}
|
|
17008
17216
|
const enum StorageBucketsDurability {
|
|
17009
17217
|
Relaxed = "relaxed",
|
|
@@ -17027,23 +17235,6 @@ export declare namespace Storage {
|
|
|
17027
17235
|
persistent: boolean;
|
|
17028
17236
|
durability: StorageBucketsDurability;
|
|
17029
17237
|
}
|
|
17030
|
-
/**
|
|
17031
|
-
* A single Related Website Set object.
|
|
17032
|
-
*/
|
|
17033
|
-
interface RelatedWebsiteSet {
|
|
17034
|
-
/**
|
|
17035
|
-
* The primary site of this set, along with the ccTLDs if there is any.
|
|
17036
|
-
*/
|
|
17037
|
-
primarySites: string[];
|
|
17038
|
-
/**
|
|
17039
|
-
* The associated sites of this set, along with the ccTLDs if there is any.
|
|
17040
|
-
*/
|
|
17041
|
-
associatedSites: string[];
|
|
17042
|
-
/**
|
|
17043
|
-
* The service sites of this set, along with the ccTLDs if there is any.
|
|
17044
|
-
*/
|
|
17045
|
-
serviceSites: string[];
|
|
17046
|
-
}
|
|
17047
17238
|
interface GetStorageKeyForFrameRequest {
|
|
17048
17239
|
frameId: Page.FrameId;
|
|
17049
17240
|
}
|
|
@@ -17204,58 +17395,19 @@ export declare namespace Storage {
|
|
|
17204
17395
|
*/
|
|
17205
17396
|
didDeleteTokens: boolean;
|
|
17206
17397
|
}
|
|
17207
|
-
interface
|
|
17208
|
-
|
|
17209
|
-
name: string;
|
|
17210
|
-
}
|
|
17211
|
-
interface GetInterestGroupDetailsResponse extends ProtocolResponseWithError {
|
|
17212
|
-
/**
|
|
17213
|
-
* This largely corresponds to:
|
|
17214
|
-
* https://wicg.github.io/turtledove/#dictdef-generatebidinterestgroup
|
|
17215
|
-
* but has absolute expirationTime instead of relative lifetimeMs and
|
|
17216
|
-
* also adds joiningOrigin.
|
|
17217
|
-
*/
|
|
17218
|
-
details: any;
|
|
17219
|
-
}
|
|
17220
|
-
interface SetInterestGroupTrackingRequest {
|
|
17221
|
-
enable: boolean;
|
|
17222
|
-
}
|
|
17223
|
-
interface SetInterestGroupAuctionTrackingRequest {
|
|
17224
|
-
enable: boolean;
|
|
17225
|
-
}
|
|
17226
|
-
interface GetSharedStorageMetadataRequest {
|
|
17227
|
-
ownerOrigin: string;
|
|
17228
|
-
}
|
|
17229
|
-
interface GetSharedStorageMetadataResponse extends ProtocolResponseWithError {
|
|
17230
|
-
metadata: SharedStorageMetadata;
|
|
17398
|
+
interface GetPrivateVerificationTokensResponse extends ProtocolResponseWithError {
|
|
17399
|
+
tokens: PrivateVerificationToken[];
|
|
17231
17400
|
}
|
|
17232
|
-
interface
|
|
17233
|
-
|
|
17401
|
+
interface GetPrivateVerificationTokensIssuerConfigsResponse extends ProtocolResponseWithError {
|
|
17402
|
+
configs: PrivateVerificationTokensIssuerConfig[];
|
|
17234
17403
|
}
|
|
17235
|
-
interface
|
|
17236
|
-
|
|
17237
|
-
}
|
|
17238
|
-
interface SetSharedStorageEntryRequest {
|
|
17239
|
-
ownerOrigin: string;
|
|
17240
|
-
key: string;
|
|
17241
|
-
value: string;
|
|
17242
|
-
/**
|
|
17243
|
-
* If `ignoreIfPresent` is included and true, then only sets the entry if
|
|
17244
|
-
* `key` doesn't already exist.
|
|
17245
|
-
*/
|
|
17246
|
-
ignoreIfPresent?: boolean;
|
|
17247
|
-
}
|
|
17248
|
-
interface DeleteSharedStorageEntryRequest {
|
|
17249
|
-
ownerOrigin: string;
|
|
17250
|
-
key: string;
|
|
17251
|
-
}
|
|
17252
|
-
interface ClearSharedStorageEntriesRequest {
|
|
17253
|
-
ownerOrigin: string;
|
|
17404
|
+
interface ClearPrivateVerificationTokensRequest {
|
|
17405
|
+
issuerOrigin: string;
|
|
17254
17406
|
}
|
|
17255
|
-
interface
|
|
17256
|
-
|
|
17407
|
+
interface DeletePrivateVerificationTokenRequest {
|
|
17408
|
+
tokenId: string;
|
|
17257
17409
|
}
|
|
17258
|
-
interface
|
|
17410
|
+
interface SetPrivateVerificationTokensTrackingRequest {
|
|
17259
17411
|
enable: boolean;
|
|
17260
17412
|
}
|
|
17261
17413
|
interface SetStorageBucketTrackingRequest {
|
|
@@ -17268,14 +17420,6 @@ export declare namespace Storage {
|
|
|
17268
17420
|
interface RunBounceTrackingMitigationsResponse extends ProtocolResponseWithError {
|
|
17269
17421
|
deletedSites: string[];
|
|
17270
17422
|
}
|
|
17271
|
-
interface GetRelatedWebsiteSetsResponse extends ProtocolResponseWithError {
|
|
17272
|
-
sets: RelatedWebsiteSet[];
|
|
17273
|
-
}
|
|
17274
|
-
interface SetProtectedAudienceKAnonymityRequest {
|
|
17275
|
-
owner: string;
|
|
17276
|
-
name: string;
|
|
17277
|
-
hashes: binary[];
|
|
17278
|
-
}
|
|
17279
17423
|
/**
|
|
17280
17424
|
* A cache's contents have been modified.
|
|
17281
17425
|
*/
|
|
@@ -17356,134 +17500,6 @@ export declare namespace Storage {
|
|
|
17356
17500
|
*/
|
|
17357
17501
|
bucketId: string;
|
|
17358
17502
|
}
|
|
17359
|
-
/**
|
|
17360
|
-
* One of the interest groups was accessed. Note that these events are global
|
|
17361
|
-
* to all targets sharing an interest group store.
|
|
17362
|
-
*/
|
|
17363
|
-
interface InterestGroupAccessedEvent {
|
|
17364
|
-
accessTime: Network.TimeSinceEpoch;
|
|
17365
|
-
type: InterestGroupAccessType;
|
|
17366
|
-
ownerOrigin: string;
|
|
17367
|
-
name: string;
|
|
17368
|
-
/**
|
|
17369
|
-
* For topLevelBid/topLevelAdditionalBid, and when appropriate,
|
|
17370
|
-
* win and additionalBidWin
|
|
17371
|
-
*/
|
|
17372
|
-
componentSellerOrigin?: string;
|
|
17373
|
-
/**
|
|
17374
|
-
* For bid or somethingBid event, if done locally and not on a server.
|
|
17375
|
-
*/
|
|
17376
|
-
bid?: number;
|
|
17377
|
-
bidCurrency?: string;
|
|
17378
|
-
/**
|
|
17379
|
-
* For non-global events --- links to interestGroupAuctionEvent
|
|
17380
|
-
*/
|
|
17381
|
-
uniqueAuctionId?: InterestGroupAuctionId;
|
|
17382
|
-
}
|
|
17383
|
-
/**
|
|
17384
|
-
* An auction involving interest groups is taking place. These events are
|
|
17385
|
-
* target-specific.
|
|
17386
|
-
*/
|
|
17387
|
-
interface InterestGroupAuctionEventOccurredEvent {
|
|
17388
|
-
eventTime: Network.TimeSinceEpoch;
|
|
17389
|
-
type: InterestGroupAuctionEventType;
|
|
17390
|
-
uniqueAuctionId: InterestGroupAuctionId;
|
|
17391
|
-
/**
|
|
17392
|
-
* Set for child auctions.
|
|
17393
|
-
*/
|
|
17394
|
-
parentAuctionId?: InterestGroupAuctionId;
|
|
17395
|
-
/**
|
|
17396
|
-
* Set for started and configResolved
|
|
17397
|
-
*/
|
|
17398
|
-
auctionConfig?: any;
|
|
17399
|
-
}
|
|
17400
|
-
/**
|
|
17401
|
-
* Specifies which auctions a particular network fetch may be related to, and
|
|
17402
|
-
* in what role. Note that it is not ordered with respect to
|
|
17403
|
-
* Network.requestWillBeSent (but will happen before loadingFinished
|
|
17404
|
-
* loadingFailed).
|
|
17405
|
-
*/
|
|
17406
|
-
interface InterestGroupAuctionNetworkRequestCreatedEvent {
|
|
17407
|
-
type: InterestGroupAuctionFetchType;
|
|
17408
|
-
requestId: Network.RequestId;
|
|
17409
|
-
/**
|
|
17410
|
-
* This is the set of the auctions using the worklet that issued this
|
|
17411
|
-
* request. In the case of trusted signals, it's possible that only some of
|
|
17412
|
-
* them actually care about the keys being queried.
|
|
17413
|
-
*/
|
|
17414
|
-
auctions: InterestGroupAuctionId[];
|
|
17415
|
-
}
|
|
17416
|
-
/**
|
|
17417
|
-
* Shared storage was accessed by the associated page.
|
|
17418
|
-
* The following parameters are included in all events.
|
|
17419
|
-
*/
|
|
17420
|
-
interface SharedStorageAccessedEvent {
|
|
17421
|
-
/**
|
|
17422
|
-
* Time of the access.
|
|
17423
|
-
*/
|
|
17424
|
-
accessTime: Network.TimeSinceEpoch;
|
|
17425
|
-
/**
|
|
17426
|
-
* Enum value indicating the access scope.
|
|
17427
|
-
*/
|
|
17428
|
-
scope: SharedStorageAccessScope;
|
|
17429
|
-
/**
|
|
17430
|
-
* Enum value indicating the Shared Storage API method invoked.
|
|
17431
|
-
*/
|
|
17432
|
-
method: SharedStorageAccessMethod;
|
|
17433
|
-
/**
|
|
17434
|
-
* DevTools Frame Token for the primary frame tree's root.
|
|
17435
|
-
*/
|
|
17436
|
-
mainFrameId: Page.FrameId;
|
|
17437
|
-
/**
|
|
17438
|
-
* Serialization of the origin owning the Shared Storage data.
|
|
17439
|
-
*/
|
|
17440
|
-
ownerOrigin: string;
|
|
17441
|
-
/**
|
|
17442
|
-
* Serialization of the site owning the Shared Storage data.
|
|
17443
|
-
*/
|
|
17444
|
-
ownerSite: string;
|
|
17445
|
-
/**
|
|
17446
|
-
* The sub-parameters wrapped by `params` are all optional and their
|
|
17447
|
-
* presence/absence depends on `type`.
|
|
17448
|
-
*/
|
|
17449
|
-
params: SharedStorageAccessParams;
|
|
17450
|
-
}
|
|
17451
|
-
/**
|
|
17452
|
-
* A shared storage run or selectURL operation finished its execution.
|
|
17453
|
-
* The following parameters are included in all events.
|
|
17454
|
-
*/
|
|
17455
|
-
interface SharedStorageWorkletOperationExecutionFinishedEvent {
|
|
17456
|
-
/**
|
|
17457
|
-
* Time that the operation finished.
|
|
17458
|
-
*/
|
|
17459
|
-
finishedTime: Network.TimeSinceEpoch;
|
|
17460
|
-
/**
|
|
17461
|
-
* Time, in microseconds, from start of shared storage JS API call until
|
|
17462
|
-
* end of operation execution in the worklet.
|
|
17463
|
-
*/
|
|
17464
|
-
executionTime: integer;
|
|
17465
|
-
/**
|
|
17466
|
-
* Enum value indicating the Shared Storage API method invoked.
|
|
17467
|
-
*/
|
|
17468
|
-
method: SharedStorageAccessMethod;
|
|
17469
|
-
/**
|
|
17470
|
-
* ID of the operation call.
|
|
17471
|
-
*/
|
|
17472
|
-
operationId: string;
|
|
17473
|
-
/**
|
|
17474
|
-
* Hex representation of the DevTools token used as the TargetID for the
|
|
17475
|
-
* associated shared storage worklet.
|
|
17476
|
-
*/
|
|
17477
|
-
workletTargetId: Target.TargetID;
|
|
17478
|
-
/**
|
|
17479
|
-
* DevTools Frame Token for the primary frame tree's root.
|
|
17480
|
-
*/
|
|
17481
|
-
mainFrameId: Page.FrameId;
|
|
17482
|
-
/**
|
|
17483
|
-
* Serialization of the origin owning the Shared Storage data.
|
|
17484
|
-
*/
|
|
17485
|
-
ownerOrigin: string;
|
|
17486
|
-
}
|
|
17487
17503
|
interface StorageBucketCreatedOrUpdatedEvent {
|
|
17488
17504
|
bucketInfo: StorageBucketInfo;
|
|
17489
17505
|
}
|
|
@@ -17905,13 +17921,11 @@ export declare namespace Target {
|
|
|
17905
17921
|
*/
|
|
17906
17922
|
hidden?: boolean;
|
|
17907
17923
|
/**
|
|
17908
|
-
* If specified,
|
|
17909
|
-
*
|
|
17910
|
-
*
|
|
17911
|
-
*
|
|
17912
|
-
*
|
|
17913
|
-
* and background=false with focus=undefined will result in the window being focused.
|
|
17914
|
-
* Using background: true and focus: true is not supported and will result in an error.
|
|
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.
|
|
17915
17929
|
*/
|
|
17916
17930
|
focus?: boolean;
|
|
17917
17931
|
}
|
|
@@ -18325,6 +18339,21 @@ export declare namespace Tracing {
|
|
|
18325
18339
|
* Backend type (defaults to `auto`)
|
|
18326
18340
|
*/
|
|
18327
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;
|
|
18328
18357
|
}
|
|
18329
18358
|
interface BufferUsageEvent {
|
|
18330
18359
|
/**
|
|
@@ -18471,6 +18500,7 @@ export declare namespace WebAudio {
|
|
|
18471
18500
|
* Context sample rate.
|
|
18472
18501
|
*/
|
|
18473
18502
|
sampleRate: number;
|
|
18503
|
+
renderQuantumSize: number;
|
|
18474
18504
|
}
|
|
18475
18505
|
/**
|
|
18476
18506
|
* Protocol object for AudioListener
|
|
@@ -18623,11 +18653,16 @@ export declare namespace WebAuthn {
|
|
|
18623
18653
|
Ctap2_1 = "ctap2_1",
|
|
18624
18654
|
Ctap2_2 = "ctap2_2"
|
|
18625
18655
|
}
|
|
18656
|
+
/**
|
|
18657
|
+
* LINT_SKIP.IfChange(AuthenticatorTransport)
|
|
18658
|
+
*/
|
|
18626
18659
|
const enum AuthenticatorTransport {
|
|
18627
18660
|
Usb = "usb",
|
|
18628
18661
|
Nfc = "nfc",
|
|
18629
18662
|
Ble = "ble",
|
|
18630
18663
|
Cable = "cable",
|
|
18664
|
+
Hybrid = "hybrid",
|
|
18665
|
+
SmartCard = "smart-card",
|
|
18631
18666
|
Internal = "internal"
|
|
18632
18667
|
}
|
|
18633
18668
|
interface VirtualAuthenticatorOptions {
|
|
@@ -18681,6 +18716,13 @@ export declare namespace WebAuthn {
|
|
|
18681
18716
|
* Defaults to false.
|
|
18682
18717
|
*/
|
|
18683
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;
|
|
18684
18726
|
/**
|
|
18685
18727
|
* If set to true, tests of user presence will succeed immediately.
|
|
18686
18728
|
* Otherwise, they will not be resolved. Defaults to true.
|
|
@@ -18722,11 +18764,12 @@ export declare namespace WebAuthn {
|
|
|
18722
18764
|
*/
|
|
18723
18765
|
userHandle?: binary;
|
|
18724
18766
|
/**
|
|
18725
|
-
* Signature counter.
|
|
18726
|
-
*
|
|
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.
|
|
18727
18770
|
* See https://w3c.github.io/webauthn/#signature-counter
|
|
18728
18771
|
*/
|
|
18729
|
-
signCount:
|
|
18772
|
+
signCount: number;
|
|
18730
18773
|
/**
|
|
18731
18774
|
* The large blob associated with the credential.
|
|
18732
18775
|
* See https://w3c.github.io/webauthn/#sctn-large-blob-extension
|
|
@@ -18755,6 +18798,18 @@ export declare namespace WebAuthn {
|
|
|
18755
18798
|
* https://w3c.github.io/webauthn/#dom-publickeycredentialuserentity-displayname
|
|
18756
18799
|
*/
|
|
18757
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;
|
|
18758
18813
|
}
|
|
18759
18814
|
interface EnableRequest {
|
|
18760
18815
|
/**
|
|
@@ -18830,6 +18885,15 @@ export declare namespace WebAuthn {
|
|
|
18830
18885
|
credentialId: binary;
|
|
18831
18886
|
backupEligibility?: boolean;
|
|
18832
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;
|
|
18833
18897
|
}
|
|
18834
18898
|
/**
|
|
18835
18899
|
* Triggered when a credential is added to an authenticator.
|
|
@@ -18875,6 +18939,14 @@ export declare namespace WebMCP {
|
|
|
18875
18939
|
* A hint indicating that the tool output may contain untrusted content, ex: UGC, 3rd party data.
|
|
18876
18940
|
*/
|
|
18877
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;
|
|
18878
18950
|
/**
|
|
18879
18951
|
* If the declarative tool was declared with the autosubmit attribute.
|
|
18880
18952
|
*/
|
|
@@ -19130,6 +19202,10 @@ export declare namespace Debugger {
|
|
|
19130
19202
|
Module = "module",
|
|
19131
19203
|
WasmExpressionStack = "wasm-expression-stack"
|
|
19132
19204
|
}
|
|
19205
|
+
const enum ScopeEmptyReason {
|
|
19206
|
+
NoVariables = "no-variables",
|
|
19207
|
+
AllUnavailable = "all-unavailable"
|
|
19208
|
+
}
|
|
19133
19209
|
/**
|
|
19134
19210
|
* Scope description.
|
|
19135
19211
|
*/
|
|
@@ -19153,6 +19229,14 @@ export declare namespace Debugger {
|
|
|
19153
19229
|
* Location in the source code where scope ends
|
|
19154
19230
|
*/
|
|
19155
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;
|
|
19156
19240
|
}
|
|
19157
19241
|
/**
|
|
19158
19242
|
* Search match for resource.
|
|
@@ -19296,6 +19380,10 @@ export declare namespace Debugger {
|
|
|
19296
19380
|
* Terminate execution after timing out (number of milliseconds).
|
|
19297
19381
|
*/
|
|
19298
19382
|
timeout?: Runtime.TimeDelta;
|
|
19383
|
+
/**
|
|
19384
|
+
* Specifies the scope number to evaluate the expression in (default: 0, innermost scope).
|
|
19385
|
+
*/
|
|
19386
|
+
scopeNumber?: integer;
|
|
19299
19387
|
}
|
|
19300
19388
|
interface EvaluateOnCallFrameResponse extends ProtocolResponseWithError {
|
|
19301
19389
|
/**
|
|
@@ -19717,6 +19805,12 @@ export declare namespace Debugger {
|
|
|
19717
19805
|
* The skipList specifies location ranges that should be skipped on step over.
|
|
19718
19806
|
*/
|
|
19719
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[];
|
|
19720
19814
|
}
|
|
19721
19815
|
/**
|
|
19722
19816
|
* Fired when breakpoint is resolved to an actual script and location.
|
|
@@ -20477,6 +20571,7 @@ export declare namespace Runtime {
|
|
|
20477
20571
|
Dataview = "dataview",
|
|
20478
20572
|
Webassemblymemory = "webassemblymemory",
|
|
20479
20573
|
Wasmvalue = "wasmvalue",
|
|
20574
|
+
Deferredmodule = "deferredmodule",
|
|
20480
20575
|
Trustedtype = "trustedtype"
|
|
20481
20576
|
}
|
|
20482
20577
|
/**
|
|
@@ -20567,6 +20662,7 @@ export declare namespace Runtime {
|
|
|
20567
20662
|
Dataview = "dataview",
|
|
20568
20663
|
Webassemblymemory = "webassemblymemory",
|
|
20569
20664
|
Wasmvalue = "wasmvalue",
|
|
20665
|
+
Deferredmodule = "deferredmodule",
|
|
20570
20666
|
Trustedtype = "trustedtype"
|
|
20571
20667
|
}
|
|
20572
20668
|
/**
|
|
@@ -20629,6 +20725,7 @@ export declare namespace Runtime {
|
|
|
20629
20725
|
Dataview = "dataview",
|
|
20630
20726
|
Webassemblymemory = "webassemblymemory",
|
|
20631
20727
|
Wasmvalue = "wasmvalue",
|
|
20728
|
+
Deferredmodule = "deferredmodule",
|
|
20632
20729
|
Trustedtype = "trustedtype"
|
|
20633
20730
|
}
|
|
20634
20731
|
interface PropertyPreview {
|