@checkly/playwright-core 1.51.17-beta.2 → 1.54.2-beta.1

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 (376) hide show
  1. package/ThirdPartyNotices.txt +65 -123
  2. package/browsers.json +16 -14
  3. package/index.js +1 -1
  4. package/lib/androidServerImpl.js +47 -50
  5. package/lib/browserServerImpl.js +89 -69
  6. package/lib/checkly/escapeRegExp.js +23 -27
  7. package/lib/checkly/fetch.js +64 -46
  8. package/lib/checkly/secretsFilter.js +49 -35
  9. package/lib/cli/driver.js +71 -69
  10. package/lib/cli/program.js +400 -359
  11. package/lib/cli/programWithTestStub.js +51 -45
  12. package/lib/client/accessibility.js +31 -32
  13. package/lib/client/android.js +151 -242
  14. package/lib/client/api.js +135 -283
  15. package/lib/client/artifact.js +39 -36
  16. package/lib/client/browser.js +96 -71
  17. package/lib/client/browserContext.js +314 -345
  18. package/lib/client/browserType.js +103 -127
  19. package/lib/client/cdpSession.js +29 -31
  20. package/lib/client/channelOwner.js +89 -112
  21. package/lib/client/clientHelper.js +48 -39
  22. package/lib/client/clientInstrumentation.js +40 -37
  23. package/lib/client/clientStackTrace.js +41 -37
  24. package/lib/client/clock.js +36 -36
  25. package/lib/client/connection.js +188 -214
  26. package/lib/client/consoleMessage.js +31 -28
  27. package/lib/client/coverage.js +25 -22
  28. package/lib/client/dialog.js +30 -31
  29. package/lib/client/download.js +25 -25
  30. package/lib/client/electron.js +80 -77
  31. package/lib/client/elementHandle.js +120 -159
  32. package/lib/client/errors.js +53 -53
  33. package/lib/client/eventEmitter.js +124 -121
  34. package/lib/client/events.js +72 -68
  35. package/lib/client/fetch.js +166 -190
  36. package/lib/client/fileChooser.js +25 -24
  37. package/lib/client/fileUtils.js +31 -28
  38. package/lib/client/frame.js +207 -306
  39. package/lib/client/harRouter.js +42 -52
  40. package/lib/client/input.js +42 -69
  41. package/lib/client/jsHandle.js +54 -69
  42. package/lib/client/jsonPipe.js +27 -23
  43. package/lib/client/localUtils.js +29 -29
  44. package/lib/client/locator.js +145 -237
  45. package/lib/client/network.js +282 -307
  46. package/lib/client/page.js +269 -318
  47. package/lib/client/platform.js +46 -43
  48. package/lib/client/playwright.js +51 -76
  49. package/lib/client/selectors.js +45 -63
  50. package/lib/client/stream.js +29 -25
  51. package/lib/client/timeoutSettings.js +55 -41
  52. package/lib/client/tracing.js +49 -96
  53. package/lib/client/types.js +26 -22
  54. package/lib/client/video.js +35 -27
  55. package/lib/client/waiter.js +69 -88
  56. package/lib/client/webError.js +25 -23
  57. package/lib/client/webSocket.js +43 -56
  58. package/lib/client/worker.js +48 -56
  59. package/lib/client/writableStream.js +27 -23
  60. package/lib/generated/bindingsControllerSource.js +28 -0
  61. package/lib/generated/clockSource.js +26 -6
  62. package/lib/generated/consoleApiSource.js +26 -6
  63. package/lib/generated/injectedScriptSource.js +26 -6
  64. package/lib/generated/pollingRecorderSource.js +26 -6
  65. package/lib/generated/storageScriptSource.js +28 -0
  66. package/lib/generated/utilityScriptSource.js +26 -6
  67. package/lib/generated/webSocketMockSource.js +333 -5
  68. package/lib/inProcessFactory.js +51 -53
  69. package/lib/inprocess.js +2 -19
  70. package/lib/outofprocess.js +51 -46
  71. package/lib/protocol/serializers.js +153 -134
  72. package/lib/protocol/validator.js +2807 -2739
  73. package/lib/protocol/validatorPrimitives.js +114 -73
  74. package/lib/remote/playwrightConnection.js +88 -242
  75. package/lib/remote/playwrightServer.js +305 -92
  76. package/lib/server/accessibility.js +44 -37
  77. package/lib/server/android/android.js +251 -241
  78. package/lib/server/android/backendAdb.js +87 -82
  79. package/lib/server/artifact.js +78 -55
  80. package/lib/server/bidi/bidiBrowser.js +297 -158
  81. package/lib/server/bidi/bidiChromium.js +119 -89
  82. package/lib/server/bidi/bidiConnection.js +66 -83
  83. package/lib/server/bidi/bidiExecutionContext.js +129 -113
  84. package/lib/server/bidi/bidiFirefox.js +86 -76
  85. package/lib/server/bidi/bidiInput.js +106 -117
  86. package/lib/server/bidi/bidiNetworkManager.js +142 -159
  87. package/lib/server/bidi/bidiOverCdp.js +57 -58
  88. package/lib/server/bidi/bidiPage.js +260 -260
  89. package/lib/server/bidi/bidiPdf.js +52 -86
  90. package/lib/server/bidi/third_party/bidiCommands.d.js +22 -0
  91. package/lib/server/bidi/third_party/bidiDeserializer.js +55 -50
  92. package/lib/server/bidi/third_party/bidiKeyboard.js +236 -220
  93. package/lib/server/bidi/third_party/bidiProtocol.js +22 -137
  94. package/lib/server/bidi/third_party/bidiProtocolCore.js +152 -0
  95. package/lib/server/bidi/third_party/bidiProtocolPermissions.js +42 -0
  96. package/lib/server/bidi/third_party/bidiSerializer.js +67 -63
  97. package/lib/server/bidi/third_party/firefoxPrefs.js +141 -119
  98. package/lib/server/browser.js +93 -95
  99. package/lib/server/browserContext.js +419 -429
  100. package/lib/server/browserType.js +186 -216
  101. package/lib/server/callLog.js +47 -44
  102. package/lib/server/chromium/chromium.js +235 -203
  103. package/lib/server/chromium/chromiumSwitches.js +100 -67
  104. package/lib/server/chromium/crAccessibility.js +157 -131
  105. package/lib/server/chromium/crBrowser.js +310 -292
  106. package/lib/server/chromium/crConnection.js +95 -121
  107. package/lib/server/chromium/crCoverage.js +121 -131
  108. package/lib/server/chromium/crDevTools.js +60 -51
  109. package/lib/server/chromium/crDragDrop.js +68 -84
  110. package/lib/server/chromium/crExecutionContext.js +89 -83
  111. package/lib/server/chromium/crInput.js +118 -113
  112. package/lib/server/chromium/crNetworkManager.js +274 -375
  113. package/lib/server/chromium/crPage.js +536 -593
  114. package/lib/server/chromium/crPdf.js +54 -86
  115. package/lib/server/chromium/crProtocolHelper.js +92 -80
  116. package/lib/server/chromium/crServiceWorker.js +84 -73
  117. package/lib/server/chromium/defaultFontFamilies.js +152 -135
  118. package/lib/server/chromium/protocol.d.js +16 -0
  119. package/lib/server/chromium/videoRecorder.js +66 -99
  120. package/lib/server/clock.js +107 -83
  121. package/lib/server/codegen/csharp.js +192 -162
  122. package/lib/server/codegen/java.js +156 -129
  123. package/lib/server/codegen/javascript.js +163 -148
  124. package/lib/server/codegen/jsonl.js +32 -28
  125. package/lib/server/codegen/language.js +75 -52
  126. package/lib/server/codegen/languages.js +65 -27
  127. package/lib/server/codegen/python.js +141 -126
  128. package/lib/server/codegen/types.js +15 -4
  129. package/lib/server/console.js +28 -32
  130. package/lib/server/cookieStore.js +108 -86
  131. package/lib/server/debugController.js +147 -151
  132. package/lib/server/debugger.js +86 -78
  133. package/lib/server/deviceDescriptors.js +37 -24
  134. package/lib/server/deviceDescriptorsSource.json +238 -128
  135. package/lib/server/dialog.js +84 -39
  136. package/lib/server/dispatchers/androidDispatcher.js +257 -148
  137. package/lib/server/dispatchers/artifactDispatcher.js +79 -79
  138. package/lib/server/dispatchers/browserContextDispatcher.js +289 -259
  139. package/lib/server/dispatchers/browserDispatcher.js +96 -148
  140. package/lib/server/dispatchers/browserTypeDispatcher.js +50 -41
  141. package/lib/server/dispatchers/cdpSessionDispatcher.js +35 -39
  142. package/lib/server/dispatchers/debugControllerDispatcher.js +65 -83
  143. package/lib/server/dispatchers/dialogDispatcher.js +34 -31
  144. package/lib/server/dispatchers/dispatcher.js +208 -248
  145. package/lib/server/dispatchers/electronDispatcher.js +66 -70
  146. package/lib/server/dispatchers/elementHandlerDispatcher.js +164 -216
  147. package/lib/server/dispatchers/frameDispatcher.js +211 -272
  148. package/lib/server/dispatchers/jsHandleDispatcher.js +63 -75
  149. package/lib/server/dispatchers/jsonPipeDispatcher.js +37 -38
  150. package/lib/server/dispatchers/localUtilsDispatcher.js +121 -119
  151. package/lib/server/dispatchers/networkDispatchers.js +117 -128
  152. package/lib/server/dispatchers/pageDispatcher.js +256 -248
  153. package/lib/server/dispatchers/playwrightDispatcher.js +92 -87
  154. package/lib/server/dispatchers/streamDispatcher.js +52 -48
  155. package/lib/server/dispatchers/tracingDispatcher.js +47 -52
  156. package/lib/server/dispatchers/webSocketRouteDispatcher.js +126 -150
  157. package/lib/server/dispatchers/writableStreamDispatcher.js +65 -43
  158. package/lib/server/dom.js +485 -582
  159. package/lib/server/download.js +47 -37
  160. package/lib/server/electron/electron.js +216 -243
  161. package/lib/server/electron/loader.js +9 -37
  162. package/lib/server/errors.js +47 -46
  163. package/lib/server/fetch.js +317 -360
  164. package/lib/server/fileChooser.js +25 -24
  165. package/lib/server/fileUploadUtils.js +66 -60
  166. package/lib/server/firefox/ffAccessibility.js +153 -131
  167. package/lib/server/firefox/ffBrowser.js +268 -305
  168. package/lib/server/firefox/ffConnection.js +63 -84
  169. package/lib/server/firefox/ffExecutionContext.js +92 -73
  170. package/lib/server/firefox/ffInput.js +82 -84
  171. package/lib/server/firefox/ffNetworkManager.js +137 -114
  172. package/lib/server/firefox/ffPage.js +261 -293
  173. package/lib/server/firefox/firefox.js +80 -72
  174. package/lib/server/firefox/protocol.d.js +16 -0
  175. package/lib/server/formData.js +107 -35
  176. package/lib/server/frameSelectors.js +98 -114
  177. package/lib/server/frames.js +845 -1055
  178. package/lib/server/har/harRecorder.js +85 -77
  179. package/lib/server/har/harTracer.js +290 -223
  180. package/lib/server/harBackend.js +80 -80
  181. package/lib/server/helper.js +55 -59
  182. package/lib/server/index.js +59 -99
  183. package/lib/server/input.js +151 -189
  184. package/lib/server/instrumentation.js +57 -44
  185. package/lib/server/javascript.js +133 -134
  186. package/lib/server/launchApp.js +113 -75
  187. package/lib/server/localUtils.js +150 -142
  188. package/lib/server/macEditingCommands.js +141 -137
  189. package/lib/server/network.js +299 -303
  190. package/lib/server/page.js +513 -544
  191. package/lib/server/pipeTransport.js +49 -45
  192. package/lib/server/playwright.js +58 -67
  193. package/lib/server/progress.js +137 -68
  194. package/lib/server/protocolError.js +34 -31
  195. package/lib/server/recorder/chat.js +70 -86
  196. package/lib/server/recorder/recorderApp.js +341 -176
  197. package/lib/server/recorder/recorderInTraceViewer.js +65 -94
  198. package/lib/server/recorder/recorderRunner.js +93 -116
  199. package/lib/server/recorder/recorderSignalProcessor.js +83 -0
  200. package/lib/server/recorder/recorderUtils.js +104 -47
  201. package/lib/server/recorder/throttledFile.js +42 -30
  202. package/lib/server/recorder.js +395 -275
  203. package/lib/server/registry/browserFetcher.js +106 -101
  204. package/lib/server/registry/dependencies.js +245 -196
  205. package/lib/server/registry/index.js +930 -803
  206. package/lib/server/registry/nativeDeps.js +1073 -464
  207. package/lib/server/registry/oopDownloadBrowserMain.js +57 -75
  208. package/lib/server/screenshotter.js +160 -191
  209. package/lib/server/selectors.js +90 -51
  210. package/lib/server/socksClientCertificatesInterceptor.js +171 -186
  211. package/lib/server/socksInterceptor.js +62 -70
  212. package/lib/server/trace/recorder/snapshotter.js +76 -102
  213. package/lib/server/trace/recorder/snapshotterInjected.js +238 -217
  214. package/lib/server/trace/recorder/tracing.js +354 -362
  215. package/lib/server/trace/test/inMemorySnapshotter.js +46 -52
  216. package/lib/server/trace/viewer/traceViewer.js +160 -147
  217. package/lib/server/transport.js +119 -134
  218. package/lib/server/types.js +26 -22
  219. package/lib/server/usKeyboardLayout.js +135 -545
  220. package/lib/server/utils/ascii.js +39 -26
  221. package/lib/server/utils/comparators.js +105 -103
  222. package/lib/server/utils/crypto.js +157 -112
  223. package/lib/server/utils/debug.js +36 -32
  224. package/lib/server/utils/debugLogger.js +77 -48
  225. package/lib/server/utils/env.js +52 -37
  226. package/lib/server/utils/eventsHelper.js +29 -28
  227. package/lib/server/utils/expectUtils.js +31 -26
  228. package/lib/server/utils/fileUtils.js +123 -136
  229. package/lib/server/utils/happyEyeballs.js +141 -126
  230. package/lib/server/utils/hostPlatform.js +84 -120
  231. package/lib/server/utils/httpServer.js +106 -121
  232. package/lib/server/utils/image_tools/colorUtils.js +42 -51
  233. package/lib/server/utils/image_tools/compare.js +44 -43
  234. package/lib/server/utils/image_tools/imageChannel.js +38 -30
  235. package/lib/server/utils/image_tools/stats.js +40 -40
  236. package/lib/server/utils/linuxUtils.js +50 -37
  237. package/lib/server/utils/network.js +152 -96
  238. package/lib/server/utils/nodePlatform.js +87 -79
  239. package/lib/server/utils/pipeTransport.js +44 -42
  240. package/lib/server/utils/processLauncher.js +111 -121
  241. package/lib/server/utils/profiler.js +52 -39
  242. package/lib/server/utils/socksProxy.js +280 -339
  243. package/lib/server/utils/spawnAsync.js +37 -41
  244. package/lib/server/utils/task.js +31 -38
  245. package/lib/server/utils/userAgent.js +73 -66
  246. package/lib/server/utils/wsServer.js +68 -75
  247. package/lib/server/utils/zipFile.js +36 -37
  248. package/lib/server/utils/zones.js +37 -34
  249. package/lib/server/webkit/protocol.d.js +16 -0
  250. package/lib/server/webkit/webkit.js +77 -61
  251. package/lib/server/webkit/wkAccessibility.js +161 -118
  252. package/lib/server/webkit/wkBrowser.js +193 -184
  253. package/lib/server/webkit/wkConnection.js +59 -83
  254. package/lib/server/webkit/wkExecutionContext.js +85 -70
  255. package/lib/server/webkit/wkInput.js +97 -95
  256. package/lib/server/webkit/wkInterceptableRequest.js +102 -95
  257. package/lib/server/webkit/wkPage.js +568 -667
  258. package/lib/server/webkit/wkProvisionalPage.js +45 -56
  259. package/lib/server/webkit/wkWorkers.js +79 -79
  260. package/lib/utils/expectUtils.js +31 -26
  261. package/lib/utils/isomorphic/ariaSnapshot.js +149 -152
  262. package/lib/utils/isomorphic/assert.js +28 -22
  263. package/lib/utils/isomorphic/colors.js +66 -59
  264. package/lib/utils/isomorphic/cssParser.js +120 -125
  265. package/lib/utils/isomorphic/cssTokenizer.js +436 -364
  266. package/lib/utils/isomorphic/headers.js +38 -37
  267. package/lib/utils/isomorphic/locatorGenerators.js +358 -357
  268. package/lib/utils/isomorphic/locatorParser.js +96 -105
  269. package/lib/utils/isomorphic/locatorUtils.js +63 -44
  270. package/lib/utils/isomorphic/manualPromise.js +46 -39
  271. package/lib/utils/isomorphic/mimeType.js +447 -25
  272. package/lib/utils/isomorphic/multimap.js +34 -27
  273. package/lib/utils/isomorphic/protocolFormatter.js +68 -0
  274. package/lib/utils/isomorphic/protocolMetainfo.js +321 -0
  275. package/lib/utils/isomorphic/recorderUtils.js +140 -181
  276. package/lib/utils/isomorphic/rtti.js +35 -33
  277. package/lib/utils/isomorphic/selectorParser.js +182 -193
  278. package/lib/utils/isomorphic/semaphore.js +27 -24
  279. package/lib/utils/isomorphic/stackTrace.js +87 -98
  280. package/lib/utils/isomorphic/stringUtils.js +98 -112
  281. package/lib/utils/isomorphic/time.js +46 -22
  282. package/lib/utils/isomorphic/timeoutRunner.js +53 -53
  283. package/lib/utils/isomorphic/traceUtils.js +37 -41
  284. package/lib/utils/isomorphic/types.js +15 -4
  285. package/lib/utils/isomorphic/urlMatch.js +113 -67
  286. package/lib/utils/isomorphic/utilityScriptSerializers.js +251 -0
  287. package/lib/utils.js +101 -443
  288. package/lib/utilsBundle.js +101 -52
  289. package/lib/utilsBundleImpl/index.js +160 -150
  290. package/lib/zipBundle.js +32 -23
  291. package/lib/zipBundleImpl.js +4 -4
  292. package/package.json +1 -1
  293. package/types/protocol.d.ts +1267 -1057
  294. package/types/types.d.ts +131 -29
  295. package/lib/common/socksProxy.js +0 -569
  296. package/lib/common/timeoutSettings.js +0 -73
  297. package/lib/common/types.js +0 -5
  298. package/lib/image_tools/colorUtils.js +0 -98
  299. package/lib/image_tools/compare.js +0 -108
  300. package/lib/image_tools/imageChannel.js +0 -70
  301. package/lib/image_tools/stats.js +0 -102
  302. package/lib/protocol/debug.js +0 -27
  303. package/lib/protocol/transport.js +0 -82
  304. package/lib/server/dispatchers/selectorsDispatcher.js +0 -36
  305. package/lib/server/isomorphic/utilityScriptSerializers.js +0 -229
  306. package/lib/server/recorder/contextRecorder.js +0 -290
  307. package/lib/server/recorder/recorderCollection.js +0 -104
  308. package/lib/server/recorder/recorderFrontend.js +0 -5
  309. package/lib/server/storageScript.js +0 -160
  310. package/lib/server/timeoutSettings.js +0 -74
  311. package/lib/third_party/diff_match_patch.js +0 -2222
  312. package/lib/utils/ascii.js +0 -31
  313. package/lib/utils/comparators.js +0 -171
  314. package/lib/utils/crypto.js +0 -174
  315. package/lib/utils/debug.js +0 -46
  316. package/lib/utils/debugLogger.js +0 -91
  317. package/lib/utils/env.js +0 -49
  318. package/lib/utils/eventsHelper.js +0 -38
  319. package/lib/utils/fileUtils.js +0 -205
  320. package/lib/utils/happy-eyeballs.js +0 -210
  321. package/lib/utils/headers.js +0 -52
  322. package/lib/utils/hostPlatform.js +0 -133
  323. package/lib/utils/httpServer.js +0 -237
  324. package/lib/utils/index.js +0 -368
  325. package/lib/utils/linuxUtils.js +0 -78
  326. package/lib/utils/manualPromise.js +0 -109
  327. package/lib/utils/multimap.js +0 -75
  328. package/lib/utils/network.js +0 -160
  329. package/lib/utils/processLauncher.js +0 -248
  330. package/lib/utils/profiler.js +0 -53
  331. package/lib/utils/rtti.js +0 -44
  332. package/lib/utils/semaphore.js +0 -51
  333. package/lib/utils/spawnAsync.js +0 -45
  334. package/lib/utils/stackTrace.js +0 -121
  335. package/lib/utils/task.js +0 -58
  336. package/lib/utils/time.js +0 -37
  337. package/lib/utils/timeoutRunner.js +0 -66
  338. package/lib/utils/traceUtils.js +0 -44
  339. package/lib/utils/userAgent.js +0 -105
  340. package/lib/utils/wsServer.js +0 -127
  341. package/lib/utils/zipFile.js +0 -75
  342. package/lib/utils/zones.js +0 -62
  343. package/lib/vite/htmlReport/index.html +0 -69
  344. package/lib/vite/recorder/assets/codeMirrorModule-B9YMkrwa.js +0 -24
  345. package/lib/vite/recorder/assets/codeMirrorModule-C3UTv-Ge.css +0 -1
  346. package/lib/vite/recorder/assets/codicon-DCmgc-ay.ttf +0 -0
  347. package/lib/vite/recorder/assets/index-ELPgmkwA.js +0 -184
  348. package/lib/vite/recorder/assets/index-eHBmevrY.css +0 -1
  349. package/lib/vite/recorder/index.html +0 -29
  350. package/lib/vite/recorder/playwright-logo.svg +0 -9
  351. package/lib/vite/traceViewer/assets/codeMirrorModule-gU1OOCQO.js +0 -24
  352. package/lib/vite/traceViewer/assets/defaultSettingsView-B5n_FjMx.js +0 -1
  353. package/lib/vite/traceViewer/assets/inspectorTab-6Tru8Mn_.js +0 -235
  354. package/lib/vite/traceViewer/assets/workbench-B_Nj4NA2.js +0 -25
  355. package/lib/vite/traceViewer/assets/xtermModule-BoAIEibi.js +0 -9
  356. package/lib/vite/traceViewer/codeMirrorModule.C3UTv-Ge.css +0 -1
  357. package/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
  358. package/lib/vite/traceViewer/defaultSettingsView.CO3FR0CX.css +0 -1
  359. package/lib/vite/traceViewer/embedded.DpNPH6mk.js +0 -2
  360. package/lib/vite/traceViewer/embedded.html +0 -18
  361. package/lib/vite/traceViewer/embedded.mLhjB5IF.css +0 -1
  362. package/lib/vite/traceViewer/index.CFOW-Ezb.css +0 -1
  363. package/lib/vite/traceViewer/index.CuE3SYGw.js +0 -2
  364. package/lib/vite/traceViewer/index.html +0 -47
  365. package/lib/vite/traceViewer/inspectorTab.CXDulcFG.css +0 -1
  366. package/lib/vite/traceViewer/playwright-logo.svg +0 -9
  367. package/lib/vite/traceViewer/recorder.BD-uZJs7.js +0 -2
  368. package/lib/vite/traceViewer/recorder.html +0 -17
  369. package/lib/vite/traceViewer/recorder.tn0RQdqM.css +0 -0
  370. package/lib/vite/traceViewer/snapshot.html +0 -21
  371. package/lib/vite/traceViewer/sw.bundle.js +0 -3
  372. package/lib/vite/traceViewer/uiMode.BatfzHMG.css +0 -1
  373. package/lib/vite/traceViewer/uiMode.DHrNgddz.js +0 -5
  374. package/lib/vite/traceViewer/uiMode.html +0 -21
  375. package/lib/vite/traceViewer/workbench.B9vIAzH9.css +0 -1
  376. package/lib/vite/traceViewer/xtermModule.Beg8tuEN.css +0 -32
@@ -170,7 +170,7 @@ export module Protocol {
170
170
  */
171
171
  frameId?: Page.FrameId;
172
172
  }
173
-
173
+
174
174
  /**
175
175
  * The loadComplete event mirrors the load complete event sent by the browser to assistive
176
176
  technology when the web page has finished loading.
@@ -190,7 +190,7 @@ technology when the web page has finished loading.
190
190
  */
191
191
  nodes: AXNode[];
192
192
  }
193
-
193
+
194
194
  /**
195
195
  * Disables the accessibility domain.
196
196
  */
@@ -339,7 +339,7 @@ including nodes that are ignored for accessibility.
339
339
  nodes: AXNode[];
340
340
  }
341
341
  }
342
-
342
+
343
343
  export module Animation {
344
344
  /**
345
345
  * Animation instance.
@@ -497,7 +497,7 @@ percentage [0 - 100] for scroll driven animations
497
497
  */
498
498
  easing: string;
499
499
  }
500
-
500
+
501
501
  /**
502
502
  * Event for when an animation has been cancelled.
503
503
  */
@@ -534,7 +534,7 @@ percentage [0 - 100] for scroll driven animations
534
534
  */
535
535
  animation: Animation;
536
536
  }
537
-
537
+
538
538
  /**
539
539
  * Disables animation domain notifications.
540
540
  */
@@ -662,7 +662,7 @@ percentage [0 - 100] for scroll driven animations
662
662
  export type setTimingReturnValue = {
663
663
  }
664
664
  }
665
-
665
+
666
666
  /**
667
667
  * Audits domain allows investigation of page violations and possible improvements.
668
668
  */
@@ -804,7 +804,7 @@ some CSP errors in the future.
804
804
  */
805
805
  frame: AffectedFrame;
806
806
  }
