chrome-devtools-frontend 1.0.1733843 → 1.0.1736236

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 (184) hide show
  1. package/.agents/rules/tests/test-view-and-presenter-isolation.md +4 -4
  2. package/.agents/rules/ui-and-widgets/ui-declarative-tree-and-prompt-patterns.md +61 -0
  3. package/.agents/rules/ui-and-widgets/ui-lit-declarative-templates-and-directives.md +11 -7
  4. package/.agents/rules/ui-and-widgets/ui-modern-component-and-encapsulation-standards.md +13 -4
  5. package/.agents/rules/ui-and-widgets/ui-pure-view-and-presenter-separation.md +31 -2
  6. package/.agents/rules/ui-and-widgets/ui-reactive-widget-update-lifecycle.md +23 -4
  7. package/.agents/rules/ui-and-widgets/ui-widget-dom-and-listener-lifecycle.md +34 -3
  8. package/.agents/skills/code-review/SKILL.md +27 -0
  9. package/.agents/skills/devtools-uistrings/SKILL.md +147 -0
  10. package/.agents/skills/ui-eng-vision-local-lit-renderer/SKILL.md +27 -1
  11. package/.agents/skills/ui-eng-vision-orchestrator/SKILL.md +100 -0
  12. package/.agents/skills/ui-eng-vision-test-scaffolder/SKILL.md +16 -0
  13. package/.agents/skills/ui-eng-vision-widget-promoter/SKILL.md +13 -2
  14. package/.agents/skills/ui-widgets/SKILL.md +25 -25
  15. package/DIR_METADATA +8 -1
  16. package/docs/cookbook/localization.md +1 -1
  17. package/docs/ui_engineering.md +24 -0
  18. package/eslint.config.mjs +0 -1
  19. package/front_end/application_tokens.css +1 -1
  20. package/front_end/core/host/AidaClient.ts +147 -202
  21. package/front_end/core/host/AidaClientTypes.ts +9 -0
  22. package/front_end/core/host/AidaErrors.ts +416 -0
  23. package/front_end/core/host/AidaGcaTranslation.ts +11 -0
  24. package/front_end/core/host/InspectorFrontendHostAPI.ts +9 -2
  25. package/front_end/core/host/UserMetrics.ts +25 -0
  26. package/front_end/core/host/UserMetricsEnums.ts +25 -0
  27. package/front_end/core/host/host.ts +3 -1
  28. package/front_end/core/i18n/collect-ui-strings.js +20 -0
  29. package/front_end/core/root/Runtime.ts +12 -0
  30. package/front_end/core/sdk/CPUThrottlingManager.ts +3 -0
  31. package/front_end/core/sdk/EnhancedTracesParser.ts +8 -4
  32. package/front_end/core/sdk/NetworkManager.ts +0 -6
  33. package/front_end/core/sdk/OverlayModel.ts +0 -6
  34. package/front_end/core/sdk/PreloadingModel.ts +30 -13
  35. package/front_end/core/sdk/PrivateVerificationTokensModel.ts +0 -18
  36. package/front_end/core/sdk/RehydratingConnection.ts +5 -2
  37. package/front_end/core/sdk/ResourceTreeModel.ts +0 -42
  38. package/front_end/core/sdk/ScreenCaptureModel.ts +0 -84
  39. package/front_end/core/sdk/ServiceWorkerCacheModel.ts +0 -15
  40. package/front_end/core/sdk/StorageBucketsModel.ts +0 -15
  41. package/front_end/devtools_compatibility.js +57 -2
  42. package/front_end/entrypoints/formatter_worker/ScopeParser.ts +4 -2
  43. package/front_end/entrypoints/inspector_main/RenderingOptions.ts +203 -127
  44. package/front_end/entrypoints/inspector_main/renderingOptions.css +5 -0
  45. package/front_end/entrypoints/node_app/app/NodeMain.ts +0 -9
  46. package/front_end/entrypoints/node_app/app/nodeConnectionsPanel.css +0 -22
  47. package/front_end/generated/InspectorBackendCommands.ts +1 -1
  48. package/front_end/generated/SupportedCSSProperties.ts +0 -136
  49. package/front_end/generated/protocol-proxy-api.d.ts +231 -231
  50. package/front_end/generated/protocol.ts +1 -0
  51. package/front_end/models/ai_assistance/AiAgent2.ts +4 -1
  52. package/front_end/models/ai_assistance/ChangeManager.ts +3 -1
  53. package/front_end/models/ai_assistance/DOMHelpers.ts +118 -3
  54. package/front_end/models/ai_assistance/ExtensionScope.ts +31 -24
  55. package/front_end/models/ai_assistance/agents/AiAgent.ts +6 -0
  56. package/front_end/models/ai_assistance/agents/PerformanceAgent.snapshot.txt +13 -13
  57. package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +1 -1
  58. package/front_end/models/ai_assistance/ai_assistance.ts +2 -0
  59. package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.snapshot.txt +18 -8
  60. package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.ts +2 -2
  61. package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +103 -81
  62. package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +15 -203
  63. package/front_end/models/ai_assistance/injected.ts +6 -1
  64. package/front_end/models/ai_assistance/skills/lighthouse.md +1 -1
  65. package/front_end/models/ai_assistance/skills/styling.md +8 -10
  66. package/front_end/models/ai_assistance/tools/GetTraceEventByKey.ts +1 -1
  67. package/front_end/models/ai_assistance/tools/SetElementStyles.ts +288 -0
  68. package/front_end/models/ai_assistance/tools/Tool.ts +1 -0
  69. package/front_end/models/ai_assistance/tools/ToolRegistry.ts +3 -0
  70. package/front_end/models/bindings/ResourceScriptMapping.ts +64 -16
  71. package/front_end/models/comment_manager/CD4ABridge.ts +12 -2
  72. package/front_end/models/comment_manager/CommentManager.ts +24 -4
  73. package/front_end/models/javascript_metadata/NativeFunctions.ts +41 -1
  74. package/front_end/models/project_settings/ProjectSettingsModel.ts +1 -1
  75. package/front_end/models/trace/handlers/FlowsHandler.ts +10 -0
  76. package/front_end/models/trace/handlers/SamplesHandler.ts +3 -2
  77. package/front_end/models/trace/handlers/ScriptsHandler.ts +25 -26
  78. package/front_end/models/trace/helpers/TreeHelpers.ts +4 -0
  79. package/front_end/models/trace/insights/DuplicatedJavaScript.ts +1 -2
  80. package/front_end/models/trace/types/TraceEvents.ts +21 -22
  81. package/front_end/panels/ai_assistance/components/ChatMessage.ts +9 -1
  82. package/front_end/panels/ai_assistance/components/chatInput.css +4 -4
  83. package/front_end/panels/animation/AnimationTimeline.ts +3 -3
  84. package/front_end/panels/animation/animationTimeline.css +6 -4
  85. package/front_end/panels/application/IndexedDBModel.ts +0 -15
  86. package/front_end/panels/application/appManifestView.css +2 -5
  87. package/front_end/panels/application/components/backForwardCacheView.css +1 -5
  88. package/front_end/panels/application/components/serviceWorkerRouterView.css +2 -2
  89. package/front_end/panels/application/preloading/components/PreloadingString.ts +7 -0
  90. package/front_end/panels/comments/CommentsPane.ts +12 -7
  91. package/front_end/panels/comments/commentsPane.css +16 -2
  92. package/front_end/panels/common/CommentsOverlayWidget.ts +16 -10
  93. package/front_end/panels/common/CommentsStatusBarPill.ts +12 -5
  94. package/front_end/panels/common/commentsOverlay.css +7 -1
  95. package/front_end/panels/common/commentsStatusBarPill.css +30 -0
  96. package/front_end/panels/console/consolePrompt.css +0 -12
  97. package/front_end/panels/console/consoleView.css +2 -2
  98. package/front_end/panels/developer_resources/developerResourcesView.css +4 -3
  99. package/front_end/panels/elements/DOMTreeWidget.ts +29 -9
  100. package/front_end/panels/elements/StylePropertyTreeElement.ts +2 -1
  101. package/front_end/panels/elements/components/CSSHintDetailsView.ts +12 -5
  102. package/front_end/panels/elements/components/cssVariableValueView.css +1 -1
  103. package/front_end/panels/elements/components/elementsBreadcrumbs.css +2 -2
  104. package/front_end/panels/elements/domTreeWidget.css +6 -1
  105. package/front_end/panels/elements/elementsPanel.css +0 -6
  106. package/front_end/panels/elements/layoutPane.css +1 -1
  107. package/front_end/panels/elements/metricsSidebarPane.css +1 -1
  108. package/front_end/panels/elements/platformFontsWidget.css +1 -1
  109. package/front_end/panels/elements/stylesSidebarPane.css +0 -10
  110. package/front_end/panels/emulation/deviceModeView.css +6 -7
  111. package/front_end/panels/explain/components/consoleInsight.css +4 -4
  112. package/front_end/panels/issues/issuesTree.css +1 -26
  113. package/front_end/panels/lighthouse/lighthouseStartView.css +2 -2
  114. package/front_end/panels/linear_memory_inspector/components/linearMemoryInspector.css +1 -1
  115. package/front_end/panels/media/TickingFlameChart.ts +20 -3
  116. package/front_end/panels/media/playerMessagesView.css +2 -2
  117. package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +24 -5
  118. package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +1 -6
  119. package/front_end/panels/network/networkLogView.css +2 -2
  120. package/front_end/panels/network/networkTimingTable.css +1 -1
  121. package/front_end/panels/performance_monitor/performanceMonitor.css +0 -4
  122. package/front_end/panels/protocol_monitor/JSONEditor.css +1 -1
  123. package/front_end/panels/protocol_monitor/JSONEditor.ts +4 -2
  124. package/front_end/panels/recorder/recorderPanel.css +3 -3
  125. package/front_end/panels/recorder/recordingListView.css +1 -1
  126. package/front_end/panels/screencast/screencastView.css +1 -1
  127. package/front_end/panels/search/searchResultsPane.css +1 -1
  128. package/front_end/panels/security/SecurityModel.ts +0 -6
  129. package/front_end/panels/security/SecurityPanel.ts +120 -108
  130. package/front_end/panels/security/originView.css +1 -1
  131. package/front_end/panels/sensors/locationsSettingsTab.css +3 -3
  132. package/front_end/panels/settings/EditFileSystemView.ts +159 -104
  133. package/front_end/panels/settings/editFileSystemView.css +30 -4
  134. package/front_end/panels/settings/emulation/devicesSettingsTab.css +0 -52
  135. package/front_end/panels/settings/settingsScreen.css +0 -7
  136. package/front_end/panels/sources/CallStackSidebarPane.ts +339 -221
  137. package/front_end/panels/sources/NavigatorView.ts +95 -8
  138. package/front_end/panels/sources/ThreadsSidebarPane.ts +8 -4
  139. package/front_end/panels/sources/breakpointsView.css +1 -3
  140. package/front_end/panels/sources/callStackSidebarPane.css +4 -0
  141. package/front_end/panels/sources/components/HeadersView.ts +15 -2
  142. package/front_end/panels/sources/watchExpressionsSidebarPane.css +0 -1
  143. package/front_end/panels/timeline/CountersGraph.ts +0 -4
  144. package/front_end/panels/timeline/TimelineLoader.ts +16 -6
  145. package/front_end/panels/timeline/TimelinePanel.ts +20 -12
  146. package/front_end/panels/timeline/TimelineUIUtils.ts +1 -1
  147. package/front_end/panels/timeline/components/DetailsView.ts +2 -1
  148. package/front_end/panels/timeline/components/cwvMetrics.css +1 -1
  149. package/front_end/panels/timeline/components/metricCard.css +1 -1
  150. package/front_end/panels/timeline/components/sidebarAnnotationsTab.css +4 -4
  151. package/front_end/panels/timeline/timelineFlameChartView.css +1 -1
  152. package/front_end/panels/webauthn/WebauthnPane.ts +13 -14
  153. package/front_end/panels/webauthn/webauthnPane.css +1 -1
  154. package/front_end/third_party/chromium/README.chromium +1 -1
  155. package/front_end/ui/comments/CommentOverlayManager.ts +34 -18
  156. package/front_end/ui/components/icon_button/FileSourceIcon.ts +6 -0
  157. package/front_end/ui/components/input/textInput.css +1 -1
  158. package/front_end/ui/components/panel_introduction_steps/panelIntroductionSteps.css +6 -4
  159. package/front_end/ui/components/suggestion_input/suggestionInput.css +2 -2
  160. package/front_end/ui/components/text_editor/AiCodeGenerationTeaser.ts +14 -2
  161. package/front_end/ui/legacy/DockController.ts +17 -4
  162. package/front_end/ui/legacy/Treeoutline.ts +2 -2
  163. package/front_end/ui/legacy/UIUtils.ts +148 -10
  164. package/front_end/ui/legacy/components/inline_editor/bezierEditor.css +3 -2
  165. package/front_end/ui/legacy/components/perf_ui/chartViewport.css +2 -2
  166. package/front_end/ui/legacy/components/perf_ui/filmStripView.css +2 -2
  167. package/front_end/ui/legacy/components/perf_ui/pieChart.css +1 -1
  168. package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +5 -4
  169. package/front_end/ui/legacy/components/source_frame/imageView.css +1 -1
  170. package/front_end/ui/legacy/components/utils/TargetDetachedDialog.ts +0 -3
  171. package/front_end/ui/legacy/components/utils/imagePreview.css +1 -1
  172. package/front_end/ui/legacy/inspectorCommon.css +1 -14
  173. package/front_end/ui/legacy/inspectorDrawerTabbedPane.css +3 -2
  174. package/front_end/ui/legacy/listWidget.css +0 -18
  175. package/front_end/ui/legacy/theme_support/ThemeSupport.ts +44 -9
  176. package/front_end/ui/lit/strip-whitespace.ts +1 -1
  177. package/front_end/ui/visual_logging/KnownContextValues.ts +1 -0
  178. package/package.json +3 -3
  179. package/front_end/generated/Deprecation.ts +0 -471
  180. package/front_end/panels/accessibility/axBreadcrumbs.css +0 -155
  181. package/front_end/panels/network/requestHeadersTree.css +0 -226
  182. package/front_end/panels/recorder/startView.css +0 -38
  183. package/front_end/panels/security/ipProtectionView.css +0 -141
  184. package/front_end/ui/legacy/components/inline_editor/animationNameSwatch.css +0 -27
