patchright-core 1.57.0 → 1.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (307) hide show
  1. package/ThirdPartyNotices.txt +2688 -297
  2. package/browsers.json +23 -22
  3. package/lib/bootstrap.js +77 -0
  4. package/lib/cli/browserActions.js +308 -0
  5. package/lib/cli/driver.js +3 -2
  6. package/lib/cli/installActions.js +171 -0
  7. package/lib/cli/program.js +48 -413
  8. package/lib/client/android.js +4 -4
  9. package/lib/client/api.js +3 -0
  10. package/lib/client/browser.js +11 -5
  11. package/lib/client/browserContext.js +20 -23
  12. package/lib/client/browserType.js +23 -54
  13. package/lib/client/cdpSession.js +6 -2
  14. package/lib/client/channelOwner.js +1 -1
  15. package/lib/client/clientHelper.js +2 -1
  16. package/lib/client/clock.js +0 -1
  17. package/lib/client/{webSocket.js → connect.js} +57 -7
  18. package/lib/client/connection.js +8 -0
  19. package/lib/client/consoleMessage.js +3 -0
  20. package/lib/client/debugger.js +57 -0
  21. package/lib/client/dialog.js +8 -1
  22. package/lib/client/disposable.js +76 -0
  23. package/lib/client/electron.js +1 -0
  24. package/lib/client/elementHandle.js +1 -1
  25. package/lib/client/events.js +3 -0
  26. package/lib/client/fetch.js +2 -4
  27. package/lib/client/frame.js +9 -13
  28. package/lib/client/harRouter.js +13 -1
  29. package/lib/client/jsHandle.js +4 -8
  30. package/lib/client/locator.js +13 -36
  31. package/lib/client/network.js +14 -11
  32. package/lib/client/page.js +44 -50
  33. package/lib/client/screencast.js +88 -0
  34. package/lib/client/selectors.js +3 -1
  35. package/lib/client/tracing.js +11 -5
  36. package/lib/client/video.js +13 -20
  37. package/lib/client/worker.js +6 -6
  38. package/lib/generated/bindingsControllerSource.js +1 -1
  39. package/lib/generated/clockSource.js +1 -1
  40. package/lib/generated/injectedScriptSource.js +1 -1
  41. package/lib/generated/pollingRecorderSource.js +1 -1
  42. package/lib/generated/storageScriptSource.js +1 -1
  43. package/lib/generated/utilityScriptSource.js +1 -1
  44. package/lib/mcpBundle.js +78 -0
  45. package/lib/mcpBundleImpl.js +91 -0
  46. package/lib/protocol/serializers.js +5 -0
  47. package/lib/protocol/validator.js +228 -58
  48. package/lib/protocol/validatorPrimitives.js +1 -1
  49. package/lib/remote/playwrightConnection.js +10 -8
  50. package/lib/remote/playwrightPipeServer.js +100 -0
  51. package/lib/remote/playwrightServer.js +14 -10
  52. package/lib/remote/playwrightWebSocketServer.js +73 -0
  53. package/lib/remote/serverTransport.js +96 -0
  54. package/lib/server/android/android.js +2 -2
  55. package/lib/server/artifact.js +1 -1
  56. package/lib/server/bidi/bidiBrowser.js +80 -14
  57. package/lib/server/bidi/bidiChromium.js +23 -14
  58. package/lib/server/bidi/bidiConnection.js +1 -0
  59. package/lib/server/bidi/bidiDeserializer.js +116 -0
  60. package/lib/server/bidi/bidiExecutionContext.js +75 -29
  61. package/lib/server/bidi/bidiFirefox.js +6 -8
  62. package/lib/server/bidi/bidiNetworkManager.js +40 -12
  63. package/lib/server/bidi/bidiPage.js +67 -40
  64. package/lib/server/bidi/third_party/bidiProtocolCore.js +1 -0
  65. package/lib/server/bidi/third_party/firefoxPrefs.js +3 -1
  66. package/lib/server/browser.js +84 -21
  67. package/lib/server/browserContext.js +137 -77
  68. package/lib/server/browserType.js +26 -16
  69. package/lib/server/chromium/chromium.js +28 -31
  70. package/lib/server/chromium/chromiumSwitches.js +16 -4
  71. package/lib/server/chromium/crBrowser.js +40 -27
  72. package/lib/server/chromium/crConnection.js +0 -5
  73. package/lib/server/chromium/crDevTools.js +1 -2
  74. package/lib/server/chromium/crNetworkManager.js +54 -229
  75. package/lib/server/chromium/crPage.js +74 -260
  76. package/lib/server/chromium/crServiceWorker.js +7 -14
  77. package/lib/server/clock.js +33 -41
  78. package/lib/server/codegen/javascript.js +6 -29
  79. package/lib/server/console.js +5 -1
  80. package/lib/server/debugController.js +12 -6
  81. package/lib/server/debugger.js +40 -47
  82. package/lib/server/deviceDescriptorsSource.json +137 -137
  83. package/lib/server/dispatchers/browserContextDispatcher.js +30 -30
  84. package/lib/server/dispatchers/browserDispatcher.js +11 -5
  85. package/lib/server/dispatchers/browserTypeDispatcher.js +7 -0
  86. package/lib/server/dispatchers/cdpSessionDispatcher.js +4 -1
  87. package/lib/server/dispatchers/debuggerDispatcher.js +84 -0
  88. package/lib/server/dispatchers/dispatcher.js +7 -14
  89. package/lib/server/dispatchers/disposableDispatcher.js +39 -0
  90. package/lib/server/dispatchers/electronDispatcher.js +2 -1
  91. package/lib/server/dispatchers/frameDispatcher.js +7 -7
  92. package/lib/server/dispatchers/localUtilsDispatcher.js +37 -1
  93. package/lib/server/dispatchers/networkDispatchers.js +6 -5
  94. package/lib/server/dispatchers/pageDispatcher.js +101 -34
  95. package/lib/server/dispatchers/webSocketRouteDispatcher.js +4 -5
  96. package/lib/server/disposable.js +41 -0
  97. package/lib/server/dom.js +56 -29
  98. package/lib/server/download.js +3 -2
  99. package/lib/server/electron/electron.js +17 -9
  100. package/lib/server/firefox/ffBrowser.js +9 -29
  101. package/lib/server/firefox/ffConnection.js +0 -5
  102. package/lib/server/firefox/ffInput.js +21 -5
  103. package/lib/server/firefox/ffNetworkManager.js +4 -4
  104. package/lib/server/firefox/ffPage.js +27 -33
  105. package/lib/server/firefox/firefox.js +6 -8
  106. package/lib/server/frameSelectors.js +14 -169
  107. package/lib/server/frames.js +263 -551
  108. package/lib/server/har/harRecorder.js +2 -2
  109. package/lib/server/har/harTracer.js +5 -4
  110. package/lib/server/input.js +49 -4
  111. package/lib/server/instrumentation.js +8 -0
  112. package/lib/server/javascript.js +6 -22
  113. package/lib/server/launchApp.js +0 -1
  114. package/lib/server/localUtils.js +6 -6
  115. package/lib/server/network.js +59 -20
  116. package/lib/server/overlay.js +138 -0
  117. package/lib/server/page.js +179 -157
  118. package/lib/server/progress.js +32 -6
  119. package/lib/server/recorder/recorderApp.js +84 -104
  120. package/lib/server/recorder.js +76 -40
  121. package/lib/server/registry/browserFetcher.js +6 -4
  122. package/lib/server/registry/index.js +222 -226
  123. package/lib/server/registry/nativeDeps.js +1 -0
  124. package/lib/server/registry/oopDownloadBrowserMain.js +3 -0
  125. package/lib/server/screencast.js +137 -0
  126. package/lib/server/trace/recorder/snapshotter.js +2 -2
  127. package/lib/server/trace/recorder/snapshotterInjected.js +21 -1
  128. package/lib/server/trace/recorder/tracing.js +98 -47
  129. package/lib/server/trace/viewer/traceViewer.js +24 -21
  130. package/lib/server/usKeyboardLayout.js +7 -0
  131. package/lib/server/utils/comparators.js +1 -1
  132. package/lib/server/utils/disposable.js +32 -0
  133. package/lib/server/utils/eventsHelper.js +3 -1
  134. package/lib/server/utils/expectUtils.js +87 -2
  135. package/lib/server/utils/fileUtils.js +16 -2
  136. package/lib/server/utils/happyEyeballs.js +15 -12
  137. package/lib/server/utils/httpServer.js +10 -23
  138. package/lib/server/utils/network.js +39 -29
  139. package/lib/server/utils/processLauncher.js +8 -6
  140. package/lib/server/utils/zipFile.js +2 -2
  141. package/lib/server/videoRecorder.js +194 -0
  142. package/lib/server/webkit/webkit.js +4 -6
  143. package/lib/server/webkit/wkBrowser.js +1 -10
  144. package/lib/server/webkit/wkConnection.js +1 -6
  145. package/lib/server/webkit/wkInterceptableRequest.js +29 -1
  146. package/lib/server/webkit/wkPage.js +88 -57
  147. package/lib/server/webkit/wkWorkers.js +2 -1
  148. package/lib/serverRegistry.js +156 -0
  149. package/lib/tools/backend/browserBackend.js +79 -0
  150. package/lib/tools/backend/common.js +63 -0
  151. package/lib/tools/backend/config.js +41 -0
  152. package/lib/tools/backend/console.js +66 -0
  153. package/lib/tools/backend/context.js +296 -0
  154. package/lib/tools/backend/cookies.js +152 -0
  155. package/lib/tools/backend/devtools.js +69 -0
  156. package/lib/tools/backend/dialogs.js +59 -0
  157. package/lib/tools/backend/evaluate.js +64 -0
  158. package/lib/tools/backend/files.js +60 -0
  159. package/lib/tools/backend/form.js +64 -0
  160. package/lib/tools/backend/keyboard.js +155 -0
  161. package/lib/tools/backend/logFile.js +95 -0
  162. package/lib/tools/backend/mouse.js +168 -0
  163. package/lib/tools/backend/navigate.js +106 -0
  164. package/lib/tools/backend/network.js +135 -0
  165. package/lib/tools/backend/pdf.js +48 -0
  166. package/lib/tools/backend/response.js +305 -0
  167. package/lib/tools/backend/route.js +140 -0
  168. package/lib/tools/backend/runCode.js +77 -0
  169. package/lib/tools/backend/screenshot.js +88 -0
  170. package/lib/tools/backend/sessionLog.js +74 -0
  171. package/lib/tools/backend/snapshot.js +208 -0
  172. package/lib/tools/backend/storage.js +68 -0
  173. package/lib/tools/backend/tab.js +445 -0
  174. package/lib/tools/backend/tabs.js +67 -0
  175. package/lib/tools/backend/tool.js +47 -0
  176. package/lib/tools/backend/tools.js +102 -0
  177. package/lib/tools/backend/tracing.js +78 -0
  178. package/lib/tools/backend/utils.js +83 -0
  179. package/lib/tools/backend/verify.js +151 -0
  180. package/lib/tools/backend/video.js +98 -0
  181. package/lib/tools/backend/wait.js +63 -0
  182. package/lib/tools/backend/webstorage.js +223 -0
  183. package/lib/tools/cli-client/cli.js +6 -0
  184. package/lib/tools/cli-client/help.json +399 -0
  185. package/lib/tools/cli-client/minimist.js +128 -0
  186. package/lib/tools/cli-client/program.js +350 -0
  187. package/lib/tools/cli-client/registry.js +176 -0
  188. package/lib/tools/cli-client/session.js +289 -0
  189. package/lib/tools/cli-client/skill/SKILL.md +328 -0
  190. package/lib/tools/cli-client/skill/references/element-attributes.md +23 -0
  191. package/lib/tools/cli-client/skill/references/playwright-tests.md +39 -0
  192. package/lib/tools/cli-client/skill/references/request-mocking.md +87 -0
  193. package/lib/tools/cli-client/skill/references/running-code.md +231 -0
  194. package/lib/tools/cli-client/skill/references/session-management.md +169 -0
  195. package/lib/tools/cli-client/skill/references/storage-state.md +275 -0
  196. package/lib/tools/cli-client/skill/references/test-generation.md +88 -0
  197. package/lib/tools/cli-client/skill/references/tracing.md +139 -0
  198. package/lib/tools/cli-client/skill/references/video-recording.md +143 -0
  199. package/lib/tools/cli-daemon/command.js +73 -0
  200. package/lib/tools/cli-daemon/commands.js +956 -0
  201. package/lib/tools/cli-daemon/daemon.js +157 -0
  202. package/lib/tools/cli-daemon/helpGenerator.js +177 -0
  203. package/lib/tools/cli-daemon/program.js +129 -0
  204. package/lib/tools/dashboard/appIcon.png +0 -0
  205. package/lib/tools/dashboard/dashboardApp.js +284 -0
  206. package/lib/tools/dashboard/dashboardController.js +296 -0
  207. package/lib/tools/exports.js +60 -0
  208. package/lib/tools/mcp/browserFactory.js +233 -0
  209. package/lib/tools/mcp/cdpRelay.js +352 -0
  210. package/lib/tools/mcp/cli-stub.js +7 -0
  211. package/lib/tools/mcp/config.d.js +16 -0
  212. package/lib/tools/mcp/config.js +446 -0
  213. package/lib/tools/mcp/configIni.js +189 -0
  214. package/lib/tools/mcp/extensionContextFactory.js +55 -0
  215. package/lib/tools/mcp/index.js +62 -0
  216. package/lib/tools/mcp/log.js +35 -0
  217. package/lib/tools/mcp/program.js +107 -0
  218. package/lib/tools/mcp/protocol.js +28 -0
  219. package/lib/tools/mcp/watchdog.js +44 -0
  220. package/lib/tools/trace/SKILL.md +171 -0
  221. package/lib/tools/trace/installSkill.js +48 -0
  222. package/lib/tools/trace/traceActions.js +142 -0
  223. package/lib/tools/trace/traceAttachments.js +69 -0
  224. package/lib/tools/trace/traceCli.js +87 -0
  225. package/lib/tools/trace/traceConsole.js +97 -0
  226. package/lib/tools/trace/traceErrors.js +55 -0
  227. package/lib/tools/trace/traceOpen.js +69 -0
  228. package/lib/tools/trace/traceParser.js +96 -0
  229. package/lib/tools/trace/traceRequests.js +182 -0
  230. package/lib/tools/trace/traceScreenshot.js +68 -0
  231. package/lib/tools/trace/traceSnapshot.js +149 -0
  232. package/lib/tools/trace/traceUtils.js +153 -0
  233. package/lib/tools/utils/connect.js +32 -0
  234. package/lib/tools/utils/mcp/http.js +152 -0
  235. package/lib/tools/utils/mcp/server.js +230 -0
  236. package/lib/tools/utils/mcp/tool.js +47 -0
  237. package/lib/tools/utils/socketConnection.js +108 -0
  238. package/lib/utils/isomorphic/ariaSnapshot.js +60 -2
  239. package/lib/utils/isomorphic/formatUtils.js +64 -0
  240. package/lib/utils/isomorphic/jsonSchema.js +89 -0
  241. package/lib/utils/isomorphic/lruCache.js +51 -0
  242. package/lib/utils/isomorphic/mimeType.js +7 -2
  243. package/lib/utils/isomorphic/protocolFormatter.js +2 -2
  244. package/lib/utils/isomorphic/protocolMetainfo.js +127 -98
  245. package/lib/utils/isomorphic/stringUtils.js +49 -0
  246. package/lib/utils/isomorphic/timeoutRunner.js +3 -3
  247. package/lib/utils/isomorphic/trace/entries.js +16 -0
  248. package/lib/utils/isomorphic/trace/snapshotRenderer.js +492 -0
  249. package/lib/utils/isomorphic/trace/snapshotServer.js +120 -0
  250. package/lib/utils/isomorphic/trace/snapshotStorage.js +89 -0
  251. package/lib/utils/isomorphic/trace/traceLoader.js +132 -0
  252. package/lib/utils/isomorphic/trace/traceModel.js +366 -0
  253. package/lib/utils/isomorphic/trace/traceModernizer.js +401 -0
  254. package/lib/utils/isomorphic/trace/versions/traceV3.js +16 -0
  255. package/lib/utils/isomorphic/trace/versions/traceV4.js +16 -0
  256. package/lib/utils/isomorphic/trace/versions/traceV5.js +16 -0
  257. package/lib/utils/isomorphic/trace/versions/traceV6.js +16 -0
  258. package/lib/utils/isomorphic/trace/versions/traceV7.js +16 -0
  259. package/lib/utils/isomorphic/trace/versions/traceV8.js +16 -0
  260. package/lib/utils/isomorphic/urlMatch.js +54 -1
  261. package/lib/utils/isomorphic/utilityScriptSerializers.js +11 -0
  262. package/lib/utils/isomorphic/yaml.js +84 -0
  263. package/lib/utils.js +8 -2
  264. package/lib/utilsBundle.js +5 -26
  265. package/lib/utilsBundleImpl/index.js +172 -173
  266. package/lib/vite/dashboard/assets/index-BAOybkp8.js +50 -0
  267. package/lib/vite/dashboard/assets/index-CZAYOG76.css +1 -0
  268. package/lib/vite/dashboard/index.html +28 -0
  269. package/lib/vite/htmlReport/index.html +2 -70
  270. package/lib/vite/htmlReport/report.css +1 -0
  271. package/lib/vite/htmlReport/report.js +72 -0
  272. package/lib/vite/recorder/assets/codeMirrorModule-C8KMvO9L.js +32 -0
  273. package/lib/vite/recorder/assets/{codeMirrorModule-C3UTv-Ge.css → codeMirrorModule-DYBRYzYX.css} +1 -1
  274. package/lib/vite/recorder/assets/{index-Ri0uHF7I.css → index-BSjZa4pk.css} +1 -1
  275. package/lib/vite/recorder/assets/index-CqAYX1I3.js +193 -0
  276. package/lib/vite/recorder/index.html +2 -2
  277. package/lib/vite/traceViewer/assets/codeMirrorModule-DS0FLvoc.js +32 -0
  278. package/lib/vite/traceViewer/assets/defaultSettingsView-GTWI-W_B.js +262 -0
  279. package/lib/vite/traceViewer/{codeMirrorModule.C3UTv-Ge.css → codeMirrorModule.DYBRYzYX.css} +1 -1
  280. package/lib/vite/traceViewer/defaultSettingsView.B4dS75f0.css +1 -0
  281. package/lib/vite/traceViewer/index.CzXZzn5A.css +1 -0
  282. package/lib/vite/traceViewer/index.Dtstcb7U.js +2 -0
  283. package/lib/vite/traceViewer/index.html +4 -4
  284. package/lib/vite/traceViewer/sw.bundle.js +5 -3
  285. package/lib/vite/traceViewer/uiMode.Vipi55dB.js +6 -0
  286. package/lib/vite/traceViewer/uiMode.html +3 -3
  287. package/lib/zipBundleImpl.js +2 -2
  288. package/lib/zodBundle.js +39 -0
  289. package/lib/zodBundleImpl.js +40 -0
  290. package/package.json +7 -1
  291. package/types/protocol.d.ts +1696 -221
  292. package/types/types.d.ts +879 -112
  293. package/lib/server/bidi/third_party/bidiDeserializer.js +0 -98
  294. package/lib/server/chromium/videoRecorder.js +0 -115
  295. package/lib/server/pageBinding.js +0 -87
  296. package/lib/server/trace/test/inMemorySnapshotter.js +0 -87
  297. package/lib/utils/isomorphic/oldUtilityScriptSerializers.js +0 -248
  298. package/lib/vite/recorder/assets/codeMirrorModule-CBbSe-ZI.js +0 -25
  299. package/lib/vite/recorder/assets/index-CpZVd2nA.js +0 -193
  300. package/lib/vite/traceViewer/assets/codeMirrorModule-DHz0wP2C.js +0 -25
  301. package/lib/vite/traceViewer/assets/defaultSettingsView-WsZP88O6.js +0 -266
  302. package/lib/vite/traceViewer/defaultSettingsView.ConWv5KN.css +0 -1
  303. package/lib/vite/traceViewer/index.C4Y3Aw8n.css +0 -1
  304. package/lib/vite/traceViewer/index.C8xAeo93.js +0 -2
  305. package/lib/vite/traceViewer/uiMode.BltraIJB.js +0 -5
  306. /package/lib/{server/utils → utils/isomorphic}/imageUtils.js +0 -0
  307. /package/lib/utils/isomorphic/{traceUtils.js → trace/traceUtils.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  // This is generated from /utils/protocol-types-generator/index.js
2
2
  type binary = string;
3
- export module Protocol {
4
- export module Accessibility {
3
+ export namespace Protocol {
4
+ export namespace Accessibility {
5
5
  /**
6
6
  * Unique accessibility node identifier.
7
7
  */
@@ -341,7 +341,7 @@ including nodes that are ignored for accessibility.
341
341
  }
342
342
  }
343
343
 
344
- export module Animation {
344
+ export namespace Animation {
345
345
  /**
346
346
  * Animation instance.
347
347
  */
@@ -441,9 +441,9 @@ Does not exist for animations with ScrollTimeline
441
441
  */
442
442
  iterationStart: number;
443
443
  /**
444
- * `AnimationEffect`'s iterations.
444
+ * `AnimationEffect`'s iterations. Omitted if the value is infinite.
445
445
  */
446
- iterations: number;
446
+ iterations?: number;
447
447
  /**
448
448
  * `AnimationEffect`'s iteration duration.
449
449
  Milliseconds for time based animations and
@@ -667,7 +667,7 @@ percentage [0 - 100] for scroll driven animations
667
667
  /**
668
668
  * Audits domain allows investigation of page violations and possible improvements.
669
669
  */
670
- export module Audits {
670
+ export namespace Audits {
671
671
  /**
672
672
  * Information about a cookie that is affected by an inspector issue.
673
673
  */
@@ -695,7 +695,7 @@ percentage [0 - 100] for scroll driven animations
695
695
  export interface AffectedFrame {
696
696
  frameId: Page.FrameId;
697
697
  }
698
- export type CookieExclusionReason = "ExcludeSameSiteUnspecifiedTreatedAsLax"|"ExcludeSameSiteNoneInsecure"|"ExcludeSameSiteLax"|"ExcludeSameSiteStrict"|"ExcludeInvalidSameParty"|"ExcludeSamePartyCrossPartyContext"|"ExcludeDomainNonASCII"|"ExcludeThirdPartyCookieBlockedInFirstPartySet"|"ExcludeThirdPartyPhaseout"|"ExcludePortMismatch"|"ExcludeSchemeMismatch";
698
+ export type CookieExclusionReason = "ExcludeSameSiteUnspecifiedTreatedAsLax"|"ExcludeSameSiteNoneInsecure"|"ExcludeSameSiteLax"|"ExcludeSameSiteStrict"|"ExcludeDomainNonASCII"|"ExcludeThirdPartyCookieBlockedInFirstPartySet"|"ExcludeThirdPartyPhaseout"|"ExcludePortMismatch"|"ExcludeSchemeMismatch";
699
699
  export type CookieWarningReason = "WarnSameSiteUnspecifiedCrossSiteContext"|"WarnSameSiteNoneInsecure"|"WarnSameSiteUnspecifiedLaxAllowUnsafe"|"WarnSameSiteStrictLaxDowngradeStrict"|"WarnSameSiteStrictCrossDowngradeStrict"|"WarnSameSiteStrictCrossDowngradeLax"|"WarnSameSiteLaxCrossDowngradeStrict"|"WarnSameSiteLaxCrossDowngradeLax"|"WarnAttributeValueExceedsMaxSize"|"WarnDomainNonASCII"|"WarnThirdPartyPhaseout"|"WarnCrossSiteRedirectDowngradeChangesInclusion"|"WarnDeprecationTrialMetadata"|"WarnThirdPartyCookieHeuristic";
700
700
  export type CookieOperation = "SetCookie"|"ReadCookie";
701
701
  /**
@@ -741,6 +741,14 @@ may be used by the front-end as additional context.
741
741
  */
742
742
  insight?: CookieIssueInsight;
743
743
  }
744
+ export type PerformanceIssueType = "DocumentCookie";
745
+ /**
746
+ * Details for a performance issue.
747
+ */
748
+ export interface PerformanceIssueDetails {
749
+ performanceIssueType: PerformanceIssueType;
750
+ sourceCodeLocation?: SourceCodeLocation;
751
+ }
744
752
  export type MixedContentResolutionStatus = "MixedContentBlocked"|"MixedContentAutomaticallyUpgraded"|"MixedContentWarning";
745
753
  export type MixedContentResourceType = "AttributionSrc"|"Audio"|"Beacon"|"CSPReport"|"Download"|"EventSource"|"Favicon"|"Font"|"Form"|"Frame"|"Image"|"Import"|"JSON"|"Manifest"|"Ping"|"PluginData"|"PluginResource"|"Prefetch"|"Resource"|"Script"|"ServiceWorker"|"SharedWorker"|"SpeculationRules"|"Stylesheet"|"Track"|"Video"|"Worker"|"XMLHttpRequest"|"XSLT";
746
754
  export interface MixedContentIssueDetails {
@@ -837,15 +845,6 @@ transferred to a context that is not cross-origin isolated.
837
845
  isWarning: boolean;
838
846
  type: SharedArrayBufferIssueType;
839
847
  }
840
- export interface LowTextContrastIssueDetails {
841
- violatingNodeId: DOM.BackendNodeId;
842
- violatingNodeSelector: string;
843
- contrastRatio: number;
844
- thresholdAA: number;
845
- thresholdAAA: number;
846
- fontSize: string;
847
- fontWeight: string;
848
- }
849
848
  /**
850
849
  * Details for a CORS related issue, e.g. a warning or error related to
851
850
  CORS RFC1918 enforcement.
@@ -863,6 +862,7 @@ CORS RFC1918 enforcement.
863
862
  export type SharedDictionaryError = "UseErrorCrossOriginNoCorsRequest"|"UseErrorDictionaryLoadFailure"|"UseErrorMatchingDictionaryNotUsed"|"UseErrorUnexpectedContentDictionaryHeader"|"WriteErrorCossOriginNoCorsRequest"|"WriteErrorDisallowedBySettings"|"WriteErrorExpiredResponse"|"WriteErrorFeatureDisabled"|"WriteErrorInsufficientResources"|"WriteErrorInvalidMatchField"|"WriteErrorInvalidStructuredHeader"|"WriteErrorInvalidTTLField"|"WriteErrorNavigationRequest"|"WriteErrorNoMatchField"|"WriteErrorNonIntegerTTLField"|"WriteErrorNonListMatchDestField"|"WriteErrorNonSecureContext"|"WriteErrorNonStringIdField"|"WriteErrorNonStringInMatchDestList"|"WriteErrorNonStringMatchField"|"WriteErrorNonTokenTypeField"|"WriteErrorRequestAborted"|"WriteErrorShuttingDown"|"WriteErrorTooLongIdField"|"WriteErrorUnsupportedType";
864
863
  export type SRIMessageSignatureError = "MissingSignatureHeader"|"MissingSignatureInputHeader"|"InvalidSignatureHeader"|"InvalidSignatureInputHeader"|"SignatureHeaderValueIsNotByteSequence"|"SignatureHeaderValueIsParameterized"|"SignatureHeaderValueIsIncorrectLength"|"SignatureInputHeaderMissingLabel"|"SignatureInputHeaderValueNotInnerList"|"SignatureInputHeaderValueMissingComponents"|"SignatureInputHeaderInvalidComponentType"|"SignatureInputHeaderInvalidComponentName"|"SignatureInputHeaderInvalidHeaderComponentParameter"|"SignatureInputHeaderInvalidDerivedComponentParameter"|"SignatureInputHeaderKeyIdLength"|"SignatureInputHeaderInvalidParameter"|"SignatureInputHeaderMissingRequiredParameters"|"ValidationFailedSignatureExpired"|"ValidationFailedInvalidLength"|"ValidationFailedSignatureMismatch"|"ValidationFailedIntegrityMismatch";
865
864
  export type UnencodedDigestError = "MalformedDictionary"|"UnknownAlgorithm"|"IncorrectDigestType"|"IncorrectDigestLength";
865
+ export type ConnectionAllowlistError = "InvalidHeader"|"MoreThanOneList"|"ItemNotInnerList"|"InvalidAllowlistItemType"|"ReportingEndpointNotToken"|"InvalidUrlPattern";
866
866
  /**
867
867
  * Details for issues around "Attribution Reporting API" usage.
868
868
  Explainer: https://github.com/WICG/attribution-reporting-api
@@ -906,7 +906,11 @@ instead of "limited-quirks".
906
906
  error: UnencodedDigestError;
907
907
  request: AffectedRequest;
908
908
  }
909
- export type GenericIssueErrorType = "FormLabelForNameError"|"FormDuplicateIdForInputError"|"FormInputWithNoLabelError"|"FormAutocompleteAttributeEmptyError"|"FormEmptyIdAndNameAttributesForInputError"|"FormAriaLabelledByToNonExistingId"|"FormInputAssignedAutocompleteValueToIdOrNameAttributeError"|"FormLabelHasNeitherForNorNestedInput"|"FormLabelForMatchesNonExistingIdError"|"FormInputHasWrongButWellIntendedAutocompleteValueError"|"ResponseWasBlockedByORB";
909
+ export interface ConnectionAllowlistIssueDetails {
910
+ error: ConnectionAllowlistError;
911
+ request: AffectedRequest;
912
+ }
913
+ export type GenericIssueErrorType = "FormLabelForNameError"|"FormDuplicateIdForInputError"|"FormInputWithNoLabelError"|"FormAutocompleteAttributeEmptyError"|"FormEmptyIdAndNameAttributesForInputError"|"FormAriaLabelledByToNonExistingIdError"|"FormInputAssignedAutocompleteValueToIdOrNameAttributeError"|"FormLabelHasNeitherForNorNestedInputError"|"FormLabelForMatchesNonExistingIdError"|"FormInputHasWrongButWellIntendedAutocompleteValueError"|"ResponseWasBlockedByORB"|"NavigationEntryMarkedSkippable"|"AutofillAndManualTextPolicyControlledFeaturesInfo"|"AutofillPolicyControlledFeatureInfo"|"ManualTextPolicyControlledFeatureInfo"|"FormModelContextParameterMissingTitleAndDescription";
910
914
  /**
911
915
  * Depending on the concrete errorType, different properties are set.
912
916
  */
@@ -965,7 +969,7 @@ Should be updated alongside RequestIdTokenStatus in
965
969
  third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
966
970
  all cases except for success.
967
971
  */
968
- export type FederatedAuthRequestIssueReason = "ShouldEmbargo"|"TooManyRequests"|"WellKnownHttpNotFound"|"WellKnownNoResponse"|"WellKnownInvalidResponse"|"WellKnownListEmpty"|"WellKnownInvalidContentType"|"ConfigNotInWellKnown"|"WellKnownTooBig"|"ConfigHttpNotFound"|"ConfigNoResponse"|"ConfigInvalidResponse"|"ConfigInvalidContentType"|"ClientMetadataHttpNotFound"|"ClientMetadataNoResponse"|"ClientMetadataInvalidResponse"|"ClientMetadataInvalidContentType"|"IdpNotPotentiallyTrustworthy"|"DisabledInSettings"|"DisabledInFlags"|"ErrorFetchingSignin"|"InvalidSigninResponse"|"AccountsHttpNotFound"|"AccountsNoResponse"|"AccountsInvalidResponse"|"AccountsListEmpty"|"AccountsInvalidContentType"|"IdTokenHttpNotFound"|"IdTokenNoResponse"|"IdTokenInvalidResponse"|"IdTokenIdpErrorResponse"|"IdTokenCrossSiteIdpErrorResponse"|"IdTokenInvalidRequest"|"IdTokenInvalidContentType"|"ErrorIdToken"|"Canceled"|"RpPageNotVisible"|"SilentMediationFailure"|"ThirdPartyCookiesBlocked"|"NotSignedInWithIdp"|"MissingTransientUserActivation"|"ReplacedByActiveMode"|"InvalidFieldsSpecified"|"RelyingPartyOriginIsOpaque"|"TypeNotMatching"|"UiDismissedNoEmbargo"|"CorsError"|"SuppressedBySegmentationPlatform";
972
+ export type FederatedAuthRequestIssueReason = "ShouldEmbargo"|"TooManyRequests"|"WellKnownHttpNotFound"|"WellKnownNoResponse"|"WellKnownInvalidResponse"|"WellKnownListEmpty"|"WellKnownInvalidContentType"|"ConfigNotInWellKnown"|"WellKnownTooBig"|"ConfigHttpNotFound"|"ConfigNoResponse"|"ConfigInvalidResponse"|"ConfigInvalidContentType"|"IdpNotPotentiallyTrustworthy"|"DisabledInSettings"|"DisabledInFlags"|"ErrorFetchingSignin"|"InvalidSigninResponse"|"AccountsHttpNotFound"|"AccountsNoResponse"|"AccountsInvalidResponse"|"AccountsListEmpty"|"AccountsInvalidContentType"|"IdTokenHttpNotFound"|"IdTokenNoResponse"|"IdTokenInvalidResponse"|"IdTokenIdpErrorResponse"|"IdTokenCrossSiteIdpErrorResponse"|"IdTokenInvalidRequest"|"IdTokenInvalidContentType"|"ErrorIdToken"|"Canceled"|"RpPageNotVisible"|"SilentMediationFailure"|"NotSignedInWithIdp"|"MissingTransientUserActivation"|"ReplacedByActiveMode"|"RelyingPartyOriginIsOpaque"|"TypeNotMatching"|"UiDismissedNoEmbargo"|"CorsError"|"SuppressedBySegmentationPlatform";
969
973
  export interface FederatedAuthUserInfoRequestIssueDetails {
970
974
  federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
971
975
  }
@@ -1067,12 +1071,102 @@ re-identify users.
1067
1071
  */
1068
1072
  sourceCodeLocation?: SourceCodeLocation;
1069
1073
  }
1074
+ export type PermissionElementIssueType = "InvalidType"|"FencedFrameDisallowed"|"CspFrameAncestorsMissing"|"PermissionsPolicyBlocked"|"PaddingRightUnsupported"|"PaddingBottomUnsupported"|"InsetBoxShadowUnsupported"|"RequestInProgress"|"UntrustedEvent"|"RegistrationFailed"|"TypeNotSupported"|"InvalidTypeActivation"|"SecurityChecksFailed"|"ActivationDisabled"|"GeolocationDeprecated"|"InvalidDisplayStyle"|"NonOpaqueColor"|"LowContrast"|"FontSizeTooSmall"|"FontSizeTooLarge"|"InvalidSizeValue";
1075
+ /**
1076
+ * This issue warns about improper usage of the <permission> element.
1077
+ */
1078
+ export interface PermissionElementIssueDetails {
1079
+ issueType: PermissionElementIssueType;
1080
+ /**
1081
+ * The value of the type attribute.
1082
+ */
1083
+ type?: string;
1084
+ /**
1085
+ * The node ID of the <permission> element.
1086
+ */
1087
+ nodeId?: DOM.BackendNodeId;
1088
+ /**
1089
+ * True if the issue is a warning, false if it is an error.
1090
+ */
1091
+ isWarning?: boolean;
1092
+ /**
1093
+ * Fields for message construction:
1094
+ Used for messages that reference a specific permission name
1095
+ */
1096
+ permissionName?: string;
1097
+ /**
1098
+ * Used for messages about occlusion
1099
+ */
1100
+ occluderNodeInfo?: string;
1101
+ /**
1102
+ * Used for messages about occluder's parent
1103
+ */
1104
+ occluderParentNodeInfo?: string;
1105
+ /**
1106
+ * Used for messages about activation disabled reason
1107
+ */
1108
+ disableReason?: string;
1109
+ }
1110
+ /**
1111
+ * Metadata about the ad script that was on the stack that caused the current
1112
+ script in the `AdAncestry` to be considered ad related.
1113
+ */
1114
+ export interface AdScriptIdentifier {
1115
+ /**
1116
+ * The script's v8 identifier.
1117
+ */
1118
+ scriptId: Runtime.ScriptId;
1119
+ /**
1120
+ * v8's debugging id for the v8::Context.
1121
+ */
1122
+ debuggerId: Runtime.UniqueDebuggerId;
1123
+ /**
1124
+ * The script's url (or generated name based on id if inline script).
1125
+ */
1126
+ name: string;
1127
+ }
1128
+ /**
1129
+ * Providence about how an ad script was determined to be such. It is an ad
1130
+ because its url matched a filterlist rule, or because some other ad script
1131
+ was on the stack when this script was loaded.
1132
+ */
1133
+ export interface AdAncestry {
1134
+ /**
1135
+ * The ad-script in the stack when the offending script was loaded. This is
1136
+ recursive down to the root script that was tagged due to the filterlist
1137
+ rule.
1138
+ */
1139
+ adAncestryChain: AdScriptIdentifier[];
1140
+ /**
1141
+ * The filterlist rule that caused the root (last) script in
1142
+ `adAncestry` to be ad-tagged.
1143
+ */
1144
+ rootScriptFilterlistRule?: string;
1145
+ }
1146
+ /**
1147
+ * The issue warns about blocked calls to privacy sensitive APIs via the
1148
+ Selective Permissions Intervention.
1149
+ */
1150
+ export interface SelectivePermissionsInterventionIssueDetails {
1151
+ /**
1152
+ * Which API was intervened on.
1153
+ */
1154
+ apiName: string;
1155
+ /**
1156
+ * Why the ad script using the API is considered an ad.
1157
+ */
1158
+ adAncestry: AdAncestry;
1159
+ /**
1160
+ * The stack trace at the time of the intervention.
1161
+ */
1162
+ stackTrace?: Runtime.StackTrace;
1163
+ }
1070
1164
  /**
1071
1165
  * A unique identifier for the type of issue. Each type may use one of the
1072
1166
  optional fields in InspectorIssueDetails to convey more specific
1073
1167
  information about the kind of issue.
1074
1168
  */
1075
- export type InspectorIssueCode = "CookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"LowTextContrastIssue"|"CorsIssue"|"AttributionReportingIssue"|"QuirksModeIssue"|"PartitioningBlobURLIssue"|"NavigatorUserAgentIssue"|"GenericIssue"|"DeprecationIssue"|"ClientHintIssue"|"FederatedAuthRequestIssue"|"BounceTrackingIssue"|"CookieDeprecationMetadataIssue"|"StylesheetLoadingIssue"|"FederatedAuthUserInfoRequestIssue"|"PropertyRuleIssue"|"SharedDictionaryIssue"|"ElementAccessibilityIssue"|"SRIMessageSignatureIssue"|"UnencodedDigestIssue"|"UserReidentificationIssue";
1169
+ export type InspectorIssueCode = "CookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"CorsIssue"|"AttributionReportingIssue"|"QuirksModeIssue"|"PartitioningBlobURLIssue"|"NavigatorUserAgentIssue"|"GenericIssue"|"DeprecationIssue"|"ClientHintIssue"|"FederatedAuthRequestIssue"|"BounceTrackingIssue"|"CookieDeprecationMetadataIssue"|"StylesheetLoadingIssue"|"FederatedAuthUserInfoRequestIssue"|"PropertyRuleIssue"|"SharedDictionaryIssue"|"ElementAccessibilityIssue"|"SRIMessageSignatureIssue"|"UnencodedDigestIssue"|"ConnectionAllowlistIssue"|"UserReidentificationIssue"|"PermissionElementIssue"|"PerformanceIssue"|"SelectivePermissionsInterventionIssue";
1076
1170
  /**
1077
1171
  * This struct holds a list of optional fields with additional information
1078
1172
  specific to the kind of issue. When adding a new issue code, please also
@@ -1085,7 +1179,6 @@ add a new optional field to this type.
1085
1179
  heavyAdIssueDetails?: HeavyAdIssueDetails;
1086
1180
  contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;
1087
1181
  sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
1088
- lowTextContrastIssueDetails?: LowTextContrastIssueDetails;
1089
1182
  corsIssueDetails?: CorsIssueDetails;
1090
1183
  attributionReportingIssueDetails?: AttributionReportingIssueDetails;
1091
1184
  quirksModeIssueDetails?: QuirksModeIssueDetails;
@@ -1104,7 +1197,11 @@ add a new optional field to this type.
1104
1197
  elementAccessibilityIssueDetails?: ElementAccessibilityIssueDetails;
1105
1198
  sriMessageSignatureIssueDetails?: SRIMessageSignatureIssueDetails;
1106
1199
  unencodedDigestIssueDetails?: UnencodedDigestIssueDetails;
1200
+ connectionAllowlistIssueDetails?: ConnectionAllowlistIssueDetails;
1107
1201
  userReidentificationIssueDetails?: UserReidentificationIssueDetails;
1202
+ permissionElementIssueDetails?: PermissionElementIssueDetails;
1203
+ performanceIssueDetails?: PerformanceIssueDetails;
1204
+ selectivePermissionsInterventionIssueDetails?: SelectivePermissionsInterventionIssueDetails;
1108
1205
  }
1109
1206
  /**
1110
1207
  * A unique id for a DevTools inspector issue. Allows other entities (e.g.
@@ -1179,18 +1276,6 @@ applies to images.
1179
1276
  }
1180
1277
  export type enableReturnValue = {
1181
1278
  }
1182
- /**
1183
- * Runs the contrast check for the target page. Found issues are reported
1184
- using Audits.issueAdded event.
1185
- */
1186
- export type checkContrastParameters = {
1187
- /**
1188
- * Whether to report WCAG AAA level issues. Default is false.
1189
- */
1190
- reportAAA?: boolean;
1191
- }
1192
- export type checkContrastReturnValue = {
1193
- }
1194
1279
  /**
1195
1280
  * Runs the form issues check for the target page. Found issues are reported
1196
1281
  using Audits.issueAdded event.
@@ -1205,7 +1290,7 @@ using Audits.issueAdded event.
1205
1290
  /**
1206
1291
  * Defines commands and events for Autofill.
1207
1292
  */
1208
- export module Autofill {
1293
+ export namespace Autofill {
1209
1294
  export interface CreditCard {
1210
1295
  /**
1211
1296
  * 16-digit credit card number.
@@ -1372,7 +1457,7 @@ If the field and related form cannot be autofilled, returns an error.
1372
1457
  /**
1373
1458
  * Defines events for background web platform features.
1374
1459
  */
1375
- export module BackgroundService {
1460
+ export namespace BackgroundService {
1376
1461
  /**
1377
1462
  * The Background Service that will be associated with the commands/events.
1378
1463
  Every Background Service operates independently, but they share the same
@@ -1475,7 +1560,7 @@ events afterwards if enabled and recording.
1475
1560
  * This domain allows configuring virtual Bluetooth devices to test
1476
1561
  the web-bluetooth API.
1477
1562
  */
1478
- export module BluetoothEmulation {
1563
+ export namespace BluetoothEmulation {
1479
1564
  /**
1480
1565
  * Indicates the various states of Central.
1481
1566
  */
@@ -1760,7 +1845,7 @@ by |characteristicId|.
1760
1845
  /**
1761
1846
  * The Browser domain defines methods and events for browser managing.
1762
1847
  */
1763
- export module Browser {
1848
+ export namespace Browser {
1764
1849
  export type BrowserContextID = string;
1765
1850
  export type WindowID = number;
1766
1851
  /**
@@ -1792,7 +1877,7 @@ by |characteristicId|.
1792
1877
  */
1793
1878
  windowState?: WindowState;
1794
1879
  }
1795
- export type PermissionType = "ar"|"audioCapture"|"automaticFullscreen"|"backgroundFetch"|"backgroundSync"|"cameraPanTiltZoom"|"capturedSurfaceControl"|"clipboardReadWrite"|"clipboardSanitizedWrite"|"displayCapture"|"durableStorage"|"geolocation"|"handTracking"|"idleDetection"|"keyboardLock"|"localFonts"|"localNetworkAccess"|"midi"|"midiSysex"|"nfc"|"notifications"|"paymentHandler"|"periodicBackgroundSync"|"pointerLock"|"protectedMediaIdentifier"|"sensors"|"smartCard"|"speakerSelection"|"storageAccess"|"topLevelStorageAccess"|"videoCapture"|"vr"|"wakeLockScreen"|"wakeLockSystem"|"webAppInstallation"|"webPrinting"|"windowManagement";
1880
+ export type PermissionType = "ar"|"audioCapture"|"automaticFullscreen"|"backgroundFetch"|"backgroundSync"|"cameraPanTiltZoom"|"capturedSurfaceControl"|"clipboardReadWrite"|"clipboardSanitizedWrite"|"displayCapture"|"durableStorage"|"geolocation"|"handTracking"|"idleDetection"|"keyboardLock"|"localFonts"|"localNetwork"|"localNetworkAccess"|"loopbackNetwork"|"midi"|"midiSysex"|"nfc"|"notifications"|"paymentHandler"|"periodicBackgroundSync"|"pointerLock"|"protectedMediaIdentifier"|"sensors"|"smartCard"|"speakerSelection"|"storageAccess"|"topLevelStorageAccess"|"videoCapture"|"vr"|"wakeLockScreen"|"wakeLockSystem"|"webAppInstallation"|"webPrinting"|"windowManagement";
1796
1881
  export type PermissionSetting = "granted"|"denied"|"prompt";
1797
1882
  /**
1798
1883
  * Definition of PermissionDescriptor defined in the Permissions API:
@@ -2247,8 +2332,7 @@ CSS objects can be loaded using the `get*ForNode()` calls (which accept a DOM no
2247
2332
  can also keep track of stylesheets via the `styleSheetAdded`/`styleSheetRemoved` events and
2248
2333
  subsequently load the required stylesheet contents using the `getStyleSheet[Text]()` methods.
2249
2334
  */
2250
- export module CSS {
2251
- export type StyleSheetId = string;
2335
+ export namespace CSS {
2252
2336
  /**
2253
2337
  * Stylesheet type: "injected" for stylesheets injected via extension, "user-agent" for user-agent
2254
2338
  stylesheets, "inspector" for stylesheets created by the inspector (i.e. those holding the "via
@@ -2389,7 +2473,7 @@ pseudo-classes.
2389
2473
  /**
2390
2474
  * The stylesheet identifier.
2391
2475
  */
2392
- styleSheetId: StyleSheetId;
2476
+ styleSheetId: DOM.StyleSheetId;
2393
2477
  /**
2394
2478
  * Owner frame identifier.
2395
2479
  */
@@ -2474,7 +2558,7 @@ CSS module script.
2474
2558
  * The css style sheet identifier (absent for user agent stylesheet and user-specified
2475
2559
  stylesheet rules) this rule came from.
2476
2560
  */
2477
- styleSheetId?: StyleSheetId;
2561
+ styleSheetId?: DOM.StyleSheetId;
2478
2562
  /**
2479
2563
  * Rule selector data.
2480
2564
  */
@@ -2529,12 +2613,17 @@ The array enumerates @scope at-rules starting with the innermost one, going outw
2529
2613
  The array enumerates @starting-style at-rules starting with the innermost one, going outwards.
2530
2614
  */
2531
2615
  startingStyles?: CSSStartingStyle[];
2616
+ /**
2617
+ * @navigation CSS at-rule array.
2618
+ The array enumerates @navigation at-rules starting with the innermost one, going outwards.
2619
+ */
2620
+ navigations?: CSSNavigation[];
2532
2621
  }
2533
2622
  /**
2534
2623
  * Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors.
2535
2624
  This list only contains rule types that are collected during the ancestor rule collection.
2536
2625
  */
2537
- export type CSSRuleType = "MediaRule"|"SupportsRule"|"ContainerRule"|"LayerRule"|"ScopeRule"|"StyleRule"|"StartingStyleRule";
2626
+ export type CSSRuleType = "MediaRule"|"SupportsRule"|"ContainerRule"|"LayerRule"|"ScopeRule"|"StyleRule"|"StartingStyleRule"|"NavigationRule";
2538
2627
  /**
2539
2628
  * CSS coverage information.
2540
2629
  */
@@ -2543,7 +2632,7 @@ This list only contains rule types that are collected during the ancestor rule c
2543
2632
  * The css style sheet identifier (absent for user agent stylesheet and user-specified
2544
2633
  stylesheet rules) this rule came from.
2545
2634
  */
2546
- styleSheetId: StyleSheetId;
2635
+ styleSheetId: DOM.StyleSheetId;
2547
2636
  /**
2548
2637
  * Offset of the start of the rule (including selector) from the beginning of the stylesheet.
2549
2638
  */
@@ -2618,7 +2707,7 @@ or it is in the subtree of an element being rendered with base appearance.
2618
2707
  * The css style sheet identifier (absent for user agent stylesheet and user-specified
2619
2708
  stylesheet rules) this rule came from.
2620
2709
  */
2621
- styleSheetId?: StyleSheetId;
2710
+ styleSheetId?: DOM.StyleSheetId;
2622
2711
  /**
2623
2712
  * CSS properties in the style.
2624
2713
  */
@@ -2705,7 +2794,7 @@ available).
2705
2794
  /**
2706
2795
  * Identifier of the stylesheet containing this object (if exists).
2707
2796
  */
2708
- styleSheetId?: StyleSheetId;
2797
+ styleSheetId?: DOM.StyleSheetId;
2709
2798
  /**
2710
2799
  * Array of media queries.
2711
2800
  */
@@ -2765,7 +2854,7 @@ available).
2765
2854
  /**
2766
2855
  * Identifier of the stylesheet containing this object (if exists).
2767
2856
  */
2768
- styleSheetId?: StyleSheetId;
2857
+ styleSheetId?: DOM.StyleSheetId;
2769
2858
  /**
2770
2859
  * Optional name for the container.
2771
2860
  */
@@ -2807,7 +2896,29 @@ available).
2807
2896
  /**
2808
2897
  * Identifier of the stylesheet containing this object (if exists).
2809
2898
  */
2810
- styleSheetId?: StyleSheetId;
2899
+ styleSheetId?: DOM.StyleSheetId;
2900
+ }
2901
+ /**
2902
+ * CSS Navigation at-rule descriptor.
2903
+ */
2904
+ export interface CSSNavigation {
2905
+ /**
2906
+ * Navigation rule text.
2907
+ */
2908
+ text: string;
2909
+ /**
2910
+ * Whether the navigation condition is satisfied.
2911
+ */
2912
+ active?: boolean;
2913
+ /**
2914
+ * The associated rule header range in the enclosing stylesheet (if
2915
+ available).
2916
+ */
2917
+ range?: SourceRange;
2918
+ /**
2919
+ * Identifier of the stylesheet containing this object (if exists).
2920
+ */
2921
+ styleSheetId?: DOM.StyleSheetId;
2811
2922
  }
2812
2923
  /**
2813
2924
  * CSS Scope at-rule descriptor.
@@ -2825,7 +2936,7 @@ available).
2825
2936
  /**
2826
2937
  * Identifier of the stylesheet containing this object (if exists).
2827
2938
  */
2828
- styleSheetId?: StyleSheetId;
2939
+ styleSheetId?: DOM.StyleSheetId;
2829
2940
  }
2830
2941
  /**
2831
2942
  * CSS Layer at-rule descriptor.
@@ -2843,7 +2954,7 @@ available).
2843
2954
  /**
2844
2955
  * Identifier of the stylesheet containing this object (if exists).
2845
2956
  */
2846
- styleSheetId?: StyleSheetId;
2957
+ styleSheetId?: DOM.StyleSheetId;
2847
2958
  }
2848
2959
  /**
2849
2960
  * CSS Starting Style at-rule descriptor.
@@ -2857,7 +2968,7 @@ available).
2857
2968
  /**
2858
2969
  * Identifier of the stylesheet containing this object (if exists).
2859
2970
  */
2860
- styleSheetId?: StyleSheetId;
2971
+ styleSheetId?: DOM.StyleSheetId;
2861
2972
  }
2862
2973
  /**
2863
2974
  * CSS Layer data.
@@ -2977,7 +3088,7 @@ and additional information such as platformFontFamily and fontVariationAxes.
2977
3088
  * The css style sheet identifier (absent for user agent stylesheet and user-specified
2978
3089
  stylesheet rules) this rule came from.
2979
3090
  */
2980
- styleSheetId?: StyleSheetId;
3091
+ styleSheetId?: DOM.StyleSheetId;
2981
3092
  /**
2982
3093
  * Parent stylesheet's origin.
2983
3094
  */
@@ -2999,7 +3110,7 @@ stylesheet rules) this rule came from.
2999
3110
  * The css style sheet identifier (absent for user agent stylesheet and user-specified
3000
3111
  stylesheet rules) this rule came from.
3001
3112
  */
3002
- styleSheetId?: StyleSheetId;
3113
+ styleSheetId?: DOM.StyleSheetId;
3003
3114
  /**
3004
3115
  * Parent stylesheet's origin.
3005
3116
  */
@@ -3033,22 +3144,31 @@ stylesheet rules) this rule came from.
3033
3144
  syntax: string;
3034
3145
  }
3035
3146
  /**
3036
- * CSS font-palette-values rule representation.
3147
+ * CSS generic @rule representation.
3037
3148
  */
3038
- export interface CSSFontPaletteValuesRule {
3149
+ export interface CSSAtRule {
3150
+ /**
3151
+ * Type of at-rule.
3152
+ */
3153
+ type: "font-face"|"font-feature-values"|"font-palette-values";
3154
+ /**
3155
+ * Subsection of font-feature-values, if this is a subsection.
3156
+ */
3157
+ subsection?: "swash"|"annotation"|"ornaments"|"stylistic"|"styleset"|"character-variant";
3158
+ /**
3159
+ * LINT.ThenChange(//third_party/blink/renderer/core/inspector/inspector_style_sheet.cc:FontVariantAlternatesFeatureType,//third_party/blink/renderer/core/inspector/inspector_css_agent.cc:FontVariantAlternatesFeatureType)
3160
+ Associated name, if applicable.
3161
+ */
3162
+ name?: Value;
3039
3163
  /**
3040
3164
  * The css style sheet identifier (absent for user agent stylesheet and user-specified
3041
3165
  stylesheet rules) this rule came from.
3042
3166
  */
3043
- styleSheetId?: StyleSheetId;
3167
+ styleSheetId?: DOM.StyleSheetId;
3044
3168
  /**
3045
3169
  * Parent stylesheet's origin.
3046
3170
  */
3047
3171
  origin: StyleSheetOrigin;
3048
- /**
3049
- * Associated font palette name.
3050
- */
3051
- fontPaletteName: Value;
3052
3172
  /**
3053
3173
  * Associated style declaration.
3054
3174
  */
@@ -3062,7 +3182,7 @@ stylesheet rules) this rule came from.
3062
3182
  * The css style sheet identifier (absent for user agent stylesheet and user-specified
3063
3183
  stylesheet rules) this rule came from.
3064
3184
  */
3065
- styleSheetId?: StyleSheetId;
3185
+ styleSheetId?: DOM.StyleSheetId;
3066
3186
  /**
3067
3187
  * Parent stylesheet's origin.
3068
3188
  */
@@ -3105,6 +3225,10 @@ stylesheet rules) this rule came from.
3105
3225
  * @supports CSS at-rule condition. Only one type of condition should be set.
3106
3226
  */
3107
3227
  supports?: CSSSupports;
3228
+ /**
3229
+ * @navigation condition. Only one type of condition should be set.
3230
+ */
3231
+ navigation?: CSSNavigation;
3108
3232
  /**
3109
3233
  * Block body.
3110
3234
  */
@@ -3139,7 +3263,7 @@ stylesheet rules) this rule came from.
3139
3263
  * The css style sheet identifier (absent for user agent stylesheet and user-specified
3140
3264
  stylesheet rules) this rule came from.
3141
3265
  */
3142
- styleSheetId?: StyleSheetId;
3266
+ styleSheetId?: DOM.StyleSheetId;
3143
3267
  /**
3144
3268
  * Parent stylesheet's origin.
3145
3269
  */
@@ -3161,7 +3285,7 @@ stylesheet rules) this rule came from.
3161
3285
  * The css style sheet identifier (absent for user agent stylesheet and user-specified
3162
3286
  stylesheet rules) this rule came from.
3163
3287
  */
3164
- styleSheetId?: StyleSheetId;
3288
+ styleSheetId?: DOM.StyleSheetId;
3165
3289
  /**
3166
3290
  * Parent stylesheet's origin.
3167
3291
  */
@@ -3182,7 +3306,7 @@ stylesheet rules) this rule came from.
3182
3306
  /**
3183
3307
  * The css style sheet identifier.
3184
3308
  */
3185
- styleSheetId: StyleSheetId;
3309
+ styleSheetId: DOM.StyleSheetId;
3186
3310
  /**
3187
3311
  * The range of the style text in the enclosing stylesheet.
3188
3312
  */
@@ -3221,7 +3345,7 @@ resized.) The current implementation considers only viewport-dependent media fea
3221
3345
  * Fired whenever a stylesheet is changed as a result of the client operation.