807
- export type ContentSecurityPolicyViolationType = "kInlineViolation"|"kEvalViolation"|"kURLViolation"|"kTrustedTypesSinkViolation"|"kTrustedTypesPolicyViolation"|"kWasmEvalViolation";
807
+ export type ContentSecurityPolicyViolationType = "kInlineViolation"|"kEvalViolation"|"kURLViolation"|"kSRIViolation"|"kTrustedTypesSinkViolation"|"kTrustedTypesPolicyViolation"|"kWasmEvalViolation";
808
808
  export interface SourceCodeLocation {
809
809
  scriptId?: Runtime.ScriptId;
810
810
  url: string;
@@ -860,6 +860,7 @@ CORS RFC1918 enforcement.
860
860
  }
861
861
  export type AttributionReportingIssueType = "PermissionPolicyDisabled"|"UntrustworthyReportingOrigin"|"InsecureContext"|"InvalidHeader"|"InvalidRegisterTriggerHeader"|"SourceAndTriggerHeaders"|"SourceIgnored"|"TriggerIgnored"|"OsSourceIgnored"|"OsTriggerIgnored"|"InvalidRegisterOsSourceHeader"|"InvalidRegisterOsTriggerHeader"|"WebAndOsHeaders"|"NoWebOrOsSupport"|"NavigationRegistrationWithoutTransientUserActivation"|"InvalidInfoHeader"|"NoRegisterSourceHeader"|"NoRegisterTriggerHeader"|"NoRegisterOsSourceHeader"|"NoRegisterOsTriggerHeader"|"NavigationRegistrationUniqueScopeAlreadySet";
862
862
  export type SharedDictionaryError = "UseErrorCrossOriginNoCorsRequest"|"UseErrorDictionaryLoadFailure"|"UseErrorMatchingDictionaryNotUsed"|"UseErrorUnexpectedContentDictionaryHeader"|"WriteErrorCossOriginNoCorsRequest"|"WriteErrorDisallowedBySettings"|"WriteErrorExpiredResponse"|"WriteErrorFeatureDisabled"|"WriteErrorInsufficientResources"|"WriteErrorInvalidMatchField"|"WriteErrorInvalidStructuredHeader"|"WriteErrorNavigationRequest"|"WriteErrorNoMatchField"|"WriteErrorNonListMatchDestField"|"WriteErrorNonSecureContext"|"WriteErrorNonStringIdField"|"WriteErrorNonStringInMatchDestList"|"WriteErrorNonStringMatchField"|"WriteErrorNonTokenTypeField"|"WriteErrorRequestAborted"|"WriteErrorShuttingDown"|"WriteErrorTooLongIdField"|"WriteErrorUnsupportedType";
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";
863
864
  /**
864
865
  * Details for issues around "Attribution Reporting API" usage.
865
866
  Explainer: https://github.com/WICG/attribution-reporting-api
@@ -893,6 +894,12 @@ instead of "limited-quirks".
893
894
  sharedDictionaryError: SharedDictionaryError;
894
895
  request: AffectedRequest;
895
896
  }
897
+ export interface SRIMessageSignatureIssueDetails {
898
+ error: SRIMessageSignatureError;
899
+ signatureBase: string;
900
+ integrityAssertions: string[];
901
+ request: AffectedRequest;
902
+ }
896
903
  export type GenericIssueErrorType = "FormLabelForNameError"|"FormDuplicateIdForInputError"|"FormInputWithNoLabelError"|"FormAutocompleteAttributeEmptyError"|"FormEmptyIdAndNameAttributesForInputError"|"FormAriaLabelledByToNonExistingId"|"FormInputAssignedAutocompleteValueToIdOrNameAttributeError"|"FormLabelHasNeitherForNorNestedInput"|"FormLabelForMatchesNonExistingIdError"|"FormInputHasWrongButWellIntendedAutocompleteValueError"|"ResponseWasBlockedByORB";
897
904
  /**
898
905
  * Depending on the concrete errorType, different properties are set.
@@ -952,7 +959,7 @@ Should be updated alongside RequestIdTokenStatus in
952
959
  third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
953
960
  all cases except for success.
954
961
  */
955
- 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";
962
+ 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";
956
963
  export interface FederatedAuthUserInfoRequestIssueDetails {
957
964
  federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
958
965
  }
@@ -981,6 +988,17 @@ features, encourage the use of new ones, and provide general guidance.
981
988
  failureMessage: string;
982
989
  requestId?: Network.RequestId;
983
990
  }
991
+ export type PartitioningBlobURLInfo = "BlockedCrossPartitionFetching"|"EnforceNoopenerForNavigation";
992
+ export interface PartitioningBlobURLIssueDetails {
993
+ /**
994
+ * The BlobURL that failed to load.
995
+ */
996
+ url: string;
997
+ /**
998
+ * Additional information about the Partitioning Blob URL issue.
999
+ */
1000
+ partitioningBlobURLInfo: PartitioningBlobURLInfo;
1001
+ }
984
1002
  export type SelectElementAccessibilityIssueReason = "DisallowedSelectChild"|"DisallowedOptGroupChild"|"NonPhrasingContentOptionChild"|"InteractiveContentOptionChild"|"InteractiveContentLegendChild";
985
1003
  /**
986
1004
  * This issue warns about errors in the select element content model.
@@ -1027,12 +1045,24 @@ registrations being ignored.
1027
1045
  */
1028
1046
  propertyValue?: string;
1029
1047
  }
1048
+ export type UserReidentificationIssueType = "BlockedFrameNavigation"|"BlockedSubresource";
1049
+ /**
1050
+ * This issue warns about uses of APIs that may be considered misuse to
1051
+ re-identify users.
1052
+ */
1053
+ export interface UserReidentificationIssueDetails {
1054
+ type: UserReidentificationIssueType;
1055
+ /**
1056
+ * Applies to BlockedFrameNavigation and BlockedSubresource issue types.
1057
+ */
1058
+ request?: AffectedRequest;
1059
+ }
1030
1060
  /**
1031
1061
  * A unique identifier for the type of issue. Each type may use one of the
1032
1062
  optional fields in InspectorIssueDetails to convey more specific
1033
1063
  information about the kind of issue.
1034
1064
  */
1035
- export type InspectorIssueCode = "CookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"LowTextContrastIssue"|"CorsIssue"|"AttributionReportingIssue"|"QuirksModeIssue"|"NavigatorUserAgentIssue"|"GenericIssue"|"DeprecationIssue"|"ClientHintIssue"|"FederatedAuthRequestIssue"|"BounceTrackingIssue"|"CookieDeprecationMetadataIssue"|"StylesheetLoadingIssue"|"FederatedAuthUserInfoRequestIssue"|"PropertyRuleIssue"|"SharedDictionaryIssue"|"SelectElementAccessibilityIssue";
1065
+ 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"|"SelectElementAccessibilityIssue"|"SRIMessageSignatureIssue"|"UserReidentificationIssue";
1036
1066
  /**
1037
1067
  * This struct holds a list of optional fields with additional information
1038
1068
  specific to the kind of issue. When adding a new issue code, please also
@@ -1049,6 +1079,7 @@ add a new optional field to this type.
1049
1079
  corsIssueDetails?: CorsIssueDetails;
1050
1080
  attributionReportingIssueDetails?: AttributionReportingIssueDetails;
1051
1081
  quirksModeIssueDetails?: QuirksModeIssueDetails;
1082
+ partitioningBlobURLIssueDetails?: PartitioningBlobURLIssueDetails;
1052
1083
  navigatorUserAgentIssueDetails?: NavigatorUserAgentIssueDetails;
1053
1084
  genericIssueDetails?: GenericIssueDetails;
1054
1085
  deprecationIssueDetails?: DeprecationIssueDetails;
@@ -1061,6 +1092,8 @@ add a new optional field to this type.
1061
1092
  federatedAuthUserInfoRequestIssueDetails?: FederatedAuthUserInfoRequestIssueDetails;
1062
1093
  sharedDictionaryIssueDetails?: SharedDictionaryIssueDetails;
1063
1094
  selectElementAccessibilityIssueDetails?: SelectElementAccessibilityIssueDetails;
1095
+ sriMessageSignatureIssueDetails?: SRIMessageSignatureIssueDetails;
1096
+ userReidentificationIssueDetails?: UserReidentificationIssueDetails;
1064
1097
  }
1065
1098
  /**
1066
1099
  * A unique id for a DevTools inspector issue. Allows other entities (e.g.
@@ -1079,11 +1112,11 @@ exception, CDP message, etc.) is referencing this issue.
1079
1112
  */
1080
1113
  issueId?: IssueId;
1081
1114
  }
1082
-
1115
+
1083
1116
  export type issueAddedPayload = {
1084
1117
  issue: InspectorIssue;
1085
1118
  }
1086
-
1119
+
1087
1120
  /**
1088
1121
  * Returns the response body and size if it were re-encoded with the specified settings. Only
1089
1122
  applies to images.
@@ -1157,219 +1190,7 @@ using Audits.issueAdded event.
1157
1190
  formIssues: GenericIssueDetails[];
1158
1191
  }
1159
1192
  }
1160
-
1161
- /**
1162
- * Defines commands and events for browser extensions.
1163
- */
1164
- export module Extensions {
1165
- /**
1166
- * Storage areas.
1167
- */
1168
- export type StorageArea = "session"|"local"|"sync"|"managed";
1169
-
1170
-
1171
- /**
1172
- * Installs an unpacked extension from the filesystem similar to
1173
- --load-extension CLI flags. Returns extension ID once the extension
1174
- has been installed. Available if the client is connected using the
1175
- --remote-debugging-pipe flag and the --enable-unsafe-extension-debugging
1176
- flag is set.
1177
- */
1178
- export type loadUnpackedParameters = {
1179
- /**
1180
- * Absolute file path.
1181
- */
1182
- path: string;
1183
- }
1184
- export type loadUnpackedReturnValue = {
1185
- /**
1186
- * Extension id.
1187
- */
1188
- id: string;
1189
- }
1190
- /**
1191
- * Gets data from extension storage in the given `storageArea`. If `keys` is
1192
- specified, these are used to filter the result.
1193
- */
1194
- export type getStorageItemsParameters = {
1195
- /**
1196
- * ID of extension.
1197
- */
1198
- id: string;
1199
- /**
1200
- * StorageArea to retrieve data from.
1201
- */
1202
- storageArea: StorageArea;
1203
- /**
1204
- * Keys to retrieve.
1205
- */
1206
- keys?: string[];
1207
- }
1208
- export type getStorageItemsReturnValue = {
1209
- data: { [key: string]: string };
1210
- }
1211
- /**
1212
- * Removes `keys` from extension storage in the given `storageArea`.
1213
- */
1214
- export type removeStorageItemsParameters = {
1215
- /**
1216
- * ID of extension.
1217
- */
1218
- id: string;
1219
- /**
1220
- * StorageArea to remove data from.
1221
- */
1222
- storageArea: StorageArea;
1223
- /**
1224
- * Keys to remove.
1225
- */
1226
- keys: string[];
1227
- }
1228
- export type removeStorageItemsReturnValue = {
1229
- }
1230
- /**
1231
- * Clears extension storage in the given `storageArea`.
1232
- */
1233
- export type clearStorageItemsParameters = {
1234
- /**
1235
- * ID of extension.
1236
- */
1237
- id: string;
1238
- /**
1239
- * StorageArea to remove data from.
1240
- */
1241
- storageArea: StorageArea;
1242
- }
1243
- export type clearStorageItemsReturnValue = {
1244
- }
1245
- /**
1246
- * Sets `values` in extension storage in the given `storageArea`. The provided `values`
1247
- will be merged with existing values in the storage area.
1248
- */
1249
- export type setStorageItemsParameters = {
1250
- /**
1251
- * ID of extension.
1252
- */
1253
- id: string;
1254
- /**
1255
- * StorageArea to set data in.
1256
- */
1257
- storageArea: StorageArea;
1258
- /**
1259
- * Values to set.
1260
- */
1261
- values: { [key: string]: string };
1262
- }
1263
- export type setStorageItemsReturnValue = {
1264
- }
1265
- }
1266
-
1267
- /**
1268
- * Defines commands and events for browser extensions.
1269
- */
1270
- export module Extensions {
1271
- /**
1272
- * Storage areas.
1273
- */
1274
- export type StorageArea = "session"|"local"|"sync"|"managed";
1275
-
1276
-
1277
- /**
1278
- * Installs an unpacked extension from the filesystem similar to
1279
- --load-extension CLI flags. Returns extension ID once the extension
1280
- has been installed. Available if the client is connected using the
1281
- --remote-debugging-pipe flag and the --enable-unsafe-extension-debugging
1282
- flag is set.
1283
- */
1284
- export type loadUnpackedParameters = {
1285
- /**
1286
- * Absolute file path.
1287
- */
1288
- path: string;
1289
- }
1290
- export type loadUnpackedReturnValue = {
1291
- /**
1292
- * Extension id.
1293
- */
1294
- id: string;
1295
- }
1296
- /**
1297
- * Gets data from extension storage in the given `storageArea`. If `keys` is
1298
- specified, these are used to filter the result.
1299
- */
1300
- export type getStorageItemsParameters = {
1301
- /**
1302
- * ID of extension.
1303
- */
1304
- id: string;
1305
- /**
1306
- * StorageArea to retrieve data from.
1307
- */
1308
- storageArea: StorageArea;
1309
- /**
1310
- * Keys to retrieve.
1311
- */
1312
- keys?: string[];
1313
- }
1314
- export type getStorageItemsReturnValue = {
1315
- data: { [key: string]: string };
1316
- }
1317
- /**
1318
- * Removes `keys` from extension storage in the given `storageArea`.
1319
- */
1320
- export type removeStorageItemsParameters = {
1321
- /**
1322
- * ID of extension.
1323
- */
1324
- id: string;
1325
- /**
1326
- * StorageArea to remove data from.
1327
- */
1328
- storageArea: StorageArea;
1329
- /**
1330
- * Keys to remove.
1331
- */
1332
- keys: string[];
1333
- }
1334
- export type removeStorageItemsReturnValue = {
1335
- }
1336
- /**
1337
- * Clears extension storage in the given `storageArea`.
1338
- */
1339
- export type clearStorageItemsParameters = {
1340
- /**
1341
- * ID of extension.
1342
- */
1343
- id: string;
1344
- /**
1345
- * StorageArea to remove data from.
1346
- */
1347
- storageArea: StorageArea;
1348
- }
1349
- export type clearStorageItemsReturnValue = {
1350
- }
1351
- /**
1352
- * Sets `values` in extension storage in the given `storageArea`. The provided `values`
1353
- will be merged with existing values in the storage area.
1354
- */
1355
- export type setStorageItemsParameters = {
1356
- /**
1357
- * ID of extension.
1358
- */
1359
- id: string;
1360
- /**
1361
- * StorageArea to set data in.
1362
- */
1363
- storageArea: StorageArea;
1364
- /**
1365
- * Values to set.
1366
- */
1367
- values: { [key: string]: string };
1368
- }
1369
- export type setStorageItemsReturnValue = {
1370
- }
1371
- }
1372
-
1193
+
1373
1194
  /**
1374
1195
  * Defines commands and events for browser extensions.
1375
1196
  */
@@ -1378,8 +1199,8 @@ will be merged with existing values in the storage area.
1378
1199
  * Storage areas.
1379
1200
  */
1380
1201
  export type StorageArea = "session"|"local"|"sync"|"managed";
1381
-
1382
-
1202
+
1203
+
1383
1204
  /**
1384
1205
  * Installs an unpacked extension from the filesystem similar to
1385
1206
  --load-extension CLI flags. Returns extension ID once the extension
@@ -1488,7 +1309,7 @@ will be merged with existing values in the storage area.
1488
1309
  export type setStorageItemsReturnValue = {
1489
1310
  }
1490
1311
  }
1491
-
1312
+
1492
1313
  /**
1493
1314
  * Defines commands and events for Autofill.
1494
1315
  */
@@ -1590,7 +1411,7 @@ Munich 81456
1590
1411
  */
1591
1412
  fieldId: DOM.BackendNodeId;
1592
1413
  }
1593
-
1414
+
1594
1415
  /**
1595
1416
  * Emitted when an address form is filled.
1596
1417
  */
@@ -1605,7 +1426,7 @@ Consists of a 2D array where each child represents an address/profile line.
1605
1426
  */
1606
1427
  addressUi: AddressUI;
1607
1428
  }
1608
-
1429
+
1609
1430
  /**
1610
1431
  * Trigger autofill on a form identified by the fieldId.
1611
1432
  If the field and related form cannot be autofilled, returns an error.
@@ -1649,7 +1470,7 @@ If the field and related form cannot be autofilled, returns an error.
1649
1470
  export type enableReturnValue = {
1650
1471
  }
1651
1472
  }
1652
-
1473
+
1653
1474
  /**
1654
1475
  * Defines events for background web platform features.
1655
1476
  */
@@ -1701,7 +1522,7 @@ API.
1701
1522
  */
1702
1523
  storageKey: string;
1703
1524
  }
1704
-
1525
+
1705
1526
  /**
1706
1527
  * Called when the recording state for the service has been updated.
1707
1528
  */
@@ -1716,7 +1537,7 @@ events afterwards if enabled and recording.
1716
1537
  export type backgroundServiceEventReceivedPayload = {
1717
1538
  backgroundServiceEvent: BackgroundServiceEvent;
1718
1539
  }
1719
-
1540
+
1720
1541
  /**
1721
1542
  * Enables event updates for the service.
1722
1543
  */
@@ -1751,7 +1572,7 @@ events afterwards if enabled and recording.
1751
1572
  export type clearEventsReturnValue = {
1752
1573
  }
1753
1574
  }
1754
-
1575
+
1755
1576
  /**
1756
1577
  * The Browser domain defines methods and events for browser managing.
1757
1578
  */
@@ -1787,7 +1608,7 @@ events afterwards if enabled and recording.
1787
1608
  */
1788
1609
  windowState?: WindowState;
1789
1610
  }
1790
- export type PermissionType = "ar"|"audioCapture"|"automaticFullscreen"|"backgroundFetch"|"backgroundSync"|"cameraPanTiltZoom"|"capturedSurfaceControl"|"clipboardReadWrite"|"clipboardSanitizedWrite"|"displayCapture"|"durableStorage"|"geolocation"|"handTracking"|"idleDetection"|"keyboardLock"|"localFonts"|"midi"|"midiSysex"|"nfc"|"notifications"|"paymentHandler"|"periodicBackgroundSync"|"pointerLock"|"protectedMediaIdentifier"|"sensors"|"smartCard"|"speakerSelection"|"storageAccess"|"topLevelStorageAccess"|"videoCapture"|"vr"|"wakeLockScreen"|"wakeLockSystem"|"webAppInstallation"|"webPrinting"|"windowManagement";
1611
+ 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";
1791
1612
  export type PermissionSetting = "granted"|"denied"|"prompt";
1792
1613
  /**
1793
1614
  * Definition of PermissionDescriptor defined in the Permissions API:
@@ -1824,7 +1645,7 @@ Note that userVisibleOnly = true is the only currently supported type.
1824
1645
  /**
1825
1646
  * Browser command ids used by executeBrowserCommand.
1826
1647
  */
1827
- export type BrowserCommandId = "openTabSearch"|"closeTabSearch";
1648
+ export type BrowserCommandId = "openTabSearch"|"closeTabSearch"|"openGlic";
1828
1649
  /**
1829
1650
  * Chrome histogram bucket.
1830
1651
  */
@@ -1863,7 +1684,8 @@ Note that userVisibleOnly = true is the only currently supported type.
1863
1684
  */
1864
1685
  buckets: Bucket[];
1865
1686
  }
1866
-
1687
+ export type PrivacySandboxAPI = "BiddingAndAuctionServices"|"TrustedKeyValue";
1688
+
1867
1689
  /**
1868
1690
  * Fired when page is about to start a download.
1869
1691
  */
@@ -1905,8 +1727,14 @@ Note that userVisibleOnly = true is the only currently supported type.
1905
1727
  * Download status.
1906
1728
  */
1907
1729
  state: "inProgress"|"completed"|"canceled";
1730
+ /**
1731
+ * If download is "completed", provides the path of the downloaded file.
1732
+ Depending on the platform, it is not guaranteed to be set, nor the file
1733
+ is guaranteed to exist.
1734
+ */
1735
+ filePath?: string;
1908
1736
  }
1909
-
1737
+
1910
1738
  /**
1911
1739
  * Set permission settings for given origin.
1912
1740
  */
@@ -2179,8 +2007,26 @@ without the site actually being enrolled. Only supported on page targets.
2179
2007
  }
2180
2008
  export type addPrivacySandboxEnrollmentOverrideReturnValue = {
2181
2009
  }
2010
+ /**
2011
+ * Configures encryption keys used with a given privacy sandbox API to talk
2012
+ to a trusted coordinator. Since this is intended for test automation only,
2013
+ coordinatorOrigin must be a .test domain. No existing coordinator
2014
+ configuration for the origin may exist.
2015
+ */
2016
+ export type addPrivacySandboxCoordinatorKeyConfigParameters = {
2017
+ api: PrivacySandboxAPI;
2018
+ coordinatorOrigin: string;
2019
+ keyConfig: string;
2020
+ /**
2021
+ * BrowserContext to perform the action in. When omitted, default browser
2022
+ context is used.
2023
+ */
2024
+ browserContextId?: BrowserContextID;
2025
+ }
2026
+ export type addPrivacySandboxCoordinatorKeyConfigReturnValue = {
2027
+ }
2182
2028
  }
2183
-
2029
+
2184
2030
  /**
2185
2031
  * This domain exposes CSS read/write operations. All CSS objects (stylesheets, rules, and styles)
2186
2032
  have an associated `id` used in subsequent operations on the related object. Each object type has
@@ -3002,6 +2848,83 @@ stylesheet rules) this rule came from.
3002
2848
  */
3003
2849
  style: CSSStyle;
3004
2850
  }
2851
+ /**
2852
+ * CSS function argument representation.
2853
+ */
2854
+ export interface CSSFunctionParameter {
2855
+ /**
2856
+ * The parameter name.
2857
+ */
2858
+ name: string;
2859
+ /**
2860
+ * The parameter type.
2861
+ */
2862
+ type: string;
2863
+ }
2864
+ /**
2865
+ * CSS function conditional block representation.
2866
+ */
2867
+ export interface CSSFunctionConditionNode {
2868
+ /**
2869
+ * Media query for this conditional block. Only one type of condition should be set.
2870
+ */
2871
+ media?: CSSMedia;
2872
+ /**
2873
+ * Container query for this conditional block. Only one type of condition should be set.
2874
+ */
2875
+ containerQueries?: CSSContainerQuery;
2876
+ /**
2877
+ * @supports CSS at-rule condition. Only one type of condition should be set.
2878
+ */
2879
+ supports?: CSSSupports;
2880
+ /**
2881
+ * Block body.
2882
+ */
2883
+ children: CSSFunctionNode[];
2884
+ /**
2885
+ * The condition text.
2886
+ */
2887
+ conditionText: string;
2888
+ }
2889
+ /**
2890
+ * Section of the body of a CSS function rule.
2891
+ */
2892
+ export interface CSSFunctionNode {
2893
+ /**
2894
+ * A conditional block. If set, style should not be set.
2895
+ */
2896
+ condition?: CSSFunctionConditionNode;
2897
+ /**
2898
+ * Values set by this node. If set, condition should not be set.
2899
+ */
2900
+ style?: CSSStyle;
2901
+ }
2902
+ /**
2903
+ * CSS function at-rule representation.
2904
+ */
2905
+ export interface CSSFunctionRule {
2906
+ /**
2907
+ * Name of the function.
2908
+ */
2909
+ name: Value;
2910
+ /**
2911
+ * The css style sheet identifier (absent for user agent stylesheet and user-specified
2912
+ stylesheet rules) this rule came from.
2913
+ */
2914
+ styleSheetId?: StyleSheetId;
2915
+ /**
2916
+ * Parent stylesheet's origin.
2917
+ */
2918
+ origin: StyleSheetOrigin;
2919
+ /**
2920
+ * List of parameters.
2921
+ */
2922
+ parameters: CSSFunctionParameter[];
2923
+ /**
2924
+ * Function body.
2925
+ */
2926
+ children: CSSFunctionNode[];
2927
+ }
3005
2928
  /**
3006
2929
  * CSS keyframe rule representation.
3007
2930
  */
@@ -3041,7 +2964,7 @@ stylesheet rules) this rule came from.
3041
2964
  */
3042
2965
  text: string;
3043
2966
  }
3044
-
2967
+
3045
2968
  /**
3046
2969
  * Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded
3047
2970
  web font.
@@ -3087,7 +3010,7 @@ resized.) The current implementation considers only viewport-dependent media fea
3087
3010
  */
3088
3011
  nodeId: DOM.NodeId;
3089
3012
  }
3090
-
3013
+
3091
3014
  /**
3092
3015
  * Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the
3093
3016
  position specified by `location`.
@@ -3240,6 +3163,11 @@ be ignored (as if the image had failed to load).
3240
3163
  For example, a value of '1em' is evaluated according to the computed
3241
3164
  'font-size' of the element and a value 'calc(1px + 2px)' will be
3242
3165
  resolved to '3px'.
3166
+ If the `propertyName` was specified the `values` are resolved as if
3167
+ they were property's declaration. If a value cannot be parsed according
3168
+ to the provided property syntax, the value is parsed using combined
3169
+ syntax as if null `propertyName` was provided. If the value cannot be
3170
+ resolved even then, return the provided value without any changes.
3243
3171
  */
3244
3172
  export type resolveValuesParameters = {
3245
3173
  /**
@@ -3374,6 +3302,10 @@ will not be set if there is no active position-try fallback.
3374
3302
  * Id of the first parent element that does not have display: contents.
3375
3303
  */
3376
3304
  parentLayoutNodeId?: DOM.NodeId;
3305
+ /**
3306
+ * A list of CSS at-function rules referenced by styles of this node.
3307
+ */
3308
+ cssFunctionRules?: CSSFunctionRule[];
3377
3309
  }
3378
3310
  /**
3379
3311
  * Returns all media queries parsed by the rendering engine.
@@ -3652,7 +3584,7 @@ instrumentation).
3652
3584
  export type setLocalFontsEnabledReturnValue = {
3653
3585
  }
3654
3586
  }
3655
-
3587
+
3656
3588
  export module CacheStorage {
3657
3589
  /**
3658
3590
  * Unique identifier of the Cache object.
@@ -3737,8 +3669,8 @@ instrumentation).
3737
3669
  */