@@ -311,12 +311,12 @@ declare namespace ProtocolProxyApi {
311
311
  * The loadComplete event mirrors the load complete event sent by the browser to assistive
312
312
  * technology when the web page has finished loading.
313
313
  */
314
- loadComplete(params: Protocol.Accessibility.LoadCompleteEvent): void;
314
+ loadComplete?(params: Protocol.Accessibility.LoadCompleteEvent): void;
315
315
 
316
316
  /**
317
317
  * The nodesUpdated event is sent every time a previously requested node has changed the in tree.
318
318
  */
319
- nodesUpdated(params: Protocol.Accessibility.NodesUpdatedEvent): void;
319
+ nodesUpdated?(params: Protocol.Accessibility.NodesUpdatedEvent): void;
320
320
 
321
321
  }
322
322
 
@@ -393,22 +393,22 @@ declare namespace ProtocolProxyApi {
393
393
  /**
394
394
  * Event for when an animation has been cancelled.
395
395
  */
396
- animationCanceled(params: Protocol.Animation.AnimationCanceledEvent): void;
396
+ animationCanceled?(params: Protocol.Animation.AnimationCanceledEvent): void;
397
397
 
398
398
  /**
399
399
  * Event for each animation that has been created.
400
400
  */
401
- animationCreated(params: Protocol.Animation.AnimationCreatedEvent): void;
401
+ animationCreated?(params: Protocol.Animation.AnimationCreatedEvent): void;
402
402
 
403
403
  /**
404
404
  * Event for animation that has been started.
405
405
  */
406
- animationStarted(params: Protocol.Animation.AnimationStartedEvent): void;
406
+ animationStarted?(params: Protocol.Animation.AnimationStartedEvent): void;
407
407
 
408
408
  /**
409
409
  * Event for animation that has been updated.
410
410
  */
411
- animationUpdated(params: Protocol.Animation.AnimationUpdatedEvent): void;
411
+ animationUpdated?(params: Protocol.Animation.AnimationUpdatedEvent): void;
412
412
 
413
413
  }
414
414
 
@@ -438,7 +438,7 @@ declare namespace ProtocolProxyApi {
438
438
 
439
439
  }
440
440
  export interface AuditsDispatcher {
441
- issueAdded(params: Protocol.Audits.IssueAddedEvent): void;
441
+ issueAdded?(params: Protocol.Audits.IssueAddedEvent): void;
442
442
 
443
443
  }
444
444
 
@@ -470,7 +470,7 @@ declare namespace ProtocolProxyApi {
470
470
  /**
471
471
  * Emitted when an address form is filled.
472
472
  */
473
- addressFormFilled(params: Protocol.Autofill.AddressFormFilledEvent): void;
473
+ addressFormFilled?(params: Protocol.Autofill.AddressFormFilledEvent): void;
474
474
 
475
475
  }
476
476
 
@@ -500,13 +500,13 @@ declare namespace ProtocolProxyApi {
500
500
  /**
501
501
  * Called when the recording state for the service has been updated.
502
502
  */
503
- recordingStateChanged(params: Protocol.BackgroundService.RecordingStateChangedEvent): void;
503
+ recordingStateChanged?(params: Protocol.BackgroundService.RecordingStateChangedEvent): void;
504
504
 
505
505
  /**
506
506
  * Called with all existing backgroundServiceEvents when enabled, and all new
507
507
  * events afterwards if enabled and recording.
508
508
  */
509
- backgroundServiceEventReceived(params: Protocol.BackgroundService.BackgroundServiceEventReceivedEvent): void;
509
+ backgroundServiceEventReceived?(params: Protocol.BackgroundService.BackgroundServiceEventReceivedEvent): void;
510
510
 
511
511
  }
512
512
 
@@ -607,21 +607,21 @@ declare namespace ProtocolProxyApi {
607
607
  * Event for when a GATT operation of |type| to the peripheral with |address|
608
608
  * happened.
609
609
  */
610
- gattOperationReceived(params: Protocol.BluetoothEmulation.GattOperationReceivedEvent): void;
610
+ gattOperationReceived?(params: Protocol.BluetoothEmulation.GattOperationReceivedEvent): void;
611
611
 
612
612
  /**
613
613
  * Event for when a characteristic operation of |type| to the characteristic
614
614
  * respresented by |characteristicId| happened. |data| and |writeType| is
615
615
  * expected to exist when |type| is write.
616
616
  */
617
- characteristicOperationReceived(params: Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent): void;
617
+ characteristicOperationReceived?(params: Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent): void;
618
618
 
619
619
  /**
620
620
  * Event for when a descriptor operation of |type| to the descriptor
621
621
  * respresented by |descriptorId| happened. |data| is expected to exist when
622
622
  * |type| is write.
623
623
  */
624
- descriptorOperationReceived(params: Protocol.BluetoothEmulation.DescriptorOperationReceivedEvent): void;
624
+ descriptorOperationReceived?(params: Protocol.BluetoothEmulation.DescriptorOperationReceivedEvent): void;
625
625
 
626
626
  }
627
627
 
@@ -749,12 +749,12 @@ declare namespace ProtocolProxyApi {
749
749
  /**
750
750
  * Fired when page is about to start a download.
751
751
  */
752
- downloadWillBegin(params: Protocol.Browser.DownloadWillBeginEvent): void;
752
+ downloadWillBegin?(params: Protocol.Browser.DownloadWillBeginEvent): void;
753
753
 
754
754
  /**
755
755
  * Fired when download makes progress. Last call has |done| == true.
756
756
  */
757
- downloadProgress(params: Protocol.Browser.DownloadProgressEvent): void;
757
+ downloadProgress?(params: Protocol.Browser.DownloadProgressEvent): void;
758
758
 
759
759
  }
760
760
 
@@ -991,30 +991,30 @@ declare namespace ProtocolProxyApi {
991
991
  * Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded
992
992
  * web font.
993
993
  */
994
- fontsUpdated(params: Protocol.CSS.FontsUpdatedEvent): void;
994
+ fontsUpdated?(params: Protocol.CSS.FontsUpdatedEvent): void;
995
995
 
996
996
  /**
997
997
  * Fires whenever a MediaQuery result changes (for example, after a browser window has been
998
998
  * resized.) The current implementation considers only viewport-dependent media features.
999
999
  */
1000
- mediaQueryResultChanged(): void;
1000
+ mediaQueryResultChanged?(): void;
1001
1001
 
1002
1002
  /**
1003
1003
  * Fired whenever an active document stylesheet is added.
1004
1004
  */
1005
- styleSheetAdded(params: Protocol.CSS.StyleSheetAddedEvent): void;
1005
+ styleSheetAdded?(params: Protocol.CSS.StyleSheetAddedEvent): void;
1006
1006
 
1007
1007
  /**
1008
1008
  * Fired whenever a stylesheet is changed as a result of the client operation.
1009
1009
  */
1010
- styleSheetChanged(params: Protocol.CSS.StyleSheetChangedEvent): void;
1010
+ styleSheetChanged?(params: Protocol.CSS.StyleSheetChangedEvent): void;
1011
1011
 
1012
1012
  /**
1013
1013
  * Fired whenever an active document stylesheet is removed.
1014
1014
  */
1015
- styleSheetRemoved(params: Protocol.CSS.StyleSheetRemovedEvent): void;
1015
+ styleSheetRemoved?(params: Protocol.CSS.StyleSheetRemovedEvent): void;
1016
1016
 
1017
- computedStyleUpdated(params: Protocol.CSS.ComputedStyleUpdatedEvent): void;
1017
+ computedStyleUpdated?(params: Protocol.CSS.ComputedStyleUpdatedEvent): void;
1018
1018
 
1019
1019
  }
1020
1020
 
@@ -1090,13 +1090,13 @@ declare namespace ProtocolProxyApi {
1090
1090
  * This is fired whenever the list of available sinks changes. A sink is a
1091
1091
  * device or a software surface that you can cast to.
1092
1092
  */
1093
- sinksUpdated(params: Protocol.Cast.SinksUpdatedEvent): void;
1093
+ sinksUpdated?(params: Protocol.Cast.SinksUpdatedEvent): void;
1094
1094
 
1095
1095
  /**
1096
1096
  * This is fired whenever the outstanding issue/error message changes.
1097
1097
  * |issueMessage| is empty if there is no issue.
1098
1098
  */
1099
- issueUpdated(params: Protocol.Cast.IssueUpdatedEvent): void;
1099
+ issueUpdated?(params: Protocol.Cast.IssueUpdatedEvent): void;
1100
1100
 
1101
1101
  }
1102
1102
 
