@checkly/playwright-core 1.48.22 → 1.51.11-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (307) hide show
  1. package/ThirdPartyNotices.txt +60 -48
  2. package/bin/reinstall_chrome_beta_linux.sh +10 -8
  3. package/bin/reinstall_chrome_stable_linux.sh +10 -8
  4. package/bin/reinstall_msedge_beta_linux.sh +17 -9
  5. package/bin/reinstall_msedge_dev_linux.sh +17 -9
  6. package/bin/reinstall_msedge_stable_linux.sh +17 -9
  7. package/browsers.json +33 -12
  8. package/index.js +0 -1
  9. package/lib/androidServerImpl.js +5 -5
  10. package/lib/browserServerImpl.js +18 -9
  11. package/lib/checkly/secretsFilter.js +1 -1
  12. package/lib/cli/driver.js +6 -6
  13. package/lib/cli/program.js +38 -43
  14. package/lib/cli/programWithTestStub.js +2 -1
  15. package/lib/client/android.js +37 -58
  16. package/lib/client/artifact.js +4 -7
  17. package/lib/client/browser.js +10 -15
  18. package/lib/client/browserContext.js +69 -62
  19. package/lib/client/browserType.js +30 -64
  20. package/lib/client/channelOwner.js +53 -68
  21. package/lib/client/clientHelper.js +4 -6
  22. package/lib/client/clientInstrumentation.js +2 -0
  23. package/lib/client/clientStackTrace.js +65 -0
  24. package/lib/client/connection.js +48 -41
  25. package/lib/client/consoleMessage.js +4 -7
  26. package/lib/client/electron.js +10 -10
  27. package/lib/client/elementHandle.js +32 -33
  28. package/lib/client/errors.js +2 -2
  29. package/lib/client/eventEmitter.js +5 -8
  30. package/lib/client/fetch.js +61 -62
  31. package/lib/client/fileUtils.js +31 -0
  32. package/lib/client/frame.js +22 -23
  33. package/lib/client/harRouter.js +7 -9
  34. package/lib/client/jsHandle.js +3 -4
  35. package/lib/client/localUtils.js +24 -0
  36. package/lib/client/locator.js +27 -13
  37. package/lib/client/network.js +44 -37
  38. package/lib/client/page.js +50 -41
  39. package/lib/client/platform.js +71 -0
  40. package/lib/client/playwright.js +21 -1
  41. package/lib/client/selectors.js +8 -2
  42. package/lib/client/stream.js +2 -21
  43. package/lib/client/timeoutSettings.js +65 -0
  44. package/lib/client/tracing.js +29 -7
  45. package/lib/client/video.js +2 -2
  46. package/lib/client/waiter.js +19 -16
  47. package/lib/client/webSocket.js +106 -0
  48. package/lib/client/worker.js +4 -4
  49. package/lib/client/writableStream.js +2 -21
  50. package/lib/generated/consoleApiSource.js +1 -1
  51. package/lib/generated/injectedScriptSource.js +1 -1
  52. package/lib/generated/pollingRecorderSource.js +1 -1
  53. package/lib/generated/recorderSource.js +7 -0
  54. package/lib/generated/webSocketMockSource.js +1 -1
  55. package/lib/inProcessFactory.js +8 -3
  56. package/lib/outofprocess.js +12 -8
  57. package/lib/protocol/debug.js +1 -1
  58. package/lib/protocol/validator.js +77 -11
  59. package/lib/protocol/validatorPrimitives.js +1 -2
  60. package/lib/remote/playwrightConnection.js +21 -12
  61. package/lib/remote/playwrightServer.js +22 -8
  62. package/lib/server/android/android.js +17 -14
  63. package/lib/server/android/backendAdb.js +14 -14
  64. package/lib/server/artifact.js +3 -3
  65. package/lib/server/bidi/bidiBrowser.js +11 -8
  66. package/lib/server/bidi/bidiChromium.js +5 -4
  67. package/lib/server/bidi/bidiConnection.js +1 -3
  68. package/lib/server/bidi/bidiExecutionContext.js +71 -25
  69. package/lib/server/bidi/bidiFirefox.js +4 -3
  70. package/lib/server/bidi/bidiInput.js +11 -12
  71. package/lib/server/bidi/bidiNetworkManager.js +11 -12
  72. package/lib/server/bidi/bidiOverCdp.js +2 -2
  73. package/lib/server/bidi/bidiPage.js +39 -66
  74. package/lib/server/bidi/third_party/bidiKeyboard.js +9 -7
  75. package/lib/server/bidi/third_party/firefoxPrefs.js +19 -3
  76. package/lib/server/browser.js +2 -2
  77. package/lib/server/browserContext.js +60 -55
  78. package/lib/server/browserType.js +22 -18
  79. package/lib/server/callLog.js +79 -0
  80. package/lib/server/chromium/chromium.js +20 -16
  81. package/lib/server/chromium/chromiumSwitches.js +32 -9
  82. package/lib/server/chromium/crBrowser.js +25 -24
  83. package/lib/server/chromium/crConnection.js +2 -2
  84. package/lib/server/chromium/crCoverage.js +1 -1
  85. package/lib/server/chromium/crDevTools.js +1 -1
  86. package/lib/server/chromium/crDragDrop.js +1 -1
  87. package/lib/server/chromium/crExecutionContext.js +26 -35
  88. package/lib/server/chromium/crInput.js +17 -6
  89. package/lib/server/chromium/crNetworkManager.js +3 -3
  90. package/lib/server/chromium/crPage.js +43 -55
  91. package/lib/server/chromium/crPdf.js +1 -1
  92. package/lib/server/chromium/crProtocolHelper.js +3 -3
  93. package/lib/server/chromium/crServiceWorker.js +2 -2
  94. package/lib/server/chromium/videoRecorder.js +2 -2
  95. package/lib/server/clock.js +1 -1
  96. package/lib/server/codegen/csharp.js +21 -16
  97. package/lib/server/codegen/java.js +17 -9
  98. package/lib/server/codegen/javascript.js +37 -7
  99. package/lib/server/codegen/jsonl.js +1 -1
  100. package/lib/server/codegen/languages.js +2 -2
  101. package/lib/server/codegen/python.js +14 -17
  102. package/lib/server/debugController.js +23 -45
  103. package/lib/server/debugger.js +1 -1
  104. package/lib/server/deviceDescriptors.js +1 -1
  105. package/lib/server/deviceDescriptorsSource.json +131 -131
  106. package/lib/server/dispatchers/androidDispatcher.js +14 -3
  107. package/lib/server/dispatchers/artifactDispatcher.js +3 -3
  108. package/lib/server/dispatchers/browserContextDispatcher.js +21 -32
  109. package/lib/server/dispatchers/browserTypeDispatcher.js +1 -1
  110. package/lib/server/dispatchers/cdpSessionDispatcher.js +1 -1
  111. package/lib/server/dispatchers/debugControllerDispatcher.js +5 -3
  112. package/lib/server/dispatchers/dispatcher.js +27 -25
  113. package/lib/server/dispatchers/electronDispatcher.js +3 -3
  114. package/lib/server/dispatchers/elementHandlerDispatcher.js +7 -2
  115. package/lib/server/dispatchers/frameDispatcher.js +9 -3
  116. package/lib/server/dispatchers/jsonPipeDispatcher.js +2 -2
  117. package/lib/server/dispatchers/localUtilsDispatcher.js +25 -291
  118. package/lib/server/dispatchers/networkDispatchers.js +3 -3
  119. package/lib/server/dispatchers/pageDispatcher.js +10 -8
  120. package/lib/server/dispatchers/playwrightDispatcher.js +5 -5
  121. package/lib/server/dispatchers/streamDispatcher.js +4 -3
  122. package/lib/server/dispatchers/tracingDispatcher.js +10 -0
  123. package/lib/server/dispatchers/webSocketRouteDispatcher.js +18 -18
  124. package/lib/server/dispatchers/writableStreamDispatcher.js +5 -6
  125. package/lib/server/dom.js +102 -48
  126. package/lib/server/download.js +1 -1
  127. package/lib/server/electron/electron.js +17 -16
  128. package/lib/server/errors.js +1 -1
  129. package/lib/server/fetch.js +49 -33
  130. package/lib/server/fileUploadUtils.js +7 -4
  131. package/lib/server/firefox/ffBrowser.js +17 -9
  132. package/lib/server/firefox/ffConnection.js +1 -1
  133. package/lib/server/firefox/ffExecutionContext.js +25 -29
  134. package/lib/server/firefox/ffInput.js +15 -4
  135. package/lib/server/firefox/ffNetworkManager.js +3 -3
  136. package/lib/server/firefox/ffPage.js +29 -50
  137. package/lib/server/firefox/firefox.js +7 -9
  138. package/lib/server/frameSelectors.js +1 -1
  139. package/lib/server/frames.js +65 -55
  140. package/lib/server/har/harRecorder.js +4 -4
  141. package/lib/server/har/harTracer.js +8 -9
  142. package/lib/server/harBackend.js +157 -0
  143. package/lib/server/helper.js +2 -2
  144. package/lib/server/index.js +1 -14
  145. package/lib/server/input.js +3 -4
  146. package/lib/server/instrumentation.js +2 -2
  147. package/lib/server/isomorphic/utilityScriptSerializers.js +3 -0
  148. package/lib/server/javascript.js +26 -33
  149. package/lib/server/launchApp.js +7 -7
  150. package/lib/server/localUtils.js +203 -0
  151. package/lib/server/network.js +5 -5
  152. package/lib/server/page.js +76 -37
  153. package/lib/server/pipeTransport.js +1 -1
  154. package/lib/server/playwright.js +5 -5
  155. package/lib/server/progress.js +1 -4
  156. package/lib/server/protocolError.js +1 -1
  157. package/lib/server/recorder/chat.js +177 -0
  158. package/lib/server/recorder/codeGenerator.js +154 -0
  159. package/lib/server/recorder/contextRecorder.js +9 -18
  160. package/lib/server/recorder/csharp.js +311 -0
  161. package/lib/server/recorder/java.js +249 -0
  162. package/lib/server/recorder/javascript.js +230 -0
  163. package/lib/server/recorder/jsonl.js +48 -0
  164. package/lib/server/recorder/language.js +45 -0
  165. package/lib/server/recorder/python.js +276 -0
  166. package/lib/server/recorder/recorderActions.js +6 -0
  167. package/lib/server/recorder/recorderApp.js +25 -28
  168. package/lib/server/recorder/recorderCollection.js +9 -21
  169. package/lib/server/recorder/recorderInTraceViewer.js +1 -1
  170. package/lib/server/recorder/recorderRunner.js +7 -3
  171. package/lib/server/recorder/recorderUtils.js +5 -28
  172. package/lib/server/recorder/throttledFile.js +3 -4
  173. package/lib/server/recorder/utils.js +46 -0
  174. package/lib/server/recorder.js +83 -43
  175. package/lib/server/registry/browserFetcher.js +10 -8
  176. package/lib/server/registry/dependencies.js +20 -20
  177. package/lib/server/registry/index.js +215 -61
  178. package/lib/server/registry/nativeDeps.js +10 -4
  179. package/lib/server/registry/oopDownloadBrowserMain.js +3 -3
  180. package/lib/server/screenshotter.js +1 -1
  181. package/lib/server/selectors.js +3 -3
  182. package/lib/server/socksClientCertificatesInterceptor.js +8 -8
  183. package/lib/server/socksInterceptor.js +8 -5
  184. package/lib/server/storageScript.js +160 -0
  185. package/lib/server/timeoutSettings.js +74 -0
  186. package/lib/server/trace/recorder/snapshotter.js +10 -20
  187. package/lib/server/trace/recorder/snapshotterInjected.js +26 -1
  188. package/lib/server/trace/recorder/tracing.js +108 -45
  189. package/lib/server/trace/test/inMemorySnapshotter.js +6 -6
  190. package/lib/server/trace/viewer/traceViewer.js +21 -7
  191. package/lib/server/transport.js +3 -2
  192. package/lib/server/utils/ascii.js +31 -0
  193. package/lib/server/utils/comparators.js +159 -0
  194. package/lib/server/utils/crypto.js +171 -0
  195. package/lib/server/utils/debug.js +38 -0
  196. package/lib/server/utils/debugLogger.js +93 -0
  197. package/lib/server/utils/env.js +53 -0
  198. package/lib/server/utils/eventsHelper.js +38 -0
  199. package/lib/server/utils/expectUtils.js +33 -0
  200. package/lib/server/utils/fileUtils.js +204 -0
  201. package/lib/server/utils/happyEyeballs.js +207 -0
  202. package/lib/server/utils/hostPlatform.js +145 -0
  203. package/lib/server/utils/httpServer.js +233 -0
  204. package/lib/server/utils/image_tools/colorUtils.js +98 -0
  205. package/lib/server/utils/image_tools/compare.js +108 -0
  206. package/lib/server/utils/image_tools/imageChannel.js +70 -0
  207. package/lib/server/utils/image_tools/stats.js +102 -0
  208. package/lib/server/utils/linuxUtils.js +58 -0
  209. package/lib/server/utils/network.js +160 -0
  210. package/lib/server/utils/nodePlatform.js +140 -0
  211. package/lib/server/utils/pipeTransport.js +82 -0
  212. package/lib/server/utils/processLauncher.js +248 -0
  213. package/lib/server/utils/profiler.js +52 -0
  214. package/lib/server/utils/socksProxy.js +570 -0
  215. package/lib/server/utils/spawnAsync.js +45 -0
  216. package/lib/server/utils/task.js +58 -0
  217. package/lib/server/utils/userAgent.js +91 -0
  218. package/lib/server/utils/wsServer.js +128 -0
  219. package/lib/server/utils/zipFile.js +75 -0
  220. package/lib/server/utils/zones.js +54 -0
  221. package/lib/server/webkit/webkit.js +4 -4
  222. package/lib/server/webkit/wkBrowser.js +10 -10
  223. package/lib/server/webkit/wkConnection.js +1 -1
  224. package/lib/server/webkit/wkExecutionContext.js +26 -30
  225. package/lib/server/webkit/wkInput.js +17 -7
  226. package/lib/server/webkit/wkInterceptableRequest.js +2 -2
  227. package/lib/server/webkit/wkPage.js +80 -66
  228. package/lib/server/webkit/wkProvisionalPage.js +1 -1
  229. package/lib/server/webkit/wkWorkers.js +2 -2
  230. package/lib/utils/fileUtils.js +1 -1
  231. package/lib/utils/glob.js +84 -0
  232. package/lib/utils/isomorphic/ariaSnapshot.js +392 -0
  233. package/lib/utils/isomorphic/assert.js +25 -0
  234. package/lib/utils/isomorphic/colors.js +65 -0
  235. package/lib/utils/isomorphic/cssParser.js +5 -5
  236. package/lib/utils/isomorphic/headers.js +52 -0
  237. package/lib/utils/isomorphic/locatorGenerators.js +38 -8
  238. package/lib/utils/isomorphic/locatorParser.js +19 -13
  239. package/lib/utils/isomorphic/manualPromise.js +107 -0
  240. package/lib/utils/isomorphic/mimeType.js +11 -3
  241. package/lib/utils/isomorphic/multimap.js +73 -0
  242. package/lib/utils/isomorphic/rtti.js +41 -0
  243. package/lib/utils/isomorphic/semaphore.js +51 -0
  244. package/lib/utils/isomorphic/stackTrace.js +169 -0
  245. package/lib/utils/isomorphic/stringUtils.js +31 -1
  246. package/lib/utils/isomorphic/time.js +25 -0
  247. package/lib/utils/isomorphic/timeoutRunner.js +66 -0
  248. package/lib/utils/isomorphic/traceUtils.js +23 -0
  249. package/lib/utils/isomorphic/types.js +5 -0
  250. package/lib/utils/isomorphic/urlMatch.js +7 -5
  251. package/lib/utils/mimeType.js +30 -0
  252. package/lib/utils/stackTrace.js +1 -1
  253. package/lib/utils.js +447 -0
  254. package/lib/utilsBundle.js +4 -29
  255. package/lib/utilsBundleImpl/index.js +188 -33
  256. package/lib/vite/htmlReport/index.html +20 -17
  257. package/lib/vite/recorder/assets/codeMirrorModule-B9YMkrwa.js +24 -0
  258. package/lib/vite/recorder/assets/index-ELPgmkwA.js +184 -0
  259. package/lib/vite/recorder/assets/{index-BW-aOBcL.css → index-eHBmevrY.css} +1 -1
  260. package/lib/vite/recorder/index.html +2 -2
  261. package/lib/vite/traceViewer/assets/codeMirrorModule-gU1OOCQO.js +24 -0
  262. package/lib/vite/traceViewer/assets/defaultSettingsView-B5n_FjMx.js +1 -0
  263. package/lib/vite/traceViewer/assets/inspectorTab-6Tru8Mn_.js +235 -0
  264. package/lib/vite/traceViewer/assets/workbench-B_Nj4NA2.js +25 -0
  265. package/lib/vite/traceViewer/assets/{xtermModule-BeNbaIVa.js → xtermModule-BoAIEibi.js} +7 -7
  266. package/lib/vite/traceViewer/defaultSettingsView.CO3FR0CX.css +1 -0
  267. package/lib/vite/traceViewer/{embedded.BkvOrz5Z.js → embedded.DpNPH6mk.js} +2 -2
  268. package/lib/vite/traceViewer/embedded.html +6 -6
  269. package/lib/vite/traceViewer/index.CuE3SYGw.js +2 -0
  270. package/lib/vite/traceViewer/index.html +27 -9
  271. package/lib/vite/traceViewer/inspectorTab.CXDulcFG.css +1 -0
  272. package/lib/vite/traceViewer/{recorder.DNMfnSiu.js → recorder.BD-uZJs7.js} +2 -2
  273. package/lib/vite/traceViewer/recorder.html +4 -4
  274. package/lib/vite/traceViewer/sw.bundle.js +7888 -3
  275. package/lib/vite/traceViewer/{uiMode.CAYqod-m.css → uiMode.BatfzHMG.css} +1 -1
  276. package/lib/vite/traceViewer/uiMode.DHrNgddz.js +5 -0
  277. package/lib/vite/traceViewer/uiMode.html +8 -7
  278. package/lib/vite/traceViewer/workbench.B9vIAzH9.css +1 -0
  279. package/lib/zipBundleImpl.js +4 -4
  280. package/package.json +7 -7
  281. package/types/protocol.d.ts +820 -153
  282. package/types/types.d.ts +285 -82
  283. package/bin/PrintDeps.exe +0 -0
  284. package/bin/README.md +0 -2
  285. package/lib/vite/recorder/assets/codeMirrorModule-d0KhC1qL.js +0 -24
  286. package/lib/vite/recorder/assets/index-Bxxcmxlu.js +0 -42
  287. package/lib/vite/traceViewer/assets/codeMirrorModule-pBPtArIT.js +0 -24
  288. package/lib/vite/traceViewer/assets/codeMirrorModule-tzBrK1V4.js +0 -24
  289. package/lib/vite/traceViewer/assets/inspectorTab-BuJ3wAX_.js +0 -64
  290. package/lib/vite/traceViewer/assets/inspectorTab-Soeeuvzv.js +0 -64
  291. package/lib/vite/traceViewer/assets/testServerConnection-DeE2kSzz.js +0 -1
  292. package/lib/vite/traceViewer/assets/workbench-DdmJ9AJV.js +0 -9
  293. package/lib/vite/traceViewer/assets/workbench-lypYlf00.js +0 -9
  294. package/lib/vite/traceViewer/embedded.DInvAijy.js +0 -2
  295. package/lib/vite/traceViewer/index.Dha3cgqs.js +0 -2
  296. package/lib/vite/traceViewer/index._Iolt-uE.js +0 -2
  297. package/lib/vite/traceViewer/inspectorTab.DLjBDrQR.css +0 -1
  298. package/lib/vite/traceViewer/recorder.DTSaNaly.js +0 -2
  299. package/lib/vite/traceViewer/uiMode.BM7yhjzl.js +0 -5
  300. package/lib/vite/traceViewer/uiMode.Cr1tvTWS.js +0 -5
  301. package/lib/vite/traceViewer/workbench.DlsCx8k5.css +0 -1
  302. /package/lib/vite/recorder/assets/{codeMirrorModule-ez37Vkbh.css → codeMirrorModule-C3UTv-Ge.css} +0 -0
  303. /package/lib/vite/traceViewer/{codeMirrorModule.ez37Vkbh.css → codeMirrorModule.C3UTv-Ge.css} +0 -0
  304. /package/lib/vite/traceViewer/{embedded.w7WN2u1R.css → embedded.mLhjB5IF.css} +0 -0
  305. /package/lib/vite/traceViewer/{index.CrbWWHbf.css → index.CFOW-Ezb.css} +0 -0
  306. /package/lib/vite/traceViewer/{recorder.B_SY1GJM.css → recorder.tn0RQdqM.css} +0 -0
  307. /package/lib/vite/traceViewer/{xtermModule.DSXBckUd.css → xtermModule.Beg8tuEN.css} +0 -0