3738
3670
  body: binary;
3739
3671
  }
3740
-
3741
-
3672
+
3673
+
3742
3674
  /**
3743
3675
  * Deletes a cache.
3744
3676
  */
@@ -3845,7 +3777,7 @@ is the count of all entries from this storage.
3845
3777
  returnCount: number;
3846
3778
  }
3847
3779
  }
3848
-
3780
+
3849
3781
  /**
3850
3782
  * A domain for interacting with Cast, Presentation API, and Remote Playback API
3851
3783
  functionalities.
@@ -3860,7 +3792,7 @@ session on the sink.
3860
3792
  */
3861
3793
  session?: string;
3862
3794
  }
3863
-
3795
+
3864
3796
  /**
3865
3797
  * This is fired whenever the list of available sinks changes. A sink is a
3866
3798
  device or a software surface that you can cast to.
@@ -3875,7 +3807,7 @@ device or a software surface that you can cast to.
3875
3807
  export type issueUpdatedPayload = {
3876
3808
  issueMessage: string;
3877
3809
  }
3878
-
3810
+
3879
3811
  /**
3880
3812
  * Starts observing for sinks that can be used for tab mirroring, and if set,
3881
3813
  sinks compatible with |presentationUrl| as well. When sinks are found, a
@@ -3929,7 +3861,7 @@ sink via Presentation API, Remote Playback API, or Cast SDK.
3929
3861
  export type stopCastingReturnValue = {
3930
3862
  }
3931
3863
  }
3932
-
3864
+
3933
3865
  /**
3934
3866
  * This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object
3935
3867
  that has an `id`. This `id` can be used to get additional information on the Node, resolve it into
@@ -3966,7 +3898,7 @@ front-end.
3966
3898
  /**
3967
3899
  * Pseudo element type.
3968
3900
  */
3969
- export type PseudoType = "first-line"|"first-letter"|"checkmark"|"before"|"after"|"picker-icon"|"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-old"|"view-transition-new"|"placeholder"|"file-selector-button"|"details-content"|"picker";
3901
+ export type PseudoType = "first-line"|"first-letter"|"checkmark"|"before"|"after"|"picker-icon"|"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";
3970
3902
  /**
3971
3903
  * Shadow root type.
3972
3904
  */
@@ -4230,7 +4162,7 @@ The property is always undefined now.
4230
4162
  */
4231
4163
  value: string;
4232
4164
  }
4233
-
4165
+
4234
4166
  /**
4235
4167
  * Fired when `Element`'s attribute is modified.
4236
4168
  */
@@ -4426,7 +4358,7 @@ most of the calls requesting node ids.
4426
4358
  */
4427
4359
  root: Node;
4428
4360
  }
4429
-
4361
+
4430
4362
  /**
4431
4363
  * Collects class names for the node with given id and all of it's child nodes.
4432
4364
  */
@@ -4974,7 +4906,7 @@ appear on top of all other content.
4974
4906
  /**
4975
4907
  * Type of relation to get.
4976
4908
  */
4977
- relation: "PopoverTarget";
4909
+ relation: "PopoverTarget"|"InterestTarget"|"CommandFor";
4978
4910
  }
4979
4911
  export type getElementByRelationReturnValue = {
4980
4912
  /**
@@ -5339,7 +5271,7 @@ the given positioned element.
5339
5271
  nodeId: NodeId;
5340
5272
  }
5341
5273
  }
5342
-
5274
+
5343
5275
  /**
5344
5276
  * DOM debugging allows setting breakpoints on particular DOM operations and events. JavaScript
5345
5277
  execution will stop on these operations as if there was a regular breakpoint set.
@@ -5398,8 +5330,8 @@ execution will stop on these operations as if there was a regular breakpoint set
5398
5330
  */
5399
5331
  backendNodeId?: DOM.BackendNodeId;
5400
5332
  }
5401
-
5402
-
5333
+
5334
+
5403
5335
  /**
5404
5336
  * Returns event listeners of the given object.
5405
5337
  */
@@ -5542,15 +5474,15 @@ EventTarget.
5542
5474
  export type setXHRBreakpointReturnValue = {
5543
5475
  }
5544
5476
  }
5545
-
5477
+
5546
5478
  /**
5547
5479
  * EventBreakpoints permits setting JavaScript breakpoints on operations and events
5548
5480
  occurring in native code invoked from JavaScript. Once breakpoint is hit, it is
5549
5481
  reported through Debugger domain, similarly to regular breakpoints being hit.
5550
5482
  */
5551
5483
  export module EventBreakpoints {
5552
-
5553
-
5484
+
5485
+
5554
5486
  /**
5555
5487
  * Sets breakpoint on particular native event.
5556
5488
  */
@@ -5581,7 +5513,7 @@ reported through Debugger domain, similarly to regular breakpoints being hit.
5581
5513
  export type disableReturnValue = {
5582
5514
  }
5583
5515
  }
5584
-
5516
+
5585
5517
  /**
5586
5518
  * This domain facilitates obtaining document snapshots with DOM, layout, and style information.
5587
5519
  */
@@ -6022,8 +5954,8 @@ represented as a surrogate pair in UTF-16 have length 2.
6022
5954
  */
6023
5955
  length: number[];
6024
5956
  }
6025
-
6026
-
5957
+
5958
+
6027
5959
  /**
6028
5960
  * Disables DOM snapshot agent for the given page.
6029
5961
  */
@@ -6119,7 +6051,7 @@ The final text color opacity is computed based on the opacity of all overlapping
6119
6051
  strings: string[];
6120
6052
  }
6121
6053
  }
6122
-
6054
+
6123
6055
  /**
6124
6056
  * Query and modify DOM storage.
6125
6057
  */
@@ -6146,7 +6078,7 @@ The final text color opacity is computed based on the opacity of all overlapping
6146
6078
  * DOM Storage item.
6147
6079
  */
6148
6080
  export type Item = string[];
6149
-
6081
+
6150
6082
  export type domStorageItemAddedPayload = {
6151
6083
  storageId: StorageId;
6152
6084
  key: string;
@@ -6165,7 +6097,7 @@ The final text color opacity is computed based on the opacity of all overlapping
6165
6097
  export type domStorageItemsClearedPayload = {
6166
6098
  storageId: StorageId;
6167
6099
  }
6168
-
6100
+
6169
6101
  export type clearParameters = {
6170
6102
  storageId: StorageId;
6171
6103
  }
@@ -6205,10 +6137,10 @@ The final text color opacity is computed based on the opacity of all overlapping
6205
6137
  export type setDOMStorageItemReturnValue = {
6206
6138
  }
6207
6139
  }
6208
-
6140
+
6209
6141
  export module DeviceOrientation {
6210
-
6211
-
6142
+
6143
+
6212
6144
  /**
6213
6145
  * Clears the overridden Device Orientation.
6214
6146
  */
@@ -6236,11 +6168,45 @@ The final text color opacity is computed based on the opacity of all overlapping
6236
6168
  export type setDeviceOrientationOverrideReturnValue = {
6237
6169
  }
6238
6170
  }
6239
-
6171
+
6240
6172
  /**
6241
6173
  * This domain emulates different environments for the page.
6242
6174
  */
6243
6175
  export module Emulation {
6176
+ export interface SafeAreaInsets {
6177
+ /**
6178
+ * Overrides safe-area-inset-top.
6179
+ */
6180
+ top?: number;
6181
+ /**
6182
+ * Overrides safe-area-max-inset-top.
6183
+ */
6184
+ topMax?: number;
6185
+ /**
6186
+ * Overrides safe-area-inset-left.
6187
+ */
6188
+ left?: number;
6189
+ /**
6190
+ * Overrides safe-area-max-inset-left.
6191
+ */
6192
+ leftMax?: number;
6193
+ /**
6194
+ * Overrides safe-area-inset-bottom.
6195
+ */
6196
+ bottom?: number;
6197
+ /**
6198
+ * Overrides safe-area-max-inset-bottom.
6199
+ */
6200
+ bottomMax?: number;
6201
+ /**
6202
+ * Overrides safe-area-inset-right.
6203
+ */
6204
+ right?: number;
6205
+ /**
6206
+ * Overrides safe-area-max-inset-right.
6207
+ */
6208
+ rightMax?: number;
6209
+ }
6244
6210
  /**
6245
6211
  * Screen orientation.
6246
6212
  */
@@ -6316,6 +6282,11 @@ Missing optional values will be filled in by the target with what it would norma
6316
6282
  mobile: boolean;
6317
6283
  bitness?: string;
6318
6284
  wow64?: boolean;
6285
+ /**
6286
+ * Used to specify User Agent form-factor values.
6287
+ See https://wicg.github.io/ua-client-hints/#sec-ch-ua-form-factors
6288
+ */
6289
+ formFactors?: string[];
6319
6290
  }
6320
6291
  /**
6321
6292
  * Used to specify sensor types to emulate.
@@ -6355,12 +6326,12 @@ See https://w3c.github.io/sensors/#automation for more information.
6355
6326
  * Enum of image types that can be disabled.
6356
6327
  */
6357
6328
  export type DisabledImageType = "avif"|"webp";
6358
-
6329
+
6359
6330
  /**
6360
6331
  * Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
6361
6332
  */
6362
6333
  export type virtualTimeBudgetExpiredPayload = void;
6363
-
6334
+
6364
6335
  /**
6365
6336
  * Tells whether emulation is supported.
6366
6337
  */
@@ -6440,6 +6411,15 @@ cleared.
6440
6411
  }
6441
6412
  export type setDefaultBackgroundColorOverrideReturnValue = {
6442
6413
  }
6414
+ /**
6415
+ * Overrides the values for env(safe-area-inset-*) and env(safe-area-max-inset-*). Unset values will cause the
6416
+ respective variables to be undefined, even if previously overridden.
6417
+ */
6418
+ export type setSafeAreaInsetsOverrideParameters = {
6419
+ insets: SafeAreaInsets;
6420
+ }
6421
+ export type setSafeAreaInsetsOverrideReturnValue = {
6422
+ }
6443
6423
  /**
6444
6424
  * Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
6445
6425
  window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
@@ -6499,6 +6479,7 @@ change is not observed by the page, e.g. viewport-relative elements do not chang
6499
6479
  /**
6500
6480
  * If set, the display feature of a multi-segment screen. If not set, multi-segment support
6501
6481
  is turned-off.
6482
+ Deprecated, use Emulation.setDisplayFeaturesOverride.
6502
6483
  */
6503
6484
  displayFeature?: DisplayFeature;
6504
6485
  /**
@@ -6529,6 +6510,25 @@ Does nothing if no override is set.
6529
6510
  }
6530
6511
  export type clearDevicePostureOverrideReturnValue = {
6531
6512
  }
6513
+ /**
6514
+ * Start using the given display features to pupulate the Viewport Segments API.
6515
+ This override can also be set in setDeviceMetricsOverride().
6516
+ */
6517
+ export type setDisplayFeaturesOverrideParameters = {
6518
+ features: DisplayFeature[];
6519
+ }
6520
+ export type setDisplayFeaturesOverrideReturnValue = {
6521
+ }
6522
+ /**
6523
+ * Clears the display features override set with either setDeviceMetricsOverride()
6524
+ or setDisplayFeaturesOverride() and starts using display features from the
6525
+ platform again.
6526
+ Does nothing if no override is set.
6527
+ */
6528
+ export type clearDisplayFeaturesOverrideParameters = {
6529
+ }
6530
+ export type clearDisplayFeaturesOverrideReturnValue = {
6531
+ }
6532
6532
  export type setScrollbarsHiddenParameters = {
6533
6533
  /**
6534
6534
  * Whether scrollbars should be always hidden.
@@ -6585,8 +6585,16 @@ physiologically accurate emulations for medically recognized color vision defici
6585
6585
  export type setEmulatedVisionDeficiencyReturnValue = {
6586
6586
  }
6587
6587
  /**
6588
- * Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position
6589
- unavailable.
6588
+ * Emulates the given OS text scale.
6589
+ */
6590
+ export type setEmulatedOSTextScaleParameters = {
6591
+ scale?: number;
6592
+ }
6593
+ export type setEmulatedOSTextScaleReturnValue = {
6594
+ }
6595
+ /**
6596
+ * Overrides the Geolocation Position or Error. Omitting latitude, longitude or
6597
+ accuracy emulates position unavailable.
6590
6598
  */
6591
6599
  export type setGeolocationOverrideParameters = {
6592
6600
  /**
@@ -6601,6 +6609,22 @@ unavailable.
6601
6609
  * Mock accuracy
6602
6610
  */
6603
6611
  accuracy?: number;
6612
+ /**
6613
+ * Mock altitude
6614
+ */
6615
+ altitude?: number;
6616
+ /**
6617
+ * Mock altitudeAccuracy
6618
+ */
6619
+ altitudeAccuracy?: number;
6620
+ /**
6621
+ * Mock heading
6622
+ */
6623
+ heading?: number;
6624
+ /**
6625
+ * Mock speed
6626
+ */
6627
+ speed?: number;
6604
6628
  }
6605
6629
  export type setGeolocationOverrideReturnValue = {
6606
6630
  }
@@ -6648,7 +6672,8 @@ platform-provided telemetry data.
6648
6672
  export type setPressureSourceOverrideEnabledReturnValue = {
6649
6673
  }
6650
6674
  /**
6651
- * Provides a given pressure state that will be processed and eventually be
6675
+ * TODO: OBSOLETE: To remove when setPressureDataOverride is merged.
6676
+ Provides a given pressure state that will be processed and eventually be
6652
6677
  delivered to PressureObserver users. |source| must have been previously
6653
6678
  overridden by setPressureSourceOverrideEnabled.
6654
6679
  */
@@ -6658,6 +6683,18 @@ overridden by setPressureSourceOverrideEnabled.
6658
6683
  }
6659
6684
  export type setPressureStateOverrideReturnValue = {
6660
6685
  }
6686
+ /**
6687
+ * Provides a given pressure data set that will be processed and eventually be
6688
+ delivered to PressureObserver users. |source| must have been previously
6689
+ overridden by setPressureSourceOverrideEnabled.
6690
+ */
6691
+ export type setPressureDataOverrideParameters = {
6692
+ source: PressureSource;
6693
+ state: PressureState;
6694
+ ownContributionEstimate?: number;
6695
+ }
6696
+ export type setPressureDataOverrideReturnValue = {
6697
+ }
6661
6698
  /**
6662
6699
  * Overrides the Idle state.
6663
6700
  */
@@ -6848,8 +6885,21 @@ on Android.
6848
6885
  }
6849
6886
  export type setAutomationOverrideReturnValue = {
6850
6887
  }
6888
+ /**
6889
+ * Allows overriding the difference between the small and large viewport sizes, which determine the
6890
+ value of the `svh` and `lvh` unit, respectively. Only supported for top-level frames.
6891
+ */
6892
+ export type setSmallViewportHeightDifferenceOverrideParameters = {
6893
+ /**
6894
+ * This will cause an element of size 100svh to be `difference` pixels smaller than an element
6895
+ of size 100lvh.
6896
+ */
6897
+ difference: number;
6898
+ }
6899
+ export type setSmallViewportHeightDifferenceOverrideReturnValue = {
6900
+ }
6851
6901
  }
6852
-
6902
+
6853
6903
  /**
6854
6904
  * This domain provides experimental commands only supported in headless mode.
6855
6905
  */
@@ -6871,8 +6921,8 @@ on Android.
6871
6921
  */
6872
6922
  optimizeForSpeed?: boolean;
6873
6923
  }
6874
-
6875
-
6924
+
6925
+
6876
6926
  /**
6877
6927
  * Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a
6878
6928
  screenshot from the resulting frame. Requires that the target was created with enabled
@@ -6929,7 +6979,7 @@ display. Reported for diagnostic uses, may be removed in the future.
6929
6979
  export type enableReturnValue = {
6930
6980
  }
6931
6981
  }
6932
-
6982
+
6933
6983
  /**
6934
6984
  * Input/Output operations for streams produced by DevTools.
6935
6985
  */
@@ -6939,8 +6989,8 @@ display. Reported for diagnostic uses, may be removed in the future.
6939
6989
  `<uuid>` is an UUID of a Blob.
6940
6990
  */
6941
6991
  export type StreamHandle = string;
6942
-
6943
-
6992
+
6993
+
6944
6994
  /**
6945
6995
  * Close the stream, discard any temporary backing storage.
6946
6996
  */
@@ -7000,7 +7050,7 @@ following the last read). Some types of streams may only support sequential read
7000
7050
  uuid: string;
7001
7051
  }
7002
7052
  }
7003
-
7053
+
7004
7054
  export module FileSystem {
7005
7055
  export interface File {
7006
7056
  name: string;
@@ -7036,8 +7086,8 @@ following the last read). Some types of streams may only support sequential read
7036
7086
  */
7037
7087
  pathComponents: string[];
7038
7088
  }
7039
-
7040
-
7089
+
7090
+
7041
7091
  export type getDirectoryParameters = {
7042
7092
  bucketFileSystemLocator: BucketFileSystemLocator;
7043
7093
  }
@@ -7048,7 +7098,7 @@ following the last read). Some types of streams may only support sequential read
7048
7098
  directory: Directory;
7049
7099
  }
7050
7100
  }
7051
-
7101
+
7052
7102
  export module IndexedDB {
7053
7103
  /**
7054
7104
  * Database with an array of object stores.
@@ -7190,8 +7240,8 @@ requires the version number to be 'unsigned long long')
7190
7240
  */
7191
7241
  array?: string[];
7192
7242
  }
7193
-
7194
-
7243
+
7244
+
7195
7245
  /**
7196
7246
  * Clears all entries from an object store.
7197
7247
  */
@@ -7427,7 +7477,7 @@ Security origin.
7427
7477
  databaseNames: string[];
7428
7478
  }
7429
7479
  }
7430
-
7480
+
7431
7481
  export module Input {
7432
7482
  export interface TouchPoint {
7433
7483
  /**
@@ -7513,7 +7563,7 @@ text, HTML markup or any other data.
7513
7563
  */
7514
7564
  dragOperationsMask: number;
7515
7565
  }
7516
-
7566
+
7517
7567
  /**
7518
7568
  * Emitted only when `Input.setInterceptDrags` is enabled. Use this data with `Input.dispatchDragEvent` to
7519
7569
  restore normal drag and drop behavior.
@@ -7521,7 +7571,7 @@ restore normal drag and drop behavior.
7521
7571
  export type dragInterceptedPayload = {
7522
7572
  data: DragData;
7523
7573
  }
7524
-
7574
+
7525
7575
  /**
7526
7576
  * Dispatches a drag event into the page.
7527
7577
  */
@@ -7950,9 +8000,9 @@ for the preferred input type).
7950
8000
  export type synthesizeTapGestureReturnValue = {
7951
8001
  }
7952
8002
  }
7953
-
8003
+
7954
8004
  export module Inspector {
7955
-
8005
+
7956
8006
  /**
7957
8007
  * Fired when remote debugging connection is about to be terminated. Contains detach reason.
7958
8008
  */
@@ -7970,7 +8020,7 @@ for the preferred input type).
7970
8020
  * Fired when debugging target has reloaded after crash
7971
8021
  */
7972
8022
  export type targetReloadedAfterCrashPayload = void;
7973
-
8023
+
7974
8024
  /**
7975
8025
  * Disables inspector domain notifications.
7976
8026
  */
@@ -7986,7 +8036,7 @@ for the preferred input type).
7986
8036
  export type enableReturnValue = {
7987
8037
  }
7988
8038
  }
7989
-
8039
+
7990
8040
  export module LayerTree {
7991
8041
  /**
7992
8042
  * Unique Layer identifier.
@@ -8121,7 +8171,7 @@ transform/scrolling purposes only.
8121
8171
  * Array of timings, one per paint step.
8122
8172
  */
8123
8173
  export type PaintProfile = number[];
8124
-
8174
+
8125
8175
  export type layerPaintedPayload = {
8126
8176
  /**
8127
8177
  * The id of the painted layer.
@@ -8138,7 +8188,7 @@ transform/scrolling purposes only.
8138
8188
  */
8139
8189
  layers?: Layer[];
8140
8190
  }
8141
-
8191
+
8142
8192
  /**
8143
8193
  * Provides the reasons why the given layer was composited.
8144
8194
  */
@@ -8280,7 +8330,7 @@ transform/scrolling purposes only.
8280
8330
  commandLog: { [key: string]: string }[];
8281
8331
  }
8282
8332
  }
8283
-
8333
+
8284
8334
  /**
8285
8335
  * Provides access to log entries.
8286
8336
  */
@@ -8344,7 +8394,7 @@ transform/scrolling purposes only.
8344
8394
  */
8345
8395
  threshold: number;
8346
8396
  }
8347
-
8397
+
8348
8398
  /**
8349
8399
  * Issued when new message was logged.
8350
8400
  */
@@ -8354,7 +8404,7 @@ transform/scrolling purposes only.
8354
8404
  */
8355
8405
  entry: LogEntry;
8356
8406
  }
8357
-
8407
+
8358
8408
  /**
8359
8409
  * Clears the log.
8360
8410
  */
@@ -8396,7 +8446,7 @@ transform/scrolling purposes only.
8396
8446
  export type stopViolationsReportReturnValue = {
8397
8447
  }
8398
8448
  }
8399
-
8449
+
8400
8450
  export module Memory {
8401
8451
  /**
8402
8452
  * Memory pressure level.
@@ -8462,8 +8512,8 @@ the returned names to be consistent across runs.
8462
8512
  */
8463
8513
  count: number;
8464
8514
  }
8465
-
8466
-
8515
+
8516
+
8467
8517
  /**
8468
8518
  * Retruns current DOM object counters.
8469
8519
  */
@@ -8572,7 +8622,7 @@ collected since browser process startup.
8572
8622
  profile: SamplingProfile;
8573
8623
  }
8574
8624
  }
8575
-
8625
+
8576
8626
  /**
8577
8627
  * Network domain allows tracking network activities of the page. It exposes information about http,
8578
8628
  file, data and other requests and responses, their headers, bodies, timing, etc.
@@ -8581,7 +8631,7 @@ file, data and other requests and responses, their headers, bodies, timing, etc.
8581
8631
  /**
8582
8632
  * Resource type as it was perceived by the rendering engine.
8583
8633
  */
8584
- export type ResourceType = "Document"|"Stylesheet"|"Image"|"Media"|"Font"|"Script"|"TextTrack"|"XHR"|"Fetch"|"Prefetch"|"EventSource"|"WebSocket"|"Manifest"|"SignedExchange"|"Ping"|"CSPViolationReport"|"Preflight"|"Other";
8634
+ export type ResourceType = "Document"|"Stylesheet"|"Image"|"Media"|"Font"|"Script"|"TextTrack"|"XHR"|"Fetch"|"Prefetch"|"EventSource"|"WebSocket"|"Manifest"|"SignedExchange"|"Ping"|"CSPViolationReport"|"Preflight"|"FedCM"|"Other";
8585
8635
  /**
8586
8636
  * Unique loader identifier.
8587
8637
  */
@@ -8904,11 +8954,11 @@ applicable or not known.
8904
8954
  /**
8905
8955
  * The reason why request was blocked.
8906
8956
  */
8907
- export type BlockedReason = "other"|"csp"|"mixed-content"|"origin"|"inspector"|"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";
8957
+ 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";
8908
8958
  /**
8909
8959
  * The reason why request was blocked.
8910
8960
  */