@@ -1436,98 +1436,98 @@ declare namespace ProtocolProxyApi {
1436
1436
  /**
1437
1437
  * Fired when `Element`'s attribute is modified.
1438
1438
  */
1439
- attributeModified(params: Protocol.DOM.AttributeModifiedEvent): void;
1439
+ attributeModified?(params: Protocol.DOM.AttributeModifiedEvent): void;
1440
1440
 
1441
1441
  /**
1442
1442
  * Fired when `Element`'s adoptedStyleSheets are modified.
1443
1443
  */
1444
- adoptedStyleSheetsModified(params: Protocol.DOM.AdoptedStyleSheetsModifiedEvent): void;
1444
+ adoptedStyleSheetsModified?(params: Protocol.DOM.AdoptedStyleSheetsModifiedEvent): void;
1445
1445
 
1446
1446
  /**
1447
1447
  * Fired when `Element`'s attribute is removed.
1448
1448
  */
1449
- attributeRemoved(params: Protocol.DOM.AttributeRemovedEvent): void;
1449
+ attributeRemoved?(params: Protocol.DOM.AttributeRemovedEvent): void;
1450
1450
 
1451
1451
  /**
1452
1452
  * Mirrors `DOMCharacterDataModified` event.
1453
1453
  */
1454
- characterDataModified(params: Protocol.DOM.CharacterDataModifiedEvent): void;
1454
+ characterDataModified?(params: Protocol.DOM.CharacterDataModifiedEvent): void;
1455
1455
 
1456
1456
  /**
1457
1457
  * Fired when `Container`'s child node count has changed.
1458
1458
  */
1459
- childNodeCountUpdated(params: Protocol.DOM.ChildNodeCountUpdatedEvent): void;
1459
+ childNodeCountUpdated?(params: Protocol.DOM.ChildNodeCountUpdatedEvent): void;
1460
1460
 
1461
1461
  /**
1462
1462
  * Mirrors `DOMNodeInserted` event.
1463
1463
  */
1464
- childNodeInserted(params: Protocol.DOM.ChildNodeInsertedEvent): void;
1464
+ childNodeInserted?(params: Protocol.DOM.ChildNodeInsertedEvent): void;
1465
1465
 
1466
1466
  /**
1467
1467
  * Mirrors `DOMNodeRemoved` event.
1468
1468
  */
1469
- childNodeRemoved(params: Protocol.DOM.ChildNodeRemovedEvent): void;
1469
+ childNodeRemoved?(params: Protocol.DOM.ChildNodeRemovedEvent): void;
1470
1470
 
1471
1471
  /**
1472
1472
  * Called when distribution is changed.
1473
1473
  */
1474
- distributedNodesUpdated(params: Protocol.DOM.DistributedNodesUpdatedEvent): void;
1474
+ distributedNodesUpdated?(params: Protocol.DOM.DistributedNodesUpdatedEvent): void;
1475
1475
 
1476
1476
  /**
1477
1477
  * Fired when `Document` has been totally updated. Node ids are no longer valid.
1478
1478
  */
1479
- documentUpdated(): void;
1479
+ documentUpdated?(): void;
1480
1480
 
1481
1481
  /**
1482
1482
  * Fired when `Element`'s inline style is modified via a CSS property modification.
1483
1483
  */
1484
- inlineStyleInvalidated(params: Protocol.DOM.InlineStyleInvalidatedEvent): void;
1484
+ inlineStyleInvalidated?(params: Protocol.DOM.InlineStyleInvalidatedEvent): void;
1485
1485
 
1486
1486
  /**
1487
1487
  * Called when a pseudo element is added to an element.
1488
1488
  */
1489
- pseudoElementAdded(params: Protocol.DOM.PseudoElementAddedEvent): void;
1489
+ pseudoElementAdded?(params: Protocol.DOM.PseudoElementAddedEvent): void;
1490
1490
 
1491
1491
  /**
1492
1492
  * Called when top layer elements are changed.
1493
1493
  */
1494
- topLayerElementsUpdated(): void;
1494
+ topLayerElementsUpdated?(): void;
1495
1495
 
1496
1496
  /**
1497
1497
  * Fired when a node's scrollability state changes.
1498
1498
  */
1499
- scrollableFlagUpdated(params: Protocol.DOM.ScrollableFlagUpdatedEvent): void;
1499
+ scrollableFlagUpdated?(params: Protocol.DOM.ScrollableFlagUpdatedEvent): void;
1500
1500
 
1501
1501
  /**
1502
1502
  * Fired when a node's ad related state changes.
1503
1503
  */
1504
- adRelatedStateUpdated(params: Protocol.DOM.AdRelatedStateUpdatedEvent): void;
1504
+ adRelatedStateUpdated?(params: Protocol.DOM.AdRelatedStateUpdatedEvent): void;
1505
1505
 
1506
1506
  /**
1507
1507
  * Fired when a node's starting styles changes.
1508
1508
  */
1509
- affectedByStartingStylesFlagUpdated(params: Protocol.DOM.AffectedByStartingStylesFlagUpdatedEvent): void;
1509
+ affectedByStartingStylesFlagUpdated?(params: Protocol.DOM.AffectedByStartingStylesFlagUpdatedEvent): void;
1510
1510
 
1511
1511
  /**
1512
1512
  * Called when a pseudo element is removed from an element.
1513
1513
  */
1514
- pseudoElementRemoved(params: Protocol.DOM.PseudoElementRemovedEvent): void;
1514
+ pseudoElementRemoved?(params: Protocol.DOM.PseudoElementRemovedEvent): void;
1515
1515
 
1516
1516
  /**
1517
1517
  * Fired when backend wants to provide client with the missing DOM structure. This happens upon
1518
1518
  * most of the calls requesting node ids.
1519
1519
  */
1520
- setChildNodes(params: Protocol.DOM.SetChildNodesEvent): void;
1520
+ setChildNodes?(params: Protocol.DOM.SetChildNodesEvent): void;
1521
1521
 
1522
1522
  /**
1523
1523
  * Called when shadow root is popped from the element.
1524
1524
  */
1525
- shadowRootPopped(params: Protocol.DOM.ShadowRootPoppedEvent): void;
1525
+ shadowRootPopped?(params: Protocol.DOM.ShadowRootPoppedEvent): void;
1526
1526
 
1527
1527
  /**
1528
1528
  * Called when shadow root is pushed into the element.
1529
1529
  */
1530
- shadowRootPushed(params: Protocol.DOM.ShadowRootPushedEvent): void;
1530
+ shadowRootPushed?(params: Protocol.DOM.ShadowRootPushedEvent): void;
1531
1531
 
1532
1532
  }
1533
1533
 
@@ -1641,13 +1641,13 @@ declare namespace ProtocolProxyApi {
1641
1641
 
1642
1642
  }
1643
1643
  export interface DOMStorageDispatcher {
1644
- domStorageItemAdded(params: Protocol.DOMStorage.DomStorageItemAddedEvent): void;
1644
+ domStorageItemAdded?(params: Protocol.DOMStorage.DomStorageItemAddedEvent): void;
1645
1645
 
1646
- domStorageItemRemoved(params: Protocol.DOMStorage.DomStorageItemRemovedEvent): void;
1646
+ domStorageItemRemoved?(params: Protocol.DOMStorage.DomStorageItemRemovedEvent): void;
1647
1647
 
1648
- domStorageItemUpdated(params: Protocol.DOMStorage.DomStorageItemUpdatedEvent): void;
1648
+ domStorageItemUpdated?(params: Protocol.DOMStorage.DomStorageItemUpdatedEvent): void;
1649
1649
 
1650
- domStorageItemsCleared(params: Protocol.DOMStorage.DomStorageItemsClearedEvent): void;
1650
+ domStorageItemsCleared?(params: Protocol.DOMStorage.DomStorageItemsClearedEvent): void;
1651
1651
 
1652
1652
  }
1653
1653
 
@@ -1678,7 +1678,7 @@ declare namespace ProtocolProxyApi {
1678
1678
  * A device request opened a user prompt to select a device. Respond with the
1679
1679
  * selectPrompt or cancelPrompt command.
1680
1680
  */
1681
- deviceRequestPrompted(params: Protocol.DeviceAccess.DeviceRequestPromptedEvent): void;
1681
+ deviceRequestPrompted?(params: Protocol.DeviceAccess.DeviceRequestPromptedEvent): void;
1682
1682
 
1683
1683
  }
1684
1684
 
@@ -1981,14 +1981,14 @@ declare namespace ProtocolProxyApi {
1981
1981
  /**
1982
1982
  * Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
1983
1983
  */
1984
- virtualTimeBudgetExpired(): void;
1984
+ virtualTimeBudgetExpired?(): void;
1985
1985
 
1986
1986
  /**
1987
1987
  * Fired when a page calls screen.orientation.lock() or screen.orientation.unlock()
1988
1988
  * while device emulation is enabled. This allows the DevTools frontend to update the
1989
1989
  * emulated device orientation accordingly.
1990
1990
  */
1991
- screenOrientationLockChanged(params: Protocol.Emulation.ScreenOrientationLockChangedEvent): void;
1991
+ screenOrientationLockChanged?(params: Protocol.Emulation.ScreenOrientationLockChangedEvent): void;
1992
1992
 
1993
1993
  }
1994
1994
 
@@ -2082,13 +2082,13 @@ declare namespace ProtocolProxyApi {
2082
2082
 
2083
2083
  }
2084
2084
  export interface FedCmDispatcher {
2085
- dialogShown(params: Protocol.FedCm.DialogShownEvent): void;
2085
+ dialogShown?(params: Protocol.FedCm.DialogShownEvent): void;
2086
2086
 
2087
2087
  /**
2088
2088
  * Triggered when a dialog is closed, either by user action, JS abort,
2089
2089
  * or a command below.
2090
2090
  */
2091
- dialogClosed(params: Protocol.FedCm.DialogClosedEvent): void;
2091
+ dialogClosed?(params: Protocol.FedCm.DialogClosedEvent): void;
2092
2092
 
2093
2093
  }
2094
2094
 
@@ -2174,13 +2174,13 @@ declare namespace ProtocolProxyApi {
2174
2174
  * presence of the `location` header. Requests resulting from a redirect will
2175
2175
  * have `redirectedRequestId` field set.
2176
2176
  */
2177
- requestPaused(params: Protocol.Fetch.RequestPausedEvent): void;
2177
+ requestPaused?(params: Protocol.Fetch.RequestPausedEvent): void;
2178
2178
 
2179
2179
  /**
2180
2180
  * Issued when the domain is enabled with handleAuthRequests set to true.
2181
2181
  * The request is paused until client responds with continueWithAuth.
2182
2182
  */
2183
- authRequired(params: Protocol.Fetch.AuthRequiredEvent): void;
2183
+ authRequired?(params: Protocol.Fetch.AuthRequiredEvent): void;
2184
2184
 
2185
2185
  }
2186
2186
 
@@ -2397,7 +2397,7 @@ declare namespace ProtocolProxyApi {
2397
2397
  * Emitted only when `Input.setInterceptDrags` is enabled. Use this data with `Input.dispatchDragEvent` to
2398
2398
  * restore normal drag and drop behavior.
2399
2399
  */
2400
- dragIntercepted(params: Protocol.Input.DragInterceptedEvent): void;
2400
+ dragIntercepted?(params: Protocol.Input.DragInterceptedEvent): void;
2401
2401
 
2402
2402
  }
2403
2403
 
@@ -2419,22 +2419,22 @@ declare namespace ProtocolProxyApi {
2419
2419
  /**
2420
2420
  * Fired when remote debugging connection is about to be terminated. Contains detach reason.
2421
2421
  */
2422
- detached(params: Protocol.Inspector.DetachedEvent): void;
2422
+ detached?(params: Protocol.Inspector.DetachedEvent): void;
2423
2423
 
2424
2424
  /**
2425
2425
  * Fired when debugging target has crashed
2426
2426
  */
2427
- targetCrashed(): void;
2427
+ targetCrashed?(): void;
2428
2428
 
2429
2429
  /**
2430
2430
  * Fired when debugging target has reloaded after crash
2431
2431
  */
2432
- targetReloadedAfterCrash(): void;
2432
+ targetReloadedAfterCrash?(): void;
2433
2433
 
2434
2434
  /**
2435
2435
  * Fired on worker targets when main worker script and any imported scripts have been evaluated.
2436
2436
  */
2437
- workerScriptLoaded(): void;
2437
+ workerScriptLoaded?(): void;
2438
2438
 
2439
2439
  }
2440
2440
 
@@ -2483,9 +2483,9 @@ declare namespace ProtocolProxyApi {
2483
2483
 
2484
2484
  }
2485
2485
  export interface LayerTreeDispatcher {
2486
- layerPainted(params: Protocol.LayerTree.LayerPaintedEvent): void;
2486
+ layerPainted?(params: Protocol.LayerTree.LayerPaintedEvent): void;
2487
2487
 
2488
- layerTreeDidChange(params: Protocol.LayerTree.LayerTreeDidChangeEvent): void;
2488
+ layerTreeDidChange?(params: Protocol.LayerTree.LayerTreeDidChangeEvent): void;
2489
2489
 
2490
2490
  }
2491
2491
 
@@ -2521,7 +2521,7 @@ declare namespace ProtocolProxyApi {
2521
2521
  /**
2522
2522
  * Issued when new message was logged.
2523
2523
  */
2524
- entryAdded(params: Protocol.Log.EntryAddedEvent): void;
2524
+ entryAdded?(params: Protocol.Log.EntryAddedEvent): void;
2525
2525
 
2526
2526
  }
2527
2527
 
@@ -2542,30 +2542,30 @@ declare namespace ProtocolProxyApi {
2542
2542
  * This can be called multiple times, and can be used to set / override /
2543
2543
  * remove player properties. A null propValue indicates removal.
2544
2544
  */
2545
- playerPropertiesChanged(params: Protocol.Media.PlayerPropertiesChangedEvent): void;
2545
+ playerPropertiesChanged?(params: Protocol.Media.PlayerPropertiesChangedEvent): void;
2546
2546
 
2547
2547
  /**
2548
2548
  * Send events as a list, allowing them to be batched on the browser for less
2549
2549
  * congestion. If batched, events must ALWAYS be in chronological order.
2550
2550
  */
2551
- playerEventsAdded(params: Protocol.Media.PlayerEventsAddedEvent): void;
2551
+ playerEventsAdded?(params: Protocol.Media.PlayerEventsAddedEvent): void;
2552
2552
 
2553
2553
  /**
2554
2554
  * Send a list of any messages that need to be delivered.
2555
2555
  */
2556
- playerMessagesLogged(params: Protocol.Media.PlayerMessagesLoggedEvent): void;
2556
+ playerMessagesLogged?(params: Protocol.Media.PlayerMessagesLoggedEvent): void;
2557
2557
 
2558
2558
  /**
2559
2559
  * Send a list of any errors that need to be delivered.
2560
2560
  */
2561
- playerErrorsRaised(params: Protocol.Media.PlayerErrorsRaisedEvent): void;
2561
+ playerErrorsRaised?(params: Protocol.Media.PlayerErrorsRaisedEvent): void;
2562
2562
 
2563
2563
  /**
2564
2564
  * Called whenever a player is created, or when a new agent joins and receives
2565
2565
  * a list of active players. If an agent is restored, it will receive one
2566
2566
  * event for each active player.
2567
2567
  */
2568
- playerCreated(params: Protocol.Media.PlayerCreatedEvent): void;
2568
+ playerCreated?(params: Protocol.Media.PlayerCreatedEvent): void;
2569
2569
 
2570
2570
  }