@@ -112,7 +112,7 @@ export module Protocol {
112
112
  - from 'checked' to 'selected': states which apply to widgets
113
113
  - from 'activedescendant' to 'owns' - relationships between elements other than parent/child/sibling.
114
114
  */
115
- export type AXPropertyName = "busy"|"disabled"|"editable"|"focusable"|"focused"|"hidden"|"hiddenRoot"|"invalid"|"keyshortcuts"|"settable"|"roledescription"|"live"|"atomic"|"relevant"|"root"|"autocomplete"|"hasPopup"|"level"|"multiselectable"|"orientation"|"multiline"|"readonly"|"required"|"valuemin"|"valuemax"|"valuetext"|"checked"|"expanded"|"modal"|"pressed"|"selected"|"activedescendant"|"controls"|"describedby"|"details"|"errormessage"|"flowto"|"labelledby"|"owns"|"url";
115
+ export type AXPropertyName = "actions"|"busy"|"disabled"|"editable"|"focusable"|"focused"|"hidden"|"hiddenRoot"|"invalid"|"keyshortcuts"|"settable"|"roledescription"|"live"|"atomic"|"relevant"|"root"|"autocomplete"|"hasPopup"|"level"|"multiselectable"|"orientation"|"multiline"|"readonly"|"required"|"valuemin"|"valuemax"|"valuetext"|"checked"|"expanded"|"modal"|"pressed"|"selected"|"activedescendant"|"controls"|"describedby"|"details"|"errormessage"|"flowto"|"labelledby"|"owns"|"url";
116
116
  /**
117
117
  * A node in the accessibility tree.
118
118
  */
@@ -534,6 +534,7 @@ percentage [0 - 100] for scroll driven animations
534
534
  */
535
535
  animation: Animation;
536
536
  }
537
+
537
538
  /**
538
539
  * Disables animation domain notifications.
539
540
  */
@@ -684,8 +685,8 @@ percentage [0 - 100] for scroll driven animations
684
685
  /**
685
686
  * The unique request id.
686
687
  */
687
- requestId: Network.RequestId;
688
- url?: string;
688
+ requestId?: Network.RequestId;
689
+ url: string;
689
690
  }
690
691
  /**
691
692
  * Information about the frame affected by an inspector issue.
@@ -693,9 +694,23 @@ percentage [0 - 100] for scroll driven animations
693
694
  export interface AffectedFrame {
694
695
  frameId: Page.FrameId;
695
696
  }
696
- export type CookieExclusionReason = "ExcludeSameSiteUnspecifiedTreatedAsLax"|"ExcludeSameSiteNoneInsecure"|"ExcludeSameSiteLax"|"ExcludeSameSiteStrict"|"ExcludeInvalidSameParty"|"ExcludeSamePartyCrossPartyContext"|"ExcludeDomainNonASCII"|"ExcludeThirdPartyCookieBlockedInFirstPartySet"|"ExcludeThirdPartyPhaseout";
697
- export type CookieWarningReason = "WarnSameSiteUnspecifiedCrossSiteContext"|"WarnSameSiteNoneInsecure"|"WarnSameSiteUnspecifiedLaxAllowUnsafe"|"WarnSameSiteStrictLaxDowngradeStrict"|"WarnSameSiteStrictCrossDowngradeStrict"|"WarnSameSiteStrictCrossDowngradeLax"|"WarnSameSiteLaxCrossDowngradeStrict"|"WarnSameSiteLaxCrossDowngradeLax"|"WarnAttributeValueExceedsMaxSize"|"WarnDomainNonASCII"|"WarnThirdPartyPhaseout"|"WarnCrossSiteRedirectDowngradeChangesInclusion";
697
+ export type CookieExclusionReason = "ExcludeSameSiteUnspecifiedTreatedAsLax"|"ExcludeSameSiteNoneInsecure"|"ExcludeSameSiteLax"|"ExcludeSameSiteStrict"|"ExcludeInvalidSameParty"|"ExcludeSamePartyCrossPartyContext"|"ExcludeDomainNonASCII"|"ExcludeThirdPartyCookieBlockedInFirstPartySet"|"ExcludeThirdPartyPhaseout"|"ExcludePortMismatch"|"ExcludeSchemeMismatch";
698
+ export type CookieWarningReason = "WarnSameSiteUnspecifiedCrossSiteContext"|"WarnSameSiteNoneInsecure"|"WarnSameSiteUnspecifiedLaxAllowUnsafe"|"WarnSameSiteStrictLaxDowngradeStrict"|"WarnSameSiteStrictCrossDowngradeStrict"|"WarnSameSiteStrictCrossDowngradeLax"|"WarnSameSiteLaxCrossDowngradeStrict"|"WarnSameSiteLaxCrossDowngradeLax"|"WarnAttributeValueExceedsMaxSize"|"WarnDomainNonASCII"|"WarnThirdPartyPhaseout"|"WarnCrossSiteRedirectDowngradeChangesInclusion"|"WarnDeprecationTrialMetadata"|"WarnThirdPartyCookieHeuristic";
698
699
  export type CookieOperation = "SetCookie"|"ReadCookie";
700
+ /**
701
+ * Represents the category of insight that a cookie issue falls under.
702
+ */
703
+ export type InsightType = "GitHubResource"|"GracePeriod"|"Heuristics";
704
+ /**
705
+ * Information about the suggested solution to a cookie issue.
706
+ */
707
+ export interface CookieIssueInsight {
708
+ type: InsightType;
709
+ /**
710
+ * Link to table entry in third-party cookie migration readiness list.
711
+ */
712
+ tableEntryUrl?: string;
713
+ }
699
714
  /**
700
715
  * This information is currently necessary, as the front-end has a difficult
701
716
  time finding a specific cookie. With this, we can convey specific error
@@ -720,6 +735,10 @@ may be used by the front-end as additional context.
720
735
  siteForCookies?: string;
721
736
  cookieUrl?: string;
722
737
  request?: AffectedRequest;
738
+ /**
739
+ * The recommended solution to the issue.
740
+ */
741
+ insight?: CookieIssueInsight;
723
742
  }