8911
- 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";
8961
+ 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";
8912
8962
  export interface CorsErrorStatus {
8913
8963
  corsError: CorsError;
8914
8964
  failedParameter: string;
@@ -8943,7 +8993,7 @@ records.
8943
8993
  /**
8944
8994
  * Source of service worker router.
8945
8995
  */
8946
- export type ServiceWorkerRouterSource = "network"|"cache"|"fetch-event"|"race-network-and-fetch-handler";
8996
+ export type ServiceWorkerRouterSource = "network"|"cache"|"fetch-event"|"race-network-and-fetch-handler"|"race-network-and-cache";
8947
8997
  export interface ServiceWorkerRouterInfo {
8948
8998
  /**
8949
8999
  * ID of the rule matched. If there is a matched rule, this field will
@@ -9279,7 +9329,7 @@ This is a temporary ability and it will be removed in the future.
9279
9329
  /**
9280
9330
  * Types of reasons why a cookie may not be sent with a request.
9281
9331
  */
9282
- export type CookieBlockedReason = "SecureOnly"|"NotOnPath"|"DomainMismatch"|"SameSiteStrict"|"SameSiteLax"|"SameSiteUnspecifiedTreatedAsLax"|"SameSiteNoneInsecure"|"UserPreferences"|"ThirdPartyPhaseout"|"ThirdPartyBlockedInFirstPartySet"|"UnknownError"|"SchemefulSameSiteStrict"|"SchemefulSameSiteLax"|"SchemefulSameSiteUnspecifiedTreatedAsLax"|"SamePartyFromCrossPartyContext"|"NameValuePairExceedsMaxSize"|"PortMismatch"|"SchemeMismatch";
9332
+ export type CookieBlockedReason = "SecureOnly"|"NotOnPath"|"DomainMismatch"|"SameSiteStrict"|"SameSiteLax"|"SameSiteUnspecifiedTreatedAsLax"|"SameSiteNoneInsecure"|"UserPreferences"|"ThirdPartyPhaseout"|"ThirdPartyBlockedInFirstPartySet"|"UnknownError"|"SchemefulSameSiteStrict"|"SchemefulSameSiteLax"|"SchemefulSameSiteUnspecifiedTreatedAsLax"|"SamePartyFromCrossPartyContext"|"NameValuePairExceedsMaxSize"|"PortMismatch"|"SchemeMismatch"|"AnonymousContext";
9283
9333
  /**
9284
9334
  * Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
9285
9335
  */
@@ -9567,6 +9617,11 @@ https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-
9567
9617
  * The outer response of signed HTTP exchange which was received from network.
9568
9618
  */
9569
9619
  outerResponse: Response;
9620
+ /**
9621
+ * Whether network response for the signed exchange was accompanied by
9622
+ extra headers.
9623
+ */
9624
+ hasExtraInfo: boolean;
9570
9625
  /**
9571
9626
  * Information about the signed exchange header.
9572
9627
  */
@@ -9584,7 +9639,60 @@ https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-
9584
9639
  * List of content encodings supported by the backend.
9585
9640
  */
9586
9641
  export type ContentEncoding = "deflate"|"gzip"|"br"|"zstd";
9587
- export type PrivateNetworkRequestPolicy = "Allow"|"BlockFromInsecureToMorePrivate"|"WarnFromInsecureToMorePrivate"|"PreflightBlock"|"PreflightWarn";
9642
+ export type DirectSocketDnsQueryType = "ipv4"|"ipv6";
9643
+ export interface DirectTCPSocketOptions {
9644
+ /**
9645
+ * TCP_NODELAY option
9646
+ */
9647
+ noDelay: boolean;
9648
+ /**
9649
+ * Expected to be unsigned integer.
9650
+ */
9651
+ keepAliveDelay?: number;
9652
+ /**
9653
+ * Expected to be unsigned integer.
9654
+ */
9655
+ sendBufferSize?: number;
9656
+ /**
9657
+ * Expected to be unsigned integer.
9658
+ */
9659
+ receiveBufferSize?: number;
9660
+ dnsQueryType?: DirectSocketDnsQueryType;
9661
+ }
9662
+ export interface DirectUDPSocketOptions {
9663
+ remoteAddr?: string;
9664
+ /**
9665
+ * Unsigned int 16.
9666
+ */
9667
+ remotePort?: number;
9668
+ localAddr?: string;
9669
+ /**
9670
+ * Unsigned int 16.
9671
+ */
9672
+ localPort?: number;
9673
+ dnsQueryType?: DirectSocketDnsQueryType;
9674
+ /**
9675
+ * Expected to be unsigned integer.
9676
+ */
9677
+ sendBufferSize?: number;
9678
+ /**
9679
+ * Expected to be unsigned integer.
9680
+ */
9681
+ receiveBufferSize?: number;
9682
+ }
9683
+ export interface DirectUDPMessage {
9684
+ data: binary;
9685
+ /**
9686
+ * Null for connected mode.
9687
+ */
9688
+ remoteAddr?: string;
9689
+ /**
9690
+ * Null for connected mode.
9691
+ Expected to be unsigned integer.
9692
+ */
9693
+ remotePort?: number;
9694
+ }
9695
+ export type PrivateNetworkRequestPolicy = "Allow"|"BlockFromInsecureToMorePrivate"|"WarnFromInsecureToMorePrivate"|"PreflightBlock"|"PreflightWarn"|"PermissionBlock"|"PermissionWarn";
9588
9696
  export type IPAddressSpace = "Local"|"Private"|"Public"|"Unknown";
9589
9697
  export interface ConnectTiming {
9590
9698
  /**
@@ -9699,7 +9807,7 @@ CORB and streaming.
9699
9807
  disableCache: boolean;
9700
9808
  includeCredentials: boolean;
9701
9809
  }
9702
-
9810
+
9703
9811
  /**
9704
9812
  * Fired when data chunk was received over the network.
9705
9813
  */
@@ -10155,35 +10263,154 @@ or were emitted for this request.
10155
10263
  timestamp: MonotonicTime;
10156
10264
  }
10157
10265
  /**
10158
- * Fired when additional information about a requestWillBeSent event is available from the
10159
- network stack. Not every requestWillBeSent event will have an additional
10160
- requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent
10161
- or requestWillBeSentExtraInfo will be fired first for the same request.
10266
+ * Fired upon direct_socket.TCPSocket creation.
10162
10267
  */
10163
- export type requestWillBeSentExtraInfoPayload = {
10268
+ export type directTCPSocketCreatedPayload = {
10269
+ identifier: RequestId;
10270
+ remoteAddr: string;
10164
10271
  /**
10165
- * Request identifier. Used to match this information to an existing requestWillBeSent event.
10166
- */
10167
- requestId: RequestId;
10168
- /**
10169
- * A list of cookies potentially associated to the requested URL. This includes both cookies sent with
10170
- the request and the ones not sent; the latter are distinguished by having blockedReasons field set.
10272
+ * Unsigned int 16.
10171
10273
  */
10172
- associatedCookies: AssociatedCookie[];
10274
+ remotePort: number;
10275
+ options: DirectTCPSocketOptions;
10276
+ timestamp: MonotonicTime;
10277
+ initiator?: Initiator;
10278
+ }
10279
+ /**
10280
+ * Fired when direct_socket.TCPSocket connection is opened.
10281
+ */
10282
+ export type directTCPSocketOpenedPayload = {
10283
+ identifier: RequestId;
10284
+ remoteAddr: string;
10173
10285
  /**
10174
- * Raw request headers as they will be sent over the wire.
10286
+ * Expected to be unsigned integer.
10175
10287
  */
10176
- headers: Headers;
10288
+ remotePort: number;
10289
+ timestamp: MonotonicTime;
10290
+ localAddr?: string;
10177
10291
  /**
10178
- * Connection timing information for the request.
10292
+ * Expected to be unsigned integer.
10179
10293
  */
10180
- connectTiming: ConnectTiming;
10294
+ localPort?: number;
10295
+ }
10296
+ /**
10297
+ * Fired when direct_socket.TCPSocket is aborted.
10298
+ */
10299
+ export type directTCPSocketAbortedPayload = {
10300
+ identifier: RequestId;
10301
+ errorMessage: string;
10302
+ timestamp: MonotonicTime;
10303
+ }
10304
+ /**
10305
+ * Fired when direct_socket.TCPSocket is closed.
10306
+ */
10307
+ export type directTCPSocketClosedPayload = {
10308
+ identifier: RequestId;
10309
+ timestamp: MonotonicTime;
10310
+ }
10311
+ /**
10312
+ * Fired when data is sent to tcp direct socket stream.
10313
+ */
10314
+ export type directTCPSocketChunkSentPayload = {
10315
+ identifier: RequestId;
10316
+ data: binary;
10317
+ timestamp: MonotonicTime;
10318
+ }
10319
+ /**
10320
+ * Fired when data is received from tcp direct socket stream.
10321
+ */
10322
+ export type directTCPSocketChunkReceivedPayload = {
10323
+ identifier: RequestId;
10324
+ data: binary;
10325
+ timestamp: MonotonicTime;
10326
+ }
10327
+ /**
10328
+ * Fired upon direct_socket.UDPSocket creation.
10329
+ */
10330
+ export type directUDPSocketCreatedPayload = {
10331
+ identifier: RequestId;
10332
+ options: DirectUDPSocketOptions;
10333
+ timestamp: MonotonicTime;
10334
+ initiator?: Initiator;
10335
+ }
10336
+ /**
10337
+ * Fired when direct_socket.UDPSocket connection is opened.
10338
+ */
10339
+ export type directUDPSocketOpenedPayload = {
10340
+ identifier: RequestId;
10341
+ localAddr: string;
10181
10342
  /**
10182
- * The client security state set for the request.
10343
+ * Expected to be unsigned integer.
10183
10344
  */
10184
- clientSecurityState?: ClientSecurityState;
10345
+ localPort: number;
10346
+ timestamp: MonotonicTime;
10347
+ remoteAddr?: string;
10185
10348
  /**
10186
- * Whether the site has partitioned cookies stored in a partition different than the current one.
10349
+ * Expected to be unsigned integer.
10350
+ */
10351
+ remotePort?: number;
10352
+ }
10353
+ /**
10354
+ * Fired when direct_socket.UDPSocket is aborted.
10355
+ */
10356
+ export type directUDPSocketAbortedPayload = {
10357
+ identifier: RequestId;
10358
+ errorMessage: string;
10359
+ timestamp: MonotonicTime;
10360
+ }
10361
+ /**
10362
+ * Fired when direct_socket.UDPSocket is closed.
10363
+ */
10364
+ export type directUDPSocketClosedPayload = {
10365
+ identifier: RequestId;
10366
+ timestamp: MonotonicTime;
10367
+ }
10368
+ /**
10369
+ * Fired when message is sent to udp direct socket stream.
10370
+ */
10371
+ export type directUDPSocketChunkSentPayload = {
10372
+ identifier: RequestId;
10373
+ message: DirectUDPMessage;
10374
+ timestamp: MonotonicTime;
10375
+ }
10376
+ /**
10377
+ * Fired when message is received from udp direct socket stream.
10378
+ */
10379
+ export type directUDPSocketChunkReceivedPayload = {
10380
+ identifier: RequestId;
10381
+ message: DirectUDPMessage;
10382
+ timestamp: MonotonicTime;
10383
+ }
10384
+ /**
10385
+ * Fired when additional information about a requestWillBeSent event is available from the
10386
+ network stack. Not every requestWillBeSent event will have an additional
10387
+ requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent
10388
+ or requestWillBeSentExtraInfo will be fired first for the same request.
10389
+ */
10390
+ export type requestWillBeSentExtraInfoPayload = {
10391
+ /**
10392
+ * Request identifier. Used to match this information to an existing requestWillBeSent event.
10393
+ */
10394
+ requestId: RequestId;
10395
+ /**
10396
+ * A list of cookies potentially associated to the requested URL. This includes both cookies sent with
10397
+ the request and the ones not sent; the latter are distinguished by having blockedReasons field set.
10398
+ */
10399
+ associatedCookies: AssociatedCookie[];
10400
+ /**
10401
+ * Raw request headers as they will be sent over the wire.
10402
+ */
10403
+ headers: Headers;
10404
+ /**
10405
+ * Connection timing information for the request.
10406
+ */
10407
+ connectTiming: ConnectTiming;
10408
+ /**
10409
+ * The client security state set for the request.
10410
+ */
10411
+ clientSecurityState?: ClientSecurityState;
10412
+ /**
10413
+ * Whether the site has partitioned cookies stored in a partition different than the current one.
10187
10414
  */
10188
10415
  siteHasCookieInOtherPartition?: boolean;
10189
10416
  }
@@ -10379,7 +10606,7 @@ And after 'enableReportingApi' for all existing reports.
10379
10606
  origin: string;
10380
10607
  endpoints: ReportingApiEndpoint[];
10381
10608
  }
10382
-
10609
+
10383
10610
  /**
10384
10611
  * Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
10385
10612
  */
@@ -10582,6 +10809,10 @@ all partition key attributes match the cookie partition key attribute.
10582
10809
  * Longest post body size (in bytes) that would be included in requestWillBeSent notification
10583
10810
  */
10584
10811
  maxPostDataSize?: number;
10812
+ /**
10813
+ * Whether DirectSocket chunk send/receive events should be reported.
10814
+ */
10815
+ reportDirectSocketTraffic?: boolean;
10585
10816
  }
10586
10817
  export type enableReturnValue = {
10587
10818
  }
@@ -10968,7 +11199,7 @@ should be omitted for worker targets.
10968
11199
  }
10969
11200
  /**
10970
11201
  * Sets Controls for third-party cookie access
10971
- Page reload is required before the new cookie bahavior will be observed
11202
+ Page reload is required before the new cookie behavior will be observed
10972
11203
  */
10973
11204
  export type setCookieControlsParameters = {
10974
11205
  /**
@@ -10987,7 +11218,7 @@ Page reload is required before the new cookie bahavior will be observed
10987
11218
  export type setCookieControlsReturnValue = {
10988
11219
  }
10989
11220
  }
10990
-
11221
+
10991
11222
  /**
10992
11223
  * This domain provides various functionality related to drawing atop the inspected page.
10993
11224
  */
@@ -11383,7 +11614,7 @@ Page reload is required before the new cookie bahavior will be observed
11383
11614
  maskColor?: DOM.RGBA;
11384
11615
  }
11385
11616
  export type InspectMode = "searchForNode"|"searchForUAShadowDOM"|"captureAreaScreenshot"|"showDistances"|"none";
11386
-
11617
+
11387
11618
  /**
11388
11619
  * Fired when the node should be inspected. This happens after call to `setInspectMode` or when
11389
11620
  user manually inspects an element.
@@ -11413,7 +11644,7 @@ user manually inspects an element.
11413
11644
  * Fired when user cancels the inspect mode.
11414
11645
  */
11415
11646
  export type inspectModeCanceledPayload = void;
11416
-
11647
+
11417
11648
  /**
11418
11649
  * Disables domain notifications.
11419
11650
  */
@@ -11810,7 +12041,7 @@ Backend then generates 'inspectNodeRequested' event upon element selection.
11810
12041
  export type setShowWindowControlsOverlayReturnValue = {
11811
12042
  }
11812
12043
  }
11813
-
12044
+
11814
12045
  /**
11815
12046
  * Actions and events related to the inspected page belong to the page domain.
11816
12047
  */
@@ -11832,20 +12063,40 @@ Backend then generates 'inspectNodeRequested' event upon element selection.
11832
12063
  explanations?: AdFrameExplanation[];
11833
12064
  }
11834
12065
  /**
11835
- * Identifies the bottom-most script which caused the frame to be labelled
11836
- as an ad.
12066
+ * Identifies the script which caused a script or frame to be labelled as an
12067
+ ad.
11837
12068
  */
11838
12069
  export interface AdScriptId {
11839
12070
  /**
11840
- * Script Id of the bottom-most script which caused the frame to be labelled
11841
- as an ad.
12071
+ * Script Id of the script which caused a script or frame to be labelled as
12072
+ an ad.
11842
12073
  */
11843
12074
  scriptId: Runtime.ScriptId;
11844
12075
  /**
11845
- * Id of adScriptId's debugger.
12076
+ * Id of scriptId's debugger.
11846
12077
  */
11847
12078
  debuggerId: Runtime.UniqueDebuggerId;
11848
12079
  }
12080
+ /**
12081
+ * Encapsulates the script ancestry and the root script filterlist rule that
12082
+ caused the frame to be labelled as an ad. Only created when `ancestryChain`
12083
+ is not empty.
12084
+ */
12085
+ export interface AdScriptAncestry {
12086
+ /**
12087
+ * A chain of `AdScriptId`s representing the ancestry of an ad script that
12088
+ led to the creation of a frame. The chain is ordered from the script
12089
+ itself (lower level) up to its root ancestor that was flagged by
12090
+ filterlist.
12091
+ */
12092
+ ancestryChain: AdScriptId[];
12093
+ /**
12094
+ * The filterlist rule that caused the root (last) script in
12095
+ `ancestryChain` to be ad-tagged. Only populated if the rule is
12096
+ available.
12097
+ */
12098
+ rootScriptFilterlistRule?: string;
12099
+ }
11849
12100
  /**
11850
12101
  * Indicates whether the frame is a secure context and why it is the case.
11851
12102
  */
@@ -11857,9 +12108,10 @@ as an ad.
11857
12108
  export type GatedAPIFeatures = "SharedArrayBuffers"|"SharedArrayBuffersTransferAllowed"|"PerformanceMeasureMemory"|"PerformanceProfile";
11858
12109
  /**
11859
12110
  * All Permissions Policy features. This enum should match the one defined
11860
- in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
12111
+ in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
12112
+ LINT.IfChange(PermissionsPolicyFeature)
11861
12113
  */
11862
- export type PermissionsPolicyFeature = "accelerometer"|"all-screens-capture"|"ambient-light-sensor"|"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"|"digital-credentials-get"|"direct-sockets"|"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"|"local-fonts"|"magnetometer"|"media-playback-while-not-visible"|"microphone"|"midi"|"otp-credentials"|"payment"|"picture-in-picture"|"popins"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-create"|"publickey-credentials-get"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"speaker-selection"|"storage-access"|"sub-apps"|"sync-xhr"|"unload"|"usb"|"usb-unrestricted"|"vertical-scroll"|"web-app-installation"|"web-printing"|"web-share"|"window-management"|"xr-spatial-tracking";
12114
+ export type PermissionsPolicyFeature = "accelerometer"|"all-screens-capture"|"ambient-light-sensor"|"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-get"|"direct-sockets"|"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";
11863
12115
  /**
11864
12116
  * Reason for a permissions policy feature to be disabled.
11865
12117
  */
@@ -11905,6 +12157,17 @@ parsable.
11905
12157
  status: OriginTrialStatus;
11906
12158
  tokensWithStatus: OriginTrialTokenWithStatus[];
11907
12159
  }
12160
+ /**
12161
+ * Additional information about the frame document's security origin.
12162
+ */
12163
+ export interface SecurityOriginDetails {
12164
+ /**
12165
+ * Indicates whether the frame document's security origin is one
12166
+ of the local hostnames (e.g. "localhost") or IP addresses (IPv4
12167
+ 127.0.0.0/8 or IPv6 ::1).
12168
+ */
12169
+ isLocalhost: boolean;
12170
+ }
11908
12171
  /**
11909
12172
  * Information about the Frame on the page.
11910
12173
  */
@@ -11944,6 +12207,10 @@ Example URLs: http://www.google.com/file.html -> "google.com"
11944
12207
  * Frame document's security origin.
11945
12208
  */
11946
12209
  securityOrigin: string;
12210
+ /**
12211
+ * Additional details about the frame document's security origin.
12212
+ */
12213
+ securityOriginDetails?: SecurityOriginDetails;
11947
12214
  /**
11948
12215
  * Frame document's mimeType as determined by the browser.
11949
12216
  */
@@ -12436,10 +12703,6 @@ https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-expl
12436
12703
  startUrl?: string;
12437
12704
  themeColor?: string;
12438
12705
  }
12439
- /**
12440
- * Enum of possible auto-response for permission / prompt dialogs.
12441
- */
12442
- export type AutoResponseMode = "none"|"autoAccept"|"autoReject"|"autoOptOut";
12443
12706
  /**
12444
12707
  * The type of a frameNavigated event.
12445
12708
  */
@@ -12447,7 +12710,7 @@ https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-expl
12447
12710
  /**
12448
12711
  * List of not restored reasons for back-forward cache.
12449
12712
  */
12450
- 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"|"WebLocks"|"WebHID"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"KeepaliveRequest"|"IndexedDBEvent"|"Dummy"|"JsNetworkRequestReceivedCacheControlNoStoreResource"|"WebRTCSticky"|"WebTransportSticky"|"WebSocketSticky"|"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";
12713
+ 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"|"WebLocks"|"WebHID"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"KeepaliveRequest"|"IndexedDBEvent"|"Dummy"|"JsNetworkRequestReceivedCacheControlNoStoreResource"|"WebRTCSticky"|"WebTransportSticky"|"WebSocketSticky"|"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";
12451
12714
  /**
12452
12715
  * Types of not restored reasons for back-forward cache.
12453
12716
  */
@@ -12501,7 +12764,7 @@ dependent on the reason:
12501
12764
  */
12502
12765
  children: BackForwardCacheNotRestoredExplanationTree[];
12503
12766
  }
12504
-
12767
+
12505
12768
  export type domContentEventFiredPayload = {
12506
12769
  timestamp: Network.MonotonicTime;
12507
12770
  }
@@ -12734,6 +12997,10 @@ Deprecated. Use Browser.downloadProgress instead.
12734
12997
  closed.
12735
12998
  */
12736
12999
  export type javascriptDialogClosedPayload = {
13000
+ /**
13001
+ * Frame id.
13002
+ */
13003
+ frameId: FrameId;
12737
13004
  /**
12738
13005
  * Whether dialog was confirmed.
12739
13006
  */
@@ -12752,6 +13019,10 @@ open.
12752
13019
  * Frame url.
12753
13020
  */
12754
13021
  url: string;
13022
+ /**
13023
+ * Frame id.
13024
+ */
13025
+ frameId: FrameId;
12755
13026
  /**
12756
13027
  * Message that will be displayed by the dialog.
12757
13028
  */
@@ -12890,7 +13161,7 @@ if Page.setGenerateCompilationCache is enabled.
12890
13161
  */
12891
13162
  data: binary;
12892
13163
  }
12893
-
13164
+
12894
13165
  /**
12895
13166
  * Deprecated, please use addScriptToEvaluateOnNewDocument instead.
12896
13167
  */
@@ -13060,6 +13331,11 @@ option, use with caution.
13060
13331
  * Enables page domain notifications.
13061
13332
  */
13062
13333
  export type enableParameters = {
13334
+ /**
13335
+ * If true, the `Page.fileChooserOpened` event will be emitted regardless of the state set by
13336
+ `Page.setInterceptFileChooserDialog` command (default: false).
13337
+ */
13338
+ enableFileChooserOpenedEvent?: boolean;
13063
13339
  }
13064
13340
  export type enableReturnValue = {
13065
13341
  }
@@ -13118,15 +13394,18 @@ Only returns values if the feature flag 'WebAppEnableManifestId' is enabled
13118
13394
  */
13119
13395
  recommendedId?: string;
13120
13396
  }
13121
- export type getAdScriptIdParameters = {
13397
+ export type getAdScriptAncestryParameters = {
13122
13398
  frameId: FrameId;
13123
13399
  }
13124
- export type getAdScriptIdReturnValue = {
13400
+ export type getAdScriptAncestryReturnValue = {
13125
13401
  /**
13126
- * Identifies the bottom-most script which caused the frame to be labelled
13127
- as an ad. Only sent if frame is labelled as an ad and id is available.
13402
+ * The ancestry chain of ad script identifiers leading to this frame's
13403
+ creation, along with the root script's filterlist rule. The ancestry
13404
+ chain is ordered from the most immediate script (in the frame creation
13405
+ stack) to more distant ancestors (that created the immediately preceding
13406
+ script). Only sent if frame is labelled as an ad and ids are available.
13128
13407
  */
13129
- adScriptId?: AdScriptId;
13408
+ adScriptAncestry?: AdScriptAncestry;
13130
13409
  }
13131
13410
  /**
13132
13411
  * Returns present frame tree structure.
@@ -13798,7 +14077,7 @@ cross-process navigation.
13798
14077
  https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode
13799
14078
  */
13800
14079
  export type setSPCTransactionModeParameters = {
13801
- mode: AutoResponseMode;
14080
+ mode: "none"|"autoAccept"|"autoChooseToAuthAnotherWay"|"autoReject"|"autoOptOut";
13802
14081
  }
13803
14082
  export type setSPCTransactionModeReturnValue = {
13804
14083
  }
@@ -13807,7 +14086,7 @@ https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-trans
13807
14086
  https://html.spec.whatwg.org/multipage/system-state.html#rph-automation
13808
14087
  */
13809
14088
  export type setRPHRegistrationModeParameters = {
13810
- mode: AutoResponseMode;
14089
+ mode: "none"|"autoAccept"|"autoReject";
13811
14090
  }
13812
14091
  export type setRPHRegistrationModeReturnValue = {
13813
14092
  }
@@ -13840,6 +14119,12 @@ Instead, a protocol event `Page.fileChooserOpened` is emitted.
13840
14119
  */
13841
14120
  export type setInterceptFileChooserDialogParameters = {
13842
14121
  enabled: boolean;
14122
+ /**
14123
+ * If true, cancels the dialog by emitting relevant events (if any)
14124
+ in addition to not showing it if the interception is enabled
14125
+ (default: false).
14126
+ */
14127
+ cancel?: boolean;
13843
14128
  }
13844
14129
  export type setInterceptFileChooserDialogReturnValue = {
13845
14130
  }
@@ -13858,7 +14143,7 @@ TODO(https://crbug.com/1440085): Remove this once Puppeteer supports tab targets
13858
14143
  export type setPrerenderingAllowedReturnValue = {
13859
14144
  }
13860
14145
  }
13861
-
14146
+
13862
14147
  export module Performance {
13863
14148
  /**
13864
14149
  * Run-time execution metric.
@@ -13873,7 +14158,7 @@ TODO(https://crbug.com/1440085): Remove this once Puppeteer supports tab targets
13873
14158
  */
13874
14159
  value: number;
13875
14160
  }
13876
-
14161
+
13877
14162
  /**
13878
14163
  * Current values of the metrics.
13879
14164
  */
@@ -13887,7 +14172,7 @@ TODO(https://crbug.com/1440085): Remove this once Puppeteer supports tab targets
13887
14172
  */
13888
14173
  title: string;
13889
14174
  }
13890
-
14175
+
13891
14176
  /**
13892
14177
  * Disable collecting and reporting metrics.
13893
14178
  */
@@ -13931,7 +14216,7 @@ this method while metrics collection is enabled returns an error.
13931
14216
  metrics: Metric[];
13932
14217
  }
13933
14218
  }
13934
-
14219
+
13935
14220
  /**
13936
14221
  * Reporting of performance timeline events, as specified in
13937
14222
  https://w3c.github.io/performance-timeline/#dom-performanceobserver.
@@ -13999,14 +14284,14 @@ This determines which of the optional "details" fields is present.
13999
14284
  lcpDetails?: LargestContentfulPaint;
14000
14285
  layoutShiftDetails?: LayoutShift;
14001
14286
  }
14002
-
14287
+
14003
14288
  /**
14004
14289
  * Sent when a performance timeline event is added. See reportPerformanceTimeline method.
14005
14290
  */
14006
14291
  export type timelineEventAddedPayload = {
14007
14292
  event: TimelineEvent;
14008
14293
  }
14009
-
14294
+
14010
14295
  /**
14011
14296
  * Previously buffered events would be reported before method returns.
14012
14297
  See also: timelineEventAdded
@@ -14024,7 +14309,7 @@ Note that not all types exposed to the web platform are currently supported.
14024
14309
  export type enableReturnValue = {
14025
14310
  }
14026
14311
  }
14027
-
14312
+
14028
14313
  /**
14029
14314
  * Security
14030
14315
  */
@@ -14222,7 +14507,7 @@ https://www.w3.org/TR/mixed-content/#categories
14222
14507
  request and cancel will cancel the request.
14223
14508
  */
14224
14509
  export type CertificateErrorAction = "continue"|"cancel";
14225
-
14510
+
14226
14511
  /**
14227
14512
  * There is a certificate error. If overriding certificate errors is enabled, then it should be
14228
14513
  handled with the `handleCertificateError` command. Note: this event does not fire if the
@@ -14278,7 +14563,7 @@ empty.
14278
14563
  */
