chrome-devtools-frontend 1.0.1023108 → 1.0.1024644

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 (357) hide show
  1. package/.eslintignore +4 -2
  2. package/.eslintrc.js +1 -0
  3. package/front_end/core/common/AppProvider.ts +1 -1
  4. package/front_end/core/common/Object.ts +7 -2
  5. package/front_end/core/common/SettingRegistration.ts +1 -1
  6. package/front_end/core/common/Settings.ts +2 -3
  7. package/front_end/core/host/InspectorFrontendHost.ts +13 -5
  8. package/front_end/core/host/ResourceLoader.ts +1 -1
  9. package/front_end/core/i18n/locales/en-US.json +24 -3
  10. package/front_end/core/i18n/locales/en-XL.json +24 -3
  11. package/front_end/core/platform/UserVisibleError.ts +1 -1
  12. package/front_end/core/sdk/AccessibilityModel.ts +3 -4
  13. package/front_end/core/sdk/CPUProfileDataModel.ts +1 -1
  14. package/front_end/core/sdk/CPUProfilerModel.ts +3 -3
  15. package/front_end/core/sdk/CPUThrottlingManager.ts +2 -2
  16. package/front_end/core/sdk/CSSContainerQuery.ts +2 -2
  17. package/front_end/core/sdk/CSSLayer.ts +1 -1
  18. package/front_end/core/sdk/CSSMatchedStyles.ts +10 -4
  19. package/front_end/core/sdk/CSSMedia.ts +1 -1
  20. package/front_end/core/sdk/CSSModel.ts +7 -7
  21. package/front_end/core/sdk/CSSProperty.ts +2 -2
  22. package/front_end/core/sdk/CSSQuery.ts +2 -3
  23. package/front_end/core/sdk/CSSRule.ts +2 -2
  24. package/front_end/core/sdk/CSSScope.ts +1 -1
  25. package/front_end/core/sdk/CSSStyleDeclaration.ts +3 -3
  26. package/front_end/core/sdk/CSSStyleSheetHeader.ts +3 -3
  27. package/front_end/core/sdk/CSSSupports.ts +1 -1
  28. package/front_end/core/sdk/ChildTargetManager.ts +2 -2
  29. package/front_end/core/sdk/CompilerSourceMappingContentProvider.ts +1 -2
  30. package/front_end/core/sdk/ConsoleModel.ts +15 -12
  31. package/front_end/core/sdk/CookieModel.ts +4 -5
  32. package/front_end/core/sdk/DOMDebuggerModel.ts +7 -7
  33. package/front_end/core/sdk/DOMModel.ts +3 -3
  34. package/front_end/core/sdk/DebuggerModel.ts +5 -6
  35. package/front_end/core/sdk/EmulationModel.ts +2 -2
  36. package/front_end/core/sdk/EventBreakpointsModel.ts +4 -4
  37. package/front_end/core/sdk/FilmStripModel.ts +1 -2
  38. package/front_end/core/sdk/FrameAssociated.ts +1 -1
  39. package/front_end/core/sdk/FrameManager.ts +6 -6
  40. package/front_end/core/sdk/HeapProfilerModel.ts +4 -4
  41. package/front_end/core/sdk/IOModel.ts +2 -2
  42. package/front_end/core/sdk/IsolateManager.ts +3 -3
  43. package/front_end/core/sdk/IssuesModel.ts +1 -2
  44. package/front_end/core/sdk/LayerTreeBase.ts +3 -4
  45. package/front_end/core/sdk/LogModel.ts +1 -2
  46. package/front_end/core/sdk/NetworkManager.ts +18 -9
  47. package/front_end/core/sdk/NetworkRequest.ts +1 -2
  48. package/front_end/core/sdk/OverlayModel.ts +5 -5
  49. package/front_end/core/sdk/PageLoad.ts +1 -1
  50. package/front_end/core/sdk/PageResourceLoader.ts +3 -3
  51. package/front_end/core/sdk/PaintProfiler.ts +1 -2
  52. package/front_end/core/sdk/PerformanceMetricsModel.ts +1 -2
  53. package/front_end/core/sdk/ProfileTreeModel.ts +1 -1
  54. package/front_end/core/sdk/RemoteObject.ts +3 -3
  55. package/front_end/core/sdk/Resource.ts +2 -3
  56. package/front_end/core/sdk/ResourceTreeModel.ts +6 -7
  57. package/front_end/core/sdk/RuntimeModel.ts +5 -5
  58. package/front_end/core/sdk/SDKModel.ts +1 -1
  59. package/front_end/core/sdk/ScreenCaptureModel.ts +2 -2
  60. package/front_end/core/sdk/Script.ts +5 -6
  61. package/front_end/core/sdk/SecurityOriginManager.ts +1 -2
  62. package/front_end/core/sdk/ServerTiming.ts +1 -1
  63. package/front_end/core/sdk/ServiceWorkerCacheModel.ts +3 -3
  64. package/front_end/core/sdk/ServiceWorkerManager.ts +3 -4
  65. package/front_end/core/sdk/SourceMap.ts +2 -2
  66. package/front_end/core/sdk/SourceMapManager.ts +5 -5
  67. package/front_end/core/sdk/StorageKeyManager.ts +1 -2
  68. package/front_end/core/sdk/Target.ts +1 -1
  69. package/front_end/core/sdk/TargetManager.ts +1 -1
  70. package/front_end/core/sdk/TracingManager.ts +2 -3
  71. package/front_end/core/sdk/TracingModel.ts +1 -1
  72. package/front_end/core/sdk/WebAuthnModel.ts +1 -2
  73. package/front_end/entrypoints/formatter_worker/CSSFormatter.ts +1 -1
  74. package/front_end/entrypoints/formatter_worker/CSSRuleParser.ts +1 -2
  75. package/front_end/entrypoints/formatter_worker/FormatterWorker.ts +1 -1
  76. package/front_end/entrypoints/formatter_worker/HTMLFormatter.ts +1 -1
  77. package/front_end/entrypoints/formatter_worker/IdentityFormatter.ts +1 -1
  78. package/front_end/entrypoints/formatter_worker/JSONFormatter.ts +1 -1
  79. package/front_end/entrypoints/formatter_worker/JavaScriptFormatter.ts +2 -3
  80. package/front_end/entrypoints/formatter_worker/JavaScriptOutline.ts +1 -1
  81. package/front_end/entrypoints/formatter_worker/ScopeParser.ts +2 -2
  82. package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +1 -1
  83. package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshotLoader.ts +3 -3
  84. package/front_end/generated/.clang-format +1 -0
  85. package/front_end/generated/ARIAProperties.js +1515 -517
  86. package/front_end/generated/InspectorBackendCommands.js +960 -3655
  87. package/front_end/generated/SupportedCSSProperties.js +5719 -1314
  88. package/front_end/generated/protocol-mapping.d.ts +1865 -608
  89. package/front_end/generated/protocol-proxy-api.d.ts +384 -576
  90. package/front_end/generated/protocol.ts +5 -12
  91. package/front_end/models/bindings/BreakpointManager.ts +2 -2
  92. package/front_end/models/bindings/CSSWorkspaceBinding.ts +5 -2
  93. package/front_end/models/bindings/CompilerScriptMapping.ts +5 -1
  94. package/front_end/models/bindings/DebuggerLanguagePlugins.ts +6 -2
  95. package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +4 -4
  96. package/front_end/models/bindings/DefaultScriptMapping.ts +1 -1
  97. package/front_end/models/bindings/IgnoreListManager.ts +1 -1
  98. package/front_end/models/bindings/PresentationConsoleMessageHelper.ts +2 -2
  99. package/front_end/models/bindings/ResourceScriptMapping.ts +2 -4
  100. package/front_end/models/bindings/SASSSourceMapping.ts +2 -2
  101. package/front_end/models/bindings/StylesSourceMapping.ts +1 -1
  102. package/front_end/models/bindings/TempFile.ts +1 -2
  103. package/front_end/models/emulation/DeviceModeModel.ts +8 -2
  104. package/front_end/models/extensions/ExtensionPanel.ts +1 -1
  105. package/front_end/models/extensions/ExtensionServer.ts +3 -3
  106. package/front_end/models/extensions/ExtensionView.ts +1 -1
  107. package/front_end/models/extensions/LanguageExtensionEndpoint.ts +1 -1
  108. package/front_end/models/extensions/RecorderPluginManager.ts +1 -1
  109. package/front_end/models/formatter/SourceFormatter.ts +1 -2
  110. package/front_end/models/har/Importer.ts +1 -1
  111. package/front_end/models/har/Writer.ts +2 -2
  112. package/front_end/models/issues_manager/AttributionReportingIssue.ts +1 -1
  113. package/front_end/models/issues_manager/ClientHintIssue.ts +6 -2
  114. package/front_end/models/issues_manager/ContentSecurityPolicyIssue.ts +6 -2
  115. package/front_end/models/issues_manager/CookieIssue.ts +6 -2
  116. package/front_end/models/issues_manager/CorsIssue.ts +1 -1
  117. package/front_end/models/issues_manager/CrossOriginEmbedderPolicyIssue.ts +6 -2
  118. package/front_end/models/issues_manager/DeprecationIssue.ts +4 -4
  119. package/front_end/models/issues_manager/FederatedAuthRequestIssue.ts +6 -2
  120. package/front_end/models/issues_manager/GenericIssue.ts +6 -2
  121. package/front_end/models/issues_manager/HeavyAdIssue.ts +1 -1
  122. package/front_end/models/issues_manager/Issue.ts +1 -1
  123. package/front_end/models/issues_manager/IssueResolver.ts +2 -3
  124. package/front_end/models/issues_manager/IssuesManager.ts +1 -1
  125. package/front_end/models/issues_manager/LowTextContrastIssue.ts +1 -1
  126. package/front_end/models/issues_manager/MixedContentIssue.ts +1 -1
  127. package/front_end/models/issues_manager/NavigatorUserAgentIssue.ts +1 -1
  128. package/front_end/models/issues_manager/QuirksModeIssue.ts +1 -1
  129. package/front_end/models/issues_manager/RelatedIssue.ts +1 -1
  130. package/front_end/models/issues_manager/SharedArrayBufferIssue.ts +1 -1
  131. package/front_end/models/issues_manager/SourceFrameIssuesManager.ts +3 -3
  132. package/front_end/models/issues_manager/TrustedWebActivityIssue.ts +6 -2
  133. package/front_end/models/persistence/Automapping.ts +1 -2
  134. package/front_end/models/persistence/EditFileSystemView.ts +1 -1
  135. package/front_end/models/persistence/FileSystemWorkspaceBinding.ts +4 -4
  136. package/front_end/models/persistence/IsolatedFileSystem.ts +1 -2
  137. package/front_end/models/persistence/IsolatedFileSystemManager.ts +2 -2
  138. package/front_end/models/persistence/NetworkPersistenceManager.ts +1 -2
  139. package/front_end/models/persistence/PersistenceImpl.ts +1 -2
  140. package/front_end/models/persistence/PersistenceUtils.ts +1 -2
  141. package/front_end/models/persistence/WorkspaceSettingsTab.ts +2 -2
  142. package/front_end/models/text_utils/StaticContentProvider.ts +1 -1
  143. package/front_end/models/timeline_model/TimelineFrameModel.ts +2 -2
  144. package/front_end/models/timeline_model/TimelineProfileTree.ts +1 -1
  145. package/front_end/models/timeline_model/TracingLayerTree.ts +1 -1
  146. package/front_end/models/workspace/UISourceCode.ts +1 -2
  147. package/front_end/models/workspace/WorkspaceImpl.ts +1 -2
  148. package/front_end/panels/accessibility/AXBreadcrumbsPane.ts +1 -1
  149. package/front_end/panels/animation/AnimationGroupPreviewUI.ts +1 -1
  150. package/front_end/panels/animation/AnimationTimeline.ts +7 -2
  151. package/front_end/panels/animation/AnimationUI.ts +3 -3
  152. package/front_end/panels/application/ApplicationPanelCacheSection.ts +1 -1
  153. package/front_end/panels/application/ApplicationPanelSidebar.ts +13 -7
  154. package/front_end/panels/application/ApplicationPanelTreeElement.ts +1 -1
  155. package/front_end/panels/application/BackgroundServiceView.ts +1 -2
  156. package/front_end/panels/application/DatabaseQueryView.ts +1 -1
  157. package/front_end/panels/application/DatabaseTableView.ts +1 -1
  158. package/front_end/panels/application/IndexedDBViews.ts +9 -2
  159. package/front_end/panels/application/InterestGroupTreeElement.ts +1 -1
  160. package/front_end/panels/application/ReportingApiTreeElement.ts +1 -1
  161. package/front_end/panels/application/ResourcesPanel.ts +1 -1
  162. package/front_end/panels/application/TrustTokensTreeElement.ts +1 -1
  163. package/front_end/panels/application/components/FrameDetailsView.ts +9 -6
  164. package/front_end/panels/console/ConsoleFilter.ts +1 -1
  165. package/front_end/panels/console/ConsoleSidebar.ts +2 -3
  166. package/front_end/panels/console/ConsoleView.ts +2 -4
  167. package/front_end/panels/console/ConsoleViewMessage.ts +2 -2
  168. package/front_end/panels/console/ConsoleViewport.ts +1 -1
  169. package/front_end/panels/coverage/CoverageDecorationManager.ts +1 -1
  170. package/front_end/panels/coverage/CoverageListView.ts +1 -2
  171. package/front_end/panels/coverage/CoverageView.ts +1 -2
  172. package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +9 -5
  173. package/front_end/panels/css_overview/CSSOverviewController.ts +2 -2
  174. package/front_end/panels/css_overview/CSSOverviewModel.ts +3 -3
  175. package/front_end/panels/css_overview/CSSOverviewPanel.ts +4 -5
  176. package/front_end/panels/css_overview/CSSOverviewProcessingView.ts +1 -2
  177. package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +3 -3
  178. package/front_end/panels/elements/ComputedStyleWidget.ts +3 -4
  179. package/front_end/panels/elements/DOMLinkifier.ts +5 -1
  180. package/front_end/panels/elements/ElementsPanel.ts +7 -4
  181. package/front_end/panels/elements/ElementsSidebarPane.ts +1 -2
  182. package/front_end/panels/elements/ElementsTreeElement.ts +3 -4
  183. package/front_end/panels/elements/ElementsTreeOutline.ts +1 -1
  184. package/front_end/panels/elements/PlatformFontsWidget.ts +1 -2
  185. package/front_end/panels/elements/StyleEditorWidget.ts +2 -2
  186. package/front_end/panels/elements/StylePropertiesSection.ts +1 -2
  187. package/front_end/panels/elements/StylePropertyHighlighter.ts +2 -2
  188. package/front_end/panels/elements/StylePropertyTreeElement.ts +2 -3
  189. package/front_end/panels/elements/StylesSidebarPane.ts +47 -16
  190. package/front_end/panels/elements/TopLayerContainer.ts +1 -1
  191. package/front_end/panels/elements/components/AdornerSettingsPane.ts +1 -1
  192. package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +2 -3
  193. package/front_end/panels/elements/components/ElementsBreadcrumbsUtils.ts +1 -1
  194. package/front_end/panels/elements/components/LayoutPane.ts +1 -2
  195. package/front_end/panels/elements/components/QueryContainer.ts +1 -1
  196. package/front_end/panels/elements/components/StylePropertyEditor.ts +1 -2
  197. package/front_end/panels/emulation/AdvancedApp.ts +2 -2
  198. package/front_end/panels/emulation/DeviceModeWrapper.ts +1 -1
  199. package/front_end/panels/event_listeners/EventListenersView.ts +1 -2
  200. package/front_end/panels/issues/AffectedResourcesView.ts +2 -2
  201. package/front_end/panels/issues/CorsIssueDetailsView.ts +2 -2
  202. package/front_end/panels/issues/IssueView.ts +2 -2
  203. package/front_end/panels/issues/IssuesPane.ts +6 -2
  204. package/front_end/panels/layer_viewer/LayerDetailsView.ts +8 -2
  205. package/front_end/panels/layer_viewer/LayerTreeOutline.ts +7 -2
  206. package/front_end/panels/layer_viewer/Layers3DView.ts +9 -2
  207. package/front_end/panels/lighthouse/LighthouseController.ts +1 -1
  208. package/front_end/panels/lighthouse/LighthousePanel.ts +10 -6
  209. package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +5 -1
  210. package/front_end/panels/lighthouse/LighthouseStartView.ts +1 -2
  211. package/front_end/panels/lighthouse/LighthouseStatusView.ts +1 -2
  212. package/front_end/panels/lighthouse/LighthouseTimespanView.ts +1 -2
  213. package/front_end/panels/media/EventDisplayTable.ts +1 -1
  214. package/front_end/panels/media/EventTimelineView.ts +9 -3
  215. package/front_end/panels/media/MainView.ts +1 -2
  216. package/front_end/panels/media/PlayerDetailView.ts +4 -3
  217. package/front_end/panels/media/PlayerListView.ts +2 -2
  218. package/front_end/panels/media/PlayerMessagesView.ts +76 -0
  219. package/front_end/panels/media/playerMessagesView.css +15 -0
  220. package/front_end/panels/mobile_throttling/MobileThrottlingSelector.ts +6 -2
  221. package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +1 -2
  222. package/front_end/panels/mobile_throttling/ThrottlingManager.ts +7 -4
  223. package/front_end/panels/network/NetworkDataGridNode.ts +1 -1
  224. package/front_end/panels/network/NetworkFrameGrouper.ts +1 -1
  225. package/front_end/panels/network/NetworkItemView.ts +1 -1
  226. package/front_end/panels/network/NetworkLogView.ts +10 -3
  227. package/front_end/panels/network/NetworkLogViewColumns.ts +7 -6
  228. package/front_end/panels/network/NetworkPanel.ts +3 -4
  229. package/front_end/panels/network/NetworkWaterfallColumn.ts +4 -4
  230. package/front_end/panels/network/RequestTimingView.ts +1 -2
  231. package/front_end/panels/network/components/RequestHeadersView.css +4 -0
  232. package/front_end/panels/network/components/RequestHeadersView.ts +57 -14
  233. package/front_end/panels/profiler/BottomUpProfileDataGrid.ts +2 -3
  234. package/front_end/panels/profiler/CPUProfileView.ts +3 -3
  235. package/front_end/panels/profiler/HeapProfileView.ts +4 -5
  236. package/front_end/panels/profiler/HeapProfilerPanel.ts +2 -2
  237. package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +4 -4
  238. package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +11 -7
  239. package/front_end/panels/profiler/HeapSnapshotProxy.ts +1 -1
  240. package/front_end/panels/profiler/HeapSnapshotView.ts +13 -8
  241. package/front_end/panels/profiler/ProfileLauncherView.ts +2 -2
  242. package/front_end/panels/profiler/ProfileSidebarTreeElement.ts +6 -2
  243. package/front_end/panels/profiler/ProfileView.ts +6 -6
  244. package/front_end/panels/profiler/ProfilesPanel.ts +6 -2
  245. package/front_end/panels/profiler/TopDownProfileDataGrid.ts +1 -2
  246. package/front_end/panels/search/SearchResultsPane.ts +1 -1
  247. package/front_end/panels/search/SearchView.ts +1 -2
  248. package/front_end/panels/security/SecurityPanel.ts +43 -17
  249. package/front_end/panels/security/originView.css +14 -13
  250. package/front_end/panels/settings/SettingsScreen.ts +1 -1
  251. package/front_end/panels/settings/emulation/utils/UserAgentMetadata.ts +11 -2
  252. package/front_end/panels/sources/EditingLocationHistoryManager.ts +2 -2
  253. package/front_end/panels/sources/GoToLineQuickOpen.ts +1 -1
  254. package/front_end/panels/sources/InplaceFormatterEditorAction.ts +7 -2
  255. package/front_end/panels/sources/ScriptFormatterEditorAction.ts +7 -2
  256. package/front_end/panels/sources/SourcesNavigator.ts +1 -2
  257. package/front_end/panels/sources/SourcesPanel.ts +1 -1
  258. package/front_end/panels/sources/SourcesSearchScope.ts +3 -0
  259. package/front_end/panels/sources/SourcesView.ts +6 -2
  260. package/front_end/panels/sources/UISourceCodeFrame.ts +1 -1
  261. package/front_end/panels/timeline/CountersGraph.ts +2 -3
  262. package/front_end/panels/timeline/EventsTimelineTreeView.ts +2 -2
  263. package/front_end/panels/timeline/ExtensionTracingSession.ts +3 -3
  264. package/front_end/panels/timeline/TimelineDetailsView.ts +6 -6
  265. package/front_end/panels/timeline/TimelineEventOverview.ts +3 -3
  266. package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +3 -3
  267. package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +1 -1
  268. package/front_end/panels/timeline/TimelineFlameChartView.ts +6 -6
  269. package/front_end/panels/timeline/TimelineHistoryManager.ts +1 -1
  270. package/front_end/panels/timeline/TimelinePanel.ts +5 -5
  271. package/front_end/panels/timeline/TimelineTreeView.ts +2 -2
  272. package/front_end/panels/timeline/UIDevtoolsController.ts +1 -2
  273. package/front_end/panels/timeline/components/WebVitalsLane.ts +9 -2
  274. package/front_end/panels/timeline/components/WebVitalsTimeline.ts +1 -1
  275. package/front_end/panels/web_audio/graph_visualizer/EdgeView.ts +1 -1
  276. package/front_end/panels/web_audio/graph_visualizer/GraphView.ts +9 -3
  277. package/front_end/panels/web_audio/graph_visualizer/NodeRendererUtility.ts +2 -1
  278. package/front_end/panels/web_audio/graph_visualizer/NodeView.ts +3 -1
  279. package/front_end/third_party/.clang-format +1 -1
  280. package/front_end/third_party/i18n/localized-string-set.ts +1 -1
  281. package/front_end/ui/components/buttons/Button.ts +32 -7
  282. package/front_end/ui/components/buttons/button.css +16 -0
  283. package/front_end/ui/components/data_grid/DataGrid.ts +5 -1
  284. package/front_end/ui/components/data_grid/DataGridContextMenuUtils.ts +2 -2
  285. package/front_end/ui/components/data_grid/DataGridController.ts +12 -5
  286. package/front_end/ui/components/data_grid/DataGridControllerIntegrator.ts +1 -2
  287. package/front_end/ui/components/data_grid/DataGridEvents.ts +1 -1
  288. package/front_end/ui/components/data_grid/DataGridRenderers.ts +1 -1
  289. package/front_end/ui/components/docs/building-ui-documentation/CreatingComponents.md +112 -0
  290. package/front_end/ui/components/docs/building-ui-documentation/README.md +19 -0
  291. package/front_end/ui/components/docs/button/basic.html +11 -0
  292. package/front_end/ui/components/docs/button/basic.ts +7 -0
  293. package/front_end/ui/components/icon_button/IconButton.ts +1 -3
  294. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspector.ts +27 -13
  295. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorController.ts +39 -8
  296. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorPane.ts +10 -5
  297. package/front_end/ui/components/linear_memory_inspector/LinearMemoryValueInterpreter.ts +8 -7
  298. package/front_end/ui/components/linear_memory_inspector/LinearMemoryViewer.ts +1 -1
  299. package/front_end/ui/components/markdown_view/MarkdownImage.ts +1 -2
  300. package/front_end/ui/components/markdown_view/MarkdownView.ts +2 -4
  301. package/front_end/ui/components/tree_outline/TreeOutline.ts +3 -1
  302. package/front_end/ui/legacy/ActionRegistry.ts +1 -2
  303. package/front_end/ui/legacy/Context.ts +1 -1
  304. package/front_end/ui/legacy/ContextMenu.ts +2 -2
  305. package/front_end/ui/legacy/Dialog.ts +4 -4
  306. package/front_end/ui/legacy/DockController.ts +4 -4
  307. package/front_end/ui/legacy/FilterBar.ts +3 -3
  308. package/front_end/ui/legacy/FilterSuggestionBuilder.ts +1 -1
  309. package/front_end/ui/legacy/GlassPane.ts +3 -3
  310. package/front_end/ui/legacy/Infobar.ts +1 -1
  311. package/front_end/ui/legacy/InspectorView.ts +10 -10
  312. package/front_end/ui/legacy/ListControl.ts +2 -2
  313. package/front_end/ui/legacy/Panel.ts +1 -1
  314. package/front_end/ui/legacy/ShortcutRegistry.ts +2 -3
  315. package/front_end/ui/legacy/SoftDropDown.ts +4 -4
  316. package/front_end/ui/legacy/SplitWidget.ts +2 -2
  317. package/front_end/ui/legacy/SuggestBox.ts +2 -2
  318. package/front_end/ui/legacy/TabbedPane.ts +2 -2
  319. package/front_end/ui/legacy/TextPrompt.ts +1 -2
  320. package/front_end/ui/legacy/Toolbar.ts +2 -3
  321. package/front_end/ui/legacy/Treeoutline.ts +3 -3
  322. package/front_end/ui/legacy/UIUtils.ts +2 -3
  323. package/front_end/ui/legacy/View.ts +4 -4
  324. package/front_end/ui/legacy/ViewManager.ts +8 -8
  325. package/front_end/ui/legacy/ViewRegistration.ts +2 -2
  326. package/front_end/ui/legacy/XLink.ts +1 -1
  327. package/front_end/ui/legacy/components/color_picker/ContrastDetails.ts +1 -2
  328. package/front_end/ui/legacy/components/color_picker/ContrastOverlay.ts +1 -2
  329. package/front_end/ui/legacy/components/color_picker/Spectrum.ts +1 -1
  330. package/front_end/ui/legacy/components/data_grid/SortableDataGrid.ts +1 -2
  331. package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +1 -2
  332. package/front_end/ui/legacy/components/inline_editor/CSSAngle.ts +4 -5
  333. package/front_end/ui/legacy/components/inline_editor/CSSAngleEditor.ts +1 -1
  334. package/front_end/ui/legacy/components/inline_editor/CSSAngleSwatch.ts +1 -2
  335. package/front_end/ui/legacy/components/inline_editor/CSSLength.ts +1 -2
  336. package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +1 -2
  337. package/front_end/ui/legacy/components/inline_editor/Swatches.ts +1 -1
  338. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +3 -4
  339. package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +1 -2
  340. package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +2 -3
  341. package/front_end/ui/legacy/components/quick_open/QuickOpen.ts +1 -2
  342. package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +1 -2
  343. package/inspector_overlay/css_grid_label_helpers.ts +1 -2
  344. package/inspector_overlay/highlight_common.ts +1 -1
  345. package/inspector_overlay/highlight_container_query.ts +3 -3
  346. package/inspector_overlay/highlight_flex_common.ts +12 -3
  347. package/inspector_overlay/highlight_grid_common.ts +3 -3
  348. package/inspector_overlay/highlight_isolated_element.ts +1 -1
  349. package/inspector_overlay/highlight_scroll_snap.ts +3 -3
  350. package/inspector_overlay/main.ts +6 -6
  351. package/inspector_overlay/tool_highlight.ts +26 -12
  352. package/inspector_overlay/tool_persistent.ts +13 -14
  353. package/inspector_overlay/tool_source_order.ts +3 -4
  354. package/package.json +1 -1
  355. package/scripts/build/generate_aria.py +2 -1
  356. package/scripts/build/generate_supported_css.py +6 -3
  357. package/scripts/protocol_typescript/protocol_dts_generator.ts +1 -1