724
743
  export type MixedContentResolutionStatus = "MixedContentBlocked"|"MixedContentAutomaticallyUpgraded"|"MixedContentWarning";
725
744
  export type MixedContentResourceType = "AttributionSrc"|"Audio"|"Beacon"|"CSPReport"|"Download"|"EventSource"|"Favicon"|"Font"|"Form"|"Frame"|"Image"|"Import"|"JSON"|"Manifest"|"Ping"|"PluginData"|"PluginResource"|"Prefetch"|"Resource"|"Script"|"ServiceWorker"|"SharedWorker"|"SpeculationRules"|"Stylesheet"|"Track"|"Video"|"Worker"|"XMLHttpRequest"|"XSLT";
@@ -757,7 +776,7 @@ Does not always exist (e.g. for unsafe form submission urls).
757
776
  * Enum indicating the reason a response has been blocked. These reasons are
758
777
  refinements of the net error BLOCKED_BY_RESPONSE.
759
778
  */
760
- export type BlockedByResponseReason = "CoepFrameResourceNeedsCoepHeader"|"CoopSandboxedIFrameCannotNavigateToCoopPage"|"CorpNotSameOrigin"|"CorpNotSameOriginAfterDefaultedToSameOriginByCoep"|"CorpNotSameOriginAfterDefaultedToSameOriginByDip"|"CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip"|"CorpNotSameSite";
779
+ export type BlockedByResponseReason = "CoepFrameResourceNeedsCoepHeader"|"CoopSandboxedIFrameCannotNavigateToCoopPage"|"CorpNotSameOrigin"|"CorpNotSameOriginAfterDefaultedToSameOriginByCoep"|"CorpNotSameOriginAfterDefaultedToSameOriginByDip"|"CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip"|"CorpNotSameSite"|"SRIMessageSignatureMismatch";
761
780
  /**
762
781
  * Details for a request that has been blocked with the BLOCKED_BY_RESPONSE
763
782
  code. Currently only used for COEP/COOP, but may be extended to include
@@ -933,7 +952,7 @@ Should be updated alongside RequestIdTokenStatus in
933
952
  third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
934
953
  all cases except for success.
935
954
  */
936
- 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"|"ReplacedByButtonMode"|"InvalidFieldsSpecified"|"RelyingPartyOriginIsOpaque"|"TypeNotMatching";
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";
937
956
  export interface FederatedAuthUserInfoRequestIssueDetails {
938
957
  federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
939
958
  }
@@ -962,6 +981,15 @@ features, encourage the use of new ones, and provide general guidance.
962
981
  failureMessage: string;
963
982
  requestId?: Network.RequestId;
964
983
  }
984
+ export type SelectElementAccessibilityIssueReason = "DisallowedSelectChild"|"DisallowedOptGroupChild"|"NonPhrasingContentOptionChild"|"InteractiveContentOptionChild"|"InteractiveContentLegendChild";
985
+ /**
986
+ * This issue warns about errors in the select element content model.
987
+ */
988
+ export interface SelectElementAccessibilityIssueDetails {
989
+ nodeId: DOM.BackendNodeId;
990
+ selectElementAccessibilityIssueReason: SelectElementAccessibilityIssueReason;
991
+ hasDisallowedAttributes: boolean;
992
+ }
965
993
  export type StyleSheetLoadingIssueReason = "LateImportRule"|"RequestFailed";
966
994
  /**
967
995
  * This issue warns when a referenced stylesheet couldn't be loaded.
@@ -1004,7 +1032,7 @@ registrations being ignored.
1004
1032
  optional fields in InspectorIssueDetails to convey more specific
1005
1033
  information about the kind of issue.
1006
1034
  */
1007
- export type InspectorIssueCode = "CookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"LowTextContrastIssue"|"CorsIssue"|"AttributionReportingIssue"|"QuirksModeIssue"|"NavigatorUserAgentIssue"|"GenericIssue"|"DeprecationIssue"|"ClientHintIssue"|"FederatedAuthRequestIssue"|"BounceTrackingIssue"|"CookieDeprecationMetadataIssue"|"StylesheetLoadingIssue"|"FederatedAuthUserInfoRequestIssue"|"PropertyRuleIssue"|"SharedDictionaryIssue";
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";
1008
1036
  /**
1009
1037
  * This struct holds a list of optional fields with additional information
1010
1038
  specific to the kind of issue. When adding a new issue code, please also
@@ -1032,6 +1060,7 @@ add a new optional field to this type.
1032
1060
  propertyRuleIssueDetails?: PropertyRuleIssueDetails;
1033
1061
  federatedAuthUserInfoRequestIssueDetails?: FederatedAuthUserInfoRequestIssueDetails;
1034
1062
  sharedDictionaryIssueDetails?: SharedDictionaryIssueDetails;
1063
+ selectElementAccessibilityIssueDetails?: SelectElementAccessibilityIssueDetails;
1035
1064
  }
1036
1065
  /**
1037
1066
  * A unique id for a DevTools inspector issue. Allows other entities (e.g.
@@ -1341,6 +1370,125 @@ will be merged with existing values in the storage area.
1341
1370
  }
1342
1371
  }
1343
1372
 
1373
+ /**
1374
+ * Defines commands and events for browser extensions.
1375
+ */
1376
+ export module Extensions {
1377
+ /**
1378
+ * Storage areas.
1379
+ */
1380
+ export type StorageArea = "session"|"local"|"sync"|"managed";
1381
+
1382
+
1383
+ /**
1384
+ * Installs an unpacked extension from the filesystem similar to
1385
+ --load-extension CLI flags. Returns extension ID once the extension
1386
+ has been installed. Available if the client is connected using the
1387
+ --remote-debugging-pipe flag and the --enable-unsafe-extension-debugging
1388
+ flag is set.
1389
+ */
1390
+ export type loadUnpackedParameters = {
1391
+ /**
1392
+ * Absolute file path.
1393
+ */
1394
+ path: string;
1395
+ }
1396
+ export type loadUnpackedReturnValue = {
1397
+ /**
1398
+ * Extension id.
1399
+ */
1400
+ id: string;
1401
+ }
1402
+ /**
1403
+ * Uninstalls an unpacked extension (others not supported) from the profile.
1404
+ Available if the client is connected using the --remote-debugging-pipe flag
1405
+ and the --enable-unsafe-extension-debugging.
1406
+ */
1407
+ export type uninstallParameters = {
1408
+ /**
1409
+ * Extension id.
1410
+ */
1411
+ id: string;
1412
+ }
1413
+ export type uninstallReturnValue = {
1414
+ }
1415
+ /**
1416
+ * Gets data from extension storage in the given `storageArea`. If `keys` is
1417
+ specified, these are used to filter the result.
1418
+ */
1419
+ export type getStorageItemsParameters = {
1420
+ /**
1421
+ * ID of extension.
1422
+ */
1423
+ id: string;
1424
+ /**
1425
+ * StorageArea to retrieve data from.
1426
+ */
1427
+ storageArea: StorageArea;
1428
+ /**
1429
+ * Keys to retrieve.
1430
+ */
1431
+ keys?: string[];
1432
+ }
1433
+ export type getStorageItemsReturnValue = {
1434
+ data: { [key: string]: string };
1435
+ }
1436
+ /**
1437
+ * Removes `keys` from extension storage in the given `storageArea`.
1438
+ */
1439
+ export type removeStorageItemsParameters = {
1440
+ /**
1441
+ * ID of extension.
1442
+ */
1443
+ id: string;
1444
+ /**
1445
+ * StorageArea to remove data from.
1446
+ */
1447
+ storageArea: StorageArea;
1448
+ /**
1449
+ * Keys to remove.
1450
+ */
1451
+ keys: string[];
1452
+ }
1453
+ export type removeStorageItemsReturnValue = {
1454
+ }
1455
+ /**
1456
+ * Clears extension storage in the given `storageArea`.
1457
+ */
1458
+ export type clearStorageItemsParameters = {
1459
+ /**
1460
+ * ID of extension.
1461
+ */
1462
+ id: string;
1463
+ /**
1464
+ * StorageArea to remove data from.
1465
+ */
1466
+ storageArea: StorageArea;
1467
+ }
1468
+ export type clearStorageItemsReturnValue = {
1469
+ }
1470
+ /**
1471
+ * Sets `values` in extension storage in the given `storageArea`. The provided `values`
1472
+ will be merged with existing values in the storage area.
1473
+ */
1474
+ export type setStorageItemsParameters = {
1475
+ /**
1476
+ * ID of extension.
1477
+ */
1478
+ id: string;
1479
+ /**
1480
+ * StorageArea to set data in.
1481
+ */
1482
+ storageArea: StorageArea;
1483
+ /**
1484
+ * Values to set.
1485
+ */
1486
+ values: { [key: string]: string };
1487
+ }
1488
+ export type setStorageItemsReturnValue = {
1489
+ }
1490
+ }
1491
+
1344
1492
  /**
1345
1493
  * Defines commands and events for Autofill.
1346
1494
  */
@@ -1639,7 +1787,7 @@ events afterwards if enabled and recording.
1639
1787
  */
1640
1788
  windowState?: WindowState;
1641
1789
  }
1642
- export type PermissionType = "accessibilityEvents"|"audioCapture"|"backgroundSync"|"backgroundFetch"|"capturedSurfaceControl"|"clipboardReadWrite"|"clipboardSanitizedWrite"|"displayCapture"|"durableStorage"|"flash"|"geolocation"|"idleDetection"|"localFonts"|"midi"|"midiSysex"|"nfc"|"notifications"|"paymentHandler"|"periodicBackgroundSync"|"protectedMediaIdentifier"|"sensors"|"storageAccess"|"speakerSelection"|"topLevelStorageAccess"|"videoCapture"|"videoCapturePanTiltZoom"|"wakeLockScreen"|"wakeLockSystem"|"webAppInstallation"|"windowManagement";
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";
1643
1791
  export type PermissionSetting = "granted"|"denied"|"prompt";
1644
1792
  /**
1645
1793
  * Definition of PermissionDescriptor defined in the Permissions API:
@@ -2066,6 +2214,19 @@ inspector" rules), "regular" for regular stylesheets.
2066
2214
  */
2067
2215
  matches: RuleMatch[];
2068
2216
  }
2217
+ /**
2218
+ * CSS style coming from animations with the name of the animation.
2219
+ */
2220
+ export interface CSSAnimationStyle {
2221
+ /**
2222
+ * The name of the animation.
2223
+ */
2224
+ name?: string;
2225
+ /**
2226
+ * The style coming from the animation.
2227
+ */
2228
+ style: CSSStyle;
2229
+ }
2069
2230
  /**
2070
2231
  * Inherited CSS rule collection from ancestor node.
2071
2232
  */
@@ -2079,6 +2240,19 @@ inspector" rules), "regular" for regular stylesheets.
2079
2240
  */
2080
2241
  matchedCSSRules: RuleMatch[];
2081
2242
  }
2243
+ /**
2244
+ * Inherited CSS style collection for animated styles from ancestor node.
2245
+ */
2246
+ export interface InheritedAnimatedStyleEntry {
2247
+ /**
2248
+ * Styles coming from the animations of the ancestor, if any, in the style inheritance chain.
2249
+ */
2250
+ animationStyles?: CSSAnimationStyle[];
2251
+ /**
2252
+ * The style coming from the transitions of the ancestor, if any, in the style inheritance chain.
2253
+ */
2254
+ transitionsStyle?: CSSStyle;
2255
+ }
2082
2256
  /**
2083
2257
  * Inherited pseudo element matches from pseudos of an ancestor node.
2084
2258
  */
@@ -2288,12 +2462,17 @@ The array enumerates @scope at-rules starting with the innermost one, going outw
2288
2462
  * The array keeps the types of ancestor CSSRules from the innermost going outwards.
2289
2463
  */
2290
2464
  ruleTypes?: CSSRuleType[];
2465
+ /**
2466
+ * @starting-style CSS at-rule array.
2467
+ The array enumerates @starting-style at-rules starting with the innermost one, going outwards.
2468
+ */
2469
+ startingStyles?: CSSStartingStyle[];
2291
2470
  }
2292
2471
  /**
2293
2472
  * Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors.
2294
2473
  This list only contains rule types that are collected during the ancestor rule collection.
2295
2474
  */