14279
14564
  summary?: string;
14280
14565
  }
14281
-
14566
+
14282
14567
  /**
14283
14568
  * Disables tracking security state changes.
14284
14569
  */
@@ -14332,7 +14617,7 @@ be handled by the DevTools client and should be answered with `handleCertificate
14332
14617
  export type setOverrideCertificateErrorsReturnValue = {
14333
14618
  }
14334
14619
  }
14335
-
14620
+
14336
14621
  export module ServiceWorker {
14337
14622
  export type RegistrationID = string;
14338
14623
  /**
@@ -14378,7 +14663,7 @@ For cached script it is the last time the cache entry was validated.
14378
14663
  lineNumber: number;
14379
14664
  columnNumber: number;
14380
14665
  }
14381
-
14666
+
14382
14667
  export type workerErrorReportedPayload = {
14383
14668
  errorMessage: ServiceWorkerErrorMessage;
14384
14669
  }
@@ -14388,7 +14673,7 @@ For cached script it is the last time the cache entry was validated.
14388
14673
  export type workerVersionUpdatedPayload = {
14389
14674
  versions: ServiceWorkerVersion[];
14390
14675
  }
14391
-
14676
+
14392
14677
  export type deliverPushMessageParameters = {
14393
14678
  origin: string;
14394
14679
  registrationId: RegistrationID;
@@ -14459,7 +14744,7 @@ For cached script it is the last time the cache entry was validated.
14459
14744
  export type updateRegistrationReturnValue = {
14460
14745
  }
14461
14746
  }
14462
-
14747
+
14463
14748
  export module Storage {
14464
14749
  export type SerializedStorageKey = string;
14465
14750
  /**
@@ -14504,9 +14789,13 @@ Tokens from that issuer.
14504
14789
  */
14505
14790
  export type InterestGroupAuctionFetchType = "bidderJs"|"bidderWasm"|"sellerJs"|"bidderTrustedSignals"|"sellerTrustedSignals";
14506
14791
  /**
14507
- * Enum of shared storage access types.
14792
+ * Enum of shared storage access scopes.
14793
+ */
14794
+ export type SharedStorageAccessScope = "window"|"sharedStorageWorklet"|"protectedAudienceWorklet"|"header";
14795
+ /**
14796
+ * Enum of shared storage access methods.
14508
14797
  */
14509
- export type SharedStorageAccessType = "documentAddModule"|"documentSelectURL"|"documentRun"|"documentSet"|"documentAppend"|"documentDelete"|"documentClear"|"documentGet"|"workletSet"|"workletAppend"|"workletDelete"|"workletClear"|"workletGet"|"workletKeys"|"workletEntries"|"workletLength"|"workletRemainingBudget"|"headerSet"|"headerAppend"|"headerDelete"|"headerClear";
14798
+ export type SharedStorageAccessMethod = "addModule"|"createWorklet"|"selectURL"|"run"|"batchUpdate"|"set"|"append"|"delete"|"clear"|"get"|"keys"|"values"|"entries"|"length"|"remainingBudget";
14510
14799
  /**
14511
14800
  * Struct for a single key-value pair in an origin's shared storage.
14512
14801
  */
@@ -14536,6 +14825,28 @@ storage.
14536
14825
  */
14537
14826
  bytesUsed: number;
14538
14827
  }
14828
+ /**
14829
+ * Represents a dictionary object passed in as privateAggregationConfig to
14830
+ run or selectURL.
14831
+ */
14832
+ export interface SharedStoragePrivateAggregationConfig {
14833
+ /**
14834
+ * The chosen aggregation service deployment.
14835
+ */
14836
+ aggregationCoordinatorOrigin?: string;
14837
+ /**
14838
+ * The context ID provided.
14839
+ */
14840
+ contextId?: string;
14841
+ /**
14842
+ * Configures the maximum size allowed for filtering IDs.
14843
+ */
14844
+ filteringIdMaxBytes: number;
14845
+ /**
14846
+ * The limit on the number of contributions in the final report.
14847
+ */
14848
+ maxContributions?: number;
14849
+ }
14539
14850
  /**
14540
14851
  * Pair of reporting metadata details for a candidate URL for `selectURL()`.
14541
14852
  */
@@ -14563,57 +14874,102 @@ presence/absence can vary according to SharedStorageAccessType.
14563
14874
  export interface SharedStorageAccessParams {
14564
14875
  /**
14565
14876
  * Spec of the module script URL.
14566
- Present only for SharedStorageAccessType.documentAddModule.
14877
+ Present only for SharedStorageAccessMethods: addModule and
14878
+ createWorklet.
14567
14879
  */
14568
14880
  scriptSourceUrl?: string;
14881
+ /**
14882
+ * String denoting "context-origin", "script-origin", or a custom
14883
+ origin to be used as the worklet's data origin.
14884
+ Present only for SharedStorageAccessMethod: createWorklet.
14885
+ */
14886
+ dataOrigin?: string;
14569
14887
  /**
14570
14888
  * Name of the registered operation to be run.
14571
- Present only for SharedStorageAccessType.documentRun and
14572
- SharedStorageAccessType.documentSelectURL.
14889
+ Present only for SharedStorageAccessMethods: run and selectURL.
14573
14890
  */
14574
14891
  operationName?: string;
14892
+ /**
14893
+ * ID of the operation call.
14894
+ Present only for SharedStorageAccessMethods: run and selectURL.
14895
+ */
14896
+ operationId?: string;
14897
+ /**
14898
+ * Whether or not to keep the worket alive for future run or selectURL
14899
+ calls.
14900
+ Present only for SharedStorageAccessMethods: run and selectURL.
14901
+ */
14902
+ keepAlive?: boolean;
14903
+ /**
14904
+ * Configures the private aggregation options.
14905
+ Present only for SharedStorageAccessMethods: run and selectURL.
14906
+ */
14907
+ privateAggregationConfig?: SharedStoragePrivateAggregationConfig;
14575
14908
  /**
14576
14909
  * The operation's serialized data in bytes (converted to a string).
14577
- Present only for SharedStorageAccessType.documentRun and
14578
- SharedStorageAccessType.documentSelectURL.
14910
+ Present only for SharedStorageAccessMethods: run and selectURL.
14911
+ TODO(crbug.com/401011862): Consider updating this parameter to binary.
14579
14912
  */
14580
14913
  serializedData?: string;
14581
14914
  /**
14582
14915
  * Array of candidate URLs' specs, along with any associated metadata.
14583
- Present only for SharedStorageAccessType.documentSelectURL.
14916
+ Present only for SharedStorageAccessMethod: selectURL.
14584
14917
  */
14585
14918
  urlsWithMetadata?: SharedStorageUrlWithMetadata[];
14919
+ /**
14920
+ * Spec of the URN:UUID generated for a selectURL call.
14921
+ Present only for SharedStorageAccessMethod: selectURL.
14922
+ */
14923
+ urnUuid?: string;
14586
14924
  /**
14587
14925
  * Key for a specific entry in an origin's shared storage.
14588
- Present only for SharedStorageAccessType.documentSet,
14589
- SharedStorageAccessType.documentAppend,
14590
- SharedStorageAccessType.documentDelete,
14591
- SharedStorageAccessType.workletSet,
14592
- SharedStorageAccessType.workletAppend,
14593
- SharedStorageAccessType.workletDelete,
14594
- SharedStorageAccessType.workletGet,
14595
- SharedStorageAccessType.headerSet,
14596
- SharedStorageAccessType.headerAppend, and
14597
- SharedStorageAccessType.headerDelete.
14926
+ Present only for SharedStorageAccessMethods: set, append, delete, and
14927
+ get.
14598
14928
  */
14599
14929
  key?: string;
14600
14930
  /**
14601
14931
  * Value for a specific entry in an origin's shared storage.
14602
- Present only for SharedStorageAccessType.documentSet,
14603
- SharedStorageAccessType.documentAppend,
14604
- SharedStorageAccessType.workletSet,
14605
- SharedStorageAccessType.workletAppend,
14606
- SharedStorageAccessType.headerSet, and
14607
- SharedStorageAccessType.headerAppend.
14932
+ Present only for SharedStorageAccessMethods: set and append.
14608
14933
  */
14609
14934
  value?: string;
14610
14935
  /**
14611
14936
  * Whether or not to set an entry for a key if that key is already present.
14612
- Present only for SharedStorageAccessType.documentSet,
14613
- SharedStorageAccessType.workletSet, and
14614
- SharedStorageAccessType.headerSet.
14937
+ Present only for SharedStorageAccessMethod: set.
14615
14938
  */
14616
14939
  ignoreIfPresent?: boolean;
14940
+ /**
14941
+ * A number denoting the (0-based) order of the worklet's
14942
+ creation relative to all other shared storage worklets created by
14943
+ documents using the current storage partition.
14944
+ Present only for SharedStorageAccessMethods: addModule, createWorklet.
14945
+ */
14946
+ workletOrdinal?: number;
14947
+ /**
14948
+ * Hex representation of the DevTools token used as the TargetID for the
14949
+ associated shared storage worklet.
14950
+ Present only for SharedStorageAccessMethods: addModule, createWorklet,
14951
+ run, selectURL, and any other SharedStorageAccessMethod when the
14952
+ SharedStorageAccessScope is sharedStorageWorklet.
14953
+ */
14954
+ workletTargetId?: Target.TargetID;
14955
+ /**
14956
+ * Name of the lock to be acquired, if present.
14957
+ Optionally present only for SharedStorageAccessMethods: batchUpdate,
14958
+ set, append, delete, and clear.
14959
+ */
14960
+ withLock?: string;
14961
+ /**
14962
+ * If the method has been called as part of a batchUpdate, then this
14963
+ number identifies the batch to which it belongs.
14964
+ Optionally present only for SharedStorageAccessMethods:
14965
+ batchUpdate (required), set, append, delete, and clear.
14966
+ */
14967
+ batchUpdateId?: string;
14968
+ /**
14969
+ * Number of modifier methods sent in batch.
14970
+ Present only for SharedStorageAccessMethod: batchUpdate.
14971
+ */
14972
+ batchSize?: number;
14617
14973
  }
14618
14974
  export type StorageBucketsDurability = "relaxed"|"strict";
14619
14975
  export interface StorageBucket {
@@ -14667,14 +15023,6 @@ SharedStorageAccessType.headerSet.
14667
15023
  */
14668
15024
  ends: number[];
14669
15025
  }
14670
- export interface AttributionReportingTriggerSpec {
14671
- /**
14672
- * number instead of integer because not all uint32 can be represented by
14673
- int
14674
- */
14675
- triggerData: number[];
14676
- eventReportWindows: AttributionReportingEventReportWindows;
14677
- }
14678
15026
  export type AttributionReportingTriggerDataMatching = "exact"|"modulus";
14679
15027
  export interface AttributionReportingAggregatableDebugReportingData {
14680
15028
  keyPiece: UnsignedInt128AsBase16;
@@ -14704,13 +15052,22 @@ int
14704
15052
  limit: number;
14705
15053
  maxEventStates: number;
14706
15054
  }
15055
+ export interface AttributionReportingNamedBudgetDef {
15056
+ name: string;
15057
+ budget: number;
15058
+ }
14707
15059
  export interface AttributionReportingSourceRegistration {
14708
15060
  time: Network.TimeSinceEpoch;
14709
15061
  /**
14710
15062
  * duration in seconds
14711
15063
  */
14712
15064
  expiry: number;
14713
- triggerSpecs: AttributionReportingTriggerSpec[];
15065
+ /**
15066
+ * number instead of integer because not all uint32 can be represented by
15067
+ int
15068
+ */
15069
+ triggerData: number[];
15070
+ eventReportWindows: AttributionReportingEventReportWindows;
14714
15071
  /**
14715
15072
  * duration in seconds
14716
15073
  */
@@ -14729,6 +15086,9 @@ int
14729
15086
  aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
14730
15087
  scopesData?: AttributionScopesData;
14731
15088
  maxEventLevelReports: number;
15089
+ namedBudgets: AttributionReportingNamedBudgetDef[];
15090
+ debugReporting: boolean;
15091
+ eventLevelEpsilon: number;
14732
15092
  }
14733
15093
  export type AttributionReportingSourceRegistrationResult = "success"|"internalError"|"insufficientSourceCapacity"|"insufficientUniqueDestinationCapacity"|"excessiveReportingOrigins"|"prohibitedByBrowserPolicy"|"successNoised"|"destinationReportingLimitReached"|"destinationGlobalLimitReached"|"destinationBothLimitsReached"|"reportingOriginsPerSiteLimitReached"|"exceedsMaxChannelCapacity"|"exceedsMaxScopesChannelCapacity"|"exceedsMaxTriggerStateCardinality"|"exceedsMaxEventStatesLimit"|"destinationPerDayReportingLimitReached";
14734
15094
  export type AttributionReportingSourceRegistrationTimeConfig = "include"|"exclude";
@@ -14760,6 +15120,10 @@ int
14760
15120
  dedupKey?: UnsignedInt64AsBase10;
14761
15121
  filters: AttributionReportingFilterPair;
14762
15122
  }
15123
+ export interface AttributionReportingNamedBudgetCandidate {
15124
+ name?: string;
15125
+ filters: AttributionReportingFilterPair;
15126
+ }
14763
15127
  export interface AttributionReportingTriggerRegistration {
14764
15128
  filters: AttributionReportingFilterPair;
14765
15129
  debugKey?: UnsignedInt64AsBase10;
@@ -14774,9 +15138,11 @@ int
14774
15138
  triggerContextId?: string;
14775
15139
  aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
14776
15140
  scopes: string[];
15141
+ namedBudgets: AttributionReportingNamedBudgetCandidate[];
14777
15142
  }
14778
15143
  export type AttributionReportingEventLevelResult = "success"|"successDroppedLowerPriority"|"internalError"|"noCapacityForAttributionDestination"|"noMatchingSources"|"deduplicated"|"excessiveAttributions"|"priorityTooLow"|"neverAttributedSource"|"excessiveReportingOrigins"|"noMatchingSourceFilterData"|"prohibitedByBrowserPolicy"|"noMatchingConfigurations"|"excessiveReports"|"falselyAttributedSource"|"reportWindowPassed"|"notRegistered"|"reportWindowNotStarted"|"noMatchingTriggerData";
14779
15144
  export type AttributionReportingAggregatableResult = "success"|"internalError"|"noCapacityForAttributionDestination"|"noMatchingSources"|"excessiveAttributions"|"excessiveReportingOrigins"|"noHistograms"|"insufficientBudget"|"insufficientNamedBudget"|"noMatchingSourceFilterData"|"notRegistered"|"prohibitedByBrowserPolicy"|"deduplicated"|"reportWindowPassed"|"excessiveReports";
15145
+ export type AttributionReportingReportResult = "sent"|"prohibited"|"failedToAssemble"|"expired";
14780
15146
  /**
14781
15147
  * A single Related Website Set object.
14782
15148
  */
@@ -14794,7 +15160,7 @@ int
14794
15160
  */
14795
15161
  serviceSites: string[];
14796
15162
  }
14797
-
15163
+
14798
15164
  /**
14799
15165
  * A cache's contents have been modified.
14800
15166
  */
@@ -14941,24 +15307,68 @@ The following parameters are included in all events.
14941
15307
  * Time of the access.
14942
15308
  */
14943
15309
  accessTime: Network.TimeSinceEpoch;
15310
+ /**
15311
+ * Enum value indicating the access scope.
15312
+ */
15313
+ scope: SharedStorageAccessScope;
14944
15314
  /**
14945
15315
  * Enum value indicating the Shared Storage API method invoked.
14946
15316
  */
14947
- type: SharedStorageAccessType;
15317
+ method: SharedStorageAccessMethod;
14948
15318
  /**
14949
15319
  * DevTools Frame Token for the primary frame tree's root.
14950
15320
  */
14951
15321
  mainFrameId: Page.FrameId;
14952
15322
  /**
14953
- * Serialized origin for the context that invoked the Shared Storage API.
15323
+ * Serialization of the origin owning the Shared Storage data.
14954
15324
  */
14955
15325
  ownerOrigin: string;
15326
+ /**
15327
+ * Serialization of the site owning the Shared Storage data.
15328
+ */
15329
+ ownerSite: string;
14956
15330
  /**
14957
15331
  * The sub-parameters wrapped by `params` are all optional and their
14958
15332
  presence/absence depends on `type`.
14959
15333
  */
14960
15334
  params: SharedStorageAccessParams;
14961
15335
  }
15336
+ /**
15337
+ * A shared storage run or selectURL operation finished its execution.
15338
+ The following parameters are included in all events.
15339
+ */
15340
+ export type sharedStorageWorkletOperationExecutionFinishedPayload = {
15341
+ /**
15342
+ * Time that the operation finished.
15343
+ */
15344
+ finishedTime: Network.TimeSinceEpoch;
15345
+ /**
15346
+ * Time, in microseconds, from start of shared storage JS API call until
15347
+ end of operation execution in the worklet.
15348
+ */
15349
+ executionTime: number;
15350
+ /**
15351
+ * Enum value indicating the Shared Storage API method invoked.
15352
+ */
15353
+ method: SharedStorageAccessMethod;
15354
+ /**
15355
+ * ID of the operation call.
15356
+ */
15357
+ operationId: string;
15358
+ /**
15359
+ * Hex representation of the DevTools token used as the TargetID for the
15360
+ associated shared storage worklet.
15361
+ */
15362
+ workletTargetId: Target.TargetID;
15363
+ /**
15364
+ * DevTools Frame Token for the primary frame tree's root.
15365
+ */
15366
+ mainFrameId: Page.FrameId;
15367
+ /**
15368
+ * Serialization of the origin owning the Shared Storage data.
15369
+ */
15370
+ ownerOrigin: string;
15371
+ }
14962
15372
  export type storageBucketCreatedOrUpdatedPayload = {
14963
15373
  bucketInfo: StorageBucketInfo;
14964
15374
  }
@@ -14974,7 +15384,25 @@ presence/absence depends on `type`.
14974
15384
  eventLevel: AttributionReportingEventLevelResult;
14975
15385
  aggregatable: AttributionReportingAggregatableResult;
14976
15386
  }
14977
-
15387
+ export type attributionReportingReportSentPayload = {
15388
+ url: string;
15389
+ body: { [key: string]: string };
15390
+ result: AttributionReportingReportResult;
15391
+ /**
15392
+ * If result is `sent`, populated with net/HTTP status.
15393
+ */
15394
+ netError?: number;
15395
+ netErrorName?: string;
15396
+ httpStatusCode?: number;
15397
+ }
15398
+ export type attributionReportingVerboseDebugReportSentPayload = {
15399
+ url: string;
15400
+ body?: { [key: string]: string }[];
15401
+ netError?: number;
15402
+ netErrorName?: string;
15403
+ httpStatusCode?: number;
15404
+ }
15405
+
14978
15406
  /**
14979
15407
  * Returns a storage key given a frame id.
14980
15408
  */
@@ -15399,8 +15827,15 @@ party URL, only the first-party URL is returned in the array.
15399
15827
  */
15400
15828
  matchedUrls: string[];
15401
15829
  }
15830
+ export type setProtectedAudienceKAnonymityParameters = {
15831
+ owner: string;
15832
+ name: string;
15833
+ hashes: binary[];
15834
+ }
15835
+ export type setProtectedAudienceKAnonymityReturnValue = {
15836
+ }
15402
15837
  }
15403
-
15838
+
15404
15839
  /**
15405
15840
  * The SystemInfo domain defines methods and events for querying low-level system information.
15406
15841
  */
@@ -15575,8 +16010,8 @@ process since the process start.
15575
16010
  */
15576
16011
  cpuTime: number;
15577
16012
  }
15578
-
15579
-
16013
+
16014
+
15580
16015
  /**
15581
16016
  * Returns information about the system.
15582
16017
  */
@@ -15624,7 +16059,7 @@ supported.
15624
16059
  processInfo: ProcessInfo[];
15625
16060
  }
15626
16061
  }
15627
-
16062
+
15628
16063
  /**
15629
16064
  * Supports additional targets discovery and allows to attach to them.
15630
16065
  */
@@ -15695,7 +16130,7 @@ If filter is not specified, the one assumed is
15695
16130
  * The state of the target window.
15696
16131
  */
15697
16132
  export type WindowState = "normal"|"minimized"|"maximized"|"fullscreen";
15698
-
16133
+
15699
16134
  /**
15700
16135
  * Issued when attached to target because of auto-attach or `attachToTarget` command.
15701
16136
  */
@@ -15769,7 +16204,7 @@ issued multiple times per target if multiple sessions have been attached to it.
15769
16204
  export type targetInfoChangedPayload = {
15770
16205
  targetInfo: TargetInfo;
15771
16206
  }
15772
-
16207
+
15773
16208
  /**
15774
16209
  * Activates (focuses) the target.
15775
16210
  */
@@ -15835,6 +16270,10 @@ The object has the following API:
15835
16270
  * Binding name, 'cdp' if not specified.
15836
16271
  */
15837
16272
  bindingName?: string;
16273
+ /**
16274
+ * If true, inherits the current root session's permissions (default: false).
16275
+ */
16276
+ inheritPermissions?: boolean;
15838
16277
  }
15839
16278
  export type exposeDevToolsProtocolReturnValue = {
15840
16279
  }
@@ -15929,6 +16368,12 @@ by headless shell).
15929
16368
  * Whether to create the target of type "tab".
15930
16369
  */
15931
16370
  forTab?: boolean;
16371
+ /**
16372
+ * Whether to create a hidden target. The hidden target is observable via protocol, but not
16373
+ present in the tab UI strip. Cannot be created with `forTab: true`, `newWindow: true` or
16374
+ `background: false`. The life-time of the tab is limited to the life-time of the session.
16375
+ */
16376
+ hidden?: boolean;
15932
16377
  }
15933
16378
  export type createTargetReturnValue = {
15934
16379
  /**
@@ -16005,11 +16450,14 @@ and crbug.com/991325.
16005
16450
  export type sendMessageToTargetReturnValue = {
16006
16451
  }
16007
16452
  /**
16008
- * Controls whether to automatically attach to new targets which are considered to be related to
16009
- this one. When turned on, attaches to all existing related targets as well. When turned off,
16453
+ * Controls whether to automatically attach to new targets which are considered
16454
+ to be directly related to this one (for example, iframes or workers).
16455
+ When turned on, attaches to all existing related targets as well. When turned off,
16010
16456
  automatically detaches from all currently attached targets.
16011
16457
  This also clears all targets added by `autoAttachRelated` from the list of targets to watch
16012
16458
  for creation of related targets.
16459
+ You might want to call this recursively for auto-attached targets to attach
16460
+ to all available targets.
16013
16461
  */
16014
16462
  export type setAutoAttachParameters = {
16015
16463
  /**
@@ -16085,12 +16533,12 @@ to run paused targets.
16085
16533
  export type setRemoteLocationsReturnValue = {
16086
16534
  }
16087
16535
  }
16088
-
16536
+
16089
16537
  /**
16090
16538
  * The Tethering domain defines methods and events for browser port binding.
16091
16539
  */
16092
16540
  export module Tethering {
16093
-
16541
+
16094
16542
  /**
16095
16543
  * Informs that port was successfully bound and got a specified connection id.
16096
16544
  */
@@ -16104,7 +16552,7 @@ to run paused targets.
16104
16552
  */
16105
16553
  connectionId: string;
16106
16554
  }
16107
-
16555
+
16108
16556
  /**
16109
16557
  * Request browser port binding.
16110
16558
  */
@@ -16128,7 +16576,7 @@ to run paused targets.
16128
16576
  export type unbindReturnValue = {
16129
16577
  }
16130
16578
  }
16131
-
16579
+
16132
16580
  export module Tracing {
16133
16581
  /**
16134
16582
  * Configuration for memory dump. Used only when "memory-infra" category is enabled.
@@ -16136,7 +16584,7 @@ to run paused targets.
16136
16584
  export type MemoryDumpConfig = { [key: string]: string };
16137
16585
  export interface TraceConfig {
16138
16586
  /**
16139
- * Controls how the trace buffer stores data.
16587
+ * Controls how the trace buffer stores data. The default is `recordUntilFull`.
16140
16588
  */
16141
16589
  recordMode?: "recordUntilFull"|"recordContinuously"|"recordAsMuchAsPossible"|"echoToConsole";
16142
16590
  /**
@@ -16196,7 +16644,7 @@ supported on Chrome OS and uses the Perfetto system tracing service.
16196
16644
  specifies at least one non-Chrome data source; otherwise uses `chrome`.
16197
16645
  */
16198
16646
  export type TracingBackend = "auto"|"chrome"|"system";
16199
-
16647
+
16200
16648
  export type bufferUsagePayload = {
16201
16649
  /**
16202
16650
  * A number in range [0..1] that indicates the used size of event buffer as a fraction of its
@@ -16243,7 +16691,7 @@ buffer wrapped around.
16243
16691
  */
16244
16692
  streamCompression?: StreamCompression;
16245
16693
  }
16246
-
16694
+
16247
16695
  /**
16248
16696
  * Stop trace events collection.
16249
16697
  */
@@ -16342,7 +16790,7 @@ are ignored.
16342
16790
  export type startReturnValue = {
16343
16791
  }
16344
16792
  }
16345
-
16793
+
16346
16794
  /**
16347
16795
  * A domain for letting clients substitute browser's network layer with client code.
16348
16796
  */
@@ -16423,7 +16871,7 @@ ProvideCredentials.
16423
16871
  */
16424
16872
  password?: string;
16425
16873
  }
16426
-
16874
+
16427
16875
  /**
16428
16876
  * Issued when the domain is enabled and the request URL matches the
16429
16877
  specified filter. The request is paused until the client responds
@@ -16509,7 +16957,7 @@ contains AuthChallengeResponse.
16509
16957
  */
16510
16958
  authChallenge: AuthChallenge;
16511
16959
  }
16512
-
16960
+
16513
16961
  /**
16514
16962
  * Disables the fetch domain.
16515
16963
  */
@@ -16716,7 +17164,7 @@ domain before body is received results in an undefined behavior.
16716
17164
  stream: IO.StreamHandle;
16717
17165
  }
16718
17166
  }
16719
-
17167
+
16720
17168
  /**
16721
17169
  * This domain allows inspection of Web Audio API.
16722
17170
  https://webaudio.github.io/web-audio-api/
@@ -16831,7 +17279,7 @@ capacity and glitch may occur.
16831
17279
  minValue: number;
16832
17280
  maxValue: number;
16833
17281
  }
16834
-
17282
+
16835
17283
  /**
16836
17284
  * Notifies that a new BaseAudioContext has been created.
16837
17285
  */
@@ -16928,7 +17376,7 @@ capacity and glitch may occur.
16928
17376
  destinationId: GraphObjectId;
16929
17377
  sourceOutputIndex?: number;
16930
17378
  }
16931
-
17379
+
16932
17380
  /**
16933
17381
  * Enables the WebAudio domain and starts sending context lifetime events.
16934
17382
  */
@@ -16953,7 +17401,7 @@ capacity and glitch may occur.
16953
17401
  realtimeData: ContextRealtimeData;
16954
17402
  }
16955
17403
  }
16956
-
17404
+
16957
17405
  /**
16958
17406
  * This domain allows configuring virtual authenticators to test the WebAuthn
16959
17407
  API.
@@ -17077,7 +17525,7 @@ https://w3c.github.io/webauthn/#dom-publickeycredentialuserentity-displayname
17077
17525
  */
17078
17526
  userDisplayName?: string;
17079
17527
  }
17080
-
17528
+
17081
17529
  /**
17082
17530
  * Triggered when a credential is added to an authenticator.
17083
17531
  */
@@ -17108,7 +17556,7 @@ PublicKeyCredential.signalCurrentUserDetails().
17108
17556
  authenticatorId: AuthenticatorId;
17109
17557
  credential: Credential;
17110
17558
  }
17111
-
17559
+
17112
17560
  /**
17113
17561
  * Enable the WebAuthn domain and start intercepting credential storage and
17114
17562
  retrieval with a virtual authenticator.
@@ -17251,7 +17699,7 @@ https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties
17251
17699
  export type setCredentialPropertiesReturnValue = {
17252
17700
  }
17253
17701
  }
17254
-
17702
+
17255
17703
  /**
17256
17704
  * This domain allows detailed inspection of media elements
17257
17705
  */
@@ -17326,7 +17774,7 @@ caused by an WindowsError
17326
17774
  */
17327
17775
  data: { [key: string]: string };
17328
17776
  }
17329
-
17777
+
17330
17778
  /**
17331
17779
  * This can be called multiple times, and can be used to set / override /
17332
17780
  remove player properties. A null propValue indicates removal.
@@ -17365,7 +17813,7 @@ list of player ids and all events again.
17365
17813
  export type playersCreatedPayload = {
17366
17814
  players: PlayerId[];
17367
17815
  }
17368
-
17816
+
17369
17817
  /**
17370
17818
  * Enables the Media domain
17371
17819
  */
@@ -17381,7 +17829,7 @@ list of player ids and all events again.
17381
17829
  export type disableReturnValue = {
17382
17830
  }
17383
17831
  }
17384
-
17832
+
17385
17833
  export module DeviceAccess {
17386
17834
  /**
17387
17835
  * Device request id.
@@ -17401,7 +17849,7 @@ list of player ids and all events again.
17401
17849
  */
17402
17850
  name: string;
17403
17851
  }
17404
-
17852
+
17405
17853
  /**
17406
17854
  * A device request opened a user prompt to select a device. Respond with the
17407
17855
  selectPrompt or cancelPrompt command.
@@ -17410,7 +17858,7 @@ selectPrompt or cancelPrompt command.
17410
17858
  id: RequestId;
17411
17859
  devices: PromptDevice[];
17412
17860
  }
17413
-
17861
+
17414
17862
  /**
17415
17863
  * Enable events in this domain.
17416
17864
  */
@@ -17443,7 +17891,7 @@ selectPrompt or cancelPrompt command.
17443
17891
  export type cancelPromptReturnValue = {
17444
17892
  }
17445
17893
  }
17446
-
17894
+
17447
17895
  export module Preload {
17448
17896
  /**
17449
17897
  * Unique id
@@ -17544,7 +17992,7 @@ CDP events for them are emitted separately but they share
17544
17992
  /**
17545
17993
  * List of FinalStatus reasons for Prerender2.
17546
17994
  */
17547
- export type PrerenderFinalStatus = "Activated"|"Destroyed"|"LowEndDevice"|"InvalidSchemeRedirect"|"InvalidSchemeNavigation"|"NavigationRequestBlockedByCsp"|"MainFrameNavigation"|"MojoBinderPolicy"|"RendererProcessCrashed"|"RendererProcessKilled"|"Download"|"TriggerDestroyed"|"NavigationNotCommitted"|"NavigationBadHttpStatus"|"ClientCertRequested"|"NavigationRequestNetworkError"|"CancelAllHostsForTesting"|"DidFailLoad"|"Stop"|"SslCertificateError"|"LoginAuthRequested"|"UaChangeRequiresReload"|"BlockedByClient"|"AudioOutputDeviceRequested"|"MixedContent"|"TriggerBackgrounded"|"MemoryLimitExceeded"|"DataSaverEnabled"|"TriggerUrlHasEffectiveUrl"|"ActivatedBeforeStarted"|"InactivePageRestriction"|"StartFailed"|"TimeoutBackgrounded"|"CrossSiteRedirectInInitialNavigation"|"CrossSiteNavigationInInitialNavigation"|"SameSiteCrossOriginRedirectNotOptInInInitialNavigation"|"SameSiteCrossOriginNavigationNotOptInInInitialNavigation"|"ActivationNavigationParameterMismatch"|"ActivatedInBackground"|"EmbedderHostDisallowed"|"ActivationNavigationDestroyedBeforeSuccess"|"TabClosedByUserGesture"|"TabClosedWithoutUserGesture"|"PrimaryMainFrameRendererProcessCrashed"|"PrimaryMainFrameRendererProcessKilled"|"ActivationFramePolicyNotCompatible"|"PreloadingDisabled"|"BatterySaverEnabled"|"ActivatedDuringMainFrameNavigation"|"PreloadingUnsupportedByWebContents"|"CrossSiteRedirectInMainFrameNavigation"|"CrossSiteNavigationInMainFrameNavigation"|"SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation"|"SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation"|"MemoryPressureOnTrigger"|"MemoryPressureAfterTriggered"|"PrerenderingDisabledByDevTools"|"SpeculationRuleRemoved"|"ActivatedWithAuxiliaryBrowsingContexts"|"MaxNumOfRunningEagerPrerendersExceeded"|"MaxNumOfRunningNonEagerPrerendersExceeded"|"MaxNumOfRunningEmbedderPrerendersExceeded"|"PrerenderingUrlHasEffectiveUrl"|"RedirectedPrerenderingUrlHasEffectiveUrl"|"ActivationUrlHasEffectiveUrl"|"JavaScriptInterfaceAdded"|"JavaScriptInterfaceRemoved"|"AllPrerenderingCanceled"|"WindowClosed"|"SlowNetwork"|"OtherPrerenderedPageActivated"|"V8OptimizerDisabled"|"PrerenderFailedDuringPrefetch";
17995
+ export type PrerenderFinalStatus = "Activated"|"Destroyed"|"LowEndDevice"|"InvalidSchemeRedirect"|"InvalidSchemeNavigation"|"NavigationRequestBlockedByCsp"|"MojoBinderPolicy"|"RendererProcessCrashed"|"RendererProcessKilled"|"Download"|"TriggerDestroyed"|"NavigationNotCommitted"|"NavigationBadHttpStatus"|"ClientCertRequested"|"NavigationRequestNetworkError"|"CancelAllHostsForTesting"|"DidFailLoad"|"Stop"|"SslCertificateError"|"LoginAuthRequested"|"UaChangeRequiresReload"|"BlockedByClient"|"AudioOutputDeviceRequested"|"MixedContent"|"TriggerBackgrounded"|"MemoryLimitExceeded"|"DataSaverEnabled"|"TriggerUrlHasEffectiveUrl"|"ActivatedBeforeStarted"|"InactivePageRestriction"|"StartFailed"|"TimeoutBackgrounded"|"CrossSiteRedirectInInitialNavigation"|"CrossSiteNavigationInInitialNavigation"|"SameSiteCrossOriginRedirectNotOptInInInitialNavigation"|"SameSiteCrossOriginNavigationNotOptInInInitialNavigation"|"ActivationNavigationParameterMismatch"|"ActivatedInBackground"|"EmbedderHostDisallowed"|"ActivationNavigationDestroyedBeforeSuccess"|"TabClosedByUserGesture"|"TabClosedWithoutUserGesture"|"PrimaryMainFrameRendererProcessCrashed"|"PrimaryMainFrameRendererProcessKilled"|"ActivationFramePolicyNotCompatible"|"PreloadingDisabled"|"BatterySaverEnabled"|"ActivatedDuringMainFrameNavigation"|"PreloadingUnsupportedByWebContents"|"CrossSiteRedirectInMainFrameNavigation"|"CrossSiteNavigationInMainFrameNavigation"|"SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation"|"SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation"|"MemoryPressureOnTrigger"|"MemoryPressureAfterTriggered"|"PrerenderingDisabledByDevTools"|"SpeculationRuleRemoved"|"ActivatedWithAuxiliaryBrowsingContexts"|"MaxNumOfRunningEagerPrerendersExceeded"|"MaxNumOfRunningNonEagerPrerendersExceeded"|"MaxNumOfRunningEmbedderPrerendersExceeded"|"PrerenderingUrlHasEffectiveUrl"|"RedirectedPrerenderingUrlHasEffectiveUrl"|"ActivationUrlHasEffectiveUrl"|"JavaScriptInterfaceAdded"|"JavaScriptInterfaceRemoved"|"AllPrerenderingCanceled"|"WindowClosed"|"SlowNetwork"|"OtherPrerenderedPageActivated"|"V8OptimizerDisabled"|"PrerenderFailedDuringPrefetch"|"BrowsingDataRemoved";
17548
17996
  /**
17549
17997
  * Preloading status values, see also PreloadingTriggeringOutcome. This
17550
17998
  status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
@@ -17554,7 +18002,7 @@ status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
17554
18002
  * TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and
17555
18003
  filter out the ones that aren't necessary to the developers.
17556
18004
  */
17557
- export type PrefetchStatus = "PrefetchAllowed"|"PrefetchFailedIneligibleRedirect"|"PrefetchFailedInvalidRedirect"|"PrefetchFailedMIMENotSupported"|"PrefetchFailedNetError"|"PrefetchFailedNon2XX"|"PrefetchEvictedAfterCandidateRemoved"|"PrefetchEvictedForNewerPrefetch"|"PrefetchHeldback"|"PrefetchIneligibleRetryAfter"|"PrefetchIsPrivacyDecoy"|"PrefetchIsStale"|"PrefetchNotEligibleBrowserContextOffTheRecord"|"PrefetchNotEligibleDataSaverEnabled"|"PrefetchNotEligibleExistingProxy"|"PrefetchNotEligibleHostIsNonUnique"|"PrefetchNotEligibleNonDefaultStoragePartition"|"PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy"|"PrefetchNotEligibleSchemeIsNotHttps"|"PrefetchNotEligibleUserHasCookies"|"PrefetchNotEligibleUserHasServiceWorker"|"PrefetchNotEligibleBatterySaverEnabled"|"PrefetchNotEligiblePreloadingDisabled"|"PrefetchNotFinishedInTime"|"PrefetchNotStarted"|"PrefetchNotUsedCookiesChanged"|"PrefetchProxyNotAvailable"|"PrefetchResponseUsed"|"PrefetchSuccessfulButNotUsed"|"PrefetchNotUsedProbeFailed";
18005
+ export type PrefetchStatus = "PrefetchAllowed"|"PrefetchFailedIneligibleRedirect"|"PrefetchFailedInvalidRedirect"|"PrefetchFailedMIMENotSupported"|"PrefetchFailedNetError"|"PrefetchFailedNon2XX"|"PrefetchEvictedAfterBrowsingDataRemoved"|"PrefetchEvictedAfterCandidateRemoved"|"PrefetchEvictedForNewerPrefetch"|"PrefetchHeldback"|"PrefetchIneligibleRetryAfter"|"PrefetchIsPrivacyDecoy"|"PrefetchIsStale"|"PrefetchNotEligibleBrowserContextOffTheRecord"|"PrefetchNotEligibleDataSaverEnabled"|"PrefetchNotEligibleExistingProxy"|"PrefetchNotEligibleHostIsNonUnique"|"PrefetchNotEligibleNonDefaultStoragePartition"|"PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy"|"PrefetchNotEligibleSchemeIsNotHttps"|"PrefetchNotEligibleUserHasCookies"|"PrefetchNotEligibleUserHasServiceWorker"|"PrefetchNotEligibleUserHasServiceWorkerNoFetchHandler"|"PrefetchNotEligibleRedirectFromServiceWorker"|"PrefetchNotEligibleRedirectToServiceWorker"|"PrefetchNotEligibleBatterySaverEnabled"|"PrefetchNotEligiblePreloadingDisabled"|"PrefetchNotFinishedInTime"|"PrefetchNotStarted"|"PrefetchNotUsedCookiesChanged"|"PrefetchProxyNotAvailable"|"PrefetchResponseUsed"|"PrefetchSuccessfulButNotUsed"|"PrefetchNotUsedProbeFailed";
17558
18006
  /**
17559
18007
  * Information of headers to be displayed when the header mismatch occurred.
17560
18008
  */
@@ -17563,7 +18011,7 @@ filter out the ones that aren't necessary to the developers.
17563
18011
  initialValue?: string;
17564
18012
  activationValue?: string;
17565
18013
  }
17566
-
18014
+
17567
18015
  /**
17568
18016
  * Upsert. Currently, it is only emitted when a rule set added.
17569
18017
  */
@@ -17620,625 +18068,125 @@ that is incompatible with prerender and has caused the cancellation of the attem
17620
18068
  loaderId: Network.LoaderId;
17621
18069
  preloadingAttemptSources: PreloadingAttemptSource[];
17622
18070
  }
17623
-
18071
+
17624
18072
  export type enableParameters = {
17625
18073
  }
17626
- export type enableReturnValue = {
17627
- }
17628
- export type disableParameters = {
17629
- }
17630
- export type disableReturnValue = {
17631
- }
17632
- }
17633
-
17634
- /**
17635
- * This domain allows interacting with the FedCM dialog.
17636
- */
17637
- export module FedCm {
17638
- /**
17639
- * Whether this is a sign-up or sign-in action for this account, i.e.
17640
- whether this account has ever been used to sign in to this RP before.
17641
- */
17642
- export type LoginState = "SignIn"|"SignUp";
17643
- /**
17644
- * The types of FedCM dialogs.
17645
- */
17646
- export type DialogType = "AccountChooser"|"AutoReauthn"|"ConfirmIdpLogin"|"Error";
17647
- /**
17648
- * The buttons on the FedCM dialog.
17649
- */
17650
- export type DialogButton = "ConfirmIdpLoginContinue"|"ErrorGotIt"|"ErrorMoreDetails";
17651
- /**
17652
- * The URLs that each account has
17653
- */
17654
- export type AccountUrlType = "TermsOfService"|"PrivacyPolicy";
17655
- /**
17656
- * Corresponds to IdentityRequestAccount
17657
- */
17658
- export interface Account {
17659
- accountId: string;
17660
- email: string;
17661
- name: string;
17662
- givenName: string;
17663
- pictureUrl: string;
17664
- idpConfigUrl: string;
17665
- idpLoginUrl: string;
17666
- loginState: LoginState;
17667
- /**
17668
- * These two are only set if the loginState is signUp
17669
- */
17670
- termsOfServiceUrl?: string;
17671
- privacyPolicyUrl?: string;
17672
- }
17673
-
17674
- export type dialogShownPayload = {
17675
- dialogId: string;
17676
- dialogType: DialogType;
17677
- accounts: Account[];
17678
- /**
17679
- * These exist primarily so that the caller can verify the
17680
- RP context was used appropriately.
17681
- */
17682
- title: string;
17683
- subtitle?: string;
17684
- }
17685
- /**
17686
- * Triggered when a dialog is closed, either by user action, JS abort,
17687
- or a command below.
17688
- */
17689
- export type dialogClosedPayload = {
17690
- dialogId: string;
17691
- }
17692
-
17693
- export type enableParameters = {
17694
- /**
17695
- * Allows callers to disable the promise rejection delay that would
17696
- normally happen, if this is unimportant to what's being tested.
17697
- (step 4 of https://fedidcg.github.io/FedCM/#browser-api-rp-sign-in)
17698
- */
17699
- disableRejectionDelay?: boolean;
17700
- }
17701
- export type enableReturnValue = {
17702
- }
17703
- export type disableParameters = {
17704
- }
17705
- export type disableReturnValue = {
17706
- }
17707
- export type selectAccountParameters = {
17708
- dialogId: string;
17709
- accountIndex: number;
17710
- }
17711
- export type selectAccountReturnValue = {
17712
- }
17713
- export type clickDialogButtonParameters = {
17714
- dialogId: string;
17715
- dialogButton: DialogButton;
17716
- }
17717
- export type clickDialogButtonReturnValue = {
17718
- }
17719
- export type openUrlParameters = {
17720
- dialogId: string;
17721
- accountIndex: number;
17722
- accountUrlType: AccountUrlType;
17723
- }
17724
- export type openUrlReturnValue = {
17725
- }
17726
- export type dismissDialogParameters = {
17727
- dialogId: string;
17728
- triggerCooldown?: boolean;
17729
- }
17730
- export type dismissDialogReturnValue = {
17731
- }
17732
- /**
17733
- * Resets the cooldown time, if any, to allow the next FedCM call to show
17734
- a dialog even if one was recently dismissed by the user.
17735
- */
17736
- export type resetCooldownParameters = {
17737
- }
17738
- export type resetCooldownReturnValue = {
17739
- }
17740
- }
17741
-
17742
- /**
17743
- * This domain allows interacting with the browser to control PWAs.
17744
- */
17745
- export module PWA {
17746
- /**
17747
- * The following types are the replica of
17748
- https://crsrc.org/c/chrome/browser/web_applications/proto/web_app_os_integration_state.proto;drc=9910d3be894c8f142c977ba1023f30a656bc13fc;l=67
17749
- */
17750
- export interface FileHandlerAccept {
17751
- /**
17752
- * New name of the mimetype according to
17753
- https://www.iana.org/assignments/media-types/media-types.xhtml
17754
- */
17755
- mediaType: string;
17756
- fileExtensions: string[];
17757
- }
17758
- export interface FileHandler {
17759
- action: string;
17760
- accepts: FileHandlerAccept[];
17761
- displayName: string;
17762
- }
17763
- /**
17764
- * If user prefers opening the app in browser or an app window.
17765
- */
17766
- export type DisplayMode = "standalone"|"browser";
17767
-
17768
-
17769
- /**
17770
- * Returns the following OS state for the given manifest id.
17771
- */
17772
- export type getOsAppStateParameters = {
17773
- /**
17774
- * The id from the webapp's manifest file, commonly it's the url of the
17775
- site installing the webapp. See
17776
- https://web.dev/learn/pwa/web-app-manifest.
17777
- */
17778
- manifestId: string;
17779
- }
17780
- export type getOsAppStateReturnValue = {
17781
- badgeCount: number;
17782
- fileHandlers: FileHandler[];
17783
- }
17784
- /**
17785
- * Installs the given manifest identity, optionally using the given install_url
17786
- or IWA bundle location.
17787
-
17788
- TODO(crbug.com/337872319) Support IWA to meet the following specific
17789
- requirement.
17790
- IWA-specific install description: If the manifest_id is isolated-app://,
17791
- install_url_or_bundle_url is required, and can be either an http(s) URL or
17792
- file:// URL pointing to a signed web bundle (.swbn). The .swbn file's
17793
- signing key must correspond to manifest_id. If Chrome is not in IWA dev
17794
- mode, the installation will fail, regardless of the state of the allowlist.
17795
- */
17796
- export type installParameters = {
17797
- manifestId: string;
17798
- /**
17799
- * The location of the app or bundle overriding the one derived from the
17800
- manifestId.
17801
- */
17802
- installUrlOrBundleUrl?: string;
17803
- }
17804
- export type installReturnValue = {
17805
- }
17806
- /**
17807
- * Uninstalls the given manifest_id and closes any opened app windows.
17808
- */
17809
- export type uninstallParameters = {
17810
- manifestId: string;
17811
- }
17812
- export type uninstallReturnValue = {
17813
- }
17814
- /**
17815
- * Launches the installed web app, or an url in the same web app instead of the
17816
- default start url if it is provided. Returns a page Target.TargetID which
17817
- can be used to attach to via Target.attachToTarget or similar APIs.
17818
- */
17819
- export type launchParameters = {
17820
- manifestId: string;
17821
- url?: string;
17822
- }
17823
- export type launchReturnValue = {
17824
- /**
17825
- * ID of the tab target created as a result.
17826
- */
17827
- targetId: Target.TargetID;
17828
- }
17829
- /**
17830
- * Opens one or more local files from an installed web app identified by its
17831
- manifestId. The web app needs to have file handlers registered to process
17832
- the files. The API returns one or more page Target.TargetIDs which can be
17833
- used to attach to via Target.attachToTarget or similar APIs.
17834
- If some files in the parameters cannot be handled by the web app, they will
17835
- be ignored. If none of the files can be handled, this API returns an error.
17836
- If no files are provided as the parameter, this API also returns an error.
17837
-
17838
- According to the definition of the file handlers in the manifest file, one
17839
- Target.TargetID may represent a page handling one or more files. The order
17840
- of the returned Target.TargetIDs is not guaranteed.
17841
-
17842
- TODO(crbug.com/339454034): Check the existences of the input files.
17843
- */
17844
- export type launchFilesInAppParameters = {
17845
- manifestId: string;
17846
- files: string[];
17847
- }
17848
- export type launchFilesInAppReturnValue = {
17849
- /**
17850
- * IDs of the tab targets created as the result.
17851
- */
17852
- targetIds: Target.TargetID[];
17853
- }
17854
- /**
17855
- * Opens the current page in its web app identified by the manifest id, needs
17856
- to be called on a page target. This function returns immediately without
17857
- waiting for the app to finish loading.
17858
- */
17859
- export type openCurrentPageInAppParameters = {
17860
- manifestId: string;
17861
- }
17862
- export type openCurrentPageInAppReturnValue = {
17863
- }
17864
- /**
17865
- * Changes user settings of the web app identified by its manifestId. If the
17866
- app was not installed, this command returns an error. Unset parameters will
17867
- be ignored; unrecognized values will cause an error.
17868
-
17869
- Unlike the ones defined in the manifest files of the web apps, these
17870
- settings are provided by the browser and controlled by the users, they
17871
- impact the way the browser handling the web apps.
17872
-
17873
- See the comment of each parameter.
17874
- */
17875
- export type changeAppUserSettingsParameters = {
17876
- manifestId: string;
17877
- /**
17878
- * If user allows the links clicked on by the user in the app's scope, or
17879
- extended scope if the manifest has scope extensions and the flags
17880
- `DesktopPWAsLinkCapturingWithScopeExtensions` and
17881
- `WebAppEnableScopeExtensions` are enabled.
17882
-
17883
- Note, the API does not support resetting the linkCapturing to the
17884
- initial value, uninstalling and installing the web app again will reset
17885
- it.
17886
-
17887
- TODO(crbug.com/339453269): Setting this value on ChromeOS is not
17888
- supported yet.
17889
- */
17890
- linkCapturing?: boolean;
17891
- displayMode?: DisplayMode;
17892
- }
17893
- export type changeAppUserSettingsReturnValue = {
17894
- }
17895
- }
17896
-
17897
- /**
17898
- * This domain allows configuring virtual Bluetooth devices to test
17899
- the web-bluetooth API.
17900
- */
17901
- export module BluetoothEmulation {
17902
- /**
17903
- * Indicates the various states of Central.
17904
- */
17905
- export type CentralState = "absent"|"powered-off"|"powered-on";
17906
- /**
17907
- * Stores the manufacturer data
17908
- */
17909
- export interface ManufacturerData {
17910
- /**
17911
- * Company identifier
17912
- https://bitbucket.org/bluetooth-SIG/public/src/main/assigned_numbers/company_identifiers/company_identifiers.yaml
17913
- https://usb.org/developers
17914
- */
17915
- key: number;
17916
- /**
17917
- * Manufacturer-specific data
17918
- */
17919
- data: binary;
17920
- }
17921
- /**
17922
- * Stores the byte data of the advertisement packet sent by a Bluetooth device.
17923
- */
17924
- export interface ScanRecord {
17925
- name?: string;
17926
- uuids?: string[];
17927
- /**
17928
- * Stores the external appearance description of the device.
17929
- */
17930
- appearance?: number;
17931
- /**
17932
- * Stores the transmission power of a broadcasting device.
17933
- */
17934
- txPower?: number;
17935
- /**
17936
- * Key is the company identifier and the value is an array of bytes of
17937
- manufacturer specific data.
17938
- */
17939
- manufacturerData?: ManufacturerData[];
17940
- }
17941
- /**
17942
- * Stores the advertisement packet information that is sent by a Bluetooth device.
17943
- */
17944
- export interface ScanEntry {
17945
- deviceAddress: string;
17946
- rssi: number;
17947
- scanRecord: ScanRecord;
17948
- }
17949
-
17950
-
17951
- /**
17952
- * Enable the BluetoothEmulation domain.
17953
- */
17954
- export type enableParameters = {
17955
- /**
17956
- * State of the simulated central.
17957
- */
17958
- state: CentralState;
17959
- }
17960
- export type enableReturnValue = {
17961
- }
17962
- /**
17963
- * Disable the BluetoothEmulation domain.
17964
- */
17965
- export type disableParameters = {
17966
- }
17967
- export type disableReturnValue = {
17968
- }
17969
- /**
17970
- * Simulates a peripheral with |address|, |name| and |knownServiceUuids|
17971
- that has already been connected to the system.
17972
- */
17973
- export type simulatePreconnectedPeripheralParameters = {
17974
- address: string;
17975
- name: string;
17976
- manufacturerData: ManufacturerData[];
17977
- knownServiceUuids: string[];
17978
- }
17979
- export type simulatePreconnectedPeripheralReturnValue = {
17980
- }
17981
- /**
17982
- * Simulates an advertisement packet described in |entry| being received by
17983
- the central.
17984
- */
17985
- export type simulateAdvertisementParameters = {
17986
- entry: ScanEntry;
17987
- }
17988
- export type simulateAdvertisementReturnValue = {
17989
- }
17990
- }
17991
-
17992
- /**
17993
- * This domain allows interacting with the browser to control PWAs.
17994
- */
17995
- export module PWA {
17996
- /**
17997
- * The following types are the replica of
17998
- https://crsrc.org/c/chrome/browser/web_applications/proto/web_app_os_integration_state.proto;drc=9910d3be894c8f142c977ba1023f30a656bc13fc;l=67
17999
- */
18000
- export interface FileHandlerAccept {
18001
- /**
18002
- * New name of the mimetype according to
18003
- https://www.iana.org/assignments/media-types/media-types.xhtml
18004
- */
18005
- mediaType: string;
18006
- fileExtensions: string[];
18007
- }
18008
- export interface FileHandler {
18009
- action: string;
18010
- accepts: FileHandlerAccept[];
18011
- displayName: string;
18012
- }
18013
- /**
18014
- * If user prefers opening the app in browser or an app window.
18015
- */
18016
- export type DisplayMode = "standalone"|"browser";
18017
-
18018
-
18019
- /**
18020
- * Returns the following OS state for the given manifest id.
18021
- */
18022
- export type getOsAppStateParameters = {
18023
- /**
18024
- * The id from the webapp's manifest file, commonly it's the url of the
18025
- site installing the webapp. See
18026
- https://web.dev/learn/pwa/web-app-manifest.
18027
- */
18028
- manifestId: string;
18029
- }
18030
- export type getOsAppStateReturnValue = {
18031
- badgeCount: number;
18032
- fileHandlers: FileHandler[];
18033
- }
18034
- /**
18035
- * Installs the given manifest identity, optionally using the given install_url
18036
- or IWA bundle location.
18037
-
18038
- TODO(crbug.com/337872319) Support IWA to meet the following specific
18039
- requirement.
18040
- IWA-specific install description: If the manifest_id is isolated-app://,
18041
- install_url_or_bundle_url is required, and can be either an http(s) URL or
18042
- file:// URL pointing to a signed web bundle (.swbn). The .swbn file's
18043
- signing key must correspond to manifest_id. If Chrome is not in IWA dev
18044
- mode, the installation will fail, regardless of the state of the allowlist.
18045
- */
18046
- export type installParameters = {
18047
- manifestId: string;
18048
- /**
18049
- * The location of the app or bundle overriding the one derived from the
18050
- manifestId.
18051
- */
18052
- installUrlOrBundleUrl?: string;
18053
- }
18054
- export type installReturnValue = {
18055
- }
18056
- /**
18057
- * Uninstalls the given manifest_id and closes any opened app windows.
18058
- */
18059
- export type uninstallParameters = {
18060
- manifestId: string;
18061
- }
18062
- export type uninstallReturnValue = {
18063
- }
18064
- /**
18065
- * Launches the installed web app, or an url in the same web app instead of the
18066
- default start url if it is provided. Returns a page Target.TargetID which
18067
- can be used to attach to via Target.attachToTarget or similar APIs.
18068
- */
18069
- export type launchParameters = {
18070
- manifestId: string;
18071
- url?: string;
18072
- }
18073
- export type launchReturnValue = {
18074
- /**
18075
- * ID of the tab target created as a result.
18076
- */
18077
- targetId: Target.TargetID;
18078
- }
18079
- /**
18080
- * Opens one or more local files from an installed web app identified by its
18081
- manifestId. The web app needs to have file handlers registered to process
18082
- the files. The API returns one or more page Target.TargetIDs which can be
18083
- used to attach to via Target.attachToTarget or similar APIs.
18084
- If some files in the parameters cannot be handled by the web app, they will
18085
- be ignored. If none of the files can be handled, this API returns an error.
18086
- If no files are provided as the parameter, this API also returns an error.
18087
-
18088
- According to the definition of the file handlers in the manifest file, one
18089
- Target.TargetID may represent a page handling one or more files. The order
18090
- of the returned Target.TargetIDs is not guaranteed.
18091
-
18092
- TODO(crbug.com/339454034): Check the existences of the input files.
18093
- */
18094
- export type launchFilesInAppParameters = {
18095
- manifestId: string;
18096
- files: string[];
18097
- }
18098
- export type launchFilesInAppReturnValue = {
18099
- /**
18100
- * IDs of the tab targets created as the result.
18101
- */
18102
- targetIds: Target.TargetID[];
18103
- }
18104
- /**
18105
- * Opens the current page in its web app identified by the manifest id, needs
18106
- to be called on a page target. This function returns immediately without
18107
- waiting for the app to finish loading.
18108
- */
18109
- export type openCurrentPageInAppParameters = {
18110
- manifestId: string;
18111
- }
18112
- export type openCurrentPageInAppReturnValue = {
18113
- }
18114
- /**
18115
- * Changes user settings of the web app identified by its manifestId. If the
18116
- app was not installed, this command returns an error. Unset parameters will
18117
- be ignored; unrecognized values will cause an error.
18118
-
18119
- Unlike the ones defined in the manifest files of the web apps, these
18120
- settings are provided by the browser and controlled by the users, they
18121
- impact the way the browser handling the web apps.
18122
-
18123
- See the comment of each parameter.
18124
- */
18125
- export type changeAppUserSettingsParameters = {
18126
- manifestId: string;
18127
- /**
18128
- * If user allows the links clicked on by the user in the app's scope, or
18129
- extended scope if the manifest has scope extensions and the flags
18130
- `DesktopPWAsLinkCapturingWithScopeExtensions` and
18131
- `WebAppEnableScopeExtensions` are enabled.
18132
-
18133
- Note, the API does not support resetting the linkCapturing to the
18134
- initial value, uninstalling and installing the web app again will reset
18135
- it.
18136
-
18137
- TODO(crbug.com/339453269): Setting this value on ChromeOS is not
18138
- supported yet.
18139
- */
18140
- linkCapturing?: boolean;
18141
- displayMode?: DisplayMode;
18074
+ export type enableReturnValue = {
18142
18075
  }
18143
- export type changeAppUserSettingsReturnValue = {
18076
+ export type disableParameters = {
18077
+ }
18078
+ export type disableReturnValue = {
18144
18079
  }
18145
18080
  }
18146
-
18081
+
18147
18082
  /**
18148
- * This domain allows configuring virtual Bluetooth devices to test
18149
- the web-bluetooth API.
18083
+ * This domain allows interacting with the FedCM dialog.
18150
18084
  */
18151
- export module BluetoothEmulation {
18085
+ export module FedCm {
18152
18086
  /**
18153
- * Indicates the various states of Central.
18087
+ * Whether this is a sign-up or sign-in action for this account, i.e.
18088
+ whether this account has ever been used to sign in to this RP before.
18154
18089
  */
18155
- export type CentralState = "absent"|"powered-off"|"powered-on";
18090
+ export type LoginState = "SignIn"|"SignUp";
18156
18091
  /**
18157
- * Stores the manufacturer data
18092
+ * The types of FedCM dialogs.
18158
18093
  */
18159
- export interface ManufacturerData {
18160
- /**
18161
- * Company identifier
18162
- https://bitbucket.org/bluetooth-SIG/public/src/main/assigned_numbers/company_identifiers/company_identifiers.yaml
18163
- https://usb.org/developers
18164
- */
18165
- key: number;
18166
- /**
18167
- * Manufacturer-specific data
18168
- */
18169
- data: binary;
18170
- }
18094
+ export type DialogType = "AccountChooser"|"AutoReauthn"|"ConfirmIdpLogin"|"Error";
18171
18095
  /**
18172
- * Stores the byte data of the advertisement packet sent by a Bluetooth device.
18096
+ * The buttons on the FedCM dialog.
18173
18097
  */
18174
- export interface ScanRecord {
18175
- name?: string;
18176
- uuids?: string[];
18177
- /**
18178
- * Stores the external appearance description of the device.
18179
- */
18180
- appearance?: number;
18098
+ export type DialogButton = "ConfirmIdpLoginContinue"|"ErrorGotIt"|"ErrorMoreDetails";
18099
+ /**
18100
+ * The URLs that each account has
18101
+ */
18102
+ export type AccountUrlType = "TermsOfService"|"PrivacyPolicy";
18103
+ /**
18104
+ * Corresponds to IdentityRequestAccount
18105
+ */
18106
+ export interface Account {
18107
+ accountId: string;
18108
+ email: string;
18109
+ name: string;
18110
+ givenName: string;
18111
+ pictureUrl: string;
18112
+ idpConfigUrl: string;
18113
+ idpLoginUrl: string;
18114
+ loginState: LoginState;
18181
18115
  /**
18182
- * Stores the transmission power of a broadcasting device.
18116
+ * These two are only set if the loginState is signUp
18183
18117
  */
18184
- txPower?: number;
18118
+ termsOfServiceUrl?: string;
18119
+ privacyPolicyUrl?: string;
18120
+ }
18121
+
18122
+ export type dialogShownPayload = {
18123
+ dialogId: string;
18124
+ dialogType: DialogType;
18125
+ accounts: Account[];
18185
18126
  /**
18186
- * Key is the company identifier and the value is an array of bytes of
18187
- manufacturer specific data.
18127
+ * These exist primarily so that the caller can verify the
18128
+ RP context was used appropriately.
18188
18129
  */
18189
- manufacturerData?: ManufacturerData[];
18130
+ title: string;
18131
+ subtitle?: string;
18190
18132
  }
18191
18133
  /**
18192
- * Stores the advertisement packet information that is sent by a Bluetooth device.
18134
+ * Triggered when a dialog is closed, either by user action, JS abort,
18135
+ or a command below.
18193
18136
  */
18194
- export interface ScanEntry {
18195
- deviceAddress: string;
18196
- rssi: number;
18197
- scanRecord: ScanRecord;
18137
+ export type dialogClosedPayload = {
18138
+ dialogId: string;
18198
18139
  }
18199
-
18200
-
18201
- /**
18202
- * Enable the BluetoothEmulation domain.
18203
- */
18140
+
18204
18141
  export type enableParameters = {
18205
18142
  /**
18206
- * State of the simulated central.
18143
+ * Allows callers to disable the promise rejection delay that would
18144
+ normally happen, if this is unimportant to what's being tested.
18145
+ (step 4 of https://fedidcg.github.io/FedCM/#browser-api-rp-sign-in)
18207
18146
  */
18208
- state: CentralState;
18147
+ disableRejectionDelay?: boolean;
18209
18148
  }
18210
18149
  export type enableReturnValue = {
18211
18150
  }
18212
- /**
18213
- * Disable the BluetoothEmulation domain.
18214
- */
18215
18151
  export type disableParameters = {
18216
18152
  }
18217
18153
  export type disableReturnValue = {
18218
18154
  }
18219
- /**
18220
- * Simulates a peripheral with |address|, |name| and |knownServiceUuids|
18221
- that has already been connected to the system.
18222
- */
18223
- export type simulatePreconnectedPeripheralParameters = {
18224
- address: string;
18225
- name: string;
18226
- manufacturerData: ManufacturerData[];
18227
- knownServiceUuids: string[];
18155
+ export type selectAccountParameters = {
18156
+ dialogId: string;
18157
+ accountIndex: number;
18228
18158
  }
18229
- export type simulatePreconnectedPeripheralReturnValue = {
18159
+ export type selectAccountReturnValue = {
18160
+ }
18161
+ export type clickDialogButtonParameters = {
18162
+ dialogId: string;
18163
+ dialogButton: DialogButton;
18164
+ }
18165
+ export type clickDialogButtonReturnValue = {
18166
+ }
18167
+ export type openUrlParameters = {
18168
+ dialogId: string;
18169
+ accountIndex: number;
18170
+ accountUrlType: AccountUrlType;
18171
+ }
18172
+ export type openUrlReturnValue = {
18173
+ }
18174
+ export type dismissDialogParameters = {
18175
+ dialogId: string;
18176
+ triggerCooldown?: boolean;
18177
+ }
18178
+ export type dismissDialogReturnValue = {
18230
18179
  }
18231
18180
  /**
18232
- * Simulates an advertisement packet described in |entry| being received by
18233
- the central.
18181
+ * Resets the cooldown time, if any, to allow the next FedCM call to show
18182
+ a dialog even if one was recently dismissed by the user.
18234
18183
  */
18235
- export type simulateAdvertisementParameters = {
18236
- entry: ScanEntry;
18184
+ export type resetCooldownParameters = {
18237
18185
  }
18238
- export type simulateAdvertisementReturnValue = {
18186
+ export type resetCooldownReturnValue = {
18239
18187
  }
18240
18188
  }
18241
-
18189
+
18242
18190
  /**
18243
18191
  * This domain allows interacting with the browser to control PWAs.
18244
18192
  */
@@ -18264,8 +18212,8 @@ https://www.iana.org/assignments/media-types/media-types.xhtml
18264
18212
  * If user prefers opening the app in browser or an app window.
18265
18213
  */
18266
18214
  export type DisplayMode = "standalone"|"browser";
18267
-
18268
-
18215
+
18216
+
18269
18217
  /**
18270
18218
  * Returns the following OS state for the given manifest id.
18271
18219
  */
@@ -18282,15 +18230,30 @@ https://web.dev/learn/pwa/web-app-manifest.
18282
18230
  fileHandlers: FileHandler[];
18283
18231
  }
18284
18232
  /**
18285
- * Installs the given manifest identity, optionally using the given install_url
18286
- or IWA bundle location.
18233
+ * Installs the given manifest identity, optionally using the given installUrlOrBundleUrl
18234
+
18235
+ IWA-specific install description:
18236
+ manifestId corresponds to isolated-app:// + web_package::SignedWebBundleId
18237
+
18238
+ File installation mode:
18239
+ The installUrlOrBundleUrl can be either file:// or http(s):// pointing
18240
+ to a signed web bundle (.swbn). In this case SignedWebBundleId must correspond to
18241
+ The .swbn file's signing key.
18287
18242
 
18288
- TODO(crbug.com/337872319) Support IWA to meet the following specific
18289
- requirement.
18290
- IWA-specific install description: If the manifest_id is isolated-app://,
18291
- install_url_or_bundle_url is required, and can be either an http(s) URL or
18292
- file:// URL pointing to a signed web bundle (.swbn). The .swbn file's
18293
- signing key must correspond to manifest_id. If Chrome is not in IWA dev
18243
+ Dev proxy installation mode:
18244
+ installUrlOrBundleUrl must be http(s):// that serves dev mode IWA.
18245
+ web_package::SignedWebBundleId must be of type dev proxy.
18246
+
18247
+ The advantage of dev proxy mode is that all changes to IWA
18248
+ automatically will be reflected in the running app without
18249
+ reinstallation.
18250
+
18251
+ To generate bundle id for proxy mode:
18252
+ 1. Generate 32 random bytes.
18253
+ 2. Add a specific suffix 0x00 at the end.
18254
+ 3. Encode the entire sequence using Base32 without padding.
18255
+
18256
+ If Chrome is not in IWA dev
18294
18257
  mode, the installation will fail, regardless of the state of the allowlist.
18295
18258
  */
18296
18259
  export type installParameters = {
@@ -18393,7 +18356,7 @@ supported yet.
18393
18356
  export type changeAppUserSettingsReturnValue = {
18394
18357
  }
18395
18358
  }
18396
-
18359
+
18397
18360
  /**
18398
18361
  * This domain allows configuring virtual Bluetooth devices to test
18399
18362
  the web-bluetooth API.
@@ -18403,6 +18366,22 @@ the web-bluetooth API.
18403
18366
  * Indicates the various states of Central.
18404
18367
  */
18405
18368
  export type CentralState = "absent"|"powered-off"|"powered-on";
18369
+ /**
18370
+ * Indicates the various types of GATT event.
18371
+ */
18372
+ export type GATTOperationType = "connection"|"discovery";
18373
+ /**
18374
+ * Indicates the various types of characteristic write.
18375
+ */
18376
+ export type CharacteristicWriteType = "write-default-deprecated"|"write-with-response"|"write-without-response";
18377
+ /**
18378
+ * Indicates the various types of characteristic operation.
18379
+ */
18380
+ export type CharacteristicOperationType = "read"|"write"|"subscribe-to-notifications"|"unsubscribe-from-notifications";
18381
+ /**
18382
+ * Indicates the various types of descriptor operation.
18383
+ */
18384
+ export type DescriptorOperationType = "read"|"write";
18406
18385
  /**
18407
18386
  * Stores the manufacturer data
18408
18387
  */
@@ -18446,8 +18425,51 @@ manufacturer specific data.
18446
18425
  rssi: number;
18447
18426
  scanRecord: ScanRecord;
18448
18427
  }
18449
-
18450
-
18428
+ /**
18429
+ * Describes the properties of a characteristic. This follows Bluetooth Core
18430
+ Specification BT 4.2 Vol 3 Part G 3.3.1. Characteristic Properties.
18431
+ */
18432
+ export interface CharacteristicProperties {
18433
+ broadcast?: boolean;
18434
+ read?: boolean;
18435
+ writeWithoutResponse?: boolean;
18436
+ write?: boolean;
18437
+ notify?: boolean;
18438
+ indicate?: boolean;
18439
+ authenticatedSignedWrites?: boolean;
18440
+ extendedProperties?: boolean;
18441
+ }
18442
+
18443
+ /**
18444
+ * Event for when a GATT operation of |type| to the peripheral with |address|
18445
+ happened.
18446
+ */
18447
+ export type gattOperationReceivedPayload = {
18448
+ address: string;
18449
+ type: GATTOperationType;
18450
+ }
18451
+ /**
18452
+ * Event for when a characteristic operation of |type| to the characteristic
18453
+ respresented by |characteristicId| happened. |data| and |writeType| is
18454
+ expected to exist when |type| is write.
18455
+ */
18456
+ export type characteristicOperationReceivedPayload = {
18457
+ characteristicId: string;
18458
+ type: CharacteristicOperationType;
18459
+ data?: binary;
18460
+ writeType?: CharacteristicWriteType;
18461
+ }
18462
+ /**
18463
+ * Event for when a descriptor operation of |type| to the descriptor
18464
+ respresented by |descriptorId| happened. |data| is expected to exist when
18465
+ |type| is write.
18466
+ */
18467
+ export type descriptorOperationReceivedPayload = {
18468
+ descriptorId: string;
18469
+ type: DescriptorOperationType;
18470
+ data?: binary;
18471
+ }
18472
+
18451
18473
  /**
18452
18474
  * Enable the BluetoothEmulation domain.
18453
18475
  */
@@ -18456,9 +18478,24 @@ manufacturer specific data.
18456
18478
  * State of the simulated central.
18457
18479
  */
18458
18480
  state: CentralState;
18481
+ /**
18482
+ * If the simulated central supports low-energy.
18483
+ */
18484
+ leSupported: boolean;
18459
18485
  }
18460
18486
  export type enableReturnValue = {
18461
18487
  }
18488
+ /**
18489
+ * Set the state of the simulated central.
18490
+ */
18491
+ export type setSimulatedCentralStateParameters = {
18492
+ /**
18493
+ * State of the simulated central.
18494
+ */
18495
+ state: CentralState;
18496
+ }
18497
+ export type setSimulatedCentralStateReturnValue = {
18498
+ }
18462
18499
  /**
18463
18500
  * Disable the BluetoothEmulation domain.
18464
18501
  */
@@ -18487,8 +18524,125 @@ the central.
18487
18524
  }
18488
18525
  export type simulateAdvertisementReturnValue = {
18489
18526
  }
18527
+ /**
18528
+ * Simulates the response code from the peripheral with |address| for a
18529
+ GATT operation of |type|. The |code| value follows the HCI Error Codes from
18530
+ Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
18531
+ */
18532
+ export type simulateGATTOperationResponseParameters = {
18533
+ address: string;
18534
+ type: GATTOperationType;
18535
+ code: number;
18536
+ }
18537
+ export type simulateGATTOperationResponseReturnValue = {
18538
+ }
18539
+ /**
18540
+ * Simulates the response from the characteristic with |characteristicId| for a
18541
+ characteristic operation of |type|. The |code| value follows the Error
18542
+ Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
18543
+ The |data| is expected to exist when simulating a successful read operation
18544
+ response.
18545
+ */
18546
+ export type simulateCharacteristicOperationResponseParameters = {
18547
+ characteristicId: string;
18548
+ type: CharacteristicOperationType;
18549
+ code: number;
18550
+ data?: binary;
18551
+ }
18552
+ export type simulateCharacteristicOperationResponseReturnValue = {
18553
+ }
18554
+ /**
18555
+ * Simulates the response from the descriptor with |descriptorId| for a
18556
+ descriptor operation of |type|. The |code| value follows the Error
18557
+ Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
18558
+ The |data| is expected to exist when simulating a successful read operation
18559
+ response.
18560
+ */
18561
+ export type simulateDescriptorOperationResponseParameters = {
18562
+ descriptorId: string;
18563
+ type: DescriptorOperationType;
18564
+ code: number;
18565
+ data?: binary;
18566
+ }
18567
+ export type simulateDescriptorOperationResponseReturnValue = {
18568
+ }
18569
+ /**
18570
+ * Adds a service with |serviceUuid| to the peripheral with |address|.
18571
+ */
18572
+ export type addServiceParameters = {
18573
+ address: string;
18574
+ serviceUuid: string;
18575
+ }
18576
+ export type addServiceReturnValue = {
18577
+ /**
18578
+ * An identifier that uniquely represents this service.
18579
+ */
18580
+ serviceId: string;
18581
+ }
18582
+ /**
18583
+ * Removes the service respresented by |serviceId| from the simulated central.
18584
+ */
18585
+ export type removeServiceParameters = {
18586
+ serviceId: string;
18587
+ }
18588
+ export type removeServiceReturnValue = {
18589
+ }
18590
+ /**
18591
+ * Adds a characteristic with |characteristicUuid| and |properties| to the
18592
+ service represented by |serviceId|.
18593
+ */
18594
+ export type addCharacteristicParameters = {
18595
+ serviceId: string;
18596
+ characteristicUuid: string;
18597
+ properties: CharacteristicProperties;
18598
+ }
18599
+ export type addCharacteristicReturnValue = {
18600
+ /**
18601
+ * An identifier that uniquely represents this characteristic.
18602
+ */
18603
+ characteristicId: string;
18604
+ }
18605
+ /**
18606
+ * Removes the characteristic respresented by |characteristicId| from the
18607
+ simulated central.
18608
+ */
18609
+ export type removeCharacteristicParameters = {
18610
+ characteristicId: string;
18611
+ }
18612
+ export type removeCharacteristicReturnValue = {
18613
+ }
18614
+ /**
18615
+ * Adds a descriptor with |descriptorUuid| to the characteristic respresented
18616
+ by |characteristicId|.
18617
+ */
18618
+ export type addDescriptorParameters = {
18619
+ characteristicId: string;
18620
+ descriptorUuid: string;
18621
+ }
18622
+ export type addDescriptorReturnValue = {
18623
+ /**
18624
+ * An identifier that uniquely represents this descriptor.
18625
+ */
18626
+ descriptorId: string;
18627
+ }
18628
+ /**
18629
+ * Removes the descriptor with |descriptorId| from the simulated central.
18630
+ */
18631
+ export type removeDescriptorParameters = {
18632
+ descriptorId: string;
18633
+ }
18634
+ export type removeDescriptorReturnValue = {
18635
+ }
18636
+ /**
18637
+ * Simulates a GATT disconnection from the peripheral with |address|.
18638
+ */
18639
+ export type simulateGATTDisconnectionParameters = {
18640
+ address: string;
18641
+ }
18642
+ export type simulateGATTDisconnectionReturnValue = {
18643
+ }
18490
18644
  }
18491
-
18645
+
18492
18646
  /**
18493
18647
  * This domain is deprecated - use Runtime or Log instead.
18494
18648
  */
@@ -18522,7 +18676,7 @@ the central.
18522
18676
  */
18523
18677
  column?: number;
18524
18678
  }
18525
-
18679
+
18526
18680
  /**
18527
18681
  * Issued when new console message is added.
18528
18682
  */
@@ -18532,7 +18686,7 @@ the central.
18532
18686
  */
18533
18687
  message: ConsoleMessage;
18534
18688
  }
18535
-
18689
+
18536
18690
  /**
18537
18691
  * Does nothing.
18538
18692
  */
@@ -18556,7 +18710,7 @@ the central.
18556
18710
  export type enableReturnValue = {
18557
18711
  }
18558
18712
  }
18559
-
18713
+
18560
18714
  /**
18561
18715
  * Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing
18562
18716
  breakpoints, stepping through execution, exploring stack traces, etc.
@@ -18737,7 +18891,7 @@ variables as its properties.
18737
18891
  */
18738
18892
  location: Location;
18739
18893
  }
18740
-
18894
+
18741
18895
  /**
18742
18896
  * Fired when breakpoint is resolved to an actual script and location.
18743
18897
  Deprecated in favor of `resolvedBreakpoints` in the `scriptParsed` event.
@@ -18826,7 +18980,7 @@ Deprecated in favor of `resolvedBreakpoints` in the `scriptParsed` event.
18826
18980
  */
18827
18981
  hash: string;
18828
18982
  /**
18829
- * For Wasm modules, the content of the `build_id` custom section.
18983
+ * For Wasm modules, the content of the `build_id` custom section. For JavaScript the `debugId` magic comment.
18830
18984
  */
18831
18985
  buildId: string;
18832
18986
  /**
@@ -18904,7 +19058,7 @@ scripts upon enabling debugger.
18904
19058
  */
18905
19059
  hash: string;
18906
19060
  /**
18907
- * For Wasm modules, the content of the `build_id` custom section.
19061
+ * For Wasm modules, the content of the `build_id` custom section. For JavaScript the `debugId` magic comment.
18908
19062
  */
18909
19063
  buildId: string;
18910
19064
  /**
@@ -18958,7 +19112,7 @@ matches this script's URL or hash. Clients that use this list can ignore the
18958
19112
  */
18959
19113
  resolvedBreakpoints?: ResolvedBreakpoint[];
18960
19114
  }
18961
-
19115
+
18962
19116
  /**
18963
19117
  * Continues execution until specific location is reached.
18964
19118
  */
@@ -19587,7 +19741,7 @@ before next pause.
19587
19741
  export type stepOverReturnValue = {
19588
19742
  }
19589
19743
  }
19590
-
19744
+
19591
19745
  export module HeapProfiler {
19592
19746
  /**
19593
19747
  * Heap snapshot object id.
@@ -19639,7 +19793,7 @@ between startSampling and stopSampling.
19639
19793
  head: SamplingHeapProfileNode;
19640
19794
  samples: SamplingHeapProfileSample[];
19641
19795
  }
19642
-
19796
+
19643
19797
  export type addHeapSnapshotChunkPayload = {
19644
19798
  chunk: string;
19645
19799
  }
@@ -19669,7 +19823,7 @@ then one or more heapStatsUpdate events will be sent before a new lastSeenObject
19669
19823
  finished?: boolean;
19670
19824
  }
19671
19825
  export type resetProfilesPayload = void;
19672
-
19826
+
19673
19827
  /**
19674
19828
  * Enables console to refer to the node with given id via $x (see Command Line API for more details
19675
19829
  $x functions).
@@ -19812,7 +19966,7 @@ Deprecated in favor of `exposeInternals`.
19812
19966
  export type takeHeapSnapshotReturnValue = {
19813
19967
  }
19814
19968
  }
19815
-
19969
+
19816
19970
  export module Profiler {
19817
19971
  /**
19818
19972
  * Profile node. Holds callsite information, execution statistics and child nodes.
@@ -19934,7 +20088,7 @@ profile startTime.
19934
20088
  */
19935
20089
  functions: FunctionCoverage[];
19936
20090
  }
19937
-
20091
+
19938
20092
  export type consoleProfileFinishedPayload = {
19939
20093
  id: string;
19940
20094
  /**
@@ -19981,7 +20135,7 @@ trigger collection of coverage data immediately at a certain point in time.
19981
20135
  */
19982
20136
  result: ScriptCoverage[];
19983
20137
  }
19984
-
20138
+
19985
20139
  export type disableParameters = {
19986
20140
  }
19987
20141
  export type disableReturnValue = {
@@ -20075,7 +20229,7 @@ coverage needs to have started.
20075
20229
  timestamp: number;
20076
20230
  }
20077
20231
  }
20078
-
20232
+
20079
20233
  /**
20080
20234
  * Runtime domain exposes JavaScript runtime by means of remote evaluation and mirror objects.
20081
20235
  Evaluation results are returned as mirror object that expose object type, string representation
@@ -20496,7 +20650,7 @@ allows to track cross-debugger calls. See `Runtime.StackTrace` and `Debugger.pau
20496
20650
  id: string;