3222
3346
  */
3223
3347
  export type styleSheetChangedPayload = {
3224
- styleSheetId: StyleSheetId;
3348
+ styleSheetId: DOM.StyleSheetId;
3225
3349
  }
3226
3350
  /**
3227
3351
  * Fired whenever an active document stylesheet is removed.
@@ -3230,7 +3354,7 @@ resized.) The current implementation considers only viewport-dependent media fea
3230
3354
  /**
3231
3355
  * Identifier of the removed stylesheet.
3232
3356
  */
3233
- styleSheetId: StyleSheetId;
3357
+ styleSheetId: DOM.StyleSheetId;
3234
3358
  }
3235
3359
  export type computedStyleUpdatedPayload = {
3236
3360
  /**
@@ -3247,7 +3371,7 @@ position specified by `location`.
3247
3371
  /**
3248
3372
  * The css style sheet identifier where a new rule should be inserted.
3249
3373
  */
3250
- styleSheetId: StyleSheetId;
3374
+ styleSheetId: DOM.StyleSheetId;
3251
3375
  /**
3252
3376
  * The text of a new rule.
3253
3377
  */
@@ -3273,7 +3397,7 @@ incorrect results if the declaration contains a var() for example.
3273
3397
  * Returns all class names from specified stylesheet.
3274
3398
  */
3275
3399
  export type collectClassNamesParameters = {
3276
- styleSheetId: StyleSheetId;
3400
+ styleSheetId: DOM.StyleSheetId;
3277
3401
  }
3278
3402
  export type collectClassNamesReturnValue = {
3279
3403
  /**
@@ -3301,7 +3425,7 @@ for the frame's document if it exists or creates a new stylesheet
3301
3425
  /**
3302
3426
  * Identifier of the created "via-inspector" stylesheet.
3303
3427
  */
3304
- styleSheetId: StyleSheetId;
3428
+ styleSheetId: DOM.StyleSheetId;
3305
3429
  }
3306
3430
  /**
3307
3431
  * Disables the CSS agent for the given page.
@@ -3401,6 +3525,8 @@ they were property's declaration. If a value cannot be parsed according
3401
3525
  to the provided property syntax, the value is parsed using combined
3402
3526
  syntax as if null `propertyName` was provided. If the value cannot be
3403
3527
  resolved even then, return the provided value without any changes.
3528
+ Note: this function currently does not resolve CSS random() function,
3529
+ it returns unmodified random() function parts.`
3404
3530
  */
3405
3531
  export type resolveValuesParameters = {
3406
3532
  /**
@@ -3527,9 +3653,9 @@ will not be set if there is no active position-try fallback.
3527
3653
  */
3528
3654
  cssPropertyRegistrations?: CSSPropertyRegistration[];
3529
3655
  /**
3530
- * A font-palette-values rule matching this node.
3656
+ * A list of simple @rules matching this node or its pseudo-elements.
3531
3657
  */
3532
- cssFontPaletteValuesRule?: CSSFontPaletteValuesRule;
3658
+ cssAtRules?: CSSAtRule[];
3533
3659
  /**
3534
3660
  * Id of the first parent element that does not have display: contents.
3535
3661
  */
@@ -3572,7 +3698,7 @@ node.
3572
3698
  * Returns the current textual content for a stylesheet.
3573
3699
  */
3574
3700
  export type getStyleSheetTextParameters = {
3575
- styleSheetId: StyleSheetId;
3701
+ styleSheetId: DOM.StyleSheetId;
3576
3702
  }
3577
3703
  export type getStyleSheetTextReturnValue = {
3578
3704
  /**
@@ -3597,7 +3723,7 @@ the full layer tree for the tree scope and their ordering.
3597
3723
  returns an array of locations of the CSS selector in the style sheet.
3598
3724
  */
3599
3725
  export type getLocationForSelectorParameters = {
3600
- styleSheetId: StyleSheetId;
3726
+ styleSheetId: DOM.StyleSheetId;
3601
3727
  selectorText: string;
3602
3728
  }
3603
3729
  export type getLocationForSelectorReturnValue = {
@@ -3658,7 +3784,7 @@ property
3658
3784
  * Modifies the property rule property name.
3659
3785
  */
3660
3786
  export type setPropertyRulePropertyNameParameters = {
3661
- styleSheetId: StyleSheetId;
3787
+ styleSheetId: DOM.StyleSheetId;
3662
3788
  range: SourceRange;
3663
3789
  propertyName: string;
3664
3790
  }
@@ -3672,7 +3798,7 @@ property
3672
3798
  * Modifies the keyframe rule key text.
3673
3799
  */
3674
3800
  export type setKeyframeKeyParameters = {
3675
- styleSheetId: StyleSheetId;
3801
+ styleSheetId: DOM.StyleSheetId;
3676
3802
  range: SourceRange;
3677
3803
  keyText: string;
3678
3804
  }
@@ -3686,7 +3812,7 @@ property
3686
3812
  * Modifies the rule selector.
3687
3813
  */
3688
3814
  export type setMediaTextParameters = {
3689
- styleSheetId: StyleSheetId;
3815
+ styleSheetId: DOM.StyleSheetId;
3690
3816
  range: SourceRange;
3691
3817
  text: string;
3692
3818
  }
@@ -3700,7 +3826,7 @@ property
3700
3826
  * Modifies the expression of a container query.
3701
3827
  */
3702
3828
  export type setContainerQueryTextParameters = {
3703
- styleSheetId: StyleSheetId;
3829
+ styleSheetId: DOM.StyleSheetId;
3704
3830
  range: SourceRange;
3705
3831
  text: string;
3706
3832
  }
@@ -3714,7 +3840,7 @@ property
3714
3840
  * Modifies the expression of a supports at-rule.
3715
3841
  */
3716
3842
  export type setSupportsTextParameters = {
3717
- styleSheetId: StyleSheetId;
3843
+ styleSheetId: DOM.StyleSheetId;
3718
3844
  range: SourceRange;
3719
3845
  text: string;
3720
3846
  }
@@ -3724,11 +3850,25 @@ property
3724
3850
  */
3725
3851
  supports: CSSSupports;
3726
3852
  }
3853
+ /**
3854
+ * Modifies the expression of a navigation at-rule.
3855
+ */
3856
+ export type setNavigationTextParameters = {
3857
+ styleSheetId: DOM.StyleSheetId;
3858
+ range: SourceRange;
3859
+ text: string;
3860
+ }
3861
+ export type setNavigationTextReturnValue = {
3862
+ /**
3863
+ * The resulting CSS Navigation rule after modification.
3864
+ */
3865
+ navigation: CSSNavigation;
3866
+ }
3727
3867
  /**
3728
3868
  * Modifies the expression of a scope at-rule.
3729
3869
  */
3730
3870
  export type setScopeTextParameters = {
3731
- styleSheetId: StyleSheetId;
3871
+ styleSheetId: DOM.StyleSheetId;
3732
3872
  range: SourceRange;
3733
3873
  text: string;
3734
3874
  }
@@ -3742,7 +3882,7 @@ property
3742
3882
  * Modifies the rule selector.
3743
3883
  */
3744
3884
  export type setRuleSelectorParameters = {
3745
- styleSheetId: StyleSheetId;
3885
+ styleSheetId: DOM.StyleSheetId;
3746
3886
  range: SourceRange;
3747
3887
  selector: string;
3748
3888
  }
@@ -3756,7 +3896,7 @@ property
3756
3896
  * Sets the new stylesheet text.
3757
3897
  */
3758
3898
  export type setStyleSheetTextParameters = {
3759
- styleSheetId: StyleSheetId;
3899
+ styleSheetId: DOM.StyleSheetId;
3760
3900
  text: string;
3761
3901
  }
3762
3902
  export type setStyleSheetTextReturnValue = {
@@ -3825,7 +3965,7 @@ instrumentation).
3825
3965
  }
3826
3966
  }
3827
3967
 
3828
- export module CacheStorage {
3968
+ export namespace CacheStorage {
3829
3969
  /**
3830
3970
  * Unique identifier of the Cache object.
3831
3971
  */
@@ -4022,7 +4162,7 @@ is the count of all entries from this storage.
4022
4162
  * A domain for interacting with Cast, Presentation API, and Remote Playback API
4023
4163
  functionalities.
4024
4164
  */
4025
- export module Cast {
4165
+ export namespace Cast {
4026
4166
  export interface Sink {
4027
4167
  name: string;
4028
4168
  id: string;
@@ -4111,7 +4251,7 @@ and never sends the same node twice. It is client's responsibility to collect in
4111
4251
  the nodes that were sent to the client. Note that `iframe` owner elements will return
4112
4252
  corresponding document elements as their child nodes.
4113
4253
  */
4114
- export module DOM {
4254
+ export namespace DOM {
4115
4255
  /**
4116
4256
  * Unique DOM node identifier.
4117
4257
  */
@@ -4121,6 +4261,10 @@ corresponding document elements as their child nodes.
4121
4261
  front-end.
4122
4262
  */
4123
4263
  export type BackendNodeId = number;
4264
+ /**
4265
+ * Unique identifier for a CSS stylesheet.
4266
+ */
4267
+ export type StyleSheetId = string;
4124
4268
  /**
4125
4269
  * Backend node with a friendly name.
4126
4270
  */
@@ -4138,7 +4282,7 @@ front-end.
4138
4282
  /**
4139
4283
  * Pseudo element type.
4140
4284
  */
4141
- export type PseudoType = "first-line"|"first-letter"|"checkmark"|"before"|"after"|"picker-icon"|"interest-hint"|"marker"|"backdrop"|"column"|"selection"|"search-text"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scroll-marker"|"scroll-marker-group"|"scroll-button"|"scrollbar"|"scrollbar-thumb"|"scrollbar-button"|"scrollbar-track"|"scrollbar-track-piece"|"scrollbar-corner"|"resizer"|"input-list-button"|"view-transition"|"view-transition-group"|"view-transition-image-pair"|"view-transition-group-children"|"view-transition-old"|"view-transition-new"|"placeholder"|"file-selector-button"|"details-content"|"picker"|"permission-icon";
4285
+ export type PseudoType = "first-line"|"first-letter"|"checkmark"|"before"|"after"|"picker-icon"|"interest-hint"|"marker"|"backdrop"|"column"|"selection"|"search-text"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scroll-marker"|"scroll-marker-group"|"scroll-button"|"scrollbar"|"scrollbar-thumb"|"scrollbar-button"|"scrollbar-track"|"scrollbar-track-piece"|"scrollbar-corner"|"resizer"|"input-list-button"|"view-transition"|"view-transition-group"|"view-transition-image-pair"|"view-transition-group-children"|"view-transition-old"|"view-transition-new"|"placeholder"|"file-selector-button"|"details-content"|"picker"|"permission-icon"|"overscroll-area-parent";
4142
4286
  /**
4143
4287
  * Shadow root type.
4144
4288
  */
@@ -4289,6 +4433,8 @@ The property is always undefined now.
4289
4433
  assignedSlot?: BackendNode;
4290
4434
  isScrollable?: boolean;
4291
4435
  affectedByStartingStyles?: boolean;
4436
+ adoptedStyleSheets?: StyleSheetId[];
4437
+ isAdRelated?: boolean;
4292
4438
  }
4293
4439
  /**
4294
4440
  * A structure to hold the top-level node of a detached tree and an array of its retained descendants.
@@ -4421,6 +4567,19 @@ The property is always undefined now.
4421
4567
  */
4422
4568
  value: string;
4423
4569
  }
4570
+ /**
4571
+ * Fired when `Element`'s adoptedStyleSheets are modified.
4572
+ */
4573
+ export type adoptedStyleSheetsModifiedPayload = {
4574
+ /**
4575
+ * Id of the node that has changed.
4576
+ */
4577
+ nodeId: NodeId;
4578
+ /**
4579
+ * New adoptedStyleSheets array.
4580
+ */
4581
+ adoptedStyleSheets: StyleSheetId[];
4582
+ }
4424
4583
  /**
4425
4584
  * Fired when `Element`'s attribute is removed.
4426
4585
  */
@@ -4546,6 +4705,19 @@ The property is always undefined now.
4546
4705
  */
4547
4706
  isScrollable: boolean;
4548
4707
  }
4708
+ /**
4709
+ * Fired when a node's ad related state changes.
4710
+ */
4711
+ export type adRelatedStateUpdatedPayload = {
4712
+ /**
4713
+ * The id of the node.
4714
+ */
4715
+ nodeId: DOM.NodeId;
4716
+ /**
4717
+ * If the node is ad related.
4718
+ */
4719
+ isAdRelated: boolean;
4720
+ }
4549
4721
  /**
4550
4722
  * Fired when a node's starting styles changes.
4551
4723
  */
@@ -5556,7 +5728,7 @@ popover if it was previously force-opened.
5556
5728
  * DOM debugging allows setting breakpoints on particular DOM operations and events. JavaScript
5557
5729
  execution will stop on these operations as if there was a regular breakpoint set.
5558
5730
  */
5559
- export module DOMDebugger {
5731
+ export namespace DOMDebugger {
5560
5732
  /**
5561
5733
  * DOM breakpoint type.
5562
5734
  */
@@ -5758,7 +5930,7 @@ EventTarget.
5758
5930
  /**
5759
5931
  * This domain facilitates obtaining document snapshots with DOM, layout, and style information.
5760
5932
  */
5761
- export module DOMSnapshot {
5933
+ export namespace DOMSnapshot {
5762
5934
  /**
5763
5935
  * A Node in the DOM tree.
5764
5936
  */
@@ -6296,7 +6468,7 @@ The final text color opacity is computed based on the opacity of all overlapping
6296
6468
  /**
6297
6469
  * Query and modify DOM storage.
6298
6470
  */
6299
- export module DOMStorage {
6471
+ export namespace DOMStorage {
6300
6472
  export type SerializedStorageKey = string;
6301
6473
  /**
6302
6474
  * DOM Storage identifier.
@@ -6379,7 +6551,7 @@ The final text color opacity is computed based on the opacity of all overlapping
6379
6551
  }
6380
6552
  }
6381
6553
 
6382
- export module DeviceAccess {
6554
+ export namespace DeviceAccess {
6383
6555
  /**
6384
6556
  * Device request id.
6385
6557
  */
@@ -6441,7 +6613,7 @@ selectPrompt or cancelPrompt command.
6441
6613
  }
6442
6614
  }
6443
6615
 
6444
- export module DeviceOrientation {
6616
+ export namespace DeviceOrientation {
6445
6617
 
6446
6618
 
6447
6619
  /**
@@ -6475,7 +6647,7 @@ selectPrompt or cancelPrompt command.
6475
6647
  /**
6476
6648
  * This domain emulates different environments for the page.
6477
6649
  */
6478
- export module Emulation {
6650
+ export namespace Emulation {
6479
6651
  export interface SafeAreaInsets {
6480
6652
  /**
6481
6653
  * Overrides safe-area-inset-top.
@@ -6717,12 +6889,27 @@ see https://w3c.github.io/window-management/#screendetailed.
6717
6889
  /**
6718
6890
  * Enum of image types that can be disabled.
6719
6891
  */
6720
- export type DisabledImageType = "avif"|"webp";
6892
+ export type DisabledImageType = "avif"|"jxl"|"webp";
6721
6893
 
6722
6894
  /**
6723
6895
  * Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
6724
6896
  */
6725
6897
  export type virtualTimeBudgetExpiredPayload = void;
6898
+ /**
6899
+ * Fired when a page calls screen.orientation.lock() or screen.orientation.unlock()
6900
+ while device emulation is enabled. This allows the DevTools frontend to update the
6901
+ emulated device orientation accordingly.
6902
+ */
6903
+ export type screenOrientationLockChangedPayload = {
6904
+ /**
6905
+ * Whether the screen orientation is currently locked.
6906
+ */
6907
+ locked: boolean;
6908
+ /**
6909
+ * The orientation lock type requested by the page. Only set when locked is true.
6910
+ */
6911
+ orientation?: ScreenOrientation;
6912
+ }
6726
6913
 
6727
6914
  /**
6728
6915
  * Tells whether emulation is supported.
@@ -6880,6 +7067,18 @@ to continuous.
6880
7067
  Deprecated, use Emulation.setDevicePostureOverride.
6881
7068
  */
6882
7069
  devicePosture?: DevicePosture;
7070
+ /**
7071
+ * Scrollbar type. Default: `default`.
7072
+ */
7073
+ scrollbarType?: "overlay"|"default";
7074
+ /**
7075
+ * If set to true, enables screen orientation lock emulation, which
7076
+ intercepts screen.orientation.lock() calls from the page and reports
7077
+ orientation changes via screenOrientationLockChanged events. This is
7078
+ useful for emulating mobile device orientation lock behavior in
7079
+ responsive design mode.
7080
+ */
7081
+ screenOrientationLockEmulation?: boolean;
6883
7082
  }
6884
7083
  export type setDeviceMetricsOverrideReturnValue = {
6885
7084
  }
@@ -7302,7 +7501,8 @@ of size 100lvh.
7302
7501
  export type setSmallViewportHeightDifferenceOverrideReturnValue = {
7303
7502
  }
7304
7503
  /**
7305
- * Returns device's screen configuration.
7504
+ * Returns device's screen configuration. In headful mode, the physical screens configuration is returned,
7505
+ whereas in headless mode, a virtual headless screen configuration is provided instead.
7306
7506
  */
7307
7507
  export type getScreenInfosParameters = {
7308
7508
  }
@@ -7357,6 +7557,58 @@ of size 100lvh.
7357
7557
  export type addScreenReturnValue = {
7358
7558
  screenInfo: ScreenInfo;
7359
7559
  }
7560
+ /**
7561
+ * Updates specified screen parameters. Only supported in headless mode.
7562
+ */
7563
+ export type updateScreenParameters = {
7564
+ /**
7565
+ * Target screen identifier.
7566
+ */
7567
+ screenId: ScreenId;
7568
+ /**
7569
+ * Offset of the left edge of the screen in pixels.
7570
+ */
7571
+ left?: number;
7572
+ /**
7573
+ * Offset of the top edge of the screen in pixels.
7574
+ */
7575
+ top?: number;
7576
+ /**
7577
+ * The width of the screen in pixels.
7578
+ */
7579
+ width?: number;
7580
+ /**
7581
+ * The height of the screen in pixels.
7582
+ */
7583
+ height?: number;
7584
+ /**
7585
+ * Specifies the screen's work area.
7586
+ */
7587
+ workAreaInsets?: WorkAreaInsets;
7588
+ /**
7589
+ * Specifies the screen's device pixel ratio.
7590
+ */
7591
+ devicePixelRatio?: number;
7592
+ /**
7593
+ * Specifies the screen's rotation angle. Available values are 0, 90, 180 and 270.
7594
+ */
7595
+ rotation?: number;
7596
+ /**
7597
+ * Specifies the screen's color depth in bits.
7598
+ */
7599
+ colorDepth?: number;
7600
+ /**
7601
+ * Specifies the descriptive label for the screen.
7602
+ */
7603
+ label?: string;
7604
+ /**
7605
+ * Indicates whether the screen is internal to the device or external, attached to the device. Default is false.
7606
+ */
7607
+ isInternal?: boolean;
7608
+ }
7609
+ export type updateScreenReturnValue = {
7610
+ screenInfo: ScreenInfo;
7611
+ }
7360
7612
  /**
7361
7613
  * Remove screen from the device. Only supported in headless mode.
7362
7614
  */
@@ -7365,6 +7617,17 @@ of size 100lvh.
7365
7617
  }
7366
7618
  export type removeScreenReturnValue = {
7367
7619
  }
7620
+ /**
7621
+ * Set primary screen. Only supported in headless mode.
7622
+ Note that this changes the coordinate system origin to the top-left
7623
+ of the new primary screen, updating the bounds and work areas
7624
+ of all existing screens accordingly.
7625
+ */
7626
+ export type setPrimaryScreenParameters = {
7627
+ screenId: ScreenId;
7628
+ }
7629
+ export type setPrimaryScreenReturnValue = {
7630
+ }
7368
7631
  }
7369
7632
 
7370
7633
  /**
@@ -7372,7 +7635,7 @@ of size 100lvh.
7372
7635
  occurring in native code invoked from JavaScript. Once breakpoint is hit, it is
7373
7636
  reported through Debugger domain, similarly to regular breakpoints being hit.
7374
7637
  */
7375
- export module EventBreakpoints {
7638
+ export namespace EventBreakpoints {
7376
7639
 
7377
7640
 
7378
7641
  /**
@@ -7409,13 +7672,55 @@ reported through Debugger domain, similarly to regular breakpoints being hit.
7409
7672
  /**
7410
7673
  * Defines commands and events for browser extensions.
7411
7674
  */
7412
- export module Extensions {
7675
+ export namespace Extensions {
7413
7676
  /**
7414
7677
  * Storage areas.
7415
7678
  */
7416
7679
  export type StorageArea = "session"|"local"|"sync"|"managed";
7680
+ /**
7681
+ * Detailed information about an extension.
7682
+ */
7683
+ export interface ExtensionInfo {
7684
+ /**
7685
+ * Extension id.
7686
+ */
7687
+ id: string;
7688
+ /**
7689
+ * Extension name.
7690
+ */
7691
+ name: string;
7692
+ /**
7693
+ * Extension version.
7694
+ */
7695
+ version: string;
7696
+ /**
7697
+ * The path from which the extension was loaded.
7698
+ */
7699
+ path: string;
7700
+ /**
7701
+ * Extension enabled status.
7702
+ */
7703
+ enabled: boolean;
7704
+ }
7417
7705
 
7418
7706
 
7707
+ /**
7708
+ * Runs an extension default action.
7709
+ Available if the client is connected using the --remote-debugging-pipe
7710
+ flag and the --enable-unsafe-extension-debugging flag is set.
7711
+ */
7712
+ export type triggerActionParameters = {
7713
+ /**
7714
+ * Extension id.
7715
+ */
7716
+ id: string;
7717
+ /**
7718
+ * A tab target ID to trigger the default extension action on.
7719
+ */
7720
+ targetId: string;
7721
+ }
7722
+ export type triggerActionReturnValue = {
7723
+ }
7419
7724
  /**
7420
7725
  * Installs an unpacked extension from the filesystem similar to
7421
7726
  --load-extension CLI flags. Returns extension ID once the extension
@@ -7428,6 +7733,10 @@ flag is set.
7428
7733
  * Absolute file path.
7429
7734
  */
7430
7735
  path: string;
7736
+ /**
7737
+ * Enable the extension in incognito
7738
+ */
7739
+ enableInIncognito?: boolean;
7431
7740
  }
7432
7741
  export type loadUnpackedReturnValue = {
7433
7742
  /**
@@ -7435,6 +7744,16 @@ flag is set.
7435
7744
  */
7436
7745
  id: string;
7437
7746
  }
7747
+ /**
7748
+ * Gets a list of all unpacked extensions.
7749
+ Available if the client is connected using the --remote-debugging-pipe flag
7750
+ and the --enable-unsafe-extension-debugging flag is set.
7751
+ */
7752
+ export type getExtensionsParameters = {
7753
+ }
7754
+ export type getExtensionsReturnValue = {
7755
+ extensions: ExtensionInfo[];
7756
+ }
7438
7757
  /**
7439
7758
  * Uninstalls an unpacked extension (others not supported) from the profile.
7440
7759
  Available if the client is connected using the --remote-debugging-pipe flag
@@ -7528,7 +7847,7 @@ will be merged with existing values in the storage area.
7528
7847
  /**
7529
7848
  * This domain allows interacting with the FedCM dialog.
7530
7849
  */
7531
- export module FedCm {
7850
+ export namespace FedCm {
7532
7851
  /**
7533
7852
  * Whether this is a sign-up or sign-in action for this account, i.e.
7534
7853
  whether this account has ever been used to sign in to this RP before.
@@ -7636,7 +7955,7 @@ a dialog even if one was recently dismissed by the user.
7636
7955
  /**
7637
7956
  * A domain for letting clients substitute browser's network layer with client code.
7638
7957
  */
7639
- export module Fetch {
7958
+ export namespace Fetch {
7640
7959
  /**
7641
7960
  * Unique request identifier.
7642
7961
  Note that this does not identify individual HTTP requests that are part of
@@ -8007,7 +8326,7 @@ domain before body is received results in an undefined behavior.
8007
8326
  }
8008
8327
  }
8009
8328
 
8010
- export module FileSystem {
8329
+ export namespace FileSystem {
8011
8330
  export interface File {
8012
8331
  name: string;
8013
8332
  /**
@@ -8058,7 +8377,7 @@ domain before body is received results in an undefined behavior.
8058
8377
  /**
8059
8378
  * This domain provides experimental commands only supported in headless mode.
8060
8379
  */
8061
- export module HeadlessExperimental {
8380
+ export namespace HeadlessExperimental {
8062
8381
  /**
8063
8382
  * Encoding options for a screenshot.
8064
8383
  */
@@ -8138,7 +8457,7 @@ display. Reported for diagnostic uses, may be removed in the future.
8138
8457
  /**
8139
8458
  * Input/Output operations for streams produced by DevTools.
8140
8459
  */
8141
- export module IO {
8460
+ export namespace IO {
8142
8461
  /**
8143
8462
  * This is either obtained from another method or specified as `blob:<uuid>` where
8144
8463
  `<uuid>` is an UUID of a Blob.
@@ -8206,7 +8525,7 @@ following the last read). Some types of streams may only support sequential read
8206
8525
  }
8207
8526
  }
8208
8527
 
8209
- export module IndexedDB {
8528
+ export namespace IndexedDB {
8210
8529
  /**
8211
8530
  * Database with an array of object stores.
8212
8531
  */
@@ -8585,7 +8904,7 @@ Security origin.
8585
8904
  }
8586
8905
  }
8587
8906
 
8588
- export module Input {
8907
+ export namespace Input {
8589
8908
  export interface TouchPoint {
8590
8909
  /**
8591
8910
  * X coordinate of the event relative to the main frame's viewport in CSS pixels.
@@ -9108,7 +9427,7 @@ for the preferred input type).
9108
9427
  }
9109
9428
  }
9110
9429
 
9111
- export module Inspector {
9430
+ export namespace Inspector {
9112
9431
 
9113
9432
  /**
9114
9433
  * Fired when remote debugging connection is about to be terminated. Contains detach reason.
@@ -9148,7 +9467,7 @@ for the preferred input type).
9148
9467
  }
9149
9468
  }
9150
9469
 
9151
- export module LayerTree {
9470
+ export namespace LayerTree {
9152
9471
  /**
9153
9472
  * Unique Layer identifier.
9154
9473
  */
@@ -9445,7 +9764,7 @@ transform/scrolling purposes only.
9445
9764
  /**
9446
9765
  * Provides access to log entries.
9447
9766
  */
9448
- export module Log {
9767
+ export namespace Log {
9449
9768
  /**
9450
9769
  * Log entry.
9451
9770
  */
@@ -9561,7 +9880,7 @@ transform/scrolling purposes only.
9561
9880
  /**
9562
9881
  * This domain allows detailed inspection of media elements.
9563
9882
  */
9564
- export module Media {
9883
+ export namespace Media {
9565
9884
  /**
9566
9885
  * Players will get an ID that is unique within the agent context.
9567
9886
  */
@@ -9692,7 +10011,7 @@ event for each active player.
9692
10011
  }
9693
10012
  }
9694
10013
 
9695
- export module Memory {
10014
+ export namespace Memory {
9696
10015
  /**
9697
10016
  * Memory pressure level.
9698
10017
  */
@@ -9872,7 +10191,7 @@ collected since browser process startup.
9872
10191
  * Network domain allows tracking network activities of the page. It exposes information about http,
9873
10192
  file, data and other requests and responses, their headers, bodies, timing, etc.
9874
10193
  */
9875
- export module Network {
10194
+ export namespace Network {
9876
10195
  /**
9877
10196
  * Resource type as it was perceived by the rendering engine.
9878
10197
  */
@@ -10021,6 +10340,10 @@ milliseconds relatively to this requestTime.
10021
10340
  * Loading priority of a resource request.
10022
10341
  */
10023
10342
  export type ResourcePriority = "VeryLow"|"Low"|"Medium"|"High"|"VeryHigh";
10343
+ /**
10344
+ * The render-blocking behavior of a resource request.
10345
+ */
10346
+ export type RenderBlockingBehavior = "Blocking"|"InBodyParserBlocking"|"NonBlocking"|"NonBlockingDynamic"|"PotentiallyBlocking";
10024
10347
  /**
10025
10348
  * Post data entry for HTTP request
10026
10349
  */
@@ -10204,15 +10527,10 @@ applicable or not known.
10204
10527
  * The reason why request was blocked.
10205
10528
  */
10206
10529
  export type BlockedReason = "other"|"csp"|"mixed-content"|"origin"|"inspector"|"integrity"|"subresource-filter"|"content-type"|"coep-frame-resource-needs-coep-header"|"coop-sandboxed-iframe-cannot-navigate-to-coop-page"|"corp-not-same-origin"|"corp-not-same-origin-after-defaulted-to-same-origin-by-coep"|"corp-not-same-origin-after-defaulted-to-same-origin-by-dip"|"corp-not-same-origin-after-defaulted-to-same-origin-by-coep-and-dip"|"corp-not-same-site"|"sri-message-signature-mismatch";
10207
- /**
10208
- * Sets Controls for IP Proxy of requests.
10209
- Page reload is required before the new behavior will be observed.
10210
- */
10211
- export type IpProxyStatus = "Available"|"FeatureNotEnabled"|"MaskedDomainListNotEnabled"|"MaskedDomainListNotPopulated"|"AuthTokensUnavailable"|"Unavailable"|"BypassedByDevTools";
10212
10530
  /**
10213
10531
  * The reason why request was blocked.
10214
10532
  */
10215
- export type CorsError = "DisallowedByMode"|"InvalidResponse"|"WildcardOriginNotAllowed"|"MissingAllowOriginHeader"|"MultipleAllowOriginValues"|"InvalidAllowOriginValue"|"AllowOriginMismatch"|"InvalidAllowCredentials"|"CorsDisabledScheme"|"PreflightInvalidStatus"|"PreflightDisallowedRedirect"|"PreflightWildcardOriginNotAllowed"|"PreflightMissingAllowOriginHeader"|"PreflightMultipleAllowOriginValues"|"PreflightInvalidAllowOriginValue"|"PreflightAllowOriginMismatch"|"PreflightInvalidAllowCredentials"|"PreflightMissingAllowExternal"|"PreflightInvalidAllowExternal"|"PreflightMissingAllowPrivateNetwork"|"PreflightInvalidAllowPrivateNetwork"|"InvalidAllowMethodsPreflightResponse"|"InvalidAllowHeadersPreflightResponse"|"MethodDisallowedByPreflightResponse"|"HeaderDisallowedByPreflightResponse"|"RedirectContainsCredentials"|"InsecurePrivateNetwork"|"InvalidPrivateNetworkAccess"|"UnexpectedPrivateNetworkAccess"|"NoCorsRedirectModeNotFollow"|"PreflightMissingPrivateNetworkAccessId"|"PreflightMissingPrivateNetworkAccessName"|"PrivateNetworkAccessPermissionUnavailable"|"PrivateNetworkAccessPermissionDenied"|"LocalNetworkAccessPermissionDenied";
10533
+ export type CorsError = "DisallowedByMode"|"InvalidResponse"|"WildcardOriginNotAllowed"|"MissingAllowOriginHeader"|"MultipleAllowOriginValues"|"InvalidAllowOriginValue"|"AllowOriginMismatch"|"InvalidAllowCredentials"|"CorsDisabledScheme"|"PreflightInvalidStatus"|"PreflightDisallowedRedirect"|"PreflightWildcardOriginNotAllowed"|"PreflightMissingAllowOriginHeader"|"PreflightMultipleAllowOriginValues"|"PreflightInvalidAllowOriginValue"|"PreflightAllowOriginMismatch"|"PreflightInvalidAllowCredentials"|"PreflightMissingAllowExternal"|"PreflightInvalidAllowExternal"|"InvalidAllowMethodsPreflightResponse"|"InvalidAllowHeadersPreflightResponse"|"MethodDisallowedByPreflightResponse"|"HeaderDisallowedByPreflightResponse"|"RedirectContainsCredentials"|"InsecureLocalNetwork"|"InvalidLocalNetworkAccess"|"NoCorsRedirectModeNotFollow"|"LocalNetworkAccessPermissionDenied";
10216
10534
  export interface CorsErrorStatus {
10217
10535
  corsError: CorsError;
10218
10536
  failedParameter: string;
@@ -10379,11 +10697,6 @@ Otherwise, the API is not used.
10379
10697
  * Security details for the request.
10380
10698
  */
10381
10699
  securityDetails?: SecurityDetails;
10382
- /**
10383
- * Indicates whether the request was sent through IP Protection proxies. If
10384
- set to true, the request used the IP Protection privacy feature.
10385
- */
10386
- isIpProtectionUsed?: boolean;
10387
10700
  }
10388
10701
  /**
10389
10702
  * WebSocket request data.
@@ -10561,10 +10874,6 @@ JSON (±Inf).
10561
10874
  * Cookie Priority
10562
10875
  */
10563
10876
  priority: CookiePriority;
10564
- /**
10565
- * True if cookie is SameParty.
10566
- */
10567
- sameParty: boolean;
10568
10877
  /**
10569
10878
  * Cookie source scheme type.
10570
10879
  */
@@ -10587,11 +10896,11 @@ This is a temporary ability and it will be removed in the future.
10587
10896
  /**
10588
10897
  * Types of reasons why a cookie may not be stored from a response.
10589
10898
  */
10590
- export type SetCookieBlockedReason = "SecureOnly"|"SameSiteStrict"|"SameSiteLax"|"SameSiteUnspecifiedTreatedAsLax"|"SameSiteNoneInsecure"|"UserPreferences"|"ThirdPartyPhaseout"|"ThirdPartyBlockedInFirstPartySet"|"SyntaxError"|"SchemeNotSupported"|"OverwriteSecure"|"InvalidDomain"|"InvalidPrefix"|"UnknownError"|"SchemefulSameSiteStrict"|"SchemefulSameSiteLax"|"SchemefulSameSiteUnspecifiedTreatedAsLax"|"SamePartyFromCrossPartyContext"|"SamePartyConflictsWithOtherAttributes"|"NameValuePairExceedsMaxSize"|"DisallowedCharacter"|"NoCookieContent";
10899
+ export type SetCookieBlockedReason = "SecureOnly"|"SameSiteStrict"|"SameSiteLax"|"SameSiteUnspecifiedTreatedAsLax"|"SameSiteNoneInsecure"|"UserPreferences"|"ThirdPartyPhaseout"|"ThirdPartyBlockedInFirstPartySet"|"SyntaxError"|"SchemeNotSupported"|"OverwriteSecure"|"InvalidDomain"|"InvalidPrefix"|"UnknownError"|"SchemefulSameSiteStrict"|"SchemefulSameSiteLax"|"SchemefulSameSiteUnspecifiedTreatedAsLax"|"NameValuePairExceedsMaxSize"|"DisallowedCharacter"|"NoCookieContent";
10591
10900
  /**
10592
10901
  * Types of reasons why a cookie may not be sent with a request.
10593
10902
  */
10594
- export type CookieBlockedReason = "SecureOnly"|"NotOnPath"|"DomainMismatch"|"SameSiteStrict"|"SameSiteLax"|"SameSiteUnspecifiedTreatedAsLax"|"SameSiteNoneInsecure"|"UserPreferences"|"ThirdPartyPhaseout"|"ThirdPartyBlockedInFirstPartySet"|"UnknownError"|"SchemefulSameSiteStrict"|"SchemefulSameSiteLax"|"SchemefulSameSiteUnspecifiedTreatedAsLax"|"SamePartyFromCrossPartyContext"|"NameValuePairExceedsMaxSize"|"PortMismatch"|"SchemeMismatch"|"AnonymousContext";
10903
+ export type CookieBlockedReason = "SecureOnly"|"NotOnPath"|"DomainMismatch"|"SameSiteStrict"|"SameSiteLax"|"SameSiteUnspecifiedTreatedAsLax"|"SameSiteNoneInsecure"|"UserPreferences"|"ThirdPartyPhaseout"|"ThirdPartyBlockedInFirstPartySet"|"UnknownError"|"SchemefulSameSiteStrict"|"SchemefulSameSiteLax"|"SchemefulSameSiteUnspecifiedTreatedAsLax"|"NameValuePairExceedsMaxSize"|"PortMismatch"|"SchemeMismatch"|"AnonymousContext";
10595
10904
  /**
10596
10905
  * Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
10597
10906
  */
@@ -10698,10 +11007,6 @@ default domain, path, source port, and source scheme values of the created cooki
10698
11007
  * Cookie Priority.
10699
11008
  */
10700
11009
  priority?: CookiePriority;
10701
- /**
10702
- * True if cookie is SameParty.
10703
- */
10704
- sameParty?: boolean;
10705
11010
  /**
10706
11011
  * Cookie source scheme type.
10707
11012
  */
@@ -10989,6 +11294,12 @@ matched (including p2p connections).
10989
11294
  * Expected to be unsigned integer.
10990
11295
  */
10991
11296
  receiveBufferSize?: number;
11297
+ multicastLoopback?: boolean;
11298
+ /**
11299
+ * Unsigned int 8.
11300
+ */
11301
+ multicastTimeToLive?: number;
11302
+ multicastAllowAddressSharing?: boolean;
10992
11303
  }
10993
11304
  export interface DirectUDPMessage {
10994
11305
  data: binary;
@@ -11002,7 +11313,7 @@ Expected to be unsigned integer.
11002
11313
  */
11003
11314
  remotePort?: number;
11004
11315
  }
11005
- export type PrivateNetworkRequestPolicy = "Allow"|"BlockFromInsecureToMorePrivate"|"WarnFromInsecureToMorePrivate"|"PreflightBlock"|"PreflightWarn"|"PermissionBlock"|"PermissionWarn";
11316
+ export type LocalNetworkAccessRequestPolicy = "Allow"|"BlockFromInsecureToMorePrivate"|"WarnFromInsecureToMorePrivate"|"PermissionBlock"|"PermissionWarn";
11006
11317
  export type IPAddressSpace = "Loopback"|"Local"|"Public"|"Unknown";
11007
11318
  export interface ConnectTiming {
11008
11319
  /**
@@ -11015,7 +11326,7 @@ the same request (but not for redirected requests).
11015
11326
  export interface ClientSecurityState {
11016
11327
  initiatorIsSecureContext: boolean;
11017
11328
  initiatorIPAddressSpace: IPAddressSpace;
11018
- privateNetworkRequestPolicy: PrivateNetworkRequestPolicy;
11329
+ localNetworkAccessRequestPolicy: LocalNetworkAccessRequestPolicy;
11019
11330
  }
11020
11331
  export type CrossOriginOpenerPolicyValue = "SameOrigin"|"SameOriginAllowPopups"|"RestrictProperties"|"UnsafeNone"|"SameOriginPlusCoep"|"RestrictPropertiesPlusCoep"|"NoopenerAllowPopups";
11021
11332
  export interface CrossOriginOpenerPolicyStatus {
@@ -11090,32 +11401,255 @@ the same request (but not for redirected requests).
11090
11401
  groupName: string;
11091
11402
  }
11092
11403
  /**
11093
- * An object providing the result of a network resource load.
11404
+ * Unique identifier for a device bound session.
11094
11405
  */
11095
- export interface LoadNetworkResourcePageResult {
11096
- success: boolean;
11406
+ export interface DeviceBoundSessionKey {
11097
11407
  /**
11098
- * Optional values used for error reporting.
11408
+ * The site the session is set up for.
11099
11409
  */
11100
- netError?: number;
11101
- netErrorName?: string;
11102
- httpStatusCode?: number;
11410
+ site: string;
11103
11411
  /**
11104
- * If successful, one of the following two fields holds the result.
11412
+ * The id of the session.
11105
11413
  */
11106
- stream?: IO.StreamHandle;
11414
+ id: string;
11415
+ }
11416
+ /**
11417
+ * How a device bound session was used during a request.
11418
+ */
11419
+ export interface DeviceBoundSessionWithUsage {
11107
11420
  /**
11108
- * Response headers.
11421
+ * The key for the session.
11109
11422
  */
11110
- headers?: Network.Headers;
11423
+ sessionKey: DeviceBoundSessionKey;
11424
+ /**
11425
+ * How the session was used (or not used).
11426
+ */
11427
+ usage: "NotInScope"|"InScopeRefreshNotYetNeeded"|"InScopeRefreshNotAllowed"|"ProactiveRefreshNotPossible"|"ProactiveRefreshAttempted"|"Deferred";
11111
11428
  }
11112
11429
  /**
11113
- * An options object that may be extended later to better support CORS,
11114
- CORB and streaming.
11430
+ * A device bound session's cookie craving.
11115
11431
  */
11116
- export interface LoadNetworkResourceOptions {
11117
- disableCache: boolean;
11118
- includeCredentials: boolean;
11432
+ export interface DeviceBoundSessionCookieCraving {
11433
+ /**
11434
+ * The name of the craving.
11435
+ */
11436
+ name: string;
11437
+ /**
11438
+ * The domain of the craving.
11439
+ */
11440
+ domain: string;
11441
+ /**
11442
+ * The path of the craving.
11443
+ */
11444
+ path: string;
11445
+ /**
11446
+ * The `Secure` attribute of the craving attributes.
11447
+ */
11448
+ secure: boolean;
11449
+ /**
11450
+ * The `HttpOnly` attribute of the craving attributes.
11451
+ */
11452
+ httpOnly: boolean;
11453
+ /**
11454
+ * The `SameSite` attribute of the craving attributes.
11455
+ */
11456
+ sameSite?: CookieSameSite;
11457
+ }
11458
+ /**
11459
+ * A device bound session's inclusion URL rule.
11460
+ */
11461
+ export interface DeviceBoundSessionUrlRule {
11462
+ /**
11463
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::rule_type`.
11464
+ */
11465
+ ruleType: "Exclude"|"Include";
11466
+ /**
11467
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::host_pattern`.
11468
+ */
11469
+ hostPattern: string;
11470
+ /**
11471
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::path_prefix`.
11472
+ */
11473
+ pathPrefix: string;
11474
+ }
11475
+ /**
11476
+ * A device bound session's inclusion rules.
11477
+ */
11478
+ export interface DeviceBoundSessionInclusionRules {
11479
+ /**
11480
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::origin_`.
11481
+ */
11482
+ origin: string;
11483
+ /**
11484
+ * Whether the whole site is included. See comments on
11485
+ `net::device_bound_sessions::SessionInclusionRules::include_site_` for more
11486
+ details; this boolean is true if that value is populated.
11487
+ */
11488
+ includeSite: boolean;
11489
+ /**
11490
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::url_rules_`.
11491
+ */
11492
+ urlRules: DeviceBoundSessionUrlRule[];
11493
+ }
11494
+ /**
11495
+ * A device bound session.
11496
+ */
11497
+ export interface DeviceBoundSession {
11498
+ /**
11499
+ * The site and session ID of the session.
11500
+ */
11501
+ key: DeviceBoundSessionKey;
11502
+ /**
11503
+ * See comments on `net::device_bound_sessions::Session::refresh_url_`.
11504
+ */
11505
+ refreshUrl: string;
11506
+ /**
11507
+ * See comments on `net::device_bound_sessions::Session::inclusion_rules_`.
11508
+ */
11509
+ inclusionRules: DeviceBoundSessionInclusionRules;
11510
+ /**
11511
+ * See comments on `net::device_bound_sessions::Session::cookie_cravings_`.
11512
+ */
11513
+ cookieCravings: DeviceBoundSessionCookieCraving[];
11514
+ /**
11515
+ * See comments on `net::device_bound_sessions::Session::expiry_date_`.
11516
+ */
11517
+ expiryDate: Network.TimeSinceEpoch;
11518
+ /**
11519
+ * See comments on `net::device_bound_sessions::Session::cached_challenge__`.
11520
+ */
11521
+ cachedChallenge?: string;
11522
+ /**
11523
+ * See comments on `net::device_bound_sessions::Session::allowed_refresh_initiators_`.
11524
+ */
11525
+ allowedRefreshInitiators: string[];
11526
+ }
11527
+ /**
11528
+ * A unique identifier for a device bound session event.
11529
+ */
11530
+ export type DeviceBoundSessionEventId = string;
11531
+ /**
11532
+ * A fetch result for a device bound session creation or refresh.
11533
+ */
11534
+ export type DeviceBoundSessionFetchResult = "Success"|"KeyError"|"SigningError"|"ServerRequestedTermination"|"InvalidSessionId"|"InvalidChallenge"|"TooManyChallenges"|"InvalidFetcherUrl"|"InvalidRefreshUrl"|"TransientHttpError"|"ScopeOriginSameSiteMismatch"|"RefreshUrlSameSiteMismatch"|"MismatchedSessionId"|"MissingScope"|"NoCredentials"|"SubdomainRegistrationWellKnownUnavailable"|"SubdomainRegistrationUnauthorized"|"SubdomainRegistrationWellKnownMalformed"|"SessionProviderWellKnownUnavailable"|"RelyingPartyWellKnownUnavailable"|"FederatedKeyThumbprintMismatch"|"InvalidFederatedSessionUrl"|"InvalidFederatedKey"|"TooManyRelyingOriginLabels"|"BoundCookieSetForbidden"|"NetError"|"ProxyError"|"EmptySessionConfig"|"InvalidCredentialsConfig"|"InvalidCredentialsType"|"InvalidCredentialsEmptyName"|"InvalidCredentialsCookie"|"PersistentHttpError"|"RegistrationAttemptedChallenge"|"InvalidScopeOrigin"|"ScopeOriginContainsPath"|"RefreshInitiatorNotString"|"RefreshInitiatorInvalidHostPattern"|"InvalidScopeSpecification"|"MissingScopeSpecificationType"|"EmptyScopeSpecificationDomain"|"EmptyScopeSpecificationPath"|"InvalidScopeSpecificationType"|"InvalidScopeIncludeSite"|"MissingScopeIncludeSite"|"FederatedNotAuthorizedByProvider"|"FederatedNotAuthorizedByRelyingParty"|"SessionProviderWellKnownMalformed"|"SessionProviderWellKnownHasProviderOrigin"|"RelyingPartyWellKnownMalformed"|"RelyingPartyWellKnownHasRelyingOrigins"|"InvalidFederatedSessionProviderSessionMissing"|"InvalidFederatedSessionWrongProviderOrigin"|"InvalidCredentialsCookieCreationTime"|"InvalidCredentialsCookieName"|"InvalidCredentialsCookieParsing"|"InvalidCredentialsCookieUnpermittedAttribute"|"InvalidCredentialsCookieInvalidDomain"|"InvalidCredentialsCookiePrefix"|"InvalidScopeRulePath"|"InvalidScopeRuleHostPattern"|"ScopeRuleOriginScopedHostPatternMismatch"|"ScopeRuleSiteScopedHostPatternMismatch"|"SigningQuotaExceeded"|"InvalidConfigJson"|"InvalidFederatedSessionProviderFailedToRestoreKey"|"FailedToUnwrapKey"|"SessionDeletedDuringRefresh";
11535
+ /**
11536
+ * Details about a failed device bound session network request.
11537
+ */
11538
+ export interface DeviceBoundSessionFailedRequest {
11539
+ /**
11540
+ * The failed request URL.
11541
+ */
11542
+ requestUrl: string;
11543
+ /**
11544
+ * The net error of the response if it was not OK.
11545
+ */
11546
+ netError?: string;
11547
+ /**
11548
+ * The response code if the net error was OK and the response code was not
11549
+ 200.
11550
+ */
11551
+ responseError?: number;
11552
+ /**
11553
+ * The body of the response if the net error was OK, the response code was
11554
+ not 200, and the response body was not empty.
11555
+ */
11556
+ responseErrorBody?: string;
11557
+ }
11558
+ /**
11559
+ * Session event details specific to creation.
11560
+ */
11561
+ export interface CreationEventDetails {
11562
+ /**
11563
+ * The result of the fetch attempt.
11564
+ */
11565
+ fetchResult: DeviceBoundSessionFetchResult;
11566
+ /**
11567
+ * The session if there was a newly created session. This is populated for
11568
+ all successful creation events.
11569
+ */
11570
+ newSession?: DeviceBoundSession;
11571
+ /**
11572
+ * Details about a failed device bound session network request if there was
11573
+ one.
11574
+ */
11575
+ failedRequest?: DeviceBoundSessionFailedRequest;
11576
+ }
11577
+ /**
11578
+ * Session event details specific to refresh.
11579
+ */
11580
+ export interface RefreshEventDetails {
11581
+ /**
11582
+ * The result of a refresh.
11583
+ */
11584
+ refreshResult: "Refreshed"|"InitializedService"|"Unreachable"|"ServerError"|"RefreshQuotaExceeded"|"FatalError"|"SigningQuotaExceeded";
11585
+ /**
11586
+ * If there was a fetch attempt, the result of that.
11587
+ */
11588
+ fetchResult?: DeviceBoundSessionFetchResult;
11589
+ /**
11590
+ * The session display if there was a newly created session. This is populated
11591
+ for any refresh event that modifies the session config.
11592
+ */
11593
+ newSession?: DeviceBoundSession;
11594
+ /**
11595
+ * See comments on `net::device_bound_sessions::RefreshEventResult::was_fully_proactive_refresh`.
11596
+ */
11597
+ wasFullyProactiveRefresh: boolean;
11598
+ /**
11599
+ * Details about a failed device bound session network request if there was
11600
+ one.
11601
+ */
11602
+ failedRequest?: DeviceBoundSessionFailedRequest;
11603
+ }
11604
+ /**
11605
+ * Session event details specific to termination.
11606
+ */
11607
+ export interface TerminationEventDetails {
11608
+ /**
11609
+ * The reason for a session being deleted.
11610
+ */
11611
+ deletionReason: "Expired"|"FailedToRestoreKey"|"FailedToUnwrapKey"|"StoragePartitionCleared"|"ClearBrowsingData"|"ServerRequested"|"InvalidSessionParams"|"RefreshFatalError";
11612
+ }
11613
+ /**
11614
+ * Session event details specific to challenges.
11615
+ */
11616
+ export interface ChallengeEventDetails {
11617
+ /**
11618
+ * The result of a challenge.
11619
+ */
11620
+ challengeResult: "Success"|"NoSessionId"|"NoSessionMatch"|"CantSetBoundCookie";
11621
+ /**
11622
+ * The challenge set.
11623
+ */
11624
+ challenge: string;
11625
+ }
11626
+ /**
11627
+ * An object providing the result of a network resource load.
11628
+ */
11629
+ export interface LoadNetworkResourcePageResult {
11630
+ success: boolean;
11631
+ /**
11632
+ * Optional values used for error reporting.
11633
+ */
11634
+ netError?: number;
11635
+ netErrorName?: string;
11636
+ httpStatusCode?: number;
11637
+ /**
11638
+ * If successful, one of the following two fields holds the result.
11639
+ */
11640
+ stream?: IO.StreamHandle;
11641
+ /**
11642
+ * Response headers.
11643
+ */
11644
+ headers?: Network.Headers;
11645
+ }
11646
+ /**
11647
+ * An options object that may be extended later to better support CORS,
11648
+ CORB and streaming.
11649
+ */
11650
+ export interface LoadNetworkResourceOptions {
11651
+ disableCache: boolean;
11652
+ includeCredentials: boolean;
11119
11653
  }
11120
11654
 
11121
11655
  /**
@@ -11341,6 +11875,10 @@ for the request which was just redirected.
11341
11875
  * Whether the request is initiated by a user gesture. Defaults to false.
11342
11876
  */
11343
11877
  hasUserGesture?: boolean;
11878
+ /**
11879
+ * The render-blocking behavior of the request.
11880
+ */
11881
+ renderBlockingBehavior?: RenderBlockingBehavior;
11344
11882
  }
11345
11883
  /**
11346
11884
  * Fired when resource loading priority is changed
@@ -11634,6 +12172,14 @@ or were emitted for this request.
11634
12172
  data: binary;
11635
12173
  timestamp: MonotonicTime;
11636
12174
  }
12175
+ export type directUDPSocketJoinedMulticastGroupPayload = {
12176
+ identifier: RequestId;
12177
+ IPAddress: string;
12178
+ }
12179
+ export type directUDPSocketLeftMulticastGroupPayload = {
12180
+ identifier: RequestId;
12181
+ IPAddress: string;
12182
+ }
11637
12183
  /**
11638
12184
  * Fired upon direct_socket.UDPSocket creation.
11639
12185
  */
@@ -11715,6 +12261,10 @@ the request and the ones not sent; the latter are distinguished by having blocke
11715
12261
  * Connection timing information for the request.
11716
12262
  */
11717
12263
  connectTiming: ConnectTiming;
12264
+ /**
12265
+ * How the request site's device bound sessions were used during this request.
12266
+ */
12267
+ deviceBoundSessionUsages?: DeviceBoundSessionWithUsage[];
11718
12268
  /**
11719
12269
  * The client security state set for the request.
11720
12270
  */
@@ -11851,30 +12401,45 @@ And after 'enableReportingApi' for all existing reports.
11851
12401
  origin: string;
11852
12402
  endpoints: ReportingApiEndpoint[];
11853
12403
  }
11854
-
11855
12404
  /**
11856
- * Returns enum representing if IP Proxy of requests is available
11857
- or reason it is not active.
12405
+ * Triggered when the initial set of device bound sessions is added.
11858
12406
  */
11859
- export type getIPProtectionProxyStatusParameters = {
11860
- }
11861
- export type getIPProtectionProxyStatusReturnValue = {
12407
+ export type deviceBoundSessionsAddedPayload = {
11862
12408
  /**
11863
- * Whether IP proxy is available
12409
+ * The device bound sessions.
11864
12410
  */
11865
- status: IpProxyStatus;
12411
+ sessions: DeviceBoundSession[];
11866
12412
  }
11867
12413
  /**
11868
- * Sets bypass IP Protection Proxy boolean.
12414
+ * Triggered when a device bound session event occurs.
11869
12415
  */
11870
- export type setIPProtectionProxyBypassEnabledParameters = {
12416
+ export type deviceBoundSessionEventOccurredPayload = {
11871
12417
  /**
11872
- * Whether IP Proxy is being bypassed by devtools; false by default.
12418
+ * A unique identifier for this session event.
11873
12419
  */
11874
- enabled: boolean;
11875
- }
11876
- export type setIPProtectionProxyBypassEnabledReturnValue = {
12420
+ eventId: DeviceBoundSessionEventId;
12421
+ /**
12422
+ * The site this session event is associated with.
12423
+ */
12424
+ site: string;
12425
+ /**
12426
+ * Whether this event was considered successful.
12427
+ */
12428
+ succeeded: boolean;
12429
+ /**
12430
+ * The session ID this event is associated with. May not be populated for
12431
+ failed events.
12432
+ */
12433
+ sessionId?: string;
12434
+ /**
12435
+ * The below are the different session event type details. Exactly one is populated.
12436
+ */
12437
+ creationEventDetails?: CreationEventDetails;
12438
+ refreshEventDetails?: RefreshEventDetails;
12439
+ terminationEventDetails?: TerminationEventDetails;
12440
+ challengeEventDetails?: ChallengeEventDetails;
11877
12441
  }
12442
+
11878
12443
  /**
11879
12444
  * Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
11880
12445
  */
@@ -12119,6 +12684,8 @@ requests affected by a rule.
12119
12684
  export type enableParameters = {
12120
12685
  /**
12121
12686
  * Buffer size in bytes to use when preserving network payloads (XHRs, etc).
12687
+ This is the maximum number of bytes that will be collected by this
12688
+ DevTools session.
12122
12689
  */
12123
12690
  maxTotalBufferSize?: number;
12124
12691
  /**
@@ -12136,12 +12703,31 @@ requests affected by a rule.
12136
12703
  /**
12137
12704
  * Enable storing response bodies outside of renderer, so that these survive
12138
12705
  a cross-process navigation. Requires maxTotalBufferSize to be set.
12139
- Currently defaults to false.
12706
+ Currently defaults to false. This field is being deprecated in favor of the dedicated
12707
+ configureDurableMessages command, due to the possibility of deadlocks when awaiting
12708
+ Network.enable before issuing Runtime.runIfWaitingForDebugger.
12140
12709
  */
12141
12710
  enableDurableMessages?: boolean;
12142
12711
  }
12143
12712
  export type enableReturnValue = {
12144
12713
  }
12714
+ /**
12715
+ * Configures storing response bodies outside of renderer, so that these survive
12716
+ a cross-process navigation.
12717
+ If maxTotalBufferSize is not set, durable messages are disabled.
12718
+ */
12719
+ export type configureDurableMessagesParameters = {
12720
+ /**
12721
+ * Buffer size in bytes to use when preserving network payloads (XHRs, etc).
12722
+ */
12723
+ maxTotalBufferSize?: number;
12724
+ /**
12725
+ * Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
12726
+ */
12727
+ maxResourceBufferSize?: number;
12728
+ }
12729
+ export type configureDurableMessagesReturnValue = {
12730
+ }
12145
12731
  /**
12146
12732
  * Returns all browser cookies. Depending on the backend support, will return detailed cookie
12147
12733
  information in the `cookies` field.
@@ -12218,6 +12804,10 @@ the URLs of the page and all of its subframes.
12218
12804
  * Request body string, omitting files from multipart requests
12219
12805
  */
12220
12806
  postData: string;
12807
+ /**
12808
+ * True, if content was sent as base64.
12809
+ */
12810
+ base64Encoded: boolean;
12221
12811
  }
12222
12812
  /**
12223
12813
  * Returns content served for the given currently intercepted request.
@@ -12373,10 +12963,6 @@ default domain, path, source port, and source scheme values of the created cooki
12373
12963
  * Cookie Priority type.
12374
12964
  */
12375
12965
  priority?: CookiePriority;
12376
- /**
12377
- * True if cookie is SameParty.
12378
- */
12379
- sameParty?: boolean;
12380
12966
  /**
12381
12967
  * Cookie source scheme type.
12382
12968
  */
@@ -12507,6 +13093,32 @@ Enabling triggers 'reportingApiReportAdded' for all existing reports.
12507
13093
  }
12508
13094
  export type enableReportingApiReturnValue = {
12509
13095
  }
13096
+ /**
13097
+ * Sets up tracking device bound sessions and fetching of initial set of sessions.
13098
+ */
13099
+ export type enableDeviceBoundSessionsParameters = {
13100
+ /**
13101
+ * Whether to enable or disable events.
13102
+ */
13103
+ enable: boolean;
13104
+ }
13105
+ export type enableDeviceBoundSessionsReturnValue = {
13106
+ }
13107
+ /**
13108
+ * Fetches the schemeful site for a specific origin.
13109
+ */
13110
+ export type fetchSchemefulSiteParameters = {
13111
+ /**
13112
+ * The URL origin.
13113
+ */
13114
+ origin: string;
13115
+ }
13116
+ export type fetchSchemefulSiteReturnValue = {
13117
+ /**
13118
+ * The corresponding schemeful site.
13119
+ */
13120
+ schemefulSite: string;
13121
+ }
12510
13122
  /**
12511
13123
  * Fetches the resource and returns the content.
12512
13124
  */
@@ -12553,7 +13165,7 @@ Page reload is required before the new cookie behavior will be observed
12553
13165
  /**
12554
13166
  * This domain provides various functionality related to drawing atop the inspected page.
12555
13167
  */
12556
- export module Overlay {
13168
+ export namespace Overlay {
12557
13169
  /**
12558
13170
  * Configuration data for drawing the source order of an elements children.
12559
13171
  */
@@ -12945,6 +13557,16 @@ Page reload is required before the new cookie behavior will be observed
12945
13557
  maskColor?: DOM.RGBA;
12946
13558
  }
12947
13559
  export type InspectMode = "searchForNode"|"searchForUAShadowDOM"|"captureAreaScreenshot"|"none";
13560
+ export interface InspectedElementAnchorConfig {
13561
+ /**
13562
+ * Identifier of the node to highlight.
13563
+ */
13564
+ nodeId?: DOM.NodeId;
13565
+ /**
13566
+ * Identifier of the backend node to highlight.
13567
+ */
13568
+ backendNodeId?: DOM.BackendNodeId;
13569
+ }
12948
13570
 
12949
13571
  /**
12950
13572
  * Fired when the node should be inspected. This happens after call to `setInspectMode` or when
@@ -12971,6 +13593,24 @@ user manually inspects an element.
12971
13593
  */
12972
13594
  viewport: Page.Viewport;
12973
13595
  }
13596
+ /**
13597
+ * Fired when user asks to show the Inspect panel.
13598
+ */
13599
+ export type inspectPanelShowRequestedPayload = {
13600
+ /**
13601
+ * Id of the node to show in the panel.
13602
+ */
13603
+ backendNodeId: DOM.BackendNodeId;
13604
+ }
13605
+ /**
13606
+ * Fired when user asks to restore the Inspected Element floating window.
13607
+ */
13608
+ export type inspectedElementWindowRestoredPayload = {
13609
+ /**
13610
+ * Id of the node to restore the floating window for.
13611
+ */
13612
+ backendNodeId: DOM.BackendNodeId;
13613
+ }
12974
13614
  /**
12975
13615
  * Fired when user cancels the inspect mode.
12976
13616
  */
@@ -13278,6 +13918,14 @@ Backend then generates 'inspectNodeRequested' event upon element selection.
13278
13918
  }
13279
13919
  export type setShowContainerQueryOverlaysReturnValue = {
13280
13920
  }
13921
+ export type setShowInspectedElementAnchorParameters = {
13922
+ /**
13923
+ * Node identifier for which to show an anchor for.
13924
+ */
13925
+ inspectedElementAnchorConfig: InspectedElementAnchorConfig;
13926
+ }
13927
+ export type setShowInspectedElementAnchorReturnValue = {
13928
+ }
13281
13929
  /**
13282
13930
  * Requests that backend shows paint rectangles
13283
13931
  */
@@ -13379,7 +14027,7 @@ Backend then generates 'inspectNodeRequested' event upon element selection.
13379
14027
  /**
13380
14028
  * This domain allows interacting with the browser to control PWAs.
13381
14029
  */
13382
- export module PWA {
14030
+ export namespace PWA {
13383
14031
  /**
13384
14032
  * The following types are the replica of
13385
14033
  https://crsrc.org/c/chrome/browser/web_applications/proto/web_app_os_integration_state.proto;drc=9910d3be894c8f142c977ba1023f30a656bc13fc;l=67
@@ -13550,7 +14198,7 @@ supported yet.
13550
14198
  /**
13551
14199
  * Actions and events related to the inspected page belong to the page domain.
13552
14200
  */
13553
- export module Page {
14201
+ export namespace Page {
13554
14202
  /**
13555
14203
  * Unique frame identifier.
13556
14204
  */
@@ -13616,7 +14264,7 @@ available.
13616
14264
  in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
13617
14265
  LINT.IfChange(PermissionsPolicyFeature)
13618
14266
  */
13619
- export type PermissionsPolicyFeature = "accelerometer"|"all-screens-capture"|"ambient-light-sensor"|"aria-notify"|"attribution-reporting"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"captured-surface-control"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-prefers-reduced-transparency"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-high-entropy-values"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factors"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"compute-pressure"|"controlled-frame"|"cross-origin-isolated"|"deferred-fetch"|"deferred-fetch-minimal"|"device-attributes"|"digital-credentials-create"|"digital-credentials-get"|"direct-sockets"|"direct-sockets-multicast"|"direct-sockets-private"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"fenced-unpartitioned-storage-read"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"language-detector"|"language-model"|"local-fonts"|"local-network-access"|"magnetometer"|"media-playback-while-not-visible"|"microphone"|"midi"|"on-device-speech-recognition"|"otp-credentials"|"payment"|"picture-in-picture"|"popins"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-create"|"publickey-credentials-get"|"record-ad-auction-events"|"rewriter"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"speaker-selection"|"storage-access"|"sub-apps"|"summarizer"|"sync-xhr"|"translator"|"unload"|"usb"|"usb-unrestricted"|"vertical-scroll"|"web-app-installation"|"web-printing"|"web-share"|"window-management"|"writer"|"xr-spatial-tracking";
14267
+ export type PermissionsPolicyFeature = "accelerometer"|"all-screens-capture"|"ambient-light-sensor"|"aria-notify"|"attribution-reporting"|"autofill"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"captured-surface-control"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-prefers-reduced-transparency"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-high-entropy-values"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factors"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"compute-pressure"|"controlled-frame"|"cross-origin-isolated"|"deferred-fetch"|"deferred-fetch-minimal"|"device-attributes"|"digital-credentials-create"|"digital-credentials-get"|"direct-sockets"|"direct-sockets-multicast"|"direct-sockets-private"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"fenced-unpartitioned-storage-read"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"language-detector"|"language-model"|"local-fonts"|"local-network"|"local-network-access"|"loopback-network"|"magnetometer"|"manual-text"|"media-playback-while-not-visible"|"microphone"|"midi"|"on-device-speech-recognition"|"otp-credentials"|"payment"|"picture-in-picture"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-create"|"publickey-credentials-get"|"record-ad-auction-events"|"rewriter"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"speaker-selection"|"storage-access"|"sub-apps"|"summarizer"|"sync-xhr"|"translator"|"unload"|"usb"|"usb-unrestricted"|"vertical-scroll"|"web-app-installation"|"web-printing"|"web-share"|"window-management"|"writer"|"xr-spatial-tracking";
13620
14268
  /**
13621
14269
  * Reason for a permissions policy feature to be disabled.
13622
14270
  */
@@ -14215,7 +14863,7 @@ https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-expl
14215
14863
  /**
14216
14864
  * List of not restored reasons for back-forward cache.
14217
14865
  */
14218
- export type BackForwardCacheNotRestoredReason = "NotPrimaryMainFrame"|"BackForwardCacheDisabled"|"RelatedActiveContentsExist"|"HTTPStatusNotOK"|"SchemeNotHTTPOrHTTPS"|"Loading"|"WasGrantedMediaAccess"|"DisableForRenderFrameHostCalled"|"DomainNotAllowed"|"HTTPMethodNotGET"|"SubframeIsNavigating"|"Timeout"|"CacheLimit"|"JavaScriptExecution"|"RendererProcessKilled"|"RendererProcessCrashed"|"SchedulerTrackedFeatureUsed"|"ConflictingBrowsingInstance"|"CacheFlushed"|"ServiceWorkerVersionActivation"|"SessionRestored"|"ServiceWorkerPostMessage"|"EnteredBackForwardCacheBeforeServiceWorkerHostAdded"|"RenderFrameHostReused_SameSite"|"RenderFrameHostReused_CrossSite"|"ServiceWorkerClaim"|"IgnoreEventAndEvict"|"HaveInnerContents"|"TimeoutPuttingInCache"|"BackForwardCacheDisabledByLowMemory"|"BackForwardCacheDisabledByCommandLine"|"NetworkRequestDatapipeDrainedAsBytesConsumer"|"NetworkRequestRedirected"|"NetworkRequestTimeout"|"NetworkExceedsBufferLimit"|"NavigationCancelledWhileRestoring"|"NotMostRecentNavigationEntry"|"BackForwardCacheDisabledForPrerender"|"UserAgentOverrideDiffers"|"ForegroundCacheLimit"|"BrowsingInstanceNotSwapped"|"BackForwardCacheDisabledForDelegate"|"UnloadHandlerExistsInMainFrame"|"UnloadHandlerExistsInSubFrame"|"ServiceWorkerUnregistration"|"CacheControlNoStore"|"CacheControlNoStoreCookieModified"|"CacheControlNoStoreHTTPOnlyCookieModified"|"NoResponseHead"|"Unknown"|"ActivationNavigationsDisallowedForBug1234857"|"ErrorDocument"|"FencedFramesEmbedder"|"CookieDisabled"|"HTTPAuthRequired"|"CookieFlushed"|"BroadcastChannelOnMessage"|"WebViewSettingsChanged"|"WebViewJavaScriptObjectChanged"|"WebViewMessageListenerInjected"|"WebViewSafeBrowsingAllowlistChanged"|"WebViewDocumentStartJavascriptChanged"|"WebSocket"|"WebTransport"|"WebRTC"|"MainResourceHasCacheControlNoStore"|"MainResourceHasCacheControlNoCache"|"SubresourceHasCacheControlNoStore"|"SubresourceHasCacheControlNoCache"|"ContainsPlugins"|"DocumentLoaded"|"OutstandingNetworkRequestOthers"|"RequestedMIDIPermission"|"RequestedAudioCapturePermission"|"RequestedVideoCapturePermission"|"RequestedBackForwardCacheBlockedSensors"|"RequestedBackgroundWorkPermission"|"BroadcastChannel"|"WebXR"|"SharedWorker"|"SharedWorkerMessage"|"SharedWorkerWithNoActiveClient"|"WebLocks"|"WebHID"|"WebBluetooth"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"KeepaliveRequest"|"IndexedDBEvent"|"Dummy"|"JsNetworkRequestReceivedCacheControlNoStoreResource"|"WebRTCUsedWithCCNS"|"WebTransportUsedWithCCNS"|"WebSocketUsedWithCCNS"|"SmartCard"|"LiveMediaStreamTrack"|"UnloadHandler"|"ParserAborted"|"ContentSecurityHandler"|"ContentWebAuthenticationAPI"|"ContentFileChooser"|"ContentSerial"|"ContentFileSystemAccess"|"ContentMediaDevicesDispatcherHost"|"ContentWebBluetooth"|"ContentWebUSB"|"ContentMediaSessionService"|"ContentScreenReader"|"ContentDiscarded"|"EmbedderPopupBlockerTabHelper"|"EmbedderSafeBrowsingTriggeredPopupBlocker"|"EmbedderSafeBrowsingThreatDetails"|"EmbedderAppBannerManager"|"EmbedderDomDistillerViewerSource"|"EmbedderDomDistillerSelfDeletingRequestDelegate"|"EmbedderOomInterventionTabHelper"|"EmbedderOfflinePage"|"EmbedderChromePasswordManagerClientBindCredentialManager"|"EmbedderPermissionRequestManager"|"EmbedderModalDialog"|"EmbedderExtensions"|"EmbedderExtensionMessaging"|"EmbedderExtensionMessagingForOpenPort"|"EmbedderExtensionSentMessageToCachedFrame"|"RequestedByWebViewClient"|"PostMessageByWebViewClient"|"CacheControlNoStoreDeviceBoundSessionTerminated"|"CacheLimitPrunedOnModerateMemoryPressure"|"CacheLimitPrunedOnCriticalMemoryPressure";
14866
+ export type BackForwardCacheNotRestoredReason = "NotPrimaryMainFrame"|"BackForwardCacheDisabled"|"RelatedActiveContentsExist"|"HTTPStatusNotOK"|"SchemeNotHTTPOrHTTPS"|"Loading"|"WasGrantedMediaAccess"|"DisableForRenderFrameHostCalled"|"DomainNotAllowed"|"HTTPMethodNotGET"|"SubframeIsNavigating"|"Timeout"|"CacheLimit"|"JavaScriptExecution"|"RendererProcessKilled"|"RendererProcessCrashed"|"SchedulerTrackedFeatureUsed"|"ConflictingBrowsingInstance"|"CacheFlushed"|"ServiceWorkerVersionActivation"|"SessionRestored"|"ServiceWorkerPostMessage"|"EnteredBackForwardCacheBeforeServiceWorkerHostAdded"|"RenderFrameHostReused_SameSite"|"RenderFrameHostReused_CrossSite"|"ServiceWorkerClaim"|"IgnoreEventAndEvict"|"HaveInnerContents"|"TimeoutPuttingInCache"|"BackForwardCacheDisabledByLowMemory"|"BackForwardCacheDisabledByCommandLine"|"NetworkRequestDatapipeDrainedAsBytesConsumer"|"NetworkRequestRedirected"|"NetworkRequestTimeout"|"NetworkExceedsBufferLimit"|"NavigationCancelledWhileRestoring"|"NotMostRecentNavigationEntry"|"BackForwardCacheDisabledForPrerender"|"UserAgentOverrideDiffers"|"ForegroundCacheLimit"|"ForwardCacheDisabled"|"BrowsingInstanceNotSwapped"|"BackForwardCacheDisabledForDelegate"|"UnloadHandlerExistsInMainFrame"|"UnloadHandlerExistsInSubFrame"|"ServiceWorkerUnregistration"|"CacheControlNoStore"|"CacheControlNoStoreCookieModified"|"CacheControlNoStoreHTTPOnlyCookieModified"|"NoResponseHead"|"Unknown"|"ActivationNavigationsDisallowedForBug1234857"|"ErrorDocument"|"FencedFramesEmbedder"|"CookieDisabled"|"HTTPAuthRequired"|"CookieFlushed"|"BroadcastChannelOnMessage"|"WebViewSettingsChanged"|"WebViewJavaScriptObjectChanged"|"WebViewMessageListenerInjected"|"WebViewSafeBrowsingAllowlistChanged"|"WebViewDocumentStartJavascriptChanged"|"WebSocket"|"WebTransport"|"WebRTC"|"MainResourceHasCacheControlNoStore"|"MainResourceHasCacheControlNoCache"|"SubresourceHasCacheControlNoStore"|"SubresourceHasCacheControlNoCache"|"ContainsPlugins"|"DocumentLoaded"|"OutstandingNetworkRequestOthers"|"RequestedMIDIPermission"|"RequestedAudioCapturePermission"|"RequestedVideoCapturePermission"|"RequestedBackForwardCacheBlockedSensors"|"RequestedBackgroundWorkPermission"|"BroadcastChannel"|"WebXR"|"SharedWorker"|"SharedWorkerMessage"|"SharedWorkerWithNoActiveClient"|"WebLocks"|"WebLocksContention"|"WebHID"|"WebBluetooth"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"KeepaliveRequest"|"IndexedDBEvent"|"Dummy"|"JsNetworkRequestReceivedCacheControlNoStoreResource"|"WebRTCUsedWithCCNS"|"WebTransportUsedWithCCNS"|"WebSocketUsedWithCCNS"|"SmartCard"|"LiveMediaStreamTrack"|"UnloadHandler"|"ParserAborted"|"ContentSecurityHandler"|"ContentWebAuthenticationAPI"|"ContentFileChooser"|"ContentSerial"|"ContentFileSystemAccess"|"ContentMediaDevicesDispatcherHost"|"ContentWebBluetooth"|"ContentWebUSB"|"ContentMediaSessionService"|"ContentScreenReader"|"ContentDiscarded"|"EmbedderPopupBlockerTabHelper"|"EmbedderSafeBrowsingTriggeredPopupBlocker"|"EmbedderSafeBrowsingThreatDetails"|"EmbedderAppBannerManager"|"EmbedderDomDistillerViewerSource"|"EmbedderDomDistillerSelfDeletingRequestDelegate"|"EmbedderOomInterventionTabHelper"|"EmbedderOfflinePage"|"EmbedderChromePasswordManagerClientBindCredentialManager"|"EmbedderPermissionRequestManager"|"EmbedderModalDialog"|"EmbedderExtensions"|"EmbedderExtensionMessaging"|"EmbedderExtensionMessagingForOpenPort"|"EmbedderExtensionSentMessageToCachedFrame"|"RequestedByWebViewClient"|"PostMessageByWebViewClient"|"CacheControlNoStoreDeviceBoundSessionTerminated"|"CacheLimitPrunedOnModerateMemoryPressure"|"CacheLimitPrunedOnCriticalMemoryPressure";
14219
14867
  /**
14220
14868
  * Types of not restored reasons for back-forward cache.
14221
14869
  */
@@ -15650,9 +16298,27 @@ TODO(https://crbug.com/1440085): Remove this once Puppeteer supports tab targets
15650
16298
  }
15651
16299
  export type setPrerenderingAllowedReturnValue = {
15652
16300
  }
16301
+ /**
16302
+ * Get the annotated page content for the main frame.
16303
+ This is an experimental command that is subject to change.
16304
+ */
16305
+ export type getAnnotatedPageContentParameters = {
16306
+ /**
16307
+ * Whether to include actionable information. Defaults to true.
16308
+ */
16309
+ includeActionableInformation?: boolean;
16310
+ }
16311
+ export type getAnnotatedPageContentReturnValue = {
16312
+ /**
16313
+ * The annotated page content as a base64 encoded protobuf.
16314
+ The format is defined by the `AnnotatedPageContent` message in
16315
+ components/optimization_guide/proto/features/common_quality_data.proto
16316
+ */
16317
+ content: binary;
16318
+ }
15653
16319
  }
15654
16320
 
15655
- export module Performance {
16321
+ export namespace Performance {
15656
16322
  /**
15657
16323
  * Run-time execution metric.
15658
16324
  */
@@ -15729,7 +16395,7 @@ this method while metrics collection is enabled returns an error.
15729
16395
  * Reporting of performance timeline events, as specified in
15730
16396
  https://w3c.github.io/performance-timeline/#dom-performanceobserver.
15731
16397
  */
15732
- export module PerformanceTimeline {
16398
+ export namespace PerformanceTimeline {
15733
16399
  /**
15734
16400
  * See https://github.com/WICG/LargestContentfulPaint and largest_contentful_paint.idl
15735
16401
  */
@@ -15818,7 +16484,7 @@ Note that not all types exposed to the web platform are currently supported.
15818
16484
  }
15819
16485
  }
15820
16486
 
15821
- export module Preload {
16487
+ export namespace Preload {
15822
16488
  /**
15823
16489
  * Unique id
15824
16490
  */
@@ -16010,7 +16676,7 @@ that is incompatible with prerender and has caused the cancellation of the attem
16010
16676
  }
16011
16677
  }
16012
16678
 
16013
- export module Security {
16679
+ export namespace Security {
16014
16680
  /**
16015
16681
  * An internal certificate ID value.
16016
16682
  */
@@ -16315,7 +16981,7 @@ be handled by the DevTools client and should be answered with `handleCertificate
16315
16981
  }
16316
16982
  }
16317
16983
 
16318
- export module ServiceWorker {
16984
+ export namespace ServiceWorker {
16319
16985
  export type RegistrationID = string;
16320
16986
  /**
16321
16987
  * ServiceWorker registration.
@@ -16437,7 +17103,408 @@ For cached script it is the last time the cache entry was validated.
16437
17103
  }
16438
17104
  }
16439
17105
 
16440
- export module Storage {
17106
+ export namespace SmartCardEmulation {
17107
+ /**
17108
+ * Indicates the PC/SC error code.
17109
+
17110
+ This maps to:
17111
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__ErrorCodes.html
17112
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/secauthn/authentication-return-values
17113
+ */
17114
+ export type ResultCode = "success"|"removed-card"|"reset-card"|"unpowered-card"|"unresponsive-card"|"unsupported-card"|"reader-unavailable"|"sharing-violation"|"not-transacted"|"no-smartcard"|"proto-mismatch"|"system-cancelled"|"not-ready"|"cancelled"|"insufficient-buffer"|"invalid-handle"|"invalid-parameter"|"invalid-value"|"no-memory"|"timeout"|"unknown-reader"|"unsupported-feature"|"no-readers-available"|"service-stopped"|"no-service"|"comm-error"|"internal-error"|"server-too-busy"|"unexpected"|"shutdown"|"unknown-card"|"unknown";
17115
+ /**
17116
+ * Maps to the |SCARD_SHARE_*| values.
17117
+ */
17118
+ export type ShareMode = "shared"|"exclusive"|"direct";
17119
+ /**
17120
+ * Indicates what the reader should do with the card.
17121
+ */
17122
+ export type Disposition = "leave-card"|"reset-card"|"unpower-card"|"eject-card";
17123
+ /**
17124
+ * Maps to |SCARD_*| connection state values.
17125
+ */
17126
+ export type ConnectionState = "absent"|"present"|"swallowed"|"powered"|"negotiable"|"specific";
17127
+ /**
17128
+ * Maps to the |SCARD_STATE_*| flags.
17129
+ */
17130
+ export interface ReaderStateFlags {
17131
+ unaware?: boolean;
17132
+ ignore?: boolean;
17133
+ changed?: boolean;
17134
+ unknown?: boolean;
17135
+ unavailable?: boolean;
17136
+ empty?: boolean;
17137
+ present?: boolean;
17138
+ exclusive?: boolean;
17139
+ inuse?: boolean;
17140
+ mute?: boolean;
17141
+ unpowered?: boolean;
17142
+ }
17143
+ /**
17144
+ * Maps to the |SCARD_PROTOCOL_*| flags.
17145
+ */
17146
+ export interface ProtocolSet {
17147
+ t0?: boolean;
17148
+ t1?: boolean;
17149
+ raw?: boolean;
17150
+ }
17151
+ /**
17152
+ * Maps to the |SCARD_PROTOCOL_*| values.
17153
+ */
17154
+ export type Protocol = "t0"|"t1"|"raw";
17155
+ export interface ReaderStateIn {
17156
+ reader: string;
17157
+ currentState: ReaderStateFlags;
17158
+ currentInsertionCount: number;
17159
+ }
17160
+ export interface ReaderStateOut {
17161
+ reader: string;
17162
+ eventState: ReaderStateFlags;
17163
+ eventCount: number;
17164
+ atr: binary;
17165
+ }
17166
+
17167
+ /**
17168
+ * Fired when |SCardEstablishContext| is called.
17169
+
17170
+ This maps to:
17171
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaa1b8970169fd4883a6dc4a8f43f19b67
17172
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardestablishcontext
17173
+ */
17174
+ export type establishContextRequestedPayload = {
17175
+ requestId: string;
17176
+ }
17177
+ /**
17178
+ * Fired when |SCardReleaseContext| is called.
17179
+
17180
+ This maps to:
17181
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga6aabcba7744c5c9419fdd6404f73a934
17182
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardreleasecontext
17183
+ */
17184
+ export type releaseContextRequestedPayload = {
17185
+ requestId: string;
17186
+ contextId: number;
17187
+ }
17188
+ /**
17189
+ * Fired when |SCardListReaders| is called.
17190
+
17191
+ This maps to:
17192
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga93b07815789b3cf2629d439ecf20f0d9
17193
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardlistreadersa
17194
+ */
17195
+ export type listReadersRequestedPayload = {
17196
+ requestId: string;
17197
+ contextId: number;
17198
+ }
17199
+ /**
17200
+ * Fired when |SCardGetStatusChange| is called. Timeout is specified in milliseconds.
17201
+
17202
+ This maps to:
17203
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga33247d5d1257d59e55647c3bb717db24
17204
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetstatuschangea
17205
+ */
17206
+ export type getStatusChangeRequestedPayload = {
17207
+ requestId: string;
17208
+ contextId: number;
17209
+ readerStates: ReaderStateIn[];
17210
+ /**
17211
+ * in milliseconds, if absent, it means "infinite"
17212
+ */
17213
+ timeout?: number;
17214
+ }
17215
+ /**
17216
+ * Fired when |SCardCancel| is called.
17217
+
17218
+ This maps to:
17219
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacbbc0c6d6c0cbbeb4f4debf6fbeeee6
17220
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcancel
17221
+ */
17222
+ export type cancelRequestedPayload = {
17223
+ requestId: string;
17224
+ contextId: number;
17225
+ }
17226
+ /**
17227
+ * Fired when |SCardConnect| is called.
17228
+
17229
+ This maps to:
17230
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4e515829752e0a8dbc4d630696a8d6a5
17231
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardconnecta
17232
+ */
17233
+ export type connectRequestedPayload = {
17234
+ requestId: string;
17235
+ contextId: number;
17236
+ reader: string;
17237
+ shareMode: ShareMode;
17238
+ preferredProtocols: ProtocolSet;
17239
+ }
17240
+ /**
17241
+ * Fired when |SCardDisconnect| is called.
17242
+
17243
+ This maps to:
17244
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4be198045c73ec0deb79e66c0ca1738a
17245
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scarddisconnect
17246
+ */
17247
+ export type disconnectRequestedPayload = {
17248
+ requestId: string;
17249
+ handle: number;
17250
+ disposition: Disposition;
17251
+ }
17252
+ /**
17253
+ * Fired when |SCardTransmit| is called.
17254
+
17255
+ This maps to:
17256
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga9a2d77242a271310269065e64633ab99
17257
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardtransmit
17258
+ */
17259
+ export type transmitRequestedPayload = {
17260
+ requestId: string;
17261
+ handle: number;
17262
+ data: binary;
17263
+ protocol?: Protocol;
17264
+ }
17265
+ /**
17266
+ * Fired when |SCardControl| is called.
17267
+
17268
+ This maps to:
17269
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gac3454d4657110fd7f753b2d3d8f4e32f
17270
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcontrol
17271
+ */
17272
+ export type controlRequestedPayload = {
17273
+ requestId: string;
17274
+ handle: number;
17275
+ controlCode: number;
17276
+ data: binary;
17277
+ }
17278
+ /**
17279
+ * Fired when |SCardGetAttrib| is called.
17280
+
17281
+ This maps to:
17282
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacfec51917255b7a25b94c5104961602
17283
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetattrib
17284
+ */
17285
+ export type getAttribRequestedPayload = {
17286
+ requestId: string;
17287
+ handle: number;
17288
+ attribId: number;
17289
+ }
17290
+ /**
17291
+ * Fired when |SCardSetAttrib| is called.
17292
+
17293
+ This maps to:
17294
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga060f0038a4ddfd5dd2b8fadf3c3a2e4f
17295
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardsetattrib
17296
+ */
17297
+ export type setAttribRequestedPayload = {
17298
+ requestId: string;
17299
+ handle: number;
17300
+ attribId: number;
17301
+ data: binary;
17302
+ }
17303
+ /**
17304
+ * Fired when |SCardStatus| is called.
17305
+
17306
+ This maps to:
17307
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae49c3c894ad7ac12a5b896bde70d0382
17308
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardstatusa
17309
+ */
17310
+ export type statusRequestedPayload = {
17311
+ requestId: string;
17312
+ handle: number;
17313
+ }
17314
+ /**
17315
+ * Fired when |SCardBeginTransaction| is called.
17316
+
17317
+ This maps to:
17318
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaddb835dce01a0da1d6ca02d33ee7d861
17319
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardbegintransaction
17320
+ */
17321
+ export type beginTransactionRequestedPayload = {
17322
+ requestId: string;
17323
+ handle: number;
17324
+ }
17325
+ /**
17326
+ * Fired when |SCardEndTransaction| is called.
17327
+
17328
+ This maps to:
17329
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae8742473b404363e5c587f570d7e2f3b
17330
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardendtransaction
17331
+ */
17332
+ export type endTransactionRequestedPayload = {
17333
+ requestId: string;
17334
+ handle: number;
17335
+ disposition: Disposition;
17336
+ }
17337
+
17338
+ /**
17339
+ * Enables the |SmartCardEmulation| domain.
17340
+ */
17341
+ export type enableParameters = {
17342
+ }
17343
+ export type enableReturnValue = {
17344
+ }
17345
+ /**
17346
+ * Disables the |SmartCardEmulation| domain.
17347
+ */
17348
+ export type disableParameters = {
17349
+ }
17350
+ export type disableReturnValue = {
17351
+ }
17352
+ /**
17353
+ * Reports the successful result of a |SCardEstablishContext| call.
17354
+
17355
+ This maps to:
17356
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaa1b8970169fd4883a6dc4a8f43f19b67
17357
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardestablishcontext
17358
+ */
17359
+ export type reportEstablishContextResultParameters = {
17360
+ requestId: string;
17361
+ contextId: number;
17362
+ }
17363
+ export type reportEstablishContextResultReturnValue = {
17364
+ }
17365
+ /**
17366
+ * Reports the successful result of a |SCardReleaseContext| call.
17367
+
17368
+ This maps to:
17369
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga6aabcba7744c5c9419fdd6404f73a934
17370
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardreleasecontext
17371
+ */
17372
+ export type reportReleaseContextResultParameters = {
17373
+ requestId: string;
17374
+ }
17375
+ export type reportReleaseContextResultReturnValue = {
17376
+ }
17377
+ /**
17378
+ * Reports the successful result of a |SCardListReaders| call.
17379
+
17380
+ This maps to:
17381
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga93b07815789b3cf2629d439ecf20f0d9
17382
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardlistreadersa
17383
+ */
17384
+ export type reportListReadersResultParameters = {
17385
+ requestId: string;
17386
+ readers: string[];
17387
+ }
17388
+ export type reportListReadersResultReturnValue = {
17389
+ }
17390
+ /**
17391
+ * Reports the successful result of a |SCardGetStatusChange| call.
17392
+
17393
+ This maps to:
17394
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga33247d5d1257d59e55647c3bb717db24
17395
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetstatuschangea
17396
+ */
17397
+ export type reportGetStatusChangeResultParameters = {
17398
+ requestId: string;
17399
+ readerStates: ReaderStateOut[];
17400
+ }
17401
+ export type reportGetStatusChangeResultReturnValue = {
17402
+ }
17403
+ /**
17404
+ * Reports the result of a |SCardBeginTransaction| call.
17405
+ On success, this creates a new transaction object.
17406
+
17407
+ This maps to:
17408
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaddb835dce01a0da1d6ca02d33ee7d861
17409
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardbegintransaction
17410
+ */
17411
+ export type reportBeginTransactionResultParameters = {
17412
+ requestId: string;
17413
+ handle: number;
17414
+ }
17415
+ export type reportBeginTransactionResultReturnValue = {
17416
+ }
17417
+ /**
17418
+ * Reports the successful result of a call that returns only a result code.
17419
+ Used for: |SCardCancel|, |SCardDisconnect|, |SCardSetAttrib|, |SCardEndTransaction|.
17420
+
17421
+ This maps to:
17422
+ 1. SCardCancel
17423
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacbbc0c6d6c0cbbeb4f4debf6fbeeee6
17424
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcancel
17425
+
17426
+ 2. SCardDisconnect
17427
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4be198045c73ec0deb79e66c0ca1738a
17428
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scarddisconnect
17429
+
17430
+ 3. SCardSetAttrib
17431
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga060f0038a4ddfd5dd2b8fadf3c3a2e4f
17432
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardsetattrib
17433
+
17434
+ 4. SCardEndTransaction
17435
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae8742473b404363e5c587f570d7e2f3b
17436
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardendtransaction
17437
+ */
17438
+ export type reportPlainResultParameters = {
17439
+ requestId: string;
17440
+ }
17441
+ export type reportPlainResultReturnValue = {
17442
+ }
17443
+ /**
17444
+ * Reports the successful result of a |SCardConnect| call.
17445
+
17446
+ This maps to:
17447
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4e515829752e0a8dbc4d630696a8d6a5
17448
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardconnecta
17449
+ */
17450
+ export type reportConnectResultParameters = {
17451
+ requestId: string;
17452
+ handle: number;
17453
+ activeProtocol?: Protocol;
17454
+ }
17455
+ export type reportConnectResultReturnValue = {
17456
+ }
17457
+ /**
17458
+ * Reports the successful result of a call that sends back data on success.
17459
+ Used for |SCardTransmit|, |SCardControl|, and |SCardGetAttrib|.
17460
+
17461
+ This maps to:
17462
+ 1. SCardTransmit
17463
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga9a2d77242a271310269065e64633ab99
17464
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardtransmit
17465
+
17466
+ 2. SCardControl
17467
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gac3454d4657110fd7f753b2d3d8f4e32f
17468
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcontrol
17469
+
17470
+ 3. SCardGetAttrib
17471
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacfec51917255b7a25b94c5104961602
17472
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetattrib
17473
+ */
17474
+ export type reportDataResultParameters = {
17475
+ requestId: string;
17476
+ data: binary;
17477
+ }
17478
+ export type reportDataResultReturnValue = {
17479
+ }
17480
+ /**
17481
+ * Reports the successful result of a |SCardStatus| call.
17482
+
17483
+ This maps to:
17484
+ PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae49c3c894ad7ac12a5b896bde70d0382
17485
+ Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardstatusa
17486
+ */
17487
+ export type reportStatusResultParameters = {
17488
+ requestId: string;
17489
+ readerName: string;
17490
+ state: ConnectionState;
17491
+ atr: binary;
17492
+ protocol?: Protocol;
17493
+ }
17494
+ export type reportStatusResultReturnValue = {
17495
+ }
17496
+ /**
17497
+ * Reports an error result for the given request.
17498
+ */
17499
+ export type reportErrorParameters = {
17500
+ requestId: string;
17501
+ resultCode: ResultCode;
17502
+ }
17503
+ export type reportErrorReturnValue = {
17504
+ }
17505
+ }
17506
+
17507
+ export namespace Storage {
16441
17508
  export type SerializedStorageKey = string;
16442
17509
  /**
16443
17510
  * Enum of possible storage types.
@@ -17542,7 +18609,7 @@ party URL, only the first-party URL is returned in the array.
17542
18609
  /**
17543
18610
  * The SystemInfo domain defines methods and events for querying low-level system information.
17544
18611
  */
17545
- export module SystemInfo {
18612
+ export namespace SystemInfo {
17546
18613
  /**
17547
18614
  * Describes a single graphics processor (GPU).
17548
18615
  */
@@ -17640,28 +18707,6 @@ resolution and maximum framerate.
17640
18707
  * Image format of a given image.
17641
18708
  */
17642
18709
  export type ImageType = "jpeg"|"webp"|"unknown";
17643
- /**
17644
- * Describes a supported image decoding profile with its associated minimum and
17645
- maximum resolutions and subsampling.
17646
- */
17647
- export interface ImageDecodeAcceleratorCapability {
17648
- /**
17649
- * Image coded, e.g. Jpeg.
17650
- */
17651
- imageType: ImageType;
17652
- /**
17653
- * Maximum supported dimensions of the image in pixels.
17654
- */
17655
- maxDimensions: Size;
17656
- /**
17657
- * Minimum supported dimensions of the image in pixels.
17658
- */
17659
- minDimensions: Size;
17660
- /**
17661
- * Optional array of supported subsampling formats, e.g. 4:2:0, if known.
17662
- */
17663
- subsamplings: SubsamplingFormat[];
17664
- }
17665
18710
  /**
17666
18711
  * Provides information about the GPU(s) on the system.
17667
18712
  */
@@ -17690,10 +18735,6 @@ maximum resolutions and subsampling.
17690
18735
  * Supported accelerated video encoding capabilities.
17691
18736
  */
17692
18737
  videoEncoding: VideoEncodeAcceleratorCapability[];
17693
- /**
17694
- * Supported accelerated image decoding capabilities.
17695
- */
17696
- imageDecoding: ImageDecodeAcceleratorCapability[];
17697
18738
  }
17698
18739
  /**
17699
18740
  * Represents process info.
@@ -17766,7 +18807,7 @@ supported.
17766
18807
  /**
17767
18808
  * Supports additional targets discovery and allows to attach to them.
17768
18809
  */
17769
- export module Target {
18810
+ export namespace Target {
17770
18811
  export type TargetID = string;
17771
18812
  /**
17772
18813
  * Unique identifier of attached debugging session.
@@ -18023,6 +19064,10 @@ Parts of the URL other than those constituting origin are ignored.
18023
19064
  * An array of browser context ids.
18024
19065
  */
18025
19066
  browserContextIds: Browser.BrowserContextID[];
19067
+ /**
19068
+ * The id of the default browser context if available.
19069
+ */
19070
+ defaultBrowserContextId?: Browser.BrowserContextID;
18026
19071
  }
18027
19072
  /**
18028
19073
  * Creates a new page.
@@ -18081,6 +19126,16 @@ present in the tab UI strip. Cannot be created with `forTab: true`, `newWindow:
18081
19126
  `background: false`. The life-time of the tab is limited to the life-time of the session.
18082
19127
  */
18083
19128
  hidden?: boolean;
19129
+ /**
19130
+ * If specified, the option is used to determine if the new target should
19131
+ be focused or not. By default, the focus behavior depends on the
19132
+ value of the background field. For example, background=false and focus=false
19133
+ will result in the target tab being opened but the browser window remain
19134
+ unchanged (if it was in the background, it will remain in the background)
19135
+ and background=false with focus=undefined will result in the window being focused.
19136
+ Using background: true and focus: true is not supported and will result in an error.
19137
+ */
19138
+ focus?: boolean;
18084
19139
  }
18085
19140
  export type createTargetReturnValue = {
18086
19141
  /**
@@ -18239,6 +19294,22 @@ to run paused targets.
18239
19294
  }
18240
19295
  export type setRemoteLocationsReturnValue = {
18241
19296
  }
19297
+ /**
19298
+ * Gets the targetId of the DevTools page target opened for the given target
19299
+ (if any).
19300
+ */
19301
+ export type getDevToolsTargetParameters = {
19302
+ /**
19303
+ * Page or tab target ID.
19304
+ */
19305
+ targetId: TargetID;
19306
+ }
19307
+ export type getDevToolsTargetReturnValue = {
19308
+ /**
19309
+ * The targetId of DevTools page target if exists.
19310
+ */
19311
+ targetId?: TargetID;
19312
+ }
18242
19313
  /**
18243
19314
  * Opens a DevTools window for the target.
18244
19315
  */
@@ -18247,6 +19318,12 @@ to run paused targets.
18247
19318
  * This can be the page or tab target ID.
18248
19319
  */
18249
19320
  targetId: TargetID;
19321
+ /**
19322
+ * The id of the panel we want DevTools to open initially. Currently
19323
+ supported panels are elements, console, network, sources, resources
19324
+ and performance.
19325
+ */
19326
+ panelId?: string;
18250
19327
  }
18251
19328
  export type openDevToolsReturnValue = {
18252
19329
  /**
@@ -18259,7 +19336,7 @@ to run paused targets.
18259
19336
  /**
18260
19337
  * The Tethering domain defines methods and events for browser port binding.
18261
19338
  */
18262
- export module Tethering {
19339
+ export namespace Tethering {
18263
19340
 
18264
19341
  /**
18265
19342
  * Informs that port was successfully bound and got a specified connection id.
@@ -18299,7 +19376,7 @@ to run paused targets.
18299
19376
  }
18300
19377
  }
18301
19378
 
18302
- export module Tracing {
19379
+ export namespace Tracing {
18303
19380
  /**
18304
19381
  * Configuration for memory dump. Used only when "memory-infra" category is enabled.
18305
19382
  */
@@ -18432,6 +19509,17 @@ buffer wrapped around.
18432
19509
  */
18433
19510
  categories: string[];
18434
19511
  }
19512
+ /**
19513
+ * Return a descriptor for all available tracing categories.
19514
+ */
19515
+ export type getTrackEventDescriptorParameters = {
19516
+ }
19517
+ export type getTrackEventDescriptorReturnValue = {
19518
+ /**
19519
+ * Base64-encoded serialized perfetto.protos.TrackEventDescriptor protobuf message.
19520
+ */
19521
+ descriptor: binary;
19522
+ }
18435
19523
  /**
18436
19524
  * Record a clock sync marker in the trace.
18437
19525
  */
@@ -18517,7 +19605,7 @@ are ignored.
18517
19605
  * This domain allows inspection of Web Audio API.
18518
19606
  https://webaudio.github.io/web-audio-api/
18519
19607
  */
18520
- export module WebAudio {
19608
+ export namespace WebAudio {
18521
19609
  /**
18522
19610
  * An unique ID for a graph object (AudioContext, AudioNode, AudioParam) in Web Audio API
18523
19611
  */
@@ -18754,7 +19842,7 @@ capacity and glitch may occur.
18754
19842
  * This domain allows configuring virtual authenticators to test the WebAuthn
18755
19843
  API.
18756
19844
  */
18757
- export module WebAuthn {
19845
+ export namespace WebAuthn {
18758
19846
  export type AuthenticatorId = string;
18759
19847
  export type AuthenticatorProtocol = "u2f"|"ctap2";
18760
19848
  export type Ctap2Version = "ctap2_0"|"ctap2_1";
@@ -19048,10 +20136,87 @@ https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties
19048
20136
  }
19049
20137
  }
19050
20138
 
20139
+ export namespace WebMCP {
20140
+ /**
20141
+ * Tool annotations
20142
+ */
20143
+ export interface Annotation {
20144
+ /**
20145
+ * A hint indicating that the tool does not modify any state.
20146
+ */
20147
+ readOnly?: boolean;
20148
+ /**
20149
+ * If the declarative tool was declared with the autosubmit attribute.
20150
+ */
20151
+ autosubmit?: boolean;
20152
+ }
20153
+ /**
20154
+ * Definition of a tool that can be invoked.
20155
+ */
20156
+ export interface Tool {
20157
+ /**
20158
+ * Tool name.
20159
+ */
20160
+ name: string;
20161
+ /**
20162
+ * Tool description.
20163
+ */
20164
+ description: string;
20165
+ /**
20166
+ * Schema for the tool's input parameters.
20167
+ */
20168
+ inputSchema?: { [key: string]: string };
20169
+ /**
20170
+ * Optional annotations for the tool.
20171
+ */
20172
+ annotations?: Annotation;
20173
+ /**
20174
+ * Frame identifier associated with the tool registration.
20175
+ */
20176
+ frameId: Page.FrameId;
20177
+ /**
20178
+ * Optional node ID for declarative tools.
20179
+ */
20180
+ backendNodeId?: DOM.BackendNodeId;
20181
+ /**
20182
+ * The stack trace at the time of the registration.
20183
+ */
20184
+ stackTrace?: Runtime.StackTrace;
20185
+ }
20186
+
20187
+ /**
20188
+ * Event fired when new tools are added.
20189
+ */
20190
+ export type toolsAddedPayload = {
20191
+ /**
20192
+ * Array of tools that were added.
20193
+ */
20194
+ tools: Tool[];
20195
+ }
20196
+ /**
20197
+ * Event fired when tools are removed.
20198
+ */
20199
+ export type toolsRemovedPayload = {
20200
+ /**
20201
+ * Array of tools that were removed.
20202
+ */
20203
+ tools: Tool[];
20204
+ }
20205
+
20206
+ /**
20207
+ * Enables the WebMCP domain, allowing events to be sent. Enabling the domain will trigger a toolsAdded event for
20208
+ all currently registered tools.
20209
+ */
20210
+ export type enableParameters = {
20211
+ }
20212
+ export type enableReturnValue = {
20213
+ }
20214
+ }
20215
+
19051
20216
  /**
19052
20217
  * This domain is deprecated - use Runtime or Log instead.
19053
20218
  */
19054
- export module Console {
20219
+ export namespace Console {
19055
20220
  /**
19056
20221
  * Console message.
19057
20222
  */
@@ -19120,7 +20285,7 @@ https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties
19120
20285
  * Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing
19121
20286
  breakpoints, stepping through execution, exploring stack traces, etc.
19122
20287
  */
19123
- export module Debugger {
20288
+ export namespace Debugger {
19124
20289
  /**
19125
20290
  * Breakpoint identifier.
19126
20291
  */
@@ -20147,7 +21312,7 @@ before next pause.
20147
21312
  }
20148
21313
  }
20149
21314
 
20150
- export module HeapProfiler {
21315
+ export namespace HeapProfiler {
20151
21316
  /**
20152
21317
  * Heap snapshot object id.
20153
21318
  */
@@ -20376,7 +21541,7 @@ Deprecated in favor of `exposeInternals`.
20376
21541
  }
20377
21542
  }
20378
21543
 
20379
- export module Profiler {
21544
+ export namespace Profiler {
20380
21545
  /**
20381
21546
  * Profile node. Holds callsite information, execution statistics and child nodes.
20382
21547
  */
@@ -20646,7 +21811,7 @@ and unique identifier that can be used for further object reference. Original ob
20646
21811
  maintained in memory unless they are either explicitly released or are released along with the
20647
21812
  other objects in their object group.
20648
21813
  */
20649
- export module Runtime {
21814
+ export namespace Runtime {
20650
21815
  /**
20651
21816
  * Unique script identifier.
20652
21817
  */
@@ -21705,7 +22870,7 @@ Error was thrown.
21705
22870
  /**
21706
22871
  * This domain is deprecated.
21707
22872
  */
21708
- export module Schema {
22873
+ export namespace Schema {
21709
22874
  /**
21710
22875
  * Description of the protocol domain.
21711
22876
  */
@@ -21734,7 +22899,7 @@ Error was thrown.
21734
22899
  }
21735
22900
  }
21736
22901
 
21737
- export interface Events {
22902
+ export type Events = {
21738
22903
  "Accessibility.loadComplete": Accessibility.loadCompletePayload;
21739
22904
  "Accessibility.nodesUpdated": Accessibility.nodesUpdatedPayload;
21740
22905
  "Animation.animationCanceled": Animation.animationCanceledPayload;
@@ -21759,6 +22924,7 @@ Error was thrown.
21759
22924
  "Cast.sinksUpdated": Cast.sinksUpdatedPayload;
21760
22925
  "Cast.issueUpdated": Cast.issueUpdatedPayload;
21761
22926
  "DOM.attributeModified": DOM.attributeModifiedPayload;
22927
+ "DOM.adoptedStyleSheetsModified": DOM.adoptedStyleSheetsModifiedPayload;
21762
22928
  "DOM.attributeRemoved": DOM.attributeRemovedPayload;
21763
22929
  "DOM.characterDataModified": DOM.characterDataModifiedPayload;
21764
22930
  "DOM.childNodeCountUpdated": DOM.childNodeCountUpdatedPayload;
@@ -21770,6 +22936,7 @@ Error was thrown.
21770
22936
  "DOM.pseudoElementAdded": DOM.pseudoElementAddedPayload;
21771
22937
  "DOM.topLayerElementsUpdated": DOM.topLayerElementsUpdatedPayload;
21772
22938
  "DOM.scrollableFlagUpdated": DOM.scrollableFlagUpdatedPayload;
22939
+ "DOM.adRelatedStateUpdated": DOM.adRelatedStateUpdatedPayload;
21773
22940
  "DOM.affectedByStartingStylesFlagUpdated": DOM.affectedByStartingStylesFlagUpdatedPayload;
21774
22941
  "DOM.pseudoElementRemoved": DOM.pseudoElementRemovedPayload;
21775
22942
  "DOM.setChildNodes": DOM.setChildNodesPayload;
@@ -21781,6 +22948,7 @@ Error was thrown.
21781
22948
  "DOMStorage.domStorageItemsCleared": DOMStorage.domStorageItemsClearedPayload;
21782
22949
  "DeviceAccess.deviceRequestPrompted": DeviceAccess.deviceRequestPromptedPayload;
21783
22950
  "Emulation.virtualTimeBudgetExpired": Emulation.virtualTimeBudgetExpiredPayload;
22951
+ "Emulation.screenOrientationLockChanged": Emulation.screenOrientationLockChangedPayload;
21784
22952
  "FedCm.dialogShown": FedCm.dialogShownPayload;
21785
22953
  "FedCm.dialogClosed": FedCm.dialogClosedPayload;
21786
22954
  "Fetch.requestPaused": Fetch.requestPausedPayload;
@@ -21824,6 +22992,8 @@ Error was thrown.
21824
22992
  "Network.directTCPSocketClosed": Network.directTCPSocketClosedPayload;
21825
22993
  "Network.directTCPSocketChunkSent": Network.directTCPSocketChunkSentPayload;
21826
22994
  "Network.directTCPSocketChunkReceived": Network.directTCPSocketChunkReceivedPayload;
22995
+ "Network.directUDPSocketJoinedMulticastGroup": Network.directUDPSocketJoinedMulticastGroupPayload;
22996
+ "Network.directUDPSocketLeftMulticastGroup": Network.directUDPSocketLeftMulticastGroupPayload;
21827
22997
  "Network.directUDPSocketCreated": Network.directUDPSocketCreatedPayload;
21828
22998
  "Network.directUDPSocketOpened": Network.directUDPSocketOpenedPayload;
21829
22999
  "Network.directUDPSocketAborted": Network.directUDPSocketAbortedPayload;
@@ -21838,9 +23008,13 @@ Error was thrown.
21838
23008
  "Network.reportingApiReportAdded": Network.reportingApiReportAddedPayload;
21839
23009
  "Network.reportingApiReportUpdated": Network.reportingApiReportUpdatedPayload;
21840
23010
  "Network.reportingApiEndpointsChangedForOrigin": Network.reportingApiEndpointsChangedForOriginPayload;
23011
+ "Network.deviceBoundSessionsAdded": Network.deviceBoundSessionsAddedPayload;
23012
+ "Network.deviceBoundSessionEventOccurred": Network.deviceBoundSessionEventOccurredPayload;
21841
23013
  "Overlay.inspectNodeRequested": Overlay.inspectNodeRequestedPayload;
21842
23014
  "Overlay.nodeHighlightRequested": Overlay.nodeHighlightRequestedPayload;
21843
23015
  "Overlay.screenshotRequested": Overlay.screenshotRequestedPayload;
23016
+ "Overlay.inspectPanelShowRequested": Overlay.inspectPanelShowRequestedPayload;
23017
+ "Overlay.inspectedElementWindowRestored": Overlay.inspectedElementWindowRestoredPayload;
21844
23018
  "Overlay.inspectModeCanceled": Overlay.inspectModeCanceledPayload;
21845
23019
  "Page.domContentEventFired": Page.domContentEventFiredPayload;
21846
23020
  "Page.fileChooserOpened": Page.fileChooserOpenedPayload;
@@ -21884,6 +23058,20 @@ Error was thrown.
21884
23058
  "ServiceWorker.workerErrorReported": ServiceWorker.workerErrorReportedPayload;
21885
23059
  "ServiceWorker.workerRegistrationUpdated": ServiceWorker.workerRegistrationUpdatedPayload;
21886
23060
  "ServiceWorker.workerVersionUpdated": ServiceWorker.workerVersionUpdatedPayload;
23061
+ "SmartCardEmulation.establishContextRequested": SmartCardEmulation.establishContextRequestedPayload;
23062
+ "SmartCardEmulation.releaseContextRequested": SmartCardEmulation.releaseContextRequestedPayload;
23063
+ "SmartCardEmulation.listReadersRequested": SmartCardEmulation.listReadersRequestedPayload;
23064
+ "SmartCardEmulation.getStatusChangeRequested": SmartCardEmulation.getStatusChangeRequestedPayload;
23065
+ "SmartCardEmulation.cancelRequested": SmartCardEmulation.cancelRequestedPayload;
23066
+ "SmartCardEmulation.connectRequested": SmartCardEmulation.connectRequestedPayload;
23067
+ "SmartCardEmulation.disconnectRequested": SmartCardEmulation.disconnectRequestedPayload;
23068
+ "SmartCardEmulation.transmitRequested": SmartCardEmulation.transmitRequestedPayload;
23069
+ "SmartCardEmulation.controlRequested": SmartCardEmulation.controlRequestedPayload;
23070
+ "SmartCardEmulation.getAttribRequested": SmartCardEmulation.getAttribRequestedPayload;
23071
+ "SmartCardEmulation.setAttribRequested": SmartCardEmulation.setAttribRequestedPayload;
23072
+ "SmartCardEmulation.statusRequested": SmartCardEmulation.statusRequestedPayload;
23073
+ "SmartCardEmulation.beginTransactionRequested": SmartCardEmulation.beginTransactionRequestedPayload;
23074
+ "SmartCardEmulation.endTransactionRequested": SmartCardEmulation.endTransactionRequestedPayload;
21887
23075
  "Storage.cacheStorageContentUpdated": Storage.cacheStorageContentUpdatedPayload;
21888
23076
  "Storage.cacheStorageListUpdated": Storage.cacheStorageListUpdatedPayload;
21889
23077
  "Storage.indexedDBContentUpdated": Storage.indexedDBContentUpdatedPayload;
@@ -21927,6 +23115,8 @@ Error was thrown.
21927
23115
  "WebAuthn.credentialDeleted": WebAuthn.credentialDeletedPayload;
21928
23116
  "WebAuthn.credentialUpdated": WebAuthn.credentialUpdatedPayload;
21929
23117
  "WebAuthn.credentialAsserted": WebAuthn.credentialAssertedPayload;
23118
+ "WebMCP.toolsAdded": WebMCP.toolsAddedPayload;
23119
+ "WebMCP.toolsRemoved": WebMCP.toolsRemovedPayload;
21930
23120
  "Console.messageAdded": Console.messageAddedPayload;
21931
23121
  "Debugger.breakpointResolved": Debugger.breakpointResolvedPayload;
21932
23122
  "Debugger.paused": Debugger.pausedPayload;
@@ -21950,6 +23140,247 @@ Error was thrown.
21950
23140
  "Runtime.executionContextsCleared": Runtime.executionContextsClearedPayload;
21951
23141
  "Runtime.inspectRequested": Runtime.inspectRequestedPayload;
21952
23142
  }
23143
+ export type EventMap = {
23144
+ ["Accessibility.loadComplete"]: [Accessibility.loadCompletePayload];
23145
+ ["Accessibility.nodesUpdated"]: [Accessibility.nodesUpdatedPayload];
23146
+ ["Animation.animationCanceled"]: [Animation.animationCanceledPayload];
23147
+ ["Animation.animationCreated"]: [Animation.animationCreatedPayload];
23148
+ ["Animation.animationStarted"]: [Animation.animationStartedPayload];
23149
+ ["Animation.animationUpdated"]: [Animation.animationUpdatedPayload];
23150
+ ["Audits.issueAdded"]: [Audits.issueAddedPayload];
23151
+ ["Autofill.addressFormFilled"]: [Autofill.addressFormFilledPayload];
23152
+ ["BackgroundService.recordingStateChanged"]: [BackgroundService.recordingStateChangedPayload];
23153
+ ["BackgroundService.backgroundServiceEventReceived"]: [BackgroundService.backgroundServiceEventReceivedPayload];
23154
+ ["BluetoothEmulation.gattOperationReceived"]: [BluetoothEmulation.gattOperationReceivedPayload];
23155
+ ["BluetoothEmulation.characteristicOperationReceived"]: [BluetoothEmulation.characteristicOperationReceivedPayload];
23156
+ ["BluetoothEmulation.descriptorOperationReceived"]: [BluetoothEmulation.descriptorOperationReceivedPayload];
23157
+ ["Browser.downloadWillBegin"]: [Browser.downloadWillBeginPayload];
23158
+ ["Browser.downloadProgress"]: [Browser.downloadProgressPayload];
23159
+ ["CSS.fontsUpdated"]: [CSS.fontsUpdatedPayload];
23160
+ ["CSS.mediaQueryResultChanged"]: [CSS.mediaQueryResultChangedPayload];
23161
+ ["CSS.styleSheetAdded"]: [CSS.styleSheetAddedPayload];
23162
+ ["CSS.styleSheetChanged"]: [CSS.styleSheetChangedPayload];
23163
+ ["CSS.styleSheetRemoved"]: [CSS.styleSheetRemovedPayload];
23164
+ ["CSS.computedStyleUpdated"]: [CSS.computedStyleUpdatedPayload];
23165
+ ["Cast.sinksUpdated"]: [Cast.sinksUpdatedPayload];
23166
+ ["Cast.issueUpdated"]: [Cast.issueUpdatedPayload];
23167
+ ["DOM.attributeModified"]: [DOM.attributeModifiedPayload];
23168
+ ["DOM.adoptedStyleSheetsModified"]: [DOM.adoptedStyleSheetsModifiedPayload];
23169
+ ["DOM.attributeRemoved"]: [DOM.attributeRemovedPayload];
23170
+ ["DOM.characterDataModified"]: [DOM.characterDataModifiedPayload];
23171
+ ["DOM.childNodeCountUpdated"]: [DOM.childNodeCountUpdatedPayload];
23172
+ ["DOM.childNodeInserted"]: [DOM.childNodeInsertedPayload];
23173
+ ["DOM.childNodeRemoved"]: [DOM.childNodeRemovedPayload];
23174
+ ["DOM.distributedNodesUpdated"]: [DOM.distributedNodesUpdatedPayload];
23175
+ ["DOM.documentUpdated"]: [DOM.documentUpdatedPayload];
23176
+ ["DOM.inlineStyleInvalidated"]: [DOM.inlineStyleInvalidatedPayload];
23177
+ ["DOM.pseudoElementAdded"]: [DOM.pseudoElementAddedPayload];
23178
+ ["DOM.topLayerElementsUpdated"]: [DOM.topLayerElementsUpdatedPayload];
23179
+ ["DOM.scrollableFlagUpdated"]: [DOM.scrollableFlagUpdatedPayload];
23180
+ ["DOM.adRelatedStateUpdated"]: [DOM.adRelatedStateUpdatedPayload];
23181
+ ["DOM.affectedByStartingStylesFlagUpdated"]: [DOM.affectedByStartingStylesFlagUpdatedPayload];
23182
+ ["DOM.pseudoElementRemoved"]: [DOM.pseudoElementRemovedPayload];
23183
+ ["DOM.setChildNodes"]: [DOM.setChildNodesPayload];
23184
+ ["DOM.shadowRootPopped"]: [DOM.shadowRootPoppedPayload];
23185
+ ["DOM.shadowRootPushed"]: [DOM.shadowRootPushedPayload];
23186
+ ["DOMStorage.domStorageItemAdded"]: [DOMStorage.domStorageItemAddedPayload];
23187
+ ["DOMStorage.domStorageItemRemoved"]: [DOMStorage.domStorageItemRemovedPayload];
23188
+ ["DOMStorage.domStorageItemUpdated"]: [DOMStorage.domStorageItemUpdatedPayload];
23189
+ ["DOMStorage.domStorageItemsCleared"]: [DOMStorage.domStorageItemsClearedPayload];
23190
+ ["DeviceAccess.deviceRequestPrompted"]: [DeviceAccess.deviceRequestPromptedPayload];
23191
+ ["Emulation.virtualTimeBudgetExpired"]: [Emulation.virtualTimeBudgetExpiredPayload];
23192
+ ["Emulation.screenOrientationLockChanged"]: [Emulation.screenOrientationLockChangedPayload];
23193
+ ["FedCm.dialogShown"]: [FedCm.dialogShownPayload];
23194
+ ["FedCm.dialogClosed"]: [FedCm.dialogClosedPayload];
23195
+ ["Fetch.requestPaused"]: [Fetch.requestPausedPayload];
23196
+ ["Fetch.authRequired"]: [Fetch.authRequiredPayload];
23197
+ ["Input.dragIntercepted"]: [Input.dragInterceptedPayload];
23198
+ ["Inspector.detached"]: [Inspector.detachedPayload];
23199
+ ["Inspector.targetCrashed"]: [Inspector.targetCrashedPayload];
23200
+ ["Inspector.targetReloadedAfterCrash"]: [Inspector.targetReloadedAfterCrashPayload];
23201
+ ["Inspector.workerScriptLoaded"]: [Inspector.workerScriptLoadedPayload];
23202
+ ["LayerTree.layerPainted"]: [LayerTree.layerPaintedPayload];
23203
+ ["LayerTree.layerTreeDidChange"]: [LayerTree.layerTreeDidChangePayload];
23204
+ ["Log.entryAdded"]: [Log.entryAddedPayload];
23205
+ ["Media.playerPropertiesChanged"]: [Media.playerPropertiesChangedPayload];
23206
+ ["Media.playerEventsAdded"]: [Media.playerEventsAddedPayload];
23207
+ ["Media.playerMessagesLogged"]: [Media.playerMessagesLoggedPayload];
23208
+ ["Media.playerErrorsRaised"]: [Media.playerErrorsRaisedPayload];
23209
+ ["Media.playerCreated"]: [Media.playerCreatedPayload];
23210
+ ["Network.dataReceived"]: [Network.dataReceivedPayload];
23211
+ ["Network.eventSourceMessageReceived"]: [Network.eventSourceMessageReceivedPayload];
23212
+ ["Network.loadingFailed"]: [Network.loadingFailedPayload];
23213
+ ["Network.loadingFinished"]: [Network.loadingFinishedPayload];
23214
+ ["Network.requestIntercepted"]: [Network.requestInterceptedPayload];
23215
+ ["Network.requestServedFromCache"]: [Network.requestServedFromCachePayload];
23216
+ ["Network.requestWillBeSent"]: [Network.requestWillBeSentPayload];
23217
+ ["Network.resourceChangedPriority"]: [Network.resourceChangedPriorityPayload];
23218
+ ["Network.signedExchangeReceived"]: [Network.signedExchangeReceivedPayload];
23219
+ ["Network.responseReceived"]: [Network.responseReceivedPayload];
23220
+ ["Network.webSocketClosed"]: [Network.webSocketClosedPayload];
23221
+ ["Network.webSocketCreated"]: [Network.webSocketCreatedPayload];
23222
+ ["Network.webSocketFrameError"]: [Network.webSocketFrameErrorPayload];
23223
+ ["Network.webSocketFrameReceived"]: [Network.webSocketFrameReceivedPayload];
23224
+ ["Network.webSocketFrameSent"]: [Network.webSocketFrameSentPayload];
23225
+ ["Network.webSocketHandshakeResponseReceived"]: [Network.webSocketHandshakeResponseReceivedPayload];
23226
+ ["Network.webSocketWillSendHandshakeRequest"]: [Network.webSocketWillSendHandshakeRequestPayload];
23227
+ ["Network.webTransportCreated"]: [Network.webTransportCreatedPayload];
23228
+ ["Network.webTransportConnectionEstablished"]: [Network.webTransportConnectionEstablishedPayload];
23229
+ ["Network.webTransportClosed"]: [Network.webTransportClosedPayload];
23230
+ ["Network.directTCPSocketCreated"]: [Network.directTCPSocketCreatedPayload];
23231
+ ["Network.directTCPSocketOpened"]: [Network.directTCPSocketOpenedPayload];
23232
+ ["Network.directTCPSocketAborted"]: [Network.directTCPSocketAbortedPayload];
23233
+ ["Network.directTCPSocketClosed"]: [Network.directTCPSocketClosedPayload];
23234
+ ["Network.directTCPSocketChunkSent"]: [Network.directTCPSocketChunkSentPayload];
23235
+ ["Network.directTCPSocketChunkReceived"]: [Network.directTCPSocketChunkReceivedPayload];
23236
+ ["Network.directUDPSocketJoinedMulticastGroup"]: [Network.directUDPSocketJoinedMulticastGroupPayload];
23237
+ ["Network.directUDPSocketLeftMulticastGroup"]: [Network.directUDPSocketLeftMulticastGroupPayload];
23238
+ ["Network.directUDPSocketCreated"]: [Network.directUDPSocketCreatedPayload];
23239
+ ["Network.directUDPSocketOpened"]: [Network.directUDPSocketOpenedPayload];
23240
+ ["Network.directUDPSocketAborted"]: [Network.directUDPSocketAbortedPayload];
23241
+ ["Network.directUDPSocketClosed"]: [Network.directUDPSocketClosedPayload];
23242
+ ["Network.directUDPSocketChunkSent"]: [Network.directUDPSocketChunkSentPayload];
23243
+ ["Network.directUDPSocketChunkReceived"]: [Network.directUDPSocketChunkReceivedPayload];
23244
+ ["Network.requestWillBeSentExtraInfo"]: [Network.requestWillBeSentExtraInfoPayload];
23245
+ ["Network.responseReceivedExtraInfo"]: [Network.responseReceivedExtraInfoPayload];
23246
+ ["Network.responseReceivedEarlyHints"]: [Network.responseReceivedEarlyHintsPayload];
23247
+ ["Network.trustTokenOperationDone"]: [Network.trustTokenOperationDonePayload];
23248
+ ["Network.policyUpdated"]: [Network.policyUpdatedPayload];
23249
+ ["Network.reportingApiReportAdded"]: [Network.reportingApiReportAddedPayload];
23250
+ ["Network.reportingApiReportUpdated"]: [Network.reportingApiReportUpdatedPayload];
23251
+ ["Network.reportingApiEndpointsChangedForOrigin"]: [Network.reportingApiEndpointsChangedForOriginPayload];
23252
+ ["Network.deviceBoundSessionsAdded"]: [Network.deviceBoundSessionsAddedPayload];
23253
+ ["Network.deviceBoundSessionEventOccurred"]: [Network.deviceBoundSessionEventOccurredPayload];
23254
+ ["Overlay.inspectNodeRequested"]: [Overlay.inspectNodeRequestedPayload];
23255
+ ["Overlay.nodeHighlightRequested"]: [Overlay.nodeHighlightRequestedPayload];
23256
+ ["Overlay.screenshotRequested"]: [Overlay.screenshotRequestedPayload];
23257
+ ["Overlay.inspectPanelShowRequested"]: [Overlay.inspectPanelShowRequestedPayload];
23258
+ ["Overlay.inspectedElementWindowRestored"]: [Overlay.inspectedElementWindowRestoredPayload];
23259
+ ["Overlay.inspectModeCanceled"]: [Overlay.inspectModeCanceledPayload];
23260
+ ["Page.domContentEventFired"]: [Page.domContentEventFiredPayload];
23261
+ ["Page.fileChooserOpened"]: [Page.fileChooserOpenedPayload];
23262
+ ["Page.frameAttached"]: [Page.frameAttachedPayload];
23263
+ ["Page.frameClearedScheduledNavigation"]: [Page.frameClearedScheduledNavigationPayload];
23264
+ ["Page.frameDetached"]: [Page.frameDetachedPayload];
23265
+ ["Page.frameSubtreeWillBeDetached"]: [Page.frameSubtreeWillBeDetachedPayload];
23266
+ ["Page.frameNavigated"]: [Page.frameNavigatedPayload];
23267
+ ["Page.documentOpened"]: [Page.documentOpenedPayload];
23268
+ ["Page.frameResized"]: [Page.frameResizedPayload];
23269
+ ["Page.frameStartedNavigating"]: [Page.frameStartedNavigatingPayload];
23270
+ ["Page.frameRequestedNavigation"]: [Page.frameRequestedNavigationPayload];
23271
+ ["Page.frameScheduledNavigation"]: [Page.frameScheduledNavigationPayload];
23272
+ ["Page.frameStartedLoading"]: [Page.frameStartedLoadingPayload];
23273
+ ["Page.frameStoppedLoading"]: [Page.frameStoppedLoadingPayload];
23274
+ ["Page.downloadWillBegin"]: [Page.downloadWillBeginPayload];
23275
+ ["Page.downloadProgress"]: [Page.downloadProgressPayload];
23276
+ ["Page.interstitialHidden"]: [Page.interstitialHiddenPayload];
23277
+ ["Page.interstitialShown"]: [Page.interstitialShownPayload];
23278
+ ["Page.javascriptDialogClosed"]: [Page.javascriptDialogClosedPayload];
23279
+ ["Page.javascriptDialogOpening"]: [Page.javascriptDialogOpeningPayload];
23280
+ ["Page.lifecycleEvent"]: [Page.lifecycleEventPayload];
23281
+ ["Page.backForwardCacheNotUsed"]: [Page.backForwardCacheNotUsedPayload];
23282
+ ["Page.loadEventFired"]: [Page.loadEventFiredPayload];
23283
+ ["Page.navigatedWithinDocument"]: [Page.navigatedWithinDocumentPayload];
23284
+ ["Page.screencastFrame"]: [Page.screencastFramePayload];
23285
+ ["Page.screencastVisibilityChanged"]: [Page.screencastVisibilityChangedPayload];
23286
+ ["Page.windowOpen"]: [Page.windowOpenPayload];
23287
+ ["Page.compilationCacheProduced"]: [Page.compilationCacheProducedPayload];
23288
+ ["Performance.metrics"]: [Performance.metricsPayload];
23289
+ ["PerformanceTimeline.timelineEventAdded"]: [PerformanceTimeline.timelineEventAddedPayload];
23290
+ ["Preload.ruleSetUpdated"]: [Preload.ruleSetUpdatedPayload];
23291
+ ["Preload.ruleSetRemoved"]: [Preload.ruleSetRemovedPayload];
23292
+ ["Preload.preloadEnabledStateUpdated"]: [Preload.preloadEnabledStateUpdatedPayload];
23293
+ ["Preload.prefetchStatusUpdated"]: [Preload.prefetchStatusUpdatedPayload];
23294
+ ["Preload.prerenderStatusUpdated"]: [Preload.prerenderStatusUpdatedPayload];
23295
+ ["Preload.preloadingAttemptSourcesUpdated"]: [Preload.preloadingAttemptSourcesUpdatedPayload];
23296
+ ["Security.certificateError"]: [Security.certificateErrorPayload];
23297
+ ["Security.visibleSecurityStateChanged"]: [Security.visibleSecurityStateChangedPayload];
23298
+ ["Security.securityStateChanged"]: [Security.securityStateChangedPayload];
23299
+ ["ServiceWorker.workerErrorReported"]: [ServiceWorker.workerErrorReportedPayload];
23300
+ ["ServiceWorker.workerRegistrationUpdated"]: [ServiceWorker.workerRegistrationUpdatedPayload];
23301
+ ["ServiceWorker.workerVersionUpdated"]: [ServiceWorker.workerVersionUpdatedPayload];
23302
+ ["SmartCardEmulation.establishContextRequested"]: [SmartCardEmulation.establishContextRequestedPayload];
23303
+ ["SmartCardEmulation.releaseContextRequested"]: [SmartCardEmulation.releaseContextRequestedPayload];
23304
+ ["SmartCardEmulation.listReadersRequested"]: [SmartCardEmulation.listReadersRequestedPayload];
23305
+ ["SmartCardEmulation.getStatusChangeRequested"]: [SmartCardEmulation.getStatusChangeRequestedPayload];
23306
+ ["SmartCardEmulation.cancelRequested"]: [SmartCardEmulation.cancelRequestedPayload];
23307
+ ["SmartCardEmulation.connectRequested"]: [SmartCardEmulation.connectRequestedPayload];
23308
+ ["SmartCardEmulation.disconnectRequested"]: [SmartCardEmulation.disconnectRequestedPayload];
23309
+ ["SmartCardEmulation.transmitRequested"]: [SmartCardEmulation.transmitRequestedPayload];
23310
+ ["SmartCardEmulation.controlRequested"]: [SmartCardEmulation.controlRequestedPayload];
23311
+ ["SmartCardEmulation.getAttribRequested"]: [SmartCardEmulation.getAttribRequestedPayload];
23312
+ ["SmartCardEmulation.setAttribRequested"]: [SmartCardEmulation.setAttribRequestedPayload];
23313
+ ["SmartCardEmulation.statusRequested"]: [SmartCardEmulation.statusRequestedPayload];
23314
+ ["SmartCardEmulation.beginTransactionRequested"]: [SmartCardEmulation.beginTransactionRequestedPayload];
23315
+ ["SmartCardEmulation.endTransactionRequested"]: [SmartCardEmulation.endTransactionRequestedPayload];
23316
+ ["Storage.cacheStorageContentUpdated"]: [Storage.cacheStorageContentUpdatedPayload];
23317
+ ["Storage.cacheStorageListUpdated"]: [Storage.cacheStorageListUpdatedPayload];
23318
+ ["Storage.indexedDBContentUpdated"]: [Storage.indexedDBContentUpdatedPayload];
23319
+ ["Storage.indexedDBListUpdated"]: [Storage.indexedDBListUpdatedPayload];
23320
+ ["Storage.interestGroupAccessed"]: [Storage.interestGroupAccessedPayload];
23321
+ ["Storage.interestGroupAuctionEventOccurred"]: [Storage.interestGroupAuctionEventOccurredPayload];
23322
+ ["Storage.interestGroupAuctionNetworkRequestCreated"]: [Storage.interestGroupAuctionNetworkRequestCreatedPayload];
23323
+ ["Storage.sharedStorageAccessed"]: [Storage.sharedStorageAccessedPayload];
23324
+ ["Storage.sharedStorageWorkletOperationExecutionFinished"]: [Storage.sharedStorageWorkletOperationExecutionFinishedPayload];
23325
+ ["Storage.storageBucketCreatedOrUpdated"]: [Storage.storageBucketCreatedOrUpdatedPayload];
23326
+ ["Storage.storageBucketDeleted"]: [Storage.storageBucketDeletedPayload];
23327
+ ["Storage.attributionReportingSourceRegistered"]: [Storage.attributionReportingSourceRegisteredPayload];
23328
+ ["Storage.attributionReportingTriggerRegistered"]: [Storage.attributionReportingTriggerRegisteredPayload];
23329
+ ["Storage.attributionReportingReportSent"]: [Storage.attributionReportingReportSentPayload];
23330
+ ["Storage.attributionReportingVerboseDebugReportSent"]: [Storage.attributionReportingVerboseDebugReportSentPayload];
23331
+ ["Target.attachedToTarget"]: [Target.attachedToTargetPayload];
23332
+ ["Target.detachedFromTarget"]: [Target.detachedFromTargetPayload];
23333
+ ["Target.receivedMessageFromTarget"]: [Target.receivedMessageFromTargetPayload];
23334
+ ["Target.targetCreated"]: [Target.targetCreatedPayload];
23335
+ ["Target.targetDestroyed"]: [Target.targetDestroyedPayload];
23336
+ ["Target.targetCrashed"]: [Target.targetCrashedPayload];
23337
+ ["Target.targetInfoChanged"]: [Target.targetInfoChangedPayload];
23338
+ ["Tethering.accepted"]: [Tethering.acceptedPayload];
23339
+ ["Tracing.bufferUsage"]: [Tracing.bufferUsagePayload];
23340
+ ["Tracing.dataCollected"]: [Tracing.dataCollectedPayload];
23341
+ ["Tracing.tracingComplete"]: [Tracing.tracingCompletePayload];
23342
+ ["WebAudio.contextCreated"]: [WebAudio.contextCreatedPayload];
23343
+ ["WebAudio.contextWillBeDestroyed"]: [WebAudio.contextWillBeDestroyedPayload];
23344
+ ["WebAudio.contextChanged"]: [WebAudio.contextChangedPayload];
23345
+ ["WebAudio.audioListenerCreated"]: [WebAudio.audioListenerCreatedPayload];
23346
+ ["WebAudio.audioListenerWillBeDestroyed"]: [WebAudio.audioListenerWillBeDestroyedPayload];
23347
+ ["WebAudio.audioNodeCreated"]: [WebAudio.audioNodeCreatedPayload];
23348
+ ["WebAudio.audioNodeWillBeDestroyed"]: [WebAudio.audioNodeWillBeDestroyedPayload];
23349
+ ["WebAudio.audioParamCreated"]: [WebAudio.audioParamCreatedPayload];
23350
+ ["WebAudio.audioParamWillBeDestroyed"]: [WebAudio.audioParamWillBeDestroyedPayload];
23351
+ ["WebAudio.nodesConnected"]: [WebAudio.nodesConnectedPayload];
23352
+ ["WebAudio.nodesDisconnected"]: [WebAudio.nodesDisconnectedPayload];
23353
+ ["WebAudio.nodeParamConnected"]: [WebAudio.nodeParamConnectedPayload];
23354
+ ["WebAudio.nodeParamDisconnected"]: [WebAudio.nodeParamDisconnectedPayload];
23355
+ ["WebAuthn.credentialAdded"]: [WebAuthn.credentialAddedPayload];
23356
+ ["WebAuthn.credentialDeleted"]: [WebAuthn.credentialDeletedPayload];
23357
+ ["WebAuthn.credentialUpdated"]: [WebAuthn.credentialUpdatedPayload];
23358
+ ["WebAuthn.credentialAsserted"]: [WebAuthn.credentialAssertedPayload];
23359
+ ["WebMCP.toolsAdded"]: [WebMCP.toolsAddedPayload];
23360
+ ["WebMCP.toolsRemoved"]: [WebMCP.toolsRemovedPayload];
23361
+ ["Console.messageAdded"]: [Console.messageAddedPayload];
23362
+ ["Debugger.breakpointResolved"]: [Debugger.breakpointResolvedPayload];
23363
+ ["Debugger.paused"]: [Debugger.pausedPayload];
23364
+ ["Debugger.resumed"]: [Debugger.resumedPayload];
23365
+ ["Debugger.scriptFailedToParse"]: [Debugger.scriptFailedToParsePayload];
23366
+ ["Debugger.scriptParsed"]: [Debugger.scriptParsedPayload];
23367
+ ["HeapProfiler.addHeapSnapshotChunk"]: [HeapProfiler.addHeapSnapshotChunkPayload];
23368
+ ["HeapProfiler.heapStatsUpdate"]: [HeapProfiler.heapStatsUpdatePayload];
23369
+ ["HeapProfiler.lastSeenObjectId"]: [HeapProfiler.lastSeenObjectIdPayload];
23370
+ ["HeapProfiler.reportHeapSnapshotProgress"]: [HeapProfiler.reportHeapSnapshotProgressPayload];
23371
+ ["HeapProfiler.resetProfiles"]: [HeapProfiler.resetProfilesPayload];
23372
+ ["Profiler.consoleProfileFinished"]: [Profiler.consoleProfileFinishedPayload];
23373
+ ["Profiler.consoleProfileStarted"]: [Profiler.consoleProfileStartedPayload];
23374
+ ["Profiler.preciseCoverageDeltaUpdate"]: [Profiler.preciseCoverageDeltaUpdatePayload];
23375
+ ["Runtime.bindingCalled"]: [Runtime.bindingCalledPayload];
23376
+ ["Runtime.consoleAPICalled"]: [Runtime.consoleAPICalledPayload];
23377
+ ["Runtime.exceptionRevoked"]: [Runtime.exceptionRevokedPayload];
23378
+ ["Runtime.exceptionThrown"]: [Runtime.exceptionThrownPayload];
23379
+ ["Runtime.executionContextCreated"]: [Runtime.executionContextCreatedPayload];
23380
+ ["Runtime.executionContextDestroyed"]: [Runtime.executionContextDestroyedPayload];
23381
+ ["Runtime.executionContextsCleared"]: [Runtime.executionContextsClearedPayload];
23382
+ ["Runtime.inspectRequested"]: [Runtime.inspectRequestedPayload];
23383
+ }
21953
23384
  export interface CommandParameters {
21954
23385
  "Accessibility.disable": Accessibility.disableParameters;
21955
23386
  "Accessibility.enable": Accessibility.enableParameters;
@@ -21972,7 +23403,6 @@ Error was thrown.
21972
23403
  "Audits.getEncodedResponse": Audits.getEncodedResponseParameters;
21973
23404
  "Audits.disable": Audits.disableParameters;
21974
23405
  "Audits.enable": Audits.enableParameters;
21975
- "Audits.checkContrast": Audits.checkContrastParameters;
21976
23406
  "Audits.checkFormsIssues": Audits.checkFormsIssuesParameters;
21977
23407
  "Autofill.trigger": Autofill.triggerParameters;
21978
23408
  "Autofill.setAddresses": Autofill.setAddressesParameters;
@@ -22046,6 +23476,7 @@ Error was thrown.
22046
23476
  "CSS.setMediaText": CSS.setMediaTextParameters;
22047
23477
  "CSS.setContainerQueryText": CSS.setContainerQueryTextParameters;
22048
23478
  "CSS.setSupportsText": CSS.setSupportsTextParameters;
23479
+ "CSS.setNavigationText": CSS.setNavigationTextParameters;
22049
23480
  "CSS.setScopeText": CSS.setScopeTextParameters;
22050
23481
  "CSS.setRuleSelector": CSS.setRuleSelectorParameters;
22051
23482
  "CSS.setStyleSheetText": CSS.setStyleSheetTextParameters;
@@ -22189,11 +23620,15 @@ Error was thrown.
22189
23620
  "Emulation.setSmallViewportHeightDifferenceOverride": Emulation.setSmallViewportHeightDifferenceOverrideParameters;
22190
23621
  "Emulation.getScreenInfos": Emulation.getScreenInfosParameters;
22191
23622
  "Emulation.addScreen": Emulation.addScreenParameters;
23623
+ "Emulation.updateScreen": Emulation.updateScreenParameters;
22192
23624
  "Emulation.removeScreen": Emulation.removeScreenParameters;
23625
+ "Emulation.setPrimaryScreen": Emulation.setPrimaryScreenParameters;
22193
23626
  "EventBreakpoints.setInstrumentationBreakpoint": EventBreakpoints.setInstrumentationBreakpointParameters;
22194
23627
  "EventBreakpoints.removeInstrumentationBreakpoint": EventBreakpoints.removeInstrumentationBreakpointParameters;
22195
23628
  "EventBreakpoints.disable": EventBreakpoints.disableParameters;
23629
+ "Extensions.triggerAction": Extensions.triggerActionParameters;
22196
23630
  "Extensions.loadUnpacked": Extensions.loadUnpackedParameters;
23631
+ "Extensions.getExtensions": Extensions.getExtensionsParameters;
22197
23632
  "Extensions.uninstall": Extensions.uninstallParameters;
22198
23633
  "Extensions.getStorageItems": Extensions.getStorageItemsParameters;
22199
23634
  "Extensions.removeStorageItems": Extensions.removeStorageItemsParameters;
@@ -22273,8 +23708,6 @@ Error was thrown.
22273
23708
  "Memory.getAllTimeSamplingProfile": Memory.getAllTimeSamplingProfileParameters;
22274
23709
  "Memory.getBrowserSamplingProfile": Memory.getBrowserSamplingProfileParameters;
22275
23710
  "Memory.getSamplingProfile": Memory.getSamplingProfileParameters;
22276
- "Network.getIPProtectionProxyStatus": Network.getIPProtectionProxyStatusParameters;
22277
- "Network.setIPProtectionProxyBypassEnabled": Network.setIPProtectionProxyBypassEnabledParameters;
22278
23711
  "Network.setAcceptedEncodings": Network.setAcceptedEncodingsParameters;
22279
23712
  "Network.clearAcceptedEncodingsOverride": Network.clearAcceptedEncodingsOverrideParameters;
22280
23713
  "Network.canClearBrowserCache": Network.canClearBrowserCacheParameters;
@@ -22289,6 +23722,7 @@ Error was thrown.
22289
23722
  "Network.emulateNetworkConditionsByRule": Network.emulateNetworkConditionsByRuleParameters;
22290
23723
  "Network.overrideNetworkState": Network.overrideNetworkStateParameters;
22291
23724
  "Network.enable": Network.enableParameters;
23725
+ "Network.configureDurableMessages": Network.configureDurableMessagesParameters;
22292
23726
  "Network.getAllCookies": Network.getAllCookiesParameters;
22293
23727
  "Network.getCertificate": Network.getCertificateParameters;
22294
23728
  "Network.getCookies": Network.getCookiesParameters;
@@ -22310,6 +23744,8 @@ Error was thrown.
22310
23744
  "Network.streamResourceContent": Network.streamResourceContentParameters;
22311
23745
  "Network.getSecurityIsolationStatus": Network.getSecurityIsolationStatusParameters;
22312
23746
  "Network.enableReportingApi": Network.enableReportingApiParameters;
23747
+ "Network.enableDeviceBoundSessions": Network.enableDeviceBoundSessionsParameters;
23748
+ "Network.fetchSchemefulSite": Network.fetchSchemefulSiteParameters;
22313
23749
  "Network.loadNetworkResource": Network.loadNetworkResourceParameters;
22314
23750
  "Network.setCookieControls": Network.setCookieControlsParameters;
22315
23751
  "Overlay.disable": Overlay.disableParameters;
@@ -22332,6 +23768,7 @@ Error was thrown.
22332
23768
  "Overlay.setShowFlexOverlays": Overlay.setShowFlexOverlaysParameters;
22333
23769
  "Overlay.setShowScrollSnapOverlays": Overlay.setShowScrollSnapOverlaysParameters;
22334
23770
  "Overlay.setShowContainerQueryOverlays": Overlay.setShowContainerQueryOverlaysParameters;
23771
+ "Overlay.setShowInspectedElementAnchor": Overlay.setShowInspectedElementAnchorParameters;
22335
23772
  "Overlay.setShowPaintRects": Overlay.setShowPaintRectsParameters;
22336
23773
  "Overlay.setShowLayoutShiftRegions": Overlay.setShowLayoutShiftRegionsParameters;
22337
23774
  "Overlay.setShowScrollBottleneckRects": Overlay.setShowScrollBottleneckRectsParameters;
@@ -22408,6 +23845,7 @@ Error was thrown.
22408
23845
  "Page.waitForDebugger": Page.waitForDebuggerParameters;
22409
23846
  "Page.setInterceptFileChooserDialog": Page.setInterceptFileChooserDialogParameters;
22410
23847
  "Page.setPrerenderingAllowed": Page.setPrerenderingAllowedParameters;
23848
+ "Page.getAnnotatedPageContent": Page.getAnnotatedPageContentParameters;
22411
23849
  "Performance.disable": Performance.disableParameters;
22412
23850
  "Performance.enable": Performance.enableParameters;
22413
23851
  "Performance.setTimeDomain": Performance.setTimeDomainParameters;
@@ -22432,6 +23870,18 @@ Error was thrown.
22432
23870
  "ServiceWorker.stopWorker": ServiceWorker.stopWorkerParameters;
22433
23871
  "ServiceWorker.unregister": ServiceWorker.unregisterParameters;
22434
23872
  "ServiceWorker.updateRegistration": ServiceWorker.updateRegistrationParameters;
23873
+ "SmartCardEmulation.enable": SmartCardEmulation.enableParameters;
23874
+ "SmartCardEmulation.disable": SmartCardEmulation.disableParameters;
23875
+ "SmartCardEmulation.reportEstablishContextResult": SmartCardEmulation.reportEstablishContextResultParameters;
23876
+ "SmartCardEmulation.reportReleaseContextResult": SmartCardEmulation.reportReleaseContextResultParameters;
23877
+ "SmartCardEmulation.reportListReadersResult": SmartCardEmulation.reportListReadersResultParameters;
23878
+ "SmartCardEmulation.reportGetStatusChangeResult": SmartCardEmulation.reportGetStatusChangeResultParameters;
23879
+ "SmartCardEmulation.reportBeginTransactionResult": SmartCardEmulation.reportBeginTransactionResultParameters;
23880
+ "SmartCardEmulation.reportPlainResult": SmartCardEmulation.reportPlainResultParameters;
23881
+ "SmartCardEmulation.reportConnectResult": SmartCardEmulation.reportConnectResultParameters;
23882
+ "SmartCardEmulation.reportDataResult": SmartCardEmulation.reportDataResultParameters;
23883
+ "SmartCardEmulation.reportStatusResult": SmartCardEmulation.reportStatusResultParameters;
23884
+ "SmartCardEmulation.reportError": SmartCardEmulation.reportErrorParameters;
22435
23885
  "Storage.getStorageKeyForFrame": Storage.getStorageKeyForFrameParameters;
22436
23886
  "Storage.getStorageKey": Storage.getStorageKeyParameters;
22437
23887
  "Storage.clearDataForOrigin": Storage.clearDataForOriginParameters;
@@ -22490,11 +23940,13 @@ Error was thrown.
22490
23940
  "Target.autoAttachRelated": Target.autoAttachRelatedParameters;
22491
23941
  "Target.setDiscoverTargets": Target.setDiscoverTargetsParameters;
22492
23942
  "Target.setRemoteLocations": Target.setRemoteLocationsParameters;
23943
+ "Target.getDevToolsTarget": Target.getDevToolsTargetParameters;
22493
23944
  "Target.openDevTools": Target.openDevToolsParameters;
22494
23945
  "Tethering.bind": Tethering.bindParameters;
22495
23946
  "Tethering.unbind": Tethering.unbindParameters;
22496
23947
  "Tracing.end": Tracing.endParameters;
22497
23948
  "Tracing.getCategories": Tracing.getCategoriesParameters;
23949
+ "Tracing.getTrackEventDescriptor": Tracing.getTrackEventDescriptorParameters;
22498
23950
  "Tracing.recordClockSyncMarker": Tracing.recordClockSyncMarkerParameters;
22499
23951
  "Tracing.requestMemoryDump": Tracing.requestMemoryDumpParameters;
22500
23952
  "Tracing.start": Tracing.startParameters;
@@ -22514,6 +23966,7 @@ Error was thrown.
22514
23966
  "WebAuthn.setUserVerified": WebAuthn.setUserVerifiedParameters;
22515
23967
  "WebAuthn.setAutomaticPresenceSimulation": WebAuthn.setAutomaticPresenceSimulationParameters;
22516
23968
  "WebAuthn.setCredentialProperties": WebAuthn.setCredentialPropertiesParameters;
23969
+ "WebMCP.enable": WebMCP.enableParameters;
22517
23970
  "Console.clearMessages": Console.clearMessagesParameters;
22518
23971
  "Console.disable": Console.disableParameters;
22519
23972
  "Console.enable": Console.enableParameters;
@@ -22618,7 +24071,6 @@ Error was thrown.
22618
24071
  "Audits.getEncodedResponse": Audits.getEncodedResponseReturnValue;
22619
24072
  "Audits.disable": Audits.disableReturnValue;
22620
24073
  "Audits.enable": Audits.enableReturnValue;
22621
- "Audits.checkContrast": Audits.checkContrastReturnValue;
22622
24074
  "Audits.checkFormsIssues": Audits.checkFormsIssuesReturnValue;
22623
24075
  "Autofill.trigger": Autofill.triggerReturnValue;
22624
24076
  "Autofill.setAddresses": Autofill.setAddressesReturnValue;
@@ -22692,6 +24144,7 @@ Error was thrown.
22692
24144
  "CSS.setMediaText": CSS.setMediaTextReturnValue;
22693
24145
  "CSS.setContainerQueryText": CSS.setContainerQueryTextReturnValue;
22694
24146
  "CSS.setSupportsText": CSS.setSupportsTextReturnValue;
24147
+ "CSS.setNavigationText": CSS.setNavigationTextReturnValue;
22695
24148
  "CSS.setScopeText": CSS.setScopeTextReturnValue;
22696
24149
  "CSS.setRuleSelector": CSS.setRuleSelectorReturnValue;
22697
24150
  "CSS.setStyleSheetText": CSS.setStyleSheetTextReturnValue;
@@ -22835,11 +24288,15 @@ Error was thrown.
22835
24288
  "Emulation.setSmallViewportHeightDifferenceOverride": Emulation.setSmallViewportHeightDifferenceOverrideReturnValue;
22836
24289
  "Emulation.getScreenInfos": Emulation.getScreenInfosReturnValue;
22837
24290
  "Emulation.addScreen": Emulation.addScreenReturnValue;
24291
+ "Emulation.updateScreen": Emulation.updateScreenReturnValue;
22838
24292
  "Emulation.removeScreen": Emulation.removeScreenReturnValue;
24293
+ "Emulation.setPrimaryScreen": Emulation.setPrimaryScreenReturnValue;
22839
24294
  "EventBreakpoints.setInstrumentationBreakpoint": EventBreakpoints.setInstrumentationBreakpointReturnValue;
22840
24295
  "EventBreakpoints.removeInstrumentationBreakpoint": EventBreakpoints.removeInstrumentationBreakpointReturnValue;
22841
24296
  "EventBreakpoints.disable": EventBreakpoints.disableReturnValue;
24297
+ "Extensions.triggerAction": Extensions.triggerActionReturnValue;
22842
24298
  "Extensions.loadUnpacked": Extensions.loadUnpackedReturnValue;
24299
+ "Extensions.getExtensions": Extensions.getExtensionsReturnValue;
22843
24300
  "Extensions.uninstall": Extensions.uninstallReturnValue;
22844
24301
  "Extensions.getStorageItems": Extensions.getStorageItemsReturnValue;
22845
24302
  "Extensions.removeStorageItems": Extensions.removeStorageItemsReturnValue;
@@ -22919,8 +24376,6 @@ Error was thrown.
22919
24376
  "Memory.getAllTimeSamplingProfile": Memory.getAllTimeSamplingProfileReturnValue;
22920
24377
  "Memory.getBrowserSamplingProfile": Memory.getBrowserSamplingProfileReturnValue;
22921
24378
  "Memory.getSamplingProfile": Memory.getSamplingProfileReturnValue;
22922
- "Network.getIPProtectionProxyStatus": Network.getIPProtectionProxyStatusReturnValue;
22923
- "Network.setIPProtectionProxyBypassEnabled": Network.setIPProtectionProxyBypassEnabledReturnValue;
22924
24379
  "Network.setAcceptedEncodings": Network.setAcceptedEncodingsReturnValue;
22925
24380
  "Network.clearAcceptedEncodingsOverride": Network.clearAcceptedEncodingsOverrideReturnValue;
22926
24381
  "Network.canClearBrowserCache": Network.canClearBrowserCacheReturnValue;
@@ -22935,6 +24390,7 @@ Error was thrown.
22935
24390
  "Network.emulateNetworkConditionsByRule": Network.emulateNetworkConditionsByRuleReturnValue;
22936
24391
  "Network.overrideNetworkState": Network.overrideNetworkStateReturnValue;
22937
24392
  "Network.enable": Network.enableReturnValue;
24393
+ "Network.configureDurableMessages": Network.configureDurableMessagesReturnValue;
22938
24394
  "Network.getAllCookies": Network.getAllCookiesReturnValue;
22939
24395
  "Network.getCertificate": Network.getCertificateReturnValue;
22940
24396
  "Network.getCookies": Network.getCookiesReturnValue;
@@ -22956,6 +24412,8 @@ Error was thrown.
22956
24412
  "Network.streamResourceContent": Network.streamResourceContentReturnValue;
22957
24413
  "Network.getSecurityIsolationStatus": Network.getSecurityIsolationStatusReturnValue;
22958
24414
  "Network.enableReportingApi": Network.enableReportingApiReturnValue;
24415
+ "Network.enableDeviceBoundSessions": Network.enableDeviceBoundSessionsReturnValue;
24416
+ "Network.fetchSchemefulSite": Network.fetchSchemefulSiteReturnValue;
22959
24417
  "Network.loadNetworkResource": Network.loadNetworkResourceReturnValue;
22960
24418
  "Network.setCookieControls": Network.setCookieControlsReturnValue;
22961
24419
  "Overlay.disable": Overlay.disableReturnValue;
@@ -22978,6 +24436,7 @@ Error was thrown.
22978
24436
  "Overlay.setShowFlexOverlays": Overlay.setShowFlexOverlaysReturnValue;
22979
24437
  "Overlay.setShowScrollSnapOverlays": Overlay.setShowScrollSnapOverlaysReturnValue;
22980
24438
  "Overlay.setShowContainerQueryOverlays": Overlay.setShowContainerQueryOverlaysReturnValue;
24439
+ "Overlay.setShowInspectedElementAnchor": Overlay.setShowInspectedElementAnchorReturnValue;
22981
24440
  "Overlay.setShowPaintRects": Overlay.setShowPaintRectsReturnValue;
22982
24441
  "Overlay.setShowLayoutShiftRegions": Overlay.setShowLayoutShiftRegionsReturnValue;
22983
24442
  "Overlay.setShowScrollBottleneckRects": Overlay.setShowScrollBottleneckRectsReturnValue;
@@ -23054,6 +24513,7 @@ Error was thrown.
23054
24513
  "Page.waitForDebugger": Page.waitForDebuggerReturnValue;
23055
24514
  "Page.setInterceptFileChooserDialog": Page.setInterceptFileChooserDialogReturnValue;
23056
24515
  "Page.setPrerenderingAllowed": Page.setPrerenderingAllowedReturnValue;
24516
+ "Page.getAnnotatedPageContent": Page.getAnnotatedPageContentReturnValue;
23057
24517
  "Performance.disable": Performance.disableReturnValue;
23058
24518
  "Performance.enable": Performance.enableReturnValue;
23059
24519
  "Performance.setTimeDomain": Performance.setTimeDomainReturnValue;
@@ -23078,6 +24538,18 @@ Error was thrown.
23078
24538
  "ServiceWorker.stopWorker": ServiceWorker.stopWorkerReturnValue;
23079
24539
  "ServiceWorker.unregister": ServiceWorker.unregisterReturnValue;
23080
24540
  "ServiceWorker.updateRegistration": ServiceWorker.updateRegistrationReturnValue;
24541
+ "SmartCardEmulation.enable": SmartCardEmulation.enableReturnValue;
24542
+ "SmartCardEmulation.disable": SmartCardEmulation.disableReturnValue;
24543
+ "SmartCardEmulation.reportEstablishContextResult": SmartCardEmulation.reportEstablishContextResultReturnValue;
24544
+ "SmartCardEmulation.reportReleaseContextResult": SmartCardEmulation.reportReleaseContextResultReturnValue;
24545
+ "SmartCardEmulation.reportListReadersResult": SmartCardEmulation.reportListReadersResultReturnValue;
24546
+ "SmartCardEmulation.reportGetStatusChangeResult": SmartCardEmulation.reportGetStatusChangeResultReturnValue;
24547
+ "SmartCardEmulation.reportBeginTransactionResult": SmartCardEmulation.reportBeginTransactionResultReturnValue;
24548
+ "SmartCardEmulation.reportPlainResult": SmartCardEmulation.reportPlainResultReturnValue;
24549
+ "SmartCardEmulation.reportConnectResult": SmartCardEmulation.reportConnectResultReturnValue;
24550
+ "SmartCardEmulation.reportDataResult": SmartCardEmulation.reportDataResultReturnValue;
24551
+ "SmartCardEmulation.reportStatusResult": SmartCardEmulation.reportStatusResultReturnValue;
24552
+ "SmartCardEmulation.reportError": SmartCardEmulation.reportErrorReturnValue;
23081
24553
  "Storage.getStorageKeyForFrame": Storage.getStorageKeyForFrameReturnValue;
23082
24554
  "Storage.getStorageKey": Storage.getStorageKeyReturnValue;
23083
24555
  "Storage.clearDataForOrigin": Storage.clearDataForOriginReturnValue;
@@ -23136,11 +24608,13 @@ Error was thrown.
23136
24608
  "Target.autoAttachRelated": Target.autoAttachRelatedReturnValue;
23137
24609
  "Target.setDiscoverTargets": Target.setDiscoverTargetsReturnValue;
23138
24610
  "Target.setRemoteLocations": Target.setRemoteLocationsReturnValue;
24611
+ "Target.getDevToolsTarget": Target.getDevToolsTargetReturnValue;
23139
24612
  "Target.openDevTools": Target.openDevToolsReturnValue;
23140
24613
  "Tethering.bind": Tethering.bindReturnValue;
23141
24614
  "Tethering.unbind": Tethering.unbindReturnValue;
23142
24615
  "Tracing.end": Tracing.endReturnValue;
23143
24616
  "Tracing.getCategories": Tracing.getCategoriesReturnValue;
24617
+ "Tracing.getTrackEventDescriptor": Tracing.getTrackEventDescriptorReturnValue;
23144
24618
  "Tracing.recordClockSyncMarker": Tracing.recordClockSyncMarkerReturnValue;
23145
24619
  "Tracing.requestMemoryDump": Tracing.requestMemoryDumpReturnValue;
23146
24620
  "Tracing.start": Tracing.startReturnValue;
@@ -23160,6 +24634,7 @@ Error was thrown.
23160
24634
  "WebAuthn.setUserVerified": WebAuthn.setUserVerifiedReturnValue;
23161
24635
  "WebAuthn.setAutomaticPresenceSimulation": WebAuthn.setAutomaticPresenceSimulationReturnValue;
23162
24636
  "WebAuthn.setCredentialProperties": WebAuthn.setCredentialPropertiesReturnValue;
24637
+ "WebMCP.enable": WebMCP.enableReturnValue;
23163
24638
  "Console.clearMessages": Console.clearMessagesReturnValue;
23164
24639
  "Console.disable": Console.disableReturnValue;
23165
24640
  "Console.enable": Console.enableReturnValue;