2296
- export type CSSRuleType = "MediaRule"|"SupportsRule"|"ContainerRule"|"LayerRule"|"ScopeRule"|"StyleRule";
2475
+ export type CSSRuleType = "MediaRule"|"SupportsRule"|"ContainerRule"|"LayerRule"|"ScopeRule"|"StyleRule"|"StartingStyleRule";
2297
2476
  /**
2298
2477
  * CSS coverage information.
2299
2478
  */
@@ -2529,6 +2708,10 @@ available).
2529
2708
  * Optional logical axes queried for the container.
2530
2709
  */
2531
2710
  logicalAxes?: DOM.LogicalAxes;
2711
+ /**
2712
+ * true if the query contains scroll-state() queries.
2713
+ */
2714
+ queriesScrollState?: boolean;
2532
2715
  }
2533
2716
  /**
2534
2717
  * CSS Supports at-rule descriptor.
@@ -2580,6 +2763,20 @@ available).
2580
2763
  text: string;
2581
2764
  /**
2582
2765
  * The associated rule header range in the enclosing stylesheet (if
2766
+ available).
2767
+ */
2768
+ range?: SourceRange;
2769
+ /**
2770
+ * Identifier of the stylesheet containing this object (if exists).
2771
+ */
2772
+ styleSheetId?: StyleSheetId;
2773
+ }
2774
+ /**
2775
+ * CSS Starting Style at-rule descriptor.
2776
+ */
2777
+ export interface CSSStartingStyle {
2778
+ /**
2779
+ * The associated rule header range in the enclosing stylesheet (if
2583
2780
  available).
2584
2781
  */
2585
2782
  range?: SourceRange;
@@ -2884,6 +3081,12 @@ resized.) The current implementation considers only viewport-dependent media fea
2884
3081
  */
2885
3082
  styleSheetId: StyleSheetId;
2886
3083
  }
3084
+ export type computedStyleUpdatedPayload = {
3085
+ /**
3086
+ * The node id that has updated computed styles.
3087
+ */
3088
+ nodeId: DOM.NodeId;
3089
+ }
2887
3090
 
2888
3091
  /**
2889
3092
  * Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the
@@ -2935,6 +3138,13 @@ incorrect results if the declaration contains a var() for example.
2935
3138
  * Identifier of the frame where "via-inspector" stylesheet should be created.
2936
3139
  */
2937
3140
  frameId: Page.FrameId;
3141
+ /**
3142
+ * If true, creates a new stylesheet for every call. If false,
3143
+ returns a stylesheet previously created by a call with force=false
3144
+ for the frame's document if it exists or creates a new stylesheet
3145
+ (default: false).
3146
+ */
3147
+ force?: boolean;
2938
3148
  }
2939
3149
  export type createStyleSheetReturnValue = {
2940
3150
  /**
@@ -2973,6 +3183,21 @@ the browser.
2973
3183
  }
2974
3184
  export type forcePseudoStateReturnValue = {
2975
3185
  }
3186
+ /**
3187
+ * Ensures that the given node is in its starting-style state.
3188
+ */
3189
+ export type forceStartingStyleParameters = {
3190
+ /**
3191
+ * The element id for which to force the starting-style state.
3192
+ */
3193
+ nodeId: DOM.NodeId;
3194
+ /**
3195
+ * Boolean indicating if this is on or off.
3196
+ */
3197
+ forced: boolean;
3198
+ }
3199
+ export type forceStartingStyleReturnValue = {
3200
+ }
2976
3201
  export type getBackgroundColorsParameters = {
2977
3202
  /**
2978
3203
  * Id of the node to get background colors for.
@@ -3010,6 +3235,46 @@ be ignored (as if the image had failed to load).
3010
3235
  */
3011
3236
  computedStyle: CSSComputedStyleProperty[];
3012
3237
  }
3238
+ /**
3239
+ * Resolve the specified values in the context of the provided element.
3240
+ For example, a value of '1em' is evaluated according to the computed
3241
+ 'font-size' of the element and a value 'calc(1px + 2px)' will be
3242
+ resolved to '3px'.
3243
+ */
3244
+ export type resolveValuesParameters = {
3245
+ /**
3246
+ * Substitution functions (var()/env()/attr()) and cascade-dependent
3247
+ keywords (revert/revert-layer) do not work.
3248
+ */
3249
+ values: string[];
3250
+ /**
3251
+ * Id of the node in whose context the expression is evaluated
3252
+ */
3253
+ nodeId: DOM.NodeId;
3254
+ /**
3255
+ * Only longhands and custom property names are accepted.
3256
+ */
3257
+ propertyName?: string;
3258
+ /**
3259
+ * Pseudo element type, only works for pseudo elements that generate
3260
+ elements in the tree, such as ::before and ::after.
3261
+ */
3262
+ pseudoType?: DOM.PseudoType;
3263
+ /**
3264
+ * Pseudo element custom ident.
3265
+ */
3266
+ pseudoIdentifier?: string;
3267
+ }
3268
+ export type resolveValuesReturnValue = {
3269
+ results: string[];
3270
+ }
3271
+ export type getLonghandPropertiesParameters = {
3272
+ shorthandName: string;
3273
+ value: string;
3274
+ }
3275
+ export type getLonghandPropertiesReturnValue = {
3276
+ longhandProperties: CSSProperty[];
3277
+ }
3013
3278
  /**
3014
3279
  * Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
3015
3280
  attributes) for a DOM node identified by `nodeId`.
@@ -3027,6 +3292,28 @@ attributes) for a DOM node identified by `nodeId`.
3027
3292
  */
3028
3293
  attributesStyle?: CSSStyle;
3029
3294
  }
3295
+ /**
3296
+ * Returns the styles coming from animations & transitions
3297
+ including the animation & transition styles coming from inheritance chain.
3298
+ */
3299
+ export type getAnimatedStylesForNodeParameters = {
3300
+ nodeId: DOM.NodeId;
3301
+ }
3302
+ export type getAnimatedStylesForNodeReturnValue = {
3303
+ /**
3304
+ * Styles coming from animations.
3305
+ */
3306
+ animationStyles?: CSSAnimationStyle[];
3307
+ /**
3308
+ * Style coming from transitions.
3309
+ */
3310
+ transitionsStyle?: CSSStyle;
3311
+ /**
3312
+ * Inherited style entries for animationsStyle and transitionsStyle from
3313
+ the inheritance chain of the element.
3314
+ */
3315
+ inherited?: InheritedAnimatedStyleEntry[];
3316
+ }
3030
3317
  /**
3031
3318
  * Returns requested styles for a DOM node identified by `nodeId`.
3032
3319
  */
@@ -3144,6 +3431,19 @@ returns an array of locations of the CSS selector in the style sheet.
3144
3431
  export type getLocationForSelectorReturnValue = {
3145
3432
  ranges: SourceRange[];
3146
3433
  }
3434
+ /**
3435
+ * Starts tracking the given node for the computed style updates
3436
+ and whenever the computed style is updated for node, it queues
3437
+ a `computedStyleUpdated` event with throttling.
3438
+ There can only be 1 node tracked for computed style updates
3439
+ so passing a new node id removes tracking from the previous node.
3440
+ Pass `undefined` to disable tracking.
3441
+ */
3442
+ export type trackComputedStyleUpdatesForNodeParameters = {
3443
+ nodeId?: DOM.NodeId;
3444
+ }
3445
+ export type trackComputedStyleUpdatesForNodeReturnValue = {
3446
+ }
3147
3447
  /**
3148
3448
  * Starts tracking the given computed styles for updates. The specified array of properties
3149
3449
  replaces the one previously specified. Pass empty array to disable tracking.
@@ -3666,7 +3966,7 @@ front-end.
3666
3966
  /**
3667
3967
  * Pseudo element type.
3668
3968
  */
3669
- export type PseudoType = "first-line"|"first-letter"|"before"|"after"|"marker"|"backdrop"|"column"|"selection"|"search-text"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scroll-marker"|"scroll-marker-group"|"scroll-next-button"|"scroll-prev-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"|"select-fallback-button"|"select-fallback-button-text"|"picker";
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";
3670
3970
  /**
3671
3971
  * Shadow root type.
3672
3972
  */
@@ -3824,20 +4124,6 @@ The property is always undefined now.
3824
4124
  treeNode: Node;
3825
4125
  retainedNodeIds: NodeId[];
3826
4126
  }
3827
- /**
3828
- * A structure to hold the top-level node of a detached tree and an array of its retained descendants.
3829
- */
3830
- export interface DetachedElementInfo {
3831
- treeNode: Node;
3832
- retainedNodeIds: NodeId[];
3833
- }
3834
- /**
3835
- * A structure to hold the top-level node of a detached tree and an array of its retained descendants.
3836
- */
3837
- export interface DetachedElementInfo {
3838
- treeNode: Node;
3839
- retainedNodeIds: NodeId[];
3840
- }
3841
4127
  /**
3842
4128
  * A structure holding an RGBA color.
3843
4129
  */
@@ -4995,15 +5281,17 @@ $x functions).
4995
5281
  }
4996
5282
  /**
4997
5283
  * Returns the query container of the given node based on container query
4998
- conditions: containerName, physical, and logical axes. If no axes are
4999
- provided, the style container is returned, which is the direct parent or the
5000
- closest element with a matching container-name.
5284
+ conditions: containerName, physical and logical axes, and whether it queries
5285
+ scroll-state. If no axes are provided and queriesScrollState is false, the
5286
+ style container is returned, which is the direct parent or the closest
5287
+ element with a matching container-name.
5001
5288
  */
5002
5289
  export type getContainerForNodeParameters = {
5003
5290
  nodeId: NodeId;
5004
5291
  containerName?: string;
5005
5292
  physicalAxes?: PhysicalAxes;
5006
5293
  logicalAxes?: LogicalAxes;
5294
+ queriesScrollState?: boolean;
5007
5295
  }
5008
5296
  export type getContainerForNodeReturnValue = {
5009
5297
  /**
@@ -5918,107 +6206,32 @@ The final text color opacity is computed based on the opacity of all overlapping
5918
6206
  }
5919
6207
  }
5920
6208
 
5921
- export module Database {
6209
+ export module DeviceOrientation {
6210
+
6211
+
5922
6212
  /**
5923
- * Unique identifier of Database object.
6213
+ * Clears the overridden Device Orientation.
5924
6214
  */
5925
- export type DatabaseId = string;
6215
+ export type clearDeviceOrientationOverrideParameters = {
6216
+ }
6217
+ export type clearDeviceOrientationOverrideReturnValue = {
6218
+ }
5926
6219
  /**
5927
- * Database object.
6220
+ * Overrides the Device Orientation.
5928
6221
  */
5929
- export interface Database {
5930
- /**
5931
- * Database ID.
5932
- */
5933
- id: DatabaseId;
6222
+ export type setDeviceOrientationOverrideParameters = {
5934
6223
  /**
5935
- * Database domain.
6224
+ * Mock alpha
5936
6225
  */
5937
- domain: string;
6226
+ alpha: number;
5938
6227
  /**
5939
- * Database name.
6228
+ * Mock beta
5940
6229
  */
5941
- name: string;
6230
+ beta: number;
5942
6231
  /**
5943
- * Database version.
6232
+ * Mock gamma
5944
6233
  */
5945
- version: string;
5946
- }
5947
- /**
5948
- * Database error.
5949
- */
5950
- export interface Error {
5951
- /**
5952
- * Error message.
5953
- */
5954
- message: string;
5955
- /**
5956
- * Error code.
5957
- */
5958
- code: number;
5959
- }
5960
-
5961
- export type addDatabasePayload = {
5962
- database: Database;
5963
- }
5964
-
5965
- /**
5966
- * Disables database tracking, prevents database events from being sent to the client.
5967
- */
5968
- export type disableParameters = {
5969
- }
5970
- export type disableReturnValue = {
5971
- }
5972
- /**
5973
- * Enables database tracking, database events will now be delivered to the client.
5974
- */
5975
- export type enableParameters = {
5976
- }
5977
- export type enableReturnValue = {
5978
- }
5979
- export type executeSQLParameters = {
5980
- databaseId: DatabaseId;
5981
- query: string;
5982
- }
5983
- export type executeSQLReturnValue = {
5984
- columnNames?: string[];
5985
- values?: any[];
5986
- sqlError?: Error;
5987
- }
5988
- export type getDatabaseTableNamesParameters = {
5989
- databaseId: DatabaseId;
5990
- }
5991
- export type getDatabaseTableNamesReturnValue = {
5992
- tableNames: string[];
5993
- }
5994
- }
5995
-
5996
- export module DeviceOrientation {
5997
-
5998
-
5999
- /**
6000
- * Clears the overridden Device Orientation.
6001
- */
6002
- export type clearDeviceOrientationOverrideParameters = {
6003
- }
6004
- export type clearDeviceOrientationOverrideReturnValue = {
6005
- }
6006
- /**
6007
- * Overrides the Device Orientation.
6008
- */
6009
- export type setDeviceOrientationOverrideParameters = {
6010
- /**
6011
- * Mock alpha
6012
- */
6013
- alpha: number;
6014
- /**
6015
- * Mock beta
6016
- */
6017
- beta: number;
6018
- /**
6019
- * Mock gamma
6020
- */
6021
- gamma: number;
6234
+ gamma: number;
6022
6235
  }
6023
6236
  export type setDeviceOrientationOverrideReturnValue = {
6024
6237
  }
@@ -6108,7 +6321,7 @@ Missing optional values will be filled in by the target with what it would norma
6108
6321
  * Used to specify sensor types to emulate.
6109
6322
  See https://w3c.github.io/sensors/#automation for more information.
6110
6323
  */
6111
- export type SensorType = "absolute-orientation"|"accelerometer"|"ambient-light"|"gravity"|"gyroscope"|"linear-acceleration"|"magnetometer"|"proximity"|"relative-orientation";
6324
+ export type SensorType = "absolute-orientation"|"accelerometer"|"ambient-light"|"gravity"|"gyroscope"|"linear-acceleration"|"magnetometer"|"relative-orientation";
6112
6325
  export interface SensorMetadata {
6113
6326
  available?: boolean;
6114
6327
  minimumFrequency?: number;
@@ -6787,6 +7000,7 @@ following the last read). Some types of streams may only support sequential read
6787
7000
  uuid: string;
6788
7001
  }
6789
7002
  }