2571
2571
 
@@ -2832,161 +2832,161 @@ declare namespace ProtocolProxyApi {
2832
2832
  /**
2833
2833
  * Fired when data chunk was received over the network.
2834
2834
  */
2835
- dataReceived(params: Protocol.Network.DataReceivedEvent): void;
2835
+ dataReceived?(params: Protocol.Network.DataReceivedEvent): void;
2836
2836
 
2837
2837
  /**
2838
2838
  * Fired when EventSource message is received.
2839
2839
  */
2840
- eventSourceMessageReceived(params: Protocol.Network.EventSourceMessageReceivedEvent): void;
2840
+ eventSourceMessageReceived?(params: Protocol.Network.EventSourceMessageReceivedEvent): void;
2841
2841
 
2842
2842
  /**
2843
2843
  * Fired when HTTP request has failed to load.
2844
2844
  */
2845
- loadingFailed(params: Protocol.Network.LoadingFailedEvent): void;
2845
+ loadingFailed?(params: Protocol.Network.LoadingFailedEvent): void;
2846
2846
 
2847
2847
  /**
2848
2848
  * Fired when HTTP request has finished loading.
2849
2849
  */
2850
- loadingFinished(params: Protocol.Network.LoadingFinishedEvent): void;
2850
+ loadingFinished?(params: Protocol.Network.LoadingFinishedEvent): void;
2851
2851
 
2852
2852
  /**
2853
2853
  * Fired if request ended up loading from cache.
2854
2854
  */
2855
- requestServedFromCache(params: Protocol.Network.RequestServedFromCacheEvent): void;
2855
+ requestServedFromCache?(params: Protocol.Network.RequestServedFromCacheEvent): void;
2856
2856
 
2857
2857
  /**
2858
2858
  * Fired when page is about to send HTTP request.
2859
2859
  */
2860
- requestWillBeSent(params: Protocol.Network.RequestWillBeSentEvent): void;
2860
+ requestWillBeSent?(params: Protocol.Network.RequestWillBeSentEvent): void;
2861
2861
 
2862
2862
  /**
2863
2863
  * Fired when resource loading priority is changed
2864
2864
  */
2865
- resourceChangedPriority(params: Protocol.Network.ResourceChangedPriorityEvent): void;
2865
+ resourceChangedPriority?(params: Protocol.Network.ResourceChangedPriorityEvent): void;
2866
2866
 
2867
2867
  /**
2868
2868
  * Fired when a signed exchange was received over the network
2869
2869
  */
2870
- signedExchangeReceived(params: Protocol.Network.SignedExchangeReceivedEvent): void;
2870
+ signedExchangeReceived?(params: Protocol.Network.SignedExchangeReceivedEvent): void;
2871
2871
 
2872
2872
  /**
2873
2873
  * Fired when HTTP response is available.
2874
2874
  */
2875
- responseReceived(params: Protocol.Network.ResponseReceivedEvent): void;
2875
+ responseReceived?(params: Protocol.Network.ResponseReceivedEvent): void;
2876
2876
 
2877
2877
  /**
2878
2878
  * Fired when WebSocket is closed.
2879
2879
  */
2880
- webSocketClosed(params: Protocol.Network.WebSocketClosedEvent): void;
2880
+ webSocketClosed?(params: Protocol.Network.WebSocketClosedEvent): void;
2881
2881
 
2882
2882
  /**
2883
2883
  * Fired upon WebSocket creation.
2884
2884
  */
2885
- webSocketCreated(params: Protocol.Network.WebSocketCreatedEvent): void;
2885
+ webSocketCreated?(params: Protocol.Network.WebSocketCreatedEvent): void;
2886
2886
 
2887
2887
  /**
2888
2888
  * Fired when WebSocket message error occurs.
2889
2889
  */
2890
- webSocketFrameError(params: Protocol.Network.WebSocketFrameErrorEvent): void;
2890
+ webSocketFrameError?(params: Protocol.Network.WebSocketFrameErrorEvent): void;
2891
2891
 
2892
2892
  /**
2893
2893
  * Fired when WebSocket message is received.
2894
2894
  */
2895
- webSocketFrameReceived(params: Protocol.Network.WebSocketFrameReceivedEvent): void;
2895
+ webSocketFrameReceived?(params: Protocol.Network.WebSocketFrameReceivedEvent): void;
2896
2896
 
2897
2897
  /**
2898
2898
  * Fired when WebSocket message is sent.
2899
2899
  */
2900
- webSocketFrameSent(params: Protocol.Network.WebSocketFrameSentEvent): void;
2900
+ webSocketFrameSent?(params: Protocol.Network.WebSocketFrameSentEvent): void;
2901
2901
 
2902
2902
  /**
2903
2903
  * Fired when WebSocket handshake response becomes available.
2904
2904
  */
2905
- webSocketHandshakeResponseReceived(params: Protocol.Network.WebSocketHandshakeResponseReceivedEvent): void;
2905
+ webSocketHandshakeResponseReceived?(params: Protocol.Network.WebSocketHandshakeResponseReceivedEvent): void;
2906
2906
 
2907
2907
  /**
2908
2908
  * Fired when WebSocket is about to initiate handshake.
2909
2909
  */
2910
- webSocketWillSendHandshakeRequest(params: Protocol.Network.WebSocketWillSendHandshakeRequestEvent): void;
2910
+ webSocketWillSendHandshakeRequest?(params: Protocol.Network.WebSocketWillSendHandshakeRequestEvent): void;
2911
2911
 
2912
2912
  /**
2913
2913
  * Fired upon WebTransport creation.
2914
2914
  */
2915
- webTransportCreated(params: Protocol.Network.WebTransportCreatedEvent): void;
2915
+ webTransportCreated?(params: Protocol.Network.WebTransportCreatedEvent): void;
2916
2916
 
2917
2917
  /**
2918
2918
  * Fired when WebTransport handshake is finished.
2919
2919
  */
2920
- webTransportConnectionEstablished(params: Protocol.Network.WebTransportConnectionEstablishedEvent): void;
2920
+ webTransportConnectionEstablished?(params: Protocol.Network.WebTransportConnectionEstablishedEvent): void;
2921
2921
 
2922
2922
  /**
2923
2923
  * Fired when WebTransport is disposed.
2924
2924
  */
2925
- webTransportClosed(params: Protocol.Network.WebTransportClosedEvent): void;
2925
+ webTransportClosed?(params: Protocol.Network.WebTransportClosedEvent): void;
2926
2926
 
2927
2927
  /**
2928
2928
  * Fired upon direct_socket.TCPSocket creation.
2929
2929
  */
2930
- directTCPSocketCreated(params: Protocol.Network.DirectTCPSocketCreatedEvent): void;
2930
+ directTCPSocketCreated?(params: Protocol.Network.DirectTCPSocketCreatedEvent): void;
2931
2931
 
2932
2932
  /**
2933
2933
  * Fired when direct_socket.TCPSocket connection is opened.
2934
2934
  */
2935
- directTCPSocketOpened(params: Protocol.Network.DirectTCPSocketOpenedEvent): void;
2935
+ directTCPSocketOpened?(params: Protocol.Network.DirectTCPSocketOpenedEvent): void;
2936
2936
 
2937
2937
  /**
2938
2938
  * Fired when direct_socket.TCPSocket is aborted.
2939
2939
  */
2940
- directTCPSocketAborted(params: Protocol.Network.DirectTCPSocketAbortedEvent): void;
2940
+ directTCPSocketAborted?(params: Protocol.Network.DirectTCPSocketAbortedEvent): void;
2941
2941
 
2942
2942
  /**
2943
2943
  * Fired when direct_socket.TCPSocket is closed.
2944
2944
  */
2945
- directTCPSocketClosed(params: Protocol.Network.DirectTCPSocketClosedEvent): void;
2945
+ directTCPSocketClosed?(params: Protocol.Network.DirectTCPSocketClosedEvent): void;
2946
2946
 
2947
2947
  /**
2948
2948
  * Fired when data is sent to tcp direct socket stream.
2949
2949
  */
2950
- directTCPSocketChunkSent(params: Protocol.Network.DirectTCPSocketChunkSentEvent): void;
2950
+ directTCPSocketChunkSent?(params: Protocol.Network.DirectTCPSocketChunkSentEvent): void;
2951
2951
 
2952
2952
  /**
2953
2953
  * Fired when data is received from tcp direct socket stream.
2954
2954
  */
2955
- directTCPSocketChunkReceived(params: Protocol.Network.DirectTCPSocketChunkReceivedEvent): void;
2955
+ directTCPSocketChunkReceived?(params: Protocol.Network.DirectTCPSocketChunkReceivedEvent): void;
2956
2956
 
2957
- directUDPSocketJoinedMulticastGroup(params: Protocol.Network.DirectUDPSocketJoinedMulticastGroupEvent): void;
2957
+ directUDPSocketJoinedMulticastGroup?(params: Protocol.Network.DirectUDPSocketJoinedMulticastGroupEvent): void;
2958
2958
 
2959
- directUDPSocketLeftMulticastGroup(params: Protocol.Network.DirectUDPSocketLeftMulticastGroupEvent): void;
2959
+ directUDPSocketLeftMulticastGroup?(params: Protocol.Network.DirectUDPSocketLeftMulticastGroupEvent): void;
2960
2960
 
2961
2961
  /**
2962
2962
  * Fired upon direct_socket.UDPSocket creation.
2963
2963
  */
2964
- directUDPSocketCreated(params: Protocol.Network.DirectUDPSocketCreatedEvent): void;
2964
+ directUDPSocketCreated?(params: Protocol.Network.DirectUDPSocketCreatedEvent): void;
2965
2965
 
2966
2966
  /**
2967
2967
  * Fired when direct_socket.UDPSocket connection is opened.
2968
2968
  */
2969
- directUDPSocketOpened(params: Protocol.Network.DirectUDPSocketOpenedEvent): void;
2969
+ directUDPSocketOpened?(params: Protocol.Network.DirectUDPSocketOpenedEvent): void;
2970
2970
 
2971
2971
  /**
2972
2972
  * Fired when direct_socket.UDPSocket is aborted.
2973
2973
  */
2974
- directUDPSocketAborted(params: Protocol.Network.DirectUDPSocketAbortedEvent): void;
2974
+ directUDPSocketAborted?(params: Protocol.Network.DirectUDPSocketAbortedEvent): void;
2975
2975
 
2976
2976
  /**
2977
2977
  * Fired when direct_socket.UDPSocket is closed.
2978
2978
  */
2979
- directUDPSocketClosed(params: Protocol.Network.DirectUDPSocketClosedEvent): void;
2979
+ directUDPSocketClosed?(params: Protocol.Network.DirectUDPSocketClosedEvent): void;
2980
2980
 
2981
2981
  /**
2982
2982
  * Fired when message is sent to udp direct socket stream.
2983
2983
  */
2984
- directUDPSocketChunkSent(params: Protocol.Network.DirectUDPSocketChunkSentEvent): void;
2984
+ directUDPSocketChunkSent?(params: Protocol.Network.DirectUDPSocketChunkSentEvent): void;
2985
2985
 
2986
2986
  /**
2987
2987
  * Fired when message is received from udp direct socket stream.
2988
2988
  */
2989
- directUDPSocketChunkReceived(params: Protocol.Network.DirectUDPSocketChunkReceivedEvent): void;
2989
+ directUDPSocketChunkReceived?(params: Protocol.Network.DirectUDPSocketChunkReceivedEvent): void;
2990
2990
 
2991
2991
  /**
2992
2992
  * Fired when additional information about a requestWillBeSent event is available from the
@@ -2994,21 +2994,21 @@ declare namespace ProtocolProxyApi {
2994
2994
  * requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent
2995
2995
  * or requestWillBeSentExtraInfo will be fired first for the same request.
2996
2996
  */
2997
- requestWillBeSentExtraInfo(params: Protocol.Network.RequestWillBeSentExtraInfoEvent): void;
2997
+ requestWillBeSentExtraInfo?(params: Protocol.Network.RequestWillBeSentExtraInfoEvent): void;
2998
2998
 
2999
2999
  /**
3000
3000
  * Fired when additional information about a responseReceived event is available from the network
3001
3001
  * stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for
3002
3002
  * it, and responseReceivedExtraInfo may be fired before or after responseReceived.
3003
3003
  */
3004
- responseReceivedExtraInfo(params: Protocol.Network.ResponseReceivedExtraInfoEvent): void;
3004
+ responseReceivedExtraInfo?(params: Protocol.Network.ResponseReceivedExtraInfoEvent): void;
3005
3005
 
3006
3006
  /**
3007
3007
  * Fired when 103 Early Hints headers is received in addition to the common response.
3008
3008
  * Not every responseReceived event will have an responseReceivedEarlyHints fired.
3009
3009
  * Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
3010
3010
  */
3011
- responseReceivedEarlyHints(params: Protocol.Network.ResponseReceivedEarlyHintsEvent): void;
3011
+ responseReceivedEarlyHints?(params: Protocol.Network.ResponseReceivedEarlyHintsEvent): void;
3012
3012
 
3013
3013
  /**
3014
3014
  * Fired exactly once for each Trust Token operation. Depending on
@@ -3016,32 +3016,32 @@ declare namespace ProtocolProxyApi {
3016
3016
  * failed, the event is fired before the corresponding request was sent
3017
3017
  * or after the response was received.
3018
3018
  */
3019
- trustTokenOperationDone(params: Protocol.Network.TrustTokenOperationDoneEvent): void;
3019
+ trustTokenOperationDone?(params: Protocol.Network.TrustTokenOperationDoneEvent): void;
3020
3020
 
3021
3021
  /**
3022
3022
  * Fired once security policy has been updated.
3023
3023
  */
3024
- policyUpdated(): void;
3024
+ policyUpdated?(): void;
3025
3025
 
3026
3026
  /**
3027
3027
  * Is sent whenever a new report is added.
3028
3028
  * And after 'enableReportingApi' for all existing reports.
3029
3029
  */
3030
- reportingApiReportAdded(params: Protocol.Network.ReportingApiReportAddedEvent): void;
3030
+ reportingApiReportAdded?(params: Protocol.Network.ReportingApiReportAddedEvent): void;
3031
3031
 
3032
- reportingApiReportUpdated(params: Protocol.Network.ReportingApiReportUpdatedEvent): void;
3032
+ reportingApiReportUpdated?(params: Protocol.Network.ReportingApiReportUpdatedEvent): void;
3033
3033
 
3034
- reportingApiEndpointsChangedForOrigin(params: Protocol.Network.ReportingApiEndpointsChangedForOriginEvent): void;
3034
+ reportingApiEndpointsChangedForOrigin?(params: Protocol.Network.ReportingApiEndpointsChangedForOriginEvent): void;
3035
3035
 
3036
3036
  /**
3037
3037
  * Triggered when the initial set of device bound sessions is added.
3038
3038
  */
3039
- deviceBoundSessionsAdded(params: Protocol.Network.DeviceBoundSessionsAddedEvent): void;
3039
+ deviceBoundSessionsAdded?(params: Protocol.Network.DeviceBoundSessionsAddedEvent): void;
3040
3040
 
3041
3041
  /**
3042
3042
  * Triggered when a device bound session event occurs.
3043
3043
  */
3044
- deviceBoundSessionEventOccurred(params: Protocol.Network.DeviceBoundSessionEventOccurredEvent): void;
3044
+ deviceBoundSessionEventOccurred?(params: Protocol.Network.DeviceBoundSessionEventOccurredEvent): void;
3045
3045
 
3046
3046
  }
