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
@@ -14,6 +14,7 @@ import type * as Protocol from './protocol.js'
14
14
  * API generated from Protocol commands and events.
15
15
  */
16
16
  declare namespace ProtocolProxyApi {
17
+
17
18
  export type ProtocolDomainName = keyof ProtocolApi;
18
19
 
19
20
  export interface ProtocolApi {
@@ -106,6 +107,7 @@ declare namespace ProtocolProxyApi {
106
107
  Runtime: RuntimeApi;
107
108
 
108
109
  Schema: SchemaApi;
110
+
109
111
  }
110
112
 
111
113
  export interface ProtocolDispatchers {
@@ -198,6 +200,7 @@ declare namespace ProtocolProxyApi {
198
200
  Runtime: RuntimeDispatcher;
199
201
 
200
202
  Schema: SchemaDispatcher;
203
+
201
204
  }
202
205
 
203
206
 
@@ -216,35 +219,30 @@ declare namespace ProtocolProxyApi {
216
219
  /**
217
220
  * Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
218
221
  */
219
- invoke_getPartialAXTree(params: Protocol.Accessibility.GetPartialAXTreeRequest):
220
- Promise<Protocol.Accessibility.GetPartialAXTreeResponse>;
222
+ invoke_getPartialAXTree(params: Protocol.Accessibility.GetPartialAXTreeRequest): Promise<Protocol.Accessibility.GetPartialAXTreeResponse>;
221
223
 
222
224
  /**
223
225
  * Fetches the entire accessibility tree for the root Document
224
226
  */
225
- invoke_getFullAXTree(params: Protocol.Accessibility.GetFullAXTreeRequest):
226
- Promise<Protocol.Accessibility.GetFullAXTreeResponse>;
227
+ invoke_getFullAXTree(params: Protocol.Accessibility.GetFullAXTreeRequest): Promise<Protocol.Accessibility.GetFullAXTreeResponse>;
227
228
 
228
229
  /**
229
230
  * Fetches the root node.
230
231
  * Requires `enable()` to have been called previously.
231
232
  */
232
- invoke_getRootAXNode(params: Protocol.Accessibility.GetRootAXNodeRequest):
233
- Promise<Protocol.Accessibility.GetRootAXNodeResponse>;
233
+ invoke_getRootAXNode(params: Protocol.Accessibility.GetRootAXNodeRequest): Promise<Protocol.Accessibility.GetRootAXNodeResponse>;
234
234
 
235
235
  /**
236
236
  * Fetches a node and all ancestors up to and including the root.
237
237
  * Requires `enable()` to have been called previously.
238
238
  */
239
- invoke_getAXNodeAndAncestors(params: Protocol.Accessibility.GetAXNodeAndAncestorsRequest):
240
- Promise<Protocol.Accessibility.GetAXNodeAndAncestorsResponse>;
239
+ invoke_getAXNodeAndAncestors(params: Protocol.Accessibility.GetAXNodeAndAncestorsRequest): Promise<Protocol.Accessibility.GetAXNodeAndAncestorsResponse>;
241
240
 
242
241
  /**
243
242
  * Fetches a particular accessibility node by AXNodeId.
244
243
  * Requires `enable()` to have been called previously.
245
244
  */
246
- invoke_getChildAXNodes(params: Protocol.Accessibility.GetChildAXNodesRequest):
247
- Promise<Protocol.Accessibility.GetChildAXNodesResponse>;
245
+ invoke_getChildAXNodes(params: Protocol.Accessibility.GetChildAXNodesRequest): Promise<Protocol.Accessibility.GetChildAXNodesResponse>;
248
246
 
249
247
  /**
250
248
  * Query a DOM node's accessibility subtree for accessible name and role.
@@ -253,8 +251,8 @@ declare namespace ProtocolProxyApi {
253
251
  * node is specified, or the DOM node does not exist, the command returns an error. If neither
254
252
  * `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
255
253
  */
256
- invoke_queryAXTree(params: Protocol.Accessibility.QueryAXTreeRequest):
257
- Promise<Protocol.Accessibility.QueryAXTreeResponse>;
254
+ invoke_queryAXTree(params: Protocol.Accessibility.QueryAXTreeRequest): Promise<Protocol.Accessibility.QueryAXTreeResponse>;
255
+
258
256
  }
259
257
  export interface AccessibilityDispatcher {
260
258
  /**
@@ -267,6 +265,7 @@ declare namespace ProtocolProxyApi {
267
265
  * The nodesUpdated event is sent every time a previously requested node has changed the in tree.
268
266
  */
269
267
  nodesUpdated(params: Protocol.Accessibility.NodesUpdatedEvent): void;
268
+
270
269
  }
271
270
 
272
271
  export interface AnimationApi {
@@ -283,8 +282,7 @@ declare namespace ProtocolProxyApi {
283
282
  /**
284
283
  * Returns the current time of the an animation.
285
284
  */
286
- invoke_getCurrentTime(params: Protocol.Animation.GetCurrentTimeRequest):
287
- Promise<Protocol.Animation.GetCurrentTimeResponse>;
285
+ invoke_getCurrentTime(params: Protocol.Animation.GetCurrentTimeRequest): Promise<Protocol.Animation.GetCurrentTimeResponse>;
288
286
 
289
287
  /**
290
288
  * Gets the playback rate of the document timeline.
@@ -294,20 +292,17 @@ declare namespace ProtocolProxyApi {
294
292
  /**
295
293
  * Releases a set of animations to no longer be manipulated.
296
294
  */
297
- invoke_releaseAnimations(params: Protocol.Animation.ReleaseAnimationsRequest):
298
- Promise<Protocol.ProtocolResponseWithError>;
295
+ invoke_releaseAnimations(params: Protocol.Animation.ReleaseAnimationsRequest): Promise<Protocol.ProtocolResponseWithError>;
299
296
 
300
297
  /**
301
298
  * Gets the remote object of the Animation.
302
299
  */
303
- invoke_resolveAnimation(params: Protocol.Animation.ResolveAnimationRequest):
304
- Promise<Protocol.Animation.ResolveAnimationResponse>;
300
+ invoke_resolveAnimation(params: Protocol.Animation.ResolveAnimationRequest): Promise<Protocol.Animation.ResolveAnimationResponse>;
305
301
 
306
302
  /**
307
303
  * Seek a set of animations to a particular time within each animation.
308
304
  */
309
- invoke_seekAnimations(params: Protocol.Animation.SeekAnimationsRequest):
310
- Promise<Protocol.ProtocolResponseWithError>;
305
+ invoke_seekAnimations(params: Protocol.Animation.SeekAnimationsRequest): Promise<Protocol.ProtocolResponseWithError>;
311
306
 
312
307
  /**
313
308
  * Sets the paused state of a set of animations.
@@ -317,13 +312,13 @@ declare namespace ProtocolProxyApi {
317
312
  /**
318
313
  * Sets the playback rate of the document timeline.
319
314
  */
320
- invoke_setPlaybackRate(params: Protocol.Animation.SetPlaybackRateRequest):
321
- Promise<Protocol.ProtocolResponseWithError>;
315
+ invoke_setPlaybackRate(params: Protocol.Animation.SetPlaybackRateRequest): Promise<Protocol.ProtocolResponseWithError>;
322
316
 
323
317
  /**
324
318
  * Sets the timing of an animation node.
325
319
  */
326
320
  invoke_setTiming(params: Protocol.Animation.SetTimingRequest): Promise<Protocol.ProtocolResponseWithError>;
321
+
327
322
  }
328
323
  export interface AnimationDispatcher {
329
324
  /**
@@ -340,6 +335,7 @@ declare namespace ProtocolProxyApi {
340
335
  * Event for animation that has been started.
341
336
  */
342
337
  animationStarted(params: Protocol.Animation.AnimationStartedEvent): void;
338
+
343
339
  }
344
340
 
345
341
  export interface AuditsApi {
@@ -347,8 +343,7 @@ declare namespace ProtocolProxyApi {
347
343
  * Returns the response body and size if it were re-encoded with the specified settings. Only
348
344
  * applies to images.
349
345
  */
350
- invoke_getEncodedResponse(params: Protocol.Audits.GetEncodedResponseRequest):
351
- Promise<Protocol.Audits.GetEncodedResponseResponse>;
346
+ invoke_getEncodedResponse(params: Protocol.Audits.GetEncodedResponseRequest): Promise<Protocol.Audits.GetEncodedResponseResponse>;
352
347
 
353
348
  /**
354
349
  * Disables issues domain, prevents further issues from being reported to the client.
@@ -366,35 +361,34 @@ declare namespace ProtocolProxyApi {
366
361
  * using Audits.issueAdded event.
367
362
  */
368
363
  invoke_checkContrast(params: Protocol.Audits.CheckContrastRequest): Promise<Protocol.ProtocolResponseWithError>;
364
+
369
365
  }
370
366
  export interface AuditsDispatcher {
371
367
  issueAdded(params: Protocol.Audits.IssueAddedEvent): void;
368
+
372
369
  }
373
370
 
374
371
  export interface BackgroundServiceApi {
375
372
  /**
376
373
  * Enables event updates for the service.
377
374
  */
378
- invoke_startObserving(params: Protocol.BackgroundService.StartObservingRequest):
379
- Promise<Protocol.ProtocolResponseWithError>;
375
+ invoke_startObserving(params: Protocol.BackgroundService.StartObservingRequest): Promise<Protocol.ProtocolResponseWithError>;
380
376
 
381
377
  /**
382
378
  * Disables event updates for the service.
383
379
  */
384
- invoke_stopObserving(params: Protocol.BackgroundService.StopObservingRequest):
385
- Promise<Protocol.ProtocolResponseWithError>;
380
+ invoke_stopObserving(params: Protocol.BackgroundService.StopObservingRequest): Promise<Protocol.ProtocolResponseWithError>;
386
381
 
387
382
  /**
388
383
  * Set the recording state for the service.
389
384
  */
390
- invoke_setRecording(params: Protocol.BackgroundService.SetRecordingRequest):
391
- Promise<Protocol.ProtocolResponseWithError>;
385
+ invoke_setRecording(params: Protocol.BackgroundService.SetRecordingRequest): Promise<Protocol.ProtocolResponseWithError>;
392
386
 
393
387
  /**
394
388
  * Clears all stored data for the service.
395
389
  */
396
- invoke_clearEvents(params: Protocol.BackgroundService.ClearEventsRequest):
397
- Promise<Protocol.ProtocolResponseWithError>;
390
+ invoke_clearEvents(params: Protocol.BackgroundService.ClearEventsRequest): Promise<Protocol.ProtocolResponseWithError>;
391
+
398
392
  }
399
393
  export interface BackgroundServiceDispatcher {
400
394
  /**
@@ -407,6 +401,7 @@ declare namespace ProtocolProxyApi {
407
401
  * events afterwards if enabled and recording.
408
402
  */
409
403
  backgroundServiceEventReceived(params: Protocol.BackgroundService.BackgroundServiceEventReceivedEvent): void;
404
+
410
405
  }
411
406
 
412
407
  export interface BrowserApi {
@@ -418,20 +413,17 @@ declare namespace ProtocolProxyApi {
418
413
  /**
419
414
  * Grant specific permissions to the given origin and reject all others.
420
415
  */
421
- invoke_grantPermissions(params: Protocol.Browser.GrantPermissionsRequest):
422
- Promise<Protocol.ProtocolResponseWithError>;
416
+ invoke_grantPermissions(params: Protocol.Browser.GrantPermissionsRequest): Promise<Protocol.ProtocolResponseWithError>;
423
417
 
424
418
  /**
425
419
  * Reset all permission management for all origins.
426
420
  */
427
- invoke_resetPermissions(params: Protocol.Browser.ResetPermissionsRequest):
428
- Promise<Protocol.ProtocolResponseWithError>;
421
+ invoke_resetPermissions(params: Protocol.Browser.ResetPermissionsRequest): Promise<Protocol.ProtocolResponseWithError>;
429
422
 
430
423
  /**
431
424
  * Set the behavior when downloading a file.
432
425
  */
433
- invoke_setDownloadBehavior(params: Protocol.Browser.SetDownloadBehaviorRequest):
434
- Promise<Protocol.ProtocolResponseWithError>;
426
+ invoke_setDownloadBehavior(params: Protocol.Browser.SetDownloadBehaviorRequest): Promise<Protocol.ProtocolResponseWithError>;
435
427
 
436
428
  /**
437
429
  * Cancel a download if in progress
@@ -467,8 +459,7 @@ declare namespace ProtocolProxyApi {
467
459
  /**
468
460
  * Get Chrome histograms.
469
461
  */
470
- invoke_getHistograms(params: Protocol.Browser.GetHistogramsRequest):
471
- Promise<Protocol.Browser.GetHistogramsResponse>;
462
+ invoke_getHistograms(params: Protocol.Browser.GetHistogramsRequest): Promise<Protocol.Browser.GetHistogramsResponse>;
472
463
 
473
464
  /**
474
465
  * Get a Chrome histogram by name.
@@ -478,20 +469,17 @@ declare namespace ProtocolProxyApi {
478
469
  /**
479
470
  * Get position and size of the browser window.
480
471
  */
481
- invoke_getWindowBounds(params: Protocol.Browser.GetWindowBoundsRequest):
482
- Promise<Protocol.Browser.GetWindowBoundsResponse>;
472
+ invoke_getWindowBounds(params: Protocol.Browser.GetWindowBoundsRequest): Promise<Protocol.Browser.GetWindowBoundsResponse>;
483
473
 
484
474
  /**
485
475
  * Get the browser window that contains the devtools target.
486
476
  */
487
- invoke_getWindowForTarget(params: Protocol.Browser.GetWindowForTargetRequest):
488
- Promise<Protocol.Browser.GetWindowForTargetResponse>;
477
+ invoke_getWindowForTarget(params: Protocol.Browser.GetWindowForTargetRequest): Promise<Protocol.Browser.GetWindowForTargetResponse>;
489
478
 
490
479
  /**
491
480
  * Set position and/or size of the browser window.
492
481
  */
493
- invoke_setWindowBounds(params: Protocol.Browser.SetWindowBoundsRequest):
494
- Promise<Protocol.ProtocolResponseWithError>;
482
+ invoke_setWindowBounds(params: Protocol.Browser.SetWindowBoundsRequest): Promise<Protocol.ProtocolResponseWithError>;
495
483
 
496
484
  /**
497
485
  * Set dock tile details, platform-specific.
@@ -501,8 +489,8 @@ declare namespace ProtocolProxyApi {
501
489
  /**
502
490
  * Invoke custom browser commands used by telemetry.
503
491
  */
504
- invoke_executeBrowserCommand(params: Protocol.Browser.ExecuteBrowserCommandRequest):
505
- Promise<Protocol.ProtocolResponseWithError>;
492
+ invoke_executeBrowserCommand(params: Protocol.Browser.ExecuteBrowserCommandRequest): Promise<Protocol.ProtocolResponseWithError>;
493
+
506
494
  }
507
495
  export interface BrowserDispatcher {
508
496
  /**
@@ -514,6 +502,7 @@ declare namespace ProtocolProxyApi {
514
502
  * Fired when download makes progress. Last call has |done| == true.
515
503
  */
516
504
  downloadProgress(params: Protocol.Browser.DownloadProgressEvent): void;
505
+
517
506
  }
518
507
 
519
508
  export interface CSSApi {
@@ -526,14 +515,12 @@ declare namespace ProtocolProxyApi {
526
515
  /**
527
516
  * Returns all class names from specified stylesheet.
528
517
  */
529
- invoke_collectClassNames(params: Protocol.CSS.CollectClassNamesRequest):
530
- Promise<Protocol.CSS.CollectClassNamesResponse>;
518
+ invoke_collectClassNames(params: Protocol.CSS.CollectClassNamesRequest): Promise<Protocol.CSS.CollectClassNamesResponse>;
531
519
 
532
520
  /**
533
521
  * Creates a new special "via-inspector" stylesheet in the frame with given `frameId`.
534
522
  */
535
- invoke_createStyleSheet(params: Protocol.CSS.CreateStyleSheetRequest):
536
- Promise<Protocol.CSS.CreateStyleSheetResponse>;
523
+ invoke_createStyleSheet(params: Protocol.CSS.CreateStyleSheetRequest): Promise<Protocol.CSS.CreateStyleSheetResponse>;
537
524
 
538
525
  /**
539
526
  * Disables the CSS agent for the given page.
@@ -552,27 +539,23 @@ declare namespace ProtocolProxyApi {
552
539
  */
553
540
  invoke_forcePseudoState(params: Protocol.CSS.ForcePseudoStateRequest): Promise<Protocol.ProtocolResponseWithError>;
554
541
 
555
- invoke_getBackgroundColors(params: Protocol.CSS.GetBackgroundColorsRequest):
556
- Promise<Protocol.CSS.GetBackgroundColorsResponse>;
542
+ invoke_getBackgroundColors(params: Protocol.CSS.GetBackgroundColorsRequest): Promise<Protocol.CSS.GetBackgroundColorsResponse>;
557
543
 
558
544
  /**
559
545
  * Returns the computed style for a DOM node identified by `nodeId`.
560
546
  */
561
- invoke_getComputedStyleForNode(params: Protocol.CSS.GetComputedStyleForNodeRequest):
562
- Promise<Protocol.CSS.GetComputedStyleForNodeResponse>;
547
+ invoke_getComputedStyleForNode(params: Protocol.CSS.GetComputedStyleForNodeRequest): Promise<Protocol.CSS.GetComputedStyleForNodeResponse>;
563
548
 
564
549
  /**
565
550
  * Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
566
551
  * attributes) for a DOM node identified by `nodeId`.
567
552
  */
568
- invoke_getInlineStylesForNode(params: Protocol.CSS.GetInlineStylesForNodeRequest):
569
- Promise<Protocol.CSS.GetInlineStylesForNodeResponse>;
553
+ invoke_getInlineStylesForNode(params: Protocol.CSS.GetInlineStylesForNodeRequest): Promise<Protocol.CSS.GetInlineStylesForNodeResponse>;
570
554
 
571
555
  /**
572
556
  * Returns requested styles for a DOM node identified by `nodeId`.
573
557
  */
574
- invoke_getMatchedStylesForNode(params: Protocol.CSS.GetMatchedStylesForNodeRequest):
575
- Promise<Protocol.CSS.GetMatchedStylesForNodeResponse>;
558
+ invoke_getMatchedStylesForNode(params: Protocol.CSS.GetMatchedStylesForNodeRequest): Promise<Protocol.CSS.GetMatchedStylesForNodeResponse>;
576
559
 
577
560
  /**
578
561
  * Returns all media queries parsed by the rendering engine.
@@ -583,14 +566,12 @@ declare namespace ProtocolProxyApi {
583
566
  * Requests information about platform fonts which we used to render child TextNodes in the given
584
567
  * node.
585
568
  */
586
- invoke_getPlatformFontsForNode(params: Protocol.CSS.GetPlatformFontsForNodeRequest):
587
- Promise<Protocol.CSS.GetPlatformFontsForNodeResponse>;
569
+ invoke_getPlatformFontsForNode(params: Protocol.CSS.GetPlatformFontsForNodeRequest): Promise<Protocol.CSS.GetPlatformFontsForNodeResponse>;
588
570
 
589
571
  /**
590
572
  * Returns the current textual content for a stylesheet.
591
573
  */
592
- invoke_getStyleSheetText(params: Protocol.CSS.GetStyleSheetTextRequest):
593
- Promise<Protocol.CSS.GetStyleSheetTextResponse>;
574
+ invoke_getStyleSheetText(params: Protocol.CSS.GetStyleSheetTextRequest): Promise<Protocol.CSS.GetStyleSheetTextResponse>;
594
575
 
595
576
  /**
596
577
  * Returns all layers parsed by the rendering engine for the tree scope of a node.
@@ -598,8 +579,7 @@ declare namespace ProtocolProxyApi {
598
579
  * layer for the nearest ancestor document or shadow root. The layer root contains
599
580
  * the full layer tree for the tree scope and their ordering.
600
581
  */
601
- invoke_getLayersForNode(params: Protocol.CSS.GetLayersForNodeRequest):
602
- Promise<Protocol.CSS.GetLayersForNodeResponse>;
582
+ invoke_getLayersForNode(params: Protocol.CSS.GetLayersForNodeRequest): Promise<Protocol.CSS.GetLayersForNodeResponse>;
603
583
 
604
584
  /**
605
585
  * Starts tracking the given computed styles for updates. The specified array of properties
@@ -609,8 +589,7 @@ declare namespace ProtocolProxyApi {
609
589
  * by the DOM agent. If no changes to the tracked properties occur after the node has been pushed
610
590
  * to the front-end, no updates will be issued for the node.
611
591
  */
612
- invoke_trackComputedStyleUpdates(params: Protocol.CSS.TrackComputedStyleUpdatesRequest):
613
- Promise<Protocol.ProtocolResponseWithError>;
592
+ invoke_trackComputedStyleUpdates(params: Protocol.CSS.TrackComputedStyleUpdatesRequest): Promise<Protocol.ProtocolResponseWithError>;
614
593
 
615
594
  /**
616
595
  * Polls the next batch of computed style updates.
@@ -621,8 +600,7 @@ declare namespace ProtocolProxyApi {
621
600
  * Find a rule with the given active property for the given node and set the new value for this
622
601
  * property
623
602
  */
624
- invoke_setEffectivePropertyValueForNode(params: Protocol.CSS.SetEffectivePropertyValueForNodeRequest):
625
- Promise<Protocol.ProtocolResponseWithError>;
603
+ invoke_setEffectivePropertyValueForNode(params: Protocol.CSS.SetEffectivePropertyValueForNodeRequest): Promise<Protocol.ProtocolResponseWithError>;
626
604
 
627
605
  /**
628
606
  * Modifies the keyframe rule key text.
@@ -637,8 +615,7 @@ declare namespace ProtocolProxyApi {
637
615
  /**
638
616
  * Modifies the expression of a container query.
639
617
  */
640
- invoke_setContainerQueryText(params: Protocol.CSS.SetContainerQueryTextRequest):
641
- Promise<Protocol.CSS.SetContainerQueryTextResponse>;
618
+ invoke_setContainerQueryText(params: Protocol.CSS.SetContainerQueryTextRequest): Promise<Protocol.CSS.SetContainerQueryTextResponse>;
642
619
 
643
620
  /**
644
621
  * Modifies the expression of a supports at-rule.
@@ -658,8 +635,7 @@ declare namespace ProtocolProxyApi {
658
635
  /**
659
636
  * Sets the new stylesheet text.
660
637
  */
661
- invoke_setStyleSheetText(params: Protocol.CSS.SetStyleSheetTextRequest):
662
- Promise<Protocol.CSS.SetStyleSheetTextResponse>;
638
+ invoke_setStyleSheetText(params: Protocol.CSS.SetStyleSheetTextRequest): Promise<Protocol.CSS.SetStyleSheetTextResponse>;
663
639
 
664
640
  /**
665
641
  * Applies specified style edits one after another in the given order.
@@ -686,8 +662,8 @@ declare namespace ProtocolProxyApi {
686
662
  /**
687
663
  * Enables/disables rendering of local CSS fonts (enabled by default).
688
664
  */
689
- invoke_setLocalFontsEnabled(params: Protocol.CSS.SetLocalFontsEnabledRequest):
690
- Promise<Protocol.ProtocolResponseWithError>;
665
+ invoke_setLocalFontsEnabled(params: Protocol.CSS.SetLocalFontsEnabledRequest): Promise<Protocol.ProtocolResponseWithError>;
666
+
691
667
  }
692
668
  export interface CSSDispatcher {
693
669
  /**
@@ -716,6 +692,7 @@ declare namespace ProtocolProxyApi {
716
692
  * Fired whenever an active document stylesheet is removed.
717
693
  */
718
694
  styleSheetRemoved(params: Protocol.CSS.StyleSheetRemovedEvent): void;
695
+
719
696
  }
720
697
 
721
698
  export interface CacheStorageApi {
@@ -732,22 +709,21 @@ declare namespace ProtocolProxyApi {
732
709
  /**
733
710
  * Requests cache names.
734
711
  */
735
- invoke_requestCacheNames(params: Protocol.CacheStorage.RequestCacheNamesRequest):
736
- Promise<Protocol.CacheStorage.RequestCacheNamesResponse>;
712
+ invoke_requestCacheNames(params: Protocol.CacheStorage.RequestCacheNamesRequest): Promise<Protocol.CacheStorage.RequestCacheNamesResponse>;
737
713
 
738
714
  /**
739
715
  * Fetches cache entry.
740
716
  */
741
- invoke_requestCachedResponse(params: Protocol.CacheStorage.RequestCachedResponseRequest):
742
- Promise<Protocol.CacheStorage.RequestCachedResponseResponse>;
717
+ invoke_requestCachedResponse(params: Protocol.CacheStorage.RequestCachedResponseRequest): Promise<Protocol.CacheStorage.RequestCachedResponseResponse>;
743
718
 
744
719
  /**
745
720
  * Requests data from cache.
746
721
  */
747
- invoke_requestEntries(params: Protocol.CacheStorage.RequestEntriesRequest):
748
- Promise<Protocol.CacheStorage.RequestEntriesResponse>;
722
+ invoke_requestEntries(params: Protocol.CacheStorage.RequestEntriesRequest): Promise<Protocol.CacheStorage.RequestEntriesResponse>;
723
+
724
+ }
725
+ export interface CacheStorageDispatcher {
749
726
  }
750
- export interface CacheStorageDispatcher {}
751
727
 
752
728
  export interface CastApi {
753
729
  /**
@@ -773,19 +749,18 @@ declare namespace ProtocolProxyApi {
773
749
  /**
774
750
  * Starts mirroring the desktop to the sink.
775
751
  */
776
- invoke_startDesktopMirroring(params: Protocol.Cast.StartDesktopMirroringRequest):
777
- Promise<Protocol.ProtocolResponseWithError>;
752
+ invoke_startDesktopMirroring(params: Protocol.Cast.StartDesktopMirroringRequest): Promise<Protocol.ProtocolResponseWithError>;
778
753
 
779
754
  /**
780
755
  * Starts mirroring the tab to the sink.
781
756
  */
782
- invoke_startTabMirroring(params: Protocol.Cast.StartTabMirroringRequest):
783
- Promise<Protocol.ProtocolResponseWithError>;
757
+ invoke_startTabMirroring(params: Protocol.Cast.StartTabMirroringRequest): Promise<Protocol.ProtocolResponseWithError>;
784
758
 
785
759
  /**
786
760
  * Stops the active Cast session on the sink.
787
761
  */
788
762
  invoke_stopCasting(params: Protocol.Cast.StopCastingRequest): Promise<Protocol.ProtocolResponseWithError>;
763
+
789
764
  }
790
765
  export interface CastDispatcher {
791
766
  /**
@@ -799,14 +774,14 @@ declare namespace ProtocolProxyApi {
799
774
  * |issueMessage| is empty if there is no issue.
800
775
  */
801
776
  issueUpdated(params: Protocol.Cast.IssueUpdatedEvent): void;
777
+
802
778
  }
803
779
 
804
780
  export interface DOMApi {
805
781
  /**
806
782
  * Collects class names for the node with given id and all of it's child nodes.
807
783
  */
808
- invoke_collectClassNamesFromSubtree(params: Protocol.DOM.CollectClassNamesFromSubtreeRequest):
809
- Promise<Protocol.DOM.CollectClassNamesFromSubtreeResponse>;
784
+ invoke_collectClassNamesFromSubtree(params: Protocol.DOM.CollectClassNamesFromSubtreeRequest): Promise<Protocol.DOM.CollectClassNamesFromSubtreeResponse>;
810
785
 
811
786
  /**
812
787
  * Creates a deep copy of the specified node and places it into the target container before the
@@ -825,8 +800,7 @@ declare namespace ProtocolProxyApi {
825
800
  * Note: exactly one between nodeId, backendNodeId and objectId should be passed
826
801
  * to identify the node.
827
802
  */
828
- invoke_scrollIntoViewIfNeeded(params: Protocol.DOM.ScrollIntoViewIfNeededRequest):
829
- Promise<Protocol.ProtocolResponseWithError>;
803
+ invoke_scrollIntoViewIfNeeded(params: Protocol.DOM.ScrollIntoViewIfNeededRequest): Promise<Protocol.ProtocolResponseWithError>;
830
804
 
831
805
  /**
832
806
  * Disables DOM agent for the given page.
@@ -837,8 +811,7 @@ declare namespace ProtocolProxyApi {
837
811
  * Discards search results from the session with the given id. `getSearchResults` should no longer
838
812
  * be called for that search.
839
813
  */
840
- invoke_discardSearchResults(params: Protocol.DOM.DiscardSearchResultsRequest):
841
- Promise<Protocol.ProtocolResponseWithError>;
814
+ invoke_discardSearchResults(params: Protocol.DOM.DiscardSearchResultsRequest): Promise<Protocol.ProtocolResponseWithError>;
842
815
 
843
816
  /**
844
817
  * Enables DOM agent for the given page.
@@ -876,21 +849,18 @@ declare namespace ProtocolProxyApi {
876
849
  * Deprecated, as it is not designed to work well with the rest of the DOM agent.
877
850
  * Use DOMSnapshot.captureSnapshot instead.
878
851
  */
879
- invoke_getFlattenedDocument(params: Protocol.DOM.GetFlattenedDocumentRequest):
880
- Promise<Protocol.DOM.GetFlattenedDocumentResponse>;
852
+ invoke_getFlattenedDocument(params: Protocol.DOM.GetFlattenedDocumentRequest): Promise<Protocol.DOM.GetFlattenedDocumentResponse>;
881
853
 
882
854
  /**
883
855
  * Finds nodes with a given computed style in a subtree.
884
856
  */
885
- invoke_getNodesForSubtreeByStyle(params: Protocol.DOM.GetNodesForSubtreeByStyleRequest):
886
- Promise<Protocol.DOM.GetNodesForSubtreeByStyleResponse>;
857
+ invoke_getNodesForSubtreeByStyle(params: Protocol.DOM.GetNodesForSubtreeByStyleRequest): Promise<Protocol.DOM.GetNodesForSubtreeByStyleResponse>;
887
858
 
888
859
  /**
889
860
  * Returns node id at given location. Depending on whether DOM domain is enabled, nodeId is
890
861
  * either returned or not.
891
862
  */
892
- invoke_getNodeForLocation(params: Protocol.DOM.GetNodeForLocationRequest):
893
- Promise<Protocol.DOM.GetNodeForLocationResponse>;
863
+ invoke_getNodeForLocation(params: Protocol.DOM.GetNodeForLocationRequest): Promise<Protocol.DOM.GetNodeForLocationResponse>;
894
864
 
895
865
  /**
896
866
  * Returns node's HTML markup.
@@ -900,15 +870,13 @@ declare namespace ProtocolProxyApi {
900
870
  /**
901
871
  * Returns the id of the nearest ancestor that is a relayout boundary.
902
872
  */
903
- invoke_getRelayoutBoundary(params: Protocol.DOM.GetRelayoutBoundaryRequest):
904
- Promise<Protocol.DOM.GetRelayoutBoundaryResponse>;
873
+ invoke_getRelayoutBoundary(params: Protocol.DOM.GetRelayoutBoundaryRequest): Promise<Protocol.DOM.GetRelayoutBoundaryResponse>;
905
874
 
906
875
  /**
907
876
  * Returns search results from given `fromIndex` to given `toIndex` from the search with the given
908
877
  * identifier.
909
878
  */
910
- invoke_getSearchResults(params: Protocol.DOM.GetSearchResultsRequest):
911
- Promise<Protocol.DOM.GetSearchResultsResponse>;
879
+ invoke_getSearchResults(params: Protocol.DOM.GetSearchResultsRequest): Promise<Protocol.DOM.GetSearchResultsResponse>;
912
880
 
913
881
  /**
914
882
  * Hides any highlight.
@@ -944,14 +912,12 @@ declare namespace ProtocolProxyApi {
944
912
  /**
945
913
  * Requests that the node is sent to the caller given its path. // FIXME, use XPath
946
914
  */
947
- invoke_pushNodeByPathToFrontend(params: Protocol.DOM.PushNodeByPathToFrontendRequest):
948
- Promise<Protocol.DOM.PushNodeByPathToFrontendResponse>;
915
+ invoke_pushNodeByPathToFrontend(params: Protocol.DOM.PushNodeByPathToFrontendRequest): Promise<Protocol.DOM.PushNodeByPathToFrontendResponse>;
949
916
 
950
917
  /**
951
918
  * Requests that a batch of nodes is sent to the caller given their backend node ids.
952
919
  */
953
- invoke_pushNodesByBackendIdsToFrontend(params: Protocol.DOM.PushNodesByBackendIdsToFrontendRequest):
954
- Promise<Protocol.DOM.PushNodesByBackendIdsToFrontendResponse>;
920
+ invoke_pushNodesByBackendIdsToFrontend(params: Protocol.DOM.PushNodesByBackendIdsToFrontendRequest): Promise<Protocol.DOM.PushNodesByBackendIdsToFrontendResponse>;
955
921
 
956
922
  /**
957
923
  * Executes `querySelector` on a given node.
@@ -961,8 +927,7 @@ declare namespace ProtocolProxyApi {
961
927
  /**
962
928
  * Executes `querySelectorAll` on a given node.
963
929
  */
964
- invoke_querySelectorAll(params: Protocol.DOM.QuerySelectorAllRequest):
965
- Promise<Protocol.DOM.QuerySelectorAllResponse>;
930
+ invoke_querySelectorAll(params: Protocol.DOM.QuerySelectorAllRequest): Promise<Protocol.DOM.QuerySelectorAllResponse>;
966
931
 
967
932
  /**
968
933
  * Returns NodeIds of current top layer elements.
@@ -991,8 +956,7 @@ declare namespace ProtocolProxyApi {
991
956
  * `setChildNodes` events where not only immediate children are retrieved, but all children down to
992
957
  * the specified depth.
993
958
  */
994
- invoke_requestChildNodes(params: Protocol.DOM.RequestChildNodesRequest):
995
- Promise<Protocol.ProtocolResponseWithError>;
959
+ invoke_requestChildNodes(params: Protocol.DOM.RequestChildNodesRequest): Promise<Protocol.ProtocolResponseWithError>;
996
960
 
997
961
  /**
998
962
  * Requests that the node is sent to the caller given the JavaScript node object reference. All
@@ -1009,33 +973,28 @@ declare namespace ProtocolProxyApi {
1009
973
  /**
1010
974
  * Sets attribute for an element with given id.
1011
975
  */
1012
- invoke_setAttributeValue(params: Protocol.DOM.SetAttributeValueRequest):
1013
- Promise<Protocol.ProtocolResponseWithError>;
976
+ invoke_setAttributeValue(params: Protocol.DOM.SetAttributeValueRequest): Promise<Protocol.ProtocolResponseWithError>;
1014
977
 
1015
978
  /**
1016
979
  * Sets attributes on element with given id. This method is useful when user edits some existing
1017
980
  * attribute value and types in several attribute name/value pairs.
1018
981
  */
1019
- invoke_setAttributesAsText(params: Protocol.DOM.SetAttributesAsTextRequest):
1020
- Promise<Protocol.ProtocolResponseWithError>;
982
+ invoke_setAttributesAsText(params: Protocol.DOM.SetAttributesAsTextRequest): Promise<Protocol.ProtocolResponseWithError>;
1021
983
 
1022
984
  /**
1023
985
  * Sets files for the given file input element.
1024
986
  */
1025
- invoke_setFileInputFiles(params: Protocol.DOM.SetFileInputFilesRequest):
1026
- Promise<Protocol.ProtocolResponseWithError>;
987
+ invoke_setFileInputFiles(params: Protocol.DOM.SetFileInputFilesRequest): Promise<Protocol.ProtocolResponseWithError>;
1027
988
 
1028
989
  /**
1029
990
  * Sets if stack traces should be captured for Nodes. See `Node.getNodeStackTraces`. Default is disabled.
1030
991
  */
1031
- invoke_setNodeStackTracesEnabled(params: Protocol.DOM.SetNodeStackTracesEnabledRequest):
1032
- Promise<Protocol.ProtocolResponseWithError>;
992
+ invoke_setNodeStackTracesEnabled(params: Protocol.DOM.SetNodeStackTracesEnabledRequest): Promise<Protocol.ProtocolResponseWithError>;
1033
993
 
1034
994
  /**
1035
995
  * Gets stack traces associated with a Node. As of now, only provides stack trace for Node creation.
1036
996
  */
1037
- invoke_getNodeStackTraces(params: Protocol.DOM.GetNodeStackTracesRequest):
1038
- Promise<Protocol.DOM.GetNodeStackTracesResponse>;
997
+ invoke_getNodeStackTraces(params: Protocol.DOM.GetNodeStackTracesRequest): Promise<Protocol.DOM.GetNodeStackTracesResponse>;
1039
998
 
1040
999
  /**
1041
1000
  * Returns file information for the given
@@ -1079,15 +1038,14 @@ declare namespace ProtocolProxyApi {
1079
1038
  * If containerName is given, it will find the nearest container with a matching name;
1080
1039
  * otherwise it will find the nearest container regardless of its container name.
1081
1040
  */
1082
- invoke_getContainerForNode(params: Protocol.DOM.GetContainerForNodeRequest):
1083
- Promise<Protocol.DOM.GetContainerForNodeResponse>;
1041
+ invoke_getContainerForNode(params: Protocol.DOM.GetContainerForNodeRequest): Promise<Protocol.DOM.GetContainerForNodeResponse>;
1084
1042
 
1085
1043
  /**
1086
1044
  * Returns the descendants of a container query container that have
1087
1045
  * container queries against this container.
1088
1046
  */
1089
- invoke_getQueryingDescendantsForContainer(params: Protocol.DOM.GetQueryingDescendantsForContainerRequest):
1090
- Promise<Protocol.DOM.GetQueryingDescendantsForContainerResponse>;
1047
+ invoke_getQueryingDescendantsForContainer(params: Protocol.DOM.GetQueryingDescendantsForContainerRequest): Promise<Protocol.DOM.GetQueryingDescendantsForContainerResponse>;
1048
+
1091
1049
  }
1092
1050
  export interface DOMDispatcher {
1093
1051
  /**
@@ -1165,85 +1123,78 @@ declare namespace ProtocolProxyApi {
1165
1123
  * Called when shadow root is pushed into the element.
1166
1124
  */
1167
1125
  shadowRootPushed(params: Protocol.DOM.ShadowRootPushedEvent): void;
1126
+
1168
1127
  }
1169
1128
 
1170
1129
  export interface DOMDebuggerApi {
1171
1130
  /**
1172
1131
  * Returns event listeners of the given object.
1173
1132
  */
1174
- invoke_getEventListeners(params: Protocol.DOMDebugger.GetEventListenersRequest):
1175
- Promise<Protocol.DOMDebugger.GetEventListenersResponse>;
1133
+ invoke_getEventListeners(params: Protocol.DOMDebugger.GetEventListenersRequest): Promise<Protocol.DOMDebugger.GetEventListenersResponse>;
1176
1134
 
1177
1135
  /**
1178
1136
  * Removes DOM breakpoint that was set using `setDOMBreakpoint`.
1179
1137
  */
1180
- invoke_removeDOMBreakpoint(params: Protocol.DOMDebugger.RemoveDOMBreakpointRequest):
1181
- Promise<Protocol.ProtocolResponseWithError>;
1138
+ invoke_removeDOMBreakpoint(params: Protocol.DOMDebugger.RemoveDOMBreakpointRequest): Promise<Protocol.ProtocolResponseWithError>;
1182
1139
 
1183
1140
  /**
1184
1141
  * Removes breakpoint on particular DOM event.
1185
1142
  */
1186
- invoke_removeEventListenerBreakpoint(params: Protocol.DOMDebugger.RemoveEventListenerBreakpointRequest):
1187
- Promise<Protocol.ProtocolResponseWithError>;
1143
+ invoke_removeEventListenerBreakpoint(params: Protocol.DOMDebugger.RemoveEventListenerBreakpointRequest): Promise<Protocol.ProtocolResponseWithError>;
1188
1144
 
1189
1145
  /**
1190
1146
  * Removes breakpoint on particular native event.
1191
1147
  */
1192
- invoke_removeInstrumentationBreakpoint(params: Protocol.DOMDebugger.RemoveInstrumentationBreakpointRequest):
1193
- Promise<Protocol.ProtocolResponseWithError>;
1148
+ invoke_removeInstrumentationBreakpoint(params: Protocol.DOMDebugger.RemoveInstrumentationBreakpointRequest): Promise<Protocol.ProtocolResponseWithError>;
1194
1149
 
1195
1150
  /**
1196
1151
  * Removes breakpoint from XMLHttpRequest.
1197
1152
  */
1198
- invoke_removeXHRBreakpoint(params: Protocol.DOMDebugger.RemoveXHRBreakpointRequest):
1199
- Promise<Protocol.ProtocolResponseWithError>;
1153
+ invoke_removeXHRBreakpoint(params: Protocol.DOMDebugger.RemoveXHRBreakpointRequest): Promise<Protocol.ProtocolResponseWithError>;
1200
1154
 
1201
1155
  /**
1202
1156
  * Sets breakpoint on particular CSP violations.
1203
1157
  */
1204
- invoke_setBreakOnCSPViolation(params: Protocol.DOMDebugger.SetBreakOnCSPViolationRequest):
1205
- Promise<Protocol.ProtocolResponseWithError>;
1158
+ invoke_setBreakOnCSPViolation(params: Protocol.DOMDebugger.SetBreakOnCSPViolationRequest): Promise<Protocol.ProtocolResponseWithError>;
1206
1159
 
1207
1160
  /**
1208
1161
  * Sets breakpoint on particular operation with DOM.
1209
1162
  */
1210
- invoke_setDOMBreakpoint(params: Protocol.DOMDebugger.SetDOMBreakpointRequest):
1211
- Promise<Protocol.ProtocolResponseWithError>;
1163
+ invoke_setDOMBreakpoint(params: Protocol.DOMDebugger.SetDOMBreakpointRequest): Promise<Protocol.ProtocolResponseWithError>;
1212
1164
 
1213
1165
  /**
1214
1166
  * Sets breakpoint on particular DOM event.
1215
1167
  */
1216
- invoke_setEventListenerBreakpoint(params: Protocol.DOMDebugger.SetEventListenerBreakpointRequest):
1217
- Promise<Protocol.ProtocolResponseWithError>;
1168
+ invoke_setEventListenerBreakpoint(params: Protocol.DOMDebugger.SetEventListenerBreakpointRequest): Promise<Protocol.ProtocolResponseWithError>;
1218
1169
 
1219
1170
  /**
1220
1171
  * Sets breakpoint on particular native event.
1221
1172
  */
1222
- invoke_setInstrumentationBreakpoint(params: Protocol.DOMDebugger.SetInstrumentationBreakpointRequest):
1223
- Promise<Protocol.ProtocolResponseWithError>;
1173
+ invoke_setInstrumentationBreakpoint(params: Protocol.DOMDebugger.SetInstrumentationBreakpointRequest): Promise<Protocol.ProtocolResponseWithError>;
1224
1174
 
1225
1175
  /**
1226
1176
  * Sets breakpoint on XMLHttpRequest.
1227
1177
  */
1228
- invoke_setXHRBreakpoint(params: Protocol.DOMDebugger.SetXHRBreakpointRequest):
1229
- Promise<Protocol.ProtocolResponseWithError>;
1178
+ invoke_setXHRBreakpoint(params: Protocol.DOMDebugger.SetXHRBreakpointRequest): Promise<Protocol.ProtocolResponseWithError>;
1179
+
1180
+ }
1181
+ export interface DOMDebuggerDispatcher {
1230
1182
  }
1231
- export interface DOMDebuggerDispatcher {}
1232
1183
 
1233
1184
  export interface EventBreakpointsApi {
1234
1185
  /**
1235
1186
  * Sets breakpoint on particular native event.
1236
1187
  */
1237
- invoke_setInstrumentationBreakpoint(params: Protocol.EventBreakpoints.SetInstrumentationBreakpointRequest):
1238
- Promise<Protocol.ProtocolResponseWithError>;
1188
+ invoke_setInstrumentationBreakpoint(params: Protocol.EventBreakpoints.SetInstrumentationBreakpointRequest): Promise<Protocol.ProtocolResponseWithError>;
1239
1189
 
1240
1190
  /**
1241
1191
  * Removes breakpoint on particular native event.
1242
1192
  */
1243
- invoke_removeInstrumentationBreakpoint(params: Protocol.EventBreakpoints.RemoveInstrumentationBreakpointRequest):
1244
- Promise<Protocol.ProtocolResponseWithError>;
1193
+ invoke_removeInstrumentationBreakpoint(params: Protocol.EventBreakpoints.RemoveInstrumentationBreakpointRequest): Promise<Protocol.ProtocolResponseWithError>;
1194
+
1195
+ }
1196
+ export interface EventBreakpointsDispatcher {
1245
1197
  }
1246
- export interface EventBreakpointsDispatcher {}
1247
1198
 
1248
1199
  export interface DOMSnapshotApi {
1249
1200
  /**
@@ -1262,8 +1213,7 @@ declare namespace ProtocolProxyApi {
1262
1213
  * white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is
1263
1214
  * flattened.
1264
1215
  */
1265
- invoke_getSnapshot(params: Protocol.DOMSnapshot.GetSnapshotRequest):
1266
- Promise<Protocol.DOMSnapshot.GetSnapshotResponse>;
1216
+ invoke_getSnapshot(params: Protocol.DOMSnapshot.GetSnapshotRequest): Promise<Protocol.DOMSnapshot.GetSnapshotResponse>;
1267
1217
 
1268
1218
  /**
1269
1219
  * Returns a document snapshot, including the full DOM tree of the root node (including iframes,
@@ -1271,10 +1221,11 @@ declare namespace ProtocolProxyApi {
1271
1221
  * white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is
1272
1222
  * flattened.
1273
1223
  */
1274
- invoke_captureSnapshot(params: Protocol.DOMSnapshot.CaptureSnapshotRequest):
1275
- Promise<Protocol.DOMSnapshot.CaptureSnapshotResponse>;
1224
+ invoke_captureSnapshot(params: Protocol.DOMSnapshot.CaptureSnapshotRequest): Promise<Protocol.DOMSnapshot.CaptureSnapshotResponse>;
1225
+
1226
+ }
1227
+ export interface DOMSnapshotDispatcher {
1276
1228
  }
1277
- export interface DOMSnapshotDispatcher {}
1278
1229
 
1279
1230
  export interface DOMStorageApi {
1280
1231
  invoke_clear(params: Protocol.DOMStorage.ClearRequest): Promise<Protocol.ProtocolResponseWithError>;
@@ -1289,14 +1240,12 @@ declare namespace ProtocolProxyApi {
1289
1240
  */
1290
1241
  invoke_enable(): Promise<Protocol.ProtocolResponseWithError>;
1291
1242
 
1292
- invoke_getDOMStorageItems(params: Protocol.DOMStorage.GetDOMStorageItemsRequest):
1293
- Promise<Protocol.DOMStorage.GetDOMStorageItemsResponse>;
1243
+ invoke_getDOMStorageItems(params: Protocol.DOMStorage.GetDOMStorageItemsRequest): Promise<Protocol.DOMStorage.GetDOMStorageItemsResponse>;
1244
+
1245
+ invoke_removeDOMStorageItem(params: Protocol.DOMStorage.RemoveDOMStorageItemRequest): Promise<Protocol.ProtocolResponseWithError>;
1294
1246
 
1295
- invoke_removeDOMStorageItem(params: Protocol.DOMStorage.RemoveDOMStorageItemRequest):
1296
- Promise<Protocol.ProtocolResponseWithError>;
1247
+ invoke_setDOMStorageItem(params: Protocol.DOMStorage.SetDOMStorageItemRequest): Promise<Protocol.ProtocolResponseWithError>;
1297
1248
 
1298
- invoke_setDOMStorageItem(params: Protocol.DOMStorage.SetDOMStorageItemRequest):
1299
- Promise<Protocol.ProtocolResponseWithError>;
1300
1249
  }
1301
1250
  export interface DOMStorageDispatcher {
1302
1251
  domStorageItemAdded(params: Protocol.DOMStorage.DomStorageItemAddedEvent): void;
@@ -1306,6 +1255,7 @@ declare namespace ProtocolProxyApi {
1306
1255
  domStorageItemUpdated(params: Protocol.DOMStorage.DomStorageItemUpdatedEvent): void;
1307
1256
 
1308
1257
  domStorageItemsCleared(params: Protocol.DOMStorage.DomStorageItemsClearedEvent): void;
1258
+
1309
1259
  }
1310
1260
 
1311
1261
  export interface DatabaseApi {
@@ -1321,11 +1271,12 @@ declare namespace ProtocolProxyApi {
1321
1271
 
1322
1272
  invoke_executeSQL(params: Protocol.Database.ExecuteSQLRequest): Promise<Protocol.Database.ExecuteSQLResponse>;
1323
1273
 
1324
- invoke_getDatabaseTableNames(params: Protocol.Database.GetDatabaseTableNamesRequest):
1325
- Promise<Protocol.Database.GetDatabaseTableNamesResponse>;
1274
+ invoke_getDatabaseTableNames(params: Protocol.Database.GetDatabaseTableNamesRequest): Promise<Protocol.Database.GetDatabaseTableNamesResponse>;
1275
+
1326
1276
  }
1327
1277
  export interface DatabaseDispatcher {
1328
1278
  addDatabase(params: Protocol.Database.AddDatabaseEvent): void;
1279
+
1329
1280
  }
1330
1281
 
1331
1282
  export interface DeviceOrientationApi {
@@ -1337,10 +1288,11 @@ declare namespace ProtocolProxyApi {
1337
1288
  /**
1338
1289
  * Overrides the Device Orientation.
1339
1290
  */
1340
- invoke_setDeviceOrientationOverride(params: Protocol.DeviceOrientation.SetDeviceOrientationOverrideRequest):
1341
- Promise<Protocol.ProtocolResponseWithError>;
1291
+ invoke_setDeviceOrientationOverride(params: Protocol.DeviceOrientation.SetDeviceOrientationOverrideRequest): Promise<Protocol.ProtocolResponseWithError>;
1292
+
1293
+ }
1294
+ export interface DeviceOrientationDispatcher {
1342
1295
  }
1343
- export interface DeviceOrientationDispatcher {}
1344
1296
 
1345
1297
  export interface EmulationApi {
1346
1298
  /**
@@ -1366,69 +1318,57 @@ declare namespace ProtocolProxyApi {
1366
1318
  /**
1367
1319
  * Enables or disables simulating a focused and active page.
1368
1320
  */
1369
- invoke_setFocusEmulationEnabled(params: Protocol.Emulation.SetFocusEmulationEnabledRequest):
1370
- Promise<Protocol.ProtocolResponseWithError>;
1321
+ invoke_setFocusEmulationEnabled(params: Protocol.Emulation.SetFocusEmulationEnabledRequest): Promise<Protocol.ProtocolResponseWithError>;
1371
1322
 
1372
1323
  /**
1373
1324
  * Automatically render all web contents using a dark theme.
1374
1325
  */
1375
- invoke_setAutoDarkModeOverride(params: Protocol.Emulation.SetAutoDarkModeOverrideRequest):
1376
- Promise<Protocol.ProtocolResponseWithError>;
1326
+ invoke_setAutoDarkModeOverride(params: Protocol.Emulation.SetAutoDarkModeOverrideRequest): Promise<Protocol.ProtocolResponseWithError>;
1377
1327
 
1378
1328
  /**
1379
1329
  * Enables CPU throttling to emulate slow CPUs.
1380
1330
  */
1381
- invoke_setCPUThrottlingRate(params: Protocol.Emulation.SetCPUThrottlingRateRequest):
1382
- Promise<Protocol.ProtocolResponseWithError>;
1331
+ invoke_setCPUThrottlingRate(params: Protocol.Emulation.SetCPUThrottlingRateRequest): Promise<Protocol.ProtocolResponseWithError>;
1383
1332
 
1384
1333
  /**
1385
1334
  * Sets or clears an override of the default background color of the frame. This override is used
1386
1335
  * if the content does not specify one.
1387
1336
  */
1388
- invoke_setDefaultBackgroundColorOverride(params: Protocol.Emulation.SetDefaultBackgroundColorOverrideRequest):
1389
- Promise<Protocol.ProtocolResponseWithError>;
1337
+ invoke_setDefaultBackgroundColorOverride(params: Protocol.Emulation.SetDefaultBackgroundColorOverrideRequest): Promise<Protocol.ProtocolResponseWithError>;
1390
1338
 
1391
1339
  /**
1392
1340
  * Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
1393
1341
  * window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
1394
1342
  * query results).
1395
1343
  */
1396
- invoke_setDeviceMetricsOverride(params: Protocol.Emulation.SetDeviceMetricsOverrideRequest):
1397
- Promise<Protocol.ProtocolResponseWithError>;
1344
+ invoke_setDeviceMetricsOverride(params: Protocol.Emulation.SetDeviceMetricsOverrideRequest): Promise<Protocol.ProtocolResponseWithError>;
1398
1345
 
1399
- invoke_setScrollbarsHidden(params: Protocol.Emulation.SetScrollbarsHiddenRequest):
1400
- Promise<Protocol.ProtocolResponseWithError>;
1346
+ invoke_setScrollbarsHidden(params: Protocol.Emulation.SetScrollbarsHiddenRequest): Promise<Protocol.ProtocolResponseWithError>;
1401
1347
 
1402
- invoke_setDocumentCookieDisabled(params: Protocol.Emulation.SetDocumentCookieDisabledRequest):
1403
- Promise<Protocol.ProtocolResponseWithError>;
1348
+ invoke_setDocumentCookieDisabled(params: Protocol.Emulation.SetDocumentCookieDisabledRequest): Promise<Protocol.ProtocolResponseWithError>;
1404
1349
 
1405
- invoke_setEmitTouchEventsForMouse(params: Protocol.Emulation.SetEmitTouchEventsForMouseRequest):
1406
- Promise<Protocol.ProtocolResponseWithError>;
1350
+ invoke_setEmitTouchEventsForMouse(params: Protocol.Emulation.SetEmitTouchEventsForMouseRequest): Promise<Protocol.ProtocolResponseWithError>;
1407
1351
 
1408
1352
  /**
1409
1353
  * Emulates the given media type or media feature for CSS media queries.
1410
1354
  */
1411
- invoke_setEmulatedMedia(params: Protocol.Emulation.SetEmulatedMediaRequest):
1412
- Promise<Protocol.ProtocolResponseWithError>;
1355
+ invoke_setEmulatedMedia(params: Protocol.Emulation.SetEmulatedMediaRequest): Promise<Protocol.ProtocolResponseWithError>;
1413
1356
 
1414
1357
  /**
1415
1358
  * Emulates the given vision deficiency.
1416
1359
  */
1417
- invoke_setEmulatedVisionDeficiency(params: Protocol.Emulation.SetEmulatedVisionDeficiencyRequest):
1418
- Promise<Protocol.ProtocolResponseWithError>;
1360
+ invoke_setEmulatedVisionDeficiency(params: Protocol.Emulation.SetEmulatedVisionDeficiencyRequest): Promise<Protocol.ProtocolResponseWithError>;
1419
1361
 
1420
1362
  /**
1421
1363
  * Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position
1422
1364
  * unavailable.
1423
1365
  */
1424
- invoke_setGeolocationOverride(params: Protocol.Emulation.SetGeolocationOverrideRequest):
1425
- Promise<Protocol.ProtocolResponseWithError>;
1366
+ invoke_setGeolocationOverride(params: Protocol.Emulation.SetGeolocationOverrideRequest): Promise<Protocol.ProtocolResponseWithError>;
1426
1367
 
1427
1368
  /**
1428
1369
  * Overrides the Idle state.
1429
1370
  */
1430
- invoke_setIdleOverride(params: Protocol.Emulation.SetIdleOverrideRequest):
1431
- Promise<Protocol.ProtocolResponseWithError>;
1371
+ invoke_setIdleOverride(params: Protocol.Emulation.SetIdleOverrideRequest): Promise<Protocol.ProtocolResponseWithError>;
1432
1372
 
1433
1373
  /**
1434
1374
  * Clears Idle state overrides.
@@ -1438,77 +1378,67 @@ declare namespace ProtocolProxyApi {
1438
1378
  /**
1439
1379
  * Overrides value returned by the javascript navigator object.
1440
1380
  */
1441
- invoke_setNavigatorOverrides(params: Protocol.Emulation.SetNavigatorOverridesRequest):
1442
- Promise<Protocol.ProtocolResponseWithError>;
1381
+ invoke_setNavigatorOverrides(params: Protocol.Emulation.SetNavigatorOverridesRequest): Promise<Protocol.ProtocolResponseWithError>;
1443
1382
 
1444
1383
  /**
1445
1384
  * Sets a specified page scale factor.
1446
1385
  */
1447
- invoke_setPageScaleFactor(params: Protocol.Emulation.SetPageScaleFactorRequest):
1448
- Promise<Protocol.ProtocolResponseWithError>;
1386
+ invoke_setPageScaleFactor(params: Protocol.Emulation.SetPageScaleFactorRequest): Promise<Protocol.ProtocolResponseWithError>;
1449
1387
 
1450
1388
  /**
1451
1389
  * Switches script execution in the page.
1452
1390
  */
1453
- invoke_setScriptExecutionDisabled(params: Protocol.Emulation.SetScriptExecutionDisabledRequest):
1454
- Promise<Protocol.ProtocolResponseWithError>;
1391
+ invoke_setScriptExecutionDisabled(params: Protocol.Emulation.SetScriptExecutionDisabledRequest): Promise<Protocol.ProtocolResponseWithError>;
1455
1392
 
1456
1393
  /**
1457
1394
  * Enables touch on platforms which do not support them.
1458
1395
  */
1459
- invoke_setTouchEmulationEnabled(params: Protocol.Emulation.SetTouchEmulationEnabledRequest):
1460
- Promise<Protocol.ProtocolResponseWithError>;
1396
+ invoke_setTouchEmulationEnabled(params: Protocol.Emulation.SetTouchEmulationEnabledRequest): Promise<Protocol.ProtocolResponseWithError>;
1461
1397
 
1462
1398
  /**
1463
1399
  * Turns on virtual time for all frames (replacing real-time with a synthetic time source) and sets
1464
1400
  * the current virtual time policy. Note this supersedes any previous time budget.
1465
1401
  */
1466
- invoke_setVirtualTimePolicy(params: Protocol.Emulation.SetVirtualTimePolicyRequest):
1467
- Promise<Protocol.Emulation.SetVirtualTimePolicyResponse>;
1402
+ invoke_setVirtualTimePolicy(params: Protocol.Emulation.SetVirtualTimePolicyRequest): Promise<Protocol.Emulation.SetVirtualTimePolicyResponse>;
1468
1403
 
1469
1404
  /**
1470
1405
  * Overrides default host system locale with the specified one.
1471
1406
  */
1472
- invoke_setLocaleOverride(params: Protocol.Emulation.SetLocaleOverrideRequest):
1473
- Promise<Protocol.ProtocolResponseWithError>;
1407
+ invoke_setLocaleOverride(params: Protocol.Emulation.SetLocaleOverrideRequest): Promise<Protocol.ProtocolResponseWithError>;
1474
1408
 
1475
1409
  /**
1476
1410
  * Overrides default host system timezone with the specified one.
1477
1411
  */
1478
- invoke_setTimezoneOverride(params: Protocol.Emulation.SetTimezoneOverrideRequest):
1479
- Promise<Protocol.ProtocolResponseWithError>;
1412
+ invoke_setTimezoneOverride(params: Protocol.Emulation.SetTimezoneOverrideRequest): Promise<Protocol.ProtocolResponseWithError>;
1480
1413
 
1481
1414
  /**
1482
1415
  * Resizes the frame/viewport of the page. Note that this does not affect the frame's container
1483
1416
  * (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported
1484
1417
  * on Android.
1485
1418
  */
1486
- invoke_setVisibleSize(params: Protocol.Emulation.SetVisibleSizeRequest):
1487
- Promise<Protocol.ProtocolResponseWithError>;
1419
+ invoke_setVisibleSize(params: Protocol.Emulation.SetVisibleSizeRequest): Promise<Protocol.ProtocolResponseWithError>;
1488
1420
 
1489
- invoke_setDisabledImageTypes(params: Protocol.Emulation.SetDisabledImageTypesRequest):
1490
- Promise<Protocol.ProtocolResponseWithError>;
1421
+ invoke_setDisabledImageTypes(params: Protocol.Emulation.SetDisabledImageTypesRequest): Promise<Protocol.ProtocolResponseWithError>;
1491
1422
 
1492
- invoke_setHardwareConcurrencyOverride(params: Protocol.Emulation.SetHardwareConcurrencyOverrideRequest):
1493
- Promise<Protocol.ProtocolResponseWithError>;
1423
+ invoke_setHardwareConcurrencyOverride(params: Protocol.Emulation.SetHardwareConcurrencyOverrideRequest): Promise<Protocol.ProtocolResponseWithError>;
1494
1424
 
1495
1425
  /**
1496
1426
  * Allows overriding user agent with the given string.
1497
1427
  */
1498
- invoke_setUserAgentOverride(params: Protocol.Emulation.SetUserAgentOverrideRequest):
1499
- Promise<Protocol.ProtocolResponseWithError>;
1428
+ invoke_setUserAgentOverride(params: Protocol.Emulation.SetUserAgentOverrideRequest): Promise<Protocol.ProtocolResponseWithError>;
1500
1429
 
1501
1430
  /**
1502
1431
  * Allows overriding the automation flag.
1503
1432
  */
1504
- invoke_setAutomationOverride(params: Protocol.Emulation.SetAutomationOverrideRequest):
1505
- Promise<Protocol.ProtocolResponseWithError>;
1433
+ invoke_setAutomationOverride(params: Protocol.Emulation.SetAutomationOverrideRequest): Promise<Protocol.ProtocolResponseWithError>;
1434
+
1506
1435
  }
1507
1436
  export interface EmulationDispatcher {
1508
1437
  /**
1509
1438
  * Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
1510
1439
  */
1511
1440
  virtualTimeBudgetExpired(): void;
1441
+
1512
1442
  }
1513
1443
 
1514
1444
  export interface HeadlessExperimentalApi {
@@ -1518,8 +1448,7 @@ declare namespace ProtocolProxyApi {
1518
1448
  * BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also
1519
1449
  * https://goo.gle/chrome-headless-rendering for more background.
1520
1450
  */
1521
- invoke_beginFrame(params: Protocol.HeadlessExperimental.BeginFrameRequest):
1522
- Promise<Protocol.HeadlessExperimental.BeginFrameResponse>;
1451
+ invoke_beginFrame(params: Protocol.HeadlessExperimental.BeginFrameRequest): Promise<Protocol.HeadlessExperimental.BeginFrameResponse>;
1523
1452
 
1524
1453
  /**
1525
1454
  * Disables headless events for the target.
@@ -1530,6 +1459,7 @@ declare namespace ProtocolProxyApi {
1530
1459
  * Enables headless events for the target.
1531
1460
  */
1532
1461
  invoke_enable(): Promise<Protocol.ProtocolResponseWithError>;
1462
+
1533
1463
  }
1534
1464
  export interface HeadlessExperimentalDispatcher {
1535
1465
  /**
@@ -1538,6 +1468,7 @@ declare namespace ProtocolProxyApi {
1538
1468
  * beginFrame to detect whether the frames were suppressed.
1539
1469
  */
1540
1470
  needsBeginFramesChanged(params: Protocol.HeadlessExperimental.NeedsBeginFramesChangedEvent): void;
1471
+
1541
1472
  }
1542
1473
 
1543
1474
  // eslint thinks this is us prefixing our interfaces but it's not!
@@ -1557,8 +1488,10 @@ declare namespace ProtocolProxyApi {
1557
1488
  * Return UUID of Blob object specified by a remote object id.
1558
1489
  */
1559
1490
  invoke_resolveBlob(params: Protocol.IO.ResolveBlobRequest): Promise<Protocol.IO.ResolveBlobResponse>;
1491
+
1492
+ }
1493
+ export interface IODispatcher {
1560
1494
  }
1561
- export interface IODispatcher {}
1562
1495
 
1563
1496
  // eslint thinks this is us prefixing our interfaces but it's not!
1564
1497
  // eslint-disable-next-line @typescript-eslint/interface-name-prefix
@@ -1566,20 +1499,17 @@ declare namespace ProtocolProxyApi {
1566
1499
  /**
1567
1500
  * Clears all entries from an object store.
1568
1501
  */
1569
- invoke_clearObjectStore(params: Protocol.IndexedDB.ClearObjectStoreRequest):
1570
- Promise<Protocol.ProtocolResponseWithError>;
1502
+ invoke_clearObjectStore(params: Protocol.IndexedDB.ClearObjectStoreRequest): Promise<Protocol.ProtocolResponseWithError>;
1571
1503
 
1572
1504
  /**
1573
1505
  * Deletes a database.
1574
1506
  */
1575
- invoke_deleteDatabase(params: Protocol.IndexedDB.DeleteDatabaseRequest):
1576
- Promise<Protocol.ProtocolResponseWithError>;
1507
+ invoke_deleteDatabase(params: Protocol.IndexedDB.DeleteDatabaseRequest): Promise<Protocol.ProtocolResponseWithError>;
1577
1508
 
1578
1509
  /**
1579
1510
  * Delete a range of entries from an object store
1580
1511
  */
1581
- invoke_deleteObjectStoreEntries(params: Protocol.IndexedDB.DeleteObjectStoreEntriesRequest):
1582
- Promise<Protocol.ProtocolResponseWithError>;
1512
+ invoke_deleteObjectStoreEntries(params: Protocol.IndexedDB.DeleteObjectStoreEntriesRequest): Promise<Protocol.ProtocolResponseWithError>;
1583
1513
 
1584
1514
  /**
1585
1515
  * Disables events from backend.
@@ -1604,16 +1534,16 @@ declare namespace ProtocolProxyApi {
1604
1534
  /**
1605
1535
  * Requests database with given name in given frame.
1606
1536
  */
1607
- invoke_requestDatabase(params: Protocol.IndexedDB.RequestDatabaseRequest):
1608
- Promise<Protocol.IndexedDB.RequestDatabaseResponse>;
1537
+ invoke_requestDatabase(params: Protocol.IndexedDB.RequestDatabaseRequest): Promise<Protocol.IndexedDB.RequestDatabaseResponse>;
1609
1538
 
1610
1539
  /**
1611
1540
  * Requests database names for given security origin.
1612
1541
  */
1613
- invoke_requestDatabaseNames(params: Protocol.IndexedDB.RequestDatabaseNamesRequest):
1614
- Promise<Protocol.IndexedDB.RequestDatabaseNamesResponse>;
1542
+ invoke_requestDatabaseNames(params: Protocol.IndexedDB.RequestDatabaseNamesRequest): Promise<Protocol.IndexedDB.RequestDatabaseNamesResponse>;
1543
+
1544
+ }
1545
+ export interface IndexedDBDispatcher {
1615
1546
  }
1616
- export interface IndexedDBDispatcher {}
1617
1547
 
1618
1548
  // eslint thinks this is us prefixing our interfaces but it's not!
1619
1549
  // eslint-disable-next-line @typescript-eslint/interface-name-prefix
@@ -1621,14 +1551,12 @@ declare namespace ProtocolProxyApi {
1621
1551
  /**
1622
1552
  * Dispatches a drag event into the page.
1623
1553
  */
1624
- invoke_dispatchDragEvent(params: Protocol.Input.DispatchDragEventRequest):
1625
- Promise<Protocol.ProtocolResponseWithError>;
1554
+ invoke_dispatchDragEvent(params: Protocol.Input.DispatchDragEventRequest): Promise<Protocol.ProtocolResponseWithError>;
1626
1555
 
1627
1556
  /**
1628
1557
  * Dispatches a key event to the page.
1629
1558
  */
1630
- invoke_dispatchKeyEvent(params: Protocol.Input.DispatchKeyEventRequest):
1631
- Promise<Protocol.ProtocolResponseWithError>;
1559
+ invoke_dispatchKeyEvent(params: Protocol.Input.DispatchKeyEventRequest): Promise<Protocol.ProtocolResponseWithError>;
1632
1560
 
1633
1561
  /**
1634
1562
  * This method emulates inserting text that doesn't come from a key press,
@@ -1641,57 +1569,49 @@ declare namespace ProtocolProxyApi {
1641
1569
  * Use imeCommitComposition to commit the final text.
1642
1570
  * Use imeSetComposition with empty string as text to cancel composition.
1643
1571
  */
1644
- invoke_imeSetComposition(params: Protocol.Input.ImeSetCompositionRequest):
1645
- Promise<Protocol.ProtocolResponseWithError>;
1572
+ invoke_imeSetComposition(params: Protocol.Input.ImeSetCompositionRequest): Promise<Protocol.ProtocolResponseWithError>;
1646
1573
 
1647
1574
  /**
1648
1575
  * Dispatches a mouse event to the page.
1649
1576
  */
1650
- invoke_dispatchMouseEvent(params: Protocol.Input.DispatchMouseEventRequest):
1651
- Promise<Protocol.ProtocolResponseWithError>;
1577
+ invoke_dispatchMouseEvent(params: Protocol.Input.DispatchMouseEventRequest): Promise<Protocol.ProtocolResponseWithError>;
1652
1578
 
1653
1579
  /**
1654
1580
  * Dispatches a touch event to the page.
1655
1581
  */
1656
- invoke_dispatchTouchEvent(params: Protocol.Input.DispatchTouchEventRequest):
1657
- Promise<Protocol.ProtocolResponseWithError>;
1582
+ invoke_dispatchTouchEvent(params: Protocol.Input.DispatchTouchEventRequest): Promise<Protocol.ProtocolResponseWithError>;
1658
1583
 
1659
1584
  /**
1660
1585
  * Emulates touch event from the mouse event parameters.
1661
1586
  */
1662
- invoke_emulateTouchFromMouseEvent(params: Protocol.Input.EmulateTouchFromMouseEventRequest):
1663
- Promise<Protocol.ProtocolResponseWithError>;
1587
+ invoke_emulateTouchFromMouseEvent(params: Protocol.Input.EmulateTouchFromMouseEventRequest): Promise<Protocol.ProtocolResponseWithError>;
1664
1588
 
1665
1589
  /**
1666
1590
  * Ignores input events (useful while auditing page).
1667
1591
  */
1668
- invoke_setIgnoreInputEvents(params: Protocol.Input.SetIgnoreInputEventsRequest):
1669
- Promise<Protocol.ProtocolResponseWithError>;
1592
+ invoke_setIgnoreInputEvents(params: Protocol.Input.SetIgnoreInputEventsRequest): Promise<Protocol.ProtocolResponseWithError>;
1670
1593
 
1671
1594
  /**
1672
1595
  * Prevents default drag and drop behavior and instead emits `Input.dragIntercepted` events.
1673
1596
  * Drag and drop behavior can be directly controlled via `Input.dispatchDragEvent`.
1674
1597
  */
1675
- invoke_setInterceptDrags(params: Protocol.Input.SetInterceptDragsRequest):
1676
- Promise<Protocol.ProtocolResponseWithError>;
1598
+ invoke_setInterceptDrags(params: Protocol.Input.SetInterceptDragsRequest): Promise<Protocol.ProtocolResponseWithError>;
1677
1599
 
1678
1600
  /**
1679
1601
  * Synthesizes a pinch gesture over a time period by issuing appropriate touch events.
1680
1602
  */
1681
- invoke_synthesizePinchGesture(params: Protocol.Input.SynthesizePinchGestureRequest):
1682
- Promise<Protocol.ProtocolResponseWithError>;
1603
+ invoke_synthesizePinchGesture(params: Protocol.Input.SynthesizePinchGestureRequest): Promise<Protocol.ProtocolResponseWithError>;
1683
1604
 
1684
1605
  /**
1685
1606
  * Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
1686
1607
  */
1687
- invoke_synthesizeScrollGesture(params: Protocol.Input.SynthesizeScrollGestureRequest):
1688
- Promise<Protocol.ProtocolResponseWithError>;
1608
+ invoke_synthesizeScrollGesture(params: Protocol.Input.SynthesizeScrollGestureRequest): Promise<Protocol.ProtocolResponseWithError>;
1689
1609
 
1690
1610
  /**
1691
1611
  * Synthesizes a tap gesture over a time period by issuing appropriate touch events.
1692
1612
  */
1693
- invoke_synthesizeTapGesture(params: Protocol.Input.SynthesizeTapGestureRequest):
1694
- Promise<Protocol.ProtocolResponseWithError>;
1613
+ invoke_synthesizeTapGesture(params: Protocol.Input.SynthesizeTapGestureRequest): Promise<Protocol.ProtocolResponseWithError>;
1614
+
1695
1615
  }
1696
1616
  export interface InputDispatcher {
1697
1617
  /**
@@ -1699,6 +1619,7 @@ declare namespace ProtocolProxyApi {
1699
1619
  * restore normal drag and drop behavior.
1700
1620
  */
1701
1621
  dragIntercepted(params: Protocol.Input.DragInterceptedEvent): void;
1622
+
1702
1623
  }
1703
1624
 
1704
1625
  // eslint thinks this is us prefixing our interfaces but it's not!
@@ -1713,6 +1634,7 @@ declare namespace ProtocolProxyApi {
1713
1634
  * Enables inspector domain notifications.
1714
1635
  */
1715
1636
  invoke_enable(): Promise<Protocol.ProtocolResponseWithError>;
1637
+
1716
1638
  }
1717
1639
  export interface InspectorDispatcher {
1718
1640
  /**
@@ -1729,14 +1651,14 @@ declare namespace ProtocolProxyApi {
1729
1651
  * Fired when debugging target has reloaded after crash
1730
1652
  */
1731
1653
  targetReloadedAfterCrash(): void;
1654
+
1732
1655
  }
1733
1656
 
1734
1657
  export interface LayerTreeApi {
1735
1658
  /**
1736
1659
  * Provides the reasons why the given layer was composited.
1737
1660
  */
1738
- invoke_compositingReasons(params: Protocol.LayerTree.CompositingReasonsRequest):
1739
- Promise<Protocol.LayerTree.CompositingReasonsResponse>;
1661
+ invoke_compositingReasons(params: Protocol.LayerTree.CompositingReasonsRequest): Promise<Protocol.LayerTree.CompositingReasonsResponse>;
1740
1662
 
1741
1663
  /**
1742
1664
  * Disables compositing tree inspection.
@@ -1751,40 +1673,36 @@ declare namespace ProtocolProxyApi {
1751
1673
  /**
1752
1674
  * Returns the snapshot identifier.
1753
1675
  */
1754
- invoke_loadSnapshot(params: Protocol.LayerTree.LoadSnapshotRequest):
1755
- Promise<Protocol.LayerTree.LoadSnapshotResponse>;
1676
+ invoke_loadSnapshot(params: Protocol.LayerTree.LoadSnapshotRequest): Promise<Protocol.LayerTree.LoadSnapshotResponse>;
1756
1677
 
1757
1678
  /**
1758
1679
  * Returns the layer snapshot identifier.
1759
1680
  */
1760
- invoke_makeSnapshot(params: Protocol.LayerTree.MakeSnapshotRequest):
1761
- Promise<Protocol.LayerTree.MakeSnapshotResponse>;
1681
+ invoke_makeSnapshot(params: Protocol.LayerTree.MakeSnapshotRequest): Promise<Protocol.LayerTree.MakeSnapshotResponse>;
1762
1682
 
1763
- invoke_profileSnapshot(params: Protocol.LayerTree.ProfileSnapshotRequest):
1764
- Promise<Protocol.LayerTree.ProfileSnapshotResponse>;
1683
+ invoke_profileSnapshot(params: Protocol.LayerTree.ProfileSnapshotRequest): Promise<Protocol.LayerTree.ProfileSnapshotResponse>;
1765
1684
 
1766
1685
  /**
1767
1686
  * Releases layer snapshot captured by the back-end.
1768
1687
  */
1769
- invoke_releaseSnapshot(params: Protocol.LayerTree.ReleaseSnapshotRequest):
1770
- Promise<Protocol.ProtocolResponseWithError>;
1688
+ invoke_releaseSnapshot(params: Protocol.LayerTree.ReleaseSnapshotRequest): Promise<Protocol.ProtocolResponseWithError>;
1771
1689
 
1772
1690
  /**
1773
1691
  * Replays the layer snapshot and returns the resulting bitmap.
1774
1692
  */
1775
- invoke_replaySnapshot(params: Protocol.LayerTree.ReplaySnapshotRequest):
1776
- Promise<Protocol.LayerTree.ReplaySnapshotResponse>;
1693
+ invoke_replaySnapshot(params: Protocol.LayerTree.ReplaySnapshotRequest): Promise<Protocol.LayerTree.ReplaySnapshotResponse>;
1777
1694
 
1778
1695
  /**
1779
1696
  * Replays the layer snapshot and returns canvas log.
1780
1697
  */
1781
- invoke_snapshotCommandLog(params: Protocol.LayerTree.SnapshotCommandLogRequest):
1782
- Promise<Protocol.LayerTree.SnapshotCommandLogResponse>;
1698
+ invoke_snapshotCommandLog(params: Protocol.LayerTree.SnapshotCommandLogRequest): Promise<Protocol.LayerTree.SnapshotCommandLogResponse>;
1699
+
1783
1700
  }
1784
1701
  export interface LayerTreeDispatcher {
1785
1702
  layerPainted(params: Protocol.LayerTree.LayerPaintedEvent): void;
1786
1703
 
1787
1704
  layerTreeDidChange(params: Protocol.LayerTree.LayerTreeDidChangeEvent): void;
1705
+
1788
1706
  }
1789
1707
 
1790
1708
  export interface LogApi {
@@ -1807,19 +1725,20 @@ declare namespace ProtocolProxyApi {
1807
1725
  /**
1808
1726
  * start violation reporting.
1809
1727
  */
1810
- invoke_startViolationsReport(params: Protocol.Log.StartViolationsReportRequest):
1811
- Promise<Protocol.ProtocolResponseWithError>;
1728
+ invoke_startViolationsReport(params: Protocol.Log.StartViolationsReportRequest): Promise<Protocol.ProtocolResponseWithError>;
1812
1729
 
1813
1730
  /**
1814
1731
  * Stop violation reporting.
1815
1732
  */
1816
1733
  invoke_stopViolationsReport(): Promise<Protocol.ProtocolResponseWithError>;
1734
+
1817
1735
  }
1818
1736
  export interface LogDispatcher {
1819
1737
  /**
1820
1738
  * Issued when new message was logged.
1821
1739
  */
1822
1740
  entryAdded(params: Protocol.Log.EntryAddedEvent): void;
1741
+
1823
1742
  }
1824
1743
 
1825
1744
  export interface MemoryApi {
@@ -1835,14 +1754,12 @@ declare namespace ProtocolProxyApi {
1835
1754
  /**
1836
1755
  * Enable/disable suppressing memory pressure notifications in all processes.
1837
1756
  */
1838
- invoke_setPressureNotificationsSuppressed(params: Protocol.Memory.SetPressureNotificationsSuppressedRequest):
1839
- Promise<Protocol.ProtocolResponseWithError>;
1757
+ invoke_setPressureNotificationsSuppressed(params: Protocol.Memory.SetPressureNotificationsSuppressedRequest): Promise<Protocol.ProtocolResponseWithError>;
1840
1758
 
1841
1759
  /**
1842
1760
  * Simulate a memory pressure notification in all processes.
1843
1761
  */
1844
- invoke_simulatePressureNotification(params: Protocol.Memory.SimulatePressureNotificationRequest):
1845
- Promise<Protocol.ProtocolResponseWithError>;
1762
+ invoke_simulatePressureNotification(params: Protocol.Memory.SimulatePressureNotificationRequest): Promise<Protocol.ProtocolResponseWithError>;
1846
1763
 
1847
1764
  /**
1848
1765
  * Start collecting native memory profile.
@@ -1871,15 +1788,16 @@ declare namespace ProtocolProxyApi {
1871
1788
  * `startSampling` call.
1872
1789
  */
1873
1790
  invoke_getSamplingProfile(): Promise<Protocol.Memory.GetSamplingProfileResponse>;
1791
+
1792
+ }
1793
+ export interface MemoryDispatcher {
1874
1794
  }
1875
- export interface MemoryDispatcher {}
1876
1795
 
1877
1796
  export interface NetworkApi {
1878
1797
  /**
1879
1798
  * Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
1880
1799
  */
1881
- invoke_setAcceptedEncodings(params: Protocol.Network.SetAcceptedEncodingsRequest):
1882
- Promise<Protocol.ProtocolResponseWithError>;
1800
+ invoke_setAcceptedEncodings(params: Protocol.Network.SetAcceptedEncodingsRequest): Promise<Protocol.ProtocolResponseWithError>;
1883
1801
 
1884
1802
  /**
1885
1803
  * Clears accepted encodings set by setAcceptedEncodings
@@ -1918,8 +1836,7 @@ declare namespace ProtocolProxyApi {
1918
1836
  * event will be sent with the same InterceptionId.
1919
1837
  * Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.
1920
1838
  */
1921
- invoke_continueInterceptedRequest(params: Protocol.Network.ContinueInterceptedRequestRequest):
1922
- Promise<Protocol.ProtocolResponseWithError>;
1839
+ invoke_continueInterceptedRequest(params: Protocol.Network.ContinueInterceptedRequestRequest): Promise<Protocol.ProtocolResponseWithError>;
1923
1840
 
1924
1841
  /**
1925
1842
  * Deletes browser cookies with matching name and url or domain/path pair.
@@ -1934,8 +1851,7 @@ declare namespace ProtocolProxyApi {
1934
1851
  /**
1935
1852
  * Activates emulation of network conditions.
1936
1853
  */
1937
- invoke_emulateNetworkConditions(params: Protocol.Network.EmulateNetworkConditionsRequest):
1938
- Promise<Protocol.ProtocolResponseWithError>;
1854
+ invoke_emulateNetworkConditions(params: Protocol.Network.EmulateNetworkConditionsRequest): Promise<Protocol.ProtocolResponseWithError>;
1939
1855
 
1940
1856
  /**
1941
1857
  * Enables network tracking, network events will now be delivered to the client.
@@ -1951,8 +1867,7 @@ declare namespace ProtocolProxyApi {
1951
1867
  /**
1952
1868
  * Returns the DER-encoded certificate.
1953
1869
  */
1954
- invoke_getCertificate(params: Protocol.Network.GetCertificateRequest):
1955
- Promise<Protocol.Network.GetCertificateResponse>;
1870
+ invoke_getCertificate(params: Protocol.Network.GetCertificateRequest): Promise<Protocol.Network.GetCertificateResponse>;
1956
1871
 
1957
1872
  /**
1958
1873
  * Returns all browser cookies for the current URL. Depending on the backend support, will return
@@ -1963,20 +1878,17 @@ declare namespace ProtocolProxyApi {
1963
1878
  /**
1964
1879
  * Returns content served for the given request.
1965
1880
  */
1966
- invoke_getResponseBody(params: Protocol.Network.GetResponseBodyRequest):
1967
- Promise<Protocol.Network.GetResponseBodyResponse>;
1881
+ invoke_getResponseBody(params: Protocol.Network.GetResponseBodyRequest): Promise<Protocol.Network.GetResponseBodyResponse>;
1968
1882
 
1969
1883
  /**
1970
1884
  * Returns post data sent with the request. Returns an error when no data was sent with the request.
1971
1885
  */
1972
- invoke_getRequestPostData(params: Protocol.Network.GetRequestPostDataRequest):
1973
- Promise<Protocol.Network.GetRequestPostDataResponse>;
1886
+ invoke_getRequestPostData(params: Protocol.Network.GetRequestPostDataRequest): Promise<Protocol.Network.GetRequestPostDataResponse>;
1974
1887
 
1975
1888
  /**
1976
1889
  * Returns content served for the given currently intercepted request.
1977
1890
  */
1978
- invoke_getResponseBodyForInterception(params: Protocol.Network.GetResponseBodyForInterceptionRequest):
1979
- Promise<Protocol.Network.GetResponseBodyForInterceptionResponse>;
1891
+ invoke_getResponseBodyForInterception(params: Protocol.Network.GetResponseBodyForInterceptionRequest): Promise<Protocol.Network.GetResponseBodyForInterceptionResponse>;
1980
1892
 
1981
1893
  /**
1982
1894
  * Returns a handle to the stream representing the response body. Note that after this command,
@@ -1984,9 +1896,7 @@ declare namespace ProtocolProxyApi {
1984
1896
  * the response body. The stream only supports sequential read, IO.read will fail if the position
1985
1897
  * is specified.
1986
1898
  */
1987
- invoke_takeResponseBodyForInterceptionAsStream(params:
1988
- Protocol.Network.TakeResponseBodyForInterceptionAsStreamRequest):
1989
- Promise<Protocol.Network.TakeResponseBodyForInterceptionAsStreamResponse>;
1899
+ invoke_takeResponseBodyForInterceptionAsStream(params: Protocol.Network.TakeResponseBodyForInterceptionAsStreamRequest): Promise<Protocol.Network.TakeResponseBodyForInterceptionAsStreamResponse>;
1990
1900
 
1991
1901
  /**
1992
1902
  * This method sends a new XMLHttpRequest which is identical to the original one. The following
@@ -1998,8 +1908,7 @@ declare namespace ProtocolProxyApi {
1998
1908
  /**
1999
1909
  * Searches for given string in response content.
2000
1910
  */
2001
- invoke_searchInResponseBody(params: Protocol.Network.SearchInResponseBodyRequest):
2002
- Promise<Protocol.Network.SearchInResponseBodyResponse>;
1911
+ invoke_searchInResponseBody(params: Protocol.Network.SearchInResponseBodyRequest): Promise<Protocol.Network.SearchInResponseBodyResponse>;
2003
1912
 
2004
1913
  /**
2005
1914
  * Blocks URLs from loading.
@@ -2009,14 +1918,12 @@ declare namespace ProtocolProxyApi {
2009
1918
  /**
2010
1919
  * Toggles ignoring of service worker for each request.
2011
1920
  */
2012
- invoke_setBypassServiceWorker(params: Protocol.Network.SetBypassServiceWorkerRequest):
2013
- Promise<Protocol.ProtocolResponseWithError>;
1921
+ invoke_setBypassServiceWorker(params: Protocol.Network.SetBypassServiceWorkerRequest): Promise<Protocol.ProtocolResponseWithError>;
2014
1922
 
2015
1923
  /**
2016
1924
  * Toggles ignoring cache for each request. If `true`, cache will not be used.
2017
1925
  */
2018
- invoke_setCacheDisabled(params: Protocol.Network.SetCacheDisabledRequest):
2019
- Promise<Protocol.ProtocolResponseWithError>;
1926
+ invoke_setCacheDisabled(params: Protocol.Network.SetCacheDisabledRequest): Promise<Protocol.ProtocolResponseWithError>;
2020
1927
 
2021
1928
  /**
2022
1929
  * Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
@@ -2031,46 +1938,40 @@ declare namespace ProtocolProxyApi {
2031
1938
  /**
2032
1939
  * Specifies whether to always send extra HTTP headers with the requests from this page.
2033
1940
  */
2034
- invoke_setExtraHTTPHeaders(params: Protocol.Network.SetExtraHTTPHeadersRequest):
2035
- Promise<Protocol.ProtocolResponseWithError>;
1941
+ invoke_setExtraHTTPHeaders(params: Protocol.Network.SetExtraHTTPHeadersRequest): Promise<Protocol.ProtocolResponseWithError>;
2036
1942
 
2037
1943
  /**
2038
1944
  * Specifies whether to attach a page script stack id in requests
2039
1945
  */
2040
- invoke_setAttachDebugStack(params: Protocol.Network.SetAttachDebugStackRequest):
2041
- Promise<Protocol.ProtocolResponseWithError>;
1946
+ invoke_setAttachDebugStack(params: Protocol.Network.SetAttachDebugStackRequest): Promise<Protocol.ProtocolResponseWithError>;
2042
1947
 
2043
1948
  /**
2044
1949
  * Sets the requests to intercept that match the provided patterns and optionally resource types.
2045
1950
  * Deprecated, please use Fetch.enable instead.
2046
1951
  */
2047
- invoke_setRequestInterception(params: Protocol.Network.SetRequestInterceptionRequest):
2048
- Promise<Protocol.ProtocolResponseWithError>;
1952
+ invoke_setRequestInterception(params: Protocol.Network.SetRequestInterceptionRequest): Promise<Protocol.ProtocolResponseWithError>;
2049
1953
 
2050
1954
  /**
2051
1955
  * Allows overriding user agent with the given string.
2052
1956
  */
2053
- invoke_setUserAgentOverride(params: Protocol.Network.SetUserAgentOverrideRequest):
2054
- Promise<Protocol.ProtocolResponseWithError>;
1957
+ invoke_setUserAgentOverride(params: Protocol.Network.SetUserAgentOverrideRequest): Promise<Protocol.ProtocolResponseWithError>;
2055
1958
 
2056
1959
  /**
2057
1960
  * Returns information about the COEP/COOP isolation status.
2058
1961
  */
2059
- invoke_getSecurityIsolationStatus(params: Protocol.Network.GetSecurityIsolationStatusRequest):
2060
- Promise<Protocol.Network.GetSecurityIsolationStatusResponse>;
1962
+ invoke_getSecurityIsolationStatus(params: Protocol.Network.GetSecurityIsolationStatusRequest): Promise<Protocol.Network.GetSecurityIsolationStatusResponse>;
2061
1963
 
2062
1964
  /**
2063
1965
  * Enables tracking for the Reporting API, events generated by the Reporting API will now be delivered to the client.
2064
1966
  * Enabling triggers 'reportingApiReportAdded' for all existing reports.
2065
1967
  */
2066
- invoke_enableReportingApi(params: Protocol.Network.EnableReportingApiRequest):
2067
- Promise<Protocol.ProtocolResponseWithError>;
1968
+ invoke_enableReportingApi(params: Protocol.Network.EnableReportingApiRequest): Promise<Protocol.ProtocolResponseWithError>;
2068
1969
 
2069
1970
  /**
2070
1971
  * Fetches the resource and returns the content.
2071
1972
  */
2072
- invoke_loadNetworkResource(params: Protocol.Network.LoadNetworkResourceRequest):
2073
- Promise<Protocol.Network.LoadNetworkResourceResponse>;
1973
+ invoke_loadNetworkResource(params: Protocol.Network.LoadNetworkResourceRequest): Promise<Protocol.Network.LoadNetworkResourceResponse>;
1974
+
2074
1975
  }
2075
1976
  export interface NetworkDispatcher {
2076
1977
  /**
@@ -2213,8 +2114,7 @@ declare namespace ProtocolProxyApi {
2213
2114
  * Fired when handling requests for resources within a .wbn file.
2214
2115
  * Note: this will only be fired for resources that are requested by the webpage.
2215
2116
  */
2216
- subresourceWebBundleInnerResponseParsed(params: Protocol.Network.SubresourceWebBundleInnerResponseParsedEvent):
2217
- void;
2117
+ subresourceWebBundleInnerResponseParsed(params: Protocol.Network.SubresourceWebBundleInnerResponseParsedEvent): void;
2218
2118
 
2219
2119
  /**
2220
2120
  * Fired when request for resources within a .wbn file failed.
@@ -2230,6 +2130,7 @@ declare namespace ProtocolProxyApi {
2230
2130
  reportingApiReportUpdated(params: Protocol.Network.ReportingApiReportUpdatedEvent): void;
2231
2131
 
2232
2132
  reportingApiEndpointsChangedForOrigin(params: Protocol.Network.ReportingApiEndpointsChangedForOriginEvent): void;
2133
+
2233
2134
  }
2234
2135
 
2235
2136
  export interface OverlayApi {
@@ -2246,20 +2147,17 @@ declare namespace ProtocolProxyApi {
2246
2147
  /**
2247
2148
  * For testing.
2248
2149
  */
2249
- invoke_getHighlightObjectForTest(params: Protocol.Overlay.GetHighlightObjectForTestRequest):
2250
- Promise<Protocol.Overlay.GetHighlightObjectForTestResponse>;
2150
+ invoke_getHighlightObjectForTest(params: Protocol.Overlay.GetHighlightObjectForTestRequest): Promise<Protocol.Overlay.GetHighlightObjectForTestResponse>;
2251
2151
 
2252
2152
  /**
2253
2153
  * For Persistent Grid testing.
2254
2154
  */
2255
- invoke_getGridHighlightObjectsForTest(params: Protocol.Overlay.GetGridHighlightObjectsForTestRequest):
2256
- Promise<Protocol.Overlay.GetGridHighlightObjectsForTestResponse>;
2155
+ invoke_getGridHighlightObjectsForTest(params: Protocol.Overlay.GetGridHighlightObjectsForTestRequest): Promise<Protocol.Overlay.GetGridHighlightObjectsForTestResponse>;
2257
2156
 
2258
2157
  /**
2259
2158
  * For Source Order Viewer testing.
2260
2159
  */
2261
- invoke_getSourceOrderHighlightObjectForTest(params: Protocol.Overlay.GetSourceOrderHighlightObjectForTestRequest):
2262
- Promise<Protocol.Overlay.GetSourceOrderHighlightObjectForTestResponse>;
2160
+ invoke_getSourceOrderHighlightObjectForTest(params: Protocol.Overlay.GetSourceOrderHighlightObjectForTestRequest): Promise<Protocol.Overlay.GetSourceOrderHighlightObjectForTestResponse>;
2263
2161
 
2264
2162
  /**
2265
2163
  * Hides any highlight.
@@ -2294,8 +2192,7 @@ declare namespace ProtocolProxyApi {
2294
2192
  * Highlights the source order of the children of the DOM node with given id or with the given
2295
2193
  * JavaScript object wrapper. Either nodeId or objectId must be specified.
2296
2194
  */
2297
- invoke_highlightSourceOrder(params: Protocol.Overlay.HighlightSourceOrderRequest):
2298
- Promise<Protocol.ProtocolResponseWithError>;
2195
+ invoke_highlightSourceOrder(params: Protocol.Overlay.HighlightSourceOrderRequest): Promise<Protocol.ProtocolResponseWithError>;
2299
2196
 
2300
2197
  /**
2301
2198
  * Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted.
@@ -2306,74 +2203,60 @@ declare namespace ProtocolProxyApi {
2306
2203
  /**
2307
2204
  * Highlights owner element of all frames detected to be ads.
2308
2205
  */
2309
- invoke_setShowAdHighlights(params: Protocol.Overlay.SetShowAdHighlightsRequest):
2310
- Promise<Protocol.ProtocolResponseWithError>;
2206
+ invoke_setShowAdHighlights(params: Protocol.Overlay.SetShowAdHighlightsRequest): Promise<Protocol.ProtocolResponseWithError>;
2311
2207
 
2312
- invoke_setPausedInDebuggerMessage(params: Protocol.Overlay.SetPausedInDebuggerMessageRequest):
2313
- Promise<Protocol.ProtocolResponseWithError>;
2208
+ invoke_setPausedInDebuggerMessage(params: Protocol.Overlay.SetPausedInDebuggerMessageRequest): Promise<Protocol.ProtocolResponseWithError>;
2314
2209
 
2315
2210
  /**
2316
2211
  * Requests that backend shows debug borders on layers
2317
2212
  */
2318
- invoke_setShowDebugBorders(params: Protocol.Overlay.SetShowDebugBordersRequest):
2319
- Promise<Protocol.ProtocolResponseWithError>;
2213
+ invoke_setShowDebugBorders(params: Protocol.Overlay.SetShowDebugBordersRequest): Promise<Protocol.ProtocolResponseWithError>;
2320
2214
 
2321
2215
  /**
2322
2216
  * Requests that backend shows the FPS counter
2323
2217
  */
2324
- invoke_setShowFPSCounter(params: Protocol.Overlay.SetShowFPSCounterRequest):
2325
- Promise<Protocol.ProtocolResponseWithError>;
2218
+ invoke_setShowFPSCounter(params: Protocol.Overlay.SetShowFPSCounterRequest): Promise<Protocol.ProtocolResponseWithError>;
2326
2219
 
2327
2220
  /**
2328
2221
  * Highlight multiple elements with the CSS Grid overlay.
2329
2222
  */
2330
- invoke_setShowGridOverlays(params: Protocol.Overlay.SetShowGridOverlaysRequest):
2331
- Promise<Protocol.ProtocolResponseWithError>;
2223
+ invoke_setShowGridOverlays(params: Protocol.Overlay.SetShowGridOverlaysRequest): Promise<Protocol.ProtocolResponseWithError>;
2332
2224
 
2333
- invoke_setShowFlexOverlays(params: Protocol.Overlay.SetShowFlexOverlaysRequest):
2334
- Promise<Protocol.ProtocolResponseWithError>;
2225
+ invoke_setShowFlexOverlays(params: Protocol.Overlay.SetShowFlexOverlaysRequest): Promise<Protocol.ProtocolResponseWithError>;
2335
2226
 
2336
- invoke_setShowScrollSnapOverlays(params: Protocol.Overlay.SetShowScrollSnapOverlaysRequest):
2337
- Promise<Protocol.ProtocolResponseWithError>;
2227
+ invoke_setShowScrollSnapOverlays(params: Protocol.Overlay.SetShowScrollSnapOverlaysRequest): Promise<Protocol.ProtocolResponseWithError>;
2338
2228
 
2339
- invoke_setShowContainerQueryOverlays(params: Protocol.Overlay.SetShowContainerQueryOverlaysRequest):
2340
- Promise<Protocol.ProtocolResponseWithError>;
2229
+ invoke_setShowContainerQueryOverlays(params: Protocol.Overlay.SetShowContainerQueryOverlaysRequest): Promise<Protocol.ProtocolResponseWithError>;
2341
2230
 
2342
2231
  /**
2343
2232
  * Requests that backend shows paint rectangles
2344
2233
  */
2345
- invoke_setShowPaintRects(params: Protocol.Overlay.SetShowPaintRectsRequest):
2346
- Promise<Protocol.ProtocolResponseWithError>;
2234
+ invoke_setShowPaintRects(params: Protocol.Overlay.SetShowPaintRectsRequest): Promise<Protocol.ProtocolResponseWithError>;
2347
2235
 
2348
2236
  /**
2349
2237
  * Requests that backend shows layout shift regions
2350
2238
  */
2351
- invoke_setShowLayoutShiftRegions(params: Protocol.Overlay.SetShowLayoutShiftRegionsRequest):
2352
- Promise<Protocol.ProtocolResponseWithError>;
2239
+ invoke_setShowLayoutShiftRegions(params: Protocol.Overlay.SetShowLayoutShiftRegionsRequest): Promise<Protocol.ProtocolResponseWithError>;
2353
2240
 
2354
2241
  /**
2355
2242
  * Requests that backend shows scroll bottleneck rects
2356
2243
  */
2357
- invoke_setShowScrollBottleneckRects(params: Protocol.Overlay.SetShowScrollBottleneckRectsRequest):
2358
- Promise<Protocol.ProtocolResponseWithError>;
2244
+ invoke_setShowScrollBottleneckRects(params: Protocol.Overlay.SetShowScrollBottleneckRectsRequest): Promise<Protocol.ProtocolResponseWithError>;
2359
2245
 
2360
2246
  /**
2361
2247
  * Deprecated, no longer has any effect.
2362
2248
  */
2363
- invoke_setShowHitTestBorders(params: Protocol.Overlay.SetShowHitTestBordersRequest):
2364
- Promise<Protocol.ProtocolResponseWithError>;
2249
+ invoke_setShowHitTestBorders(params: Protocol.Overlay.SetShowHitTestBordersRequest): Promise<Protocol.ProtocolResponseWithError>;
2365
2250
 
2366
2251
  /**
2367
2252
  * Request that backend shows an overlay with web vital metrics.
2368
2253
  */
2369
- invoke_setShowWebVitals(params: Protocol.Overlay.SetShowWebVitalsRequest):
2370
- Promise<Protocol.ProtocolResponseWithError>;
2254
+ invoke_setShowWebVitals(params: Protocol.Overlay.SetShowWebVitalsRequest): Promise<Protocol.ProtocolResponseWithError>;
2371
2255
 
2372
2256
  /**
2373
2257
  * Paints viewport size upon main frame resize.
2374
2258
  */
2375
- invoke_setShowViewportSizeOnResize(params: Protocol.Overlay.SetShowViewportSizeOnResizeRequest):
2376
- Promise<Protocol.ProtocolResponseWithError>;
2259
+ invoke_setShowViewportSizeOnResize(params: Protocol.Overlay.SetShowViewportSizeOnResizeRequest): Promise<Protocol.ProtocolResponseWithError>;
2377
2260
 
2378
2261
  /**
2379
2262
  * Add a dual screen device hinge
@@ -2383,8 +2266,8 @@ declare namespace ProtocolProxyApi {
2383
2266
  /**
2384
2267
  * Show elements in isolation mode with overlays.
2385
2268
  */
2386
- invoke_setShowIsolatedElements(params: Protocol.Overlay.SetShowIsolatedElementsRequest):
2387
- Promise<Protocol.ProtocolResponseWithError>;
2269
+ invoke_setShowIsolatedElements(params: Protocol.Overlay.SetShowIsolatedElementsRequest): Promise<Protocol.ProtocolResponseWithError>;
2270
+
2388
2271
  }
2389
2272
  export interface OverlayDispatcher {
2390
2273
  /**
@@ -2407,20 +2290,19 @@ declare namespace ProtocolProxyApi {
2407
2290
  * Fired when user cancels the inspect mode.
2408
2291
  */
2409
2292
  inspectModeCanceled(): void;
2293
+
2410
2294
  }
2411
2295
 
2412
2296
  export interface PageApi {
2413
2297
  /**
2414
2298
  * Deprecated, please use addScriptToEvaluateOnNewDocument instead.
2415
2299
  */
2416
- invoke_addScriptToEvaluateOnLoad(params: Protocol.Page.AddScriptToEvaluateOnLoadRequest):
2417
- Promise<Protocol.Page.AddScriptToEvaluateOnLoadResponse>;
2300
+ invoke_addScriptToEvaluateOnLoad(params: Protocol.Page.AddScriptToEvaluateOnLoadRequest): Promise<Protocol.Page.AddScriptToEvaluateOnLoadResponse>;
2418
2301
 
2419
2302
  /**
2420
2303
  * Evaluates given script in every frame upon creation (before loading frame's scripts).
2421
2304
  */
2422
- invoke_addScriptToEvaluateOnNewDocument(params: Protocol.Page.AddScriptToEvaluateOnNewDocumentRequest):
2423
- Promise<Protocol.Page.AddScriptToEvaluateOnNewDocumentResponse>;
2305
+ invoke_addScriptToEvaluateOnNewDocument(params: Protocol.Page.AddScriptToEvaluateOnNewDocumentRequest): Promise<Protocol.Page.AddScriptToEvaluateOnNewDocumentResponse>;
2424
2306
 
2425
2307
  /**
2426
2308
  * Brings page to front (activates tab).
@@ -2430,15 +2312,13 @@ declare namespace ProtocolProxyApi {
2430
2312
  /**
2431
2313
  * Capture page screenshot.
2432
2314
  */
2433
- invoke_captureScreenshot(params: Protocol.Page.CaptureScreenshotRequest):
2434
- Promise<Protocol.Page.CaptureScreenshotResponse>;
2315
+ invoke_captureScreenshot(params: Protocol.Page.CaptureScreenshotRequest): Promise<Protocol.Page.CaptureScreenshotResponse>;
2435
2316
 
2436
2317
  /**
2437
2318
  * Returns a snapshot of the page as a string. For MHTML format, the serialization includes
2438
2319
  * iframes, shadow DOM, external resources, and element-inline styles.
2439
2320
  */
2440
- invoke_captureSnapshot(params: Protocol.Page.CaptureSnapshotRequest):
2441
- Promise<Protocol.Page.CaptureSnapshotResponse>;
2321
+ invoke_captureSnapshot(params: Protocol.Page.CaptureSnapshotRequest): Promise<Protocol.Page.CaptureSnapshotResponse>;
2442
2322
 
2443
2323
  /**
2444
2324
  * Clears the overridden device metrics.
@@ -2458,8 +2338,7 @@ declare namespace ProtocolProxyApi {
2458
2338
  /**
2459
2339
  * Creates an isolated world for the given frame.
2460
2340
  */
2461
- invoke_createIsolatedWorld(params: Protocol.Page.CreateIsolatedWorldRequest):
2462
- Promise<Protocol.Page.CreateIsolatedWorldResponse>;
2341
+ invoke_createIsolatedWorld(params: Protocol.Page.CreateIsolatedWorldRequest): Promise<Protocol.Page.CreateIsolatedWorldResponse>;
2463
2342
 
2464
2343
  /**
2465
2344
  * Deletes browser cookie with given name, domain and path.
@@ -2517,8 +2396,7 @@ declare namespace ProtocolProxyApi {
2517
2396
  /**
2518
2397
  * Returns content of the given resource.
2519
2398
  */
2520
- invoke_getResourceContent(params: Protocol.Page.GetResourceContentRequest):
2521
- Promise<Protocol.Page.GetResourceContentResponse>;
2399
+ invoke_getResourceContent(params: Protocol.Page.GetResourceContentRequest): Promise<Protocol.Page.GetResourceContentResponse>;
2522
2400
 
2523
2401
  /**
2524
2402
  * Returns present frame / resource tree structure.
@@ -2528,8 +2406,7 @@ declare namespace ProtocolProxyApi {
2528
2406
  /**
2529
2407
  * Accepts or dismisses a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload).
2530
2408
  */
2531
- invoke_handleJavaScriptDialog(params: Protocol.Page.HandleJavaScriptDialogRequest):
2532
- Promise<Protocol.ProtocolResponseWithError>;
2409
+ invoke_handleJavaScriptDialog(params: Protocol.Page.HandleJavaScriptDialogRequest): Promise<Protocol.ProtocolResponseWithError>;
2533
2410
 
2534
2411
  /**
2535
2412
  * Navigates current page to the given URL.
@@ -2539,8 +2416,7 @@ declare namespace ProtocolProxyApi {
2539
2416
  /**
2540
2417
  * Navigates current page to the given history entry.
2541
2418
  */
2542
- invoke_navigateToHistoryEntry(params: Protocol.Page.NavigateToHistoryEntryRequest):
2543
- Promise<Protocol.ProtocolResponseWithError>;
2419
+ invoke_navigateToHistoryEntry(params: Protocol.Page.NavigateToHistoryEntryRequest): Promise<Protocol.ProtocolResponseWithError>;
2544
2420
 
2545
2421
  /**
2546
2422
  * Print page as PDF.
@@ -2555,32 +2431,27 @@ declare namespace ProtocolProxyApi {
2555
2431
  /**
2556
2432
  * Deprecated, please use removeScriptToEvaluateOnNewDocument instead.
2557
2433
  */
2558
- invoke_removeScriptToEvaluateOnLoad(params: Protocol.Page.RemoveScriptToEvaluateOnLoadRequest):
2559
- Promise<Protocol.ProtocolResponseWithError>;
2434
+ invoke_removeScriptToEvaluateOnLoad(params: Protocol.Page.RemoveScriptToEvaluateOnLoadRequest): Promise<Protocol.ProtocolResponseWithError>;
2560
2435
 
2561
2436
  /**
2562
2437
  * Removes given script from the list.
2563
2438
  */
2564
- invoke_removeScriptToEvaluateOnNewDocument(params: Protocol.Page.RemoveScriptToEvaluateOnNewDocumentRequest):
2565
- Promise<Protocol.ProtocolResponseWithError>;
2439
+ invoke_removeScriptToEvaluateOnNewDocument(params: Protocol.Page.RemoveScriptToEvaluateOnNewDocumentRequest): Promise<Protocol.ProtocolResponseWithError>;
2566
2440
 
2567
2441
  /**
2568
2442
  * Acknowledges that a screencast frame has been received by the frontend.
2569
2443
  */
2570
- invoke_screencastFrameAck(params: Protocol.Page.ScreencastFrameAckRequest):
2571
- Promise<Protocol.ProtocolResponseWithError>;
2444
+ invoke_screencastFrameAck(params: Protocol.Page.ScreencastFrameAckRequest): Promise<Protocol.ProtocolResponseWithError>;
2572
2445
 
2573
2446
  /**
2574
2447
  * Searches for given string in resource content.
2575
2448
  */
2576
- invoke_searchInResource(params: Protocol.Page.SearchInResourceRequest):
2577
- Promise<Protocol.Page.SearchInResourceResponse>;
2449
+ invoke_searchInResource(params: Protocol.Page.SearchInResourceRequest): Promise<Protocol.Page.SearchInResourceResponse>;
2578
2450
 
2579
2451
  /**
2580
2452
  * Enable Chrome's experimental ad filter on all sites.
2581
2453
  */
2582
- invoke_setAdBlockingEnabled(params: Protocol.Page.SetAdBlockingEnabledRequest):
2583
- Promise<Protocol.ProtocolResponseWithError>;
2454
+ invoke_setAdBlockingEnabled(params: Protocol.Page.SetAdBlockingEnabledRequest): Promise<Protocol.ProtocolResponseWithError>;
2584
2455
 
2585
2456
  /**
2586
2457
  * Enable page Content Security Policy by-passing.
@@ -2590,28 +2461,24 @@ declare namespace ProtocolProxyApi {
2590
2461
  /**
2591
2462
  * Get Permissions Policy state on given frame.
2592
2463
  */
2593
- invoke_getPermissionsPolicyState(params: Protocol.Page.GetPermissionsPolicyStateRequest):
2594
- Promise<Protocol.Page.GetPermissionsPolicyStateResponse>;
2464
+ invoke_getPermissionsPolicyState(params: Protocol.Page.GetPermissionsPolicyStateRequest): Promise<Protocol.Page.GetPermissionsPolicyStateResponse>;
2595
2465
 
2596
2466
  /**
2597
2467
  * Get Origin Trials on given frame.
2598
2468
  */
2599
- invoke_getOriginTrials(params: Protocol.Page.GetOriginTrialsRequest):
2600
- Promise<Protocol.Page.GetOriginTrialsResponse>;
2469
+ invoke_getOriginTrials(params: Protocol.Page.GetOriginTrialsRequest): Promise<Protocol.Page.GetOriginTrialsResponse>;
2601
2470
 
2602
2471
  /**
2603
2472
  * Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
2604
2473
  * window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
2605
2474
  * query results).
2606
2475
  */
2607
- invoke_setDeviceMetricsOverride(params: Protocol.Page.SetDeviceMetricsOverrideRequest):
2608
- Promise<Protocol.ProtocolResponseWithError>;
2476
+ invoke_setDeviceMetricsOverride(params: Protocol.Page.SetDeviceMetricsOverrideRequest): Promise<Protocol.ProtocolResponseWithError>;
2609
2477
 
2610
2478
  /**
2611
2479
  * Overrides the Device Orientation.
2612
2480
  */
2613
- invoke_setDeviceOrientationOverride(params: Protocol.Page.SetDeviceOrientationOverrideRequest):
2614
- Promise<Protocol.ProtocolResponseWithError>;
2481
+ invoke_setDeviceOrientationOverride(params: Protocol.Page.SetDeviceOrientationOverrideRequest): Promise<Protocol.ProtocolResponseWithError>;
2615
2482
 
2616
2483
  /**
2617
2484
  * Set generic font families.
@@ -2626,33 +2493,28 @@ declare namespace ProtocolProxyApi {
2626
2493
  /**
2627
2494
  * Sets given markup as the document's HTML.
2628
2495
  */
2629
- invoke_setDocumentContent(params: Protocol.Page.SetDocumentContentRequest):
2630
- Promise<Protocol.ProtocolResponseWithError>;
2496
+ invoke_setDocumentContent(params: Protocol.Page.SetDocumentContentRequest): Promise<Protocol.ProtocolResponseWithError>;
2631
2497
 
2632
2498
  /**
2633
2499
  * Set the behavior when downloading a file.
2634
2500
  */
2635
- invoke_setDownloadBehavior(params: Protocol.Page.SetDownloadBehaviorRequest):
2636
- Promise<Protocol.ProtocolResponseWithError>;
2501
+ invoke_setDownloadBehavior(params: Protocol.Page.SetDownloadBehaviorRequest): Promise<Protocol.ProtocolResponseWithError>;
2637
2502
 
2638
2503
  /**
2639
2504
  * Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position
2640
2505
  * unavailable.
2641
2506
  */
2642
- invoke_setGeolocationOverride(params: Protocol.Page.SetGeolocationOverrideRequest):
2643
- Promise<Protocol.ProtocolResponseWithError>;
2507
+ invoke_setGeolocationOverride(params: Protocol.Page.SetGeolocationOverrideRequest): Promise<Protocol.ProtocolResponseWithError>;
2644
2508
 
2645
2509
  /**
2646
2510
  * Controls whether page will emit lifecycle events.
2647
2511
  */
2648
- invoke_setLifecycleEventsEnabled(params: Protocol.Page.SetLifecycleEventsEnabledRequest):
2649
- Promise<Protocol.ProtocolResponseWithError>;
2512
+ invoke_setLifecycleEventsEnabled(params: Protocol.Page.SetLifecycleEventsEnabledRequest): Promise<Protocol.ProtocolResponseWithError>;
2650
2513
 
2651
2514
  /**
2652
2515
  * Toggles mouse event-based touch event emulation.
2653
2516
  */
2654
- invoke_setTouchEmulationEnabled(params: Protocol.Page.SetTouchEmulationEnabledRequest):
2655
- Promise<Protocol.ProtocolResponseWithError>;
2517
+ invoke_setTouchEmulationEnabled(params: Protocol.Page.SetTouchEmulationEnabledRequest): Promise<Protocol.ProtocolResponseWithError>;
2656
2518
 
2657
2519
  /**
2658
2520
  * Starts sending each frame using the `screencastFrame` event.
@@ -2679,8 +2541,7 @@ declare namespace ProtocolProxyApi {
2679
2541
  * It will transition the page to the given state according to:
2680
2542
  * https://github.com/WICG/web-lifecycle/
2681
2543
  */
2682
- invoke_setWebLifecycleState(params: Protocol.Page.SetWebLifecycleStateRequest):
2683
- Promise<Protocol.ProtocolResponseWithError>;
2544
+ invoke_setWebLifecycleState(params: Protocol.Page.SetWebLifecycleStateRequest): Promise<Protocol.ProtocolResponseWithError>;
2684
2545
 
2685
2546
  /**
2686
2547
  * Stops sending each frame in the `screencastFrame`.
@@ -2695,15 +2556,13 @@ declare namespace ProtocolProxyApi {
2695
2556
  * produced upon backend discretion, based on internal heuristics.
2696
2557
  * See also: `Page.compilationCacheProduced`.
2697
2558
  */
2698
- invoke_produceCompilationCache(params: Protocol.Page.ProduceCompilationCacheRequest):
2699
- Promise<Protocol.ProtocolResponseWithError>;
2559
+ invoke_produceCompilationCache(params: Protocol.Page.ProduceCompilationCacheRequest): Promise<Protocol.ProtocolResponseWithError>;
2700
2560
 
2701
2561
  /**
2702
2562
  * Seeds compilation cache for given url. Compilation cache does not survive
2703
2563
  * cross-process navigation.
2704
2564
  */
2705
- invoke_addCompilationCache(params: Protocol.Page.AddCompilationCacheRequest):
2706
- Promise<Protocol.ProtocolResponseWithError>;
2565
+ invoke_addCompilationCache(params: Protocol.Page.AddCompilationCacheRequest): Promise<Protocol.ProtocolResponseWithError>;
2707
2566
 
2708
2567
  /**
2709
2568
  * Clears seeded compilation cache.
@@ -2714,14 +2573,12 @@ declare namespace ProtocolProxyApi {
2714
2573
  * Sets the Secure Payment Confirmation transaction mode.
2715
2574
  * https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode
2716
2575
  */
2717
- invoke_setSPCTransactionMode(params: Protocol.Page.SetSPCTransactionModeRequest):
2718
- Promise<Protocol.ProtocolResponseWithError>;
2576
+ invoke_setSPCTransactionMode(params: Protocol.Page.SetSPCTransactionModeRequest): Promise<Protocol.ProtocolResponseWithError>;
2719
2577
 
2720
2578
  /**
2721
2579
  * Generates a report for testing.
2722
2580
  */
2723
- invoke_generateTestReport(params: Protocol.Page.GenerateTestReportRequest):
2724
- Promise<Protocol.ProtocolResponseWithError>;
2581
+ invoke_generateTestReport(params: Protocol.Page.GenerateTestReportRequest): Promise<Protocol.ProtocolResponseWithError>;
2725
2582
 
2726
2583
  /**
2727
2584
  * Pauses page execution. Can be resumed using generic Runtime.runIfWaitingForDebugger.
@@ -2733,8 +2590,8 @@ declare namespace ProtocolProxyApi {
2733
2590
  * When file chooser interception is enabled, native file chooser dialog is not shown.
2734
2591
  * Instead, a protocol event `Page.fileChooserOpened` is emitted.
2735
2592
  */
2736
- invoke_setInterceptFileChooserDialog(params: Protocol.Page.SetInterceptFileChooserDialogRequest):
2737
- Promise<Protocol.ProtocolResponseWithError>;
2593
+ invoke_setInterceptFileChooserDialog(params: Protocol.Page.SetInterceptFileChooserDialogRequest): Promise<Protocol.ProtocolResponseWithError>;
2594
+
2738
2595
  }
2739
2596
  export interface PageDispatcher {
2740
2597
  domContentEventFired(params: Protocol.Page.DomContentEventFiredEvent): void;
@@ -2872,6 +2729,7 @@ declare namespace ProtocolProxyApi {
2872
2729
  * if Page.setGenerateCompilationCache is enabled.
2873
2730
  */
2874
2731
  compilationCacheProduced(params: Protocol.Page.CompilationCacheProducedEvent): void;
2732
+
2875
2733
  }
2876
2734
 
2877
2735
  export interface PerformanceApi {
@@ -2890,19 +2748,20 @@ declare namespace ProtocolProxyApi {
2890
2748
  * Note that this must be called before enabling metrics collection. Calling
2891
2749
  * this method while metrics collection is enabled returns an error.
2892
2750
  */
2893
- invoke_setTimeDomain(params: Protocol.Performance.SetTimeDomainRequest):
2894
- Promise<Protocol.ProtocolResponseWithError>;
2751
+ invoke_setTimeDomain(params: Protocol.Performance.SetTimeDomainRequest): Promise<Protocol.ProtocolResponseWithError>;
2895
2752
 
2896
2753
  /**
2897
2754
  * Retrieve current values of run-time metrics.
2898
2755
  */
2899
2756
  invoke_getMetrics(): Promise<Protocol.Performance.GetMetricsResponse>;
2757
+
2900
2758
  }
2901
2759
  export interface PerformanceDispatcher {
2902
2760
  /**
2903
2761
  * Current values of the metrics.
2904
2762
  */
2905
2763
  metrics(params: Protocol.Performance.MetricsEvent): void;
2764
+
2906
2765
  }
2907
2766
 
2908
2767
  export interface PerformanceTimelineApi {
@@ -2911,12 +2770,14 @@ declare namespace ProtocolProxyApi {
2911
2770
  * See also: timelineEventAdded
2912
2771
  */
2913
2772
  invoke_enable(params: Protocol.PerformanceTimeline.EnableRequest): Promise<Protocol.ProtocolResponseWithError>;
2773
+
2914
2774
  }
2915
2775
  export interface PerformanceTimelineDispatcher {
2916
2776
  /**
2917
2777
  * Sent when a performance timeline event is added. See reportPerformanceTimeline method.
2918
2778
  */
2919
2779
  timelineEventAdded(params: Protocol.PerformanceTimeline.TimelineEventAddedEvent): void;
2780
+
2920
2781
  }
2921
2782
 
2922
2783
  export interface SecurityApi {
@@ -2933,21 +2794,19 @@ declare namespace ProtocolProxyApi {
2933
2794
  /**
2934
2795
  * Enable/disable whether all certificate errors should be ignored.
2935
2796
  */
2936
- invoke_setIgnoreCertificateErrors(params: Protocol.Security.SetIgnoreCertificateErrorsRequest):
2937
- Promise<Protocol.ProtocolResponseWithError>;
2797
+ invoke_setIgnoreCertificateErrors(params: Protocol.Security.SetIgnoreCertificateErrorsRequest): Promise<Protocol.ProtocolResponseWithError>;
2938
2798
 
2939
2799
  /**
2940
2800
  * Handles a certificate error that fired a certificateError event.
2941
2801
  */
2942
- invoke_handleCertificateError(params: Protocol.Security.HandleCertificateErrorRequest):
2943
- Promise<Protocol.ProtocolResponseWithError>;
2802
+ invoke_handleCertificateError(params: Protocol.Security.HandleCertificateErrorRequest): Promise<Protocol.ProtocolResponseWithError>;
2944
2803
 
2945
2804
  /**
2946
2805
  * Enable/disable overriding certificate errors. If enabled, all certificate error events need to
2947
2806
  * be handled by the DevTools client and should be answered with `handleCertificateError` commands.
2948
2807
  */
2949
- invoke_setOverrideCertificateErrors(params: Protocol.Security.SetOverrideCertificateErrorsRequest):
2950
- Promise<Protocol.ProtocolResponseWithError>;
2808
+ invoke_setOverrideCertificateErrors(params: Protocol.Security.SetOverrideCertificateErrorsRequest): Promise<Protocol.ProtocolResponseWithError>;
2809
+
2951
2810
  }
2952
2811
  export interface SecurityDispatcher {
2953
2812
  /**
@@ -2967,27 +2826,23 @@ declare namespace ProtocolProxyApi {
2967
2826
  * The security state of the page changed. No longer being sent.
2968
2827
  */
2969
2828
  securityStateChanged(params: Protocol.Security.SecurityStateChangedEvent): void;
2829
+
2970
2830
  }
2971
2831
 
2972
2832
  export interface ServiceWorkerApi {
2973
- invoke_deliverPushMessage(params: Protocol.ServiceWorker.DeliverPushMessageRequest):
2974
- Promise<Protocol.ProtocolResponseWithError>;
2833
+ invoke_deliverPushMessage(params: Protocol.ServiceWorker.DeliverPushMessageRequest): Promise<Protocol.ProtocolResponseWithError>;
2975
2834
 
2976
2835
  invoke_disable(): Promise<Protocol.ProtocolResponseWithError>;
2977
2836
 
2978
- invoke_dispatchSyncEvent(params: Protocol.ServiceWorker.DispatchSyncEventRequest):
2979
- Promise<Protocol.ProtocolResponseWithError>;
2837
+ invoke_dispatchSyncEvent(params: Protocol.ServiceWorker.DispatchSyncEventRequest): Promise<Protocol.ProtocolResponseWithError>;
2980
2838
 
2981
- invoke_dispatchPeriodicSyncEvent(params: Protocol.ServiceWorker.DispatchPeriodicSyncEventRequest):
2982
- Promise<Protocol.ProtocolResponseWithError>;
2839
+ invoke_dispatchPeriodicSyncEvent(params: Protocol.ServiceWorker.DispatchPeriodicSyncEventRequest): Promise<Protocol.ProtocolResponseWithError>;
2983
2840
 
2984
2841
  invoke_enable(): Promise<Protocol.ProtocolResponseWithError>;
2985
2842
 
2986
- invoke_inspectWorker(params: Protocol.ServiceWorker.InspectWorkerRequest):
2987
- Promise<Protocol.ProtocolResponseWithError>;
2843
+ invoke_inspectWorker(params: Protocol.ServiceWorker.InspectWorkerRequest): Promise<Protocol.ProtocolResponseWithError>;
2988
2844
 
2989
- invoke_setForceUpdateOnPageLoad(params: Protocol.ServiceWorker.SetForceUpdateOnPageLoadRequest):
2990
- Promise<Protocol.ProtocolResponseWithError>;
2845
+ invoke_setForceUpdateOnPageLoad(params: Protocol.ServiceWorker.SetForceUpdateOnPageLoadRequest): Promise<Protocol.ProtocolResponseWithError>;
2991
2846
 
2992
2847
  invoke_skipWaiting(params: Protocol.ServiceWorker.SkipWaitingRequest): Promise<Protocol.ProtocolResponseWithError>;
2993
2848
 
@@ -2999,8 +2854,8 @@ declare namespace ProtocolProxyApi {
2999
2854
 
3000
2855
  invoke_unregister(params: Protocol.ServiceWorker.UnregisterRequest): Promise<Protocol.ProtocolResponseWithError>;
3001
2856
 
3002
- invoke_updateRegistration(params: Protocol.ServiceWorker.UpdateRegistrationRequest):
3003
- Promise<Protocol.ProtocolResponseWithError>;
2857
+ invoke_updateRegistration(params: Protocol.ServiceWorker.UpdateRegistrationRequest): Promise<Protocol.ProtocolResponseWithError>;
2858
+
3004
2859
  }
3005
2860
  export interface ServiceWorkerDispatcher {
3006
2861
  workerErrorReported(params: Protocol.ServiceWorker.WorkerErrorReportedEvent): void;
@@ -3008,20 +2863,19 @@ declare namespace ProtocolProxyApi {
3008
2863
  workerRegistrationUpdated(params: Protocol.ServiceWorker.WorkerRegistrationUpdatedEvent): void;
3009
2864
 
3010
2865
  workerVersionUpdated(params: Protocol.ServiceWorker.WorkerVersionUpdatedEvent): void;
2866
+
3011
2867
  }
3012
2868
 
3013
2869
  export interface StorageApi {
3014
2870
  /**
3015
2871
  * Returns a storage key given a frame id.
3016
2872
  */
3017
- invoke_getStorageKeyForFrame(params: Protocol.Storage.GetStorageKeyForFrameRequest):
3018
- Promise<Protocol.Storage.GetStorageKeyForFrameResponse>;
2873
+ invoke_getStorageKeyForFrame(params: Protocol.Storage.GetStorageKeyForFrameRequest): Promise<Protocol.Storage.GetStorageKeyForFrameResponse>;
3019
2874
 
3020
2875
  /**
3021
2876
  * Clears storage for origin.
3022
2877
  */
3023
- invoke_clearDataForOrigin(params: Protocol.Storage.ClearDataForOriginRequest):
3024
- Promise<Protocol.ProtocolResponseWithError>;
2878
+ invoke_clearDataForOrigin(params: Protocol.Storage.ClearDataForOriginRequest): Promise<Protocol.ProtocolResponseWithError>;
3025
2879
 
3026
2880
  /**
3027
2881
  * Returns all browser cookies.
@@ -3041,38 +2895,32 @@ declare namespace ProtocolProxyApi {
3041
2895
  /**
3042
2896
  * Returns usage and quota in bytes.
3043
2897
  */
3044
- invoke_getUsageAndQuota(params: Protocol.Storage.GetUsageAndQuotaRequest):
3045
- Promise<Protocol.Storage.GetUsageAndQuotaResponse>;
2898
+ invoke_getUsageAndQuota(params: Protocol.Storage.GetUsageAndQuotaRequest): Promise<Protocol.Storage.GetUsageAndQuotaResponse>;
3046
2899
 
3047
2900
  /**
3048
2901
  * Override quota for the specified origin
3049
2902
  */
3050
- invoke_overrideQuotaForOrigin(params: Protocol.Storage.OverrideQuotaForOriginRequest):
3051
- Promise<Protocol.ProtocolResponseWithError>;
2903
+ invoke_overrideQuotaForOrigin(params: Protocol.Storage.OverrideQuotaForOriginRequest): Promise<Protocol.ProtocolResponseWithError>;
3052
2904
 
3053
2905
  /**
3054
2906
  * Registers origin to be notified when an update occurs to its cache storage list.
3055
2907
  */
3056
- invoke_trackCacheStorageForOrigin(params: Protocol.Storage.TrackCacheStorageForOriginRequest):
3057
- Promise<Protocol.ProtocolResponseWithError>;
2908
+ invoke_trackCacheStorageForOrigin(params: Protocol.Storage.TrackCacheStorageForOriginRequest): Promise<Protocol.ProtocolResponseWithError>;
3058
2909
 
3059
2910
  /**
3060
2911
  * Registers origin to be notified when an update occurs to its IndexedDB.
3061
2912
  */
3062
- invoke_trackIndexedDBForOrigin(params: Protocol.Storage.TrackIndexedDBForOriginRequest):
3063
- Promise<Protocol.ProtocolResponseWithError>;
2913
+ invoke_trackIndexedDBForOrigin(params: Protocol.Storage.TrackIndexedDBForOriginRequest): Promise<Protocol.ProtocolResponseWithError>;
3064
2914
 
3065
2915
  /**
3066
2916
  * Unregisters origin from receiving notifications for cache storage.
3067
2917
  */
3068
- invoke_untrackCacheStorageForOrigin(params: Protocol.Storage.UntrackCacheStorageForOriginRequest):
3069
- Promise<Protocol.ProtocolResponseWithError>;
2918
+ invoke_untrackCacheStorageForOrigin(params: Protocol.Storage.UntrackCacheStorageForOriginRequest): Promise<Protocol.ProtocolResponseWithError>;
3070
2919
 
3071
2920
  /**
3072
2921
  * Unregisters origin from receiving notifications for IndexedDB.
3073
2922
  */
3074
- invoke_untrackIndexedDBForOrigin(params: Protocol.Storage.UntrackIndexedDBForOriginRequest):
3075
- Promise<Protocol.ProtocolResponseWithError>;
2923
+ invoke_untrackIndexedDBForOrigin(params: Protocol.Storage.UntrackIndexedDBForOriginRequest): Promise<Protocol.ProtocolResponseWithError>;
3076
2924
 
3077
2925
  /**
3078
2926
  * Returns the number of stored Trust Tokens per issuer for the
@@ -3084,20 +2932,18 @@ declare namespace ProtocolProxyApi {
3084
2932
  * Removes all Trust Tokens issued by the provided issuerOrigin.
3085
2933
  * Leaves other stored data, including the issuer's Redemption Records, intact.
3086
2934
  */
3087
- invoke_clearTrustTokens(params: Protocol.Storage.ClearTrustTokensRequest):
3088
- Promise<Protocol.Storage.ClearTrustTokensResponse>;
2935
+ invoke_clearTrustTokens(params: Protocol.Storage.ClearTrustTokensRequest): Promise<Protocol.Storage.ClearTrustTokensResponse>;
3089
2936
 
3090
2937
  /**
3091
2938
  * Gets details for a named interest group.
3092
2939
  */
3093
- invoke_getInterestGroupDetails(params: Protocol.Storage.GetInterestGroupDetailsRequest):
3094
- Promise<Protocol.Storage.GetInterestGroupDetailsResponse>;
2940
+ invoke_getInterestGroupDetails(params: Protocol.Storage.GetInterestGroupDetailsRequest): Promise<Protocol.Storage.GetInterestGroupDetailsResponse>;
3095
2941
 
3096
2942
  /**
3097
2943
  * Enables/Disables issuing of interestGroupAccessed events.
3098
2944
  */
3099
- invoke_setInterestGroupTracking(params: Protocol.Storage.SetInterestGroupTrackingRequest):
3100
- Promise<Protocol.ProtocolResponseWithError>;
2945
+ invoke_setInterestGroupTracking(params: Protocol.Storage.SetInterestGroupTrackingRequest): Promise<Protocol.ProtocolResponseWithError>;
2946
+
3101
2947
  }
3102
2948
  export interface StorageDispatcher {
3103
2949
  /**
@@ -3124,6 +2970,7 @@ declare namespace ProtocolProxyApi {
3124
2970
  * One of the interest groups was accessed by the associated page.
3125
2971
  */
3126
2972
  interestGroupAccessed(params: Protocol.Storage.InterestGroupAccessedEvent): void;
2973
+
3127
2974
  }
3128
2975
 
3129
2976
  export interface SystemInfoApi {
@@ -3136,8 +2983,10 @@ declare namespace ProtocolProxyApi {
3136
2983
  * Returns information about all running processes.
3137
2984
  */
3138
2985
  invoke_getProcessInfo(): Promise<Protocol.SystemInfo.GetProcessInfoResponse>;
2986
+
2987
+ }
2988
+ export interface SystemInfoDispatcher {
3139
2989
  }
3140
- export interface SystemInfoDispatcher {}
3141
2990
 
3142
2991
  export interface TargetApi {
3143
2992
  /**
@@ -3148,8 +2997,7 @@ declare namespace ProtocolProxyApi {
3148
2997
  /**
3149
2998
  * Attaches to the target with given id.
3150
2999
  */
3151
- invoke_attachToTarget(params: Protocol.Target.AttachToTargetRequest):
3152
- Promise<Protocol.Target.AttachToTargetResponse>;
3000
+ invoke_attachToTarget(params: Protocol.Target.AttachToTargetRequest): Promise<Protocol.Target.AttachToTargetResponse>;
3153
3001
 
3154
3002
  /**
3155
3003
  * Attaches to the browser target, only uses flat sessionId mode.
@@ -3171,15 +3019,13 @@ declare namespace ProtocolProxyApi {
3171
3019
  * - `binding.send(json)` - a method to send messages over the remote debugging protocol
3172
3020
  * - `binding.onmessage = json => handleMessage(json)` - a callback that will be called for the protocol notifications and command responses.
3173
3021
  */
3174
- invoke_exposeDevToolsProtocol(params: Protocol.Target.ExposeDevToolsProtocolRequest):
3175
- Promise<Protocol.ProtocolResponseWithError>;
3022
+ invoke_exposeDevToolsProtocol(params: Protocol.Target.ExposeDevToolsProtocolRequest): Promise<Protocol.ProtocolResponseWithError>;
3176
3023
 
3177
3024
  /**
3178
3025
  * Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than
3179
3026
  * one.
3180
3027
  */
3181
- invoke_createBrowserContext(params: Protocol.Target.CreateBrowserContextRequest):
3182
- Promise<Protocol.Target.CreateBrowserContextResponse>;
3028
+ invoke_createBrowserContext(params: Protocol.Target.CreateBrowserContextRequest): Promise<Protocol.Target.CreateBrowserContextResponse>;
3183
3029
 
3184
3030
  /**
3185
3031
  * Returns all browser contexts created with `Target.createBrowserContext` method.
@@ -3194,15 +3040,13 @@ declare namespace ProtocolProxyApi {
3194
3040
  /**
3195
3041
  * Detaches session with given id.
3196
3042
  */
3197
- invoke_detachFromTarget(params: Protocol.Target.DetachFromTargetRequest):
3198
- Promise<Protocol.ProtocolResponseWithError>;
3043
+ invoke_detachFromTarget(params: Protocol.Target.DetachFromTargetRequest): Promise<Protocol.ProtocolResponseWithError>;
3199
3044
 
3200
3045
  /**
3201
3046
  * Deletes a BrowserContext. All the belonging pages will be closed without calling their
3202
3047
  * beforeunload hooks.
3203
3048
  */
3204
- invoke_disposeBrowserContext(params: Protocol.Target.DisposeBrowserContextRequest):
3205
- Promise<Protocol.ProtocolResponseWithError>;
3049
+ invoke_disposeBrowserContext(params: Protocol.Target.DisposeBrowserContextRequest): Promise<Protocol.ProtocolResponseWithError>;
3206
3050
 
3207
3051
  /**
3208
3052
  * Returns information about a target.
@@ -3219,8 +3063,7 @@ declare namespace ProtocolProxyApi {
3219
3063
  * Consider using flat mode instead; see commands attachToTarget, setAutoAttach,
3220
3064
  * and crbug.com/991325.
3221
3065
  */
3222
- invoke_sendMessageToTarget(params: Protocol.Target.SendMessageToTargetRequest):
3223
- Promise<Protocol.ProtocolResponseWithError>;
3066
+ invoke_sendMessageToTarget(params: Protocol.Target.SendMessageToTargetRequest): Promise<Protocol.ProtocolResponseWithError>;
3224
3067
 
3225
3068
  /**
3226
3069
  * Controls whether to automatically attach to new targets which are considered to be related to
@@ -3238,22 +3081,20 @@ declare namespace ProtocolProxyApi {
3238
3081
  * This cancels the effect of any previous `setAutoAttach` and is also cancelled by subsequent
3239
3082
  * `setAutoAttach`. Only available at the Browser target.
3240
3083
  */
3241
- invoke_autoAttachRelated(params: Protocol.Target.AutoAttachRelatedRequest):
3242
- Promise<Protocol.ProtocolResponseWithError>;
3084
+ invoke_autoAttachRelated(params: Protocol.Target.AutoAttachRelatedRequest): Promise<Protocol.ProtocolResponseWithError>;
3243
3085
 
3244
3086
  /**
3245
3087
  * Controls whether to discover available targets and notify via
3246
3088
  * `targetCreated/targetInfoChanged/targetDestroyed` events.
3247
3089
  */
3248
- invoke_setDiscoverTargets(params: Protocol.Target.SetDiscoverTargetsRequest):
3249
- Promise<Protocol.ProtocolResponseWithError>;
3090
+ invoke_setDiscoverTargets(params: Protocol.Target.SetDiscoverTargetsRequest): Promise<Protocol.ProtocolResponseWithError>;
3250
3091
 
3251
3092
  /**
3252
3093
  * Enables target discovery for the specified locations, when `setDiscoverTargets` was set to
3253
3094
  * `true`.
3254
3095
  */
3255
- invoke_setRemoteLocations(params: Protocol.Target.SetRemoteLocationsRequest):
3256
- Promise<Protocol.ProtocolResponseWithError>;
3096
+ invoke_setRemoteLocations(params: Protocol.Target.SetRemoteLocationsRequest): Promise<Protocol.ProtocolResponseWithError>;
3097
+
3257
3098
  }
3258
3099
  export interface TargetDispatcher {
3259
3100
  /**
@@ -3293,6 +3134,7 @@ declare namespace ProtocolProxyApi {
3293
3134
  * `targetCreated` and `targetDestroyed`.
3294
3135
  */
3295
3136
  targetInfoChanged(params: Protocol.Target.TargetInfoChangedEvent): void;
3137
+
3296
3138
  }
3297
3139
 
3298
3140
  export interface TetheringApi {
@@ -3305,12 +3147,14 @@ declare namespace ProtocolProxyApi {
3305
3147
  * Request browser port unbinding.
3306
3148
  */
3307
3149
  invoke_unbind(params: Protocol.Tethering.UnbindRequest): Promise<Protocol.ProtocolResponseWithError>;
3150
+
3308
3151
  }
3309
3152
  export interface TetheringDispatcher {
3310
3153
  /**
3311
3154
  * Informs that port was successfully bound and got a specified connection id.
3312
3155
  */
3313
3156
  accepted(params: Protocol.Tethering.AcceptedEvent): void;
3157
+
3314
3158
  }
3315
3159
 
3316
3160
  export interface TracingApi {
@@ -3327,19 +3171,18 @@ declare namespace ProtocolProxyApi {
3327
3171
  /**
3328
3172
  * Record a clock sync marker in the trace.
3329
3173
  */
3330
- invoke_recordClockSyncMarker(params: Protocol.Tracing.RecordClockSyncMarkerRequest):
3331
- Promise<Protocol.ProtocolResponseWithError>;
3174
+ invoke_recordClockSyncMarker(params: Protocol.Tracing.RecordClockSyncMarkerRequest): Promise<Protocol.ProtocolResponseWithError>;
3332
3175
 
3333
3176
  /**
3334
3177
  * Request a global memory dump.
3335
3178
  */
3336
- invoke_requestMemoryDump(params: Protocol.Tracing.RequestMemoryDumpRequest):
3337
- Promise<Protocol.Tracing.RequestMemoryDumpResponse>;
3179
+ invoke_requestMemoryDump(params: Protocol.Tracing.RequestMemoryDumpRequest): Promise<Protocol.Tracing.RequestMemoryDumpResponse>;
3338
3180
 
3339
3181
  /**
3340
3182
  * Start trace events collection.
3341
3183
  */
3342
3184
  invoke_start(params: Protocol.Tracing.StartRequest): Promise<Protocol.ProtocolResponseWithError>;
3185
+
3343
3186
  }
3344
3187
  export interface TracingDispatcher {
3345
3188
  bufferUsage(params: Protocol.Tracing.BufferUsageEvent): void;
@@ -3355,6 +3198,7 @@ declare namespace ProtocolProxyApi {
3355
3198
  * delivered via dataCollected events.
3356
3199
  */
3357
3200
  tracingComplete(params: Protocol.Tracing.TracingCompleteEvent): void;
3201
+
3358
3202
  }
3359
3203
 
3360
3204
  export interface FetchApi {
@@ -3387,16 +3231,14 @@ declare namespace ProtocolProxyApi {
3387
3231
  /**
3388
3232
  * Continues a request supplying authChallengeResponse following authRequired event.
3389
3233
  */
3390
- invoke_continueWithAuth(params: Protocol.Fetch.ContinueWithAuthRequest):
3391
- Promise<Protocol.ProtocolResponseWithError>;
3234
+ invoke_continueWithAuth(params: Protocol.Fetch.ContinueWithAuthRequest): Promise<Protocol.ProtocolResponseWithError>;
3392
3235
 
3393
3236
  /**
3394
3237
  * Continues loading of the paused response, optionally modifying the
3395
3238
  * response headers. If either responseCode or headers are modified, all of them
3396
3239
  * must be present.
3397
3240
  */
3398
- invoke_continueResponse(params: Protocol.Fetch.ContinueResponseRequest):
3399
- Promise<Protocol.ProtocolResponseWithError>;
3241
+ invoke_continueResponse(params: Protocol.Fetch.ContinueResponseRequest): Promise<Protocol.ProtocolResponseWithError>;
3400
3242
 
3401
3243
  /**
3402
3244
  * Causes the body of the response to be received from the server and
@@ -3406,8 +3248,7 @@ declare namespace ProtocolProxyApi {
3406
3248
  * affect the request or disabling fetch domain before body is received
3407
3249
  * results in an undefined behavior.
3408
3250
  */
3409
- invoke_getResponseBody(params: Protocol.Fetch.GetResponseBodyRequest):
3410
- Promise<Protocol.Fetch.GetResponseBodyResponse>;
3251
+ invoke_getResponseBody(params: Protocol.Fetch.GetResponseBodyRequest): Promise<Protocol.Fetch.GetResponseBodyResponse>;
3411
3252
 
3412
3253
  /**
3413
3254
  * Returns a handle to the stream representing the response body.
@@ -3421,8 +3262,8 @@ declare namespace ProtocolProxyApi {
3421
3262
  * Calling other methods that affect the request or disabling fetch
3422
3263
  * domain before body is received results in an undefined behavior.
3423
3264
  */
3424
- invoke_takeResponseBodyAsStream(params: Protocol.Fetch.TakeResponseBodyAsStreamRequest):
3425
- Promise<Protocol.Fetch.TakeResponseBodyAsStreamResponse>;
3265
+ invoke_takeResponseBodyAsStream(params: Protocol.Fetch.TakeResponseBodyAsStreamRequest): Promise<Protocol.Fetch.TakeResponseBodyAsStreamResponse>;
3266
+
3426
3267
  }
3427
3268
  export interface FetchDispatcher {
3428
3269
  /**
@@ -3440,6 +3281,7 @@ declare namespace ProtocolProxyApi {
3440
3281
  * The request is paused until client responds with continueWithAuth.
3441
3282
  */
3442
3283
  authRequired(params: Protocol.Fetch.AuthRequiredEvent): void;
3284
+
3443
3285
  }
3444
3286
 
3445
3287
  export interface WebAudioApi {
@@ -3456,8 +3298,8 @@ declare namespace ProtocolProxyApi {
3456
3298
  /**
3457
3299
  * Fetch the realtime data from the registered contexts.
3458
3300
  */
3459
- invoke_getRealtimeData(params: Protocol.WebAudio.GetRealtimeDataRequest):
3460
- Promise<Protocol.WebAudio.GetRealtimeDataResponse>;
3301
+ invoke_getRealtimeData(params: Protocol.WebAudio.GetRealtimeDataRequest): Promise<Protocol.WebAudio.GetRealtimeDataResponse>;
3302
+
3461
3303
  }
3462
3304
  export interface WebAudioDispatcher {
3463
3305
  /**
@@ -3524,6 +3366,7 @@ declare namespace ProtocolProxyApi {
3524
3366
  * Notifies that an AudioNode is disconnected to an AudioParam.
3525
3367
  */
3526
3368
  nodeParamDisconnected(params: Protocol.WebAudio.NodeParamDisconnectedEvent): void;
3369
+
3527
3370
  }
3528
3371
 
3529
3372
  export interface WebAuthnApi {
@@ -3541,14 +3384,12 @@ declare namespace ProtocolProxyApi {
3541
3384
  /**
3542
3385
  * Creates and adds a virtual authenticator.
3543
3386
  */
3544
- invoke_addVirtualAuthenticator(params: Protocol.WebAuthn.AddVirtualAuthenticatorRequest):
3545
- Promise<Protocol.WebAuthn.AddVirtualAuthenticatorResponse>;
3387
+ invoke_addVirtualAuthenticator(params: Protocol.WebAuthn.AddVirtualAuthenticatorRequest): Promise<Protocol.WebAuthn.AddVirtualAuthenticatorResponse>;
3546
3388
 
3547
3389
  /**
3548
3390
  * Removes the given authenticator.
3549
3391
  */
3550
- invoke_removeVirtualAuthenticator(params: Protocol.WebAuthn.RemoveVirtualAuthenticatorRequest):
3551
- Promise<Protocol.ProtocolResponseWithError>;
3392
+ invoke_removeVirtualAuthenticator(params: Protocol.WebAuthn.RemoveVirtualAuthenticatorRequest): Promise<Protocol.ProtocolResponseWithError>;
3552
3393
 
3553
3394
  /**
3554
3395
  * Adds the credential to the specified authenticator.
@@ -3559,42 +3400,38 @@ declare namespace ProtocolProxyApi {
3559
3400
  * Returns a single credential stored in the given virtual authenticator that
3560
3401
  * matches the credential ID.
3561
3402
  */
3562
- invoke_getCredential(params: Protocol.WebAuthn.GetCredentialRequest):
3563
- Promise<Protocol.WebAuthn.GetCredentialResponse>;
3403
+ invoke_getCredential(params: Protocol.WebAuthn.GetCredentialRequest): Promise<Protocol.WebAuthn.GetCredentialResponse>;
3564
3404
 
3565
3405
  /**
3566
3406
  * Returns all the credentials stored in the given virtual authenticator.
3567
3407
  */
3568
- invoke_getCredentials(params: Protocol.WebAuthn.GetCredentialsRequest):
3569
- Promise<Protocol.WebAuthn.GetCredentialsResponse>;
3408
+ invoke_getCredentials(params: Protocol.WebAuthn.GetCredentialsRequest): Promise<Protocol.WebAuthn.GetCredentialsResponse>;
3570
3409
 
3571
3410
  /**
3572
3411
  * Removes a credential from the authenticator.
3573
3412
  */
3574
- invoke_removeCredential(params: Protocol.WebAuthn.RemoveCredentialRequest):
3575
- Promise<Protocol.ProtocolResponseWithError>;
3413
+ invoke_removeCredential(params: Protocol.WebAuthn.RemoveCredentialRequest): Promise<Protocol.ProtocolResponseWithError>;
3576
3414
 
3577
3415
  /**
3578
3416
  * Clears all the credentials from the specified device.
3579
3417
  */
3580
- invoke_clearCredentials(params: Protocol.WebAuthn.ClearCredentialsRequest):
3581
- Promise<Protocol.ProtocolResponseWithError>;
3418
+ invoke_clearCredentials(params: Protocol.WebAuthn.ClearCredentialsRequest): Promise<Protocol.ProtocolResponseWithError>;
3582
3419
 
3583
3420
  /**
3584
3421
  * Sets whether User Verification succeeds or fails for an authenticator.
3585
3422
  * The default is true.
3586
3423
  */
3587
- invoke_setUserVerified(params: Protocol.WebAuthn.SetUserVerifiedRequest):
3588
- Promise<Protocol.ProtocolResponseWithError>;
3424
+ invoke_setUserVerified(params: Protocol.WebAuthn.SetUserVerifiedRequest): Promise<Protocol.ProtocolResponseWithError>;
3589
3425
 
3590
3426
  /**
3591
3427
  * Sets whether tests of user presence will succeed immediately (if true) or fail to resolve (if false) for an authenticator.
3592
3428
  * The default is true.
3593
3429
  */
3594
- invoke_setAutomaticPresenceSimulation(params: Protocol.WebAuthn.SetAutomaticPresenceSimulationRequest):
3595
- Promise<Protocol.ProtocolResponseWithError>;
3430
+ invoke_setAutomaticPresenceSimulation(params: Protocol.WebAuthn.SetAutomaticPresenceSimulationRequest): Promise<Protocol.ProtocolResponseWithError>;
3431
+
3432
+ }
3433
+ export interface WebAuthnDispatcher {
3596
3434
  }
3597
- export interface WebAuthnDispatcher {}
3598
3435
 
3599
3436
  export interface MediaApi {
3600
3437
  /**
@@ -3606,6 +3443,7 @@ declare namespace ProtocolProxyApi {
3606
3443
  * Disables the Media domain.
3607
3444
  */
3608
3445
  invoke_disable(): Promise<Protocol.ProtocolResponseWithError>;
3446
+
3609
3447
  }
3610
3448
  export interface MediaDispatcher {
3611
3449
  /**
@@ -3643,8 +3481,7 @@ declare namespace ProtocolProxyApi {
3643
3481
  /**
3644
3482
  * Continues execution until specific location is reached.
3645
3483
  */
3646
- invoke_continueToLocation(params: Protocol.Debugger.ContinueToLocationRequest):
3647
- Promise<Protocol.ProtocolResponseWithError>;
3484
+ invoke_continueToLocation(params: Protocol.Debugger.ContinueToLocationRequest): Promise<Protocol.ProtocolResponseWithError>;
3648
3485
 
3649
3486
  /**
3650
3487
  * Disables debugger for given page.
@@ -3660,47 +3497,40 @@ declare namespace ProtocolProxyApi {
3660
3497
  /**
3661
3498
  * Evaluates expression on a given call frame.
3662
3499
  */
3663
- invoke_evaluateOnCallFrame(params: Protocol.Debugger.EvaluateOnCallFrameRequest):
3664
- Promise<Protocol.Debugger.EvaluateOnCallFrameResponse>;
3500
+ invoke_evaluateOnCallFrame(params: Protocol.Debugger.EvaluateOnCallFrameRequest): Promise<Protocol.Debugger.EvaluateOnCallFrameResponse>;
3665
3501
 
3666
3502
  /**
3667
3503
  * Returns possible locations for breakpoint. scriptId in start and end range locations should be
3668
3504
  * the same.
3669
3505
  */
3670
- invoke_getPossibleBreakpoints(params: Protocol.Debugger.GetPossibleBreakpointsRequest):
3671
- Promise<Protocol.Debugger.GetPossibleBreakpointsResponse>;
3506
+ invoke_getPossibleBreakpoints(params: Protocol.Debugger.GetPossibleBreakpointsRequest): Promise<Protocol.Debugger.GetPossibleBreakpointsResponse>;
3672
3507
 
3673
3508
  /**
3674
3509
  * Returns source for the script with given id.
3675
3510
  */
3676
- invoke_getScriptSource(params: Protocol.Debugger.GetScriptSourceRequest):
3677
- Promise<Protocol.Debugger.GetScriptSourceResponse>;
3511
+ invoke_getScriptSource(params: Protocol.Debugger.GetScriptSourceRequest): Promise<Protocol.Debugger.GetScriptSourceResponse>;
3678
3512
 
3679
3513
  /**
3680
3514
  * This command is deprecated. Use getScriptSource instead.
3681
3515
  */
3682
- invoke_getWasmBytecode(params: Protocol.Debugger.GetWasmBytecodeRequest):
3683
- Promise<Protocol.Debugger.GetWasmBytecodeResponse>;
3516
+ invoke_getWasmBytecode(params: Protocol.Debugger.GetWasmBytecodeRequest): Promise<Protocol.Debugger.GetWasmBytecodeResponse>;
3684
3517
 
3685
3518
  /**
3686
3519
  * Returns stack trace with given `stackTraceId`.
3687
3520
  */
3688
- invoke_getStackTrace(params: Protocol.Debugger.GetStackTraceRequest):
3689
- Promise<Protocol.Debugger.GetStackTraceResponse>;
3521
+ invoke_getStackTrace(params: Protocol.Debugger.GetStackTraceRequest): Promise<Protocol.Debugger.GetStackTraceResponse>;
3690
3522
 
3691
3523
  /**
3692
3524
  * Stops on the next JavaScript statement.
3693
3525
  */
3694
3526
  invoke_pause(): Promise<Protocol.ProtocolResponseWithError>;
3695
3527
 
3696
- invoke_pauseOnAsyncCall(params: Protocol.Debugger.PauseOnAsyncCallRequest):
3697
- Promise<Protocol.ProtocolResponseWithError>;
3528
+ invoke_pauseOnAsyncCall(params: Protocol.Debugger.PauseOnAsyncCallRequest): Promise<Protocol.ProtocolResponseWithError>;
3698
3529
 
3699
3530
  /**
3700
3531
  * Removes JavaScript breakpoint.
3701
3532
  */
3702
- invoke_removeBreakpoint(params: Protocol.Debugger.RemoveBreakpointRequest):
3703
- Promise<Protocol.ProtocolResponseWithError>;
3533
+ invoke_removeBreakpoint(params: Protocol.Debugger.RemoveBreakpointRequest): Promise<Protocol.ProtocolResponseWithError>;
3704
3534
 
3705
3535
  /**
3706
3536
  * Restarts particular call frame from the beginning. The old, deprecated
@@ -3727,22 +3557,19 @@ declare namespace ProtocolProxyApi {
3727
3557
  /**
3728
3558
  * Searches for given string in script content.
3729
3559
  */
3730
- invoke_searchInContent(params: Protocol.Debugger.SearchInContentRequest):
3731
- Promise<Protocol.Debugger.SearchInContentResponse>;
3560
+ invoke_searchInContent(params: Protocol.Debugger.SearchInContentRequest): Promise<Protocol.Debugger.SearchInContentResponse>;
3732
3561
 
3733
3562
  /**
3734
3563
  * Enables or disables async call stacks tracking.
3735
3564
  */
3736
- invoke_setAsyncCallStackDepth(params: Protocol.Debugger.SetAsyncCallStackDepthRequest):
3737
- Promise<Protocol.ProtocolResponseWithError>;
3565
+ invoke_setAsyncCallStackDepth(params: Protocol.Debugger.SetAsyncCallStackDepthRequest): Promise<Protocol.ProtocolResponseWithError>;
3738
3566
 
3739
3567
  /**
3740
3568
  * Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
3741
3569
  * scripts with url matching one of the patterns. VM will try to leave blackboxed script by
3742
3570
  * performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
3743
3571
  */
3744
- invoke_setBlackboxPatterns(params: Protocol.Debugger.SetBlackboxPatternsRequest):
3745
- Promise<Protocol.ProtocolResponseWithError>;
3572
+ invoke_setBlackboxPatterns(params: Protocol.Debugger.SetBlackboxPatternsRequest): Promise<Protocol.ProtocolResponseWithError>;
3746
3573
 
3747
3574
  /**
3748
3575
  * Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted
@@ -3750,20 +3577,17 @@ declare namespace ProtocolProxyApi {
3750
3577
  * Positions array contains positions where blackbox state is changed. First interval isn't
3751
3578
  * blackboxed. Array should be sorted.
3752
3579
  */
3753
- invoke_setBlackboxedRanges(params: Protocol.Debugger.SetBlackboxedRangesRequest):
3754
- Promise<Protocol.ProtocolResponseWithError>;
3580
+ invoke_setBlackboxedRanges(params: Protocol.Debugger.SetBlackboxedRangesRequest): Promise<Protocol.ProtocolResponseWithError>;
3755
3581
 
3756
3582
  /**
3757
3583
  * Sets JavaScript breakpoint at a given location.
3758
3584
  */
3759
- invoke_setBreakpoint(params: Protocol.Debugger.SetBreakpointRequest):
3760
- Promise<Protocol.Debugger.SetBreakpointResponse>;
3585
+ invoke_setBreakpoint(params: Protocol.Debugger.SetBreakpointRequest): Promise<Protocol.Debugger.SetBreakpointResponse>;
3761
3586
 
3762
3587
  /**
3763
3588
  * Sets instrumentation breakpoint.
3764
3589
  */
3765
- invoke_setInstrumentationBreakpoint(params: Protocol.Debugger.SetInstrumentationBreakpointRequest):
3766
- Promise<Protocol.Debugger.SetInstrumentationBreakpointResponse>;
3590
+ invoke_setInstrumentationBreakpoint(params: Protocol.Debugger.SetInstrumentationBreakpointRequest): Promise<Protocol.Debugger.SetInstrumentationBreakpointResponse>;
3767
3591
 
3768
3592
  /**
3769
3593
  * Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this
@@ -3771,29 +3595,25 @@ declare namespace ProtocolProxyApi {
3771
3595
  * `locations` property. Further matching script parsing will result in subsequent
3772
3596
  * `breakpointResolved` events issued. This logical breakpoint will survive page reloads.
3773
3597
  */
3774
- invoke_setBreakpointByUrl(params: Protocol.Debugger.SetBreakpointByUrlRequest):
3775
- Promise<Protocol.Debugger.SetBreakpointByUrlResponse>;
3598
+ invoke_setBreakpointByUrl(params: Protocol.Debugger.SetBreakpointByUrlRequest): Promise<Protocol.Debugger.SetBreakpointByUrlResponse>;
3776
3599
 
3777
3600
  /**
3778
3601
  * Sets JavaScript breakpoint before each call to the given function.
3779
3602
  * If another function was created from the same source as a given one,
3780
3603
  * calling it will also trigger the breakpoint.
3781
3604
  */
3782
- invoke_setBreakpointOnFunctionCall(params: Protocol.Debugger.SetBreakpointOnFunctionCallRequest):
3783
- Promise<Protocol.Debugger.SetBreakpointOnFunctionCallResponse>;
3605
+ invoke_setBreakpointOnFunctionCall(params: Protocol.Debugger.SetBreakpointOnFunctionCallRequest): Promise<Protocol.Debugger.SetBreakpointOnFunctionCallResponse>;
3784
3606
 
3785
3607
  /**
3786
3608
  * Activates / deactivates all breakpoints on the page.
3787
3609
  */
3788
- invoke_setBreakpointsActive(params: Protocol.Debugger.SetBreakpointsActiveRequest):
3789
- Promise<Protocol.ProtocolResponseWithError>;
3610
+ invoke_setBreakpointsActive(params: Protocol.Debugger.SetBreakpointsActiveRequest): Promise<Protocol.ProtocolResponseWithError>;
3790
3611
 
3791
3612
  /**
3792
3613
  * Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or
3793
3614
  * no exceptions. Initial pause on exceptions state is `none`.
3794
3615
  */
3795
- invoke_setPauseOnExceptions(params: Protocol.Debugger.SetPauseOnExceptionsRequest):
3796
- Promise<Protocol.ProtocolResponseWithError>;
3616
+ invoke_setPauseOnExceptions(params: Protocol.Debugger.SetPauseOnExceptionsRequest): Promise<Protocol.ProtocolResponseWithError>;
3797
3617
 
3798
3618
  /**
3799
3619
  * Changes return value in top frame. Available only at return break position.
@@ -3809,21 +3629,18 @@ declare namespace ProtocolProxyApi {
3809
3629
  * the live edit will be successful and a `Debugger.restartFrame` for the
3810
3630
  * top-most function is automatically triggered.
3811
3631
  */
3812
- invoke_setScriptSource(params: Protocol.Debugger.SetScriptSourceRequest):
3813
- Promise<Protocol.Debugger.SetScriptSourceResponse>;
3632
+ invoke_setScriptSource(params: Protocol.Debugger.SetScriptSourceRequest): Promise<Protocol.Debugger.SetScriptSourceResponse>;
3814
3633
 
3815
3634
  /**
3816
3635
  * Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).
3817
3636
  */
3818
- invoke_setSkipAllPauses(params: Protocol.Debugger.SetSkipAllPausesRequest):
3819
- Promise<Protocol.ProtocolResponseWithError>;
3637
+ invoke_setSkipAllPauses(params: Protocol.Debugger.SetSkipAllPausesRequest): Promise<Protocol.ProtocolResponseWithError>;
3820
3638
 
3821
3639
  /**
3822
3640
  * Changes value of variable in a callframe. Object-based scopes are not supported and must be
3823
3641
  * mutated manually.
3824
3642
  */
3825
- invoke_setVariableValue(params: Protocol.Debugger.SetVariableValueRequest):
3826
- Promise<Protocol.ProtocolResponseWithError>;
3643
+ invoke_setVariableValue(params: Protocol.Debugger.SetVariableValueRequest): Promise<Protocol.ProtocolResponseWithError>;
3827
3644
 
3828
3645
  /**
3829
3646
  * Steps into the function call.
@@ -3839,6 +3656,7 @@ declare namespace ProtocolProxyApi {
3839
3656
  * Steps over the statement.
3840
3657
  */
3841
3658
  invoke_stepOver(params: Protocol.Debugger.StepOverRequest): Promise<Protocol.ProtocolResponseWithError>;
3659
+
3842
3660
  }
3843
3661
  export interface DebuggerDispatcher {
3844
3662
  /**
@@ -3866,6 +3684,7 @@ declare namespace ProtocolProxyApi {
3866
3684
  * scripts upon enabling debugger.
3867
3685
  */
3868
3686
  scriptParsed(params: Protocol.Debugger.ScriptParsedEvent): void;
3687
+
3869
3688
  }
3870
3689
 
3871
3690
  export interface HeapProfilerApi {
@@ -3873,8 +3692,7 @@ declare namespace ProtocolProxyApi {
3873
3692
  * Enables console to refer to the node with given id via $x (see Command Line API for more details
3874
3693
  * $x functions).
3875
3694
  */
3876
- invoke_addInspectedHeapObject(params: Protocol.HeapProfiler.AddInspectedHeapObjectRequest):
3877
- Promise<Protocol.ProtocolResponseWithError>;
3695
+ invoke_addInspectedHeapObject(params: Protocol.HeapProfiler.AddInspectedHeapObjectRequest): Promise<Protocol.ProtocolResponseWithError>;
3878
3696
 
3879
3697
  invoke_collectGarbage(): Promise<Protocol.ProtocolResponseWithError>;
3880
3698
 
@@ -3882,27 +3700,22 @@ declare namespace ProtocolProxyApi {
3882
3700
 
3883
3701
  invoke_enable(): Promise<Protocol.ProtocolResponseWithError>;
3884
3702
 
3885
- invoke_getHeapObjectId(params: Protocol.HeapProfiler.GetHeapObjectIdRequest):
3886
- Promise<Protocol.HeapProfiler.GetHeapObjectIdResponse>;
3703
+ invoke_getHeapObjectId(params: Protocol.HeapProfiler.GetHeapObjectIdRequest): Promise<Protocol.HeapProfiler.GetHeapObjectIdResponse>;
3887
3704
 
3888
- invoke_getObjectByHeapObjectId(params: Protocol.HeapProfiler.GetObjectByHeapObjectIdRequest):
3889
- Promise<Protocol.HeapProfiler.GetObjectByHeapObjectIdResponse>;
3705
+ invoke_getObjectByHeapObjectId(params: Protocol.HeapProfiler.GetObjectByHeapObjectIdRequest): Promise<Protocol.HeapProfiler.GetObjectByHeapObjectIdResponse>;
3890
3706
 
3891
3707
  invoke_getSamplingProfile(): Promise<Protocol.HeapProfiler.GetSamplingProfileResponse>;
3892
3708
 
3893
- invoke_startSampling(params: Protocol.HeapProfiler.StartSamplingRequest):
3894
- Promise<Protocol.ProtocolResponseWithError>;
3709
+ invoke_startSampling(params: Protocol.HeapProfiler.StartSamplingRequest): Promise<Protocol.ProtocolResponseWithError>;
3895
3710
 
3896
- invoke_startTrackingHeapObjects(params: Protocol.HeapProfiler.StartTrackingHeapObjectsRequest):
3897
- Promise<Protocol.ProtocolResponseWithError>;
3711
+ invoke_startTrackingHeapObjects(params: Protocol.HeapProfiler.StartTrackingHeapObjectsRequest): Promise<Protocol.ProtocolResponseWithError>;
3898
3712
 
3899
3713
  invoke_stopSampling(): Promise<Protocol.HeapProfiler.StopSamplingResponse>;
3900
3714
 
3901
- invoke_stopTrackingHeapObjects(params: Protocol.HeapProfiler.StopTrackingHeapObjectsRequest):
3902
- Promise<Protocol.ProtocolResponseWithError>;
3715
+ invoke_stopTrackingHeapObjects(params: Protocol.HeapProfiler.StopTrackingHeapObjectsRequest): Promise<Protocol.ProtocolResponseWithError>;
3716
+
3717
+ invoke_takeHeapSnapshot(params: Protocol.HeapProfiler.TakeHeapSnapshotRequest): Promise<Protocol.ProtocolResponseWithError>;
3903
3718
 
3904
- invoke_takeHeapSnapshot(params: Protocol.HeapProfiler.TakeHeapSnapshotRequest):
3905
- Promise<Protocol.ProtocolResponseWithError>;
3906
3719
  }
3907
3720
  export interface HeapProfilerDispatcher {
3908
3721
  addHeapSnapshotChunk(params: Protocol.HeapProfiler.AddHeapSnapshotChunkEvent): void;
@@ -3922,6 +3735,7 @@ declare namespace ProtocolProxyApi {
3922
3735
  reportHeapSnapshotProgress(params: Protocol.HeapProfiler.ReportHeapSnapshotProgressEvent): void;
3923
3736
 
3924
3737
  resetProfiles(): void;
3738
+
3925
3739
  }
3926
3740
 
3927
3741
  export interface ProfilerApi {
@@ -3938,8 +3752,7 @@ declare namespace ProtocolProxyApi {
3938
3752
  /**
3939
3753
  * Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
3940
3754
  */
3941
- invoke_setSamplingInterval(params: Protocol.Profiler.SetSamplingIntervalRequest):
3942
- Promise<Protocol.ProtocolResponseWithError>;
3755
+ invoke_setSamplingInterval(params: Protocol.Profiler.SetSamplingIntervalRequest): Promise<Protocol.ProtocolResponseWithError>;
3943
3756
 
3944
3757
  invoke_start(): Promise<Protocol.ProtocolResponseWithError>;
3945
3758
 
@@ -3948,8 +3761,7 @@ declare namespace ProtocolProxyApi {
3948
3761
  * coverage may be incomplete. Enabling prevents running optimized code and resets execution
3949
3762
  * counters.
3950
3763
  */
3951
- invoke_startPreciseCoverage(params: Protocol.Profiler.StartPreciseCoverageRequest):
3952
- Promise<Protocol.Profiler.StartPreciseCoverageResponse>;
3764
+ invoke_startPreciseCoverage(params: Protocol.Profiler.StartPreciseCoverageRequest): Promise<Protocol.Profiler.StartPreciseCoverageResponse>;
3953
3765
 
3954
3766
  /**
3955
3767
  * Enable type profile.
@@ -3996,6 +3808,7 @@ declare namespace ProtocolProxyApi {
3996
3808
  * trigger collection of coverage data immediately at a certain point in time.
3997
3809
  */
3998
3810
  preciseCoverageDeltaUpdate(params: Protocol.Profiler.PreciseCoverageDeltaUpdateEvent): void;
3811
+
3999
3812
  }
4000
3813
 
4001
3814
  export interface RuntimeApi {
@@ -4008,14 +3821,12 @@ declare namespace ProtocolProxyApi {
4008
3821
  * Calls function with given declaration on the given object. Object group of the result is
4009
3822
  * inherited from the target object.
4010
3823
  */
4011
- invoke_callFunctionOn(params: Protocol.Runtime.CallFunctionOnRequest):
4012
- Promise<Protocol.Runtime.CallFunctionOnResponse>;
3824
+ invoke_callFunctionOn(params: Protocol.Runtime.CallFunctionOnRequest): Promise<Protocol.Runtime.CallFunctionOnResponse>;
4013
3825
 
4014
3826
  /**
4015
3827
  * Compiles expression.
4016
3828
  */
4017
- invoke_compileScript(params: Protocol.Runtime.CompileScriptRequest):
4018
- Promise<Protocol.Runtime.CompileScriptResponse>;
3829
+ invoke_compileScript(params: Protocol.Runtime.CompileScriptRequest): Promise<Protocol.Runtime.CompileScriptResponse>;
4019
3830
 
4020
3831
  /**
4021
3832
  * Disables reporting of execution contexts creation.
@@ -4054,14 +3865,12 @@ declare namespace ProtocolProxyApi {
4054
3865
  * Returns properties of a given object. Object group of the result is inherited from the target
4055
3866
  * object.
4056
3867
  */
4057
- invoke_getProperties(params: Protocol.Runtime.GetPropertiesRequest):
4058
- Promise<Protocol.Runtime.GetPropertiesResponse>;
3868
+ invoke_getProperties(params: Protocol.Runtime.GetPropertiesRequest): Promise<Protocol.Runtime.GetPropertiesResponse>;
4059
3869
 
4060
3870
  /**
4061
3871
  * Returns all let, const and class variables from global scope.
4062
3872
  */
4063
- invoke_globalLexicalScopeNames(params: Protocol.Runtime.GlobalLexicalScopeNamesRequest):
4064
- Promise<Protocol.Runtime.GlobalLexicalScopeNamesResponse>;
3873
+ invoke_globalLexicalScopeNames(params: Protocol.Runtime.GlobalLexicalScopeNamesRequest): Promise<Protocol.Runtime.GlobalLexicalScopeNamesResponse>;
4065
3874
 
4066
3875
  invoke_queryObjects(params: Protocol.Runtime.QueryObjectsRequest): Promise<Protocol.Runtime.QueryObjectsResponse>;
4067
3876
 
@@ -4073,8 +3882,7 @@ declare namespace ProtocolProxyApi {
4073
3882
  /**
4074
3883
  * Releases all remote objects that belong to a given group.
4075
3884
  */
4076
- invoke_releaseObjectGroup(params: Protocol.Runtime.ReleaseObjectGroupRequest):
4077
- Promise<Protocol.ProtocolResponseWithError>;
3885
+ invoke_releaseObjectGroup(params: Protocol.Runtime.ReleaseObjectGroupRequest): Promise<Protocol.ProtocolResponseWithError>;
4078
3886
 
4079
3887
  /**
4080
3888
  * Tells inspected instance to run if it was waiting for debugger to attach.
@@ -4089,14 +3897,11 @@ declare namespace ProtocolProxyApi {
4089
3897
  /**
4090
3898
  * Enables or disables async call stacks tracking.
4091
3899
  */
4092
- invoke_setAsyncCallStackDepth(params: Protocol.Runtime.SetAsyncCallStackDepthRequest):
4093
- Promise<Protocol.ProtocolResponseWithError>;
3900
+ invoke_setAsyncCallStackDepth(params: Protocol.Runtime.SetAsyncCallStackDepthRequest): Promise<Protocol.ProtocolResponseWithError>;
4094
3901
 
4095
- invoke_setCustomObjectFormatterEnabled(params: Protocol.Runtime.SetCustomObjectFormatterEnabledRequest):
4096
- Promise<Protocol.ProtocolResponseWithError>;
3902
+ invoke_setCustomObjectFormatterEnabled(params: Protocol.Runtime.SetCustomObjectFormatterEnabledRequest): Promise<Protocol.ProtocolResponseWithError>;
4097
3903
 
4098
- invoke_setMaxCallStackSizeToCapture(params: Protocol.Runtime.SetMaxCallStackSizeToCaptureRequest):
4099
- Promise<Protocol.ProtocolResponseWithError>;
3904
+ invoke_setMaxCallStackSizeToCapture(params: Protocol.Runtime.SetMaxCallStackSizeToCaptureRequest): Promise<Protocol.ProtocolResponseWithError>;
4100
3905
 
4101
3906
  /**
4102
3907
  * Terminate current or next JavaScript execution.
@@ -4127,8 +3932,8 @@ declare namespace ProtocolProxyApi {
4127
3932
  * only be populated if the Runtime domain was enabled at the time when the
4128
3933
  * Error was thrown.
4129
3934
  */
4130
- invoke_getExceptionDetails(params: Protocol.Runtime.GetExceptionDetailsRequest):
4131
- Promise<Protocol.Runtime.GetExceptionDetailsResponse>;
3935
+ invoke_getExceptionDetails(params: Protocol.Runtime.GetExceptionDetailsRequest): Promise<Protocol.Runtime.GetExceptionDetailsResponse>;
3936
+
4132
3937
  }
4133
3938
  export interface RuntimeDispatcher {
4134
3939
  /**
@@ -4171,6 +3976,7 @@ declare namespace ProtocolProxyApi {
4171
3976
  * call).
4172
3977
  */
4173
3978
  inspectRequested(params: Protocol.Runtime.InspectRequestedEvent): void;
3979
+
4174
3980
  }
4175
3981
 
4176
3982
  export interface SchemaApi {
@@ -4178,8 +3984,10 @@ declare namespace ProtocolProxyApi {
4178
3984
  * Returns supported domains.
4179
3985
  */
4180
3986
  invoke_getDomains(): Promise<Protocol.Schema.GetDomainsResponse>;
3987
+
3988
+ }
3989
+ export interface SchemaDispatcher {
4181
3990
  }
4182
- export interface SchemaDispatcher {}
4183
3991
  }
4184
3992
 
4185
3993
  export = ProtocolProxyApi;