7003
+
6790
7004
  export module FileSystem {
6791
7005
  export interface File {
6792
7006
  name: string;
@@ -6834,6 +7048,7 @@ following the last read). Some types of streams may only support sequential read
6834
7048
  directory: Directory;
6835
7049
  }
6836
7050
  }
7051
+
6837
7052
  export module IndexedDB {
6838
7053
  /**
6839
7054
  * Database with an array of object stores.
@@ -8372,7 +8587,9 @@ file, data and other requests and responses, their headers, bodies, timing, etc.
8372
8587
  */
8373
8588
  export type LoaderId = string;
8374
8589
  /**
8375
- * Unique request identifier.
8590
+ * Unique network request identifier.
8591
+ Note that this does not identify individual HTTP requests that are part of
8592
+ a network request.
8376
8593
  */
8377
8594
  export type RequestId = string;
8378
8595
  /**
@@ -8687,7 +8904,7 @@ applicable or not known.
8687
8904
  /**
8688
8905
  * The reason why request was blocked.
8689
8906
  */
8690
- 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";
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";
8691
8908
  /**
8692
8909
  * The reason why request was blocked.
8693
8910
  */
@@ -8947,6 +9164,7 @@ If the opcode isn't 1, then payloadData is a base64 encoded string representing
8947
9164
  type: "parser"|"script"|"preload"|"SignedExchange"|"preflight"|"other";
8948
9165
  /**
8949
9166
  * Initiator JavaScript stack trace, set for Script only.
9167
+ Requires the Debugger domain to be enabled.
8950
9168
  */
8951
9169
  stack?: Runtime.StackTrace;
8952
9170
  /**
@@ -9061,11 +9279,11 @@ This is a temporary ability and it will be removed in the future.
9061
9279
  /**
9062
9280
  * Types of reasons why a cookie may not be sent with a request.
9063
9281
  */
9064
- export type CookieBlockedReason = "SecureOnly"|"NotOnPath"|"DomainMismatch"|"SameSiteStrict"|"SameSiteLax"|"SameSiteUnspecifiedTreatedAsLax"|"SameSiteNoneInsecure"|"UserPreferences"|"ThirdPartyPhaseout"|"ThirdPartyBlockedInFirstPartySet"|"UnknownError"|"SchemefulSameSiteStrict"|"SchemefulSameSiteLax"|"SchemefulSameSiteUnspecifiedTreatedAsLax"|"SamePartyFromCrossPartyContext"|"NameValuePairExceedsMaxSize";
9282
+ export type CookieBlockedReason = "SecureOnly"|"NotOnPath"|"DomainMismatch"|"SameSiteStrict"|"SameSiteLax"|"SameSiteUnspecifiedTreatedAsLax"|"SameSiteNoneInsecure"|"UserPreferences"|"ThirdPartyPhaseout"|"ThirdPartyBlockedInFirstPartySet"|"UnknownError"|"SchemefulSameSiteStrict"|"SchemefulSameSiteLax"|"SchemefulSameSiteUnspecifiedTreatedAsLax"|"SamePartyFromCrossPartyContext"|"NameValuePairExceedsMaxSize"|"PortMismatch"|"SchemeMismatch";
9065
9283
  /**
9066
9284
  * Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
9067
9285
  */
9068
- export type CookieExemptionReason = "None"|"UserSetting"|"TPCDMetadata"|"TPCDDeprecationTrial"|"TopLevelTPCDDeprecationTrial"|"TPCDHeuristics"|"EnterprisePolicy"|"StorageAccess"|"TopLevelStorageAccess"|"Scheme";
9286
+ export type CookieExemptionReason = "None"|"UserSetting"|"TPCDMetadata"|"TPCDDeprecationTrial"|"TopLevelTPCDDeprecationTrial"|"TPCDHeuristics"|"EnterprisePolicy"|"StorageAccess"|"TopLevelStorageAccess"|"Scheme"|"SameSiteNoneCookiesInSandbox";
9069
9287
  /**
9070
9288
  * A cookie which was not stored from a response with the corresponding reason.
9071
9289
  */
@@ -9987,6 +10205,9 @@ are represented by the invalid cookie line string instead of a proper cookie.
9987
10205
  blockedCookies: BlockedSetCookieWithReason[];
9988
10206
  /**
9989
10207
  * Raw response headers as they were received over the wire.
10208
+ Duplicate headers in the response are represented as a single key with their values
10209
+ concatentated using `\n` as the separator.
10210
+ See also `headersText` that contains verbatim text for HTTP/1.*.
9990
10211
  */
9991
10212
  headers: Headers;
9992
10213
  /**
@@ -10032,6 +10253,9 @@ Only one responseReceivedEarlyHints may be fired for eached responseReceived eve
10032
10253
  requestId: RequestId;
10033
10254
  /**
10034
10255
  * Raw response headers as they were received over the wire.
10256
+ Duplicate headers in the response are represented as a single key with their values
10257
+ concatentated using `\n` as the separator.
10258
+ See also `headersText` that contains verbatim text for HTTP/1.*.
10035
10259
  */
10036
10260
  headers: Headers;
10037
10261
  }
@@ -10048,7 +10272,7 @@ or after the response was received.
10048
10272
  of the operation already exists und thus, the operation was abort
10049
10273
  preemptively (e.g. a cache hit).
10050
10274
  */
10051
- status: "Ok"|"InvalidArgument"|"MissingIssuerKeys"|"FailedPrecondition"|"ResourceExhausted"|"AlreadyExists"|"ResourceLimited"|"Unauthorized"|"BadResponse"|"InternalError"|"UnknownError"|"FulfilledLocally";
10275
+ status: "Ok"|"InvalidArgument"|"MissingIssuerKeys"|"FailedPrecondition"|"ResourceExhausted"|"AlreadyExists"|"ResourceLimited"|"Unauthorized"|"BadResponse"|"InternalError"|"UnknownError"|"FulfilledLocally"|"SiteIssuerLimit";
10052
10276
  type: TrustTokenOperationType;
10053
10277
  requestId: RequestId;
10054
10278
  /**
@@ -10742,6 +10966,26 @@ should be omitted for worker targets.
10742
10966
  export type loadNetworkResourceReturnValue = {
10743
10967
  resource: LoadNetworkResourcePageResult;
10744
10968
  }
10969
+ /**
10970
+ * Sets Controls for third-party cookie access
10971
+ Page reload is required before the new cookie bahavior will be observed
10972
+ */
10973
+ export type setCookieControlsParameters = {
10974
+ /**
10975
+ * Whether 3pc restriction is enabled.
10976
+ */
10977
+ enableThirdPartyCookieRestriction: boolean;
10978
+ /**
10979
+ * Whether 3pc grace period exception should be enabled; false by default.
10980
+ */
10981
+ disableThirdPartyCookieMetadata: boolean;
10982
+ /**
10983
+ * Whether 3pc heuristics exceptions should be enabled; false by default.
10984
+ */
10985
+ disableThirdPartyCookieHeuristics: boolean;
10986
+ }
10987
+ export type setCookieControlsReturnValue = {
10988
+ }
10745
10989
  }
10746
10990
 
10747
10991
  /**
@@ -11514,7 +11758,7 @@ Backend then generates 'inspectNodeRequested' event upon element selection.
11514
11758
  export type setShowHitTestBordersReturnValue = {
11515
11759
  }
11516
11760
  /**
11517
- * Request that backend shows an overlay with web vital metrics.
11761
+ * Deprecated, no longer has any effect.
11518
11762
  */
11519
11763
  export type setShowWebVitalsParameters = {
11520
11764
  show: boolean;
@@ -11615,7 +11859,7 @@ as an ad.
11615
11859
  * All Permissions Policy features. This enum should match the one defined
11616
11860
  in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
11617
11861
  */
11618
- 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-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"|"digital-credentials-get"|"direct-sockets"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"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";
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";
11619
11863
  /**
11620
11864
  * Reason for a permissions policy feature to be disabled.
11621
11865
  */
@@ -12203,7 +12447,7 @@ https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-expl
12203
12447
  /**
12204
12448
  * List of not restored reasons for back-forward cache.
12205
12449
  */
12206
- 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";
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";
12207
12451
  /**
12208
12452
  * Types of not restored reasons for back-forward cache.
12209
12453
  */
@@ -12344,6 +12588,33 @@ subtree is actually detached.
12344
12588
  frame: Frame;
12345
12589
  }
12346
12590
  export type frameResizedPayload = void;
12591
+ /**
12592
+ * Fired when a navigation starts. This event is fired for both
12593
+ renderer-initiated and browser-initiated navigations. For renderer-initiated
12594
+ navigations, the event is fired after `frameRequestedNavigation`.
12595
+ Navigation may still be cancelled after the event is issued. Multiple events
12596
+ can be fired for a single navigation, for example, when a same-document
12597
+ navigation becomes a cross-document navigation (such as in the case of a
12598
+ frameset).
12599
+ */
12600
+ export type frameStartedNavigatingPayload = {
12601
+ /**
12602
+ * ID of the frame that is being navigated.
12603
+ */
12604
+ frameId: FrameId;
12605
+ /**
12606
+ * The URL the navigation started with. The final URL can be different.
12607
+ */
12608
+ url: string;
12609
+ /**
12610
+ * Loader identifier. Even though it is present in case of same-document
12611
+ navigation, the previously committed loaderId would not change unless
12612
+ the navigation changes from a same-document to a cross-document
12613
+ navigation.
12614
+ */
12615
+ loaderId: Network.LoaderId;
12616
+ navigationType: "reload"|"reloadBypassingCache"|"restore"|"restoreWithPost"|"historySameDocument"|"historyDifferentDocument"|"sameDocument"|"differentDocument";
12617
+ }
12347
12618
  /**
12348
12619
  * Fired when a renderer-initiated navigation is requested.
12349
12620
  Navigation may still be cancelled after the event is issued.
@@ -12501,7 +12772,8 @@ the page execution. Execution can be resumed via calling Page.handleJavaScriptDi
12501
12772
  defaultPrompt?: string;
12502
12773
  }
12503
12774
  /**
12504
- * Fired for top level page lifecycle events such as navigation, load, paint, etc.
12775
+ * Fired for lifecycle events (navigation, load, paint, etc) in the current
12776
+ target (including local frames).
12505
12777
  */
12506
12778
  export type lifecycleEventPayload = {
12507
12779
  /**
@@ -14193,7 +14465,7 @@ For cached script it is the last time the cache entry was validated.
14193
14465
  /**
14194
14466
  * Enum of possible storage types.
14195
14467
  */
14196
- export type StorageType = "appcache"|"cookies"|"file_systems"|"indexeddb"|"local_storage"|"shader_cache"|"websql"|"service_workers"|"cache_storage"|"interest_groups"|"shared_storage"|"storage_buckets"|"all"|"other";
14468
+ export type StorageType = "cookies"|"file_systems"|"indexeddb"|"local_storage"|"shader_cache"|"websql"|"service_workers"|"cache_storage"|"interest_groups"|"shared_storage"|"storage_buckets"|"all"|"other";
14197
14469
  /**
14198
14470
  * Usage for a storage type.
14199
14471
  */
@@ -14456,6 +14728,7 @@ int
14456
14728
  destinationLimitPriority: SignedInt64AsBase10;
14457
14729
  aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
14458
14730
  scopesData?: AttributionScopesData;
14731
+ maxEventLevelReports: number;
14459
14732
  }
14460
14733
  export type AttributionReportingSourceRegistrationResult = "success"|"internalError"|"insufficientSourceCapacity"|"insufficientUniqueDestinationCapacity"|"excessiveReportingOrigins"|"prohibitedByBrowserPolicy"|"successNoised"|"destinationReportingLimitReached"|"destinationGlobalLimitReached"|"destinationBothLimitsReached"|"reportingOriginsPerSiteLimitReached"|"exceedsMaxChannelCapacity"|"exceedsMaxScopesChannelCapacity"|"exceedsMaxTriggerStateCardinality"|"exceedsMaxEventStatesLimit"|"destinationPerDayReportingLimitReached";
14461
14734
  export type AttributionReportingSourceRegistrationTimeConfig = "include"|"exclude";
@@ -14503,7 +14776,7 @@ int
14503
14776
  scopes: string[];
14504
14777
  }