3047
3047
 
@@ -3204,32 +3204,32 @@ declare namespace ProtocolProxyApi {
3204
3204
  * Fired when the node should be inspected. This happens after call to `setInspectMode` or when
3205
3205
  * user manually inspects an element.
3206
3206
  */
3207
- inspectNodeRequested(params: Protocol.Overlay.InspectNodeRequestedEvent): void;
3207
+ inspectNodeRequested?(params: Protocol.Overlay.InspectNodeRequestedEvent): void;
3208
3208
 
3209
3209
  /**
3210
3210
  * Fired when the node should be highlighted. This happens after call to `setInspectMode`.
3211
3211
  */
3212
- nodeHighlightRequested(params: Protocol.Overlay.NodeHighlightRequestedEvent): void;
3212
+ nodeHighlightRequested?(params: Protocol.Overlay.NodeHighlightRequestedEvent): void;
3213
3213
 
3214
3214
  /**
3215
3215
  * Fired when user asks to capture screenshot of some area on the page.
3216
3216
  */
3217
- screenshotRequested(params: Protocol.Overlay.ScreenshotRequestedEvent): void;
3217
+ screenshotRequested?(params: Protocol.Overlay.ScreenshotRequestedEvent): void;
3218
3218
 
3219
3219
  /**
3220
3220
  * Fired when user asks to show the Inspect panel.
3221
3221
  */
3222
- inspectPanelShowRequested(params: Protocol.Overlay.InspectPanelShowRequestedEvent): void;
3222
+ inspectPanelShowRequested?(params: Protocol.Overlay.InspectPanelShowRequestedEvent): void;
3223
3223
 
3224
3224
  /**
3225
3225
  * Fired when user asks to restore the Inspected Element floating window.
3226
3226
  */
3227
- inspectedElementWindowRestored(params: Protocol.Overlay.InspectedElementWindowRestoredEvent): void;
3227
+ inspectedElementWindowRestored?(params: Protocol.Overlay.InspectedElementWindowRestoredEvent): void;
3228
3228
 
3229
3229
  /**
3230
3230
  * Fired when user cancels the inspect mode.
3231
3231
  */
3232
- inspectModeCanceled(): void;
3232
+ inspectModeCanceled?(): void;
3233
3233
 
3234
3234
  }
3235
3235
 
@@ -3697,46 +3697,46 @@ declare namespace ProtocolProxyApi {
3697
3697
 
3698
3698
  }
3699
3699
  export interface PageDispatcher {
3700
- domContentEventFired(params: Protocol.Page.DomContentEventFiredEvent): void;
3700
+ domContentEventFired?(params: Protocol.Page.DomContentEventFiredEvent): void;
3701
3701
 
3702
3702
  /**
3703
3703
  * Emitted only when `page.interceptFileChooser` is enabled.
3704
3704
  */
3705
- fileChooserOpened(params: Protocol.Page.FileChooserOpenedEvent): void;
3705
+ fileChooserOpened?(params: Protocol.Page.FileChooserOpenedEvent): void;
3706
3706
 
3707
3707
  /**
3708
3708
  * Fired when frame has been attached to its parent.
3709
3709
  */
3710
- frameAttached(params: Protocol.Page.FrameAttachedEvent): void;
3710
+ frameAttached?(params: Protocol.Page.FrameAttachedEvent): void;
3711
3711
 
3712
3712
  /**
3713
3713
  * Fired when frame no longer has a scheduled navigation.
3714
3714
  * @deprecated
3715
3715
  */
3716
- frameClearedScheduledNavigation(params: Protocol.Page.FrameClearedScheduledNavigationEvent): void;
3716
+ frameClearedScheduledNavigation?(params: Protocol.Page.FrameClearedScheduledNavigationEvent): void;
3717
3717
 
3718
3718
  /**
3719
3719
  * Fired when frame has been detached from its parent.
3720
3720
  */
3721
- frameDetached(params: Protocol.Page.FrameDetachedEvent): void;
3721
+ frameDetached?(params: Protocol.Page.FrameDetachedEvent): void;
3722
3722
 
3723
3723
  /**
3724
3724
  * Fired before frame subtree is detached. Emitted before any frame of the
3725
3725
  * subtree is actually detached.
3726
3726
  */
3727
- frameSubtreeWillBeDetached(params: Protocol.Page.FrameSubtreeWillBeDetachedEvent): void;
3727
+ frameSubtreeWillBeDetached?(params: Protocol.Page.FrameSubtreeWillBeDetachedEvent): void;
3728
3728
 
3729
3729
  /**
3730
3730
  * Fired once navigation of the frame has completed. Frame is now associated with the new loader.
3731
3731
  */
3732
- frameNavigated(params: Protocol.Page.FrameNavigatedEvent): void;
3732
+ frameNavigated?(params: Protocol.Page.FrameNavigatedEvent): void;
3733
3733
 
3734
3734
  /**
3735
3735
  * Fired when opening document to write to.
3736
3736
  */
3737
- documentOpened(params: Protocol.Page.DocumentOpenedEvent): void;
3737
+ documentOpened?(params: Protocol.Page.DocumentOpenedEvent): void;
3738
3738
 
3739
- frameResized(): void;
3739
+ frameResized?(): void;
3740
3740
 
3741
3741
  /**
3742
3742
  * Fired when a navigation starts. This event is fired for both
@@ -3747,71 +3747,71 @@ declare namespace ProtocolProxyApi {
3747
3747
  * navigation becomes a cross-document navigation (such as in the case of a
3748
3748
  * frameset).
3749
3749
  */
3750
- frameStartedNavigating(params: Protocol.Page.FrameStartedNavigatingEvent): void;
3750
+ frameStartedNavigating?(params: Protocol.Page.FrameStartedNavigatingEvent): void;
3751
3751
 
3752
3752
  /**
3753
3753
  * Fired when a renderer-initiated navigation is requested.
3754
3754
  * Navigation may still be cancelled after the event is issued.
3755
3755
  */
3756
- frameRequestedNavigation(params: Protocol.Page.FrameRequestedNavigationEvent): void;
3756
+ frameRequestedNavigation?(params: Protocol.Page.FrameRequestedNavigationEvent): void;
3757
3757
 
3758
3758
  /**
3759
3759
  * Fired when frame schedules a potential navigation.
3760
3760
  * @deprecated
3761
3761
  */
3762
- frameScheduledNavigation(params: Protocol.Page.FrameScheduledNavigationEvent): void;
3762
+ frameScheduledNavigation?(params: Protocol.Page.FrameScheduledNavigationEvent): void;
3763
3763
 
3764
3764
  /**
3765
3765
  * Fired when frame has started loading.
3766
3766
  */
3767
- frameStartedLoading(params: Protocol.Page.FrameStartedLoadingEvent): void;
3767
+ frameStartedLoading?(params: Protocol.Page.FrameStartedLoadingEvent): void;
3768
3768
 
3769
3769
  /**
3770
3770
  * Fired when frame has stopped loading.
3771
3771
  */
3772
- frameStoppedLoading(params: Protocol.Page.FrameStoppedLoadingEvent): void;
3772
+ frameStoppedLoading?(params: Protocol.Page.FrameStoppedLoadingEvent): void;
3773
3773
 
3774
3774
  /**
3775
3775
  * Fired when page is about to start a download.
3776
3776
  * Deprecated. Use Browser.downloadWillBegin instead.
3777
3777
  * @deprecated
3778
3778
  */
3779
- downloadWillBegin(params: Protocol.Page.DownloadWillBeginEvent): void;
3779
+ downloadWillBegin?(params: Protocol.Page.DownloadWillBeginEvent): void;
3780
3780
 
3781
3781
  /**
3782
3782
  * Fired when download makes progress. Last call has |done| == true.
3783
3783
  * Deprecated. Use Browser.downloadProgress instead.
3784
3784
  * @deprecated
3785
3785
  */
3786
- downloadProgress(params: Protocol.Page.DownloadProgressEvent): void;
3786
+ downloadProgress?(params: Protocol.Page.DownloadProgressEvent): void;
3787
3787
 
3788
3788
  /**
3789
3789
  * Fired when interstitial page was hidden
3790
3790
  */
3791
- interstitialHidden(): void;
3791
+ interstitialHidden?(): void;
3792
3792
 
3793
3793
  /**
3794
3794
  * Fired when interstitial page was shown
3795
3795
  */
3796
- interstitialShown(): void;
3796
+ interstitialShown?(): void;
3797
3797
 
3798
3798
  /**
3799
3799
  * Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been
3800
3800
  * closed.
3801
3801
  */
3802
- javascriptDialogClosed(params: Protocol.Page.JavascriptDialogClosedEvent): void;
3802
+ javascriptDialogClosed?(params: Protocol.Page.JavascriptDialogClosedEvent): void;
3803
3803
 
3804
3804
  /**
3805
3805
  * Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to
3806
3806
  * open.
3807
3807
  */
3808
- javascriptDialogOpening(params: Protocol.Page.JavascriptDialogOpeningEvent): void;
3808
+ javascriptDialogOpening?(params: Protocol.Page.JavascriptDialogOpeningEvent): void;
3809
3809
 
3810
3810
  /**
3811
3811
  * Fired for lifecycle events (navigation, load, paint, etc) in the current
3812
3812
  * target (including local frames).
3813
3813
  */
3814
- lifecycleEvent(params: Protocol.Page.LifecycleEventEvent): void;
3814
+ lifecycleEvent?(params: Protocol.Page.LifecycleEventEvent): void;
3815
3815
 
3816
3816
  /**
3817
3817
  * Fired for failed bfcache history navigations if BackForwardCache feature is enabled. Do
@@ -3819,35 +3819,35 @@ declare namespace ProtocolProxyApi {
3819
3819
  * main-frame history navigation where the document changes (non-same-document navigations),
3820
3820
  * when bfcache navigation fails.
3821
3821
  */
3822
- backForwardCacheNotUsed(params: Protocol.Page.BackForwardCacheNotUsedEvent): void;
3822
+ backForwardCacheNotUsed?(params: Protocol.Page.BackForwardCacheNotUsedEvent): void;
3823
3823
 
3824
- loadEventFired(params: Protocol.Page.LoadEventFiredEvent): void;
3824
+ loadEventFired?(params: Protocol.Page.LoadEventFiredEvent): void;
3825
3825
 
3826
3826
  /**
3827
3827
  * Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.
3828
3828
  */
3829
- navigatedWithinDocument(params: Protocol.Page.NavigatedWithinDocumentEvent): void;
3829
+ navigatedWithinDocument?(params: Protocol.Page.NavigatedWithinDocumentEvent): void;
3830
3830
 
3831
3831
  /**
3832
3832
  * Compressed image data requested by the `startScreencast`.
3833
3833
  */
3834
- screencastFrame(params: Protocol.Page.ScreencastFrameEvent): void;
3834
+ screencastFrame?(params: Protocol.Page.ScreencastFrameEvent): void;
3835
3835
 
3836
3836
  /**
3837
3837
  * Fired when the page with currently enabled screencast was shown or hidden `.
3838
3838
  */
3839
- screencastVisibilityChanged(params: Protocol.Page.ScreencastVisibilityChangedEvent): void;
3839
+ screencastVisibilityChanged?(params: Protocol.Page.ScreencastVisibilityChangedEvent): void;
3840
3840
 
3841
3841
  /**
3842
3842
  * Fired when a new window is going to be opened, via window.open(), link click, form submission,
3843
3843
  * etc.
3844
3844
  */
3845
- windowOpen(params: Protocol.Page.WindowOpenEvent): void;
3845
+ windowOpen?(params: Protocol.Page.WindowOpenEvent): void;
3846
3846
 
3847
3847
  /**
3848
3848
  * Issued for every compilation cache generated.
3849
3849
  */
3850
- compilationCacheProduced(params: Protocol.Page.CompilationCacheProducedEvent): void;
3850
+ compilationCacheProduced?(params: Protocol.Page.CompilationCacheProducedEvent): void;
3851
3851
 
3852
3852
  }