20497
20651
  debuggerId?: UniqueDebuggerId;
20498
20652
  }
20499
-
20653
+
20500
20654
  /**
20501
20655
  * Notification is issued every time when binding is called.
20502
20656
  */
@@ -20602,7 +20756,7 @@ call).
20602
20756
  */
20603
20757
  executionContextId?: ExecutionContextId;
20604
20758
  }
20605
-
20759
+
20606
20760
  /**
20607
20761
  * Add handler to promise with given promise object id.
20608
20762
  */
@@ -21138,7 +21292,7 @@ Error was thrown.
21138
21292
  exceptionDetails?: ExceptionDetails;
21139
21293
  }
21140
21294
  }
21141
-
21295
+
21142
21296
  /**
21143
21297
  * This domain is deprecated.
21144
21298
  */
@@ -21156,8 +21310,8 @@ Error was thrown.
21156
21310
  */
21157
21311
  version: string;
21158
21312
  }
21159
-
21160
-
21313
+
21314
+
21161
21315
  /**
21162
21316
  * Returns supported domains.
21163
21317
  */
@@ -21170,7 +21324,7 @@ Error was thrown.
21170
21324
  domains: Domain[];
21171
21325
  }
21172
21326
  }
21173
-
21327
+
21174
21328
  export interface Events {
21175
21329
  "Accessibility.loadComplete": Accessibility.loadCompletePayload;
21176
21330
  "Accessibility.nodesUpdated": Accessibility.nodesUpdatedPayload;
@@ -21240,6 +21394,18 @@ Error was thrown.
21240
21394
  "Network.webTransportCreated": Network.webTransportCreatedPayload;
21241
21395
  "Network.webTransportConnectionEstablished": Network.webTransportConnectionEstablishedPayload;
21242
21396
  "Network.webTransportClosed": Network.webTransportClosedPayload;
21397
+ "Network.directTCPSocketCreated": Network.directTCPSocketCreatedPayload;
21398
+ "Network.directTCPSocketOpened": Network.directTCPSocketOpenedPayload;
21399
+ "Network.directTCPSocketAborted": Network.directTCPSocketAbortedPayload;
21400
+ "Network.directTCPSocketClosed": Network.directTCPSocketClosedPayload;
21401
+ "Network.directTCPSocketChunkSent": Network.directTCPSocketChunkSentPayload;
21402
+ "Network.directTCPSocketChunkReceived": Network.directTCPSocketChunkReceivedPayload;
21403
+ "Network.directUDPSocketCreated": Network.directUDPSocketCreatedPayload;
21404
+ "Network.directUDPSocketOpened": Network.directUDPSocketOpenedPayload;
21405
+ "Network.directUDPSocketAborted": Network.directUDPSocketAbortedPayload;
21406
+ "Network.directUDPSocketClosed": Network.directUDPSocketClosedPayload;
21407
+ "Network.directUDPSocketChunkSent": Network.directUDPSocketChunkSentPayload;
21408
+ "Network.directUDPSocketChunkReceived": Network.directUDPSocketChunkReceivedPayload;
21243
21409
  "Network.requestWillBeSentExtraInfo": Network.requestWillBeSentExtraInfoPayload;
21244
21410
  "Network.responseReceivedExtraInfo": Network.responseReceivedExtraInfoPayload;
21245
21411
  "Network.responseReceivedEarlyHints": Network.responseReceivedEarlyHintsPayload;
@@ -21300,10 +21466,13 @@ Error was thrown.
21300
21466
  "Storage.interestGroupAuctionEventOccurred": Storage.interestGroupAuctionEventOccurredPayload;
21301
21467
  "Storage.interestGroupAuctionNetworkRequestCreated": Storage.interestGroupAuctionNetworkRequestCreatedPayload;
21302
21468
  "Storage.sharedStorageAccessed": Storage.sharedStorageAccessedPayload;
21469
+ "Storage.sharedStorageWorkletOperationExecutionFinished": Storage.sharedStorageWorkletOperationExecutionFinishedPayload;
21303
21470
  "Storage.storageBucketCreatedOrUpdated": Storage.storageBucketCreatedOrUpdatedPayload;
21304
21471
  "Storage.storageBucketDeleted": Storage.storageBucketDeletedPayload;
21305
21472
  "Storage.attributionReportingSourceRegistered": Storage.attributionReportingSourceRegisteredPayload;
21306
21473
  "Storage.attributionReportingTriggerRegistered": Storage.attributionReportingTriggerRegisteredPayload;
21474
+ "Storage.attributionReportingReportSent": Storage.attributionReportingReportSentPayload;
21475
+ "Storage.attributionReportingVerboseDebugReportSent": Storage.attributionReportingVerboseDebugReportSentPayload;
21307
21476
  "Target.attachedToTarget": Target.attachedToTargetPayload;
21308
21477
  "Target.detachedFromTarget": Target.detachedFromTargetPayload;
21309
21478
  "Target.receivedMessageFromTarget": Target.receivedMessageFromTargetPayload;
@@ -21348,6 +21517,9 @@ Error was thrown.
21348
21517
  "Preload.preloadingAttemptSourcesUpdated": Preload.preloadingAttemptSourcesUpdatedPayload;
21349
21518
  "FedCm.dialogShown": FedCm.dialogShownPayload;
21350
21519
  "FedCm.dialogClosed": FedCm.dialogClosedPayload;
21520
+ "BluetoothEmulation.gattOperationReceived": BluetoothEmulation.gattOperationReceivedPayload;
21521
+ "BluetoothEmulation.characteristicOperationReceived": BluetoothEmulation.characteristicOperationReceivedPayload;
21522
+ "BluetoothEmulation.descriptorOperationReceived": BluetoothEmulation.descriptorOperationReceivedPayload;
21351
21523
  "Console.messageAdded": Console.messageAddedPayload;
21352
21524
  "Debugger.breakpointResolved": Debugger.breakpointResolvedPayload;
21353
21525
  "Debugger.paused": Debugger.pausedPayload;
@@ -21427,6 +21599,7 @@ Error was thrown.
21427
21599
  "Browser.setDockTile": Browser.setDockTileParameters;
21428
21600
  "Browser.executeBrowserCommand": Browser.executeBrowserCommandParameters;
21429
21601
  "Browser.addPrivacySandboxEnrollmentOverride": Browser.addPrivacySandboxEnrollmentOverrideParameters;
21602
+ "Browser.addPrivacySandboxCoordinatorKeyConfig": Browser.addPrivacySandboxCoordinatorKeyConfigParameters;
21430
21603
  "CSS.addRule": CSS.addRuleParameters;
21431
21604
  "CSS.collectClassNames": CSS.collectClassNamesParameters;
21432
21605
  "CSS.createStyleSheet": CSS.createStyleSheetParameters;
@@ -21559,20 +21732,25 @@ Error was thrown.
21559
21732
  "Emulation.setAutoDarkModeOverride": Emulation.setAutoDarkModeOverrideParameters;
21560
21733
  "Emulation.setCPUThrottlingRate": Emulation.setCPUThrottlingRateParameters;
21561
21734
  "Emulation.setDefaultBackgroundColorOverride": Emulation.setDefaultBackgroundColorOverrideParameters;
21735
+ "Emulation.setSafeAreaInsetsOverride": Emulation.setSafeAreaInsetsOverrideParameters;
21562
21736
  "Emulation.setDeviceMetricsOverride": Emulation.setDeviceMetricsOverrideParameters;
21563
21737
  "Emulation.setDevicePostureOverride": Emulation.setDevicePostureOverrideParameters;
21564
21738
  "Emulation.clearDevicePostureOverride": Emulation.clearDevicePostureOverrideParameters;
21739
+ "Emulation.setDisplayFeaturesOverride": Emulation.setDisplayFeaturesOverrideParameters;
21740
+ "Emulation.clearDisplayFeaturesOverride": Emulation.clearDisplayFeaturesOverrideParameters;
21565
21741
  "Emulation.setScrollbarsHidden": Emulation.setScrollbarsHiddenParameters;
21566
21742
  "Emulation.setDocumentCookieDisabled": Emulation.setDocumentCookieDisabledParameters;
21567
21743
  "Emulation.setEmitTouchEventsForMouse": Emulation.setEmitTouchEventsForMouseParameters;
21568
21744
  "Emulation.setEmulatedMedia": Emulation.setEmulatedMediaParameters;
21569
21745
  "Emulation.setEmulatedVisionDeficiency": Emulation.setEmulatedVisionDeficiencyParameters;
21746
+ "Emulation.setEmulatedOSTextScale": Emulation.setEmulatedOSTextScaleParameters;
21570
21747
  "Emulation.setGeolocationOverride": Emulation.setGeolocationOverrideParameters;
21571
21748
  "Emulation.getOverriddenSensorInformation": Emulation.getOverriddenSensorInformationParameters;
21572
21749
  "Emulation.setSensorOverrideEnabled": Emulation.setSensorOverrideEnabledParameters;
21573
21750
  "Emulation.setSensorOverrideReadings": Emulation.setSensorOverrideReadingsParameters;
21574
21751
  "Emulation.setPressureSourceOverrideEnabled": Emulation.setPressureSourceOverrideEnabledParameters;
21575
21752
  "Emulation.setPressureStateOverride": Emulation.setPressureStateOverrideParameters;
21753
+ "Emulation.setPressureDataOverride": Emulation.setPressureDataOverrideParameters;
21576
21754
  "Emulation.setIdleOverride": Emulation.setIdleOverrideParameters;
21577
21755
  "Emulation.clearIdleOverride": Emulation.clearIdleOverrideParameters;
21578
21756
  "Emulation.setNavigatorOverrides": Emulation.setNavigatorOverridesParameters;
@@ -21587,6 +21765,7 @@ Error was thrown.
21587
21765
  "Emulation.setHardwareConcurrencyOverride": Emulation.setHardwareConcurrencyOverrideParameters;
21588
21766
  "Emulation.setUserAgentOverride": Emulation.setUserAgentOverrideParameters;
21589
21767
  "Emulation.setAutomationOverride": Emulation.setAutomationOverrideParameters;
21768
+ "Emulation.setSmallViewportHeightDifferenceOverride": Emulation.setSmallViewportHeightDifferenceOverrideParameters;
21590
21769
  "HeadlessExperimental.beginFrame": HeadlessExperimental.beginFrameParameters;
21591
21770
  "HeadlessExperimental.disable": HeadlessExperimental.disableParameters;
21592
21771
  "HeadlessExperimental.enable": HeadlessExperimental.enableParameters;
@@ -21723,7 +21902,7 @@ Error was thrown.
21723
21902
  "Page.getInstallabilityErrors": Page.getInstallabilityErrorsParameters;
21724
21903
  "Page.getManifestIcons": Page.getManifestIconsParameters;
21725
21904
  "Page.getAppId": Page.getAppIdParameters;
21726
- "Page.getAdScriptId": Page.getAdScriptIdParameters;
21905
+ "Page.getAdScriptAncestry": Page.getAdScriptAncestryParameters;
21727
21906
  "Page.getFrameTree": Page.getFrameTreeParameters;
21728
21907
  "Page.getLayoutMetrics": Page.getLayoutMetricsParameters;
21729
21908
  "Page.getNavigationHistory": Page.getNavigationHistoryParameters;
@@ -21826,6 +22005,7 @@ Error was thrown.
21826
22005
  "Storage.sendPendingAttributionReports": Storage.sendPendingAttributionReportsParameters;
21827
22006
  "Storage.getRelatedWebsiteSets": Storage.getRelatedWebsiteSetsParameters;
21828
22007
  "Storage.getAffectedUrlsForThirdPartyCookieMetadata": Storage.getAffectedUrlsForThirdPartyCookieMetadataParameters;
22008
+ "Storage.setProtectedAudienceKAnonymity": Storage.setProtectedAudienceKAnonymityParameters;
21829
22009
  "SystemInfo.getInfo": SystemInfo.getInfoParameters;
21830
22010
  "SystemInfo.getFeatureState": SystemInfo.getFeatureStateParameters;
21831
22011
  "SystemInfo.getProcessInfo": SystemInfo.getProcessInfoParameters;
@@ -21901,9 +22081,20 @@ Error was thrown.
21901
22081
  "PWA.openCurrentPageInApp": PWA.openCurrentPageInAppParameters;
21902
22082
  "PWA.changeAppUserSettings": PWA.changeAppUserSettingsParameters;
21903
22083
  "BluetoothEmulation.enable": BluetoothEmulation.enableParameters;
22084
+ "BluetoothEmulation.setSimulatedCentralState": BluetoothEmulation.setSimulatedCentralStateParameters;
21904
22085
  "BluetoothEmulation.disable": BluetoothEmulation.disableParameters;
21905
22086
  "BluetoothEmulation.simulatePreconnectedPeripheral": BluetoothEmulation.simulatePreconnectedPeripheralParameters;
21906
22087
  "BluetoothEmulation.simulateAdvertisement": BluetoothEmulation.simulateAdvertisementParameters;
22088
+ "BluetoothEmulation.simulateGATTOperationResponse": BluetoothEmulation.simulateGATTOperationResponseParameters;
22089
+ "BluetoothEmulation.simulateCharacteristicOperationResponse": BluetoothEmulation.simulateCharacteristicOperationResponseParameters;
22090
+ "BluetoothEmulation.simulateDescriptorOperationResponse": BluetoothEmulation.simulateDescriptorOperationResponseParameters;
22091
+ "BluetoothEmulation.addService": BluetoothEmulation.addServiceParameters;
22092
+ "BluetoothEmulation.removeService": BluetoothEmulation.removeServiceParameters;
22093
+ "BluetoothEmulation.addCharacteristic": BluetoothEmulation.addCharacteristicParameters;
22094
+ "BluetoothEmulation.removeCharacteristic": BluetoothEmulation.removeCharacteristicParameters;
22095
+ "BluetoothEmulation.addDescriptor": BluetoothEmulation.addDescriptorParameters;
22096
+ "BluetoothEmulation.removeDescriptor": BluetoothEmulation.removeDescriptorParameters;
22097
+ "BluetoothEmulation.simulateGATTDisconnection": BluetoothEmulation.simulateGATTDisconnectionParameters;
21907
22098
  "Console.clearMessages": Console.clearMessagesParameters;
21908
22099
  "Console.disable": Console.disableParameters;
21909
22100
  "Console.enable": Console.enableParameters;
@@ -22042,6 +22233,7 @@ Error was thrown.
22042
22233
  "Browser.setDockTile": Browser.setDockTileReturnValue;
22043
22234
  "Browser.executeBrowserCommand": Browser.executeBrowserCommandReturnValue;
22044
22235
  "Browser.addPrivacySandboxEnrollmentOverride": Browser.addPrivacySandboxEnrollmentOverrideReturnValue;
22236
+ "Browser.addPrivacySandboxCoordinatorKeyConfig": Browser.addPrivacySandboxCoordinatorKeyConfigReturnValue;
22045
22237
  "CSS.addRule": CSS.addRuleReturnValue;
22046
22238
  "CSS.collectClassNames": CSS.collectClassNamesReturnValue;
22047
22239
  "CSS.createStyleSheet": CSS.createStyleSheetReturnValue;
@@ -22174,20 +22366,25 @@ Error was thrown.
22174
22366
  "Emulation.setAutoDarkModeOverride": Emulation.setAutoDarkModeOverrideReturnValue;
22175
22367
  "Emulation.setCPUThrottlingRate": Emulation.setCPUThrottlingRateReturnValue;
22176
22368
  "Emulation.setDefaultBackgroundColorOverride": Emulation.setDefaultBackgroundColorOverrideReturnValue;
22369
+ "Emulation.setSafeAreaInsetsOverride": Emulation.setSafeAreaInsetsOverrideReturnValue;
22177
22370
  "Emulation.setDeviceMetricsOverride": Emulation.setDeviceMetricsOverrideReturnValue;
22178
22371
  "Emulation.setDevicePostureOverride": Emulation.setDevicePostureOverrideReturnValue;
22179
22372
  "Emulation.clearDevicePostureOverride": Emulation.clearDevicePostureOverrideReturnValue;
22373
+ "Emulation.setDisplayFeaturesOverride": Emulation.setDisplayFeaturesOverrideReturnValue;
22374
+ "Emulation.clearDisplayFeaturesOverride": Emulation.clearDisplayFeaturesOverrideReturnValue;
22180
22375
  "Emulation.setScrollbarsHidden": Emulation.setScrollbarsHiddenReturnValue;
22181
22376
  "Emulation.setDocumentCookieDisabled": Emulation.setDocumentCookieDisabledReturnValue;
22182
22377
  "Emulation.setEmitTouchEventsForMouse": Emulation.setEmitTouchEventsForMouseReturnValue;
22183
22378
  "Emulation.setEmulatedMedia": Emulation.setEmulatedMediaReturnValue;
22184
22379
  "Emulation.setEmulatedVisionDeficiency": Emulation.setEmulatedVisionDeficiencyReturnValue;
22380
+ "Emulation.setEmulatedOSTextScale": Emulation.setEmulatedOSTextScaleReturnValue;
22185
22381
  "Emulation.setGeolocationOverride": Emulation.setGeolocationOverrideReturnValue;
22186
22382
  "Emulation.getOverriddenSensorInformation": Emulation.getOverriddenSensorInformationReturnValue;
22187
22383
  "Emulation.setSensorOverrideEnabled": Emulation.setSensorOverrideEnabledReturnValue;
22188
22384
  "Emulation.setSensorOverrideReadings": Emulation.setSensorOverrideReadingsReturnValue;
22189
22385
  "Emulation.setPressureSourceOverrideEnabled": Emulation.setPressureSourceOverrideEnabledReturnValue;
22190
22386
  "Emulation.setPressureStateOverride": Emulation.setPressureStateOverrideReturnValue;
22387
+ "Emulation.setPressureDataOverride": Emulation.setPressureDataOverrideReturnValue;
22191
22388
  "Emulation.setIdleOverride": Emulation.setIdleOverrideReturnValue;
22192
22389
  "Emulation.clearIdleOverride": Emulation.clearIdleOverrideReturnValue;
22193
22390
  "Emulation.setNavigatorOverrides": Emulation.setNavigatorOverridesReturnValue;
@@ -22202,6 +22399,7 @@ Error was thrown.
22202
22399
  "Emulation.setHardwareConcurrencyOverride": Emulation.setHardwareConcurrencyOverrideReturnValue;
22203
22400
  "Emulation.setUserAgentOverride": Emulation.setUserAgentOverrideReturnValue;
22204
22401
  "Emulation.setAutomationOverride": Emulation.setAutomationOverrideReturnValue;
22402
+ "Emulation.setSmallViewportHeightDifferenceOverride": Emulation.setSmallViewportHeightDifferenceOverrideReturnValue;
22205
22403
  "HeadlessExperimental.beginFrame": HeadlessExperimental.beginFrameReturnValue;
22206
22404
  "HeadlessExperimental.disable": HeadlessExperimental.disableReturnValue;
22207
22405
  "HeadlessExperimental.enable": HeadlessExperimental.enableReturnValue;
@@ -22338,7 +22536,7 @@ Error was thrown.
22338
22536
  "Page.getInstallabilityErrors": Page.getInstallabilityErrorsReturnValue;
22339
22537
  "Page.getManifestIcons": Page.getManifestIconsReturnValue;
22340
22538
  "Page.getAppId": Page.getAppIdReturnValue;
22341
- "Page.getAdScriptId": Page.getAdScriptIdReturnValue;
22539
+ "Page.getAdScriptAncestry": Page.getAdScriptAncestryReturnValue;
22342
22540
  "Page.getFrameTree": Page.getFrameTreeReturnValue;
22343
22541
  "Page.getLayoutMetrics": Page.getLayoutMetricsReturnValue;
22344
22542
  "Page.getNavigationHistory": Page.getNavigationHistoryReturnValue;
@@ -22441,6 +22639,7 @@ Error was thrown.
22441
22639
  "Storage.sendPendingAttributionReports": Storage.sendPendingAttributionReportsReturnValue;
22442
22640
  "Storage.getRelatedWebsiteSets": Storage.getRelatedWebsiteSetsReturnValue;
22443
22641
  "Storage.getAffectedUrlsForThirdPartyCookieMetadata": Storage.getAffectedUrlsForThirdPartyCookieMetadataReturnValue;
22642
+ "Storage.setProtectedAudienceKAnonymity": Storage.setProtectedAudienceKAnonymityReturnValue;
22444
22643
  "SystemInfo.getInfo": SystemInfo.getInfoReturnValue;
22445
22644
  "SystemInfo.getFeatureState": SystemInfo.getFeatureStateReturnValue;
22446
22645
  "SystemInfo.getProcessInfo": SystemInfo.getProcessInfoReturnValue;
@@ -22516,9 +22715,20 @@ Error was thrown.
22516
22715
  "PWA.openCurrentPageInApp": PWA.openCurrentPageInAppReturnValue;
22517
22716
  "PWA.changeAppUserSettings": PWA.changeAppUserSettingsReturnValue;
22518
22717
  "BluetoothEmulation.enable": BluetoothEmulation.enableReturnValue;
22718
+ "BluetoothEmulation.setSimulatedCentralState": BluetoothEmulation.setSimulatedCentralStateReturnValue;
22519
22719
  "BluetoothEmulation.disable": BluetoothEmulation.disableReturnValue;
22520
22720
  "BluetoothEmulation.simulatePreconnectedPeripheral": BluetoothEmulation.simulatePreconnectedPeripheralReturnValue;
22521
22721
  "BluetoothEmulation.simulateAdvertisement": BluetoothEmulation.simulateAdvertisementReturnValue;
22722
+ "BluetoothEmulation.simulateGATTOperationResponse": BluetoothEmulation.simulateGATTOperationResponseReturnValue;
22723
+ "BluetoothEmulation.simulateCharacteristicOperationResponse": BluetoothEmulation.simulateCharacteristicOperationResponseReturnValue;
22724
+ "BluetoothEmulation.simulateDescriptorOperationResponse": BluetoothEmulation.simulateDescriptorOperationResponseReturnValue;
22725
+ "BluetoothEmulation.addService": BluetoothEmulation.addServiceReturnValue;
22726
+ "BluetoothEmulation.removeService": BluetoothEmulation.removeServiceReturnValue;
22727
+ "BluetoothEmulation.addCharacteristic": BluetoothEmulation.addCharacteristicReturnValue;
22728
+ "BluetoothEmulation.removeCharacteristic": BluetoothEmulation.removeCharacteristicReturnValue;
22729
+ "BluetoothEmulation.addDescriptor": BluetoothEmulation.addDescriptorReturnValue;
22730
+ "BluetoothEmulation.removeDescriptor": BluetoothEmulation.removeDescriptorReturnValue;
22731
+ "BluetoothEmulation.simulateGATTDisconnection": BluetoothEmulation.simulateGATTDisconnectionReturnValue;
22522
22732
  "Console.clearMessages": Console.clearMessagesReturnValue;
22523
22733
  "Console.disable": Console.disableReturnValue;
22524
22734
  "Console.enable": Console.enableReturnValue;