14505
14778
  export type AttributionReportingEventLevelResult = "success"|"successDroppedLowerPriority"|"internalError"|"noCapacityForAttributionDestination"|"noMatchingSources"|"deduplicated"|"excessiveAttributions"|"priorityTooLow"|"neverAttributedSource"|"excessiveReportingOrigins"|"noMatchingSourceFilterData"|"prohibitedByBrowserPolicy"|"noMatchingConfigurations"|"excessiveReports"|"falselyAttributedSource"|"reportWindowPassed"|"notRegistered"|"reportWindowNotStarted"|"noMatchingTriggerData";
14506
- export type AttributionReportingAggregatableResult = "success"|"internalError"|"noCapacityForAttributionDestination"|"noMatchingSources"|"excessiveAttributions"|"excessiveReportingOrigins"|"noHistograms"|"insufficientBudget"|"noMatchingSourceFilterData"|"notRegistered"|"prohibitedByBrowserPolicy"|"deduplicated"|"reportWindowPassed"|"excessiveReports";
14779
+ export type AttributionReportingAggregatableResult = "success"|"internalError"|"noCapacityForAttributionDestination"|"noMatchingSources"|"excessiveAttributions"|"excessiveReportingOrigins"|"noHistograms"|"insufficientBudget"|"insufficientNamedBudget"|"noMatchingSourceFilterData"|"notRegistered"|"prohibitedByBrowserPolicy"|"deduplicated"|"reportWindowPassed"|"excessiveReports";
14507
14780
  /**
14508
14781
  * A single Related Website Set object.
14509
14782
  */
@@ -14521,6 +14794,7 @@ int
14521
14794
  */
14522
14795
  serviceSites: string[];
14523
14796
  }
14797
+
14524
14798
  /**
14525
14799
  * A cache's contents have been modified.
14526
14800
  */
@@ -15103,6 +15377,28 @@ session. The effective Related Website Sets will not change during a browser ses
15103
15377
  export type getRelatedWebsiteSetsReturnValue = {
15104
15378
  sets: RelatedWebsiteSet[];
15105
15379
  }
15380
+ /**
15381
+ * Returns the list of URLs from a page and its embedded resources that match
15382
+ existing grace period URL pattern rules.
15383
+ https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
15384
+ */
15385
+ export type getAffectedUrlsForThirdPartyCookieMetadataParameters = {
15386
+ /**
15387
+ * The URL of the page currently being visited.
15388
+ */
15389
+ firstPartyUrl: string;
15390
+ /**
15391
+ * The list of embedded resource URLs from the page.
15392
+ */
15393
+ thirdPartyUrls: string[];
15394
+ }
15395
+ export type getAffectedUrlsForThirdPartyCookieMetadataReturnValue = {
15396
+ /**
15397
+ * Array of matching URLs. If there is a primary pattern match for the first-
15398
+ party URL, only the first-party URL is returned in the array.
15399
+ */
15400
+ matchedUrls: string[];
15401
+ }
15106
15402
  }
15107
15403
 
15108
15404
  /**
@@ -15395,6 +15691,10 @@ If filter is not specified, the one assumed is
15395
15691
  host: string;
15396
15692
  port: number;
15397
15693
  }
15694
+ /**
15695
+ * The state of the target window.
15696
+ */
15697
+ export type WindowState = "normal"|"minimized"|"maximized"|"fullscreen";
15398
15698
 
15399
15699
  /**
15400
15700
  * Issued when attached to target because of auto-attach or `attachToTarget` command.
@@ -15587,29 +15887,42 @@ Parts of the URL other than those constituting origin are ignored.
15587
15887
  */
15588
15888
  url: string;
15589
15889
  /**
15590
- * Frame width in DIP (headless chrome only).
15890
+ * Frame left origin in DIP (requires newWindow to be true or headless shell).
15891
+ */
15892
+ left?: number;
15893
+ /**
15894
+ * Frame top origin in DIP (requires newWindow to be true or headless shell).
15895
+ */
15896
+ top?: number;
15897
+ /**
15898
+ * Frame width in DIP (requires newWindow to be true or headless shell).
15591
15899
  */
15592
15900
  width?: number;
15593
15901
  /**
15594
- * Frame height in DIP (headless chrome only).
15902
+ * Frame height in DIP (requires newWindow to be true or headless shell).
15595
15903
  */
15596
15904
  height?: number;
15905
+ /**
15906
+ * Frame window state (requires newWindow to be true or headless shell).
15907
+ Default is normal.
15908
+ */
15909
+ windowState?: WindowState;
15597
15910
  /**
15598
15911
  * The browser context to create the page in.
15599
15912
  */
15600
15913
  browserContextId?: Browser.BrowserContextID;
15601
15914
  /**
15602
- * Whether BeginFrames for this target will be controlled via DevTools (headless chrome only,
15915
+ * Whether BeginFrames for this target will be controlled via DevTools (headless shell only,
15603
15916
  not supported on MacOS yet, false by default).
15604
15917
  */
15605
15918
  enableBeginFrameControl?: boolean;
15606
15919
  /**
15607
- * Whether to create a new Window or Tab (chrome-only, false by default).
15920
+ * Whether to create a new Window or Tab (false by default, not supported by headless shell).
15608
15921
  */
15609
15922
  newWindow?: boolean;
15610
15923
  /**
15611
- * Whether to create the target in background or foreground (chrome-only,
15612
- false by default).
15924
+ * Whether to create the target in background or foreground (false by default, not supported
15925
+ by headless shell).
15613
15926
  */
15614
15927
  background?: boolean;
15615
15928
  /**
@@ -16036,6 +16349,8 @@ are ignored.
16036
16349
  export module Fetch {
16037
16350
  /**
16038
16351
  * Unique request identifier.
16352
+ Note that this does not identify individual HTTP requests that are part of
16353
+ a network request.
16039
16354
  */
16040
16355
  export type RequestId = string;
16041
16356
  /**
@@ -16418,7 +16733,7 @@ https://webaudio.github.io/web-audio-api/
16418
16733
  /**
16419
16734
  * Enum of AudioContextState from the spec
16420
16735
  */
16421
- export type ContextState = "suspended"|"running"|"closed";
16736
+ export type ContextState = "suspended"|"running"|"closed"|"interrupted";
16422
16737
  /**
16423
16738
  * Enum of AudioNode types
16424
16739
  */
@@ -16750,6 +17065,17 @@ flag set to this value. Defaults to the authenticator's
16750
17065
  defaultBackupState value.
16751
17066
  */
16752
17067
  backupState?: boolean;
17068
+ /**
17069
+ * The credential's user.name property. Equivalent to empty if not set.
17070
+ https://w3c.github.io/webauthn/#dom-publickeycredentialentity-name
17071
+ */
17072
+ userName?: string;
17073
+ /**
17074
+ * The credential's user.displayName property. Equivalent to empty if
17075
+ not set.
17076
+ https://w3c.github.io/webauthn/#dom-publickeycredentialuserentity-displayname
17077
+ */
17078
+ userDisplayName?: string;
16753
17079
  }
16754
17080
 
16755
17081
  /**
@@ -16759,6 +17085,22 @@ defaultBackupState value.
16759
17085
  authenticatorId: AuthenticatorId;
16760
17086
  credential: Credential;
16761
17087
  }
17088
+ /**
17089
+ * Triggered when a credential is deleted, e.g. through
17090
+ PublicKeyCredential.signalUnknownCredential().
17091
+ */
17092
+ export type credentialDeletedPayload = {
17093
+ authenticatorId: AuthenticatorId;
17094
+ credentialId: binary;
17095
+ }
17096
+ /**
17097
+ * Triggered when a credential is updated, e.g. through
17098
+ PublicKeyCredential.signalCurrentUserDetails().
17099
+ */
17100
+ export type credentialUpdatedPayload = {
17101
+ authenticatorId: AuthenticatorId;
17102
+ credential: Credential;
17103
+ }
16762
17104
  /**
16763
17105
  * Triggered when a credential is used in a webauthn assertion.
16764
17106
  */
@@ -17189,10 +17531,20 @@ possible for multiple rule sets and links to trigger a single attempt.
17189
17531
  ruleSetIds: RuleSetId[];
17190
17532
  nodeIds: DOM.BackendNodeId[];
17191
17533
  }
17534
+ /**
17535
+ * Chrome manages different types of preloads together using a
17536
+ concept of preloading pipeline. For example, if a site uses a
17537
+ SpeculationRules for prerender, Chrome first starts a prefetch and
17538
+ then upgrades it to prerender.
17539
+
17540
+ CDP events for them are emitted separately but they share
17541
+ `PreloadPipelineId`.
17542
+ */
17543
+ export type PreloadPipelineId = string;
17192
17544
  /**
17193
17545
  * List of FinalStatus reasons for Prerender2.
17194
17546
  */
17195
- 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";
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";
17196
17548
  /**
17197
17549
  * Preloading status values, see also PreloadingTriggeringOutcome. This
17198
17550
  status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
@@ -17236,6 +17588,7 @@ filter out the ones that aren't necessary to the developers.
17236
17588
  */