3853
3853
 
@@ -3880,7 +3880,7 @@ declare namespace ProtocolProxyApi {
3880
3880
  /**
3881
3881
  * Current values of the metrics.
3882
3882
  */
3883
- metrics(params: Protocol.Performance.MetricsEvent): void;
3883
+ metrics?(params: Protocol.Performance.MetricsEvent): void;
3884
3884
 
3885
3885
  }
3886
3886
 
@@ -3896,7 +3896,7 @@ declare namespace ProtocolProxyApi {
3896
3896
  /**
3897
3897
  * Sent when a performance timeline event is added. See reportPerformanceTimeline method.
3898
3898
  */
3899
- timelineEventAdded(params: Protocol.PerformanceTimeline.TimelineEventAddedEvent): void;
3899
+ timelineEventAdded?(params: Protocol.PerformanceTimeline.TimelineEventAddedEvent): void;
3900
3900
 
3901
3901
  }
3902
3902
 
@@ -3910,29 +3910,29 @@ declare namespace ProtocolProxyApi {
3910
3910
  /**
3911
3911
  * Upsert. Currently, it is only emitted when a rule set added.
3912
3912
  */
3913
- ruleSetUpdated(params: Protocol.Preload.RuleSetUpdatedEvent): void;
3913
+ ruleSetUpdated?(params: Protocol.Preload.RuleSetUpdatedEvent): void;
3914
3914
 
3915
- ruleSetRemoved(params: Protocol.Preload.RuleSetRemovedEvent): void;
3915
+ ruleSetRemoved?(params: Protocol.Preload.RuleSetRemovedEvent): void;
3916
3916
 
3917
3917
  /**
3918
3918
  * Fired when a preload enabled state is updated.
3919
3919
  */
3920
- preloadEnabledStateUpdated(params: Protocol.Preload.PreloadEnabledStateUpdatedEvent): void;
3920
+ preloadEnabledStateUpdated?(params: Protocol.Preload.PreloadEnabledStateUpdatedEvent): void;
3921
3921
 
3922
3922
  /**
3923
3923
  * Fired when a prefetch attempt is updated.
3924
3924
  */
3925
- prefetchStatusUpdated(params: Protocol.Preload.PrefetchStatusUpdatedEvent): void;
3925
+ prefetchStatusUpdated?(params: Protocol.Preload.PrefetchStatusUpdatedEvent): void;
3926
3926
 
3927
3927
  /**
3928
3928
  * Fired when a prerender attempt is updated.
3929
3929
  */
3930
- prerenderStatusUpdated(params: Protocol.Preload.PrerenderStatusUpdatedEvent): void;
3930
+ prerenderStatusUpdated?(params: Protocol.Preload.PrerenderStatusUpdatedEvent): void;
3931
3931
 
3932
3932
  /**
3933
3933
  * Send a list of sources for all preloading attempts in a document.
3934
3934
  */
3935
- preloadingAttemptSourcesUpdated(params: Protocol.Preload.PreloadingAttemptSourcesUpdatedEvent): void;
3935
+ preloadingAttemptSourcesUpdated?(params: Protocol.Preload.PreloadingAttemptSourcesUpdatedEvent): void;
3936
3936
 
3937
3937
  }
3938
3938
 
@@ -3974,18 +3974,18 @@ declare namespace ProtocolProxyApi {
3974
3974
  * certificate errors at the same time.
3975
3975
  * @deprecated
3976
3976
  */
3977
- certificateError(params: Protocol.Security.CertificateErrorEvent): void;
3977
+ certificateError?(params: Protocol.Security.CertificateErrorEvent): void;
3978
3978
 
3979
3979
  /**
3980
3980
  * The security state of the page changed.
3981
3981
  */
3982
- visibleSecurityStateChanged(params: Protocol.Security.VisibleSecurityStateChangedEvent): void;
3982
+ visibleSecurityStateChanged?(params: Protocol.Security.VisibleSecurityStateChangedEvent): void;
3983
3983
 
3984
3984
  /**
3985
3985
  * The security state of the page changed. No longer being sent.
3986
3986
  * @deprecated
3987
3987
  */
3988
- securityStateChanged(params: Protocol.Security.SecurityStateChangedEvent): void;
3988
+ securityStateChanged?(params: Protocol.Security.SecurityStateChangedEvent): void;
3989
3989
 
3990
3990
  }
3991
3991
 
@@ -4016,11 +4016,11 @@ declare namespace ProtocolProxyApi {
4016
4016
 
4017
4017
  }
4018
4018
  export interface ServiceWorkerDispatcher {
4019
- workerErrorReported(params: Protocol.ServiceWorker.WorkerErrorReportedEvent): void;
4019
+ workerErrorReported?(params: Protocol.ServiceWorker.WorkerErrorReportedEvent): void;
4020
4020
 
4021
- workerRegistrationUpdated(params: Protocol.ServiceWorker.WorkerRegistrationUpdatedEvent): void;
4021
+ workerRegistrationUpdated?(params: Protocol.ServiceWorker.WorkerRegistrationUpdatedEvent): void;
4022
4022
 
4023
- workerVersionUpdated(params: Protocol.ServiceWorker.WorkerVersionUpdatedEvent): void;
4023
+ workerVersionUpdated?(params: Protocol.ServiceWorker.WorkerVersionUpdatedEvent): void;
4024
4024
 
4025
4025
  }
4026
4026
 
@@ -4155,7 +4155,7 @@ declare namespace ProtocolProxyApi {
4155
4155
  * PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaa1b8970169fd4883a6dc4a8f43f19b67
4156
4156
  * Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardestablishcontext
4157
4157
  */
4158
- establishContextRequested(params: Protocol.SmartCardEmulation.EstablishContextRequestedEvent): void;
4158
+ establishContextRequested?(params: Protocol.SmartCardEmulation.EstablishContextRequestedEvent): void;
4159
4159
 
4160
4160
  /**
4161
4161
  * Fired when |SCardReleaseContext| is called.
@@ -4164,7 +4164,7 @@ declare namespace ProtocolProxyApi {
4164
4164
  * PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga6aabcba7744c5c9419fdd6404f73a934
4165
4165
  * Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardreleasecontext
4166
4166
  */
4167
- releaseContextRequested(params: Protocol.SmartCardEmulation.ReleaseContextRequestedEvent): void;
4167
+ releaseContextRequested?(params: Protocol.SmartCardEmulation.ReleaseContextRequestedEvent): void;
4168
4168
 
4169
4169
  /**
4170
4170
  * Fired when |SCardListReaders| is called.
@@ -4173,7 +4173,7 @@ declare namespace ProtocolProxyApi {
4173
4173
  * PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga93b07815789b3cf2629d439ecf20f0d9
4174
4174
  * Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardlistreadersa
4175
4175
  */
4176
- listReadersRequested(params: Protocol.SmartCardEmulation.ListReadersRequestedEvent): void;
4176
+ listReadersRequested?(params: Protocol.SmartCardEmulation.ListReadersRequestedEvent): void;
4177
4177
 
4178
4178
  /**
4179
4179
  * Fired when |SCardGetStatusChange| is called. Timeout is specified in milliseconds.
@@ -4182,7 +4182,7 @@ declare namespace ProtocolProxyApi {
4182
4182
  * PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga33247d5d1257d59e55647c3bb717db24
4183
4183
  * Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetstatuschangea
4184
4184
  */
4185
- getStatusChangeRequested(params: Protocol.SmartCardEmulation.GetStatusChangeRequestedEvent): void;
4185
+ getStatusChangeRequested?(params: Protocol.SmartCardEmulation.GetStatusChangeRequestedEvent): void;
4186
4186
 
4187
4187
  /**
4188
4188
  * Fired when |SCardCancel| is called.
@@ -4191,7 +4191,7 @@ declare namespace ProtocolProxyApi {
4191
4191
  * PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacbbc0c6d6c0cbbeb4f4debf6fbeeee6
4192
4192
  * Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcancel
4193
4193
  */
4194
- cancelRequested(params: Protocol.SmartCardEmulation.CancelRequestedEvent): void;
4194
+ cancelRequested?(params: Protocol.SmartCardEmulation.CancelRequestedEvent): void;
4195
4195
 
4196
4196
  /**
4197
4197
  * Fired when |SCardConnect| is called.
@@ -4200,7 +4200,7 @@ declare namespace ProtocolProxyApi {
4200
4200
  * PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4e515829752e0a8dbc4d630696a8d6a5
4201
4201
  * Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardconnecta
4202
4202
  */
4203
- connectRequested(params: Protocol.SmartCardEmulation.ConnectRequestedEvent): void;
4203
+ connectRequested?(params: Protocol.SmartCardEmulation.ConnectRequestedEvent): void;
4204
4204
 
4205
4205
  /**
4206
4206
  * Fired when |SCardDisconnect| is called.
@@ -4209,7 +4209,7 @@ declare namespace ProtocolProxyApi {
4209
4209
  * PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4be198045c73ec0deb79e66c0ca1738a
4210
4210
  * Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scarddisconnect
4211
4211
  */
4212
- disconnectRequested(params: Protocol.SmartCardEmulation.DisconnectRequestedEvent): void;
4212
+ disconnectRequested?(params: Protocol.SmartCardEmulation.DisconnectRequestedEvent): void;
4213
4213
 
4214
4214
  /**
4215
4215
  * Fired when |SCardTransmit| is called.
@@ -4218,7 +4218,7 @@ declare namespace ProtocolProxyApi {
4218
4218
  * PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga9a2d77242a271310269065e64633ab99
4219
4219
  * Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardtransmit
4220
4220
  */
4221
- transmitRequested(params: Protocol.SmartCardEmulation.TransmitRequestedEvent): void;
4221
+ transmitRequested?(params: Protocol.SmartCardEmulation.TransmitRequestedEvent): void;
4222
4222
 
4223
4223
  /**
4224
4224
  * Fired when |SCardControl| is called.
@@ -4227,7 +4227,7 @@ declare namespace ProtocolProxyApi {
4227
4227
  * PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gac3454d4657110fd7f753b2d3d8f4e32f
4228
4228
  * Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcontrol
4229
4229
  */
4230
- controlRequested(params: Protocol.SmartCardEmulation.ControlRequestedEvent): void;
4230
+ controlRequested?(params: Protocol.SmartCardEmulation.ControlRequestedEvent): void;
4231
4231
 
4232
4232
  /**
4233
4233
  * Fired when |SCardGetAttrib| is called.
@@ -4236,7 +4236,7 @@ declare namespace ProtocolProxyApi {
4236
4236
  * PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacfec51917255b7a25b94c5104961602
4237
4237
  * Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetattrib
4238
4238
  */
4239
- getAttribRequested(params: Protocol.SmartCardEmulation.GetAttribRequestedEvent): void;
4239
+ getAttribRequested?(params: Protocol.SmartCardEmulation.GetAttribRequestedEvent): void;
4240
4240
 
4241
4241
  /**
4242
4242
  * Fired when |SCardSetAttrib| is called.
@@ -4245,7 +4245,7 @@ declare namespace ProtocolProxyApi {
4245
4245
  * PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga060f0038a4ddfd5dd2b8fadf3c3a2e4f
4246
4246
  * Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardsetattrib
4247
4247
  */
4248
- setAttribRequested(params: Protocol.SmartCardEmulation.SetAttribRequestedEvent): void;
4248
+ setAttribRequested?(params: Protocol.SmartCardEmulation.SetAttribRequestedEvent): void;
4249
4249
 
4250
4250
  /**
4251
4251
  * Fired when |SCardStatus| is called.
@@ -4254,7 +4254,7 @@ declare namespace ProtocolProxyApi {
4254
4254
  * PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae49c3c894ad7ac12a5b896bde70d0382
4255
4255
  * Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardstatusa
4256
4256
  */
4257
- statusRequested(params: Protocol.SmartCardEmulation.StatusRequestedEvent): void;
4257
+ statusRequested?(params: Protocol.SmartCardEmulation.StatusRequestedEvent): void;
4258
4258
 
4259
4259
  /**
4260
4260
  * Fired when |SCardBeginTransaction| is called.
@@ -4263,7 +4263,7 @@ declare namespace ProtocolProxyApi {
4263
4263
  * PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaddb835dce01a0da1d6ca02d33ee7d861
4264
4264
  * Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardbegintransaction
4265
4265
  */
4266
- beginTransactionRequested(params: Protocol.SmartCardEmulation.BeginTransactionRequestedEvent): void;
4266
+ beginTransactionRequested?(params: Protocol.SmartCardEmulation.BeginTransactionRequestedEvent): void;
4267
4267
 
4268
4268
  /**
4269
4269
  * Fired when |SCardEndTransaction| is called.
@@ -4272,7 +4272,7 @@ declare namespace ProtocolProxyApi {
4272
4272
  * PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae8742473b404363e5c587f570d7e2f3b
4273
4273
  * Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardendtransaction
4274
4274
  */
4275
- endTransactionRequested(params: Protocol.SmartCardEmulation.EndTransactionRequestedEvent): void;
4275
+ endTransactionRequested?(params: Protocol.SmartCardEmulation.EndTransactionRequestedEvent): void;
4276
4276
 
4277
4277
  }