@@ -42,8 +42,7 @@ export namespace ProtocolMapping {
42
42
  * Called with all existing backgroundServiceEvents when enabled, and all new
43
43
  * events afterwards if enabled and recording.
44
44
  */
45
- 'BackgroundService.backgroundServiceEventReceived':
46
- [Protocol.BackgroundService.BackgroundServiceEventReceivedEvent];
45
+ 'BackgroundService.backgroundServiceEventReceived': [Protocol.BackgroundService.BackgroundServiceEventReceivedEvent];
47
46
  /**
48
47
  * Fired when page is about to start a download.
49
48
  */
@@ -703,12 +702,18 @@ export namespace ProtocolMapping {
703
702
  /**
704
703
  * Disables the accessibility domain.
705
704
  */
706
- 'Accessibility.disable': {paramsType: []; returnType: void;};
705
+ 'Accessibility.disable': {
706
+ paramsType: [];
707
+ returnType: void;
708
+ };
707
709
  /**
708
710
  * Enables the accessibility domain which causes `AXNodeId`s to remain consistent between method calls.
709
711
  * This turns on accessibility for the page, which can impact performance until accessibility is disabled.
710
712
  */
711
- 'Accessibility.enable': {paramsType: []; returnType: void;};
713
+ 'Accessibility.enable': {
714
+ paramsType: [];
715
+ returnType: void;
716
+ };
712
717
  /**
713
718
  * Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
714
719
  */
@@ -755,147 +760,230 @@ export namespace ProtocolMapping {
755
760
  * `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
756
761
  */
757
762
  'Accessibility.queryAXTree': {
758
- paramsType: [Protocol.Accessibility.QueryAXTreeRequest?]; returnType: Protocol.Accessibility.QueryAXTreeResponse;
763
+ paramsType: [Protocol.Accessibility.QueryAXTreeRequest?];
764
+ returnType: Protocol.Accessibility.QueryAXTreeResponse;
759
765
  };
760
766
  /**
761
767
  * Disables animation domain notifications.
762
768
  */
763
- 'Animation.disable': {paramsType: []; returnType: void;};
769
+ 'Animation.disable': {
770
+ paramsType: [];
771
+ returnType: void;
772
+ };
764
773
  /**
765
774
  * Enables animation domain notifications.
766
775
  */
767
- 'Animation.enable': {paramsType: []; returnType: void;};
776
+ 'Animation.enable': {
777
+ paramsType: [];
778
+ returnType: void;
779
+ };
768
780
  /**
769
781
  * Returns the current time of the an animation.
770
782
  */
771
783
  'Animation.getCurrentTime': {
772
- paramsType: [Protocol.Animation.GetCurrentTimeRequest]; returnType: Protocol.Animation.GetCurrentTimeResponse;
784
+ paramsType: [Protocol.Animation.GetCurrentTimeRequest];
785
+ returnType: Protocol.Animation.GetCurrentTimeResponse;
773
786
  };
774
787
  /**
775
788
  * Gets the playback rate of the document timeline.
776
789
  */
777
- 'Animation.getPlaybackRate': {paramsType: []; returnType: Protocol.Animation.GetPlaybackRateResponse;};
790
+ 'Animation.getPlaybackRate': {
791
+ paramsType: [];
792
+ returnType: Protocol.Animation.GetPlaybackRateResponse;
793
+ };
778
794
  /**
779
795
  * Releases a set of animations to no longer be manipulated.
780
796
  */
781
- 'Animation.releaseAnimations': {paramsType: [Protocol.Animation.ReleaseAnimationsRequest]; returnType: void;};
797
+ 'Animation.releaseAnimations': {
798
+ paramsType: [Protocol.Animation.ReleaseAnimationsRequest];
799
+ returnType: void;
800
+ };
782
801
  /**
783
802
  * Gets the remote object of the Animation.
784
803
  */
785
804
  'Animation.resolveAnimation': {
786
- paramsType: [Protocol.Animation.ResolveAnimationRequest]; returnType: Protocol.Animation.ResolveAnimationResponse;
805
+ paramsType: [Protocol.Animation.ResolveAnimationRequest];
806
+ returnType: Protocol.Animation.ResolveAnimationResponse;
787
807
  };
788
808
  /**
789
809
  * Seek a set of animations to a particular time within each animation.
790
810
  */
791
- 'Animation.seekAnimations': {paramsType: [Protocol.Animation.SeekAnimationsRequest]; returnType: void;};
811
+ 'Animation.seekAnimations': {
812
+ paramsType: [Protocol.Animation.SeekAnimationsRequest];
813
+ returnType: void;
814
+ };
792
815
  /**
793
816
  * Sets the paused state of a set of animations.
794
817
  */
795
- 'Animation.setPaused': {paramsType: [Protocol.Animation.SetPausedRequest]; returnType: void;};
818
+ 'Animation.setPaused': {
819
+ paramsType: [Protocol.Animation.SetPausedRequest];
820
+ returnType: void;
821
+ };
796
822
  /**
797
823
  * Sets the playback rate of the document timeline.
798
824
  */
799
- 'Animation.setPlaybackRate': {paramsType: [Protocol.Animation.SetPlaybackRateRequest]; returnType: void;};
825
+ 'Animation.setPlaybackRate': {
826
+ paramsType: [Protocol.Animation.SetPlaybackRateRequest];
827
+ returnType: void;
828
+ };
800
829
  /**
801
830
  * Sets the timing of an animation node.
802
831
  */
803
- 'Animation.setTiming': {paramsType: [Protocol.Animation.SetTimingRequest]; returnType: void;};
832
+ 'Animation.setTiming': {
833
+ paramsType: [Protocol.Animation.SetTimingRequest];
834
+ returnType: void;
835
+ };
804
836
  /**
805
837
  * Returns the response body and size if it were re-encoded with the specified settings. Only
806
838
  * applies to images.
807
839
  */
808
840
  'Audits.getEncodedResponse': {
809
- paramsType: [Protocol.Audits.GetEncodedResponseRequest]; returnType: Protocol.Audits.GetEncodedResponseResponse;
841
+ paramsType: [Protocol.Audits.GetEncodedResponseRequest];
842
+ returnType: Protocol.Audits.GetEncodedResponseResponse;
810
843
  };
811
844
  /**
812
845
  * Disables issues domain, prevents further issues from being reported to the client.
813
846
  */
814
- 'Audits.disable': {paramsType: []; returnType: void;};
847
+ 'Audits.disable': {
848
+ paramsType: [];
849
+ returnType: void;
850
+ };
815
851
  /**
816
852
  * Enables issues domain, sends the issues collected so far to the client by means of the
817
853
  * `issueAdded` event.
818
854
  */
819
- 'Audits.enable': {paramsType: []; returnType: void;};
855
+ 'Audits.enable': {
856
+ paramsType: [];
857
+ returnType: void;
858
+ };
820
859
  /**
821
860
  * Runs the contrast check for the target page. Found issues are reported
822
861
  * using Audits.issueAdded event.
823
862
  */
824
- 'Audits.checkContrast': {paramsType: [Protocol.Audits.CheckContrastRequest?]; returnType: void;};
863
+ 'Audits.checkContrast': {
864
+ paramsType: [Protocol.Audits.CheckContrastRequest?];
865
+ returnType: void;
866
+ };
825
867
  /**
826
868
  * Enables event updates for the service.
827
869
  */
828
- 'BackgroundService.startObserving':
829
- {paramsType: [Protocol.BackgroundService.StartObservingRequest]; returnType: void;};
870
+ 'BackgroundService.startObserving': {
871
+ paramsType: [Protocol.BackgroundService.StartObservingRequest];
872
+ returnType: void;
873
+ };
830
874
  /**
831
875
  * Disables event updates for the service.
832
876
  */
833
- 'BackgroundService.stopObserving':
834
- {paramsType: [Protocol.BackgroundService.StopObservingRequest]; returnType: void;};
877
+ 'BackgroundService.stopObserving': {
878
+ paramsType: [Protocol.BackgroundService.StopObservingRequest];
879
+ returnType: void;
880
+ };
835
881
  /**
836
882
  * Set the recording state for the service.
837
883
  */
838
- 'BackgroundService.setRecording': {paramsType: [Protocol.BackgroundService.SetRecordingRequest]; returnType: void;};
884
+ 'BackgroundService.setRecording': {
885
+ paramsType: [Protocol.BackgroundService.SetRecordingRequest];
886
+ returnType: void;
887
+ };
839
888
  /**
840
889
  * Clears all stored data for the service.
841
890
  */
842
- 'BackgroundService.clearEvents': {paramsType: [Protocol.BackgroundService.ClearEventsRequest]; returnType: void;};
891
+ 'BackgroundService.clearEvents': {
892
+ paramsType: [Protocol.BackgroundService.ClearEventsRequest];
893
+ returnType: void;
894
+ };
843
895
  /**
844
896
  * Set permission settings for given origin.
845
897
  */
846
- 'Browser.setPermission': {paramsType: [Protocol.Browser.SetPermissionRequest]; returnType: void;};
898
+ 'Browser.setPermission': {
899
+ paramsType: [Protocol.Browser.SetPermissionRequest];
900
+ returnType: void;
901
+ };
847
902
  /**
848
903
  * Grant specific permissions to the given origin and reject all others.
849
904
  */
850
- 'Browser.grantPermissions': {paramsType: [Protocol.Browser.GrantPermissionsRequest]; returnType: void;};
905
+ 'Browser.grantPermissions': {
906
+ paramsType: [Protocol.Browser.GrantPermissionsRequest];
907
+ returnType: void;
908
+ };
851
909
  /**
852
910
  * Reset all permission management for all origins.
853
911
  */
854
- 'Browser.resetPermissions': {paramsType: [Protocol.Browser.ResetPermissionsRequest?]; returnType: void;};
912
+ 'Browser.resetPermissions': {
913
+ paramsType: [Protocol.Browser.ResetPermissionsRequest?];
914
+ returnType: void;
915
+ };
855
916
  /**
856
917
  * Set the behavior when downloading a file.
857
918
  */
858
- 'Browser.setDownloadBehavior': {paramsType: [Protocol.Browser.SetDownloadBehaviorRequest]; returnType: void;};
919
+ 'Browser.setDownloadBehavior': {
920
+ paramsType: [Protocol.Browser.SetDownloadBehaviorRequest];
921
+ returnType: void;
922
+ };
859
923
  /**
860
924
  * Cancel a download if in progress
861
925
  */
862
- 'Browser.cancelDownload': {paramsType: [Protocol.Browser.CancelDownloadRequest]; returnType: void;};
926
+ 'Browser.cancelDownload': {
927
+ paramsType: [Protocol.Browser.CancelDownloadRequest];
928
+ returnType: void;
929
+ };
863
930
  /**
864
931
  * Close browser gracefully.
865
932
  */
866
- 'Browser.close': {paramsType: []; returnType: void;};
933
+ 'Browser.close': {
934
+ paramsType: [];
935
+ returnType: void;
936
+ };
867
937
  /**
868
938
  * Crashes browser on the main thread.
869
939
  */
870
- 'Browser.crash': {paramsType: []; returnType: void;};
940
+ 'Browser.crash': {
941
+ paramsType: [];
942
+ returnType: void;
943
+ };
871
944
  /**
872
945
  * Crashes GPU process.
873
946
  */
874
- 'Browser.crashGpuProcess': {paramsType: []; returnType: void;};
947
+ 'Browser.crashGpuProcess': {
948
+ paramsType: [];
949
+ returnType: void;
950
+ };
875
951
  /**
876
952
  * Returns version information.
877
953
  */
878
- 'Browser.getVersion': {paramsType: []; returnType: Protocol.Browser.GetVersionResponse;};
954
+ 'Browser.getVersion': {
955
+ paramsType: [];
956
+ returnType: Protocol.Browser.GetVersionResponse;
957
+ };
879
958
  /**
880
959
  * Returns the command line switches for the browser process if, and only if
881
960
  * --enable-automation is on the commandline.
882
961
  */
883
- 'Browser.getBrowserCommandLine': {paramsType: []; returnType: Protocol.Browser.GetBrowserCommandLineResponse;};
962
+ 'Browser.getBrowserCommandLine': {
963
+ paramsType: [];
964
+ returnType: Protocol.Browser.GetBrowserCommandLineResponse;
965
+ };
884
966
  /**
885
967
  * Get Chrome histograms.
886
968
  */
887
- 'Browser.getHistograms':
888
- {paramsType: [Protocol.Browser.GetHistogramsRequest?]; returnType: Protocol.Browser.GetHistogramsResponse;};
969
+ 'Browser.getHistograms': {
970
+ paramsType: [Protocol.Browser.GetHistogramsRequest?];
971
+ returnType: Protocol.Browser.GetHistogramsResponse;
972
+ };
889
973
  /**
890
974
  * Get a Chrome histogram by name.
891
975
  */
892
- 'Browser.getHistogram':
893
- {paramsType: [Protocol.Browser.GetHistogramRequest]; returnType: Protocol.Browser.GetHistogramResponse;};
976
+ 'Browser.getHistogram': {
977
+ paramsType: [Protocol.Browser.GetHistogramRequest];
978
+ returnType: Protocol.Browser.GetHistogramResponse;
979
+ };
894
980
  /**
895
981
  * Get position and size of the browser window.
896
982
  */
897
- 'Browser.getWindowBounds':
898
- {paramsType: [Protocol.Browser.GetWindowBoundsRequest]; returnType: Protocol.Browser.GetWindowBoundsResponse;};
983
+ 'Browser.getWindowBounds': {
984
+ paramsType: [Protocol.Browser.GetWindowBoundsRequest];
985
+ returnType: Protocol.Browser.GetWindowBoundsResponse;
986
+ };
899
987
  /**
900
988
  * Get the browser window that contains the devtools target.
901
989
  */
@@ -906,46 +994,73 @@ export namespace ProtocolMapping {
906
994
  /**
907
995
  * Set position and/or size of the browser window.
908
996
  */
909
- 'Browser.setWindowBounds': {paramsType: [Protocol.Browser.SetWindowBoundsRequest]; returnType: void;};
997
+ 'Browser.setWindowBounds': {
998
+ paramsType: [Protocol.Browser.SetWindowBoundsRequest];
999
+ returnType: void;
1000
+ };
910
1001
  /**
911
1002
  * Set dock tile details, platform-specific.
912
1003
  */
913
- 'Browser.setDockTile': {paramsType: [Protocol.Browser.SetDockTileRequest?]; returnType: void;};
1004
+ 'Browser.setDockTile': {
1005
+ paramsType: [Protocol.Browser.SetDockTileRequest?];
1006
+ returnType: void;
1007
+ };
914
1008
  /**
915
1009
  * Invoke custom browser commands used by telemetry.
916
1010
  */
917
- 'Browser.executeBrowserCommand': {paramsType: [Protocol.Browser.ExecuteBrowserCommandRequest]; returnType: void;};
1011
+ 'Browser.executeBrowserCommand': {
1012
+ paramsType: [Protocol.Browser.ExecuteBrowserCommandRequest];
1013
+ returnType: void;
1014
+ };
918
1015
  /**
919
1016
  * Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the
920
1017
  * position specified by `location`.
921
1018
  */
922
- 'CSS.addRule': {paramsType: [Protocol.CSS.AddRuleRequest]; returnType: Protocol.CSS.AddRuleResponse;};
1019
+ 'CSS.addRule': {
1020
+ paramsType: [Protocol.CSS.AddRuleRequest];
1021
+ returnType: Protocol.CSS.AddRuleResponse;
1022
+ };
923
1023
  /**
924
1024
  * Returns all class names from specified stylesheet.
925
1025
  */
926
- 'CSS.collectClassNames':
927
- {paramsType: [Protocol.CSS.CollectClassNamesRequest]; returnType: Protocol.CSS.CollectClassNamesResponse;};
1026
+ 'CSS.collectClassNames': {
1027
+ paramsType: [Protocol.CSS.CollectClassNamesRequest];
1028
+ returnType: Protocol.CSS.CollectClassNamesResponse;
1029
+ };
928
1030
  /**
929
1031
  * Creates a new special "via-inspector" stylesheet in the frame with given `frameId`.
930
1032
  */
931
- 'CSS.createStyleSheet':
932
- {paramsType: [Protocol.CSS.CreateStyleSheetRequest]; returnType: Protocol.CSS.CreateStyleSheetResponse;};
1033
+ 'CSS.createStyleSheet': {
1034
+ paramsType: [Protocol.CSS.CreateStyleSheetRequest];
1035
+ returnType: Protocol.CSS.CreateStyleSheetResponse;
1036
+ };
933
1037
  /**
934
1038
  * Disables the CSS agent for the given page.
935
1039
  */
936
- 'CSS.disable': {paramsType: []; returnType: void;};
1040
+ 'CSS.disable': {
1041
+ paramsType: [];
1042
+ returnType: void;
1043
+ };
937
1044
  /**
938
1045
  * Enables the CSS agent for the given page. Clients should not assume that the CSS agent has been
939
1046
  * enabled until the result of this command is received.
940
1047
  */
941
- 'CSS.enable': {paramsType: []; returnType: void;};
1048
+ 'CSS.enable': {
1049
+ paramsType: [];
1050
+ returnType: void;
1051
+ };
942
1052
  /**
943
1053
  * Ensures that the given node will have specified pseudo-classes whenever its style is computed by
944
1054
  * the browser.
945
1055
  */
946
- 'CSS.forcePseudoState': {paramsType: [Protocol.CSS.ForcePseudoStateRequest]; returnType: void;};
947
- 'CSS.getBackgroundColors':
948
- {paramsType: [Protocol.CSS.GetBackgroundColorsRequest]; returnType: Protocol.CSS.GetBackgroundColorsResponse;};
1056
+ 'CSS.forcePseudoState': {
1057
+ paramsType: [Protocol.CSS.ForcePseudoStateRequest];
1058
+ returnType: void;
1059
+ };
1060
+ 'CSS.getBackgroundColors': {
1061
+ paramsType: [Protocol.CSS.GetBackgroundColorsRequest];
1062
+ returnType: Protocol.CSS.GetBackgroundColorsResponse;
1063
+ };
949
1064
  /**
950
1065
  * Returns the computed style for a DOM node identified by `nodeId`.
951
1066
  */
@@ -958,7 +1073,8 @@ export namespace ProtocolMapping {
958
1073
  * attributes) for a DOM node identified by `nodeId`.
959
1074
  */
960
1075
  'CSS.getInlineStylesForNode': {
961
- paramsType: [Protocol.CSS.GetInlineStylesForNodeRequest]; returnType: Protocol.CSS.GetInlineStylesForNodeResponse;
1076
+ paramsType: [Protocol.CSS.GetInlineStylesForNodeRequest];
1077
+ returnType: Protocol.CSS.GetInlineStylesForNodeResponse;
962
1078
  };
963
1079
  /**
964
1080
  * Returns requested styles for a DOM node identified by `nodeId`.
@@ -970,7 +1086,10 @@ export namespace ProtocolMapping {
970
1086
  /**
971
1087
  * Returns all media queries parsed by the rendering engine.
972
1088
  */
973
- 'CSS.getMediaQueries': {paramsType: []; returnType: Protocol.CSS.GetMediaQueriesResponse;};
1089
+ 'CSS.getMediaQueries': {
1090
+ paramsType: [];
1091
+ returnType: Protocol.CSS.GetMediaQueriesResponse;
1092
+ };
974
1093
  /**
975
1094
  * Requests information about platform fonts which we used to render child TextNodes in the given
976
1095
  * node.
@@ -982,16 +1101,20 @@ export namespace ProtocolMapping {
982
1101
  /**
983
1102
  * Returns the current textual content for a stylesheet.
984
1103
  */
985
- 'CSS.getStyleSheetText':
986
- {paramsType: [Protocol.CSS.GetStyleSheetTextRequest]; returnType: Protocol.CSS.GetStyleSheetTextResponse;};
1104
+ 'CSS.getStyleSheetText': {
1105
+ paramsType: [Protocol.CSS.GetStyleSheetTextRequest];
1106
+ returnType: Protocol.CSS.GetStyleSheetTextResponse;
1107
+ };
987
1108
  /**
988
1109
  * Returns all layers parsed by the rendering engine for the tree scope of a node.
989
1110
  * Given a DOM element identified by nodeId, getLayersForNode returns the root
990
1111
  * layer for the nearest ancestor document or shadow root. The layer root contains
991
1112
  * the full layer tree for the tree scope and their ordering.
992
1113
  */
993
- 'CSS.getLayersForNode':
994
- {paramsType: [Protocol.CSS.GetLayersForNodeRequest]; returnType: Protocol.CSS.GetLayersForNodeResponse;};
1114
+ 'CSS.getLayersForNode': {
1115
+ paramsType: [Protocol.CSS.GetLayersForNodeRequest];
1116
+ returnType: Protocol.CSS.GetLayersForNodeResponse;
1117
+ };
995
1118
  /**
996
1119
  * Starts tracking the given computed styles for updates. The specified array of properties
997
1120
  * replaces the one previously specified. Pass empty array to disable tracking.
@@ -1000,84 +1123,125 @@ export namespace ProtocolMapping {
1000
1123
  * by the DOM agent. If no changes to the tracked properties occur after the node has been pushed
1001
1124
  * to the front-end, no updates will be issued for the node.
1002
1125
  */
1003
- 'CSS.trackComputedStyleUpdates': {paramsType: [Protocol.CSS.TrackComputedStyleUpdatesRequest]; returnType: void;};
1126
+ 'CSS.trackComputedStyleUpdates': {
1127
+ paramsType: [Protocol.CSS.TrackComputedStyleUpdatesRequest];
1128
+ returnType: void;
1129
+ };
1004
1130
  /**
1005
1131
  * Polls the next batch of computed style updates.
1006
1132
  */
1007
- 'CSS.takeComputedStyleUpdates': {paramsType: []; returnType: Protocol.CSS.TakeComputedStyleUpdatesResponse;};
1133
+ 'CSS.takeComputedStyleUpdates': {
1134
+ paramsType: [];
1135
+ returnType: Protocol.CSS.TakeComputedStyleUpdatesResponse;
1136
+ };
1008
1137
  /**
1009
1138
  * Find a rule with the given active property for the given node and set the new value for this
1010
1139
  * property
1011
1140
  */
1012
- 'CSS.setEffectivePropertyValueForNode':
1013
- {paramsType: [Protocol.CSS.SetEffectivePropertyValueForNodeRequest]; returnType: void;};
1141
+ 'CSS.setEffectivePropertyValueForNode': {
1142
+ paramsType: [Protocol.CSS.SetEffectivePropertyValueForNodeRequest];
1143
+ returnType: void;
1144
+ };
1014
1145
  /**
1015
1146
  * Modifies the keyframe rule key text.
1016
1147
  */
1017
- 'CSS.setKeyframeKey':
1018
- {paramsType: [Protocol.CSS.SetKeyframeKeyRequest]; returnType: Protocol.CSS.SetKeyframeKeyResponse;};
1148
+ 'CSS.setKeyframeKey': {
1149
+ paramsType: [Protocol.CSS.SetKeyframeKeyRequest];
1150
+ returnType: Protocol.CSS.SetKeyframeKeyResponse;
1151
+ };
1019
1152
  /**
1020
1153
  * Modifies the rule selector.
1021
1154
  */
1022
- 'CSS.setMediaText':
1023
- {paramsType: [Protocol.CSS.SetMediaTextRequest]; returnType: Protocol.CSS.SetMediaTextResponse;};
1155
+ 'CSS.setMediaText': {
1156
+ paramsType: [Protocol.CSS.SetMediaTextRequest];
1157
+ returnType: Protocol.CSS.SetMediaTextResponse;
1158
+ };
1024
1159
  /**
1025
1160
  * Modifies the expression of a container query.
1026
1161
  */
1027
1162
  'CSS.setContainerQueryText': {
1028
- paramsType: [Protocol.CSS.SetContainerQueryTextRequest]; returnType: Protocol.CSS.SetContainerQueryTextResponse;
1163
+ paramsType: [Protocol.CSS.SetContainerQueryTextRequest];
1164
+ returnType: Protocol.CSS.SetContainerQueryTextResponse;
1029
1165
  };
1030
1166
  /**
1031
1167
  * Modifies the expression of a supports at-rule.
1032
1168
  */
1033
- 'CSS.setSupportsText':
1034
- {paramsType: [Protocol.CSS.SetSupportsTextRequest]; returnType: Protocol.CSS.SetSupportsTextResponse;};
1169
+ 'CSS.setSupportsText': {
1170
+ paramsType: [Protocol.CSS.SetSupportsTextRequest];
1171
+ returnType: Protocol.CSS.SetSupportsTextResponse;
1172
+ };
1035
1173
  /**
1036
1174
  * Modifies the expression of a scope at-rule.
1037
1175
  */
1038
- 'CSS.setScopeText':
1039
- {paramsType: [Protocol.CSS.SetScopeTextRequest]; returnType: Protocol.CSS.SetScopeTextResponse;};
1176
+ 'CSS.setScopeText': {
1177
+ paramsType: [Protocol.CSS.SetScopeTextRequest];
1178
+ returnType: Protocol.CSS.SetScopeTextResponse;
1179
+ };
1040
1180
  /**
1041
1181
  * Modifies the rule selector.
1042
1182
  */
1043
- 'CSS.setRuleSelector':
1044
- {paramsType: [Protocol.CSS.SetRuleSelectorRequest]; returnType: Protocol.CSS.SetRuleSelectorResponse;};
1183
+ 'CSS.setRuleSelector': {
1184
+ paramsType: [Protocol.CSS.SetRuleSelectorRequest];
1185
+ returnType: Protocol.CSS.SetRuleSelectorResponse;
1186
+ };
1045
1187
  /**
1046
1188
  * Sets the new stylesheet text.
1047
1189
  */
1048
- 'CSS.setStyleSheetText':
1049
- {paramsType: [Protocol.CSS.SetStyleSheetTextRequest]; returnType: Protocol.CSS.SetStyleSheetTextResponse;};
1190
+ 'CSS.setStyleSheetText': {
1191
+ paramsType: [Protocol.CSS.SetStyleSheetTextRequest];
1192
+ returnType: Protocol.CSS.SetStyleSheetTextResponse;
1193
+ };
1050
1194
  /**
1051
1195
  * Applies specified style edits one after another in the given order.
1052
1196
  */
1053
- 'CSS.setStyleTexts':
1054
- {paramsType: [Protocol.CSS.SetStyleTextsRequest]; returnType: Protocol.CSS.SetStyleTextsResponse;};
1197
+ 'CSS.setStyleTexts': {
1198
+ paramsType: [Protocol.CSS.SetStyleTextsRequest];
1199
+ returnType: Protocol.CSS.SetStyleTextsResponse;
1200
+ };
1055
1201
  /**
1056
1202
  * Enables the selector recording.
1057
1203
  */
1058
- 'CSS.startRuleUsageTracking': {paramsType: []; returnType: void;};
1204
+ 'CSS.startRuleUsageTracking': {
1205
+ paramsType: [];
1206
+ returnType: void;
1207
+ };
1059
1208
  /**
1060
1209
  * Stop tracking rule usage and return the list of rules that were used since last call to
1061
1210
  * `takeCoverageDelta` (or since start of coverage instrumentation)
1062
1211
  */
1063
- 'CSS.stopRuleUsageTracking': {paramsType: []; returnType: Protocol.CSS.StopRuleUsageTrackingResponse;};
1212
+ 'CSS.stopRuleUsageTracking': {
1213
+ paramsType: [];
1214
+ returnType: Protocol.CSS.StopRuleUsageTrackingResponse;
1215
+ };
1064
1216
  /**
1065
1217
  * Obtain list of rules that became used since last call to this method (or since start of coverage
1066
1218
  * instrumentation)
1067
1219
  */
1068
- 'CSS.takeCoverageDelta': {paramsType: []; returnType: Protocol.CSS.TakeCoverageDeltaResponse;};
1220
+ 'CSS.takeCoverageDelta': {
1221
+ paramsType: [];
1222
+ returnType: Protocol.CSS.TakeCoverageDeltaResponse;
1223
+ };
1069
1224
  /**
1070
1225
  * Enables/disables rendering of local CSS fonts (enabled by default).
1071
1226
  */
1072
- 'CSS.setLocalFontsEnabled': {paramsType: [Protocol.CSS.SetLocalFontsEnabledRequest]; returnType: void;};
1227
+ 'CSS.setLocalFontsEnabled': {
1228
+ paramsType: [Protocol.CSS.SetLocalFontsEnabledRequest];
1229
+ returnType: void;
1230
+ };
1073
1231
  /**
1074
1232
  * Deletes a cache.
1075
1233
  */
1076
- 'CacheStorage.deleteCache': {paramsType: [Protocol.CacheStorage.DeleteCacheRequest]; returnType: void;};
1234
+ 'CacheStorage.deleteCache': {
1235
+ paramsType: [Protocol.CacheStorage.DeleteCacheRequest];
1236
+ returnType: void;
1237
+ };
1077
1238
  /**
1078
1239
  * Deletes a cache entry.
1079
1240
  */
1080
- 'CacheStorage.deleteEntry': {paramsType: [Protocol.CacheStorage.DeleteEntryRequest]; returnType: void;};
1241
+ 'CacheStorage.deleteEntry': {
1242
+ paramsType: [Protocol.CacheStorage.DeleteEntryRequest];
1243
+ returnType: void;
1244
+ };
1081
1245
  /**
1082
1246
  * Requests cache names.
1083
1247
  */
@@ -1106,28 +1270,46 @@ export namespace ProtocolMapping {
1106
1270
  * Also starts observing for issue messages. When an issue is added or removed,
1107
1271
  * an |issueUpdated| event is fired.
1108
1272
  */
1109
- 'Cast.enable': {paramsType: [Protocol.Cast.EnableRequest?]; returnType: void;};
1273
+ 'Cast.enable': {
1274
+ paramsType: [Protocol.Cast.EnableRequest?];
1275
+ returnType: void;
1276
+ };
1110
1277
  /**
1111
1278
  * Stops observing for sinks and issues.
1112
1279
  */
1113
- 'Cast.disable': {paramsType: []; returnType: void;};
1280
+ 'Cast.disable': {
1281
+ paramsType: [];
1282
+ returnType: void;
1283
+ };
1114
1284
  /**
1115
1285
  * Sets a sink to be used when the web page requests the browser to choose a
1116
1286
  * sink via Presentation API, Remote Playback API, or Cast SDK.
1117
1287
  */
1118
- 'Cast.setSinkToUse': {paramsType: [Protocol.Cast.SetSinkToUseRequest]; returnType: void;};
1288
+ 'Cast.setSinkToUse': {
1289
+ paramsType: [Protocol.Cast.SetSinkToUseRequest];
1290
+ returnType: void;
1291
+ };
1119
1292
  /**
1120
1293
  * Starts mirroring the desktop to the sink.
1121
1294
  */
1122
- 'Cast.startDesktopMirroring': {paramsType: [Protocol.Cast.StartDesktopMirroringRequest]; returnType: void;};
1295
+ 'Cast.startDesktopMirroring': {
1296
+ paramsType: [Protocol.Cast.StartDesktopMirroringRequest];
1297
+ returnType: void;
1298
+ };
1123
1299
  /**
1124
1300
  * Starts mirroring the tab to the sink.
1125
1301
  */
1126
- 'Cast.startTabMirroring': {paramsType: [Protocol.Cast.StartTabMirroringRequest]; returnType: void;};
1302
+ 'Cast.startTabMirroring': {
1303
+ paramsType: [Protocol.Cast.StartTabMirroringRequest];
1304
+ returnType: void;
1305
+ };
1127
1306
  /**
1128
1307
  * Stops the active Cast session on the sink.
1129
1308
  */
1130
- 'Cast.stopCasting': {paramsType: [Protocol.Cast.StopCastingRequest]; returnType: void;};
1309
+ 'Cast.stopCasting': {
1310
+ paramsType: [Protocol.Cast.StopCastingRequest];
1311
+ returnType: void;
1312
+ };
1131
1313
  /**
1132
1314
  * Collects class names for the node with given id and all of it's child nodes.
1133
1315
  */
@@ -1139,62 +1321,93 @@ export namespace ProtocolMapping {
1139
1321
  * Creates a deep copy of the specified node and places it into the target container before the
1140
1322
  * given anchor.
1141
1323
  */
1142
- 'DOM.copyTo': {paramsType: [Protocol.DOM.CopyToRequest]; returnType: Protocol.DOM.CopyToResponse;};
1324
+ 'DOM.copyTo': {
1325
+ paramsType: [Protocol.DOM.CopyToRequest];
1326
+ returnType: Protocol.DOM.CopyToResponse;
1327
+ };
1143
1328
  /**
1144
1329
  * Describes node given its id, does not require domain to be enabled. Does not start tracking any
1145
1330
  * objects, can be used for automation.
1146
1331
  */
1147
- 'DOM.describeNode':
1148
- {paramsType: [Protocol.DOM.DescribeNodeRequest?]; returnType: Protocol.DOM.DescribeNodeResponse;};
1332
+ 'DOM.describeNode': {
1333
+ paramsType: [Protocol.DOM.DescribeNodeRequest?];
1334
+ returnType: Protocol.DOM.DescribeNodeResponse;
1335
+ };
1149
1336
  /**
1150
1337
  * Scrolls the specified rect of the given node into view if not already visible.
1151
1338
  * Note: exactly one between nodeId, backendNodeId and objectId should be passed
1152
1339
  * to identify the node.
1153
1340
  */
1154
- 'DOM.scrollIntoViewIfNeeded': {paramsType: [Protocol.DOM.ScrollIntoViewIfNeededRequest?]; returnType: void;};
1341
+ 'DOM.scrollIntoViewIfNeeded': {
1342
+ paramsType: [Protocol.DOM.ScrollIntoViewIfNeededRequest?];
1343
+ returnType: void;
1344
+ };
1155
1345
  /**
1156
1346
  * Disables DOM agent for the given page.
1157
1347
  */
1158
- 'DOM.disable': {paramsType: []; returnType: void;};
1348
+ 'DOM.disable': {
1349
+ paramsType: [];
1350
+ returnType: void;
1351
+ };
1159
1352
  /**
1160
1353
  * Discards search results from the session with the given id. `getSearchResults` should no longer
1161
1354
  * be called for that search.
1162
1355
  */
1163
- 'DOM.discardSearchResults': {paramsType: [Protocol.DOM.DiscardSearchResultsRequest]; returnType: void;};
1356
+ 'DOM.discardSearchResults': {
1357
+ paramsType: [Protocol.DOM.DiscardSearchResultsRequest];
1358
+ returnType: void;
1359
+ };
1164
1360
  /**
1165
1361
  * Enables DOM agent for the given page.
1166
1362
  */
1167
- 'DOM.enable': {paramsType: [Protocol.DOM.EnableRequest?]; returnType: void;};
1363
+ 'DOM.enable': {
1364
+ paramsType: [Protocol.DOM.EnableRequest?];
1365
+ returnType: void;
1366
+ };
1168
1367
  /**
1169
1368
  * Focuses the given element.
1170
1369
  */
1171
- 'DOM.focus': {paramsType: [Protocol.DOM.FocusRequest?]; returnType: void;};
1370
+ 'DOM.focus': {
1371
+ paramsType: [Protocol.DOM.FocusRequest?];
1372
+ returnType: void;
1373
+ };
1172
1374
  /**
1173
1375
  * Returns attributes for the specified node.
1174
1376
  */
1175
- 'DOM.getAttributes':
1176
- {paramsType: [Protocol.DOM.GetAttributesRequest]; returnType: Protocol.DOM.GetAttributesResponse;};
1377
+ 'DOM.getAttributes': {
1378
+ paramsType: [Protocol.DOM.GetAttributesRequest];
1379
+ returnType: Protocol.DOM.GetAttributesResponse;
1380
+ };
1177
1381
  /**
1178
1382
  * Returns boxes for the given node.
1179
1383
  */
1180
- 'DOM.getBoxModel': {paramsType: [Protocol.DOM.GetBoxModelRequest?]; returnType: Protocol.DOM.GetBoxModelResponse;};
1384
+ 'DOM.getBoxModel': {
1385
+ paramsType: [Protocol.DOM.GetBoxModelRequest?];
1386
+ returnType: Protocol.DOM.GetBoxModelResponse;
1387
+ };
1181
1388
  /**
1182
1389
  * Returns quads that describe node position on the page. This method
1183
1390
  * might return multiple quads for inline nodes.
1184
1391
  */
1185
- 'DOM.getContentQuads':
1186
- {paramsType: [Protocol.DOM.GetContentQuadsRequest?]; returnType: Protocol.DOM.GetContentQuadsResponse;};
1392
+ 'DOM.getContentQuads': {
1393
+ paramsType: [Protocol.DOM.GetContentQuadsRequest?];
1394
+ returnType: Protocol.DOM.GetContentQuadsResponse;
1395
+ };
1187
1396
  /**
1188
1397
  * Returns the root DOM node (and optionally the subtree) to the caller.
1189
1398
  */
1190
- 'DOM.getDocument': {paramsType: [Protocol.DOM.GetDocumentRequest?]; returnType: Protocol.DOM.GetDocumentResponse;};
1399
+ 'DOM.getDocument': {
1400
+ paramsType: [Protocol.DOM.GetDocumentRequest?];
1401
+ returnType: Protocol.DOM.GetDocumentResponse;
1402
+ };
1191
1403
  /**
1192
1404
  * Returns the root DOM node (and optionally the subtree) to the caller.
1193
1405
  * Deprecated, as it is not designed to work well with the rest of the DOM agent.
1194
1406
  * Use DOMSnapshot.captureSnapshot instead.
1195
1407
  */
1196
1408
  'DOM.getFlattenedDocument': {
1197
- paramsType: [Protocol.DOM.GetFlattenedDocumentRequest?]; returnType: Protocol.DOM.GetFlattenedDocumentResponse;
1409
+ paramsType: [Protocol.DOM.GetFlattenedDocumentRequest?];
1410
+ returnType: Protocol.DOM.GetFlattenedDocumentResponse;
1198
1411
  };
1199
1412
  /**
1200
1413
  * Finds nodes with a given computed style in a subtree.
@@ -1207,50 +1420,75 @@ export namespace ProtocolMapping {
1207
1420
  * Returns node id at given location. Depending on whether DOM domain is enabled, nodeId is
1208
1421
  * either returned or not.
1209
1422
  */
1210
- 'DOM.getNodeForLocation':
1211
- {paramsType: [Protocol.DOM.GetNodeForLocationRequest]; returnType: Protocol.DOM.GetNodeForLocationResponse;};
1423
+ 'DOM.getNodeForLocation': {
1424
+ paramsType: [Protocol.DOM.GetNodeForLocationRequest];
1425
+ returnType: Protocol.DOM.GetNodeForLocationResponse;
1426
+ };
1212
1427
  /**
1213
1428
  * Returns node's HTML markup.
1214
1429
  */
1215
- 'DOM.getOuterHTML':
1216
- {paramsType: [Protocol.DOM.GetOuterHTMLRequest?]; returnType: Protocol.DOM.GetOuterHTMLResponse;};
1430
+ 'DOM.getOuterHTML': {
1431
+ paramsType: [Protocol.DOM.GetOuterHTMLRequest?];
1432
+ returnType: Protocol.DOM.GetOuterHTMLResponse;
1433
+ };
1217
1434
  /**
1218
1435
  * Returns the id of the nearest ancestor that is a relayout boundary.
1219
1436
  */
1220
- 'DOM.getRelayoutBoundary':
1221
- {paramsType: [Protocol.DOM.GetRelayoutBoundaryRequest]; returnType: Protocol.DOM.GetRelayoutBoundaryResponse;};
1437
+ 'DOM.getRelayoutBoundary': {
1438
+ paramsType: [Protocol.DOM.GetRelayoutBoundaryRequest];
1439
+ returnType: Protocol.DOM.GetRelayoutBoundaryResponse;
1440
+ };
1222
1441
  /**
1223
1442
  * Returns search results from given `fromIndex` to given `toIndex` from the search with the given
1224
1443
  * identifier.
1225
1444
  */
1226
- 'DOM.getSearchResults':
1227
- {paramsType: [Protocol.DOM.GetSearchResultsRequest]; returnType: Protocol.DOM.GetSearchResultsResponse;};
1445
+ 'DOM.getSearchResults': {
1446
+ paramsType: [Protocol.DOM.GetSearchResultsRequest];
1447
+ returnType: Protocol.DOM.GetSearchResultsResponse;
1448
+ };
1228
1449
  /**
1229
1450
  * Hides any highlight.
1230
1451
  */
1231
- 'DOM.hideHighlight': {paramsType: []; returnType: void;};
1452
+ 'DOM.hideHighlight': {
1453
+ paramsType: [];
1454
+ returnType: void;
1455
+ };
1232
1456
  /**
1233
1457
  * Highlights DOM node.
1234
1458
  */
1235
- 'DOM.highlightNode': {paramsType: []; returnType: void;};
1459
+ 'DOM.highlightNode': {
1460
+ paramsType: [];
1461
+ returnType: void;
1462
+ };
1236
1463
  /**
1237
1464
  * Highlights given rectangle.
1238
1465
  */
1239
- 'DOM.highlightRect': {paramsType: []; returnType: void;};
1466
+ 'DOM.highlightRect': {
1467
+ paramsType: [];
1468
+ returnType: void;
1469
+ };
1240
1470
  /**
1241
1471
  * Marks last undoable state.
1242
1472
  */
1243
- 'DOM.markUndoableState': {paramsType: []; returnType: void;};
1473
+ 'DOM.markUndoableState': {
1474
+ paramsType: [];
1475
+ returnType: void;
1476
+ };
1244
1477
  /**
1245
1478
  * Moves node into the new container, places it before the given anchor.
1246
1479
  */
1247
- 'DOM.moveTo': {paramsType: [Protocol.DOM.MoveToRequest]; returnType: Protocol.DOM.MoveToResponse;};
1480
+ 'DOM.moveTo': {
1481
+ paramsType: [Protocol.DOM.MoveToRequest];
1482
+ returnType: Protocol.DOM.MoveToResponse;
1483
+ };
1248
1484
  /**
1249
1485
  * Searches for a given string in the DOM tree. Use `getSearchResults` to access search results or
1250
1486
  * `cancelSearch` to end this search session.
1251
1487
  */
1252
- 'DOM.performSearch':
1253
- {paramsType: [Protocol.DOM.PerformSearchRequest]; returnType: Protocol.DOM.PerformSearchResponse;};
1488
+ 'DOM.performSearch': {
1489
+ paramsType: [Protocol.DOM.PerformSearchRequest];
1490
+ returnType: Protocol.DOM.PerformSearchResponse;
1491
+ };
1254
1492
  /**
1255
1493
  * Requests that the node is sent to the caller given its path. // FIXME, use XPath
1256
1494
  */
@@ -1268,107 +1506,168 @@ export namespace ProtocolMapping {
1268
1506
  /**
1269
1507
  * Executes `querySelector` on a given node.
1270
1508
  */
1271
- 'DOM.querySelector':
1272
- {paramsType: [Protocol.DOM.QuerySelectorRequest]; returnType: Protocol.DOM.QuerySelectorResponse;};
1509
+ 'DOM.querySelector': {
1510
+ paramsType: [Protocol.DOM.QuerySelectorRequest];
1511
+ returnType: Protocol.DOM.QuerySelectorResponse;
1512
+ };
1273
1513
  /**
1274
1514
  * Executes `querySelectorAll` on a given node.
1275
1515
  */
1276
- 'DOM.querySelectorAll':
1277
- {paramsType: [Protocol.DOM.QuerySelectorAllRequest]; returnType: Protocol.DOM.QuerySelectorAllResponse;};
1516
+ 'DOM.querySelectorAll': {
1517
+ paramsType: [Protocol.DOM.QuerySelectorAllRequest];
1518
+ returnType: Protocol.DOM.QuerySelectorAllResponse;
1519
+ };
1278
1520
  /**
1279
1521
  * Returns NodeIds of current top layer elements.
1280
1522
  * Top layer is rendered closest to the user within a viewport, therefore its elements always
1281
1523
  * appear on top of all other content.
1282
1524
  */
1283
- 'DOM.getTopLayerElements': {paramsType: []; returnType: Protocol.DOM.GetTopLayerElementsResponse;};
1525
+ 'DOM.getTopLayerElements': {
1526
+ paramsType: [];
1527
+ returnType: Protocol.DOM.GetTopLayerElementsResponse;
1528
+ };
1284
1529
  /**
1285
1530
  * Re-does the last undone action.
1286
1531
  */
1287
- 'DOM.redo': {paramsType: []; returnType: void;};
1532
+ 'DOM.redo': {
1533
+ paramsType: [];
1534
+ returnType: void;
1535
+ };
1288
1536
  /**
1289
1537
  * Removes attribute with given name from an element with given id.
1290
1538
  */
1291
- 'DOM.removeAttribute': {paramsType: [Protocol.DOM.RemoveAttributeRequest]; returnType: void;};
1539
+ 'DOM.removeAttribute': {
1540
+ paramsType: [Protocol.DOM.RemoveAttributeRequest];
1541
+ returnType: void;
1542
+ };
1292
1543
  /**
1293
1544
  * Removes node with given id.
1294
1545
  */
1295
- 'DOM.removeNode': {paramsType: [Protocol.DOM.RemoveNodeRequest]; returnType: void;};
1546
+ 'DOM.removeNode': {
1547
+ paramsType: [Protocol.DOM.RemoveNodeRequest];
1548
+ returnType: void;
1549
+ };
1296
1550
  /**
1297
1551
  * Requests that children of the node with given id are returned to the caller in form of
1298
1552
  * `setChildNodes` events where not only immediate children are retrieved, but all children down to
1299
1553
  * the specified depth.
1300
1554
  */
1301
- 'DOM.requestChildNodes': {paramsType: [Protocol.DOM.RequestChildNodesRequest]; returnType: void;};
1555
+ 'DOM.requestChildNodes': {
1556
+ paramsType: [Protocol.DOM.RequestChildNodesRequest];
1557
+ returnType: void;
1558
+ };
1302
1559
  /**
1303
1560
  * Requests that the node is sent to the caller given the JavaScript node object reference. All
1304
1561
  * nodes that form the path from the node to the root are also sent to the client as a series of
1305
1562
  * `setChildNodes` notifications.
1306
1563
  */
1307
- 'DOM.requestNode': {paramsType: [Protocol.DOM.RequestNodeRequest]; returnType: Protocol.DOM.RequestNodeResponse;};
1564
+ 'DOM.requestNode': {
1565
+ paramsType: [Protocol.DOM.RequestNodeRequest];
1566
+ returnType: Protocol.DOM.RequestNodeResponse;
1567
+ };
1308
1568
  /**
1309
1569
  * Resolves the JavaScript node object for a given NodeId or BackendNodeId.
1310
1570
  */
1311
- 'DOM.resolveNode': {paramsType: [Protocol.DOM.ResolveNodeRequest?]; returnType: Protocol.DOM.ResolveNodeResponse;};
1571
+ 'DOM.resolveNode': {
1572
+ paramsType: [Protocol.DOM.ResolveNodeRequest?];
1573
+ returnType: Protocol.DOM.ResolveNodeResponse;
1574
+ };
1312
1575
  /**
1313
1576
  * Sets attribute for an element with given id.
1314
1577
  */
1315
- 'DOM.setAttributeValue': {paramsType: [Protocol.DOM.SetAttributeValueRequest]; returnType: void;};
1578
+ 'DOM.setAttributeValue': {
1579
+ paramsType: [Protocol.DOM.SetAttributeValueRequest];
1580
+ returnType: void;
1581
+ };
1316
1582
  /**
1317
1583
  * Sets attributes on element with given id. This method is useful when user edits some existing
1318
1584
  * attribute value and types in several attribute name/value pairs.
1319
1585
  */
1320
- 'DOM.setAttributesAsText': {paramsType: [Protocol.DOM.SetAttributesAsTextRequest]; returnType: void;};
1586
+ 'DOM.setAttributesAsText': {
1587
+ paramsType: [Protocol.DOM.SetAttributesAsTextRequest];
1588
+ returnType: void;
1589
+ };
1321
1590
  /**
1322
1591
  * Sets files for the given file input element.
1323
1592
  */
1324
- 'DOM.setFileInputFiles': {paramsType: [Protocol.DOM.SetFileInputFilesRequest]; returnType: void;};
1593
+ 'DOM.setFileInputFiles': {
1594
+ paramsType: [Protocol.DOM.SetFileInputFilesRequest];
1595
+ returnType: void;
1596
+ };
1325
1597
  /**
1326
1598
  * Sets if stack traces should be captured for Nodes. See `Node.getNodeStackTraces`. Default is disabled.
1327
1599
  */
1328
- 'DOM.setNodeStackTracesEnabled': {paramsType: [Protocol.DOM.SetNodeStackTracesEnabledRequest]; returnType: void;};
1600
+ 'DOM.setNodeStackTracesEnabled': {
1601
+ paramsType: [Protocol.DOM.SetNodeStackTracesEnabledRequest];
1602
+ returnType: void;
1603
+ };
1329
1604
  /**
1330
1605
  * Gets stack traces associated with a Node. As of now, only provides stack trace for Node creation.
1331
1606
  */
1332
- 'DOM.getNodeStackTraces':
1333
- {paramsType: [Protocol.DOM.GetNodeStackTracesRequest]; returnType: Protocol.DOM.GetNodeStackTracesResponse;};
1607
+ 'DOM.getNodeStackTraces': {
1608
+ paramsType: [Protocol.DOM.GetNodeStackTracesRequest];
1609
+ returnType: Protocol.DOM.GetNodeStackTracesResponse;
1610
+ };
1334
1611
  /**
1335
1612
  * Returns file information for the given
1336
1613
  * File wrapper.
1337
1614
  */
1338
- 'DOM.getFileInfo': {paramsType: [Protocol.DOM.GetFileInfoRequest]; returnType: Protocol.DOM.GetFileInfoResponse;};
1615
+ 'DOM.getFileInfo': {
1616
+ paramsType: [Protocol.DOM.GetFileInfoRequest];
1617
+ returnType: Protocol.DOM.GetFileInfoResponse;
1618
+ };
1339
1619
  /**
1340
1620
  * Enables console to refer to the node with given id via $x (see Command Line API for more details
1341
1621
  * $x functions).
1342
1622
  */
1343
- 'DOM.setInspectedNode': {paramsType: [Protocol.DOM.SetInspectedNodeRequest]; returnType: void;};
1623
+ 'DOM.setInspectedNode': {
1624
+ paramsType: [Protocol.DOM.SetInspectedNodeRequest];
1625
+ returnType: void;
1626
+ };
1344
1627
  /**
1345
1628
  * Sets node name for a node with given id.
1346
1629
  */
1347
- 'DOM.setNodeName': {paramsType: [Protocol.DOM.SetNodeNameRequest]; returnType: Protocol.DOM.SetNodeNameResponse;};
1630
+ 'DOM.setNodeName': {
1631
+ paramsType: [Protocol.DOM.SetNodeNameRequest];
1632
+ returnType: Protocol.DOM.SetNodeNameResponse;
1633
+ };
1348
1634
  /**
1349
1635
  * Sets node value for a node with given id.
1350
1636
  */
1351
- 'DOM.setNodeValue': {paramsType: [Protocol.DOM.SetNodeValueRequest]; returnType: void;};
1637
+ 'DOM.setNodeValue': {
1638
+ paramsType: [Protocol.DOM.SetNodeValueRequest];
1639
+ returnType: void;
1640
+ };
1352
1641
  /**
1353
1642
  * Sets node HTML markup, returns new node id.
1354
1643
  */
1355
- 'DOM.setOuterHTML': {paramsType: [Protocol.DOM.SetOuterHTMLRequest]; returnType: void;};
1644
+ 'DOM.setOuterHTML': {
1645
+ paramsType: [Protocol.DOM.SetOuterHTMLRequest];
1646
+ returnType: void;
1647
+ };
1356
1648
  /**
1357
1649
  * Undoes the last performed action.
1358
1650
  */
1359
- 'DOM.undo': {paramsType: []; returnType: void;};
1651
+ 'DOM.undo': {
1652
+ paramsType: [];
1653
+ returnType: void;
1654
+ };
1360
1655
  /**
1361
1656
  * Returns iframe node that owns iframe with the given domain.
1362
1657
  */
1363
- 'DOM.getFrameOwner':
1364
- {paramsType: [Protocol.DOM.GetFrameOwnerRequest]; returnType: Protocol.DOM.GetFrameOwnerResponse;};
1658
+ 'DOM.getFrameOwner': {
1659
+ paramsType: [Protocol.DOM.GetFrameOwnerRequest];
1660
+ returnType: Protocol.DOM.GetFrameOwnerResponse;
1661
+ };
1365
1662
  /**
1366
1663
  * Returns the container of the given node based on container query conditions.
1367
1664
  * If containerName is given, it will find the nearest container with a matching name;
1368
1665
  * otherwise it will find the nearest container regardless of its container name.
1369
1666
  */
1370
- 'DOM.getContainerForNode':
1371
- {paramsType: [Protocol.DOM.GetContainerForNodeRequest]; returnType: Protocol.DOM.GetContainerForNodeResponse;};
1667
+ 'DOM.getContainerForNode': {
1668
+ paramsType: [Protocol.DOM.GetContainerForNodeRequest];
1669
+ returnType: Protocol.DOM.GetContainerForNodeResponse;
1670
+ };
1372
1671
  /**
1373
1672
  * Returns the descendants of a container query container that have
1374
1673
  * container queries against this container.
@@ -1387,72 +1686,104 @@ export namespace ProtocolMapping {
1387
1686
  /**
1388
1687
  * Removes DOM breakpoint that was set using `setDOMBreakpoint`.
1389
1688
  */
1390
- 'DOMDebugger.removeDOMBreakpoint':
1391
- {paramsType: [Protocol.DOMDebugger.RemoveDOMBreakpointRequest]; returnType: void;};
1689
+ 'DOMDebugger.removeDOMBreakpoint': {
1690
+ paramsType: [Protocol.DOMDebugger.RemoveDOMBreakpointRequest];
1691
+ returnType: void;
1692
+ };
1392
1693
  /**
1393
1694
  * Removes breakpoint on particular DOM event.
1394
1695
  */
1395
- 'DOMDebugger.removeEventListenerBreakpoint':
1396
- {paramsType: [Protocol.DOMDebugger.RemoveEventListenerBreakpointRequest]; returnType: void;};
1696
+ 'DOMDebugger.removeEventListenerBreakpoint': {
1697
+ paramsType: [Protocol.DOMDebugger.RemoveEventListenerBreakpointRequest];
1698
+ returnType: void;
1699
+ };
1397
1700
  /**
1398
1701
  * Removes breakpoint on particular native event.
1399
1702
  */
1400
- 'DOMDebugger.removeInstrumentationBreakpoint':
1401
- {paramsType: [Protocol.DOMDebugger.RemoveInstrumentationBreakpointRequest]; returnType: void;};
1703
+ 'DOMDebugger.removeInstrumentationBreakpoint': {
1704
+ paramsType: [Protocol.DOMDebugger.RemoveInstrumentationBreakpointRequest];
1705
+ returnType: void;
1706
+ };
1402
1707
  /**
1403
1708
  * Removes breakpoint from XMLHttpRequest.
1404
1709
  */
1405
- 'DOMDebugger.removeXHRBreakpoint':
1406
- {paramsType: [Protocol.DOMDebugger.RemoveXHRBreakpointRequest]; returnType: void;};
1710
+ 'DOMDebugger.removeXHRBreakpoint': {
1711
+ paramsType: [Protocol.DOMDebugger.RemoveXHRBreakpointRequest];
1712
+ returnType: void;
1713
+ };
1407
1714
  /**
1408
1715
  * Sets breakpoint on particular CSP violations.
1409
1716
  */
1410
- 'DOMDebugger.setBreakOnCSPViolation':
1411
- {paramsType: [Protocol.DOMDebugger.SetBreakOnCSPViolationRequest]; returnType: void;};
1717
+ 'DOMDebugger.setBreakOnCSPViolation': {
1718
+ paramsType: [Protocol.DOMDebugger.SetBreakOnCSPViolationRequest];
1719
+ returnType: void;
1720
+ };
1412
1721
  /**
1413
1722
  * Sets breakpoint on particular operation with DOM.
1414
1723
  */
1415
- 'DOMDebugger.setDOMBreakpoint': {paramsType: [Protocol.DOMDebugger.SetDOMBreakpointRequest]; returnType: void;};
1724
+ 'DOMDebugger.setDOMBreakpoint': {
1725
+ paramsType: [Protocol.DOMDebugger.SetDOMBreakpointRequest];
1726
+ returnType: void;
1727
+ };
1416
1728
  /**
1417
1729
  * Sets breakpoint on particular DOM event.
1418
1730
  */
1419
- 'DOMDebugger.setEventListenerBreakpoint':
1420
- {paramsType: [Protocol.DOMDebugger.SetEventListenerBreakpointRequest]; returnType: void;};
1731
+ 'DOMDebugger.setEventListenerBreakpoint': {
1732
+ paramsType: [Protocol.DOMDebugger.SetEventListenerBreakpointRequest];
1733
+ returnType: void;
1734
+ };
1421
1735
  /**
1422
1736
  * Sets breakpoint on particular native event.
1423
1737
  */
1424
- 'DOMDebugger.setInstrumentationBreakpoint':
1425
- {paramsType: [Protocol.DOMDebugger.SetInstrumentationBreakpointRequest]; returnType: void;};
1738
+ 'DOMDebugger.setInstrumentationBreakpoint': {
1739
+ paramsType: [Protocol.DOMDebugger.SetInstrumentationBreakpointRequest];
1740
+ returnType: void;
1741
+ };
1426
1742
  /**
1427
1743
  * Sets breakpoint on XMLHttpRequest.
1428
1744
  */
1429
- 'DOMDebugger.setXHRBreakpoint': {paramsType: [Protocol.DOMDebugger.SetXHRBreakpointRequest]; returnType: void;};
1745
+ 'DOMDebugger.setXHRBreakpoint': {
1746
+ paramsType: [Protocol.DOMDebugger.SetXHRBreakpointRequest];
1747
+ returnType: void;
1748
+ };
1430
1749
  /**
1431
1750
  * Sets breakpoint on particular native event.
1432
1751
  */
1433
- 'EventBreakpoints.setInstrumentationBreakpoint':
1434
- {paramsType: [Protocol.EventBreakpoints.SetInstrumentationBreakpointRequest]; returnType: void;};
1752
+ 'EventBreakpoints.setInstrumentationBreakpoint': {
1753
+ paramsType: [Protocol.EventBreakpoints.SetInstrumentationBreakpointRequest];
1754
+ returnType: void;
1755
+ };
1435
1756
  /**
1436
1757
  * Removes breakpoint on particular native event.
1437
1758
  */
1438
- 'EventBreakpoints.removeInstrumentationBreakpoint':
1439
- {paramsType: [Protocol.EventBreakpoints.RemoveInstrumentationBreakpointRequest]; returnType: void;};
1759
+ 'EventBreakpoints.removeInstrumentationBreakpoint': {
1760
+ paramsType: [Protocol.EventBreakpoints.RemoveInstrumentationBreakpointRequest];
1761
+ returnType: void;
1762
+ };
1440
1763
  /**
1441
1764
  * Disables DOM snapshot agent for the given page.
1442
1765
  */
1443
- 'DOMSnapshot.disable': {paramsType: []; returnType: void;};
1766
+ 'DOMSnapshot.disable': {
1767
+ paramsType: [];
1768
+ returnType: void;
1769
+ };
1444
1770
  /**
1445
1771
  * Enables DOM snapshot agent for the given page.
1446
1772
  */
1447
- 'DOMSnapshot.enable': {paramsType: []; returnType: void;};
1773
+ 'DOMSnapshot.enable': {
1774
+ paramsType: [];
1775
+ returnType: void;
1776
+ };
1448
1777
  /**
1449
1778
  * Returns a document snapshot, including the full DOM tree of the root node (including iframes,
1450
1779
  * template contents, and imported documents) in a flattened array, as well as layout and
1451
1780
  * white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is
1452
1781
  * flattened.
1453
1782
  */
1454
- 'DOMSnapshot.getSnapshot':
1455
- {paramsType: [Protocol.DOMSnapshot.GetSnapshotRequest]; returnType: Protocol.DOMSnapshot.GetSnapshotResponse;};
1783
+ 'DOMSnapshot.getSnapshot': {
1784
+ paramsType: [Protocol.DOMSnapshot.GetSnapshotRequest];
1785
+ returnType: Protocol.DOMSnapshot.GetSnapshotResponse;
1786
+ };
1456
1787
  /**
1457
1788
  * Returns a document snapshot, including the full DOM tree of the root node (including iframes,
1458
1789
  * template contents, and imported documents) in a flattened array, as well as layout and
@@ -1463,32 +1794,54 @@ export namespace ProtocolMapping {
1463
1794
  paramsType: [Protocol.DOMSnapshot.CaptureSnapshotRequest];
1464
1795
  returnType: Protocol.DOMSnapshot.CaptureSnapshotResponse;
1465
1796
  };
1466
- 'DOMStorage.clear': {paramsType: [Protocol.DOMStorage.ClearRequest]; returnType: void;};
1797
+ 'DOMStorage.clear': {
1798
+ paramsType: [Protocol.DOMStorage.ClearRequest];
1799
+ returnType: void;
1800
+ };
1467
1801
  /**
1468
1802
  * Disables storage tracking, prevents storage events from being sent to the client.
1469
1803
  */
1470
- 'DOMStorage.disable': {paramsType: []; returnType: void;};
1804
+ 'DOMStorage.disable': {
1805
+ paramsType: [];
1806
+ returnType: void;
1807
+ };
1471
1808
  /**
1472
1809
  * Enables storage tracking, storage events will now be delivered to the client.
1473
1810
  */
1474
- 'DOMStorage.enable': {paramsType: []; returnType: void;};
1811
+ 'DOMStorage.enable': {
1812
+ paramsType: [];
1813
+ returnType: void;
1814
+ };
1475
1815
  'DOMStorage.getDOMStorageItems': {
1476
1816
  paramsType: [Protocol.DOMStorage.GetDOMStorageItemsRequest];
1477
1817
  returnType: Protocol.DOMStorage.GetDOMStorageItemsResponse;
1478
1818
  };
1479
- 'DOMStorage.removeDOMStorageItem':
1480
- {paramsType: [Protocol.DOMStorage.RemoveDOMStorageItemRequest]; returnType: void;};
1481
- 'DOMStorage.setDOMStorageItem': {paramsType: [Protocol.DOMStorage.SetDOMStorageItemRequest]; returnType: void;};
1819
+ 'DOMStorage.removeDOMStorageItem': {
1820
+ paramsType: [Protocol.DOMStorage.RemoveDOMStorageItemRequest];
1821
+ returnType: void;
1822
+ };
1823
+ 'DOMStorage.setDOMStorageItem': {
1824
+ paramsType: [Protocol.DOMStorage.SetDOMStorageItemRequest];
1825
+ returnType: void;
1826
+ };
1482
1827
  /**
1483
1828
  * Disables database tracking, prevents database events from being sent to the client.
1484
1829
  */
1485
- 'Database.disable': {paramsType: []; returnType: void;};
1830
+ 'Database.disable': {
1831
+ paramsType: [];
1832
+ returnType: void;
1833
+ };
1486
1834
  /**
1487
1835
  * Enables database tracking, database events will now be delivered to the client.
1488
1836
  */
1489
- 'Database.enable': {paramsType: []; returnType: void;};
1490
- 'Database.executeSQL':
1491
- {paramsType: [Protocol.Database.ExecuteSQLRequest]; returnType: Protocol.Database.ExecuteSQLResponse;};
1837
+ 'Database.enable': {
1838
+ paramsType: [];
1839
+ returnType: void;
1840
+ };
1841
+ 'Database.executeSQL': {
1842
+ paramsType: [Protocol.Database.ExecuteSQLRequest];
1843
+ returnType: Protocol.Database.ExecuteSQLResponse;
1844
+ };
1492
1845
  'Database.getDatabaseTableNames': {
1493
1846
  paramsType: [Protocol.Database.GetDatabaseTableNamesRequest];
1494
1847
  returnType: Protocol.Database.GetDatabaseTableNamesResponse;
@@ -1496,102 +1849,159 @@ export namespace ProtocolMapping {
1496
1849
  /**
1497
1850
  * Clears the overridden Device Orientation.
1498
1851
  */
1499
- 'DeviceOrientation.clearDeviceOrientationOverride': {paramsType: []; returnType: void;};
1852
+ 'DeviceOrientation.clearDeviceOrientationOverride': {
1853
+ paramsType: [];
1854
+ returnType: void;
1855
+ };
1500
1856
  /**
1501
1857
  * Overrides the Device Orientation.
1502
1858
  */
1503
- 'DeviceOrientation.setDeviceOrientationOverride':
1504
- {paramsType: [Protocol.DeviceOrientation.SetDeviceOrientationOverrideRequest]; returnType: void;};
1859
+ 'DeviceOrientation.setDeviceOrientationOverride': {
1860
+ paramsType: [Protocol.DeviceOrientation.SetDeviceOrientationOverrideRequest];
1861
+ returnType: void;
1862
+ };
1505
1863
  /**
1506
1864
  * Tells whether emulation is supported.
1507
1865
  */
1508
- 'Emulation.canEmulate': {paramsType: []; returnType: Protocol.Emulation.CanEmulateResponse;};
1866
+ 'Emulation.canEmulate': {
1867
+ paramsType: [];
1868
+ returnType: Protocol.Emulation.CanEmulateResponse;
1869
+ };
1509
1870
  /**
1510
1871
  * Clears the overridden device metrics.
1511
1872
  */
1512
- 'Emulation.clearDeviceMetricsOverride': {paramsType: []; returnType: void;};
1873
+ 'Emulation.clearDeviceMetricsOverride': {
1874
+ paramsType: [];
1875
+ returnType: void;
1876
+ };
1513
1877
  /**
1514
1878
  * Clears the overridden Geolocation Position and Error.
1515
1879
  */
1516
- 'Emulation.clearGeolocationOverride': {paramsType: []; returnType: void;};
1880
+ 'Emulation.clearGeolocationOverride': {
1881
+ paramsType: [];
1882
+ returnType: void;
1883
+ };
1517
1884
  /**
1518
1885
  * Requests that page scale factor is reset to initial values.
1519
1886
  */
1520
- 'Emulation.resetPageScaleFactor': {paramsType: []; returnType: void;};
1887
+ 'Emulation.resetPageScaleFactor': {
1888
+ paramsType: [];
1889
+ returnType: void;
1890
+ };
1521
1891
  /**
1522
1892
  * Enables or disables simulating a focused and active page.
1523
1893
  */
1524
- 'Emulation.setFocusEmulationEnabled':
1525
- {paramsType: [Protocol.Emulation.SetFocusEmulationEnabledRequest]; returnType: void;};
1894
+ 'Emulation.setFocusEmulationEnabled': {
1895
+ paramsType: [Protocol.Emulation.SetFocusEmulationEnabledRequest];
1896
+ returnType: void;
1897
+ };
1526
1898
  /**
1527
1899
  * Automatically render all web contents using a dark theme.
1528
1900
  */
1529
- 'Emulation.setAutoDarkModeOverride':
1530
- {paramsType: [Protocol.Emulation.SetAutoDarkModeOverrideRequest?]; returnType: void;};
1901
+ 'Emulation.setAutoDarkModeOverride': {
1902
+ paramsType: [Protocol.Emulation.SetAutoDarkModeOverrideRequest?];
1903
+ returnType: void;
1904
+ };
1531
1905
  /**
1532
1906
  * Enables CPU throttling to emulate slow CPUs.
1533
1907
  */
1534
- 'Emulation.setCPUThrottlingRate': {paramsType: [Protocol.Emulation.SetCPUThrottlingRateRequest]; returnType: void;};
1908
+ 'Emulation.setCPUThrottlingRate': {
1909
+ paramsType: [Protocol.Emulation.SetCPUThrottlingRateRequest];
1910
+ returnType: void;
1911
+ };
1535
1912
  /**
1536
1913
  * Sets or clears an override of the default background color of the frame. This override is used
1537
1914
  * if the content does not specify one.
1538
1915
  */
1539
- 'Emulation.setDefaultBackgroundColorOverride':
1540
- {paramsType: [Protocol.Emulation.SetDefaultBackgroundColorOverrideRequest?]; returnType: void;};
1916
+ 'Emulation.setDefaultBackgroundColorOverride': {
1917
+ paramsType: [Protocol.Emulation.SetDefaultBackgroundColorOverrideRequest?];
1918
+ returnType: void;
1919
+ };
1541
1920
  /**
1542
1921
  * Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
1543
1922
  * window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
1544
1923
  * query results).
1545
1924
  */
1546
- 'Emulation.setDeviceMetricsOverride':
1547
- {paramsType: [Protocol.Emulation.SetDeviceMetricsOverrideRequest]; returnType: void;};
1548
- 'Emulation.setScrollbarsHidden': {paramsType: [Protocol.Emulation.SetScrollbarsHiddenRequest]; returnType: void;};
1549
- 'Emulation.setDocumentCookieDisabled':
1550
- {paramsType: [Protocol.Emulation.SetDocumentCookieDisabledRequest]; returnType: void;};
1551
- 'Emulation.setEmitTouchEventsForMouse':
1552
- {paramsType: [Protocol.Emulation.SetEmitTouchEventsForMouseRequest]; returnType: void;};
1925
+ 'Emulation.setDeviceMetricsOverride': {
1926
+ paramsType: [Protocol.Emulation.SetDeviceMetricsOverrideRequest];
1927
+ returnType: void;
1928
+ };
1929
+ 'Emulation.setScrollbarsHidden': {
1930
+ paramsType: [Protocol.Emulation.SetScrollbarsHiddenRequest];
1931
+ returnType: void;
1932
+ };
1933
+ 'Emulation.setDocumentCookieDisabled': {
1934
+ paramsType: [Protocol.Emulation.SetDocumentCookieDisabledRequest];
1935
+ returnType: void;
1936
+ };
1937
+ 'Emulation.setEmitTouchEventsForMouse': {
1938
+ paramsType: [Protocol.Emulation.SetEmitTouchEventsForMouseRequest];
1939
+ returnType: void;
1940
+ };
1553
1941
  /**
1554
1942
  * Emulates the given media type or media feature for CSS media queries.
1555
1943
  */
1556
- 'Emulation.setEmulatedMedia': {paramsType: [Protocol.Emulation.SetEmulatedMediaRequest?]; returnType: void;};
1944
+ 'Emulation.setEmulatedMedia': {
1945
+ paramsType: [Protocol.Emulation.SetEmulatedMediaRequest?];
1946
+ returnType: void;
1947
+ };
1557
1948
  /**
1558
1949
  * Emulates the given vision deficiency.
1559
1950
  */
1560
- 'Emulation.setEmulatedVisionDeficiency':
1561
- {paramsType: [Protocol.Emulation.SetEmulatedVisionDeficiencyRequest]; returnType: void;};
1951
+ 'Emulation.setEmulatedVisionDeficiency': {
1952
+ paramsType: [Protocol.Emulation.SetEmulatedVisionDeficiencyRequest];
1953
+ returnType: void;
1954
+ };
1562
1955
  /**
1563
1956
  * Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position
1564
1957
  * unavailable.
1565
1958
  */
1566
- 'Emulation.setGeolocationOverride':
1567
- {paramsType: [Protocol.Emulation.SetGeolocationOverrideRequest?]; returnType: void;};
1959
+ 'Emulation.setGeolocationOverride': {
1960
+ paramsType: [Protocol.Emulation.SetGeolocationOverrideRequest?];
1961
+ returnType: void;
1962
+ };
1568
1963
  /**
1569
1964
  * Overrides the Idle state.
1570
1965
  */
1571
- 'Emulation.setIdleOverride': {paramsType: [Protocol.Emulation.SetIdleOverrideRequest]; returnType: void;};
1966
+ 'Emulation.setIdleOverride': {
1967
+ paramsType: [Protocol.Emulation.SetIdleOverrideRequest];
1968
+ returnType: void;
1969
+ };
1572
1970
  /**
1573
1971
  * Clears Idle state overrides.
1574
1972
  */
1575
- 'Emulation.clearIdleOverride': {paramsType: []; returnType: void;};
1973
+ 'Emulation.clearIdleOverride': {
1974
+ paramsType: [];
1975
+ returnType: void;
1976
+ };
1576
1977
  /**
1577
1978
  * Overrides value returned by the javascript navigator object.
1578
1979
  */
1579
- 'Emulation.setNavigatorOverrides':
1580
- {paramsType: [Protocol.Emulation.SetNavigatorOverridesRequest]; returnType: void;};
1980
+ 'Emulation.setNavigatorOverrides': {
1981
+ paramsType: [Protocol.Emulation.SetNavigatorOverridesRequest];
1982
+ returnType: void;
1983
+ };
1581
1984
  /**
1582
1985
  * Sets a specified page scale factor.
1583
1986
  */
1584
- 'Emulation.setPageScaleFactor': {paramsType: [Protocol.Emulation.SetPageScaleFactorRequest]; returnType: void;};
1987
+ 'Emulation.setPageScaleFactor': {
1988
+ paramsType: [Protocol.Emulation.SetPageScaleFactorRequest];
1989
+ returnType: void;
1990
+ };
1585
1991
  /**
1586
1992
  * Switches script execution in the page.
1587
1993
  */
1588
- 'Emulation.setScriptExecutionDisabled':
1589
- {paramsType: [Protocol.Emulation.SetScriptExecutionDisabledRequest]; returnType: void;};
1994
+ 'Emulation.setScriptExecutionDisabled': {
1995
+ paramsType: [Protocol.Emulation.SetScriptExecutionDisabledRequest];
1996
+ returnType: void;
1997
+ };
1590
1998
  /**
1591
1999
  * Enables touch on platforms which do not support them.
1592
2000
  */
1593
- 'Emulation.setTouchEmulationEnabled':
1594
- {paramsType: [Protocol.Emulation.SetTouchEmulationEnabledRequest]; returnType: void;};
2001
+ 'Emulation.setTouchEmulationEnabled': {
2002
+ paramsType: [Protocol.Emulation.SetTouchEmulationEnabledRequest];
2003
+ returnType: void;
2004
+ };
1595
2005
  /**
1596
2006
  * Turns on virtual time for all frames (replacing real-time with a synthetic time source) and sets
1597
2007
  * the current virtual time policy. Note this supersedes any previous time budget.
@@ -1603,30 +2013,48 @@ export namespace ProtocolMapping {
1603
2013
  /**
1604
2014
  * Overrides default host system locale with the specified one.
1605
2015
  */
1606
- 'Emulation.setLocaleOverride': {paramsType: [Protocol.Emulation.SetLocaleOverrideRequest?]; returnType: void;};
2016
+ 'Emulation.setLocaleOverride': {
2017
+ paramsType: [Protocol.Emulation.SetLocaleOverrideRequest?];
2018
+ returnType: void;
2019
+ };
1607
2020
  /**
1608
2021
  * Overrides default host system timezone with the specified one.
1609
2022
  */
1610
- 'Emulation.setTimezoneOverride': {paramsType: [Protocol.Emulation.SetTimezoneOverrideRequest]; returnType: void;};
2023
+ 'Emulation.setTimezoneOverride': {
2024
+ paramsType: [Protocol.Emulation.SetTimezoneOverrideRequest];
2025
+ returnType: void;
2026
+ };
1611
2027
  /**
1612
2028
  * Resizes the frame/viewport of the page. Note that this does not affect the frame's container
1613
2029
  * (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported
1614
2030
  * on Android.
1615
2031
  */
1616
- 'Emulation.setVisibleSize': {paramsType: [Protocol.Emulation.SetVisibleSizeRequest]; returnType: void;};
1617
- 'Emulation.setDisabledImageTypes':
1618
- {paramsType: [Protocol.Emulation.SetDisabledImageTypesRequest]; returnType: void;};
1619
- 'Emulation.setHardwareConcurrencyOverride':
1620
- {paramsType: [Protocol.Emulation.SetHardwareConcurrencyOverrideRequest]; returnType: void;};
2032
+ 'Emulation.setVisibleSize': {
2033
+ paramsType: [Protocol.Emulation.SetVisibleSizeRequest];
2034
+ returnType: void;
2035
+ };
2036
+ 'Emulation.setDisabledImageTypes': {
2037
+ paramsType: [Protocol.Emulation.SetDisabledImageTypesRequest];
2038
+ returnType: void;
2039
+ };
2040
+ 'Emulation.setHardwareConcurrencyOverride': {
2041
+ paramsType: [Protocol.Emulation.SetHardwareConcurrencyOverrideRequest];
2042
+ returnType: void;
2043
+ };
1621
2044
  /**
1622
2045
  * Allows overriding user agent with the given string.
1623
2046
  */
1624
- 'Emulation.setUserAgentOverride': {paramsType: [Protocol.Emulation.SetUserAgentOverrideRequest]; returnType: void;};
2047
+ 'Emulation.setUserAgentOverride': {
2048
+ paramsType: [Protocol.Emulation.SetUserAgentOverrideRequest];
2049
+ returnType: void;
2050
+ };
1625
2051
  /**
1626
2052
  * Allows overriding the automation flag.
1627
2053
  */
1628
- 'Emulation.setAutomationOverride':
1629
- {paramsType: [Protocol.Emulation.SetAutomationOverrideRequest]; returnType: void;};
2054
+ 'Emulation.setAutomationOverride': {
2055
+ paramsType: [Protocol.Emulation.SetAutomationOverrideRequest];
2056
+ returnType: void;
2057
+ };
1630
2058
  /**
1631
2059
  * Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a
1632
2060
  * screenshot from the resulting frame. Requires that the target was created with enabled
@@ -1640,59 +2068,93 @@ export namespace ProtocolMapping {
1640
2068
  /**
1641
2069
  * Disables headless events for the target.
1642
2070
  */
1643
- 'HeadlessExperimental.disable': {paramsType: []; returnType: void;};
2071
+ 'HeadlessExperimental.disable': {
2072
+ paramsType: [];
2073
+ returnType: void;
2074
+ };
1644
2075
  /**
1645
2076
  * Enables headless events for the target.
1646
2077
  */
1647
- 'HeadlessExperimental.enable': {paramsType: []; returnType: void;};
2078
+ 'HeadlessExperimental.enable': {
2079
+ paramsType: [];
2080
+ returnType: void;
2081
+ };
1648
2082
  /**
1649
2083
  * Close the stream, discard any temporary backing storage.
1650
2084
  */
1651
- 'IO.close': {paramsType: [Protocol.IO.CloseRequest]; returnType: void;};
2085
+ 'IO.close': {
2086
+ paramsType: [Protocol.IO.CloseRequest];
2087
+ returnType: void;
2088
+ };
1652
2089
  /**
1653
2090
  * Read a chunk of the stream
1654
2091
  */
1655
- 'IO.read': {paramsType: [Protocol.IO.ReadRequest]; returnType: Protocol.IO.ReadResponse;};
2092
+ 'IO.read': {
2093
+ paramsType: [Protocol.IO.ReadRequest];
2094
+ returnType: Protocol.IO.ReadResponse;
2095
+ };
1656
2096
  /**
1657
2097
  * Return UUID of Blob object specified by a remote object id.
1658
2098
  */
1659
- 'IO.resolveBlob': {paramsType: [Protocol.IO.ResolveBlobRequest]; returnType: Protocol.IO.ResolveBlobResponse;};
2099
+ 'IO.resolveBlob': {
2100
+ paramsType: [Protocol.IO.ResolveBlobRequest];
2101
+ returnType: Protocol.IO.ResolveBlobResponse;
2102
+ };
1660
2103
  /**
1661
2104
  * Clears all entries from an object store.
1662
2105
  */
1663
- 'IndexedDB.clearObjectStore': {paramsType: [Protocol.IndexedDB.ClearObjectStoreRequest]; returnType: void;};
2106
+ 'IndexedDB.clearObjectStore': {
2107
+ paramsType: [Protocol.IndexedDB.ClearObjectStoreRequest];
2108
+ returnType: void;
2109
+ };
1664
2110
  /**
1665
2111
  * Deletes a database.
1666
2112
  */
1667
- 'IndexedDB.deleteDatabase': {paramsType: [Protocol.IndexedDB.DeleteDatabaseRequest]; returnType: void;};
2113
+ 'IndexedDB.deleteDatabase': {
2114
+ paramsType: [Protocol.IndexedDB.DeleteDatabaseRequest];
2115
+ returnType: void;
2116
+ };
1668
2117
  /**
1669
2118
  * Delete a range of entries from an object store
1670
2119
  */
1671
- 'IndexedDB.deleteObjectStoreEntries':
1672
- {paramsType: [Protocol.IndexedDB.DeleteObjectStoreEntriesRequest]; returnType: void;};
2120
+ 'IndexedDB.deleteObjectStoreEntries': {
2121
+ paramsType: [Protocol.IndexedDB.DeleteObjectStoreEntriesRequest];
2122
+ returnType: void;
2123
+ };
1673
2124
  /**
1674
2125
  * Disables events from backend.
1675
2126
  */
1676
- 'IndexedDB.disable': {paramsType: []; returnType: void;};
2127
+ 'IndexedDB.disable': {
2128
+ paramsType: [];
2129
+ returnType: void;
2130
+ };
1677
2131
  /**
1678
2132
  * Enables events from backend.
1679
2133
  */
1680
- 'IndexedDB.enable': {paramsType: []; returnType: void;};
2134
+ 'IndexedDB.enable': {
2135
+ paramsType: [];
2136
+ returnType: void;
2137
+ };
1681
2138
  /**
1682
2139
  * Requests data from object store or index.
1683
2140
  */
1684
- 'IndexedDB.requestData':
1685
- {paramsType: [Protocol.IndexedDB.RequestDataRequest]; returnType: Protocol.IndexedDB.RequestDataResponse;};
2141
+ 'IndexedDB.requestData': {
2142
+ paramsType: [Protocol.IndexedDB.RequestDataRequest];
2143
+ returnType: Protocol.IndexedDB.RequestDataResponse;
2144
+ };
1686
2145
  /**
1687
2146
  * Gets metadata of an object store
1688
2147
  */
1689
- 'IndexedDB.getMetadata':
1690
- {paramsType: [Protocol.IndexedDB.GetMetadataRequest]; returnType: Protocol.IndexedDB.GetMetadataResponse;};
2148
+ 'IndexedDB.getMetadata': {
2149
+ paramsType: [Protocol.IndexedDB.GetMetadataRequest];
2150
+ returnType: Protocol.IndexedDB.GetMetadataResponse;
2151
+ };
1691
2152
  /**
1692
2153
  * Requests database with given name in given frame.
1693
2154
  */
1694
2155
  'IndexedDB.requestDatabase': {
1695
- paramsType: [Protocol.IndexedDB.RequestDatabaseRequest]; returnType: Protocol.IndexedDB.RequestDatabaseResponse;
2156
+ paramsType: [Protocol.IndexedDB.RequestDatabaseRequest];
2157
+ returnType: Protocol.IndexedDB.RequestDatabaseResponse;
1696
2158
  };
1697
2159
  /**
1698
2160
  * Requests database names for given security origin.
@@ -1704,64 +2166,105 @@ export namespace ProtocolMapping {
1704
2166
  /**
1705
2167
  * Dispatches a drag event into the page.
1706
2168
  */
1707
- 'Input.dispatchDragEvent': {paramsType: [Protocol.Input.DispatchDragEventRequest]; returnType: void;};
2169
+ 'Input.dispatchDragEvent': {
2170
+ paramsType: [Protocol.Input.DispatchDragEventRequest];
2171
+ returnType: void;
2172
+ };
1708
2173
  /**
1709
2174
  * Dispatches a key event to the page.
1710
2175
  */
1711
- 'Input.dispatchKeyEvent': {paramsType: [Protocol.Input.DispatchKeyEventRequest]; returnType: void;};
2176
+ 'Input.dispatchKeyEvent': {
2177
+ paramsType: [Protocol.Input.DispatchKeyEventRequest];
2178
+ returnType: void;
2179
+ };
1712
2180
  /**
1713
2181
  * This method emulates inserting text that doesn't come from a key press,
1714
2182
  * for example an emoji keyboard or an IME.
1715
2183
  */
1716
- 'Input.insertText': {paramsType: [Protocol.Input.InsertTextRequest]; returnType: void;};
2184
+ 'Input.insertText': {
2185
+ paramsType: [Protocol.Input.InsertTextRequest];
2186
+ returnType: void;
2187
+ };
1717
2188
  /**
1718
2189
  * This method sets the current candidate text for ime.
1719
2190
  * Use imeCommitComposition to commit the final text.
1720
2191
  * Use imeSetComposition with empty string as text to cancel composition.
1721
2192
  */
1722
- 'Input.imeSetComposition': {paramsType: [Protocol.Input.ImeSetCompositionRequest]; returnType: void;};
2193
+ 'Input.imeSetComposition': {
2194
+ paramsType: [Protocol.Input.ImeSetCompositionRequest];
2195
+ returnType: void;
2196
+ };
1723
2197
  /**
1724
2198
  * Dispatches a mouse event to the page.
1725
2199
  */
1726
- 'Input.dispatchMouseEvent': {paramsType: [Protocol.Input.DispatchMouseEventRequest]; returnType: void;};
2200
+ 'Input.dispatchMouseEvent': {
2201
+ paramsType: [Protocol.Input.DispatchMouseEventRequest];
2202
+ returnType: void;
2203
+ };
1727
2204
  /**
1728
2205
  * Dispatches a touch event to the page.
1729
2206
  */
1730
- 'Input.dispatchTouchEvent': {paramsType: [Protocol.Input.DispatchTouchEventRequest]; returnType: void;};
2207
+ 'Input.dispatchTouchEvent': {
2208
+ paramsType: [Protocol.Input.DispatchTouchEventRequest];
2209
+ returnType: void;
2210
+ };
1731
2211
  /**
1732
2212
  * Emulates touch event from the mouse event parameters.
1733
2213
  */
1734
- 'Input.emulateTouchFromMouseEvent':
1735
- {paramsType: [Protocol.Input.EmulateTouchFromMouseEventRequest]; returnType: void;};
2214
+ 'Input.emulateTouchFromMouseEvent': {
2215
+ paramsType: [Protocol.Input.EmulateTouchFromMouseEventRequest];
2216
+ returnType: void;
2217
+ };
1736
2218
  /**
1737
2219
  * Ignores input events (useful while auditing page).
1738
2220
  */
1739
- 'Input.setIgnoreInputEvents': {paramsType: [Protocol.Input.SetIgnoreInputEventsRequest]; returnType: void;};
2221
+ 'Input.setIgnoreInputEvents': {
2222
+ paramsType: [Protocol.Input.SetIgnoreInputEventsRequest];
2223
+ returnType: void;
2224
+ };
1740
2225
  /**
1741
2226
  * Prevents default drag and drop behavior and instead emits `Input.dragIntercepted` events.
1742
2227
  * Drag and drop behavior can be directly controlled via `Input.dispatchDragEvent`.
1743
2228
  */
1744
- 'Input.setInterceptDrags': {paramsType: [Protocol.Input.SetInterceptDragsRequest]; returnType: void;};
2229
+ 'Input.setInterceptDrags': {
2230
+ paramsType: [Protocol.Input.SetInterceptDragsRequest];
2231
+ returnType: void;
2232
+ };
1745
2233
  /**
1746
2234
  * Synthesizes a pinch gesture over a time period by issuing appropriate touch events.
1747
2235
  */
1748
- 'Input.synthesizePinchGesture': {paramsType: [Protocol.Input.SynthesizePinchGestureRequest]; returnType: void;};
2236
+ 'Input.synthesizePinchGesture': {
2237
+ paramsType: [Protocol.Input.SynthesizePinchGestureRequest];
2238
+ returnType: void;
2239
+ };
1749
2240
  /**
1750
2241
  * Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
1751
2242
  */
1752
- 'Input.synthesizeScrollGesture': {paramsType: [Protocol.Input.SynthesizeScrollGestureRequest]; returnType: void;};
2243
+ 'Input.synthesizeScrollGesture': {
2244
+ paramsType: [Protocol.Input.SynthesizeScrollGestureRequest];
2245
+ returnType: void;
2246
+ };
1753
2247
  /**
1754
2248
  * Synthesizes a tap gesture over a time period by issuing appropriate touch events.
1755
2249
  */
1756
- 'Input.synthesizeTapGesture': {paramsType: [Protocol.Input.SynthesizeTapGestureRequest]; returnType: void;};
2250
+ 'Input.synthesizeTapGesture': {
2251
+ paramsType: [Protocol.Input.SynthesizeTapGestureRequest];
2252
+ returnType: void;
2253
+ };
1757
2254
  /**
1758
2255
  * Disables inspector domain notifications.
1759
2256
  */
1760
- 'Inspector.disable': {paramsType: []; returnType: void;};
2257
+ 'Inspector.disable': {
2258
+ paramsType: [];
2259
+ returnType: void;
2260
+ };
1761
2261
  /**
1762
2262
  * Enables inspector domain notifications.
1763
2263
  */
1764
- 'Inspector.enable': {paramsType: []; returnType: void;};
2264
+ 'Inspector.enable': {
2265
+ paramsType: [];
2266
+ returnType: void;
2267
+ };
1765
2268
  /**
1766
2269
  * Provides the reasons why the given layer was composited.
1767
2270
  */
@@ -1772,33 +2275,48 @@ export namespace ProtocolMapping {
1772
2275
  /**
1773
2276
  * Disables compositing tree inspection.
1774
2277
  */
1775
- 'LayerTree.disable': {paramsType: []; returnType: void;};
2278
+ 'LayerTree.disable': {
2279
+ paramsType: [];
2280
+ returnType: void;
2281
+ };
1776
2282
  /**
1777
2283
  * Enables compositing tree inspection.
1778
2284
  */
1779
- 'LayerTree.enable': {paramsType: []; returnType: void;};
2285
+ 'LayerTree.enable': {
2286
+ paramsType: [];
2287
+ returnType: void;
2288
+ };
1780
2289
  /**
1781
2290
  * Returns the snapshot identifier.
1782
2291
  */
1783
- 'LayerTree.loadSnapshot':
1784
- {paramsType: [Protocol.LayerTree.LoadSnapshotRequest]; returnType: Protocol.LayerTree.LoadSnapshotResponse;};
2292
+ 'LayerTree.loadSnapshot': {
2293
+ paramsType: [Protocol.LayerTree.LoadSnapshotRequest];
2294
+ returnType: Protocol.LayerTree.LoadSnapshotResponse;
2295
+ };
1785
2296
  /**
1786
2297
  * Returns the layer snapshot identifier.
1787
2298
  */
1788
- 'LayerTree.makeSnapshot':
1789
- {paramsType: [Protocol.LayerTree.MakeSnapshotRequest]; returnType: Protocol.LayerTree.MakeSnapshotResponse;};
2299
+ 'LayerTree.makeSnapshot': {
2300
+ paramsType: [Protocol.LayerTree.MakeSnapshotRequest];
2301
+ returnType: Protocol.LayerTree.MakeSnapshotResponse;
2302
+ };
1790
2303
  'LayerTree.profileSnapshot': {
1791
- paramsType: [Protocol.LayerTree.ProfileSnapshotRequest]; returnType: Protocol.LayerTree.ProfileSnapshotResponse;
2304
+ paramsType: [Protocol.LayerTree.ProfileSnapshotRequest];
2305
+ returnType: Protocol.LayerTree.ProfileSnapshotResponse;
1792
2306
  };
1793
2307
  /**
1794
2308
  * Releases layer snapshot captured by the back-end.
1795
2309
  */
1796
- 'LayerTree.releaseSnapshot': {paramsType: [Protocol.LayerTree.ReleaseSnapshotRequest]; returnType: void;};
2310
+ 'LayerTree.releaseSnapshot': {
2311
+ paramsType: [Protocol.LayerTree.ReleaseSnapshotRequest];
2312
+ returnType: void;
2313
+ };
1797
2314
  /**
1798
2315
  * Replays the layer snapshot and returns the resulting bitmap.
1799
2316
  */
1800
2317
  'LayerTree.replaySnapshot': {
1801
- paramsType: [Protocol.LayerTree.ReplaySnapshotRequest]; returnType: Protocol.LayerTree.ReplaySnapshotResponse;
2318
+ paramsType: [Protocol.LayerTree.ReplaySnapshotRequest];
2319
+ returnType: Protocol.LayerTree.ReplaySnapshotResponse;
1802
2320
  };
1803
2321
  /**
1804
2322
  * Replays the layer snapshot and returns canvas log.
@@ -1810,94 +2328,155 @@ export namespace ProtocolMapping {
1810
2328
  /**
1811
2329
  * Clears the log.
1812
2330
  */
1813
- 'Log.clear': {paramsType: []; returnType: void;};
2331
+ 'Log.clear': {
2332
+ paramsType: [];
2333
+ returnType: void;
2334
+ };
1814
2335
  /**
1815
2336
  * Disables log domain, prevents further log entries from being reported to the client.
1816
2337
  */
1817
- 'Log.disable': {paramsType: []; returnType: void;};
2338
+ 'Log.disable': {
2339
+ paramsType: [];
2340
+ returnType: void;
2341
+ };
1818
2342
  /**
1819
2343
  * Enables log domain, sends the entries collected so far to the client by means of the
1820
2344
  * `entryAdded` notification.
1821
2345
  */
1822
- 'Log.enable': {paramsType: []; returnType: void;};
2346
+ 'Log.enable': {
2347
+ paramsType: [];
2348
+ returnType: void;
2349
+ };
1823
2350
  /**
1824
2351
  * start violation reporting.
1825
2352
  */
1826
- 'Log.startViolationsReport': {paramsType: [Protocol.Log.StartViolationsReportRequest]; returnType: void;};
2353
+ 'Log.startViolationsReport': {
2354
+ paramsType: [Protocol.Log.StartViolationsReportRequest];
2355
+ returnType: void;
2356
+ };
1827
2357
  /**
1828
2358
  * Stop violation reporting.
1829
2359
  */
1830
- 'Log.stopViolationsReport': {paramsType: []; returnType: void;};
1831
- 'Memory.getDOMCounters': {paramsType: []; returnType: Protocol.Memory.GetDOMCountersResponse;};
1832
- 'Memory.prepareForLeakDetection': {paramsType: []; returnType: void;};
2360
+ 'Log.stopViolationsReport': {
2361
+ paramsType: [];
2362
+ returnType: void;
2363
+ };
2364
+ 'Memory.getDOMCounters': {
2365
+ paramsType: [];
2366
+ returnType: Protocol.Memory.GetDOMCountersResponse;
2367
+ };
2368
+ 'Memory.prepareForLeakDetection': {
2369
+ paramsType: [];
2370
+ returnType: void;
2371
+ };
1833
2372
  /**
1834
2373
  * Simulate OomIntervention by purging V8 memory.
1835
2374
  */
1836
- 'Memory.forciblyPurgeJavaScriptMemory': {paramsType: []; returnType: void;};
2375
+ 'Memory.forciblyPurgeJavaScriptMemory': {
2376
+ paramsType: [];
2377
+ returnType: void;
2378
+ };
1837
2379
  /**
1838
2380
  * Enable/disable suppressing memory pressure notifications in all processes.
1839
2381
  */
1840
- 'Memory.setPressureNotificationsSuppressed':
1841
- {paramsType: [Protocol.Memory.SetPressureNotificationsSuppressedRequest]; returnType: void;};
2382
+ 'Memory.setPressureNotificationsSuppressed': {
2383
+ paramsType: [Protocol.Memory.SetPressureNotificationsSuppressedRequest];
2384
+ returnType: void;
2385
+ };
1842
2386
  /**
1843
2387
  * Simulate a memory pressure notification in all processes.
1844
2388
  */
1845
- 'Memory.simulatePressureNotification':
1846
- {paramsType: [Protocol.Memory.SimulatePressureNotificationRequest]; returnType: void;};
2389
+ 'Memory.simulatePressureNotification': {
2390
+ paramsType: [Protocol.Memory.SimulatePressureNotificationRequest];
2391
+ returnType: void;
2392
+ };
1847
2393
  /**
1848
2394
  * Start collecting native memory profile.
1849
2395
  */
1850
- 'Memory.startSampling': {paramsType: [Protocol.Memory.StartSamplingRequest?]; returnType: void;};
2396
+ 'Memory.startSampling': {
2397
+ paramsType: [Protocol.Memory.StartSamplingRequest?];
2398
+ returnType: void;
2399
+ };
1851
2400
  /**
1852
2401
  * Stop collecting native memory profile.
1853
2402
  */
1854
- 'Memory.stopSampling': {paramsType: []; returnType: void;};
2403
+ 'Memory.stopSampling': {
2404
+ paramsType: [];
2405
+ returnType: void;
2406
+ };
1855
2407
  /**
1856
2408
  * Retrieve native memory allocations profile
1857
2409
  * collected since renderer process startup.
1858
2410
  */
1859
- 'Memory.getAllTimeSamplingProfile':
1860
- {paramsType: []; returnType: Protocol.Memory.GetAllTimeSamplingProfileResponse;};
2411
+ 'Memory.getAllTimeSamplingProfile': {
2412
+ paramsType: [];
2413
+ returnType: Protocol.Memory.GetAllTimeSamplingProfileResponse;
2414
+ };
1861
2415
  /**
1862
2416
  * Retrieve native memory allocations profile
1863
2417
  * collected since browser process startup.
1864
2418
  */
1865
- 'Memory.getBrowserSamplingProfile':
1866
- {paramsType: []; returnType: Protocol.Memory.GetBrowserSamplingProfileResponse;};
2419
+ 'Memory.getBrowserSamplingProfile': {
2420
+ paramsType: [];
2421
+ returnType: Protocol.Memory.GetBrowserSamplingProfileResponse;
2422
+ };
1867
2423
  /**
1868
2424
  * Retrieve native memory allocations profile collected since last
1869
2425
  * `startSampling` call.
1870
2426
  */
1871
- 'Memory.getSamplingProfile': {paramsType: []; returnType: Protocol.Memory.GetSamplingProfileResponse;};
2427
+ 'Memory.getSamplingProfile': {
2428
+ paramsType: [];
2429
+ returnType: Protocol.Memory.GetSamplingProfileResponse;
2430
+ };
1872
2431
  /**
1873
2432
  * Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
1874
2433
  */
1875
- 'Network.setAcceptedEncodings': {paramsType: [Protocol.Network.SetAcceptedEncodingsRequest]; returnType: void;};
2434
+ 'Network.setAcceptedEncodings': {
2435
+ paramsType: [Protocol.Network.SetAcceptedEncodingsRequest];
2436
+ returnType: void;
2437
+ };
1876
2438
  /**
1877
2439
  * Clears accepted encodings set by setAcceptedEncodings
1878
2440
  */
1879
- 'Network.clearAcceptedEncodingsOverride': {paramsType: []; returnType: void;};
2441
+ 'Network.clearAcceptedEncodingsOverride': {
2442
+ paramsType: [];
2443
+ returnType: void;
2444
+ };
1880
2445
  /**
1881
2446
  * Tells whether clearing browser cache is supported.
1882
2447
  */
1883
- 'Network.canClearBrowserCache': {paramsType: []; returnType: Protocol.Network.CanClearBrowserCacheResponse;};
2448
+ 'Network.canClearBrowserCache': {
2449
+ paramsType: [];
2450
+ returnType: Protocol.Network.CanClearBrowserCacheResponse;
2451
+ };
1884
2452
  /**
1885
2453
  * Tells whether clearing browser cookies is supported.
1886
2454
  */
1887
- 'Network.canClearBrowserCookies': {paramsType: []; returnType: Protocol.Network.CanClearBrowserCookiesResponse;};
2455
+ 'Network.canClearBrowserCookies': {
2456
+ paramsType: [];
2457
+ returnType: Protocol.Network.CanClearBrowserCookiesResponse;
2458
+ };
1888
2459
  /**
1889
2460
  * Tells whether emulation of network conditions is supported.
1890
2461
  */
1891
- 'Network.canEmulateNetworkConditions':
1892
- {paramsType: []; returnType: Protocol.Network.CanEmulateNetworkConditionsResponse;};
2462
+ 'Network.canEmulateNetworkConditions': {
2463
+ paramsType: [];
2464
+ returnType: Protocol.Network.CanEmulateNetworkConditionsResponse;
2465
+ };
1893
2466
  /**
1894
2467
  * Clears browser cache.
1895
2468
  */
1896
- 'Network.clearBrowserCache': {paramsType: []; returnType: void;};
2469
+ 'Network.clearBrowserCache': {
2470
+ paramsType: [];
2471
+ returnType: void;
2472
+ };
1897
2473
  /**
1898
2474
  * Clears browser cookies.
1899
2475
  */
1900
- 'Network.clearBrowserCookies': {paramsType: []; returnType: void;};
2476
+ 'Network.clearBrowserCookies': {
2477
+ paramsType: [];
2478
+ returnType: void;
2479
+ };
1901
2480
  /**
1902
2481
  * Response to Network.requestIntercepted which either modifies the request to continue with any
1903
2482
  * modifications, or blocks it, or completes it with the provided response bytes. If a network
@@ -1905,51 +2484,74 @@ export namespace ProtocolMapping {
1905
2484
  * event will be sent with the same InterceptionId.
1906
2485
  * Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.
1907
2486
  */
1908
- 'Network.continueInterceptedRequest':
1909
- {paramsType: [Protocol.Network.ContinueInterceptedRequestRequest]; returnType: void;};
2487
+ 'Network.continueInterceptedRequest': {
2488
+ paramsType: [Protocol.Network.ContinueInterceptedRequestRequest];
2489
+ returnType: void;
2490
+ };
1910
2491
  /**
1911
2492
  * Deletes browser cookies with matching name and url or domain/path pair.
1912
2493
  */
1913
- 'Network.deleteCookies': {paramsType: [Protocol.Network.DeleteCookiesRequest]; returnType: void;};
2494
+ 'Network.deleteCookies': {
2495
+ paramsType: [Protocol.Network.DeleteCookiesRequest];
2496
+ returnType: void;
2497
+ };
1914
2498
  /**
1915
2499
  * Disables network tracking, prevents network events from being sent to the client.
1916
2500
  */
1917
- 'Network.disable': {paramsType: []; returnType: void;};
2501
+ 'Network.disable': {
2502
+ paramsType: [];
2503
+ returnType: void;
2504
+ };
1918
2505
  /**
1919
2506
  * Activates emulation of network conditions.
1920
2507
  */
1921
- 'Network.emulateNetworkConditions':
1922
- {paramsType: [Protocol.Network.EmulateNetworkConditionsRequest]; returnType: void;};
2508
+ 'Network.emulateNetworkConditions': {
2509
+ paramsType: [Protocol.Network.EmulateNetworkConditionsRequest];
2510
+ returnType: void;
2511
+ };
1923
2512
  /**
1924
2513
  * Enables network tracking, network events will now be delivered to the client.
1925
2514
  */
1926
- 'Network.enable': {paramsType: [Protocol.Network.EnableRequest?]; returnType: void;};
2515
+ 'Network.enable': {
2516
+ paramsType: [Protocol.Network.EnableRequest?];
2517
+ returnType: void;
2518
+ };
1927
2519
  /**
1928
2520
  * Returns all browser cookies. Depending on the backend support, will return detailed cookie
1929
2521
  * information in the `cookies` field.
1930
2522
  */
1931
- 'Network.getAllCookies': {paramsType: []; returnType: Protocol.Network.GetAllCookiesResponse;};
2523
+ 'Network.getAllCookies': {
2524
+ paramsType: [];
2525
+ returnType: Protocol.Network.GetAllCookiesResponse;
2526
+ };
1932
2527
  /**
1933
2528
  * Returns the DER-encoded certificate.
1934
2529
  */
1935
- 'Network.getCertificate':
1936
- {paramsType: [Protocol.Network.GetCertificateRequest]; returnType: Protocol.Network.GetCertificateResponse;};
2530
+ 'Network.getCertificate': {
2531
+ paramsType: [Protocol.Network.GetCertificateRequest];
2532
+ returnType: Protocol.Network.GetCertificateResponse;
2533
+ };
1937
2534
  /**
1938
2535
  * Returns all browser cookies for the current URL. Depending on the backend support, will return
1939
2536
  * detailed cookie information in the `cookies` field.
1940
2537
  */
1941
- 'Network.getCookies':
1942
- {paramsType: [Protocol.Network.GetCookiesRequest?]; returnType: Protocol.Network.GetCookiesResponse;};
2538
+ 'Network.getCookies': {
2539
+ paramsType: [Protocol.Network.GetCookiesRequest?];
2540
+ returnType: Protocol.Network.GetCookiesResponse;
2541
+ };
1943
2542
  /**
1944
2543
  * Returns content served for the given request.
1945
2544
  */
1946
- 'Network.getResponseBody':
1947
- {paramsType: [Protocol.Network.GetResponseBodyRequest]; returnType: Protocol.Network.GetResponseBodyResponse;};
2545
+ 'Network.getResponseBody': {
2546
+ paramsType: [Protocol.Network.GetResponseBodyRequest];
2547
+ returnType: Protocol.Network.GetResponseBodyResponse;
2548
+ };
1948
2549
  /**
1949
2550
  * Returns post data sent with the request. Returns an error when no data was sent with the request.
1950
2551
  */
1951
2552
  'Network.getRequestPostData': {
1952
- paramsType: [Protocol.Network.GetRequestPostDataRequest]; returnType: Protocol.Network.GetRequestPostDataResponse;
2553
+ paramsType: [Protocol.Network.GetRequestPostDataRequest];
2554
+ returnType: Protocol.Network.GetRequestPostDataResponse;
1953
2555
  };
1954
2556
  /**
1955
2557
  * Returns content served for the given currently intercepted request.
@@ -1973,7 +2575,10 @@ export namespace ProtocolMapping {
1973
2575
  * parameters should be identical: method, url, async, request body, extra headers, withCredentials
1974
2576
  * attribute, user, password.
1975
2577
  */
1976
- 'Network.replayXHR': {paramsType: [Protocol.Network.ReplayXHRRequest]; returnType: void;};
2578
+ 'Network.replayXHR': {
2579
+ paramsType: [Protocol.Network.ReplayXHRRequest];
2580
+ returnType: void;
2581
+ };
1977
2582
  /**
1978
2583
  * Searches for given string in response content.
1979
2584
  */
@@ -1984,41 +2589,67 @@ export namespace ProtocolMapping {
1984
2589
  /**
1985
2590
  * Blocks URLs from loading.
1986
2591
  */
1987
- 'Network.setBlockedURLs': {paramsType: [Protocol.Network.SetBlockedURLsRequest]; returnType: void;};
2592
+ 'Network.setBlockedURLs': {
2593
+ paramsType: [Protocol.Network.SetBlockedURLsRequest];
2594
+ returnType: void;
2595
+ };
1988
2596
  /**
1989
2597
  * Toggles ignoring of service worker for each request.
1990
2598
  */
1991
- 'Network.setBypassServiceWorker': {paramsType: [Protocol.Network.SetBypassServiceWorkerRequest]; returnType: void;};
2599
+ 'Network.setBypassServiceWorker': {
2600
+ paramsType: [Protocol.Network.SetBypassServiceWorkerRequest];
2601
+ returnType: void;
2602
+ };
1992
2603
  /**
1993
2604
  * Toggles ignoring cache for each request. If `true`, cache will not be used.
1994
2605
  */
1995
- 'Network.setCacheDisabled': {paramsType: [Protocol.Network.SetCacheDisabledRequest]; returnType: void;};
2606
+ 'Network.setCacheDisabled': {
2607
+ paramsType: [Protocol.Network.SetCacheDisabledRequest];
2608
+ returnType: void;
2609
+ };
1996
2610
  /**
1997
2611
  * Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
1998
2612
  */
1999
- 'Network.setCookie':
2000
- {paramsType: [Protocol.Network.SetCookieRequest]; returnType: Protocol.Network.SetCookieResponse;};
2613
+ 'Network.setCookie': {
2614
+ paramsType: [Protocol.Network.SetCookieRequest];
2615
+ returnType: Protocol.Network.SetCookieResponse;
2616
+ };
2001
2617
  /**
2002
2618
  * Sets given cookies.
2003
2619
  */
2004
- 'Network.setCookies': {paramsType: [Protocol.Network.SetCookiesRequest]; returnType: void;};
2620
+ 'Network.setCookies': {
2621
+ paramsType: [Protocol.Network.SetCookiesRequest];
2622
+ returnType: void;
2623
+ };
2005
2624
  /**
2006
2625
  * Specifies whether to always send extra HTTP headers with the requests from this page.
2007
2626
  */
2008
- 'Network.setExtraHTTPHeaders': {paramsType: [Protocol.Network.SetExtraHTTPHeadersRequest]; returnType: void;};
2627
+ 'Network.setExtraHTTPHeaders': {
2628
+ paramsType: [Protocol.Network.SetExtraHTTPHeadersRequest];
2629
+ returnType: void;
2630
+ };
2009
2631
  /**
2010
2632
  * Specifies whether to attach a page script stack id in requests
2011
2633
  */
2012
- 'Network.setAttachDebugStack': {paramsType: [Protocol.Network.SetAttachDebugStackRequest]; returnType: void;};
2634
+ 'Network.setAttachDebugStack': {
2635
+ paramsType: [Protocol.Network.SetAttachDebugStackRequest];
2636
+ returnType: void;
2637
+ };
2013
2638
  /**
2014
2639
  * Sets the requests to intercept that match the provided patterns and optionally resource types.
2015
2640
  * Deprecated, please use Fetch.enable instead.
2016
2641
  */
2017
- 'Network.setRequestInterception': {paramsType: [Protocol.Network.SetRequestInterceptionRequest]; returnType: void;};
2642
+ 'Network.setRequestInterception': {
2643
+ paramsType: [Protocol.Network.SetRequestInterceptionRequest];
2644
+ returnType: void;
2645
+ };
2018
2646
  /**
2019
2647
  * Allows overriding user agent with the given string.
2020
2648
  */
2021
- 'Network.setUserAgentOverride': {paramsType: [Protocol.Network.SetUserAgentOverrideRequest]; returnType: void;};
2649
+ 'Network.setUserAgentOverride': {
2650
+ paramsType: [Protocol.Network.SetUserAgentOverrideRequest];
2651
+ returnType: void;
2652
+ };
2022
2653
  /**
2023
2654
  * Returns information about the COEP/COOP isolation status.
2024
2655
  */
@@ -2030,7 +2661,10 @@ export namespace ProtocolMapping {
2030
2661
  * Enables tracking for the Reporting API, events generated by the Reporting API will now be delivered to the client.
2031
2662
  * Enabling triggers 'reportingApiReportAdded' for all existing reports.
2032
2663
  */
2033
- 'Network.enableReportingApi': {paramsType: [Protocol.Network.EnableReportingApiRequest]; returnType: void;};
2664
+ 'Network.enableReportingApi': {
2665
+ paramsType: [Protocol.Network.EnableReportingApiRequest];
2666
+ returnType: void;
2667
+ };
2034
2668
  /**
2035
2669
  * Fetches the resource and returns the content.
2036
2670
  */
@@ -2041,11 +2675,17 @@ export namespace ProtocolMapping {
2041
2675
  /**
2042
2676
  * Disables domain notifications.
2043
2677
  */
2044
- 'Overlay.disable': {paramsType: []; returnType: void;};
2678
+ 'Overlay.disable': {
2679
+ paramsType: [];
2680
+ returnType: void;
2681
+ };
2045
2682
  /**
2046
2683
  * Enables domain notifications.
2047
2684
  */
2048
- 'Overlay.enable': {paramsType: []; returnType: void;};
2685
+ 'Overlay.enable': {
2686
+ paramsType: [];
2687
+ returnType: void;
2688
+ };
2049
2689
  /**
2050
2690
  * For testing.
2051
2691
  */
@@ -2070,96 +2710,158 @@ export namespace ProtocolMapping {
2070
2710
  /**
2071
2711
  * Hides any highlight.
2072
2712
  */
2073
- 'Overlay.hideHighlight': {paramsType: []; returnType: void;};
2713
+ 'Overlay.hideHighlight': {
2714
+ paramsType: [];
2715
+ returnType: void;
2716
+ };
2074
2717
  /**
2075
2718
  * Highlights owner element of the frame with given id.
2076
2719
  * Deprecated: Doesn't work reliablity and cannot be fixed due to process
2077
2720
  * separatation (the owner node might be in a different process). Determine
2078
2721
  * the owner node in the client and use highlightNode.
2079
2722
  */
2080
- 'Overlay.highlightFrame': {paramsType: [Protocol.Overlay.HighlightFrameRequest]; returnType: void;};
2723
+ 'Overlay.highlightFrame': {
2724
+ paramsType: [Protocol.Overlay.HighlightFrameRequest];
2725
+ returnType: void;
2726
+ };
2081
2727
  /**
2082
2728
  * Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or
2083
2729
  * objectId must be specified.
2084
2730
  */
2085
- 'Overlay.highlightNode': {paramsType: [Protocol.Overlay.HighlightNodeRequest]; returnType: void;};
2731
+ 'Overlay.highlightNode': {
2732
+ paramsType: [Protocol.Overlay.HighlightNodeRequest];
2733
+ returnType: void;
2734
+ };
2086
2735
  /**
2087
2736
  * Highlights given quad. Coordinates are absolute with respect to the main frame viewport.
2088
2737
  */
2089
- 'Overlay.highlightQuad': {paramsType: [Protocol.Overlay.HighlightQuadRequest]; returnType: void;};
2738
+ 'Overlay.highlightQuad': {
2739
+ paramsType: [Protocol.Overlay.HighlightQuadRequest];
2740
+ returnType: void;
2741
+ };
2090
2742
  /**
2091
2743
  * Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
2092
2744
  */
2093
- 'Overlay.highlightRect': {paramsType: [Protocol.Overlay.HighlightRectRequest]; returnType: void;};
2745
+ 'Overlay.highlightRect': {
2746
+ paramsType: [Protocol.Overlay.HighlightRectRequest];
2747
+ returnType: void;
2748
+ };
2094
2749
  /**
2095
2750
  * Highlights the source order of the children of the DOM node with given id or with the given
2096
2751
  * JavaScript object wrapper. Either nodeId or objectId must be specified.
2097
2752
  */
2098
- 'Overlay.highlightSourceOrder': {paramsType: [Protocol.Overlay.HighlightSourceOrderRequest]; returnType: void;};
2753
+ 'Overlay.highlightSourceOrder': {
2754
+ paramsType: [Protocol.Overlay.HighlightSourceOrderRequest];
2755
+ returnType: void;
2756
+ };
2099
2757
  /**
2100
2758
  * Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted.
2101
2759
  * Backend then generates 'inspectNodeRequested' event upon element selection.
2102
2760
  */
2103
- 'Overlay.setInspectMode': {paramsType: [Protocol.Overlay.SetInspectModeRequest]; returnType: void;};
2761
+ 'Overlay.setInspectMode': {
2762
+ paramsType: [Protocol.Overlay.SetInspectModeRequest];
2763
+ returnType: void;
2764
+ };
2104
2765
  /**
2105
2766
  * Highlights owner element of all frames detected to be ads.
2106
2767
  */
2107
- 'Overlay.setShowAdHighlights': {paramsType: [Protocol.Overlay.SetShowAdHighlightsRequest]; returnType: void;};
2108
- 'Overlay.setPausedInDebuggerMessage':
2109
- {paramsType: [Protocol.Overlay.SetPausedInDebuggerMessageRequest?]; returnType: void;};
2768
+ 'Overlay.setShowAdHighlights': {
2769
+ paramsType: [Protocol.Overlay.SetShowAdHighlightsRequest];
2770
+ returnType: void;
2771
+ };
2772
+ 'Overlay.setPausedInDebuggerMessage': {
2773
+ paramsType: [Protocol.Overlay.SetPausedInDebuggerMessageRequest?];
2774
+ returnType: void;
2775
+ };
2110
2776
  /**
2111
2777
  * Requests that backend shows debug borders on layers
2112
2778
  */
2113
- 'Overlay.setShowDebugBorders': {paramsType: [Protocol.Overlay.SetShowDebugBordersRequest]; returnType: void;};
2779
+ 'Overlay.setShowDebugBorders': {
2780
+ paramsType: [Protocol.Overlay.SetShowDebugBordersRequest];
2781
+ returnType: void;
2782
+ };
2114
2783
  /**
2115
2784
  * Requests that backend shows the FPS counter
2116
2785
  */
2117
- 'Overlay.setShowFPSCounter': {paramsType: [Protocol.Overlay.SetShowFPSCounterRequest]; returnType: void;};
2786
+ 'Overlay.setShowFPSCounter': {
2787
+ paramsType: [Protocol.Overlay.SetShowFPSCounterRequest];
2788
+ returnType: void;
2789
+ };
2118
2790
  /**
2119
2791
  * Highlight multiple elements with the CSS Grid overlay.
2120
2792
  */
2121
- 'Overlay.setShowGridOverlays': {paramsType: [Protocol.Overlay.SetShowGridOverlaysRequest]; returnType: void;};
2122
- 'Overlay.setShowFlexOverlays': {paramsType: [Protocol.Overlay.SetShowFlexOverlaysRequest]; returnType: void;};
2123
- 'Overlay.setShowScrollSnapOverlays':
2124
- {paramsType: [Protocol.Overlay.SetShowScrollSnapOverlaysRequest]; returnType: void;};
2125
- 'Overlay.setShowContainerQueryOverlays':
2126
- {paramsType: [Protocol.Overlay.SetShowContainerQueryOverlaysRequest]; returnType: void;};
2793
+ 'Overlay.setShowGridOverlays': {
2794
+ paramsType: [Protocol.Overlay.SetShowGridOverlaysRequest];
2795
+ returnType: void;
2796
+ };
2797
+ 'Overlay.setShowFlexOverlays': {
2798
+ paramsType: [Protocol.Overlay.SetShowFlexOverlaysRequest];
2799
+ returnType: void;
2800
+ };
2801
+ 'Overlay.setShowScrollSnapOverlays': {
2802
+ paramsType: [Protocol.Overlay.SetShowScrollSnapOverlaysRequest];
2803
+ returnType: void;
2804
+ };
2805
+ 'Overlay.setShowContainerQueryOverlays': {
2806
+ paramsType: [Protocol.Overlay.SetShowContainerQueryOverlaysRequest];
2807
+ returnType: void;
2808
+ };
2127
2809
  /**
2128
2810
  * Requests that backend shows paint rectangles
2129
2811
  */
2130
- 'Overlay.setShowPaintRects': {paramsType: [Protocol.Overlay.SetShowPaintRectsRequest]; returnType: void;};
2812
+ 'Overlay.setShowPaintRects': {
2813
+ paramsType: [Protocol.Overlay.SetShowPaintRectsRequest];
2814
+ returnType: void;
2815
+ };
2131
2816
  /**
2132
2817
  * Requests that backend shows layout shift regions
2133
2818
  */
2134
- 'Overlay.setShowLayoutShiftRegions':
2135
- {paramsType: [Protocol.Overlay.SetShowLayoutShiftRegionsRequest]; returnType: void;};
2819
+ 'Overlay.setShowLayoutShiftRegions': {
2820
+ paramsType: [Protocol.Overlay.SetShowLayoutShiftRegionsRequest];
2821
+ returnType: void;
2822
+ };
2136
2823
  /**
2137
2824
  * Requests that backend shows scroll bottleneck rects
2138
2825
  */
2139
- 'Overlay.setShowScrollBottleneckRects':
2140
- {paramsType: [Protocol.Overlay.SetShowScrollBottleneckRectsRequest]; returnType: void;};
2826
+ 'Overlay.setShowScrollBottleneckRects': {
2827
+ paramsType: [Protocol.Overlay.SetShowScrollBottleneckRectsRequest];
2828
+ returnType: void;
2829
+ };
2141
2830
  /**
2142
2831
  * Deprecated, no longer has any effect.
2143
2832
  */
2144
- 'Overlay.setShowHitTestBorders': {paramsType: [Protocol.Overlay.SetShowHitTestBordersRequest]; returnType: void;};
2833
+ 'Overlay.setShowHitTestBorders': {
2834
+ paramsType: [Protocol.Overlay.SetShowHitTestBordersRequest];
2835
+ returnType: void;
2836
+ };
2145
2837
  /**
2146
2838
  * Request that backend shows an overlay with web vital metrics.
2147
2839
  */
2148
- 'Overlay.setShowWebVitals': {paramsType: [Protocol.Overlay.SetShowWebVitalsRequest]; returnType: void;};
2840
+ 'Overlay.setShowWebVitals': {
2841
+ paramsType: [Protocol.Overlay.SetShowWebVitalsRequest];
2842
+ returnType: void;
2843
+ };
2149
2844
  /**
2150
2845
  * Paints viewport size upon main frame resize.
2151
2846
  */
2152
- 'Overlay.setShowViewportSizeOnResize':
2153
- {paramsType: [Protocol.Overlay.SetShowViewportSizeOnResizeRequest]; returnType: void;};
2847
+ 'Overlay.setShowViewportSizeOnResize': {
2848
+ paramsType: [Protocol.Overlay.SetShowViewportSizeOnResizeRequest];
2849
+ returnType: void;
2850
+ };
2154
2851
  /**
2155
2852
  * Add a dual screen device hinge
2156
2853
  */
2157
- 'Overlay.setShowHinge': {paramsType: [Protocol.Overlay.SetShowHingeRequest?]; returnType: void;};
2854
+ 'Overlay.setShowHinge': {
2855
+ paramsType: [Protocol.Overlay.SetShowHingeRequest?];
2856
+ returnType: void;
2857
+ };
2158
2858
  /**
2159
2859
  * Show elements in isolation mode with overlays.
2160
2860
  */
2161
- 'Overlay.setShowIsolatedElements':
2162
- {paramsType: [Protocol.Overlay.SetShowIsolatedElementsRequest]; returnType: void;};
2861
+ 'Overlay.setShowIsolatedElements': {
2862
+ paramsType: [Protocol.Overlay.SetShowIsolatedElementsRequest];
2863
+ returnType: void;
2864
+ };
2163
2865
  /**
2164
2866
  * Deprecated, please use addScriptToEvaluateOnNewDocument instead.
2165
2867
  */
@@ -2177,133 +2879,221 @@ export namespace ProtocolMapping {
2177
2879
  /**
2178
2880
  * Brings page to front (activates tab).
2179
2881
  */
2180
- 'Page.bringToFront': {paramsType: []; returnType: void;};
2882
+ 'Page.bringToFront': {
2883
+ paramsType: [];
2884
+ returnType: void;
2885
+ };
2181
2886
  /**
2182
2887
  * Capture page screenshot.
2183
2888
  */
2184
- 'Page.captureScreenshot':
2185
- {paramsType: [Protocol.Page.CaptureScreenshotRequest?]; returnType: Protocol.Page.CaptureScreenshotResponse;};
2889
+ 'Page.captureScreenshot': {
2890
+ paramsType: [Protocol.Page.CaptureScreenshotRequest?];
2891
+ returnType: Protocol.Page.CaptureScreenshotResponse;
2892
+ };
2186
2893
  /**
2187
2894
  * Returns a snapshot of the page as a string. For MHTML format, the serialization includes
2188
2895
  * iframes, shadow DOM, external resources, and element-inline styles.
2189
2896
  */
2190
- 'Page.captureSnapshot':
2191
- {paramsType: [Protocol.Page.CaptureSnapshotRequest?]; returnType: Protocol.Page.CaptureSnapshotResponse;};
2897
+ 'Page.captureSnapshot': {
2898
+ paramsType: [Protocol.Page.CaptureSnapshotRequest?];
2899
+ returnType: Protocol.Page.CaptureSnapshotResponse;
2900
+ };
2192
2901
  /**
2193
2902
  * Clears the overridden device metrics.
2194
2903
  */
2195
- 'Page.clearDeviceMetricsOverride': {paramsType: []; returnType: void;};
2904
+ 'Page.clearDeviceMetricsOverride': {
2905
+ paramsType: [];
2906
+ returnType: void;
2907
+ };
2196
2908
  /**
2197
2909
  * Clears the overridden Device Orientation.
2198
2910
  */
2199
- 'Page.clearDeviceOrientationOverride': {paramsType: []; returnType: void;};
2911
+ 'Page.clearDeviceOrientationOverride': {
2912
+ paramsType: [];
2913
+ returnType: void;
2914
+ };
2200
2915
  /**
2201
2916
  * Clears the overridden Geolocation Position and Error.
2202
2917
  */
2203
- 'Page.clearGeolocationOverride': {paramsType: []; returnType: void;};
2918
+ 'Page.clearGeolocationOverride': {
2919
+ paramsType: [];
2920
+ returnType: void;
2921
+ };
2204
2922
  /**
2205
2923
  * Creates an isolated world for the given frame.
2206
2924
  */
2207
2925
  'Page.createIsolatedWorld': {
2208
- paramsType: [Protocol.Page.CreateIsolatedWorldRequest]; returnType: Protocol.Page.CreateIsolatedWorldResponse;
2926
+ paramsType: [Protocol.Page.CreateIsolatedWorldRequest];
2927
+ returnType: Protocol.Page.CreateIsolatedWorldResponse;
2209
2928
  };
2210
2929
  /**
2211
2930
  * Deletes browser cookie with given name, domain and path.
2212
2931
  */
2213
- 'Page.deleteCookie': {paramsType: [Protocol.Page.DeleteCookieRequest]; returnType: void;};
2932
+ 'Page.deleteCookie': {
2933
+ paramsType: [Protocol.Page.DeleteCookieRequest];
2934
+ returnType: void;
2935
+ };
2214
2936
  /**
2215
2937
  * Disables page domain notifications.
2216
2938
  */
2217
- 'Page.disable': {paramsType: []; returnType: void;};
2939
+ 'Page.disable': {
2940
+ paramsType: [];
2941
+ returnType: void;
2942
+ };
2218
2943
  /**
2219
2944
  * Enables page domain notifications.
2220
2945
  */
2221
- 'Page.enable': {paramsType: []; returnType: void;};
2222
- 'Page.getAppManifest': {paramsType: []; returnType: Protocol.Page.GetAppManifestResponse;};
2223
- 'Page.getInstallabilityErrors': {paramsType: []; returnType: Protocol.Page.GetInstallabilityErrorsResponse;};
2224
- 'Page.getManifestIcons': {paramsType: []; returnType: Protocol.Page.GetManifestIconsResponse;};
2946
+ 'Page.enable': {
2947
+ paramsType: [];
2948
+ returnType: void;
2949
+ };
2950
+ 'Page.getAppManifest': {
2951
+ paramsType: [];
2952
+ returnType: Protocol.Page.GetAppManifestResponse;
2953
+ };
2954
+ 'Page.getInstallabilityErrors': {
2955
+ paramsType: [];
2956
+ returnType: Protocol.Page.GetInstallabilityErrorsResponse;
2957
+ };
2958
+ 'Page.getManifestIcons': {
2959
+ paramsType: [];
2960
+ returnType: Protocol.Page.GetManifestIconsResponse;
2961
+ };
2225
2962
  /**
2226
2963
  * Returns the unique (PWA) app id.
2227
2964
  * Only returns values if the feature flag 'WebAppEnableManifestId' is enabled
2228
2965
  */
2229
- 'Page.getAppId': {paramsType: []; returnType: Protocol.Page.GetAppIdResponse;};
2966
+ 'Page.getAppId': {
2967
+ paramsType: [];
2968
+ returnType: Protocol.Page.GetAppIdResponse;
2969
+ };
2230
2970
  /**
2231
2971
  * Returns all browser cookies. Depending on the backend support, will return detailed cookie
2232
2972
  * information in the `cookies` field.
2233
2973
  */
2234
- 'Page.getCookies': {paramsType: []; returnType: Protocol.Page.GetCookiesResponse;};
2974
+ 'Page.getCookies': {
2975
+ paramsType: [];
2976
+ returnType: Protocol.Page.GetCookiesResponse;
2977
+ };
2235
2978
  /**
2236
2979
  * Returns present frame tree structure.
2237
2980
  */
2238
- 'Page.getFrameTree': {paramsType: []; returnType: Protocol.Page.GetFrameTreeResponse;};
2981
+ 'Page.getFrameTree': {
2982
+ paramsType: [];
2983
+ returnType: Protocol.Page.GetFrameTreeResponse;
2984
+ };
2239
2985
  /**
2240
2986
  * Returns metrics relating to the layouting of the page, such as viewport bounds/scale.
2241
2987
  */
2242
- 'Page.getLayoutMetrics': {paramsType: []; returnType: Protocol.Page.GetLayoutMetricsResponse;};
2988
+ 'Page.getLayoutMetrics': {
2989
+ paramsType: [];
2990
+ returnType: Protocol.Page.GetLayoutMetricsResponse;
2991
+ };
2243
2992
  /**
2244
2993
  * Returns navigation history for the current page.
2245
2994
  */
2246
- 'Page.getNavigationHistory': {paramsType: []; returnType: Protocol.Page.GetNavigationHistoryResponse;};
2995
+ 'Page.getNavigationHistory': {
2996
+ paramsType: [];
2997
+ returnType: Protocol.Page.GetNavigationHistoryResponse;
2998
+ };
2247
2999
  /**
2248
3000
  * Resets navigation history for the current page.
2249
3001
  */
2250
- 'Page.resetNavigationHistory': {paramsType: []; returnType: void;};
3002
+ 'Page.resetNavigationHistory': {
3003
+ paramsType: [];
3004
+ returnType: void;
3005
+ };
2251
3006
  /**
2252
3007
  * Returns content of the given resource.
2253
3008
  */
2254
- 'Page.getResourceContent':
2255
- {paramsType: [Protocol.Page.GetResourceContentRequest]; returnType: Protocol.Page.GetResourceContentResponse;};
3009
+ 'Page.getResourceContent': {
3010
+ paramsType: [Protocol.Page.GetResourceContentRequest];
3011
+ returnType: Protocol.Page.GetResourceContentResponse;
3012
+ };
2256
3013
  /**
2257
3014
  * Returns present frame / resource tree structure.
2258
3015
  */
2259
- 'Page.getResourceTree': {paramsType: []; returnType: Protocol.Page.GetResourceTreeResponse;};
3016
+ 'Page.getResourceTree': {
3017
+ paramsType: [];
3018
+ returnType: Protocol.Page.GetResourceTreeResponse;
3019
+ };
2260
3020
  /**
2261
3021
  * Accepts or dismisses a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload).
2262
3022
  */
2263
- 'Page.handleJavaScriptDialog': {paramsType: [Protocol.Page.HandleJavaScriptDialogRequest]; returnType: void;};
3023
+ 'Page.handleJavaScriptDialog': {
3024
+ paramsType: [Protocol.Page.HandleJavaScriptDialogRequest];
3025
+ returnType: void;
3026
+ };
2264
3027
  /**
2265
3028
  * Navigates current page to the given URL.
2266
3029
  */
2267
- 'Page.navigate': {paramsType: [Protocol.Page.NavigateRequest]; returnType: Protocol.Page.NavigateResponse;};
3030
+ 'Page.navigate': {
3031
+ paramsType: [Protocol.Page.NavigateRequest];
3032
+ returnType: Protocol.Page.NavigateResponse;
3033
+ };
2268
3034
  /**
2269
3035
  * Navigates current page to the given history entry.
2270
3036
  */
2271
- 'Page.navigateToHistoryEntry': {paramsType: [Protocol.Page.NavigateToHistoryEntryRequest]; returnType: void;};
3037
+ 'Page.navigateToHistoryEntry': {
3038
+ paramsType: [Protocol.Page.NavigateToHistoryEntryRequest];
3039
+ returnType: void;
3040
+ };
2272
3041
  /**
2273
3042
  * Print page as PDF.
2274
3043
  */
2275
- 'Page.printToPDF': {paramsType: [Protocol.Page.PrintToPDFRequest?]; returnType: Protocol.Page.PrintToPDFResponse;};
3044
+ 'Page.printToPDF': {
3045
+ paramsType: [Protocol.Page.PrintToPDFRequest?];
3046
+ returnType: Protocol.Page.PrintToPDFResponse;
3047
+ };
2276
3048
  /**
2277
3049
  * Reloads given page optionally ignoring the cache.
2278
3050
  */
2279
- 'Page.reload': {paramsType: [Protocol.Page.ReloadRequest?]; returnType: void;};
3051
+ 'Page.reload': {
3052
+ paramsType: [Protocol.Page.ReloadRequest?];
3053
+ returnType: void;
3054
+ };
2280
3055
  /**
2281
3056
  * Deprecated, please use removeScriptToEvaluateOnNewDocument instead.
2282
3057
  */
2283
- 'Page.removeScriptToEvaluateOnLoad':
2284
- {paramsType: [Protocol.Page.RemoveScriptToEvaluateOnLoadRequest]; returnType: void;};
3058
+ 'Page.removeScriptToEvaluateOnLoad': {
3059
+ paramsType: [Protocol.Page.RemoveScriptToEvaluateOnLoadRequest];
3060
+ returnType: void;
3061
+ };
2285
3062
  /**
2286
3063
  * Removes given script from the list.
2287
3064
  */
2288
- 'Page.removeScriptToEvaluateOnNewDocument':
2289
- {paramsType: [Protocol.Page.RemoveScriptToEvaluateOnNewDocumentRequest]; returnType: void;};
3065
+ 'Page.removeScriptToEvaluateOnNewDocument': {
3066
+ paramsType: [Protocol.Page.RemoveScriptToEvaluateOnNewDocumentRequest];
3067
+ returnType: void;
3068
+ };
2290
3069
  /**
2291
3070
  * Acknowledges that a screencast frame has been received by the frontend.
2292
3071
  */
2293
- 'Page.screencastFrameAck': {paramsType: [Protocol.Page.ScreencastFrameAckRequest]; returnType: void;};
3072
+ 'Page.screencastFrameAck': {
3073
+ paramsType: [Protocol.Page.ScreencastFrameAckRequest];
3074
+ returnType: void;
3075
+ };
2294
3076
  /**
2295
3077
  * Searches for given string in resource content.
2296
3078
  */
2297
- 'Page.searchInResource':
2298
- {paramsType: [Protocol.Page.SearchInResourceRequest]; returnType: Protocol.Page.SearchInResourceResponse;};
3079
+ 'Page.searchInResource': {
3080
+ paramsType: [Protocol.Page.SearchInResourceRequest];
3081
+ returnType: Protocol.Page.SearchInResourceResponse;
3082
+ };
2299
3083
  /**
2300
3084
  * Enable Chrome's experimental ad filter on all sites.
2301
3085
  */
2302
- 'Page.setAdBlockingEnabled': {paramsType: [Protocol.Page.SetAdBlockingEnabledRequest]; returnType: void;};
3086
+ 'Page.setAdBlockingEnabled': {
3087
+ paramsType: [Protocol.Page.SetAdBlockingEnabledRequest];
3088
+ returnType: void;
3089
+ };
2303
3090
  /**
2304
3091
  * Enable page Content Security Policy by-passing.
2305
3092
  */
2306
- 'Page.setBypassCSP': {paramsType: [Protocol.Page.SetBypassCSPRequest]; returnType: void;};
3093
+ 'Page.setBypassCSP': {
3094
+ paramsType: [Protocol.Page.SetBypassCSPRequest];
3095
+ returnType: void;
3096
+ };
2307
3097
  /**
2308
3098
  * Get Permissions Policy state on given frame.
2309
3099
  */
@@ -2314,74 +3104,120 @@ export namespace ProtocolMapping {
2314
3104
  /**
2315
3105
  * Get Origin Trials on given frame.
2316
3106
  */
2317
- 'Page.getOriginTrials':
2318
- {paramsType: [Protocol.Page.GetOriginTrialsRequest]; returnType: Protocol.Page.GetOriginTrialsResponse;};
3107
+ 'Page.getOriginTrials': {
3108
+ paramsType: [Protocol.Page.GetOriginTrialsRequest];
3109
+ returnType: Protocol.Page.GetOriginTrialsResponse;
3110
+ };
2319
3111
  /**
2320
3112
  * Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
2321
3113
  * window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
2322
3114
  * query results).
2323
3115
  */
2324
- 'Page.setDeviceMetricsOverride': {paramsType: [Protocol.Page.SetDeviceMetricsOverrideRequest]; returnType: void;};
3116
+ 'Page.setDeviceMetricsOverride': {
3117
+ paramsType: [Protocol.Page.SetDeviceMetricsOverrideRequest];
3118
+ returnType: void;
3119
+ };
2325
3120
  /**
2326
3121
  * Overrides the Device Orientation.
2327
3122
  */
2328
- 'Page.setDeviceOrientationOverride':
2329
- {paramsType: [Protocol.Page.SetDeviceOrientationOverrideRequest]; returnType: void;};
3123
+ 'Page.setDeviceOrientationOverride': {
3124
+ paramsType: [Protocol.Page.SetDeviceOrientationOverrideRequest];
3125
+ returnType: void;
3126
+ };
2330
3127
  /**
2331
3128
  * Set generic font families.
2332
3129
  */
2333
- 'Page.setFontFamilies': {paramsType: [Protocol.Page.SetFontFamiliesRequest]; returnType: void;};
3130
+ 'Page.setFontFamilies': {
3131
+ paramsType: [Protocol.Page.SetFontFamiliesRequest];
3132
+ returnType: void;
3133
+ };
2334
3134
  /**
2335
3135
  * Set default font sizes.
2336
3136
  */
2337
- 'Page.setFontSizes': {paramsType: [Protocol.Page.SetFontSizesRequest]; returnType: void;};
3137
+ 'Page.setFontSizes': {
3138
+ paramsType: [Protocol.Page.SetFontSizesRequest];
3139
+ returnType: void;
3140
+ };
2338
3141
  /**
2339
3142
  * Sets given markup as the document's HTML.
2340
3143
  */
2341
- 'Page.setDocumentContent': {paramsType: [Protocol.Page.SetDocumentContentRequest]; returnType: void;};
3144
+ 'Page.setDocumentContent': {
3145
+ paramsType: [Protocol.Page.SetDocumentContentRequest];
3146
+ returnType: void;
3147
+ };
2342
3148
  /**
2343
3149
  * Set the behavior when downloading a file.
2344
3150
  */
2345
- 'Page.setDownloadBehavior': {paramsType: [Protocol.Page.SetDownloadBehaviorRequest]; returnType: void;};
3151
+ 'Page.setDownloadBehavior': {
3152
+ paramsType: [Protocol.Page.SetDownloadBehaviorRequest];
3153
+ returnType: void;
3154
+ };
2346
3155
  /**
2347
3156
  * Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position
2348
3157
  * unavailable.
2349
3158
  */
2350
- 'Page.setGeolocationOverride': {paramsType: [Protocol.Page.SetGeolocationOverrideRequest?]; returnType: void;};
3159
+ 'Page.setGeolocationOverride': {
3160
+ paramsType: [Protocol.Page.SetGeolocationOverrideRequest?];
3161
+ returnType: void;
3162
+ };
2351
3163
  /**
2352
3164
  * Controls whether page will emit lifecycle events.
2353
3165
  */
2354
- 'Page.setLifecycleEventsEnabled': {paramsType: [Protocol.Page.SetLifecycleEventsEnabledRequest]; returnType: void;};
3166
+ 'Page.setLifecycleEventsEnabled': {
3167
+ paramsType: [Protocol.Page.SetLifecycleEventsEnabledRequest];
3168
+ returnType: void;
3169
+ };
2355
3170
  /**
2356
3171
  * Toggles mouse event-based touch event emulation.
2357
3172
  */
2358
- 'Page.setTouchEmulationEnabled': {paramsType: [Protocol.Page.SetTouchEmulationEnabledRequest]; returnType: void;};
3173
+ 'Page.setTouchEmulationEnabled': {
3174
+ paramsType: [Protocol.Page.SetTouchEmulationEnabledRequest];
3175
+ returnType: void;
3176
+ };
2359
3177
  /**
2360
3178
  * Starts sending each frame using the `screencastFrame` event.
2361
3179
  */
2362
- 'Page.startScreencast': {paramsType: [Protocol.Page.StartScreencastRequest?]; returnType: void;};
3180
+ 'Page.startScreencast': {
3181
+ paramsType: [Protocol.Page.StartScreencastRequest?];
3182
+ returnType: void;
3183
+ };
2363
3184
  /**
2364
3185
  * Force the page stop all navigations and pending resource fetches.
2365
3186
  */
2366
- 'Page.stopLoading': {paramsType: []; returnType: void;};
3187
+ 'Page.stopLoading': {
3188
+ paramsType: [];
3189
+ returnType: void;
3190
+ };
2367
3191
  /**
2368
3192
  * Crashes renderer on the IO thread, generates minidumps.
2369
3193
  */
2370
- 'Page.crash': {paramsType: []; returnType: void;};
3194
+ 'Page.crash': {
3195
+ paramsType: [];
3196
+ returnType: void;
3197
+ };
2371
3198
  /**
2372
3199
  * Tries to close page, running its beforeunload hooks, if any.
2373
3200
  */
2374
- 'Page.close': {paramsType: []; returnType: void;};
3201
+ 'Page.close': {
3202
+ paramsType: [];
3203
+ returnType: void;
3204
+ };
2375
3205
  /**
2376
3206
  * Tries to update the web lifecycle state of the page.
2377
3207
  * It will transition the page to the given state according to:
2378
3208
  * https://github.com/WICG/web-lifecycle/
2379
3209
  */
2380
- 'Page.setWebLifecycleState': {paramsType: [Protocol.Page.SetWebLifecycleStateRequest]; returnType: void;};
3210
+ 'Page.setWebLifecycleState': {
3211
+ paramsType: [Protocol.Page.SetWebLifecycleStateRequest];
3212
+ returnType: void;
3213
+ };
2381
3214
  /**
2382
3215
  * Stops sending each frame in the `screencastFrame`.
2383
3216
  */
2384
- 'Page.stopScreencast': {paramsType: []; returnType: void;};
3217
+ 'Page.stopScreencast': {
3218
+ paramsType: [];
3219
+ returnType: void;
3220
+ };
2385
3221
  /**
2386
3222
  * Requests backend to produce compilation cache for the specified scripts.
2387
3223
  * `scripts` are appeneded to the list of scripts for which the cache
@@ -2390,101 +3226,182 @@ export namespace ProtocolMapping {
2390
3226
  * produced upon backend discretion, based on internal heuristics.
2391
3227
  * See also: `Page.compilationCacheProduced`.
2392
3228
  */
2393
- 'Page.produceCompilationCache': {paramsType: [Protocol.Page.ProduceCompilationCacheRequest]; returnType: void;};
3229
+ 'Page.produceCompilationCache': {
3230
+ paramsType: [Protocol.Page.ProduceCompilationCacheRequest];
3231
+ returnType: void;
3232
+ };
2394
3233
  /**
2395
3234
  * Seeds compilation cache for given url. Compilation cache does not survive
2396
3235
  * cross-process navigation.
2397
3236
  */
2398
- 'Page.addCompilationCache': {paramsType: [Protocol.Page.AddCompilationCacheRequest]; returnType: void;};
3237
+ 'Page.addCompilationCache': {
3238
+ paramsType: [Protocol.Page.AddCompilationCacheRequest];
3239
+ returnType: void;
3240
+ };
2399
3241
  /**
2400
3242
  * Clears seeded compilation cache.
2401
3243
  */
2402
- 'Page.clearCompilationCache': {paramsType: []; returnType: void;};
3244
+ 'Page.clearCompilationCache': {
3245
+ paramsType: [];
3246
+ returnType: void;
3247
+ };
2403
3248
  /**
2404
3249
  * Sets the Secure Payment Confirmation transaction mode.
2405
3250
  * https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode
2406
3251
  */
2407
- 'Page.setSPCTransactionMode': {paramsType: [Protocol.Page.SetSPCTransactionModeRequest]; returnType: void;};
3252
+ 'Page.setSPCTransactionMode': {
3253
+ paramsType: [Protocol.Page.SetSPCTransactionModeRequest];
3254
+ returnType: void;
3255
+ };
2408
3256
  /**
2409
3257
  * Generates a report for testing.
2410
3258
  */
2411
- 'Page.generateTestReport': {paramsType: [Protocol.Page.GenerateTestReportRequest]; returnType: void;};
3259
+ 'Page.generateTestReport': {
3260
+ paramsType: [Protocol.Page.GenerateTestReportRequest];
3261
+ returnType: void;
3262
+ };
2412
3263
  /**
2413
3264
  * Pauses page execution. Can be resumed using generic Runtime.runIfWaitingForDebugger.
2414
3265
  */
2415
- 'Page.waitForDebugger': {paramsType: []; returnType: void;};
3266
+ 'Page.waitForDebugger': {
3267
+ paramsType: [];
3268
+ returnType: void;
3269
+ };
2416
3270
  /**
2417
3271
  * Intercept file chooser requests and transfer control to protocol clients.
2418
3272
  * When file chooser interception is enabled, native file chooser dialog is not shown.
2419
3273
  * Instead, a protocol event `Page.fileChooserOpened` is emitted.
2420
3274
  */
2421
- 'Page.setInterceptFileChooserDialog':
2422
- {paramsType: [Protocol.Page.SetInterceptFileChooserDialogRequest]; returnType: void;};
3275
+ 'Page.setInterceptFileChooserDialog': {
3276
+ paramsType: [Protocol.Page.SetInterceptFileChooserDialogRequest];
3277
+ returnType: void;
3278
+ };
2423
3279
  /**
2424
3280
  * Disable collecting and reporting metrics.
2425
3281
  */
2426
- 'Performance.disable': {paramsType: []; returnType: void;};
3282
+ 'Performance.disable': {
3283
+ paramsType: [];
3284
+ returnType: void;
3285
+ };
2427
3286
  /**
2428
3287
  * Enable collecting and reporting metrics.
2429
3288
  */
2430
- 'Performance.enable': {paramsType: [Protocol.Performance.EnableRequest?]; returnType: void;};
3289
+ 'Performance.enable': {
3290
+ paramsType: [Protocol.Performance.EnableRequest?];
3291
+ returnType: void;
3292
+ };
2431
3293
  /**
2432
3294
  * Sets time domain to use for collecting and reporting duration metrics.
2433
3295
  * Note that this must be called before enabling metrics collection. Calling
2434
3296
  * this method while metrics collection is enabled returns an error.
2435
3297
  */
2436
- 'Performance.setTimeDomain': {paramsType: [Protocol.Performance.SetTimeDomainRequest]; returnType: void;};
3298
+ 'Performance.setTimeDomain': {
3299
+ paramsType: [Protocol.Performance.SetTimeDomainRequest];
3300
+ returnType: void;
3301
+ };
2437
3302
  /**
2438
3303
  * Retrieve current values of run-time metrics.
2439
3304
  */
2440
- 'Performance.getMetrics': {paramsType: []; returnType: Protocol.Performance.GetMetricsResponse;};
3305
+ 'Performance.getMetrics': {
3306
+ paramsType: [];
3307
+ returnType: Protocol.Performance.GetMetricsResponse;
3308
+ };
2441
3309
  /**
2442
3310
  * Previously buffered events would be reported before method returns.
2443
3311
  * See also: timelineEventAdded
2444
3312
  */
2445
- 'PerformanceTimeline.enable': {paramsType: [Protocol.PerformanceTimeline.EnableRequest]; returnType: void;};
3313
+ 'PerformanceTimeline.enable': {
3314
+ paramsType: [Protocol.PerformanceTimeline.EnableRequest];
3315
+ returnType: void;
3316
+ };
2446
3317
  /**
2447
3318
  * Disables tracking security state changes.
2448
3319
  */
2449
- 'Security.disable': {paramsType: []; returnType: void;};
3320
+ 'Security.disable': {
3321
+ paramsType: [];
3322
+ returnType: void;
3323
+ };
2450
3324
  /**
2451
3325
  * Enables tracking security state changes.
2452
3326
  */
2453
- 'Security.enable': {paramsType: []; returnType: void;};
3327
+ 'Security.enable': {
3328
+ paramsType: [];
3329
+ returnType: void;
3330
+ };
2454
3331
  /**
2455
3332
  * Enable/disable whether all certificate errors should be ignored.
2456
3333
  */
2457
- 'Security.setIgnoreCertificateErrors':
2458
- {paramsType: [Protocol.Security.SetIgnoreCertificateErrorsRequest]; returnType: void;};
3334
+ 'Security.setIgnoreCertificateErrors': {
3335
+ paramsType: [Protocol.Security.SetIgnoreCertificateErrorsRequest];
3336
+ returnType: void;
3337
+ };
2459
3338
  /**
2460
3339
  * Handles a certificate error that fired a certificateError event.
2461
3340
  */
2462
- 'Security.handleCertificateError':
2463
- {paramsType: [Protocol.Security.HandleCertificateErrorRequest]; returnType: void;};
3341
+ 'Security.handleCertificateError': {
3342
+ paramsType: [Protocol.Security.HandleCertificateErrorRequest];
3343
+ returnType: void;
3344
+ };
2464
3345
  /**
2465
3346
  * Enable/disable overriding certificate errors. If enabled, all certificate error events need to
2466
3347
  * be handled by the DevTools client and should be answered with `handleCertificateError` commands.
2467
3348
  */
2468
- 'Security.setOverrideCertificateErrors':
2469
- {paramsType: [Protocol.Security.SetOverrideCertificateErrorsRequest]; returnType: void;};
2470
- 'ServiceWorker.deliverPushMessage':
2471
- {paramsType: [Protocol.ServiceWorker.DeliverPushMessageRequest]; returnType: void;};
2472
- 'ServiceWorker.disable': {paramsType: []; returnType: void;};
2473
- 'ServiceWorker.dispatchSyncEvent':
2474
- {paramsType: [Protocol.ServiceWorker.DispatchSyncEventRequest]; returnType: void;};
2475
- 'ServiceWorker.dispatchPeriodicSyncEvent':
2476
- {paramsType: [Protocol.ServiceWorker.DispatchPeriodicSyncEventRequest]; returnType: void;};
2477
- 'ServiceWorker.enable': {paramsType: []; returnType: void;};
2478
- 'ServiceWorker.inspectWorker': {paramsType: [Protocol.ServiceWorker.InspectWorkerRequest]; returnType: void;};
2479
- 'ServiceWorker.setForceUpdateOnPageLoad':
2480
- {paramsType: [Protocol.ServiceWorker.SetForceUpdateOnPageLoadRequest]; returnType: void;};
2481
- 'ServiceWorker.skipWaiting': {paramsType: [Protocol.ServiceWorker.SkipWaitingRequest]; returnType: void;};
2482
- 'ServiceWorker.startWorker': {paramsType: [Protocol.ServiceWorker.StartWorkerRequest]; returnType: void;};
2483
- 'ServiceWorker.stopAllWorkers': {paramsType: []; returnType: void;};
2484
- 'ServiceWorker.stopWorker': {paramsType: [Protocol.ServiceWorker.StopWorkerRequest]; returnType: void;};
2485
- 'ServiceWorker.unregister': {paramsType: [Protocol.ServiceWorker.UnregisterRequest]; returnType: void;};
2486
- 'ServiceWorker.updateRegistration':
2487
- {paramsType: [Protocol.ServiceWorker.UpdateRegistrationRequest]; returnType: void;};
3349
+ 'Security.setOverrideCertificateErrors': {
3350
+ paramsType: [Protocol.Security.SetOverrideCertificateErrorsRequest];
3351
+ returnType: void;
3352
+ };
3353
+ 'ServiceWorker.deliverPushMessage': {
3354
+ paramsType: [Protocol.ServiceWorker.DeliverPushMessageRequest];
3355
+ returnType: void;
3356
+ };
3357
+ 'ServiceWorker.disable': {
3358
+ paramsType: [];
3359
+ returnType: void;
3360
+ };
3361
+ 'ServiceWorker.dispatchSyncEvent': {
3362
+ paramsType: [Protocol.ServiceWorker.DispatchSyncEventRequest];
3363
+ returnType: void;
3364
+ };
3365
+ 'ServiceWorker.dispatchPeriodicSyncEvent': {
3366
+ paramsType: [Protocol.ServiceWorker.DispatchPeriodicSyncEventRequest];
3367
+ returnType: void;
3368
+ };
3369
+ 'ServiceWorker.enable': {
3370
+ paramsType: [];
3371
+ returnType: void;
3372
+ };
3373
+ 'ServiceWorker.inspectWorker': {
3374
+ paramsType: [Protocol.ServiceWorker.InspectWorkerRequest];
3375
+ returnType: void;
3376
+ };
3377
+ 'ServiceWorker.setForceUpdateOnPageLoad': {
3378
+ paramsType: [Protocol.ServiceWorker.SetForceUpdateOnPageLoadRequest];
3379
+ returnType: void;
3380
+ };
3381
+ 'ServiceWorker.skipWaiting': {
3382
+ paramsType: [Protocol.ServiceWorker.SkipWaitingRequest];
3383
+ returnType: void;
3384
+ };
3385
+ 'ServiceWorker.startWorker': {
3386
+ paramsType: [Protocol.ServiceWorker.StartWorkerRequest];
3387
+ returnType: void;
3388
+ };
3389
+ 'ServiceWorker.stopAllWorkers': {
3390
+ paramsType: [];
3391
+ returnType: void;
3392
+ };
3393
+ 'ServiceWorker.stopWorker': {
3394
+ paramsType: [Protocol.ServiceWorker.StopWorkerRequest];
3395
+ returnType: void;
3396
+ };
3397
+ 'ServiceWorker.unregister': {
3398
+ paramsType: [Protocol.ServiceWorker.UnregisterRequest];
3399
+ returnType: void;
3400
+ };
3401
+ 'ServiceWorker.updateRegistration': {
3402
+ paramsType: [Protocol.ServiceWorker.UpdateRegistrationRequest];
3403
+ returnType: void;
3404
+ };
2488
3405
  /**
2489
3406
  * Returns a storage key given a frame id.
2490
3407
  */
@@ -2495,61 +3412,88 @@ export namespace ProtocolMapping {
2495
3412
  /**
2496
3413
  * Clears storage for origin.
2497
3414
  */
2498
- 'Storage.clearDataForOrigin': {paramsType: [Protocol.Storage.ClearDataForOriginRequest]; returnType: void;};
3415
+ 'Storage.clearDataForOrigin': {
3416
+ paramsType: [Protocol.Storage.ClearDataForOriginRequest];
3417
+ returnType: void;
3418
+ };
2499
3419
  /**
2500
3420
  * Returns all browser cookies.
2501
3421
  */
2502
- 'Storage.getCookies':
2503
- {paramsType: [Protocol.Storage.GetCookiesRequest?]; returnType: Protocol.Storage.GetCookiesResponse;};
3422
+ 'Storage.getCookies': {
3423
+ paramsType: [Protocol.Storage.GetCookiesRequest?];
3424
+ returnType: Protocol.Storage.GetCookiesResponse;
3425
+ };
2504
3426
  /**
2505
3427
  * Sets given cookies.
2506
3428
  */
2507
- 'Storage.setCookies': {paramsType: [Protocol.Storage.SetCookiesRequest]; returnType: void;};
3429
+ 'Storage.setCookies': {
3430
+ paramsType: [Protocol.Storage.SetCookiesRequest];
3431
+ returnType: void;
3432
+ };
2508
3433
  /**
2509
3434
  * Clears cookies.
2510
3435
  */
2511
- 'Storage.clearCookies': {paramsType: [Protocol.Storage.ClearCookiesRequest?]; returnType: void;};
3436
+ 'Storage.clearCookies': {
3437
+ paramsType: [Protocol.Storage.ClearCookiesRequest?];
3438
+ returnType: void;
3439
+ };
2512
3440
  /**
2513
3441
  * Returns usage and quota in bytes.
2514
3442
  */
2515
3443
  'Storage.getUsageAndQuota': {
2516
- paramsType: [Protocol.Storage.GetUsageAndQuotaRequest]; returnType: Protocol.Storage.GetUsageAndQuotaResponse;
3444
+ paramsType: [Protocol.Storage.GetUsageAndQuotaRequest];
3445
+ returnType: Protocol.Storage.GetUsageAndQuotaResponse;
2517
3446
  };
2518
3447
  /**
2519
3448
  * Override quota for the specified origin
2520
3449
  */
2521
- 'Storage.overrideQuotaForOrigin': {paramsType: [Protocol.Storage.OverrideQuotaForOriginRequest]; returnType: void;};
3450
+ 'Storage.overrideQuotaForOrigin': {
3451
+ paramsType: [Protocol.Storage.OverrideQuotaForOriginRequest];
3452
+ returnType: void;
3453
+ };
2522
3454
  /**
2523
3455
  * Registers origin to be notified when an update occurs to its cache storage list.
2524
3456
  */
2525
- 'Storage.trackCacheStorageForOrigin':
2526
- {paramsType: [Protocol.Storage.TrackCacheStorageForOriginRequest]; returnType: void;};
3457
+ 'Storage.trackCacheStorageForOrigin': {
3458
+ paramsType: [Protocol.Storage.TrackCacheStorageForOriginRequest];
3459
+ returnType: void;
3460
+ };
2527
3461
  /**
2528
3462
  * Registers origin to be notified when an update occurs to its IndexedDB.
2529
3463
  */
2530
- 'Storage.trackIndexedDBForOrigin':
2531
- {paramsType: [Protocol.Storage.TrackIndexedDBForOriginRequest]; returnType: void;};
3464
+ 'Storage.trackIndexedDBForOrigin': {
3465
+ paramsType: [Protocol.Storage.TrackIndexedDBForOriginRequest];
3466
+ returnType: void;
3467
+ };
2532
3468
  /**
2533
3469
  * Unregisters origin from receiving notifications for cache storage.
2534
3470
  */
2535
- 'Storage.untrackCacheStorageForOrigin':
2536
- {paramsType: [Protocol.Storage.UntrackCacheStorageForOriginRequest]; returnType: void;};
3471
+ 'Storage.untrackCacheStorageForOrigin': {
3472
+ paramsType: [Protocol.Storage.UntrackCacheStorageForOriginRequest];
3473
+ returnType: void;
3474
+ };
2537
3475
  /**
2538
3476
  * Unregisters origin from receiving notifications for IndexedDB.
2539
3477
  */
2540
- 'Storage.untrackIndexedDBForOrigin':
2541
- {paramsType: [Protocol.Storage.UntrackIndexedDBForOriginRequest]; returnType: void;};
3478
+ 'Storage.untrackIndexedDBForOrigin': {
3479
+ paramsType: [Protocol.Storage.UntrackIndexedDBForOriginRequest];
3480
+ returnType: void;
3481
+ };
2542
3482
  /**
2543
3483
  * Returns the number of stored Trust Tokens per issuer for the
2544
3484
  * current browsing context.
2545
3485
  */
2546
- 'Storage.getTrustTokens': {paramsType: []; returnType: Protocol.Storage.GetTrustTokensResponse;};
3486
+ 'Storage.getTrustTokens': {
3487
+ paramsType: [];
3488
+ returnType: Protocol.Storage.GetTrustTokensResponse;
3489
+ };
2547
3490
  /**
2548
3491
  * Removes all Trust Tokens issued by the provided issuerOrigin.
2549
3492
  * Leaves other stored data, including the issuer's Redemption Records, intact.
2550
3493
  */
2551
3494
  'Storage.clearTrustTokens': {
2552
- paramsType: [Protocol.Storage.ClearTrustTokensRequest]; returnType: Protocol.Storage.ClearTrustTokensResponse;
3495
+ paramsType: [Protocol.Storage.ClearTrustTokensRequest];
3496
+ returnType: Protocol.Storage.ClearTrustTokensResponse;
2553
3497
  };
2554
3498
  /**
2555
3499
  * Gets details for a named interest group.
@@ -2561,34 +3505,52 @@ export namespace ProtocolMapping {
2561
3505
  /**
2562
3506
  * Enables/Disables issuing of interestGroupAccessed events.
2563
3507
  */
2564
- 'Storage.setInterestGroupTracking':
2565
- {paramsType: [Protocol.Storage.SetInterestGroupTrackingRequest]; returnType: void;};
3508
+ 'Storage.setInterestGroupTracking': {
3509
+ paramsType: [Protocol.Storage.SetInterestGroupTrackingRequest];
3510
+ returnType: void;
3511
+ };
2566
3512
  /**
2567
3513
  * Returns information about the system.
2568
3514
  */
2569
- 'SystemInfo.getInfo': {paramsType: []; returnType: Protocol.SystemInfo.GetInfoResponse;};
3515
+ 'SystemInfo.getInfo': {
3516
+ paramsType: [];
3517
+ returnType: Protocol.SystemInfo.GetInfoResponse;
3518
+ };
2570
3519
  /**
2571
3520
  * Returns information about all running processes.
2572
3521
  */
2573
- 'SystemInfo.getProcessInfo': {paramsType: []; returnType: Protocol.SystemInfo.GetProcessInfoResponse;};
3522
+ 'SystemInfo.getProcessInfo': {
3523
+ paramsType: [];
3524
+ returnType: Protocol.SystemInfo.GetProcessInfoResponse;
3525
+ };
2574
3526
  /**
2575
3527
  * Activates (focuses) the target.
2576
3528
  */
2577
- 'Target.activateTarget': {paramsType: [Protocol.Target.ActivateTargetRequest]; returnType: void;};
3529
+ 'Target.activateTarget': {
3530
+ paramsType: [Protocol.Target.ActivateTargetRequest];
3531
+ returnType: void;
3532
+ };
2578
3533
  /**
2579
3534
  * Attaches to the target with given id.
2580
3535
  */
2581
- 'Target.attachToTarget':
2582
- {paramsType: [Protocol.Target.AttachToTargetRequest]; returnType: Protocol.Target.AttachToTargetResponse;};
3536
+ 'Target.attachToTarget': {
3537
+ paramsType: [Protocol.Target.AttachToTargetRequest];
3538
+ returnType: Protocol.Target.AttachToTargetResponse;
3539
+ };
2583
3540
  /**
2584
3541
  * Attaches to the browser target, only uses flat sessionId mode.
2585
3542
  */
2586
- 'Target.attachToBrowserTarget': {paramsType: []; returnType: Protocol.Target.AttachToBrowserTargetResponse;};
3543
+ 'Target.attachToBrowserTarget': {
3544
+ paramsType: [];
3545
+ returnType: Protocol.Target.AttachToBrowserTargetResponse;
3546
+ };
2587
3547
  /**
2588
3548
  * Closes the target. If the target is a page that gets closed too.
2589
3549
  */
2590
- 'Target.closeTarget':
2591
- {paramsType: [Protocol.Target.CloseTargetRequest]; returnType: Protocol.Target.CloseTargetResponse;};
3550
+ 'Target.closeTarget': {
3551
+ paramsType: [Protocol.Target.CloseTargetRequest];
3552
+ returnType: Protocol.Target.CloseTargetResponse;
3553
+ };
2592
3554
  /**
2593
3555
  * Inject object to the target's main frame that provides a communication
2594
3556
  * channel with browser target.
@@ -2599,7 +3561,10 @@ export namespace ProtocolMapping {
2599
3561
  * - `binding.send(json)` - a method to send messages over the remote debugging protocol
2600
3562
  * - `binding.onmessage = json => handleMessage(json)` - a callback that will be called for the protocol notifications and command responses.
2601
3563
  */
2602
- 'Target.exposeDevToolsProtocol': {paramsType: [Protocol.Target.ExposeDevToolsProtocolRequest]; returnType: void;};
3564
+ 'Target.exposeDevToolsProtocol': {
3565
+ paramsType: [Protocol.Target.ExposeDevToolsProtocolRequest];
3566
+ returnType: void;
3567
+ };
2603
3568
  /**
2604
3569
  * Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than
2605
3570
  * one.
@@ -2611,36 +3576,55 @@ export namespace ProtocolMapping {
2611
3576
  /**
2612
3577
  * Returns all browser contexts created with `Target.createBrowserContext` method.
2613
3578
  */
2614
- 'Target.getBrowserContexts': {paramsType: []; returnType: Protocol.Target.GetBrowserContextsResponse;};
3579
+ 'Target.getBrowserContexts': {
3580
+ paramsType: [];
3581
+ returnType: Protocol.Target.GetBrowserContextsResponse;
3582
+ };
2615
3583
  /**
2616
3584
  * Creates a new page.
2617
3585
  */
2618
- 'Target.createTarget':
2619
- {paramsType: [Protocol.Target.CreateTargetRequest]; returnType: Protocol.Target.CreateTargetResponse;};
3586
+ 'Target.createTarget': {
3587
+ paramsType: [Protocol.Target.CreateTargetRequest];
3588
+ returnType: Protocol.Target.CreateTargetResponse;
3589
+ };
2620
3590
  /**
2621
3591
  * Detaches session with given id.
2622
3592
  */
2623
- 'Target.detachFromTarget': {paramsType: [Protocol.Target.DetachFromTargetRequest?]; returnType: void;};
3593
+ 'Target.detachFromTarget': {
3594
+ paramsType: [Protocol.Target.DetachFromTargetRequest?];
3595
+ returnType: void;
3596
+ };
2624
3597
  /**
2625
3598
  * Deletes a BrowserContext. All the belonging pages will be closed without calling their
2626
3599
  * beforeunload hooks.
2627
3600
  */
2628
- 'Target.disposeBrowserContext': {paramsType: [Protocol.Target.DisposeBrowserContextRequest]; returnType: void;};
3601
+ 'Target.disposeBrowserContext': {
3602
+ paramsType: [Protocol.Target.DisposeBrowserContextRequest];
3603
+ returnType: void;
3604
+ };
2629
3605
  /**
2630
3606
  * Returns information about a target.
2631
3607
  */
2632
- 'Target.getTargetInfo':
2633
- {paramsType: [Protocol.Target.GetTargetInfoRequest?]; returnType: Protocol.Target.GetTargetInfoResponse;};
3608
+ 'Target.getTargetInfo': {
3609
+ paramsType: [Protocol.Target.GetTargetInfoRequest?];
3610
+ returnType: Protocol.Target.GetTargetInfoResponse;
3611
+ };
2634
3612
  /**
2635
3613
  * Retrieves a list of available targets.
2636
3614
  */
2637
- 'Target.getTargets': {paramsType: []; returnType: Protocol.Target.GetTargetsResponse;};
3615
+ 'Target.getTargets': {
3616
+ paramsType: [];
3617
+ returnType: Protocol.Target.GetTargetsResponse;
3618
+ };
2638
3619
  /**
2639
3620
  * Sends protocol message over session with given id.
2640
3621
  * Consider using flat mode instead; see commands attachToTarget, setAutoAttach,
2641
3622
  * and crbug.com/991325.
2642
3623
  */
2643
- 'Target.sendMessageToTarget': {paramsType: [Protocol.Target.SendMessageToTargetRequest]; returnType: void;};
3624
+ 'Target.sendMessageToTarget': {
3625
+ paramsType: [Protocol.Target.SendMessageToTargetRequest];
3626
+ returnType: void;
3627
+ };
2644
3628
  /**
2645
3629
  * Controls whether to automatically attach to new targets which are considered to be related to
2646
3630
  * this one. When turned on, attaches to all existing related targets as well. When turned off,
@@ -2648,7 +3632,10 @@ export namespace ProtocolMapping {
2648
3632
  * This also clears all targets added by `autoAttachRelated` from the list of targets to watch
2649
3633
  * for creation of related targets.
2650
3634
  */
2651
- 'Target.setAutoAttach': {paramsType: [Protocol.Target.SetAutoAttachRequest]; returnType: void;};
3635
+ 'Target.setAutoAttach': {
3636
+ paramsType: [Protocol.Target.SetAutoAttachRequest];
3637
+ returnType: void;
3638
+ };
2652
3639
  /**
2653
3640
  * Adds the specified target to the list of targets that will be monitored for any related target
2654
3641
  * creation (such as child frames, child workers and new versions of service worker) and reported
@@ -2656,78 +3643,127 @@ export namespace ProtocolMapping {
2656
3643
  * This cancels the effect of any previous `setAutoAttach` and is also cancelled by subsequent
2657
3644
  * `setAutoAttach`. Only available at the Browser target.
2658
3645
  */
2659
- 'Target.autoAttachRelated': {paramsType: [Protocol.Target.AutoAttachRelatedRequest]; returnType: void;};
3646
+ 'Target.autoAttachRelated': {
3647
+ paramsType: [Protocol.Target.AutoAttachRelatedRequest];
3648
+ returnType: void;
3649
+ };
2660
3650
  /**
2661
3651
  * Controls whether to discover available targets and notify via
2662
3652
  * `targetCreated/targetInfoChanged/targetDestroyed` events.
2663
3653
  */
2664
- 'Target.setDiscoverTargets': {paramsType: [Protocol.Target.SetDiscoverTargetsRequest]; returnType: void;};
3654
+ 'Target.setDiscoverTargets': {
3655
+ paramsType: [Protocol.Target.SetDiscoverTargetsRequest];
3656
+ returnType: void;
3657
+ };
2665
3658
  /**
2666
3659
  * Enables target discovery for the specified locations, when `setDiscoverTargets` was set to
2667
3660
  * `true`.
2668
3661
  */
2669
- 'Target.setRemoteLocations': {paramsType: [Protocol.Target.SetRemoteLocationsRequest]; returnType: void;};
3662
+ 'Target.setRemoteLocations': {
3663
+ paramsType: [Protocol.Target.SetRemoteLocationsRequest];
3664
+ returnType: void;
3665
+ };
2670
3666
  /**
2671
3667
  * Request browser port binding.
2672
3668
  */
2673
- 'Tethering.bind': {paramsType: [Protocol.Tethering.BindRequest]; returnType: void;};
3669
+ 'Tethering.bind': {
3670
+ paramsType: [Protocol.Tethering.BindRequest];
3671
+ returnType: void;
3672
+ };
2674
3673
  /**
2675
3674
  * Request browser port unbinding.
2676
3675
  */
2677
- 'Tethering.unbind': {paramsType: [Protocol.Tethering.UnbindRequest]; returnType: void;};
3676
+ 'Tethering.unbind': {
3677
+ paramsType: [Protocol.Tethering.UnbindRequest];
3678
+ returnType: void;
3679
+ };
2678
3680
  /**
2679
3681
  * Stop trace events collection.
2680
3682
  */
2681
- 'Tracing.end': {paramsType: []; returnType: void;};
3683
+ 'Tracing.end': {
3684
+ paramsType: [];
3685
+ returnType: void;
3686
+ };
2682
3687
  /**
2683
3688
  * Gets supported tracing categories.
2684
3689
  */
2685
- 'Tracing.getCategories': {paramsType: []; returnType: Protocol.Tracing.GetCategoriesResponse;};
3690
+ 'Tracing.getCategories': {
3691
+ paramsType: [];
3692
+ returnType: Protocol.Tracing.GetCategoriesResponse;
3693
+ };
2686
3694
  /**
2687
3695
  * Record a clock sync marker in the trace.
2688
3696
  */
2689
- 'Tracing.recordClockSyncMarker': {paramsType: [Protocol.Tracing.RecordClockSyncMarkerRequest]; returnType: void;};
3697
+ 'Tracing.recordClockSyncMarker': {
3698
+ paramsType: [Protocol.Tracing.RecordClockSyncMarkerRequest];
3699
+ returnType: void;
3700
+ };
2690
3701
  /**
2691
3702
  * Request a global memory dump.
2692
3703
  */
2693
3704
  'Tracing.requestMemoryDump': {
2694
- paramsType: [Protocol.Tracing.RequestMemoryDumpRequest?]; returnType: Protocol.Tracing.RequestMemoryDumpResponse;
3705
+ paramsType: [Protocol.Tracing.RequestMemoryDumpRequest?];
3706
+ returnType: Protocol.Tracing.RequestMemoryDumpResponse;
2695
3707
  };
2696
3708
  /**
2697
3709
  * Start trace events collection.
2698
3710
  */
2699
- 'Tracing.start': {paramsType: [Protocol.Tracing.StartRequest?]; returnType: void;};
3711
+ 'Tracing.start': {
3712
+ paramsType: [Protocol.Tracing.StartRequest?];
3713
+ returnType: void;
3714
+ };
2700
3715
  /**
2701
3716
  * Disables the fetch domain.
2702
3717
  */
2703
- 'Fetch.disable': {paramsType: []; returnType: void;};
3718
+ 'Fetch.disable': {
3719
+ paramsType: [];
3720
+ returnType: void;
3721
+ };
2704
3722
  /**
2705
3723
  * Enables issuing of requestPaused events. A request will be paused until client
2706
3724
  * calls one of failRequest, fulfillRequest or continueRequest/continueWithAuth.
2707
3725
  */
2708
- 'Fetch.enable': {paramsType: [Protocol.Fetch.EnableRequest?]; returnType: void;};
3726
+ 'Fetch.enable': {
3727
+ paramsType: [Protocol.Fetch.EnableRequest?];
3728
+ returnType: void;
3729
+ };
2709
3730
  /**
2710
3731
  * Causes the request to fail with specified reason.
2711
3732
  */
2712
- 'Fetch.failRequest': {paramsType: [Protocol.Fetch.FailRequestRequest]; returnType: void;};
3733
+ 'Fetch.failRequest': {
3734
+ paramsType: [Protocol.Fetch.FailRequestRequest];
3735
+ returnType: void;
3736
+ };
2713
3737
  /**
2714
3738
  * Provides response to the request.
2715
3739
  */
2716
- 'Fetch.fulfillRequest': {paramsType: [Protocol.Fetch.FulfillRequestRequest]; returnType: void;};
3740
+ 'Fetch.fulfillRequest': {
3741
+ paramsType: [Protocol.Fetch.FulfillRequestRequest];
3742
+ returnType: void;
3743
+ };
2717
3744
  /**
2718
3745
  * Continues the request, optionally modifying some of its parameters.
2719
3746
  */
2720
- 'Fetch.continueRequest': {paramsType: [Protocol.Fetch.ContinueRequestRequest]; returnType: void;};
3747
+ 'Fetch.continueRequest': {
3748
+ paramsType: [Protocol.Fetch.ContinueRequestRequest];
3749
+ returnType: void;
3750
+ };
2721
3751
  /**
2722
3752
  * Continues a request supplying authChallengeResponse following authRequired event.
2723
3753
  */
2724
- 'Fetch.continueWithAuth': {paramsType: [Protocol.Fetch.ContinueWithAuthRequest]; returnType: void;};
3754
+ 'Fetch.continueWithAuth': {
3755
+ paramsType: [Protocol.Fetch.ContinueWithAuthRequest];
3756
+ returnType: void;
3757
+ };
2725
3758
  /**
2726
3759
  * Continues loading of the paused response, optionally modifying the
2727
3760
  * response headers. If either responseCode or headers are modified, all of them
2728
3761
  * must be present.
2729
3762
  */
2730
- 'Fetch.continueResponse': {paramsType: [Protocol.Fetch.ContinueResponseRequest]; returnType: void;};
3763
+ 'Fetch.continueResponse': {
3764
+ paramsType: [Protocol.Fetch.ContinueResponseRequest];
3765
+ returnType: void;
3766
+ };
2731
3767
  /**
2732
3768
  * Causes the body of the response to be received from the server and
2733
3769
  * returned as a single string. May only be issued for a request that
@@ -2736,8 +3772,10 @@ export namespace ProtocolMapping {
2736
3772
  * affect the request or disabling fetch domain before body is received
2737
3773
  * results in an undefined behavior.
2738
3774
  */
2739
- 'Fetch.getResponseBody':
2740
- {paramsType: [Protocol.Fetch.GetResponseBodyRequest]; returnType: Protocol.Fetch.GetResponseBodyResponse;};
3775
+ 'Fetch.getResponseBody': {
3776
+ paramsType: [Protocol.Fetch.GetResponseBodyRequest];
3777
+ returnType: Protocol.Fetch.GetResponseBodyResponse;
3778
+ };
2741
3779
  /**
2742
3780
  * Returns a handle to the stream representing the response body.
2743
3781
  * The request must be paused in the HeadersReceived stage.
@@ -2757,26 +3795,39 @@ export namespace ProtocolMapping {
2757
3795
  /**
2758
3796
  * Enables the WebAudio domain and starts sending context lifetime events.
2759
3797
  */
2760
- 'WebAudio.enable': {paramsType: []; returnType: void;};
3798
+ 'WebAudio.enable': {
3799
+ paramsType: [];
3800
+ returnType: void;
3801
+ };
2761
3802
  /**
2762
3803
  * Disables the WebAudio domain.
2763
3804
  */
2764
- 'WebAudio.disable': {paramsType: []; returnType: void;};
3805
+ 'WebAudio.disable': {
3806
+ paramsType: [];
3807
+ returnType: void;
3808
+ };
2765
3809
  /**
2766
3810
  * Fetch the realtime data from the registered contexts.
2767
3811
  */
2768
3812
  'WebAudio.getRealtimeData': {
2769
- paramsType: [Protocol.WebAudio.GetRealtimeDataRequest]; returnType: Protocol.WebAudio.GetRealtimeDataResponse;
3813
+ paramsType: [Protocol.WebAudio.GetRealtimeDataRequest];
3814
+ returnType: Protocol.WebAudio.GetRealtimeDataResponse;
2770
3815
  };
2771
3816
  /**
2772
3817
  * Enable the WebAuthn domain and start intercepting credential storage and
2773
3818
  * retrieval with a virtual authenticator.
2774
3819
  */
2775
- 'WebAuthn.enable': {paramsType: [Protocol.WebAuthn.EnableRequest?]; returnType: void;};
3820
+ 'WebAuthn.enable': {
3821
+ paramsType: [Protocol.WebAuthn.EnableRequest?];
3822
+ returnType: void;
3823
+ };
2776
3824
  /**
2777
3825
  * Disable the WebAuthn domain.
2778
3826
  */
2779
- 'WebAuthn.disable': {paramsType: []; returnType: void;};
3827
+ 'WebAuthn.disable': {
3828
+ paramsType: [];
3829
+ returnType: void;
3830
+ };
2780
3831
  /**
2781
3832
  * Creates and adds a virtual authenticator.
2782
3833
  */
@@ -2787,63 +3838,98 @@ export namespace ProtocolMapping {
2787
3838
  /**
2788
3839
  * Removes the given authenticator.
2789
3840
  */
2790
- 'WebAuthn.removeVirtualAuthenticator':
2791
- {paramsType: [Protocol.WebAuthn.RemoveVirtualAuthenticatorRequest]; returnType: void;};
3841
+ 'WebAuthn.removeVirtualAuthenticator': {
3842
+ paramsType: [Protocol.WebAuthn.RemoveVirtualAuthenticatorRequest];
3843
+ returnType: void;
3844
+ };
2792
3845
  /**
2793
3846
  * Adds the credential to the specified authenticator.
2794
3847
  */
2795
- 'WebAuthn.addCredential': {paramsType: [Protocol.WebAuthn.AddCredentialRequest]; returnType: void;};
3848
+ 'WebAuthn.addCredential': {
3849
+ paramsType: [Protocol.WebAuthn.AddCredentialRequest];
3850
+ returnType: void;
3851
+ };
2796
3852
  /**
2797
3853
  * Returns a single credential stored in the given virtual authenticator that
2798
3854
  * matches the credential ID.
2799
3855
  */
2800
- 'WebAuthn.getCredential':
2801
- {paramsType: [Protocol.WebAuthn.GetCredentialRequest]; returnType: Protocol.WebAuthn.GetCredentialResponse;};
3856
+ 'WebAuthn.getCredential': {
3857
+ paramsType: [Protocol.WebAuthn.GetCredentialRequest];
3858
+ returnType: Protocol.WebAuthn.GetCredentialResponse;
3859
+ };
2802
3860
  /**
2803
3861
  * Returns all the credentials stored in the given virtual authenticator.
2804
3862
  */
2805
- 'WebAuthn.getCredentials':
2806
- {paramsType: [Protocol.WebAuthn.GetCredentialsRequest]; returnType: Protocol.WebAuthn.GetCredentialsResponse;};
3863
+ 'WebAuthn.getCredentials': {
3864
+ paramsType: [Protocol.WebAuthn.GetCredentialsRequest];
3865
+ returnType: Protocol.WebAuthn.GetCredentialsResponse;
3866
+ };
2807
3867
  /**
2808
3868
  * Removes a credential from the authenticator.
2809
3869
  */
2810
- 'WebAuthn.removeCredential': {paramsType: [Protocol.WebAuthn.RemoveCredentialRequest]; returnType: void;};
3870
+ 'WebAuthn.removeCredential': {
3871
+ paramsType: [Protocol.WebAuthn.RemoveCredentialRequest];
3872
+ returnType: void;
3873
+ };
2811
3874
  /**
2812
3875
  * Clears all the credentials from the specified device.
2813
3876
  */
2814
- 'WebAuthn.clearCredentials': {paramsType: [Protocol.WebAuthn.ClearCredentialsRequest]; returnType: void;};
3877
+ 'WebAuthn.clearCredentials': {
3878
+ paramsType: [Protocol.WebAuthn.ClearCredentialsRequest];
3879
+ returnType: void;
3880
+ };
2815
3881
  /**
2816
3882
  * Sets whether User Verification succeeds or fails for an authenticator.
2817
3883
  * The default is true.
2818
3884
  */
2819
- 'WebAuthn.setUserVerified': {paramsType: [Protocol.WebAuthn.SetUserVerifiedRequest]; returnType: void;};
3885
+ 'WebAuthn.setUserVerified': {
3886
+ paramsType: [Protocol.WebAuthn.SetUserVerifiedRequest];
3887
+ returnType: void;
3888
+ };
2820
3889
  /**
2821
3890
  * Sets whether tests of user presence will succeed immediately (if true) or fail to resolve (if false) for an authenticator.
2822
3891
  * The default is true.
2823
3892
  */
2824
- 'WebAuthn.setAutomaticPresenceSimulation':
2825
- {paramsType: [Protocol.WebAuthn.SetAutomaticPresenceSimulationRequest]; returnType: void;};
3893
+ 'WebAuthn.setAutomaticPresenceSimulation': {
3894
+ paramsType: [Protocol.WebAuthn.SetAutomaticPresenceSimulationRequest];
3895
+ returnType: void;
3896
+ };
2826
3897
  /**
2827
3898
  * Enables the Media domain
2828
3899
  */
2829
- 'Media.enable': {paramsType: []; returnType: void;};
3900
+ 'Media.enable': {
3901
+ paramsType: [];
3902
+ returnType: void;
3903
+ };
2830
3904
  /**
2831
3905
  * Disables the Media domain.
2832
3906
  */
2833
- 'Media.disable': {paramsType: []; returnType: void;};
3907
+ 'Media.disable': {
3908
+ paramsType: [];
3909
+ returnType: void;
3910
+ };
2834
3911
  /**
2835
3912
  * Continues execution until specific location is reached.
2836
3913
  */
2837
- 'Debugger.continueToLocation': {paramsType: [Protocol.Debugger.ContinueToLocationRequest]; returnType: void;};
3914
+ 'Debugger.continueToLocation': {
3915
+ paramsType: [Protocol.Debugger.ContinueToLocationRequest];
3916
+ returnType: void;
3917
+ };
2838
3918
  /**
2839
3919
  * Disables debugger for given page.
2840
3920
  */
2841
- 'Debugger.disable': {paramsType: []; returnType: void;};
3921
+ 'Debugger.disable': {
3922
+ paramsType: [];
3923
+ returnType: void;
3924
+ };
2842
3925
  /**
2843
3926
  * Enables debugger for the given page. Clients should not assume that the debugging has been
2844
3927
  * enabled until the result for this command is received.
2845
3928
  */
2846
- 'Debugger.enable': {paramsType: [Protocol.Debugger.EnableRequest?]; returnType: Protocol.Debugger.EnableResponse;};
3929
+ 'Debugger.enable': {
3930
+ paramsType: [Protocol.Debugger.EnableRequest?];
3931
+ returnType: Protocol.Debugger.EnableResponse;
3932
+ };
2847
3933
  /**
2848
3934
  * Evaluates expression on a given call frame.
2849
3935
  */
@@ -2863,28 +3949,41 @@ export namespace ProtocolMapping {
2863
3949
  * Returns source for the script with given id.
2864
3950
  */
2865
3951
  'Debugger.getScriptSource': {
2866
- paramsType: [Protocol.Debugger.GetScriptSourceRequest]; returnType: Protocol.Debugger.GetScriptSourceResponse;
3952
+ paramsType: [Protocol.Debugger.GetScriptSourceRequest];
3953
+ returnType: Protocol.Debugger.GetScriptSourceResponse;
2867
3954
  };
2868
3955
  /**
2869
3956
  * This command is deprecated. Use getScriptSource instead.
2870
3957
  */
2871
3958
  'Debugger.getWasmBytecode': {
2872
- paramsType: [Protocol.Debugger.GetWasmBytecodeRequest]; returnType: Protocol.Debugger.GetWasmBytecodeResponse;
3959
+ paramsType: [Protocol.Debugger.GetWasmBytecodeRequest];
3960
+ returnType: Protocol.Debugger.GetWasmBytecodeResponse;
2873
3961
  };
2874
3962
  /**
2875
3963
  * Returns stack trace with given `stackTraceId`.
2876
3964
  */
2877
- 'Debugger.getStackTrace':
2878
- {paramsType: [Protocol.Debugger.GetStackTraceRequest]; returnType: Protocol.Debugger.GetStackTraceResponse;};
3965
+ 'Debugger.getStackTrace': {
3966
+ paramsType: [Protocol.Debugger.GetStackTraceRequest];
3967
+ returnType: Protocol.Debugger.GetStackTraceResponse;
3968
+ };
2879
3969
  /**
2880
3970
  * Stops on the next JavaScript statement.
2881
3971
  */
2882
- 'Debugger.pause': {paramsType: []; returnType: void;};
2883
- 'Debugger.pauseOnAsyncCall': {paramsType: [Protocol.Debugger.PauseOnAsyncCallRequest]; returnType: void;};
3972
+ 'Debugger.pause': {
3973
+ paramsType: [];
3974
+ returnType: void;
3975
+ };
3976
+ 'Debugger.pauseOnAsyncCall': {
3977
+ paramsType: [Protocol.Debugger.PauseOnAsyncCallRequest];
3978
+ returnType: void;
3979
+ };
2884
3980
  /**
2885
3981
  * Removes JavaScript breakpoint.
2886
3982
  */
2887
- 'Debugger.removeBreakpoint': {paramsType: [Protocol.Debugger.RemoveBreakpointRequest]; returnType: void;};
3983
+ 'Debugger.removeBreakpoint': {
3984
+ paramsType: [Protocol.Debugger.RemoveBreakpointRequest];
3985
+ returnType: void;
3986
+ };
2888
3987
  /**
2889
3988
  * Restarts particular call frame from the beginning. The old, deprecated
2890
3989
  * behavior of `restartFrame` is to stay paused and allow further CDP commands
@@ -2900,41 +3999,57 @@ export namespace ProtocolMapping {
2900
3999
  * Use the call frames from the `Debugger#paused` events instead, that fires
2901
4000
  * once V8 pauses at the beginning of the restarted function.
2902
4001
  */
2903
- 'Debugger.restartFrame':
2904
- {paramsType: [Protocol.Debugger.RestartFrameRequest]; returnType: Protocol.Debugger.RestartFrameResponse;};
4002
+ 'Debugger.restartFrame': {
4003
+ paramsType: [Protocol.Debugger.RestartFrameRequest];
4004
+ returnType: Protocol.Debugger.RestartFrameResponse;
4005
+ };
2905
4006
  /**
2906
4007
  * Resumes JavaScript execution.
2907
4008
  */
2908
- 'Debugger.resume': {paramsType: [Protocol.Debugger.ResumeRequest?]; returnType: void;};
4009
+ 'Debugger.resume': {
4010
+ paramsType: [Protocol.Debugger.ResumeRequest?];
4011
+ returnType: void;
4012
+ };
2909
4013
  /**
2910
4014
  * Searches for given string in script content.
2911
4015
  */
2912
4016
  'Debugger.searchInContent': {
2913
- paramsType: [Protocol.Debugger.SearchInContentRequest]; returnType: Protocol.Debugger.SearchInContentResponse;
4017
+ paramsType: [Protocol.Debugger.SearchInContentRequest];
4018
+ returnType: Protocol.Debugger.SearchInContentResponse;
2914
4019
  };
2915
4020
  /**
2916
4021
  * Enables or disables async call stacks tracking.
2917
4022
  */
2918
- 'Debugger.setAsyncCallStackDepth':
2919
- {paramsType: [Protocol.Debugger.SetAsyncCallStackDepthRequest]; returnType: void;};
4023
+ 'Debugger.setAsyncCallStackDepth': {
4024
+ paramsType: [Protocol.Debugger.SetAsyncCallStackDepthRequest];
4025
+ returnType: void;
4026
+ };
2920
4027
  /**
2921
4028
  * Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
2922
4029
  * scripts with url matching one of the patterns. VM will try to leave blackboxed script by
2923
4030
  * performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
2924
4031
  */
2925
- 'Debugger.setBlackboxPatterns': {paramsType: [Protocol.Debugger.SetBlackboxPatternsRequest]; returnType: void;};
4032
+ 'Debugger.setBlackboxPatterns': {
4033
+ paramsType: [Protocol.Debugger.SetBlackboxPatternsRequest];
4034
+ returnType: void;
4035
+ };
2926
4036
  /**
2927
4037
  * Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted
2928
4038
  * scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
2929
4039
  * Positions array contains positions where blackbox state is changed. First interval isn't
2930
4040
  * blackboxed. Array should be sorted.
2931
4041
  */
2932
- 'Debugger.setBlackboxedRanges': {paramsType: [Protocol.Debugger.SetBlackboxedRangesRequest]; returnType: void;};
4042
+ 'Debugger.setBlackboxedRanges': {
4043
+ paramsType: [Protocol.Debugger.SetBlackboxedRangesRequest];
4044
+ returnType: void;
4045
+ };
2933
4046
  /**
2934
4047
  * Sets JavaScript breakpoint at a given location.
2935
4048
  */
2936
- 'Debugger.setBreakpoint':
2937
- {paramsType: [Protocol.Debugger.SetBreakpointRequest]; returnType: Protocol.Debugger.SetBreakpointResponse;};
4049
+ 'Debugger.setBreakpoint': {
4050
+ paramsType: [Protocol.Debugger.SetBreakpointRequest];
4051
+ returnType: Protocol.Debugger.SetBreakpointResponse;
4052
+ };
2938
4053
  /**
2939
4054
  * Sets instrumentation breakpoint.
2940
4055
  */
@@ -2964,16 +4079,25 @@ export namespace ProtocolMapping {
2964
4079
  /**
2965
4080
  * Activates / deactivates all breakpoints on the page.
2966
4081
  */
2967
- 'Debugger.setBreakpointsActive': {paramsType: [Protocol.Debugger.SetBreakpointsActiveRequest]; returnType: void;};
4082
+ 'Debugger.setBreakpointsActive': {
4083
+ paramsType: [Protocol.Debugger.SetBreakpointsActiveRequest];
4084
+ returnType: void;
4085
+ };
2968
4086
  /**
2969
4087
  * Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or
2970
4088
  * no exceptions. Initial pause on exceptions state is `none`.
2971
4089
  */
2972
- 'Debugger.setPauseOnExceptions': {paramsType: [Protocol.Debugger.SetPauseOnExceptionsRequest]; returnType: void;};
4090
+ 'Debugger.setPauseOnExceptions': {
4091
+ paramsType: [Protocol.Debugger.SetPauseOnExceptionsRequest];
4092
+ returnType: void;
4093
+ };
2973
4094
  /**
2974
4095
  * Changes return value in top frame. Available only at return break position.
2975
4096
  */
2976
- 'Debugger.setReturnValue': {paramsType: [Protocol.Debugger.SetReturnValueRequest]; returnType: void;};
4097
+ 'Debugger.setReturnValue': {
4098
+ paramsType: [Protocol.Debugger.SetReturnValueRequest];
4099
+ returnType: void;
4100
+ };
2977
4101
  /**
2978
4102
  * Edits JavaScript source live.
2979
4103
  *
@@ -2984,38 +4108,65 @@ export namespace ProtocolMapping {
2984
4108
  * top-most function is automatically triggered.
2985
4109
  */
2986
4110
  'Debugger.setScriptSource': {
2987
- paramsType: [Protocol.Debugger.SetScriptSourceRequest]; returnType: Protocol.Debugger.SetScriptSourceResponse;
4111
+ paramsType: [Protocol.Debugger.SetScriptSourceRequest];
4112
+ returnType: Protocol.Debugger.SetScriptSourceResponse;
2988
4113
  };
2989
4114
  /**
2990
4115
  * Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).
2991
4116
  */
2992
- 'Debugger.setSkipAllPauses': {paramsType: [Protocol.Debugger.SetSkipAllPausesRequest]; returnType: void;};
4117
+ 'Debugger.setSkipAllPauses': {
4118
+ paramsType: [Protocol.Debugger.SetSkipAllPausesRequest];
4119
+ returnType: void;
4120
+ };
2993
4121
  /**
2994
4122
  * Changes value of variable in a callframe. Object-based scopes are not supported and must be
2995
4123
  * mutated manually.
2996
4124
  */
2997
- 'Debugger.setVariableValue': {paramsType: [Protocol.Debugger.SetVariableValueRequest]; returnType: void;};
4125
+ 'Debugger.setVariableValue': {
4126
+ paramsType: [Protocol.Debugger.SetVariableValueRequest];
4127
+ returnType: void;
4128
+ };
2998
4129
  /**
2999
4130
  * Steps into the function call.
3000
4131
  */
3001
- 'Debugger.stepInto': {paramsType: [Protocol.Debugger.StepIntoRequest?]; returnType: void;};
4132
+ 'Debugger.stepInto': {
4133
+ paramsType: [Protocol.Debugger.StepIntoRequest?];
4134
+ returnType: void;
4135
+ };
3002
4136
  /**
3003
4137
  * Steps out of the function call.
3004
4138
  */
3005
- 'Debugger.stepOut': {paramsType: []; returnType: void;};
4139
+ 'Debugger.stepOut': {
4140
+ paramsType: [];
4141
+ returnType: void;
4142
+ };
3006
4143
  /**
3007
4144
  * Steps over the statement.
3008
4145
  */
3009
- 'Debugger.stepOver': {paramsType: [Protocol.Debugger.StepOverRequest?]; returnType: void;};
4146
+ 'Debugger.stepOver': {
4147
+ paramsType: [Protocol.Debugger.StepOverRequest?];
4148
+ returnType: void;
4149
+ };
3010
4150
  /**
3011
4151
  * Enables console to refer to the node with given id via $x (see Command Line API for more details
3012
4152
  * $x functions).
3013
4153
  */
3014
- 'HeapProfiler.addInspectedHeapObject':
3015
- {paramsType: [Protocol.HeapProfiler.AddInspectedHeapObjectRequest]; returnType: void;};
3016
- 'HeapProfiler.collectGarbage': {paramsType: []; returnType: void;};
3017
- 'HeapProfiler.disable': {paramsType: []; returnType: void;};
3018
- 'HeapProfiler.enable': {paramsType: []; returnType: void;};
4154
+ 'HeapProfiler.addInspectedHeapObject': {
4155
+ paramsType: [Protocol.HeapProfiler.AddInspectedHeapObjectRequest];
4156
+ returnType: void;
4157
+ };
4158
+ 'HeapProfiler.collectGarbage': {
4159
+ paramsType: [];
4160
+ returnType: void;
4161
+ };
4162
+ 'HeapProfiler.disable': {
4163
+ paramsType: [];
4164
+ returnType: void;
4165
+ };
4166
+ 'HeapProfiler.enable': {
4167
+ paramsType: [];
4168
+ returnType: void;
4169
+ };
3019
4170
  'HeapProfiler.getHeapObjectId': {
3020
4171
  paramsType: [Protocol.HeapProfiler.GetHeapObjectIdRequest];
3021
4172
  returnType: Protocol.HeapProfiler.GetHeapObjectIdResponse;
@@ -3024,26 +4175,57 @@ export namespace ProtocolMapping {
3024
4175
  paramsType: [Protocol.HeapProfiler.GetObjectByHeapObjectIdRequest];
3025
4176
  returnType: Protocol.HeapProfiler.GetObjectByHeapObjectIdResponse;
3026
4177
  };
3027
- 'HeapProfiler.getSamplingProfile': {paramsType: []; returnType: Protocol.HeapProfiler.GetSamplingProfileResponse;};
3028
- 'HeapProfiler.startSampling': {paramsType: [Protocol.HeapProfiler.StartSamplingRequest?]; returnType: void;};
3029
- 'HeapProfiler.startTrackingHeapObjects':
3030
- {paramsType: [Protocol.HeapProfiler.StartTrackingHeapObjectsRequest?]; returnType: void;};
3031
- 'HeapProfiler.stopSampling': {paramsType: []; returnType: Protocol.HeapProfiler.StopSamplingResponse;};
3032
- 'HeapProfiler.stopTrackingHeapObjects':
3033
- {paramsType: [Protocol.HeapProfiler.StopTrackingHeapObjectsRequest?]; returnType: void;};
3034
- 'HeapProfiler.takeHeapSnapshot': {paramsType: [Protocol.HeapProfiler.TakeHeapSnapshotRequest?]; returnType: void;};
3035
- 'Profiler.disable': {paramsType: []; returnType: void;};
3036
- 'Profiler.enable': {paramsType: []; returnType: void;};
4178
+ 'HeapProfiler.getSamplingProfile': {
4179
+ paramsType: [];
4180
+ returnType: Protocol.HeapProfiler.GetSamplingProfileResponse;
4181
+ };
4182
+ 'HeapProfiler.startSampling': {
4183
+ paramsType: [Protocol.HeapProfiler.StartSamplingRequest?];
4184
+ returnType: void;
4185
+ };
4186
+ 'HeapProfiler.startTrackingHeapObjects': {
4187
+ paramsType: [Protocol.HeapProfiler.StartTrackingHeapObjectsRequest?];
4188
+ returnType: void;
4189
+ };
4190
+ 'HeapProfiler.stopSampling': {
4191
+ paramsType: [];
4192
+ returnType: Protocol.HeapProfiler.StopSamplingResponse;
4193
+ };
4194
+ 'HeapProfiler.stopTrackingHeapObjects': {
4195
+ paramsType: [Protocol.HeapProfiler.StopTrackingHeapObjectsRequest?];
4196
+ returnType: void;
4197
+ };
4198
+ 'HeapProfiler.takeHeapSnapshot': {
4199
+ paramsType: [Protocol.HeapProfiler.TakeHeapSnapshotRequest?];
4200
+ returnType: void;
4201
+ };
4202
+ 'Profiler.disable': {
4203
+ paramsType: [];
4204
+ returnType: void;
4205
+ };
4206
+ 'Profiler.enable': {
4207
+ paramsType: [];
4208
+ returnType: void;
4209
+ };
3037
4210
  /**
3038
4211
  * Collect coverage data for the current isolate. The coverage data may be incomplete due to
3039
4212
  * garbage collection.
3040
4213
  */
3041
- 'Profiler.getBestEffortCoverage': {paramsType: []; returnType: Protocol.Profiler.GetBestEffortCoverageResponse;};
4214
+ 'Profiler.getBestEffortCoverage': {
4215
+ paramsType: [];
4216
+ returnType: Protocol.Profiler.GetBestEffortCoverageResponse;
4217
+ };
3042
4218
  /**
3043
4219
  * Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
3044
4220
  */
3045
- 'Profiler.setSamplingInterval': {paramsType: [Protocol.Profiler.SetSamplingIntervalRequest]; returnType: void;};
3046
- 'Profiler.start': {paramsType: []; returnType: void;};
4221
+ 'Profiler.setSamplingInterval': {
4222
+ paramsType: [Protocol.Profiler.SetSamplingIntervalRequest];
4223
+ returnType: void;
4224
+ };
4225
+ 'Profiler.start': {
4226
+ paramsType: [];
4227
+ returnType: void;
4228
+ };
3047
4229
  /**
3048
4230
  * Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code
3049
4231
  * coverage may be incomplete. Enabling prevents running optimized code and resets execution
@@ -3056,76 +4238,119 @@ export namespace ProtocolMapping {
3056
4238
  /**
3057
4239
  * Enable type profile.
3058
4240
  */
3059
- 'Profiler.startTypeProfile': {paramsType: []; returnType: void;};
3060
- 'Profiler.stop': {paramsType: []; returnType: Protocol.Profiler.StopResponse;};
4241
+ 'Profiler.startTypeProfile': {
4242
+ paramsType: [];
4243
+ returnType: void;
4244
+ };
4245
+ 'Profiler.stop': {
4246
+ paramsType: [];
4247
+ returnType: Protocol.Profiler.StopResponse;
4248
+ };
3061
4249
  /**
3062
4250
  * Disable precise code coverage. Disabling releases unnecessary execution count records and allows
3063
4251
  * executing optimized code.
3064
4252
  */
3065
- 'Profiler.stopPreciseCoverage': {paramsType: []; returnType: void;};
4253
+ 'Profiler.stopPreciseCoverage': {
4254
+ paramsType: [];
4255
+ returnType: void;
4256
+ };
3066
4257
  /**
3067
4258
  * Disable type profile. Disabling releases type profile data collected so far.
3068
4259
  */
3069
- 'Profiler.stopTypeProfile': {paramsType: []; returnType: void;};
4260
+ 'Profiler.stopTypeProfile': {
4261
+ paramsType: [];
4262
+ returnType: void;
4263
+ };
3070
4264
  /**
3071
4265
  * Collect coverage data for the current isolate, and resets execution counters. Precise code
3072
4266
  * coverage needs to have started.
3073
4267
  */
3074
- 'Profiler.takePreciseCoverage': {paramsType: []; returnType: Protocol.Profiler.TakePreciseCoverageResponse;};
4268
+ 'Profiler.takePreciseCoverage': {
4269
+ paramsType: [];
4270
+ returnType: Protocol.Profiler.TakePreciseCoverageResponse;
4271
+ };
3075
4272
  /**
3076
4273
  * Collect type profile.
3077
4274
  */
3078
- 'Profiler.takeTypeProfile': {paramsType: []; returnType: Protocol.Profiler.TakeTypeProfileResponse;};
4275
+ 'Profiler.takeTypeProfile': {
4276
+ paramsType: [];
4277
+ returnType: Protocol.Profiler.TakeTypeProfileResponse;
4278
+ };
3079
4279
  /**
3080
4280
  * Add handler to promise with given promise object id.
3081
4281
  */
3082
- 'Runtime.awaitPromise':
3083
- {paramsType: [Protocol.Runtime.AwaitPromiseRequest]; returnType: Protocol.Runtime.AwaitPromiseResponse;};
4282
+ 'Runtime.awaitPromise': {
4283
+ paramsType: [Protocol.Runtime.AwaitPromiseRequest];
4284
+ returnType: Protocol.Runtime.AwaitPromiseResponse;
4285
+ };
3084
4286
  /**
3085
4287
  * Calls function with given declaration on the given object. Object group of the result is
3086
4288
  * inherited from the target object.
3087
4289
  */
3088
- 'Runtime.callFunctionOn':
3089
- {paramsType: [Protocol.Runtime.CallFunctionOnRequest]; returnType: Protocol.Runtime.CallFunctionOnResponse;};
4290
+ 'Runtime.callFunctionOn': {
4291
+ paramsType: [Protocol.Runtime.CallFunctionOnRequest];
4292
+ returnType: Protocol.Runtime.CallFunctionOnResponse;
4293
+ };
3090
4294
  /**
3091
4295
  * Compiles expression.
3092
4296
  */
3093
- 'Runtime.compileScript':
3094
- {paramsType: [Protocol.Runtime.CompileScriptRequest]; returnType: Protocol.Runtime.CompileScriptResponse;};
4297
+ 'Runtime.compileScript': {
4298
+ paramsType: [Protocol.Runtime.CompileScriptRequest];
4299
+ returnType: Protocol.Runtime.CompileScriptResponse;
4300
+ };
3095
4301
  /**
3096
4302
  * Disables reporting of execution contexts creation.
3097
4303
  */
3098
- 'Runtime.disable': {paramsType: []; returnType: void;};
4304
+ 'Runtime.disable': {
4305
+ paramsType: [];
4306
+ returnType: void;
4307
+ };
3099
4308
  /**
3100
4309
  * Discards collected exceptions and console API calls.
3101
4310
  */
3102
- 'Runtime.discardConsoleEntries': {paramsType: []; returnType: void;};
4311
+ 'Runtime.discardConsoleEntries': {
4312
+ paramsType: [];
4313
+ returnType: void;
4314
+ };
3103
4315
  /**
3104
4316
  * Enables reporting of execution contexts creation by means of `executionContextCreated` event.
3105
4317
  * When the reporting gets enabled the event will be sent immediately for each existing execution
3106
4318
  * context.
3107
4319
  */
3108
- 'Runtime.enable': {paramsType: []; returnType: void;};
4320
+ 'Runtime.enable': {
4321
+ paramsType: [];
4322
+ returnType: void;
4323
+ };
3109
4324
  /**
3110
4325
  * Evaluates expression on global object.
3111
4326
  */
3112
- 'Runtime.evaluate':
3113
- {paramsType: [Protocol.Runtime.EvaluateRequest]; returnType: Protocol.Runtime.EvaluateResponse;};
4327
+ 'Runtime.evaluate': {
4328
+ paramsType: [Protocol.Runtime.EvaluateRequest];
4329
+ returnType: Protocol.Runtime.EvaluateResponse;
4330
+ };
3114
4331
  /**
3115
4332
  * Returns the isolate id.
3116
4333
  */
3117
- 'Runtime.getIsolateId': {paramsType: []; returnType: Protocol.Runtime.GetIsolateIdResponse;};
4334
+ 'Runtime.getIsolateId': {
4335
+ paramsType: [];
4336
+ returnType: Protocol.Runtime.GetIsolateIdResponse;
4337
+ };
3118
4338
  /**
3119
4339
  * Returns the JavaScript heap usage.
3120
4340
  * It is the total usage of the corresponding isolate not scoped to a particular Runtime.
3121
4341
  */
3122
- 'Runtime.getHeapUsage': {paramsType: []; returnType: Protocol.Runtime.GetHeapUsageResponse;};
4342
+ 'Runtime.getHeapUsage': {
4343
+ paramsType: [];
4344
+ returnType: Protocol.Runtime.GetHeapUsageResponse;
4345
+ };
3123
4346
  /**
3124
4347
  * Returns properties of a given object. Object group of the result is inherited from the target
3125
4348
  * object.
3126
4349
  */
3127
- 'Runtime.getProperties':
3128
- {paramsType: [Protocol.Runtime.GetPropertiesRequest]; returnType: Protocol.Runtime.GetPropertiesResponse;};
4350
+ 'Runtime.getProperties': {
4351
+ paramsType: [Protocol.Runtime.GetPropertiesRequest];
4352
+ returnType: Protocol.Runtime.GetPropertiesResponse;
4353
+ };
3129
4354
  /**
3130
4355
  * Returns all let, const and class variables from global scope.
3131
4356
  */
@@ -3133,38 +4358,61 @@ export namespace ProtocolMapping {
3133
4358
  paramsType: [Protocol.Runtime.GlobalLexicalScopeNamesRequest?];
3134
4359
  returnType: Protocol.Runtime.GlobalLexicalScopeNamesResponse;
3135
4360
  };
3136
- 'Runtime.queryObjects':
3137
- {paramsType: [Protocol.Runtime.QueryObjectsRequest]; returnType: Protocol.Runtime.QueryObjectsResponse;};
4361
+ 'Runtime.queryObjects': {
4362
+ paramsType: [Protocol.Runtime.QueryObjectsRequest];
4363
+ returnType: Protocol.Runtime.QueryObjectsResponse;
4364
+ };
3138
4365
  /**
3139
4366
  * Releases remote object with given id.
3140
4367
  */
3141
- 'Runtime.releaseObject': {paramsType: [Protocol.Runtime.ReleaseObjectRequest]; returnType: void;};
4368
+ 'Runtime.releaseObject': {
4369
+ paramsType: [Protocol.Runtime.ReleaseObjectRequest];
4370
+ returnType: void;
4371
+ };
3142
4372
  /**
3143
4373
  * Releases all remote objects that belong to a given group.
3144
4374
  */
3145
- 'Runtime.releaseObjectGroup': {paramsType: [Protocol.Runtime.ReleaseObjectGroupRequest]; returnType: void;};
4375
+ 'Runtime.releaseObjectGroup': {
4376
+ paramsType: [Protocol.Runtime.ReleaseObjectGroupRequest];
4377
+ returnType: void;
4378
+ };
3146
4379
  /**
3147
4380
  * Tells inspected instance to run if it was waiting for debugger to attach.
3148
4381
  */
3149
- 'Runtime.runIfWaitingForDebugger': {paramsType: []; returnType: void;};
4382
+ 'Runtime.runIfWaitingForDebugger': {
4383
+ paramsType: [];
4384
+ returnType: void;
4385
+ };
3150
4386
  /**
3151
4387
  * Runs script with given id in a given context.
3152
4388
  */
3153
- 'Runtime.runScript':
3154
- {paramsType: [Protocol.Runtime.RunScriptRequest]; returnType: Protocol.Runtime.RunScriptResponse;};
4389
+ 'Runtime.runScript': {
4390
+ paramsType: [Protocol.Runtime.RunScriptRequest];
4391
+ returnType: Protocol.Runtime.RunScriptResponse;
4392
+ };
3155
4393
  /**
3156
4394
  * Enables or disables async call stacks tracking.
3157
4395
  */
3158
- 'Runtime.setAsyncCallStackDepth': {paramsType: [Protocol.Runtime.SetAsyncCallStackDepthRequest]; returnType: void;};
3159
- 'Runtime.setCustomObjectFormatterEnabled':
3160
- {paramsType: [Protocol.Runtime.SetCustomObjectFormatterEnabledRequest]; returnType: void;};
3161
- 'Runtime.setMaxCallStackSizeToCapture':
3162
- {paramsType: [Protocol.Runtime.SetMaxCallStackSizeToCaptureRequest]; returnType: void;};
4396
+ 'Runtime.setAsyncCallStackDepth': {
4397
+ paramsType: [Protocol.Runtime.SetAsyncCallStackDepthRequest];
4398
+ returnType: void;
4399
+ };
4400
+ 'Runtime.setCustomObjectFormatterEnabled': {
4401
+ paramsType: [Protocol.Runtime.SetCustomObjectFormatterEnabledRequest];
4402
+ returnType: void;
4403
+ };
4404
+ 'Runtime.setMaxCallStackSizeToCapture': {
4405
+ paramsType: [Protocol.Runtime.SetMaxCallStackSizeToCaptureRequest];
4406
+ returnType: void;
4407
+ };
3163
4408
  /**
3164
4409
  * Terminate current or next JavaScript execution.
3165
4410
  * Will cancel the termination when the outer-most script execution ends.
3166
4411
  */
3167
- 'Runtime.terminateExecution': {paramsType: []; returnType: void;};
4412
+ 'Runtime.terminateExecution': {
4413
+ paramsType: [];
4414
+ returnType: void;
4415
+ };
3168
4416
  /**
3169
4417
  * If executionContextId is empty, adds binding with the given name on the
3170
4418
  * global objects of all inspected contexts, including those created later,
@@ -3173,12 +4421,18 @@ export namespace ProtocolMapping {
3173
4421
  * in case of any other input, function throws an exception.
3174
4422
  * Each binding function call produces Runtime.bindingCalled notification.
3175
4423
  */
3176
- 'Runtime.addBinding': {paramsType: [Protocol.Runtime.AddBindingRequest]; returnType: void;};
4424
+ 'Runtime.addBinding': {
4425
+ paramsType: [Protocol.Runtime.AddBindingRequest];
4426
+ returnType: void;
4427
+ };
3177
4428
  /**
3178
4429
  * This method does not remove binding function from global object but
3179
4430
  * unsubscribes current runtime agent from Runtime.bindingCalled notifications.
3180
4431
  */
3181
- 'Runtime.removeBinding': {paramsType: [Protocol.Runtime.RemoveBindingRequest]; returnType: void;};
4432
+ 'Runtime.removeBinding': {
4433
+ paramsType: [Protocol.Runtime.RemoveBindingRequest];
4434
+ returnType: void;
4435
+ };
3182
4436
  /**
3183
4437
  * This method tries to lookup and populate exception details for a
3184
4438
  * JavaScript Error object.
@@ -3193,7 +4447,10 @@ export namespace ProtocolMapping {
3193
4447
  /**
3194
4448
  * Returns supported domains.
3195
4449
  */
3196
- 'Schema.getDomains': {paramsType: []; returnType: Protocol.Schema.GetDomainsResponse;};
4450
+ 'Schema.getDomains': {
4451
+ paramsType: [];
4452
+ returnType: Protocol.Schema.GetDomainsResponse;
4453
+ };
3197
4454
  }
3198
4455
  }
3199
4456