17237
17589
  export type prefetchStatusUpdatedPayload = {
17238
17590
  key: PreloadingAttemptKey;
17591
+ pipelineId: PreloadPipelineId;
17239
17592
  /**
17240
17593
  * The frame id of the frame initiating prefetch.
17241
17594
  */
@@ -17250,6 +17603,7 @@ filter out the ones that aren't necessary to the developers.
17250
17603
  */
17251
17604
  export type prerenderStatusUpdatedPayload = {
17252
17605
  key: PreloadingAttemptKey;
17606
+ pipelineId: PreloadPipelineId;
17253
17607
  status: PreloadingStatus;
17254
17608
  prerenderStatus?: PrerenderFinalStatus;
17255
17609
  /**
@@ -17885,6 +18239,256 @@ the central.
17885
18239
  }
17886
18240
  }
17887
18241
 
18242
+ /**
18243
+ * This domain allows interacting with the browser to control PWAs.
18244
+ */
18245
+ export module PWA {
18246
+ /**
18247
+ * The following types are the replica of
18248
+ https://crsrc.org/c/chrome/browser/web_applications/proto/web_app_os_integration_state.proto;drc=9910d3be894c8f142c977ba1023f30a656bc13fc;l=67
18249
+ */
18250
+ export interface FileHandlerAccept {
18251
+ /**
18252
+ * New name of the mimetype according to
18253
+ https://www.iana.org/assignments/media-types/media-types.xhtml
18254
+ */
18255
+ mediaType: string;
18256
+ fileExtensions: string[];
18257
+ }
18258
+ export interface FileHandler {
18259
+ action: string;
18260
+ accepts: FileHandlerAccept[];
18261
+ displayName: string;
18262
+ }
18263
+ /**
18264
+ * If user prefers opening the app in browser or an app window.
18265
+ */
18266
+ export type DisplayMode = "standalone"|"browser";
18267
+
18268
+
18269
+ /**
18270
+ * Returns the following OS state for the given manifest id.
18271
+ */
18272
+ export type getOsAppStateParameters = {
18273
+ /**
18274
+ * The id from the webapp's manifest file, commonly it's the url of the
18275
+ site installing the webapp. See
18276
+ https://web.dev/learn/pwa/web-app-manifest.
18277
+ */
18278
+ manifestId: string;
18279
+ }
18280
+ export type getOsAppStateReturnValue = {
18281
+ badgeCount: number;
18282
+ fileHandlers: FileHandler[];
18283
+ }
18284
+ /**
18285
+ * Installs the given manifest identity, optionally using the given install_url
18286
+ or IWA bundle location.
18287
+
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
18294
+ mode, the installation will fail, regardless of the state of the allowlist.
18295
+ */
18296
+ export type installParameters = {
18297
+ manifestId: string;
18298
+ /**
18299
+ * The location of the app or bundle overriding the one derived from the
18300
+ manifestId.
18301
+ */
18302
+ installUrlOrBundleUrl?: string;
18303
+ }
18304
+ export type installReturnValue = {
18305
+ }
18306
+ /**
18307
+ * Uninstalls the given manifest_id and closes any opened app windows.
18308
+ */
18309
+ export type uninstallParameters = {
18310
+ manifestId: string;
18311
+ }
18312
+ export type uninstallReturnValue = {
18313
+ }
18314
+ /**
18315
+ * Launches the installed web app, or an url in the same web app instead of the
18316
+ default start url if it is provided. Returns a page Target.TargetID which
18317
+ can be used to attach to via Target.attachToTarget or similar APIs.
18318
+ */
18319
+ export type launchParameters = {
18320
+ manifestId: string;
18321
+ url?: string;
18322
+ }
18323
+ export type launchReturnValue = {
18324
+ /**
18325
+ * ID of the tab target created as a result.
18326
+ */
18327
+ targetId: Target.TargetID;
18328
+ }
18329
+ /**
18330
+ * Opens one or more local files from an installed web app identified by its
18331
+ manifestId. The web app needs to have file handlers registered to process
18332
+ the files. The API returns one or more page Target.TargetIDs which can be
18333
+ used to attach to via Target.attachToTarget or similar APIs.
18334
+ If some files in the parameters cannot be handled by the web app, they will
18335
+ be ignored. If none of the files can be handled, this API returns an error.
18336
+ If no files are provided as the parameter, this API also returns an error.
18337
+
18338
+ According to the definition of the file handlers in the manifest file, one
18339
+ Target.TargetID may represent a page handling one or more files. The order
18340
+ of the returned Target.TargetIDs is not guaranteed.
18341
+
18342
+ TODO(crbug.com/339454034): Check the existences of the input files.
18343
+ */
18344
+ export type launchFilesInAppParameters = {
18345
+ manifestId: string;
18346
+ files: string[];
18347
+ }
18348
+ export type launchFilesInAppReturnValue = {
18349
+ /**
18350
+ * IDs of the tab targets created as the result.
18351
+ */
18352
+ targetIds: Target.TargetID[];
18353
+ }
18354
+ /**
18355
+ * Opens the current page in its web app identified by the manifest id, needs
18356
+ to be called on a page target. This function returns immediately without
18357
+ waiting for the app to finish loading.
18358
+ */
18359
+ export type openCurrentPageInAppParameters = {
18360
+ manifestId: string;
18361
+ }
18362
+ export type openCurrentPageInAppReturnValue = {
18363
+ }
18364
+ /**
18365
+ * Changes user settings of the web app identified by its manifestId. If the
18366
+ app was not installed, this command returns an error. Unset parameters will
18367
+ be ignored; unrecognized values will cause an error.
18368
+
18369
+ Unlike the ones defined in the manifest files of the web apps, these
18370
+ settings are provided by the browser and controlled by the users, they
18371
+ impact the way the browser handling the web apps.
18372
+
18373
+ See the comment of each parameter.
18374
+ */
18375
+ export type changeAppUserSettingsParameters = {
18376
+ manifestId: string;
18377
+ /**
18378
+ * If user allows the links clicked on by the user in the app's scope, or
18379
+ extended scope if the manifest has scope extensions and the flags
18380
+ `DesktopPWAsLinkCapturingWithScopeExtensions` and
18381
+ `WebAppEnableScopeExtensions` are enabled.
18382
+
18383
+ Note, the API does not support resetting the linkCapturing to the
18384
+ initial value, uninstalling and installing the web app again will reset
18385
+ it.
18386
+
18387
+ TODO(crbug.com/339453269): Setting this value on ChromeOS is not
18388
+ supported yet.
18389
+ */
18390
+ linkCapturing?: boolean;
18391
+ displayMode?: DisplayMode;
18392
+ }
18393
+ export type changeAppUserSettingsReturnValue = {
18394
+ }
18395
+ }
18396
+
18397
+ /**
18398
+ * This domain allows configuring virtual Bluetooth devices to test
18399
+ the web-bluetooth API.
18400
+ */
18401
+ export module BluetoothEmulation {
18402
+ /**
18403
+ * Indicates the various states of Central.
18404
+ */
18405
+ export type CentralState = "absent"|"powered-off"|"powered-on";
18406
+ /**
18407
+ * Stores the manufacturer data
18408
+ */
18409
+ export interface ManufacturerData {
18410
+ /**
18411
+ * Company identifier
18412
+ https://bitbucket.org/bluetooth-SIG/public/src/main/assigned_numbers/company_identifiers/company_identifiers.yaml
18413
+ https://usb.org/developers
18414
+ */
18415
+ key: number;
18416
+ /**
18417
+ * Manufacturer-specific data
18418
+ */
18419
+ data: binary;
18420
+ }
18421
+ /**
18422
+ * Stores the byte data of the advertisement packet sent by a Bluetooth device.
18423
+ */
18424
+ export interface ScanRecord {
18425
+ name?: string;
18426
+ uuids?: string[];
18427
+ /**
18428
+ * Stores the external appearance description of the device.
18429
+ */
18430
+ appearance?: number;
18431
+ /**
18432
+ * Stores the transmission power of a broadcasting device.
18433
+ */
18434
+ txPower?: number;
18435
+ /**
18436
+ * Key is the company identifier and the value is an array of bytes of
18437
+ manufacturer specific data.
18438
+ */
18439
+ manufacturerData?: ManufacturerData[];
18440
+ }
18441
+ /**
18442
+ * Stores the advertisement packet information that is sent by a Bluetooth device.
18443
+ */
18444
+ export interface ScanEntry {
18445
+ deviceAddress: string;
18446
+ rssi: number;
18447
+ scanRecord: ScanRecord;
18448
+ }
18449
+
18450
+
18451
+ /**
18452
+ * Enable the BluetoothEmulation domain.
18453
+ */
18454
+ export type enableParameters = {
18455
+ /**
18456
+ * State of the simulated central.
18457
+ */
18458
+ state: CentralState;
18459
+ }
18460
+ export type enableReturnValue = {
18461
+ }
18462
+ /**
18463
+ * Disable the BluetoothEmulation domain.
18464
+ */
18465
+ export type disableParameters = {
18466
+ }
18467
+ export type disableReturnValue = {
18468
+ }
18469
+ /**
18470
+ * Simulates a peripheral with |address|, |name| and |knownServiceUuids|
18471
+ that has already been connected to the system.
18472
+ */
18473
+ export type simulatePreconnectedPeripheralParameters = {
18474
+ address: string;
18475
+ name: string;
18476
+ manufacturerData: ManufacturerData[];
18477
+ knownServiceUuids: string[];
18478
+ }
18479
+ export type simulatePreconnectedPeripheralReturnValue = {
18480
+ }
18481
+ /**
18482
+ * Simulates an advertisement packet described in |entry| being received by
18483
+ the central.
18484
+ */
18485
+ export type simulateAdvertisementParameters = {
18486
+ entry: ScanEntry;
18487
+ }
18488
+ export type simulateAdvertisementReturnValue = {
18489
+ }
18490
+ }
18491
+
17888
18492
  /**
17889
18493
  * This domain is deprecated - use Runtime or Log instead.
17890
18494
  */
@@ -18117,15 +18721,26 @@ variables as its properties.
18117
18721
  /**
18118
18722
  * Type of the debug symbols.
18119
18723
  */
18120
- type: "None"|"SourceMap"|"EmbeddedDWARF"|"ExternalDWARF";
18724
+ type: "SourceMap"|"EmbeddedDWARF"|"ExternalDWARF";
18121
18725
  /**
18122
18726
  * URL of the external symbol source.
18123
18727
  */
18124
18728
  externalURL?: string;
18125
18729
  }
18730
+ export interface ResolvedBreakpoint {
18731
+ /**
18732
+ * Breakpoint unique identifier.
18733
+ */
18734
+ breakpointId: BreakpointId;
18735
+ /**
18736
+ * Actual breakpoint location.
18737
+ */
18738
+ location: Location;
18739
+ }
18126
18740
 
18127
18741
  /**
18128
18742
  * Fired when breakpoint is resolved to an actual script and location.
18743
+ Deprecated in favor of `resolvedBreakpoints` in the `scriptParsed` event.
18129
18744
  */
18130
18745
  export type breakpointResolvedPayload = {
18131
18746
  /**
@@ -18210,6 +18825,10 @@ variables as its properties.
18210
18825
  * Content hash of the script, SHA-256.
18211
18826
  */
18212
18827
  hash: string;
18828
+ /**
18829
+ * For Wasm modules, the content of the `build_id` custom section.
18830
+ */
18831
+ buildId: string;
18213
18832
  /**
18214
18833
  * Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string}
18215
18834
  */
@@ -18284,6 +18903,10 @@ scripts upon enabling debugger.
18284
18903
  * Content hash of the script, SHA-256.
18285
18904
  */
18286
18905
  hash: string;
18906
+ /**
18907
+ * For Wasm modules, the content of the `build_id` custom section.
18908
+ */
18909
+ buildId: string;
18287
18910
  /**
18288
18911
  * Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string}
18289
18912
  */
@@ -18321,13 +18944,19 @@ scripts upon enabling debugger.
18321
18944
  */
18322
18945
  scriptLanguage?: Debugger.ScriptLanguage;
18323
18946
  /**
18324
- * If the scriptLanguage is WebASsembly, the source of debug symbols for the module.
18947
+ * If the scriptLanguage is WebAssembly, the source of debug symbols for the module.
18325
18948
  */
18326
- debugSymbols?: Debugger.DebugSymbols;
18949
+ debugSymbols?: Debugger.DebugSymbols[];
18327
18950
  /**
18328
18951
  * The name the embedder supplied for this script.
18329
18952
  */
18330
18953
  embedderName?: string;
18954
+ /**
18955
+ * The list of set breakpoints in this script if calls to `setBreakpointByUrl`
18956
+ matches this script's URL or hash. Clients that use this list can ignore the
18957
+ `breakpointResolved` event. They are equivalent.
18958
+ */
18959
+ resolvedBreakpoints?: ResolvedBreakpoint[];
18331
18960
  }
18332
18961
 
18333
18962
  /**
@@ -18646,6 +19275,19 @@ call stacks (default).
18646
19275
  }
18647
19276
  export type setAsyncCallStackDepthReturnValue = {
18648
19277
  }
19278
+ /**
19279
+ * Replace previous blackbox execution contexts with passed ones. Forces backend to skip
19280
+ stepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by
19281
+ performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
19282
+ */
19283
+ export type setBlackboxExecutionContextsParameters = {
19284
+ /**
19285
+ * Array of execution context unique ids for the debugger to ignore.
19286
+ */
19287
+ uniqueIds: string[];
19288
+ }
19289
+ export type setBlackboxExecutionContextsReturnValue = {
19290
+ }
18649
19291
  /**
18650
19292
  * Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
18651
19293
  scripts with url matching one of the patterns. VM will try to leave blackboxed script by
@@ -18656,6 +19298,10 @@ performing 'step in' several times, finally resorting to 'step out' if unsuccess
18656
19298
  * Array of regexps that will be used to check script url for blackbox state.
18657
19299
  */
18658
19300
  patterns: string[];
19301
+ /**
19302
+ * If true, also ignore scripts with no source url.
19303
+ */
19304
+ skipAnonymous?: boolean;
18659
19305
  }
18660
19306
  export type setBlackboxPatternsReturnValue = {
18661
19307
  }
@@ -20236,13 +20882,21 @@ It is the total usage of the corresponding isolate not scoped to a particular Ru
20236
20882
  }
20237
20883
  export type getHeapUsageReturnValue = {
20238
20884
  /**
20239
- * Used heap size in bytes.
20885
+ * Used JavaScript heap size in bytes.
20240
20886
  */
20241
20887
  usedSize: number;
20242
20888
  /**
20243
- * Allocated heap size in bytes.
20889
+ * Allocated JavaScript heap size in bytes.
20244
20890
  */
20245
20891
  totalSize: number;
20892
+ /**
20893
+ * Used size in bytes in the embedder's garbage-collected heap.
20894
+ */
20895
+ embedderHeapUsedSize: number;
20896
+ /**
20897
+ * Size in bytes of backing storage for array buffers and external strings.
20898
+ */
20899
+ backingStorageSize: number;
20246
20900
  }