4278
4278
 
@@ -4424,31 +4424,31 @@ declare namespace ProtocolProxyApi {
4424
4424
  /**
4425
4425
  * A cache's contents have been modified.
4426
4426
  */
4427
- cacheStorageContentUpdated(params: Protocol.Storage.CacheStorageContentUpdatedEvent): void;
4427
+ cacheStorageContentUpdated?(params: Protocol.Storage.CacheStorageContentUpdatedEvent): void;
4428
4428
 
4429
4429
  /**
4430
4430
  * A cache has been added/deleted.
4431
4431
  */
4432
- cacheStorageListUpdated(params: Protocol.Storage.CacheStorageListUpdatedEvent): void;
4432
+ cacheStorageListUpdated?(params: Protocol.Storage.CacheStorageListUpdatedEvent): void;
4433
4433
 
4434
4434
  /**
4435
4435
  * The origin's IndexedDB object store has been modified.
4436
4436
  */
4437
- indexedDBContentUpdated(params: Protocol.Storage.IndexedDBContentUpdatedEvent): void;
4437
+ indexedDBContentUpdated?(params: Protocol.Storage.IndexedDBContentUpdatedEvent): void;
4438
4438
 
4439
4439
  /**
4440
4440
  * The origin's IndexedDB database list has been modified.
4441
4441
  */
4442
- indexedDBListUpdated(params: Protocol.Storage.IndexedDBListUpdatedEvent): void;
4442
+ indexedDBListUpdated?(params: Protocol.Storage.IndexedDBListUpdatedEvent): void;
4443
4443
 
4444
- storageBucketCreatedOrUpdated(params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent): void;
4444
+ storageBucketCreatedOrUpdated?(params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent): void;
4445
4445
 
4446
- storageBucketDeleted(params: Protocol.Storage.StorageBucketDeletedEvent): void;
4446
+ storageBucketDeleted?(params: Protocol.Storage.StorageBucketDeletedEvent): void;
4447
4447
 
4448
4448
  /**
4449
4449
  * Private Verification Tokens have been stored or deleted.
4450
4450
  */
4451
- privateVerificationTokensUpdated(): void;
4451
+ privateVerificationTokensUpdated?(): void;
4452
4452
 
4453
4453
  }
4454
4454
 
@@ -4599,40 +4599,40 @@ declare namespace ProtocolProxyApi {
4599
4599
  /**
4600
4600
  * Issued when attached to target because of auto-attach or `attachToTarget` command.
4601
4601
  */
4602
- attachedToTarget(params: Protocol.Target.AttachedToTargetEvent): void;
4602
+ attachedToTarget?(params: Protocol.Target.AttachedToTargetEvent): void;
4603
4603
 
4604
4604
  /**
4605
4605
  * Issued when detached from target for any reason (including `detachFromTarget` command). Can be
4606
4606
  * issued multiple times per target if multiple sessions have been attached to it.
4607
4607
  */
4608
- detachedFromTarget(params: Protocol.Target.DetachedFromTargetEvent): void;
4608
+ detachedFromTarget?(params: Protocol.Target.DetachedFromTargetEvent): void;
4609
4609
 
4610
4610
  /**
4611
4611
  * Notifies about a new protocol message received from the session (as reported in
4612
4612
  * `attachedToTarget` event).
4613
4613
  */
4614
- receivedMessageFromTarget(params: Protocol.Target.ReceivedMessageFromTargetEvent): void;
4614
+ receivedMessageFromTarget?(params: Protocol.Target.ReceivedMessageFromTargetEvent): void;
4615
4615
 
4616
4616
  /**
4617
4617
  * Issued when a possible inspection target is created.
4618
4618
  */
4619
- targetCreated(params: Protocol.Target.TargetCreatedEvent): void;
4619
+ targetCreated?(params: Protocol.Target.TargetCreatedEvent): void;
4620
4620
 
4621
4621
  /**
4622
4622
  * Issued when a target is destroyed.
4623
4623
  */
4624
- targetDestroyed(params: Protocol.Target.TargetDestroyedEvent): void;
4624
+ targetDestroyed?(params: Protocol.Target.TargetDestroyedEvent): void;
4625
4625
 
4626
4626
  /**
4627
4627
  * Issued when a target has crashed.
4628
4628
  */
4629
- targetCrashed(params: Protocol.Target.TargetCrashedEvent): void;
4629
+ targetCrashed?(params: Protocol.Target.TargetCrashedEvent): void;
4630
4630
 
4631
4631
  /**
4632
4632
  * Issued when some information about a target has changed. This only happens between
4633
4633
  * `targetCreated` and `targetDestroyed`.
4634
4634
  */
4635
- targetInfoChanged(params: Protocol.Target.TargetInfoChangedEvent): void;
4635
+ targetInfoChanged?(params: Protocol.Target.TargetInfoChangedEvent): void;
4636
4636
 
4637
4637
  }
4638
4638
 
@@ -4652,7 +4652,7 @@ declare namespace ProtocolProxyApi {
4652
4652
  /**
4653
4653
  * Informs that port was successfully bound and got a specified connection id.
4654
4654
  */
4655
- accepted(params: Protocol.Tethering.AcceptedEvent): void;
4655
+ accepted?(params: Protocol.Tethering.AcceptedEvent): void;
4656
4656
 
4657
4657
  }
4658
4658
 
@@ -4689,19 +4689,19 @@ declare namespace ProtocolProxyApi {
4689
4689
 
4690
4690
  }
4691
4691
  export interface TracingDispatcher {
4692
- bufferUsage(params: Protocol.Tracing.BufferUsageEvent): void;
4692
+ bufferUsage?(params: Protocol.Tracing.BufferUsageEvent): void;
4693
4693
 
4694
4694
  /**
4695
4695
  * Contains a bucket of collected trace events. When tracing is stopped collected events will be
4696
4696
  * sent as a sequence of dataCollected events followed by tracingComplete event.
4697
4697
  */
4698
- dataCollected(params: Protocol.Tracing.DataCollectedEvent): void;
4698
+ dataCollected?(params: Protocol.Tracing.DataCollectedEvent): void;
4699
4699
 
4700
4700
  /**
4701
4701
  * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
4702
4702
  * delivered via dataCollected events.
4703
4703
  */
4704
- tracingComplete(params: Protocol.Tracing.TracingCompleteEvent): void;
4704
+ tracingComplete?(params: Protocol.Tracing.TracingCompleteEvent): void;
4705
4705
 
4706
4706
  }
4707
4707
 
@@ -4726,67 +4726,67 @@ declare namespace ProtocolProxyApi {
4726
4726
  /**
4727
4727
  * Notifies that a new BaseAudioContext has been created.
4728
4728
  */
4729
- contextCreated(params: Protocol.WebAudio.ContextCreatedEvent): void;
4729
+ contextCreated?(params: Protocol.WebAudio.ContextCreatedEvent): void;
4730
4730
 
4731
4731
  /**
4732
4732
  * Notifies that an existing BaseAudioContext will be destroyed.
4733
4733
  */
4734
- contextWillBeDestroyed(params: Protocol.WebAudio.ContextWillBeDestroyedEvent): void;
4734
+ contextWillBeDestroyed?(params: Protocol.WebAudio.ContextWillBeDestroyedEvent): void;
4735
4735
 
4736
4736
  /**
4737
4737
  * Notifies that existing BaseAudioContext has changed some properties (id stays the same)..
4738
4738
  */
4739
- contextChanged(params: Protocol.WebAudio.ContextChangedEvent): void;
4739
+ contextChanged?(params: Protocol.WebAudio.ContextChangedEvent): void;
4740
4740
 
4741
4741
  /**
4742
4742
  * Notifies that the construction of an AudioListener has finished.
4743
4743
  */
4744
- audioListenerCreated(params: Protocol.WebAudio.AudioListenerCreatedEvent): void;
4744
+ audioListenerCreated?(params: Protocol.WebAudio.AudioListenerCreatedEvent): void;
4745
4745
 
4746
4746
  /**
4747
4747
  * Notifies that a new AudioListener has been created.
4748
4748
  */
4749
- audioListenerWillBeDestroyed(params: Protocol.WebAudio.AudioListenerWillBeDestroyedEvent): void;
4749
+ audioListenerWillBeDestroyed?(params: Protocol.WebAudio.AudioListenerWillBeDestroyedEvent): void;
4750
4750
 
4751
4751
  /**
4752
4752
  * Notifies that a new AudioNode has been created.
4753
4753
  */
4754
- audioNodeCreated(params: Protocol.WebAudio.AudioNodeCreatedEvent): void;
4754
+ audioNodeCreated?(params: Protocol.WebAudio.AudioNodeCreatedEvent): void;
4755
4755
 
4756
4756
  /**
4757
4757
  * Notifies that an existing AudioNode has been destroyed.
4758
4758
  */
4759
- audioNodeWillBeDestroyed(params: Protocol.WebAudio.AudioNodeWillBeDestroyedEvent): void;
4759
+ audioNodeWillBeDestroyed?(params: Protocol.WebAudio.AudioNodeWillBeDestroyedEvent): void;
4760
4760
 
4761
4761
  /**
4762
4762
  * Notifies that a new AudioParam has been created.
4763
4763
  */
4764
- audioParamCreated(params: Protocol.WebAudio.AudioParamCreatedEvent): void;
4764
+ audioParamCreated?(params: Protocol.WebAudio.AudioParamCreatedEvent): void;
4765
4765
 
4766
4766
  /**
4767
4767
  * Notifies that an existing AudioParam has been destroyed.
4768
4768
  */
4769
- audioParamWillBeDestroyed(params: Protocol.WebAudio.AudioParamWillBeDestroyedEvent): void;
4769
+ audioParamWillBeDestroyed?(params: Protocol.WebAudio.AudioParamWillBeDestroyedEvent): void;
4770
4770
 
4771
4771
  /**
4772
4772
  * Notifies that two AudioNodes are connected.
4773
4773
  */
4774
- nodesConnected(params: Protocol.WebAudio.NodesConnectedEvent): void;
4774
+ nodesConnected?(params: Protocol.WebAudio.NodesConnectedEvent): void;
4775
4775
 
4776
4776
  /**
4777
4777
  * Notifies that AudioNodes are disconnected. The destination can be null, and it means all the outgoing connections from the source are disconnected.
4778
4778
  */
4779
- nodesDisconnected(params: Protocol.WebAudio.NodesDisconnectedEvent): void;
4779
+ nodesDisconnected?(params: Protocol.WebAudio.NodesDisconnectedEvent): void;
4780
4780
 
4781
4781
  /**
4782
4782
  * Notifies that an AudioNode is connected to an AudioParam.
4783
4783
  */
4784
- nodeParamConnected(params: Protocol.WebAudio.NodeParamConnectedEvent): void;
4784
+ nodeParamConnected?(params: Protocol.WebAudio.NodeParamConnectedEvent): void;
4785
4785
 
4786
4786
  /**
4787
4787
  * Notifies that an AudioNode is disconnected to an AudioParam.
4788
4788
  */
4789
- nodeParamDisconnected(params: Protocol.WebAudio.NodeParamDisconnectedEvent): void;
4789
+ nodeParamDisconnected?(params: Protocol.WebAudio.NodeParamDisconnectedEvent): void;
4790
4790
 
4791
4791
  }
4792
4792
 
@@ -4866,24 +4866,24 @@ declare namespace ProtocolProxyApi {
4866
4866
  /**
4867
4867
  * Triggered when a credential is added to an authenticator.
4868
4868
  */
4869
- credentialAdded(params: Protocol.WebAuthn.CredentialAddedEvent): void;
4869
+ credentialAdded?(params: Protocol.WebAuthn.CredentialAddedEvent): void;
4870
4870
 
4871
4871
  /**
4872
4872
  * Triggered when a credential is deleted, e.g. through
4873
4873
  * PublicKeyCredential.signalUnknownCredential().
4874
4874
  */
4875
- credentialDeleted(params: Protocol.WebAuthn.CredentialDeletedEvent): void;
4875
+ credentialDeleted?(params: Protocol.WebAuthn.CredentialDeletedEvent): void;
4876
4876
 
4877
4877
  /**
4878
4878
  * Triggered when a credential is updated, e.g. through
4879
4879
  * PublicKeyCredential.signalCurrentUserDetails().
4880
4880
  */
4881
- credentialUpdated(params: Protocol.WebAuthn.CredentialUpdatedEvent): void;
4881
+ credentialUpdated?(params: Protocol.WebAuthn.CredentialUpdatedEvent): void;
4882
4882
 
4883
4883
  /**
4884
4884
  * Triggered when a credential is used in a webauthn assertion.
4885
4885
  */
4886
- credentialAsserted(params: Protocol.WebAuthn.CredentialAssertedEvent): void;
4886
+ credentialAsserted?(params: Protocol.WebAuthn.CredentialAssertedEvent): void;
4887
4887
 
4888
4888
  }
4889
4889
 
@@ -4914,22 +4914,22 @@ declare namespace ProtocolProxyApi {
4914
4914
  /**
4915
4915
  * Event fired when new tools are added.
4916
4916
  */
4917
- toolsAdded(params: Protocol.WebMCP.ToolsAddedEvent): void;
4917
+ toolsAdded?(params: Protocol.WebMCP.ToolsAddedEvent): void;
4918
4918
 
4919
4919
  /**
4920
4920
  * Event fired when tools are removed.
4921
4921
  */
4922
- toolsRemoved(params: Protocol.WebMCP.ToolsRemovedEvent): void;
4922
+ toolsRemoved?(params: Protocol.WebMCP.ToolsRemovedEvent): void;
4923
4923
 
4924
4924
  /**
4925
4925
  * Event fired when a tool invocation starts.
4926
4926
  */
4927
- toolInvoked(params: Protocol.WebMCP.ToolInvokedEvent): void;
4927
+ toolInvoked?(params: Protocol.WebMCP.ToolInvokedEvent): void;
4928
4928
 
4929
4929
  /**
4930
4930
  * Event fired when a tool invocation completes or fails.
4931
4931
  */
4932
- toolResponded(params: Protocol.WebMCP.ToolRespondedEvent): void;
4932
+ toolResponded?(params: Protocol.WebMCP.ToolRespondedEvent): void;
4933
4933
 
4934
4934
  }
4935
4935
 
@@ -5136,28 +5136,28 @@ declare namespace ProtocolProxyApi {
5136
5136
  * Deprecated in favor of `resolvedBreakpoints` in the `scriptParsed` event.
5137
5137
  * @deprecated
5138
5138
  */
5139
- breakpointResolved(params: Protocol.Debugger.BreakpointResolvedEvent): void;
5139
+ breakpointResolved?(params: Protocol.Debugger.BreakpointResolvedEvent): void;
5140
5140
 
5141
5141
  /**
5142
5142
  * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
5143
5143
  */
5144
- paused(params: Protocol.Debugger.PausedEvent): void;
5144
+ paused?(params: Protocol.Debugger.PausedEvent): void;
5145
5145
 
5146
5146
  /**
5147
5147
  * Fired when the virtual machine resumed execution.
5148
5148
  */
5149
- resumed(): void;
5149
+ resumed?(): void;
5150
5150
 
5151
5151
  /**
5152
5152
  * Fired when virtual machine fails to parse the script.
5153
5153
  */
5154
- scriptFailedToParse(params: Protocol.Debugger.ScriptFailedToParseEvent): void;
5154
+ scriptFailedToParse?(params: Protocol.Debugger.ScriptFailedToParseEvent): void;
5155
5155
 
5156
5156
  /**
5157
5157
  * Fired when virtual machine parses script. This event is also fired for all known and uncollected
5158
5158
  * scripts upon enabling debugger.
5159
5159
  */
5160
- scriptParsed(params: Protocol.Debugger.ScriptParsedEvent): void;
5160
+ scriptParsed?(params: Protocol.Debugger.ScriptParsedEvent): void;
5161
5161
 
5162
5162
  }
5163
5163
 
@@ -5192,23 +5192,23 @@ declare namespace ProtocolProxyApi {
5192
5192
 
5193
5193
  }
5194
5194
  export interface HeapProfilerDispatcher {
5195
- addHeapSnapshotChunk(params: Protocol.HeapProfiler.AddHeapSnapshotChunkEvent): void;
5195
+ addHeapSnapshotChunk?(params: Protocol.HeapProfiler.AddHeapSnapshotChunkEvent): void;
5196
5196
 
5197
5197
  /**
5198
5198
  * If heap objects tracking has been started then backend may send update for one or more fragments
5199
5199
  */
5200
- heapStatsUpdate(params: Protocol.HeapProfiler.HeapStatsUpdateEvent): void;
5200
+ heapStatsUpdate?(params: Protocol.HeapProfiler.HeapStatsUpdateEvent): void;
5201
5201
 
5202
5202
  /**
5203
5203
  * If heap objects tracking has been started then backend regularly sends a current value for last
5204
5204
  * seen object id and corresponding timestamp. If the were changes in the heap since last event
5205
5205
  * then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
5206
5206
  */
5207
- lastSeenObjectId(params: Protocol.HeapProfiler.LastSeenObjectIdEvent): void;
5207
+ lastSeenObjectId?(params: Protocol.HeapProfiler.LastSeenObjectIdEvent): void;
5208
5208
 
5209
- reportHeapSnapshotProgress(params: Protocol.HeapProfiler.ReportHeapSnapshotProgressEvent): void;
5209
+ reportHeapSnapshotProgress?(params: Protocol.HeapProfiler.ReportHeapSnapshotProgressEvent): void;
5210
5210
 
5211
- resetProfiles(): void;
5211
+ resetProfiles?(): void;
5212
5212
 
5213
5213
  }
5214
5214
 
@@ -5253,12 +5253,12 @@ declare namespace ProtocolProxyApi {
5253
5253
 
5254
5254
  }
5255
5255
  export interface ProfilerDispatcher {
5256
- consoleProfileFinished(params: Protocol.Profiler.ConsoleProfileFinishedEvent): void;
5256
+ consoleProfileFinished?(params: Protocol.Profiler.ConsoleProfileFinishedEvent): void;
5257
5257
 
5258
5258
  /**
5259
5259
  * Sent when new profile recording is started using console.profile() call.
5260
5260
  */
5261
- consoleProfileStarted(params: Protocol.Profiler.ConsoleProfileStartedEvent): void;
5261
+ consoleProfileStarted?(params: Protocol.Profiler.ConsoleProfileStartedEvent): void;
5262
5262
 
5263
5263
  /**
5264
5264
  * Reports coverage delta since the last poll (either from an event like this, or from
@@ -5266,7 +5266,7 @@ declare namespace ProtocolProxyApi {
5266
5266
  * coverage has been started. This event can be trigged by the embedder to, for example,
5267
5267
  * trigger collection of coverage data immediately at a certain point in time.
5268
5268
  */
5269
- preciseCoverageDeltaUpdate(params: Protocol.Profiler.PreciseCoverageDeltaUpdateEvent): void;
5269
+ preciseCoverageDeltaUpdate?(params: Protocol.Profiler.PreciseCoverageDeltaUpdateEvent): void;
5270
5270
 
5271
5271
  }
5272
5272
 
@@ -5398,43 +5398,43 @@ declare namespace ProtocolProxyApi {
5398
5398
  /**
5399
5399
  * Notification is issued every time when binding is called.
5400
5400
  */
5401
- bindingCalled(params: Protocol.Runtime.BindingCalledEvent): void;
5401
+ bindingCalled?(params: Protocol.Runtime.BindingCalledEvent): void;
5402
5402
 
5403
5403
  /**
5404
5404
  * Issued when console API was called.
5405
5405
  */
5406
- consoleAPICalled(params: Protocol.Runtime.ConsoleAPICalledEvent): void;
5406
+ consoleAPICalled?(params: Protocol.Runtime.ConsoleAPICalledEvent): void;
5407
5407
 
5408
5408
  /**
5409
5409
  * Issued when unhandled exception was revoked.
5410
5410
  */
5411
- exceptionRevoked(params: Protocol.Runtime.ExceptionRevokedEvent): void;
5411
+ exceptionRevoked?(params: Protocol.Runtime.ExceptionRevokedEvent): void;
5412
5412
 
5413
5413
  /**
5414
5414
  * Issued when exception was thrown and unhandled.
5415
5415
  */
5416
- exceptionThrown(params: Protocol.Runtime.ExceptionThrownEvent): void;
5416
+ exceptionThrown?(params: Protocol.Runtime.ExceptionThrownEvent): void;
5417
5417
 
5418
5418
  /**
5419
5419
  * Issued when new execution context is created.
5420
5420
  */
5421
- executionContextCreated(params: Protocol.Runtime.ExecutionContextCreatedEvent): void;
5421
+ executionContextCreated?(params: Protocol.Runtime.ExecutionContextCreatedEvent): void;
5422
5422
 
5423
5423
  /**
5424
5424
  * Issued when execution context is destroyed.
5425
5425
  */
5426
- executionContextDestroyed(params: Protocol.Runtime.ExecutionContextDestroyedEvent): void;
5426
+ executionContextDestroyed?(params: Protocol.Runtime.ExecutionContextDestroyedEvent): void;
5427
5427
 
5428
5428
  /**
5429
5429
  * Issued when all executionContexts were cleared in browser
5430
5430
  */
5431
- executionContextsCleared(): void;
5431
+ executionContextsCleared?(): void;
5432
5432
 
5433
5433
  /**
5434
5434
  * Issued when object should be inspected (for example, as a result of inspect() command line API
5435
5435
  * call).
5436
5436
  */
5437
- inspectRequested(params: Protocol.Runtime.InspectRequestedEvent): void;
5437
+ inspectRequested?(params: Protocol.Runtime.InspectRequestedEvent): void;
5438
5438
 
5439
5439
  }
5440
5440