20247
20901
  /**
20248
20902
  * Returns properties of a given object. Object group of the result is inherited from the target
@@ -20535,6 +21189,7 @@ Error was thrown.
20535
21189
  "CSS.styleSheetAdded": CSS.styleSheetAddedPayload;
20536
21190
  "CSS.styleSheetChanged": CSS.styleSheetChangedPayload;
20537
21191
  "CSS.styleSheetRemoved": CSS.styleSheetRemovedPayload;
21192
+ "CSS.computedStyleUpdated": CSS.computedStyleUpdatedPayload;
20538
21193
  "Cast.sinksUpdated": Cast.sinksUpdatedPayload;
20539
21194
  "Cast.issueUpdated": Cast.issueUpdatedPayload;
20540
21195
  "DOM.attributeModified": DOM.attributeModifiedPayload;
@@ -20557,7 +21212,6 @@ Error was thrown.
20557
21212
  "DOMStorage.domStorageItemRemoved": DOMStorage.domStorageItemRemovedPayload;
20558
21213
  "DOMStorage.domStorageItemUpdated": DOMStorage.domStorageItemUpdatedPayload;
20559
21214
  "DOMStorage.domStorageItemsCleared": DOMStorage.domStorageItemsClearedPayload;
20560
- "Database.addDatabase": Database.addDatabasePayload;
20561
21215
  "Emulation.virtualTimeBudgetExpired": Emulation.virtualTimeBudgetExpiredPayload;
20562
21216
  "Input.dragIntercepted": Input.dragInterceptedPayload;
20563
21217
  "Inspector.detached": Inspector.detachedPayload;
@@ -20611,6 +21265,7 @@ Error was thrown.
20611
21265
  "Page.frameNavigated": Page.frameNavigatedPayload;
20612
21266
  "Page.documentOpened": Page.documentOpenedPayload;
20613
21267
  "Page.frameResized": Page.frameResizedPayload;
21268
+ "Page.frameStartedNavigating": Page.frameStartedNavigatingPayload;
20614
21269
  "Page.frameRequestedNavigation": Page.frameRequestedNavigationPayload;
20615
21270
  "Page.frameScheduledNavigation": Page.frameScheduledNavigationPayload;
20616
21271
  "Page.frameStartedLoading": Page.frameStartedLoadingPayload;
@@ -20676,6 +21331,8 @@ Error was thrown.
20676
21331
  "WebAudio.nodeParamConnected": WebAudio.nodeParamConnectedPayload;
20677
21332
  "WebAudio.nodeParamDisconnected": WebAudio.nodeParamDisconnectedPayload;
20678
21333
  "WebAuthn.credentialAdded": WebAuthn.credentialAddedPayload;
21334
+ "WebAuthn.credentialDeleted": WebAuthn.credentialDeletedPayload;
21335
+ "WebAuthn.credentialUpdated": WebAuthn.credentialUpdatedPayload;
20679
21336
  "WebAuthn.credentialAsserted": WebAuthn.credentialAssertedPayload;
20680
21337
  "Media.playerPropertiesChanged": Media.playerPropertiesChangedPayload;
20681
21338
  "Media.playerEventsAdded": Media.playerEventsAddedPayload;
@@ -20739,6 +21396,7 @@ Error was thrown.
20739
21396
  "Audits.checkContrast": Audits.checkContrastParameters;
20740
21397
  "Audits.checkFormsIssues": Audits.checkFormsIssuesParameters;
20741
21398
  "Extensions.loadUnpacked": Extensions.loadUnpackedParameters;
21399
+ "Extensions.uninstall": Extensions.uninstallParameters;
20742
21400
  "Extensions.getStorageItems": Extensions.getStorageItemsParameters;
20743
21401
  "Extensions.removeStorageItems": Extensions.removeStorageItemsParameters;
20744
21402
  "Extensions.clearStorageItems": Extensions.clearStorageItemsParameters;
@@ -20775,15 +21433,20 @@ Error was thrown.
20775
21433
  "CSS.disable": CSS.disableParameters;
20776
21434
  "CSS.enable": CSS.enableParameters;
20777
21435
  "CSS.forcePseudoState": CSS.forcePseudoStateParameters;
21436
+ "CSS.forceStartingStyle": CSS.forceStartingStyleParameters;
20778
21437
  "CSS.getBackgroundColors": CSS.getBackgroundColorsParameters;
20779
21438
  "CSS.getComputedStyleForNode": CSS.getComputedStyleForNodeParameters;
21439
+ "CSS.resolveValues": CSS.resolveValuesParameters;
21440
+ "CSS.getLonghandProperties": CSS.getLonghandPropertiesParameters;
20780
21441
  "CSS.getInlineStylesForNode": CSS.getInlineStylesForNodeParameters;
21442
+ "CSS.getAnimatedStylesForNode": CSS.getAnimatedStylesForNodeParameters;
20781
21443
  "CSS.getMatchedStylesForNode": CSS.getMatchedStylesForNodeParameters;
20782
21444
  "CSS.getMediaQueries": CSS.getMediaQueriesParameters;
20783
21445
  "CSS.getPlatformFontsForNode": CSS.getPlatformFontsForNodeParameters;
20784
21446
  "CSS.getStyleSheetText": CSS.getStyleSheetTextParameters;
20785
21447
  "CSS.getLayersForNode": CSS.getLayersForNodeParameters;
20786
21448
  "CSS.getLocationForSelector": CSS.getLocationForSelectorParameters;
21449
+ "CSS.trackComputedStyleUpdatesForNode": CSS.trackComputedStyleUpdatesForNodeParameters;
20787
21450
  "CSS.trackComputedStyleUpdates": CSS.trackComputedStyleUpdatesParameters;
20788
21451
  "CSS.takeComputedStyleUpdates": CSS.takeComputedStyleUpdatesParameters;
20789
21452
  "CSS.setEffectivePropertyValueForNode": CSS.setEffectivePropertyValueForNodeParameters;
@@ -20886,10 +21549,6 @@ Error was thrown.
20886
21549
  "DOMStorage.getDOMStorageItems": DOMStorage.getDOMStorageItemsParameters;
20887
21550
  "DOMStorage.removeDOMStorageItem": DOMStorage.removeDOMStorageItemParameters;
20888
21551
  "DOMStorage.setDOMStorageItem": DOMStorage.setDOMStorageItemParameters;
20889
- "Database.disable": Database.disableParameters;
20890
- "Database.enable": Database.enableParameters;
20891
- "Database.executeSQL": Database.executeSQLParameters;
20892
- "Database.getDatabaseTableNames": Database.getDatabaseTableNamesParameters;
20893
21552
  "DeviceOrientation.clearDeviceOrientationOverride": DeviceOrientation.clearDeviceOrientationOverrideParameters;
20894
21553
  "DeviceOrientation.setDeviceOrientationOverride": DeviceOrientation.setDeviceOrientationOverrideParameters;
20895
21554
  "Emulation.canEmulate": Emulation.canEmulateParameters;
@@ -21018,6 +21677,7 @@ Error was thrown.
21018
21677
  "Network.getSecurityIsolationStatus": Network.getSecurityIsolationStatusParameters;
21019
21678
  "Network.enableReportingApi": Network.enableReportingApiParameters;
21020
21679
  "Network.loadNetworkResource": Network.loadNetworkResourceParameters;
21680
+ "Network.setCookieControls": Network.setCookieControlsParameters;
21021
21681
  "Overlay.disable": Overlay.disableParameters;
21022
21682
  "Overlay.enable": Overlay.enableParameters;
21023
21683
  "Overlay.getHighlightObjectForTest": Overlay.getHighlightObjectForTestParameters;
@@ -21165,6 +21825,7 @@ Error was thrown.
21165
21825
  "Storage.setAttributionReportingTracking": Storage.setAttributionReportingTrackingParameters;
21166
21826
  "Storage.sendPendingAttributionReports": Storage.sendPendingAttributionReportsParameters;
21167
21827
  "Storage.getRelatedWebsiteSets": Storage.getRelatedWebsiteSetsParameters;
21828
+ "Storage.getAffectedUrlsForThirdPartyCookieMetadata": Storage.getAffectedUrlsForThirdPartyCookieMetadataParameters;
21168
21829
  "SystemInfo.getInfo": SystemInfo.getInfoParameters;
21169
21830
  "SystemInfo.getFeatureState": SystemInfo.getFeatureStateParameters;
21170
21831
  "SystemInfo.getProcessInfo": SystemInfo.getProcessInfoParameters;
@@ -21263,6 +21924,7 @@ Error was thrown.
21263
21924
  "Debugger.resume": Debugger.resumeParameters;
21264
21925
  "Debugger.searchInContent": Debugger.searchInContentParameters;
21265
21926
  "Debugger.setAsyncCallStackDepth": Debugger.setAsyncCallStackDepthParameters;
21927
+ "Debugger.setBlackboxExecutionContexts": Debugger.setBlackboxExecutionContextsParameters;
21266
21928
  "Debugger.setBlackboxPatterns": Debugger.setBlackboxPatternsParameters;
21267
21929
  "Debugger.setBlackboxedRanges": Debugger.setBlackboxedRangesParameters;
21268
21930
  "Debugger.setBreakpoint": Debugger.setBreakpointParameters;
@@ -21349,6 +22011,7 @@ Error was thrown.
21349
22011
  "Audits.checkContrast": Audits.checkContrastReturnValue;
21350
22012
  "Audits.checkFormsIssues": Audits.checkFormsIssuesReturnValue;
21351
22013
  "Extensions.loadUnpacked": Extensions.loadUnpackedReturnValue;
22014
+ "Extensions.uninstall": Extensions.uninstallReturnValue;
21352
22015
  "Extensions.getStorageItems": Extensions.getStorageItemsReturnValue;
21353
22016
  "Extensions.removeStorageItems": Extensions.removeStorageItemsReturnValue;
21354
22017
  "Extensions.clearStorageItems": Extensions.clearStorageItemsReturnValue;
@@ -21385,15 +22048,20 @@ Error was thrown.
21385
22048
  "CSS.disable": CSS.disableReturnValue;
21386
22049
  "CSS.enable": CSS.enableReturnValue;
21387
22050
  "CSS.forcePseudoState": CSS.forcePseudoStateReturnValue;
22051
+ "CSS.forceStartingStyle": CSS.forceStartingStyleReturnValue;
21388
22052
  "CSS.getBackgroundColors": CSS.getBackgroundColorsReturnValue;
21389
22053
  "CSS.getComputedStyleForNode": CSS.getComputedStyleForNodeReturnValue;
22054
+ "CSS.resolveValues": CSS.resolveValuesReturnValue;
22055
+ "CSS.getLonghandProperties": CSS.getLonghandPropertiesReturnValue;
21390
22056
  "CSS.getInlineStylesForNode": CSS.getInlineStylesForNodeReturnValue;
22057
+ "CSS.getAnimatedStylesForNode": CSS.getAnimatedStylesForNodeReturnValue;
21391
22058
  "CSS.getMatchedStylesForNode": CSS.getMatchedStylesForNodeReturnValue;
21392
22059
  "CSS.getMediaQueries": CSS.getMediaQueriesReturnValue;
21393
22060
  "CSS.getPlatformFontsForNode": CSS.getPlatformFontsForNodeReturnValue;
21394
22061
  "CSS.getStyleSheetText": CSS.getStyleSheetTextReturnValue;
21395
22062
  "CSS.getLayersForNode": CSS.getLayersForNodeReturnValue;
21396
22063
  "CSS.getLocationForSelector": CSS.getLocationForSelectorReturnValue;
22064
+ "CSS.trackComputedStyleUpdatesForNode": CSS.trackComputedStyleUpdatesForNodeReturnValue;
21397
22065
  "CSS.trackComputedStyleUpdates": CSS.trackComputedStyleUpdatesReturnValue;
21398
22066
  "CSS.takeComputedStyleUpdates": CSS.takeComputedStyleUpdatesReturnValue;
21399
22067
  "CSS.setEffectivePropertyValueForNode": CSS.setEffectivePropertyValueForNodeReturnValue;
@@ -21496,10 +22164,6 @@ Error was thrown.
21496
22164
  "DOMStorage.getDOMStorageItems": DOMStorage.getDOMStorageItemsReturnValue;
21497
22165
  "DOMStorage.removeDOMStorageItem": DOMStorage.removeDOMStorageItemReturnValue;
21498
22166
  "DOMStorage.setDOMStorageItem": DOMStorage.setDOMStorageItemReturnValue;
21499
- "Database.disable": Database.disableReturnValue;
21500
- "Database.enable": Database.enableReturnValue;
21501
- "Database.executeSQL": Database.executeSQLReturnValue;
21502
- "Database.getDatabaseTableNames": Database.getDatabaseTableNamesReturnValue;
21503
22167
  "DeviceOrientation.clearDeviceOrientationOverride": DeviceOrientation.clearDeviceOrientationOverrideReturnValue;
21504
22168
  "DeviceOrientation.setDeviceOrientationOverride": DeviceOrientation.setDeviceOrientationOverrideReturnValue;
21505
22169
  "Emulation.canEmulate": Emulation.canEmulateReturnValue;
@@ -21628,6 +22292,7 @@ Error was thrown.
21628
22292
  "Network.getSecurityIsolationStatus": Network.getSecurityIsolationStatusReturnValue;
21629
22293
  "Network.enableReportingApi": Network.enableReportingApiReturnValue;
21630
22294
  "Network.loadNetworkResource": Network.loadNetworkResourceReturnValue;
22295
+ "Network.setCookieControls": Network.setCookieControlsReturnValue;
21631
22296
  "Overlay.disable": Overlay.disableReturnValue;
21632
22297
  "Overlay.enable": Overlay.enableReturnValue;
21633
22298
  "Overlay.getHighlightObjectForTest": Overlay.getHighlightObjectForTestReturnValue;
@@ -21775,6 +22440,7 @@ Error was thrown.
21775
22440
  "Storage.setAttributionReportingTracking": Storage.setAttributionReportingTrackingReturnValue;
21776
22441
  "Storage.sendPendingAttributionReports": Storage.sendPendingAttributionReportsReturnValue;
21777
22442
  "Storage.getRelatedWebsiteSets": Storage.getRelatedWebsiteSetsReturnValue;
22443
+ "Storage.getAffectedUrlsForThirdPartyCookieMetadata": Storage.getAffectedUrlsForThirdPartyCookieMetadataReturnValue;
21778
22444
  "SystemInfo.getInfo": SystemInfo.getInfoReturnValue;
21779
22445
  "SystemInfo.getFeatureState": SystemInfo.getFeatureStateReturnValue;
21780
22446
  "SystemInfo.getProcessInfo": SystemInfo.getProcessInfoReturnValue;
@@ -21873,6 +22539,7 @@ Error was thrown.
21873
22539
  "Debugger.resume": Debugger.resumeReturnValue;
21874
22540
  "Debugger.searchInContent": Debugger.searchInContentReturnValue;
21875
22541
  "Debugger.setAsyncCallStackDepth": Debugger.setAsyncCallStackDepthReturnValue;
22542
+ "Debugger.setBlackboxExecutionContexts": Debugger.setBlackboxExecutionContextsReturnValue;
21876
22543
  "Debugger.setBlackboxPatterns": Debugger.setBlackboxPatternsReturnValue;
21877
22544
  "Debugger.setBlackboxedRanges": Debugger.setBlackboxedRangesReturnValue;
21878
22545
  "Debugger.setBreakpoint": Debugger.setBreakpointReturnValue;