patchright-core 1.56.1 → 1.58.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/ThirdPartyNotices.txt +3134 -560
  2. package/bin/install_webkit_wsl.ps1 +1 -3
  3. package/browsers.json +21 -22
  4. package/lib/cli/program.js +16 -60
  5. package/lib/client/api.js +3 -3
  6. package/lib/client/browser.js +3 -5
  7. package/lib/client/browserContext.js +62 -8
  8. package/lib/client/browserType.js +4 -3
  9. package/lib/client/connection.js +4 -0
  10. package/lib/client/consoleMessage.js +5 -1
  11. package/lib/client/electron.js +1 -1
  12. package/lib/client/elementHandle.js +3 -0
  13. package/lib/client/events.js +5 -1
  14. package/lib/client/fetch.js +3 -4
  15. package/lib/client/frame.js +10 -1
  16. package/lib/client/locator.js +12 -1
  17. package/lib/client/network.js +5 -1
  18. package/lib/client/page.js +31 -6
  19. package/lib/client/pageAgent.js +64 -0
  20. package/lib/client/platform.js +3 -0
  21. package/lib/client/playwright.js +1 -5
  22. package/lib/client/tracing.js +7 -5
  23. package/lib/client/worker.js +22 -0
  24. package/lib/generated/clockSource.js +1 -1
  25. package/lib/generated/injectedScriptSource.js +1 -1
  26. package/lib/generated/pollingRecorderSource.js +1 -1
  27. package/lib/inProcessFactory.js +0 -2
  28. package/lib/mcpBundle.js +84 -0
  29. package/lib/mcpBundleImpl/index.js +147 -0
  30. package/lib/protocol/serializers.js +5 -0
  31. package/lib/protocol/validator.js +112 -50
  32. package/lib/remote/playwrightServer.js +1 -2
  33. package/lib/server/agent/actionRunner.js +335 -0
  34. package/lib/server/agent/actions.js +128 -0
  35. package/lib/server/agent/codegen.js +111 -0
  36. package/lib/server/agent/context.js +150 -0
  37. package/lib/server/agent/expectTools.js +156 -0
  38. package/lib/server/agent/pageAgent.js +204 -0
  39. package/lib/server/agent/performTools.js +262 -0
  40. package/lib/server/agent/tool.js +109 -0
  41. package/lib/server/android/android.js +1 -1
  42. package/lib/server/artifact.js +1 -1
  43. package/lib/server/bidi/bidiBrowser.js +81 -22
  44. package/lib/server/bidi/bidiChromium.js +9 -13
  45. package/lib/server/bidi/bidiConnection.js +1 -0
  46. package/lib/server/bidi/bidiDeserializer.js +116 -0
  47. package/lib/server/bidi/bidiExecutionContext.js +75 -29
  48. package/lib/server/bidi/bidiFirefox.js +7 -9
  49. package/lib/server/bidi/bidiNetworkManager.js +1 -1
  50. package/lib/server/bidi/bidiPage.js +61 -30
  51. package/lib/server/bidi/third_party/bidiProtocolCore.js +1 -0
  52. package/lib/server/browserContext.js +43 -36
  53. package/lib/server/browserType.js +12 -4
  54. package/lib/server/chromium/chromium.js +26 -21
  55. package/lib/server/chromium/chromiumSwitches.js +12 -3
  56. package/lib/server/chromium/crBrowser.js +30 -12
  57. package/lib/server/chromium/crConnection.js +0 -5
  58. package/lib/server/chromium/crCoverage.js +13 -1
  59. package/lib/server/chromium/crDevTools.js +0 -2
  60. package/lib/server/chromium/crNetworkManager.js +107 -18
  61. package/lib/server/chromium/crPage.js +68 -124
  62. package/lib/server/chromium/crServiceWorker.js +14 -1
  63. package/lib/server/codegen/javascript.js +6 -29
  64. package/lib/server/console.js +5 -1
  65. package/lib/server/deviceDescriptorsSource.json +56 -56
  66. package/lib/server/dispatchers/browserContextDispatcher.js +26 -8
  67. package/lib/server/dispatchers/dispatcher.js +6 -13
  68. package/lib/server/dispatchers/frameDispatcher.js +1 -1
  69. package/lib/server/dispatchers/jsHandleDispatcher.js +2 -2
  70. package/lib/server/dispatchers/pageAgentDispatcher.js +96 -0
  71. package/lib/server/dispatchers/pageDispatcher.js +14 -22
  72. package/lib/server/dispatchers/playwrightDispatcher.js +0 -4
  73. package/lib/server/dom.js +12 -3
  74. package/lib/server/electron/electron.js +6 -3
  75. package/lib/server/firefox/ffBrowser.js +10 -20
  76. package/lib/server/firefox/ffConnection.js +0 -5
  77. package/lib/server/firefox/ffNetworkManager.js +2 -2
  78. package/lib/server/firefox/ffPage.js +18 -24
  79. package/lib/server/firefox/firefox.js +18 -9
  80. package/lib/server/frameSelectors.js +18 -8
  81. package/lib/server/frames.js +257 -87
  82. package/lib/server/input.js +7 -3
  83. package/lib/server/instrumentation.js +3 -0
  84. package/lib/server/javascript.js +8 -4
  85. package/lib/server/launchApp.js +2 -1
  86. package/lib/server/localUtils.js +4 -8
  87. package/lib/server/network.js +50 -12
  88. package/lib/server/page.js +112 -126
  89. package/lib/server/playwright.js +2 -4
  90. package/lib/server/progress.js +26 -6
  91. package/lib/server/recorder/recorderApp.js +80 -101
  92. package/lib/server/recorder.js +3 -2
  93. package/lib/server/registry/browserFetcher.js +6 -4
  94. package/lib/server/registry/index.js +278 -189
  95. package/lib/server/registry/oopDownloadBrowserMain.js +9 -2
  96. package/lib/server/screencast.js +190 -0
  97. package/lib/server/screenshotter.js +6 -0
  98. package/lib/server/socksClientCertificatesInterceptor.js +1 -1
  99. package/lib/server/trace/recorder/snapshotter.js +17 -8
  100. package/lib/server/trace/recorder/snapshotterInjected.js +30 -72
  101. package/lib/server/trace/recorder/tracing.js +31 -21
  102. package/lib/server/trace/viewer/traceParser.js +72 -0
  103. package/lib/server/trace/viewer/traceViewer.js +45 -40
  104. package/lib/server/utils/comparators.js +3 -25
  105. package/lib/server/utils/expectUtils.js +87 -2
  106. package/lib/server/utils/hostPlatform.js +30 -3
  107. package/lib/server/utils/httpServer.js +5 -20
  108. package/lib/server/utils/imageUtils.js +141 -0
  109. package/lib/server/utils/network.js +55 -40
  110. package/lib/server/utils/nodePlatform.js +6 -0
  111. package/lib/server/{chromium/videoRecorder.js → videoRecorder.js} +35 -24
  112. package/lib/server/webkit/webkit.js +5 -16
  113. package/lib/server/webkit/wkBrowser.js +2 -6
  114. package/lib/server/webkit/wkConnection.js +1 -6
  115. package/lib/server/webkit/wkInterceptableRequest.js +29 -1
  116. package/lib/server/webkit/wkPage.js +76 -51
  117. package/lib/server/webkit/wkWorkers.js +2 -1
  118. package/lib/utils/isomorphic/ariaSnapshot.js +63 -0
  119. package/lib/utils/isomorphic/locatorGenerators.js +24 -8
  120. package/lib/utils/isomorphic/lruCache.js +51 -0
  121. package/lib/utils/isomorphic/mimeType.js +1 -1
  122. package/lib/utils/isomorphic/protocolFormatter.js +3 -0
  123. package/lib/utils/isomorphic/protocolMetainfo.js +11 -2
  124. package/lib/utils/isomorphic/stringUtils.js +49 -0
  125. package/lib/utils/isomorphic/trace/entries.js +16 -0
  126. package/lib/utils/isomorphic/trace/snapshotRenderer.js +499 -0
  127. package/lib/utils/isomorphic/trace/snapshotServer.js +120 -0
  128. package/lib/utils/isomorphic/trace/snapshotStorage.js +89 -0
  129. package/lib/utils/isomorphic/trace/traceLoader.js +131 -0
  130. package/lib/utils/isomorphic/trace/traceModel.js +365 -0
  131. package/lib/utils/isomorphic/trace/traceModernizer.js +400 -0
  132. package/lib/utils/isomorphic/trace/versions/traceV3.js +16 -0
  133. package/lib/utils/isomorphic/trace/versions/traceV4.js +16 -0
  134. package/lib/utils/isomorphic/trace/versions/traceV5.js +16 -0
  135. package/lib/utils/isomorphic/trace/versions/traceV6.js +16 -0
  136. package/lib/utils/isomorphic/trace/versions/traceV7.js +16 -0
  137. package/lib/utils/isomorphic/trace/versions/traceV8.js +16 -0
  138. package/lib/utils/isomorphic/urlMatch.js +19 -5
  139. package/lib/utils/isomorphic/yaml.js +84 -0
  140. package/lib/utils.js +4 -0
  141. package/lib/utilsBundle.js +1 -1
  142. package/lib/utilsBundleImpl/index.js +124 -124
  143. package/lib/vite/htmlReport/index.html +21 -21
  144. package/lib/vite/recorder/assets/codeMirrorModule-CFUTFUO7.js +32 -0
  145. package/lib/vite/recorder/assets/{codeMirrorModule-C3UTv-Ge.css → codeMirrorModule-DYBRYzYX.css} +1 -1
  146. package/lib/vite/recorder/assets/{index-Ri0uHF7I.css → index-BSjZa4pk.css} +1 -1
  147. package/lib/vite/recorder/assets/index-CVkBxsGf.js +193 -0
  148. package/lib/vite/recorder/index.html +2 -2
  149. package/lib/vite/traceViewer/assets/codeMirrorModule-BVA4h_ZY.js +32 -0
  150. package/lib/vite/traceViewer/assets/defaultSettingsView-CjfmcdOz.js +266 -0
  151. package/lib/vite/traceViewer/{codeMirrorModule.C3UTv-Ge.css → codeMirrorModule.DYBRYzYX.css} +1 -1
  152. package/lib/vite/traceViewer/defaultSettingsView.7ch9cixO.css +1 -0
  153. package/lib/vite/traceViewer/index.BVu7tZDe.css +1 -0
  154. package/lib/vite/traceViewer/index.BtyWtaE-.js +2 -0
  155. package/lib/vite/traceViewer/index.html +6 -6
  156. package/lib/vite/traceViewer/manifest.webmanifest +16 -0
  157. package/lib/vite/traceViewer/snapshot.html +3 -3
  158. package/lib/vite/traceViewer/sw.bundle.js +5 -3
  159. package/lib/vite/traceViewer/uiMode.fyrXARf2.js +5 -0
  160. package/lib/vite/traceViewer/uiMode.html +3 -3
  161. package/package.json +2 -1
  162. package/types/protocol.d.ts +939 -245
  163. package/types/types.d.ts +143 -153
  164. package/lib/client/accessibility.js +0 -49
  165. package/lib/server/accessibility.js +0 -69
  166. package/lib/server/bidi/third_party/bidiDeserializer.js +0 -98
  167. package/lib/server/chromium/crAccessibility.js +0 -263
  168. package/lib/server/firefox/ffAccessibility.js +0 -238
  169. package/lib/server/trace/test/inMemorySnapshotter.js +0 -87
  170. package/lib/server/webkit/wkAccessibility.js +0 -237
  171. package/lib/server/webkit/wsl/webkit-wsl-transport-client.js +0 -74
  172. package/lib/server/webkit/wsl/webkit-wsl-transport-server.js +0 -113
  173. package/lib/vite/recorder/assets/codeMirrorModule-RJCXzfmE.js +0 -24
  174. package/lib/vite/recorder/assets/index-Y-X2TGJv.js +0 -193
  175. package/lib/vite/traceViewer/assets/codeMirrorModule-rbQPefq7.js +0 -24
  176. package/lib/vite/traceViewer/assets/defaultSettingsView-CLbol9XR.js +0 -265
  177. package/lib/vite/traceViewer/defaultSettingsView.TQ8_7ybu.css +0 -1
  178. package/lib/vite/traceViewer/index.I8N9v4jT.css +0 -1
  179. package/lib/vite/traceViewer/index.zIVi6mN9.js +0 -2
  180. package/lib/vite/traceViewer/uiMode.B_CpmIpF.js +0 -5
@@ -1,7 +1,7 @@
1
1
  // This is generated from /utils/protocol-types-generator/index.js
2
2
  type binary = string;
3
- export module Protocol {
4
- export module Accessibility {
3
+ export namespace Protocol {
4
+ export namespace Accessibility {
5
5
  /**
6
6
  * Unique accessibility node identifier.
7
7
  */
@@ -110,9 +110,10 @@ export module Protocol {
110
110
  - from 'live' to 'root': attributes which apply to nodes in live regions
111
111
  - from 'autocomplete' to 'valuetext': attributes which apply to widgets
112
112
  - from 'checked' to 'selected': states which apply to widgets
113
- - from 'activedescendant' to 'owns' - relationships between elements other than parent/child/sibling.
113
+ - from 'activedescendant' to 'owns': relationships between elements other than parent/child/sibling
114
+ - from 'activeFullscreenElement' to 'uninteresting': reasons why this noode is hidden
114
115
  */
115
- export type AXPropertyName = "actions"|"busy"|"disabled"|"editable"|"focusable"|"focused"|"hidden"|"hiddenRoot"|"invalid"|"keyshortcuts"|"settable"|"roledescription"|"live"|"atomic"|"relevant"|"root"|"autocomplete"|"hasPopup"|"level"|"multiselectable"|"orientation"|"multiline"|"readonly"|"required"|"valuemin"|"valuemax"|"valuetext"|"checked"|"expanded"|"modal"|"pressed"|"selected"|"activedescendant"|"controls"|"describedby"|"details"|"errormessage"|"flowto"|"labelledby"|"owns"|"url";
116
+ export type AXPropertyName = "actions"|"busy"|"disabled"|"editable"|"focusable"|"focused"|"hidden"|"hiddenRoot"|"invalid"|"keyshortcuts"|"settable"|"roledescription"|"live"|"atomic"|"relevant"|"root"|"autocomplete"|"hasPopup"|"level"|"multiselectable"|"orientation"|"multiline"|"readonly"|"required"|"valuemin"|"valuemax"|"valuetext"|"checked"|"expanded"|"modal"|"pressed"|"selected"|"activedescendant"|"controls"|"describedby"|"details"|"errormessage"|"flowto"|"labelledby"|"owns"|"url"|"activeFullscreenElement"|"activeModalDialog"|"activeAriaModalDialog"|"ariaHiddenElement"|"ariaHiddenSubtree"|"emptyAlt"|"emptyText"|"inertElement"|"inertSubtree"|"labelContainer"|"labelFor"|"notRendered"|"notVisible"|"presentationalRole"|"probablyPresentational"|"inactiveCarouselTabContent"|"uninteresting";
116
117
  /**
117
118
  * A node in the accessibility tree.
118
119
  */
@@ -340,7 +341,7 @@ including nodes that are ignored for accessibility.
340
341
  }
341
342
  }
342
343
 
343
- export module Animation {
344
+ export namespace Animation {
344
345
  /**
345
346
  * Animation instance.
346
347
  */
@@ -440,9 +441,9 @@ Does not exist for animations with ScrollTimeline
440
441
  */
441
442
  iterationStart: number;
442
443
  /**
443
- * `AnimationEffect`'s iterations.
444
+ * `AnimationEffect`'s iterations. Omitted if the value is infinite.
444
445
  */
445
- iterations: number;
446
+ iterations?: number;
446
447
  /**
447
448
  * `AnimationEffect`'s iteration duration.
448
449
  Milliseconds for time based animations and
@@ -666,7 +667,7 @@ percentage [0 - 100] for scroll driven animations
666
667
  /**
667
668
  * Audits domain allows investigation of page violations and possible improvements.
668
669
  */
669
- export module Audits {
670
+ export namespace Audits {
670
671
  /**
671
672
  * Information about a cookie that is affected by an inspector issue.
672
673
  */
@@ -859,7 +860,7 @@ CORS RFC1918 enforcement.
859
860
  clientSecurityState?: Network.ClientSecurityState;
860
861
  }
861
862
  export type AttributionReportingIssueType = "PermissionPolicyDisabled"|"UntrustworthyReportingOrigin"|"InsecureContext"|"InvalidHeader"|"InvalidRegisterTriggerHeader"|"SourceAndTriggerHeaders"|"SourceIgnored"|"TriggerIgnored"|"OsSourceIgnored"|"OsTriggerIgnored"|"InvalidRegisterOsSourceHeader"|"InvalidRegisterOsTriggerHeader"|"WebAndOsHeaders"|"NoWebOrOsSupport"|"NavigationRegistrationWithoutTransientUserActivation"|"InvalidInfoHeader"|"NoRegisterSourceHeader"|"NoRegisterTriggerHeader"|"NoRegisterOsSourceHeader"|"NoRegisterOsTriggerHeader"|"NavigationRegistrationUniqueScopeAlreadySet";
862
- export type SharedDictionaryError = "UseErrorCrossOriginNoCorsRequest"|"UseErrorDictionaryLoadFailure"|"UseErrorMatchingDictionaryNotUsed"|"UseErrorUnexpectedContentDictionaryHeader"|"WriteErrorCossOriginNoCorsRequest"|"WriteErrorDisallowedBySettings"|"WriteErrorExpiredResponse"|"WriteErrorFeatureDisabled"|"WriteErrorInsufficientResources"|"WriteErrorInvalidMatchField"|"WriteErrorInvalidStructuredHeader"|"WriteErrorNavigationRequest"|"WriteErrorNoMatchField"|"WriteErrorNonListMatchDestField"|"WriteErrorNonSecureContext"|"WriteErrorNonStringIdField"|"WriteErrorNonStringInMatchDestList"|"WriteErrorNonStringMatchField"|"WriteErrorNonTokenTypeField"|"WriteErrorRequestAborted"|"WriteErrorShuttingDown"|"WriteErrorTooLongIdField"|"WriteErrorUnsupportedType";
863
+ export type SharedDictionaryError = "UseErrorCrossOriginNoCorsRequest"|"UseErrorDictionaryLoadFailure"|"UseErrorMatchingDictionaryNotUsed"|"UseErrorUnexpectedContentDictionaryHeader"|"WriteErrorCossOriginNoCorsRequest"|"WriteErrorDisallowedBySettings"|"WriteErrorExpiredResponse"|"WriteErrorFeatureDisabled"|"WriteErrorInsufficientResources"|"WriteErrorInvalidMatchField"|"WriteErrorInvalidStructuredHeader"|"WriteErrorInvalidTTLField"|"WriteErrorNavigationRequest"|"WriteErrorNoMatchField"|"WriteErrorNonIntegerTTLField"|"WriteErrorNonListMatchDestField"|"WriteErrorNonSecureContext"|"WriteErrorNonStringIdField"|"WriteErrorNonStringInMatchDestList"|"WriteErrorNonStringMatchField"|"WriteErrorNonTokenTypeField"|"WriteErrorRequestAborted"|"WriteErrorShuttingDown"|"WriteErrorTooLongIdField"|"WriteErrorUnsupportedType";
863
864
  export type SRIMessageSignatureError = "MissingSignatureHeader"|"MissingSignatureInputHeader"|"InvalidSignatureHeader"|"InvalidSignatureInputHeader"|"SignatureHeaderValueIsNotByteSequence"|"SignatureHeaderValueIsParameterized"|"SignatureHeaderValueIsIncorrectLength"|"SignatureInputHeaderMissingLabel"|"SignatureInputHeaderValueNotInnerList"|"SignatureInputHeaderValueMissingComponents"|"SignatureInputHeaderInvalidComponentType"|"SignatureInputHeaderInvalidComponentName"|"SignatureInputHeaderInvalidHeaderComponentParameter"|"SignatureInputHeaderInvalidDerivedComponentParameter"|"SignatureInputHeaderKeyIdLength"|"SignatureInputHeaderInvalidParameter"|"SignatureInputHeaderMissingRequiredParameters"|"ValidationFailedSignatureExpired"|"ValidationFailedInvalidLength"|"ValidationFailedSignatureMismatch"|"ValidationFailedIntegrityMismatch";
864
865
  export type UnencodedDigestError = "MalformedDictionary"|"UnknownAlgorithm"|"IncorrectDigestType"|"IncorrectDigestLength";
865
866
  /**
@@ -905,7 +906,7 @@ instead of "limited-quirks".
905
906
  error: UnencodedDigestError;
906
907
  request: AffectedRequest;
907
908
  }
908
- export type GenericIssueErrorType = "FormLabelForNameError"|"FormDuplicateIdForInputError"|"FormInputWithNoLabelError"|"FormAutocompleteAttributeEmptyError"|"FormEmptyIdAndNameAttributesForInputError"|"FormAriaLabelledByToNonExistingId"|"FormInputAssignedAutocompleteValueToIdOrNameAttributeError"|"FormLabelHasNeitherForNorNestedInput"|"FormLabelForMatchesNonExistingIdError"|"FormInputHasWrongButWellIntendedAutocompleteValueError"|"ResponseWasBlockedByORB";
909
+ export type GenericIssueErrorType = "FormLabelForNameError"|"FormDuplicateIdForInputError"|"FormInputWithNoLabelError"|"FormAutocompleteAttributeEmptyError"|"FormEmptyIdAndNameAttributesForInputError"|"FormAriaLabelledByToNonExistingIdError"|"FormInputAssignedAutocompleteValueToIdOrNameAttributeError"|"FormLabelHasNeitherForNorNestedInputError"|"FormLabelForMatchesNonExistingIdError"|"FormInputHasWrongButWellIntendedAutocompleteValueError"|"ResponseWasBlockedByORB"|"NavigationEntryMarkedSkippable"|"AutofillAndManualTextPolicyControlledFeaturesInfo"|"AutofillPolicyControlledFeatureInfo"|"ManualTextPolicyControlledFeatureInfo";
909
910
  /**
910
911
  * Depending on the concrete errorType, different properties are set.
911
912
  */
@@ -1066,12 +1067,48 @@ re-identify users.
1066
1067
  */
1067
1068
  sourceCodeLocation?: SourceCodeLocation;
1068
1069
  }
1070
+ export type PermissionElementIssueType = "InvalidType"|"FencedFrameDisallowed"|"CspFrameAncestorsMissing"|"PermissionsPolicyBlocked"|"PaddingRightUnsupported"|"PaddingBottomUnsupported"|"InsetBoxShadowUnsupported"|"RequestInProgress"|"UntrustedEvent"|"RegistrationFailed"|"TypeNotSupported"|"InvalidTypeActivation"|"SecurityChecksFailed"|"ActivationDisabled"|"GeolocationDeprecated"|"InvalidDisplayStyle"|"NonOpaqueColor"|"LowContrast"|"FontSizeTooSmall"|"FontSizeTooLarge"|"InvalidSizeValue";
1071
+ /**
1072
+ * This issue warns about improper usage of the <permission> element.
1073
+ */
1074
+ export interface PermissionElementIssueDetails {
1075
+ issueType: PermissionElementIssueType;
1076
+ /**
1077
+ * The value of the type attribute.
1078
+ */
1079
+ type?: string;
1080
+ /**
1081
+ * The node ID of the <permission> element.
1082
+ */
1083
+ nodeId?: DOM.BackendNodeId;
1084
+ /**
1085
+ * True if the issue is a warning, false if it is an error.
1086
+ */
1087
+ isWarning?: boolean;
1088
+ /**
1089
+ * Fields for message construction:
1090
+ Used for messages that reference a specific permission name
1091
+ */
1092
+ permissionName?: string;
1093
+ /**
1094
+ * Used for messages about occlusion
1095
+ */
1096
+ occluderNodeInfo?: string;
1097
+ /**
1098
+ * Used for messages about occluder's parent
1099
+ */
1100
+ occluderParentNodeInfo?: string;
1101
+ /**
1102
+ * Used for messages about activation disabled reason
1103
+ */
1104
+ disableReason?: string;
1105
+ }
1069
1106
  /**
1070
1107
  * A unique identifier for the type of issue. Each type may use one of the
1071
1108
  optional fields in InspectorIssueDetails to convey more specific
1072
1109
  information about the kind of issue.
1073
1110
  */
1074
- export type InspectorIssueCode = "CookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"LowTextContrastIssue"|"CorsIssue"|"AttributionReportingIssue"|"QuirksModeIssue"|"PartitioningBlobURLIssue"|"NavigatorUserAgentIssue"|"GenericIssue"|"DeprecationIssue"|"ClientHintIssue"|"FederatedAuthRequestIssue"|"BounceTrackingIssue"|"CookieDeprecationMetadataIssue"|"StylesheetLoadingIssue"|"FederatedAuthUserInfoRequestIssue"|"PropertyRuleIssue"|"SharedDictionaryIssue"|"ElementAccessibilityIssue"|"SRIMessageSignatureIssue"|"UnencodedDigestIssue"|"UserReidentificationIssue";
1111
+ export type InspectorIssueCode = "CookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"LowTextContrastIssue"|"CorsIssue"|"AttributionReportingIssue"|"QuirksModeIssue"|"PartitioningBlobURLIssue"|"NavigatorUserAgentIssue"|"GenericIssue"|"DeprecationIssue"|"ClientHintIssue"|"FederatedAuthRequestIssue"|"BounceTrackingIssue"|"CookieDeprecationMetadataIssue"|"StylesheetLoadingIssue"|"FederatedAuthUserInfoRequestIssue"|"PropertyRuleIssue"|"SharedDictionaryIssue"|"ElementAccessibilityIssue"|"SRIMessageSignatureIssue"|"UnencodedDigestIssue"|"UserReidentificationIssue"|"PermissionElementIssue";
1075
1112
  /**
1076
1113
  * This struct holds a list of optional fields with additional information
1077
1114
  specific to the kind of issue. When adding a new issue code, please also
@@ -1104,6 +1141,7 @@ add a new optional field to this type.
1104
1141
  sriMessageSignatureIssueDetails?: SRIMessageSignatureIssueDetails;
1105
1142
  unencodedDigestIssueDetails?: UnencodedDigestIssueDetails;
1106
1143
  userReidentificationIssueDetails?: UserReidentificationIssueDetails;
1144
+ permissionElementIssueDetails?: PermissionElementIssueDetails;
1107
1145
  }
1108
1146
  /**
1109
1147
  * A unique id for a DevTools inspector issue. Allows other entities (e.g.
@@ -1204,7 +1242,7 @@ using Audits.issueAdded event.
1204
1242
  /**
1205
1243
  * Defines commands and events for Autofill.
1206
1244
  */
1207
- export module Autofill {
1245
+ export namespace Autofill {
1208
1246
  export interface CreditCard {
1209
1247
  /**
1210
1248
  * 16-digit credit card number.
@@ -1230,6 +1268,8 @@ using Audits.issueAdded event.
1230
1268
  export interface AddressField {
1231
1269
  /**
1232
1270
  * address field name, for example GIVEN_NAME.
1271
+ The full list of supported field names:
1272
+ https://source.chromium.org/chromium/chromium/src/+/main:components/autofill/core/browser/field_types.cc;l=38
1233
1273
  */
1234
1274
  name: string;
1235
1275
  /**
@@ -1332,9 +1372,13 @@ If the field and related form cannot be autofilled, returns an error.
1332
1372
  */
1333
1373
  frameId?: Page.FrameId;
1334
1374
  /**
1335
- * Credit card information to fill out the form. Credit card data is not saved.
1375
+ * Credit card information to fill out the form. Credit card data is not saved. Mutually exclusive with `address`.
1376
+ */
1377
+ card?: CreditCard;
1378
+ /**
1379
+ * Address to fill out the form. Address data is not saved. Mutually exclusive with `card`.
1336
1380
  */
1337
- card: CreditCard;
1381
+ address?: Address;
1338
1382
  }
1339
1383
  export type triggerReturnValue = {
1340
1384
  }
@@ -1365,7 +1409,7 @@ If the field and related form cannot be autofilled, returns an error.
1365
1409
  /**
1366
1410
  * Defines events for background web platform features.
1367
1411
  */
1368
- export module BackgroundService {
1412
+ export namespace BackgroundService {
1369
1413
  /**
1370
1414
  * The Background Service that will be associated with the commands/events.
1371
1415
  Every Background Service operates independently, but they share the same
@@ -1468,7 +1512,7 @@ events afterwards if enabled and recording.
1468
1512
  * This domain allows configuring virtual Bluetooth devices to test
1469
1513
  the web-bluetooth API.
1470
1514
  */
1471
- export module BluetoothEmulation {
1515
+ export namespace BluetoothEmulation {
1472
1516
  /**
1473
1517
  * Indicates the various states of Central.
1474
1518
  */
@@ -1753,7 +1797,7 @@ by |characteristicId|.
1753
1797
  /**
1754
1798
  * The Browser domain defines methods and events for browser managing.
1755
1799
  */
1756
- export module Browser {
1800
+ export namespace Browser {
1757
1801
  export type BrowserContextID = string;
1758
1802
  export type WindowID = number;
1759
1803
  /**
@@ -1785,7 +1829,7 @@ by |characteristicId|.
1785
1829
  */
1786
1830
  windowState?: WindowState;
1787
1831
  }
1788
- export type PermissionType = "ar"|"audioCapture"|"automaticFullscreen"|"backgroundFetch"|"backgroundSync"|"cameraPanTiltZoom"|"capturedSurfaceControl"|"clipboardReadWrite"|"clipboardSanitizedWrite"|"displayCapture"|"durableStorage"|"geolocation"|"handTracking"|"idleDetection"|"keyboardLock"|"localFonts"|"localNetworkAccess"|"midi"|"midiSysex"|"nfc"|"notifications"|"paymentHandler"|"periodicBackgroundSync"|"pointerLock"|"protectedMediaIdentifier"|"sensors"|"smartCard"|"speakerSelection"|"storageAccess"|"topLevelStorageAccess"|"videoCapture"|"vr"|"wakeLockScreen"|"wakeLockSystem"|"webAppInstallation"|"webPrinting"|"windowManagement";
1832
+ export type PermissionType = "ar"|"audioCapture"|"automaticFullscreen"|"backgroundFetch"|"backgroundSync"|"cameraPanTiltZoom"|"capturedSurfaceControl"|"clipboardReadWrite"|"clipboardSanitizedWrite"|"displayCapture"|"durableStorage"|"geolocation"|"handTracking"|"idleDetection"|"keyboardLock"|"localFonts"|"localNetwork"|"localNetworkAccess"|"loopbackNetwork"|"midi"|"midiSysex"|"nfc"|"notifications"|"paymentHandler"|"periodicBackgroundSync"|"pointerLock"|"protectedMediaIdentifier"|"sensors"|"smartCard"|"speakerSelection"|"storageAccess"|"topLevelStorageAccess"|"videoCapture"|"vr"|"wakeLockScreen"|"wakeLockSystem"|"webAppInstallation"|"webPrinting"|"windowManagement";
1789
1833
  export type PermissionSetting = "granted"|"denied"|"prompt";
1790
1834
  /**
1791
1835
  * Definition of PermissionDescriptor defined in the Permissions API:
@@ -1913,7 +1957,7 @@ is guaranteed to exist.
1913
1957
  }
1914
1958
 
1915
1959
  /**
1916
- * Set permission settings for given requesting and embedding origins.
1960
+ * Set permission settings for given embedding and embedded origins.
1917
1961
  */
1918
1962
  export type setPermissionParameters = {
1919
1963
  /**
@@ -1925,15 +1969,15 @@ is guaranteed to exist.
1925
1969
  */
1926
1970
  setting: PermissionSetting;
1927
1971
  /**
1928
- * Requesting origin the permission applies to, all origins if not specified.
1972
+ * Embedding origin the permission applies to, all origins if not specified.
1929
1973
  */
1930
1974
  origin?: string;
1931
1975
  /**
1932
- * Embedding origin the permission applies to. It is ignored unless the requesting origin is
1933
- present and valid. If the requesting origin is provided but the embedding origin isn't, the
1934
- requesting origin is used as the embedding origin.
1976
+ * Embedded origin the permission applies to. It is ignored unless the embedding origin is
1977
+ present and valid. If the embedding origin is provided but the embedded origin isn't, the
1978
+ embedding origin is used as the embedded origin.
1935
1979
  */
1936
- embeddingOrigin?: string;
1980
+ embeddedOrigin?: string;
1937
1981
  /**
1938
1982
  * Context to override. When omitted, default browser context is used.
1939
1983
  */
@@ -1942,7 +1986,8 @@ requesting origin is used as the embedding origin.
1942
1986
  export type setPermissionReturnValue = {
1943
1987
  }
1944
1988
  /**
1945
- * Grant specific permissions to the given origin and reject all others.
1989
+ * Grant specific permissions to the given origin and reject all others. Deprecated. Use
1990
+ setPermission instead.
1946
1991
  */
1947
1992
  export type grantPermissionsParameters = {
1948
1993
  permissions: PermissionType[];
@@ -2239,8 +2284,7 @@ CSS objects can be loaded using the `get*ForNode()` calls (which accept a DOM no
2239
2284
  can also keep track of stylesheets via the `styleSheetAdded`/`styleSheetRemoved` events and
2240
2285
  subsequently load the required stylesheet contents using the `getStyleSheet[Text]()` methods.
2241
2286
  */
2242
- export module CSS {
2243
- export type StyleSheetId = string;
2287
+ export namespace CSS {
2244
2288
  /**
2245
2289
  * Stylesheet type: "injected" for stylesheets injected via extension, "user-agent" for user-agent
2246
2290
  stylesheets, "inspector" for stylesheets created by the inspector (i.e. those holding the "via
@@ -2381,7 +2425,7 @@ pseudo-classes.
2381
2425
  /**
2382
2426
  * The stylesheet identifier.
2383
2427
  */
2384
- styleSheetId: StyleSheetId;
2428
+ styleSheetId: DOM.StyleSheetId;
2385
2429
  /**
2386
2430
  * Owner frame identifier.
2387
2431
  */
@@ -2466,7 +2510,7 @@ CSS module script.
2466
2510
  * The css style sheet identifier (absent for user agent stylesheet and user-specified
2467
2511
  stylesheet rules) this rule came from.
2468
2512
  */
2469
- styleSheetId?: StyleSheetId;
2513
+ styleSheetId?: DOM.StyleSheetId;
2470
2514
  /**
2471
2515
  * Rule selector data.
2472
2516
  */
@@ -2483,6 +2527,10 @@ stylesheet rules) this rule came from.
2483
2527
  * Associated style declaration.
2484
2528
  */
2485
2529
  style: CSSStyle;
2530
+ /**
2531
+ * The BackendNodeId of the DOM node that constitutes the origin tree scope of this rule.
2532
+ */
2533
+ originTreeScopeNodeId?: DOM.BackendNodeId;
2486
2534
  /**
2487
2535
  * Media list array (for rules involving media queries). The array enumerates media queries
2488
2536
  starting with the innermost one, going outwards.
@@ -2531,7 +2579,7 @@ This list only contains rule types that are collected during the ancestor rule c
2531
2579
  * The css style sheet identifier (absent for user agent stylesheet and user-specified
2532
2580
  stylesheet rules) this rule came from.
2533
2581
  */
2534
- styleSheetId: StyleSheetId;
2582
+ styleSheetId: DOM.StyleSheetId;
2535
2583
  /**
2536
2584
  * Offset of the start of the rule (including selector) from the beginning of the stylesheet.
2537
2585
  */
@@ -2606,7 +2654,7 @@ or it is in the subtree of an element being rendered with base appearance.
2606
2654
  * The css style sheet identifier (absent for user agent stylesheet and user-specified
2607
2655
  stylesheet rules) this rule came from.
2608
2656
  */
2609
- styleSheetId?: StyleSheetId;
2657
+ styleSheetId?: DOM.StyleSheetId;
2610
2658
  /**
2611
2659
  * CSS properties in the style.
2612
2660
  */
@@ -2693,7 +2741,7 @@ available).
2693
2741
  /**
2694
2742
  * Identifier of the stylesheet containing this object (if exists).
2695
2743
  */
2696
- styleSheetId?: StyleSheetId;
2744
+ styleSheetId?: DOM.StyleSheetId;
2697
2745
  /**
2698
2746
  * Array of media queries.
2699
2747
  */
@@ -2753,7 +2801,7 @@ available).
2753
2801
  /**
2754
2802
  * Identifier of the stylesheet containing this object (if exists).
2755
2803
  */
2756
- styleSheetId?: StyleSheetId;
2804
+ styleSheetId?: DOM.StyleSheetId;
2757
2805
  /**
2758
2806
  * Optional name for the container.
2759
2807
  */
@@ -2795,7 +2843,7 @@ available).
2795
2843
  /**
2796
2844
  * Identifier of the stylesheet containing this object (if exists).
2797
2845
  */
2798
- styleSheetId?: StyleSheetId;
2846
+ styleSheetId?: DOM.StyleSheetId;
2799
2847
  }
2800
2848
  /**
2801
2849
  * CSS Scope at-rule descriptor.
@@ -2813,7 +2861,7 @@ available).
2813
2861
  /**
2814
2862
  * Identifier of the stylesheet containing this object (if exists).
2815
2863
  */
2816
- styleSheetId?: StyleSheetId;
2864
+ styleSheetId?: DOM.StyleSheetId;
2817
2865
  }
2818
2866
  /**
2819
2867
  * CSS Layer at-rule descriptor.
@@ -2831,7 +2879,7 @@ available).
2831
2879
  /**
2832
2880
  * Identifier of the stylesheet containing this object (if exists).
2833
2881
  */
2834
- styleSheetId?: StyleSheetId;
2882
+ styleSheetId?: DOM.StyleSheetId;
2835
2883
  }
2836
2884
  /**
2837
2885
  * CSS Starting Style at-rule descriptor.
@@ -2845,7 +2893,7 @@ available).
2845
2893
  /**
2846
2894
  * Identifier of the stylesheet containing this object (if exists).
2847
2895
  */
2848
- styleSheetId?: StyleSheetId;
2896
+ styleSheetId?: DOM.StyleSheetId;
2849
2897
  }
2850
2898
  /**
2851
2899
  * CSS Layer data.
@@ -2965,7 +3013,7 @@ and additional information such as platformFontFamily and fontVariationAxes.
2965
3013
  * The css style sheet identifier (absent for user agent stylesheet and user-specified
2966
3014
  stylesheet rules) this rule came from.
2967
3015
  */
2968
- styleSheetId?: StyleSheetId;
3016
+ styleSheetId?: DOM.StyleSheetId;
2969
3017
  /**
2970
3018
  * Parent stylesheet's origin.
2971
3019
  */
@@ -2987,7 +3035,7 @@ stylesheet rules) this rule came from.
2987
3035
  * The css style sheet identifier (absent for user agent stylesheet and user-specified
2988
3036
  stylesheet rules) this rule came from.
2989
3037
  */
2990
- styleSheetId?: StyleSheetId;
3038
+ styleSheetId?: DOM.StyleSheetId;
2991
3039
  /**
2992
3040
  * Parent stylesheet's origin.
2993
3041
  */
@@ -3021,22 +3069,31 @@ stylesheet rules) this rule came from.
3021
3069
  syntax: string;
3022
3070
  }
3023
3071
  /**
3024
- * CSS font-palette-values rule representation.
3072
+ * CSS generic @rule representation.
3025
3073
  */
3026
- export interface CSSFontPaletteValuesRule {
3074
+ export interface CSSAtRule {
3075
+ /**
3076
+ * Type of at-rule.
3077
+ */
3078
+ type: "font-face"|"font-feature-values"|"font-palette-values";
3079
+ /**
3080
+ * Subsection of font-feature-values, if this is a subsection.
3081
+ */
3082
+ subsection?: "swash"|"annotation"|"ornaments"|"stylistic"|"styleset"|"character-variant";
3083
+ /**
3084
+ * LINT.ThenChange(//third_party/blink/renderer/core/inspector/inspector_style_sheet.cc:FontVariantAlternatesFeatureType,//third_party/blink/renderer/core/inspector/inspector_css_agent.cc:FontVariantAlternatesFeatureType)
3085
+ Associated name, if applicable.
3086
+ */
3087
+ name?: Value;
3027
3088
  /**
3028
3089
  * The css style sheet identifier (absent for user agent stylesheet and user-specified
3029
3090
  stylesheet rules) this rule came from.
3030
3091
  */
3031
- styleSheetId?: StyleSheetId;
3092
+ styleSheetId?: DOM.StyleSheetId;
3032
3093
  /**
3033
3094
  * Parent stylesheet's origin.
3034
3095
  */
3035
3096
  origin: StyleSheetOrigin;
3036
- /**
3037
- * Associated font palette name.
3038
- */
3039
- fontPaletteName: Value;
3040
3097
  /**
3041
3098
  * Associated style declaration.
3042
3099
  */
@@ -3050,7 +3107,7 @@ stylesheet rules) this rule came from.
3050
3107
  * The css style sheet identifier (absent for user agent stylesheet and user-specified
3051
3108
  stylesheet rules) this rule came from.
3052
3109
  */
3053
- styleSheetId?: StyleSheetId;
3110
+ styleSheetId?: DOM.StyleSheetId;
3054
3111
  /**
3055
3112
  * Parent stylesheet's origin.
3056
3113
  */
@@ -3127,7 +3184,7 @@ stylesheet rules) this rule came from.
3127
3184
  * The css style sheet identifier (absent for user agent stylesheet and user-specified
3128
3185
  stylesheet rules) this rule came from.
3129
3186
  */
3130
- styleSheetId?: StyleSheetId;
3187
+ styleSheetId?: DOM.StyleSheetId;
3131
3188
  /**
3132
3189
  * Parent stylesheet's origin.
3133
3190
  */
@@ -3149,7 +3206,7 @@ stylesheet rules) this rule came from.
3149
3206
  * The css style sheet identifier (absent for user agent stylesheet and user-specified
3150
3207
  stylesheet rules) this rule came from.
3151
3208
  */
3152
- styleSheetId?: StyleSheetId;
3209
+ styleSheetId?: DOM.StyleSheetId;
3153
3210
  /**
3154
3211
  * Parent stylesheet's origin.
3155
3212
  */
@@ -3170,7 +3227,7 @@ stylesheet rules) this rule came from.
3170
3227
  /**
3171
3228
  * The css style sheet identifier.
3172
3229
  */
3173
- styleSheetId: StyleSheetId;
3230
+ styleSheetId: DOM.StyleSheetId;
3174
3231
  /**
3175
3232
  * The range of the style text in the enclosing stylesheet.
3176
3233
  */
@@ -3209,7 +3266,7 @@ resized.) The current implementation considers only viewport-dependent media fea
3209
3266
  * Fired whenever a stylesheet is changed as a result of the client operation.
3210
3267
  */
3211
3268
  export type styleSheetChangedPayload = {
3212
- styleSheetId: StyleSheetId;
3269
+ styleSheetId: DOM.StyleSheetId;
3213
3270
  }
3214
3271
  /**
3215
3272
  * Fired whenever an active document stylesheet is removed.
@@ -3218,7 +3275,7 @@ resized.) The current implementation considers only viewport-dependent media fea
3218
3275
  /**
3219
3276
  * Identifier of the removed stylesheet.
3220
3277
  */
3221
- styleSheetId: StyleSheetId;
3278
+ styleSheetId: DOM.StyleSheetId;
3222
3279
  }
3223
3280
  export type computedStyleUpdatedPayload = {
3224
3281
  /**
@@ -3235,7 +3292,7 @@ position specified by `location`.
3235
3292
  /**
3236
3293
  * The css style sheet identifier where a new rule should be inserted.
3237
3294
  */
3238
- styleSheetId: StyleSheetId;
3295
+ styleSheetId: DOM.StyleSheetId;
3239
3296
  /**
3240
3297
  * The text of a new rule.
3241
3298
  */
@@ -3261,7 +3318,7 @@ incorrect results if the declaration contains a var() for example.
3261
3318
  * Returns all class names from specified stylesheet.
3262
3319
  */
3263
3320
  export type collectClassNamesParameters = {
3264
- styleSheetId: StyleSheetId;
3321
+ styleSheetId: DOM.StyleSheetId;
3265
3322
  }
3266
3323
  export type collectClassNamesReturnValue = {
3267
3324
  /**
@@ -3289,7 +3346,7 @@ for the frame's document if it exists or creates a new stylesheet
3289
3346
  /**
3290
3347
  * Identifier of the created "via-inspector" stylesheet.
3291
3348
  */
3292
- styleSheetId: StyleSheetId;
3349
+ styleSheetId: DOM.StyleSheetId;
3293
3350
  }
3294
3351
  /**
3295
3352
  * Disables the CSS agent for the given page.
@@ -3515,9 +3572,9 @@ will not be set if there is no active position-try fallback.
3515
3572
  */
3516
3573
  cssPropertyRegistrations?: CSSPropertyRegistration[];
3517
3574
  /**
3518
- * A font-palette-values rule matching this node.
3575
+ * A list of simple @rules matching this node or its pseudo-elements.
3519
3576
  */
3520
- cssFontPaletteValuesRule?: CSSFontPaletteValuesRule;
3577
+ cssAtRules?: CSSAtRule[];
3521
3578
  /**
3522
3579
  * Id of the first parent element that does not have display: contents.
3523
3580
  */
@@ -3560,7 +3617,7 @@ node.
3560
3617
  * Returns the current textual content for a stylesheet.
3561
3618
  */
3562
3619
  export type getStyleSheetTextParameters = {
3563
- styleSheetId: StyleSheetId;
3620
+ styleSheetId: DOM.StyleSheetId;
3564
3621
  }
3565
3622
  export type getStyleSheetTextReturnValue = {
3566
3623
  /**
@@ -3585,7 +3642,7 @@ the full layer tree for the tree scope and their ordering.
3585
3642
  returns an array of locations of the CSS selector in the style sheet.
3586
3643
  */
3587
3644
  export type getLocationForSelectorParameters = {
3588
- styleSheetId: StyleSheetId;
3645
+ styleSheetId: DOM.StyleSheetId;
3589
3646
  selectorText: string;
3590
3647
  }
3591
3648
  export type getLocationForSelectorReturnValue = {
@@ -3646,7 +3703,7 @@ property
3646
3703
  * Modifies the property rule property name.
3647
3704
  */
3648
3705
  export type setPropertyRulePropertyNameParameters = {
3649
- styleSheetId: StyleSheetId;
3706
+ styleSheetId: DOM.StyleSheetId;
3650
3707
  range: SourceRange;
3651
3708
  propertyName: string;
3652
3709
  }
@@ -3660,7 +3717,7 @@ property
3660
3717
  * Modifies the keyframe rule key text.
3661
3718
  */
3662
3719
  export type setKeyframeKeyParameters = {
3663
- styleSheetId: StyleSheetId;
3720
+ styleSheetId: DOM.StyleSheetId;
3664
3721
  range: SourceRange;
3665
3722
  keyText: string;
3666
3723
  }
@@ -3674,7 +3731,7 @@ property
3674
3731
  * Modifies the rule selector.
3675
3732
  */
3676
3733
  export type setMediaTextParameters = {
3677
- styleSheetId: StyleSheetId;
3734
+ styleSheetId: DOM.StyleSheetId;
3678
3735
  range: SourceRange;
3679
3736
  text: string;
3680
3737
  }
@@ -3688,7 +3745,7 @@ property
3688
3745
  * Modifies the expression of a container query.
3689
3746
  */
3690
3747
  export type setContainerQueryTextParameters = {
3691
- styleSheetId: StyleSheetId;
3748
+ styleSheetId: DOM.StyleSheetId;
3692
3749
  range: SourceRange;
3693
3750
  text: string;
3694
3751
  }
@@ -3702,7 +3759,7 @@ property
3702
3759
  * Modifies the expression of a supports at-rule.
3703
3760
  */
3704
3761
  export type setSupportsTextParameters = {
3705
- styleSheetId: StyleSheetId;
3762
+ styleSheetId: DOM.StyleSheetId;
3706
3763
  range: SourceRange;
3707
3764
  text: string;
3708
3765
  }
@@ -3716,7 +3773,7 @@ property
3716
3773
  * Modifies the expression of a scope at-rule.
3717
3774
  */
3718
3775
  export type setScopeTextParameters = {
3719
- styleSheetId: StyleSheetId;
3776
+ styleSheetId: DOM.StyleSheetId;
3720
3777
  range: SourceRange;
3721
3778
  text: string;
3722
3779
  }
@@ -3730,7 +3787,7 @@ property
3730
3787
  * Modifies the rule selector.
3731
3788
  */
3732
3789
  export type setRuleSelectorParameters = {
3733
- styleSheetId: StyleSheetId;
3790
+ styleSheetId: DOM.StyleSheetId;
3734
3791
  range: SourceRange;
3735
3792
  selector: string;
3736
3793
  }
@@ -3744,7 +3801,7 @@ property
3744
3801
  * Sets the new stylesheet text.
3745
3802
  */
3746
3803
  export type setStyleSheetTextParameters = {
3747
- styleSheetId: StyleSheetId;
3804
+ styleSheetId: DOM.StyleSheetId;
3748
3805
  text: string;
3749
3806
  }
3750
3807
  export type setStyleSheetTextReturnValue = {
@@ -3813,7 +3870,7 @@ instrumentation).
3813
3870
  }
3814
3871
  }
3815
3872
 
3816
- export module CacheStorage {
3873
+ export namespace CacheStorage {
3817
3874
  /**
3818
3875
  * Unique identifier of the Cache object.
3819
3876
  */
@@ -4010,7 +4067,7 @@ is the count of all entries from this storage.
4010
4067
  * A domain for interacting with Cast, Presentation API, and Remote Playback API
4011
4068
  functionalities.
4012
4069
  */
4013
- export module Cast {
4070
+ export namespace Cast {
4014
4071
  export interface Sink {
4015
4072
  name: string;
4016
4073
  id: string;
@@ -4099,7 +4156,7 @@ and never sends the same node twice. It is client's responsibility to collect in
4099
4156
  the nodes that were sent to the client. Note that `iframe` owner elements will return
4100
4157
  corresponding document elements as their child nodes.
4101
4158
  */
4102
- export module DOM {
4159
+ export namespace DOM {
4103
4160
  /**
4104
4161
  * Unique DOM node identifier.
4105
4162
  */
@@ -4109,6 +4166,10 @@ corresponding document elements as their child nodes.
4109
4166
  front-end.
4110
4167
  */
4111
4168
  export type BackendNodeId = number;
4169
+ /**
4170
+ * Unique identifier for a CSS stylesheet.
4171
+ */
4172
+ export type StyleSheetId = string;
4112
4173
  /**
4113
4174
  * Backend node with a friendly name.
4114
4175
  */
@@ -4126,7 +4187,7 @@ front-end.
4126
4187
  /**
4127
4188
  * Pseudo element type.
4128
4189
  */
4129
- export type PseudoType = "first-line"|"first-letter"|"checkmark"|"before"|"after"|"picker-icon"|"interest-hint"|"marker"|"backdrop"|"column"|"selection"|"search-text"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scroll-marker"|"scroll-marker-group"|"scroll-button"|"scrollbar"|"scrollbar-thumb"|"scrollbar-button"|"scrollbar-track"|"scrollbar-track-piece"|"scrollbar-corner"|"resizer"|"input-list-button"|"view-transition"|"view-transition-group"|"view-transition-image-pair"|"view-transition-group-children"|"view-transition-old"|"view-transition-new"|"placeholder"|"file-selector-button"|"details-content"|"picker"|"permission-icon";
4190
+ export type PseudoType = "first-line"|"first-letter"|"checkmark"|"before"|"after"|"picker-icon"|"interest-hint"|"marker"|"backdrop"|"column"|"selection"|"search-text"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scroll-marker"|"scroll-marker-group"|"scroll-button"|"scrollbar"|"scrollbar-thumb"|"scrollbar-button"|"scrollbar-track"|"scrollbar-track-piece"|"scrollbar-corner"|"resizer"|"input-list-button"|"view-transition"|"view-transition-group"|"view-transition-image-pair"|"view-transition-group-children"|"view-transition-old"|"view-transition-new"|"placeholder"|"file-selector-button"|"details-content"|"picker"|"permission-icon"|"overscroll-area-parent";
4130
4191
  /**
4131
4192
  * Shadow root type.
4132
4193
  */
@@ -4276,6 +4337,8 @@ The property is always undefined now.
4276
4337
  compatibilityMode?: CompatibilityMode;
4277
4338
  assignedSlot?: BackendNode;
4278
4339
  isScrollable?: boolean;
4340
+ affectedByStartingStyles?: boolean;
4341
+ adoptedStyleSheets?: StyleSheetId[];
4279
4342
  }
4280
4343
  /**
4281
4344
  * A structure to hold the top-level node of a detached tree and an array of its retained descendants.
@@ -4408,6 +4471,19 @@ The property is always undefined now.
4408
4471
  */
4409
4472
  value: string;
4410
4473
  }
4474
+ /**
4475
+ * Fired when `Element`'s adoptedStyleSheets are modified.
4476
+ */
4477
+ export type adoptedStyleSheetsModifiedPayload = {
4478
+ /**
4479
+ * Id of the node that has changed.
4480
+ */
4481
+ nodeId: NodeId;
4482
+ /**
4483
+ * New adoptedStyleSheets array.
4484
+ */
4485
+ adoptedStyleSheets: StyleSheetId[];
4486
+ }
4411
4487
  /**
4412
4488
  * Fired when `Element`'s attribute is removed.
4413
4489
  */
@@ -4533,6 +4609,19 @@ The property is always undefined now.
4533
4609
  */
4534
4610
  isScrollable: boolean;
4535
4611
  }
4612
+ /**
4613
+ * Fired when a node's starting styles changes.
4614
+ */
4615
+ export type affectedByStartingStylesFlagUpdatedPayload = {
4616
+ /**
4617
+ * The id of the node.
4618
+ */
4619
+ nodeId: DOM.NodeId;
4620
+ /**
4621
+ * If the node has starting styles.
4622
+ */
4623
+ affectedByStartingStyles: boolean;
4624
+ }
4536
4625
  /**
4537
4626
  * Called when a pseudo element is removed from an element.
4538
4627
  */
@@ -5530,7 +5619,7 @@ popover if it was previously force-opened.
5530
5619
  * DOM debugging allows setting breakpoints on particular DOM operations and events. JavaScript
5531
5620
  execution will stop on these operations as if there was a regular breakpoint set.
5532
5621
  */
5533
- export module DOMDebugger {
5622
+ export namespace DOMDebugger {
5534
5623
  /**
5535
5624
  * DOM breakpoint type.
5536
5625
  */
@@ -5732,7 +5821,7 @@ EventTarget.
5732
5821
  /**
5733
5822
  * This domain facilitates obtaining document snapshots with DOM, layout, and style information.
5734
5823
  */
5735
- export module DOMSnapshot {
5824
+ export namespace DOMSnapshot {
5736
5825
  /**
5737
5826
  * A Node in the DOM tree.
5738
5827
  */
@@ -6270,7 +6359,7 @@ The final text color opacity is computed based on the opacity of all overlapping
6270
6359
  /**
6271
6360
  * Query and modify DOM storage.
6272
6361
  */
6273
- export module DOMStorage {
6362
+ export namespace DOMStorage {
6274
6363
  export type SerializedStorageKey = string;
6275
6364
  /**
6276
6365
  * DOM Storage identifier.
@@ -6353,7 +6442,7 @@ The final text color opacity is computed based on the opacity of all overlapping
6353
6442
  }
6354
6443
  }
6355
6444
 
6356
- export module DeviceAccess {
6445
+ export namespace DeviceAccess {
6357
6446
  /**
6358
6447
  * Device request id.
6359
6448
  */
@@ -6415,7 +6504,7 @@ selectPrompt or cancelPrompt command.
6415
6504
  }
6416
6505
  }
6417
6506
 
6418
- export module DeviceOrientation {
6507
+ export namespace DeviceOrientation {
6419
6508
 
6420
6509
 
6421
6510
  /**
@@ -6449,7 +6538,7 @@ selectPrompt or cancelPrompt command.
6449
6538
  /**
6450
6539
  * This domain emulates different environments for the page.
6451
6540
  */
6452
- export module Emulation {
6541
+ export namespace Emulation {
6453
6542
  export interface SafeAreaInsets {
6454
6543
  /**
6455
6544
  * Overrides safe-area-inset-top.
@@ -7346,7 +7435,7 @@ of size 100lvh.
7346
7435
  occurring in native code invoked from JavaScript. Once breakpoint is hit, it is
7347
7436
  reported through Debugger domain, similarly to regular breakpoints being hit.
7348
7437
  */
7349
- export module EventBreakpoints {
7438
+ export namespace EventBreakpoints {
7350
7439
 
7351
7440
 
7352
7441
  /**
@@ -7383,7 +7472,7 @@ reported through Debugger domain, similarly to regular breakpoints being hit.
7383
7472
  /**
7384
7473
  * Defines commands and events for browser extensions.
7385
7474
  */
7386
- export module Extensions {
7475
+ export namespace Extensions {
7387
7476
  /**
7388
7477
  * Storage areas.
7389
7478
  */
@@ -7502,7 +7591,7 @@ will be merged with existing values in the storage area.
7502
7591
  /**
7503
7592
  * This domain allows interacting with the FedCM dialog.
7504
7593
  */
7505
- export module FedCm {
7594
+ export namespace FedCm {
7506
7595
  /**
7507
7596
  * Whether this is a sign-up or sign-in action for this account, i.e.
7508
7597
  whether this account has ever been used to sign in to this RP before.
@@ -7610,7 +7699,7 @@ a dialog even if one was recently dismissed by the user.
7610
7699
  /**
7611
7700
  * A domain for letting clients substitute browser's network layer with client code.
7612
7701
  */
7613
- export module Fetch {
7702
+ export namespace Fetch {
7614
7703
  /**
7615
7704
  * Unique request identifier.
7616
7705
  Note that this does not identify individual HTTP requests that are part of
@@ -7981,7 +8070,7 @@ domain before body is received results in an undefined behavior.
7981
8070
  }
7982
8071
  }
7983
8072
 
7984
- export module FileSystem {
8073
+ export namespace FileSystem {
7985
8074
  export interface File {
7986
8075
  name: string;
7987
8076
  /**
@@ -8032,7 +8121,7 @@ domain before body is received results in an undefined behavior.
8032
8121
  /**
8033
8122
  * This domain provides experimental commands only supported in headless mode.
8034
8123
  */
8035
- export module HeadlessExperimental {
8124
+ export namespace HeadlessExperimental {
8036
8125
  /**
8037
8126
  * Encoding options for a screenshot.
8038
8127
  */
@@ -8112,7 +8201,7 @@ display. Reported for diagnostic uses, may be removed in the future.
8112
8201
  /**
8113
8202
  * Input/Output operations for streams produced by DevTools.
8114
8203
  */
8115
- export module IO {
8204
+ export namespace IO {
8116
8205
  /**
8117
8206
  * This is either obtained from another method or specified as `blob:<uuid>` where
8118
8207
  `<uuid>` is an UUID of a Blob.
@@ -8180,7 +8269,7 @@ following the last read). Some types of streams may only support sequential read
8180
8269
  }
8181
8270
  }
8182
8271
 
8183
- export module IndexedDB {
8272
+ export namespace IndexedDB {
8184
8273
  /**
8185
8274
  * Database with an array of object stores.
8186
8275
  */
@@ -8441,9 +8530,9 @@ Security origin.
8441
8530
  */
8442
8531
  objectStoreName: string;
8443
8532
  /**
8444
- * Index name, empty string for object store data requests.
8533
+ * Index name. If not specified, it performs an object store data request.
8445
8534
  */
8446
- indexName: string;
8535
+ indexName?: string;
8447
8536
  /**
8448
8537
  * Number of records to skip.
8449
8538
  */
@@ -8559,7 +8648,7 @@ Security origin.
8559
8648
  }
8560
8649
  }
8561
8650
 
8562
- export module Input {
8651
+ export namespace Input {
8563
8652
  export interface TouchPoint {
8564
8653
  /**
8565
8654
  * X coordinate of the event relative to the main frame's viewport in CSS pixels.
@@ -9082,7 +9171,7 @@ for the preferred input type).
9082
9171
  }
9083
9172
  }
9084
9173
 
9085
- export module Inspector {
9174
+ export namespace Inspector {
9086
9175
 
9087
9176
  /**
9088
9177
  * Fired when remote debugging connection is about to be terminated. Contains detach reason.
@@ -9101,6 +9190,10 @@ for the preferred input type).
9101
9190
  * Fired when debugging target has reloaded after crash
9102
9191
  */
9103
9192
  export type targetReloadedAfterCrashPayload = void;
9193
+ /**
9194
+ * Fired on worker targets when main worker script and any imported scripts have been evaluated.
9195
+ */
9196
+ export type workerScriptLoadedPayload = void;
9104
9197
 
9105
9198
  /**
9106
9199
  * Disables inspector domain notifications.
@@ -9118,7 +9211,7 @@ for the preferred input type).
9118
9211
  }
9119
9212
  }
9120
9213
 
9121
- export module LayerTree {
9214
+ export namespace LayerTree {
9122
9215
  /**
9123
9216
  * Unique Layer identifier.
9124
9217
  */
@@ -9415,7 +9508,7 @@ transform/scrolling purposes only.
9415
9508
  /**
9416
9509
  * Provides access to log entries.
9417
9510
  */
9418
- export module Log {
9511
+ export namespace Log {
9419
9512
  /**
9420
9513
  * Log entry.
9421
9514
  */
@@ -9531,7 +9624,7 @@ transform/scrolling purposes only.
9531
9624
  /**
9532
9625
  * This domain allows detailed inspection of media elements.
9533
9626
  */
9534
- export module Media {
9627
+ export namespace Media {
9535
9628
  /**
9536
9629
  * Players will get an ID that is unique within the agent context.
9537
9630
  */
@@ -9662,7 +9755,7 @@ event for each active player.
9662
9755
  }
9663
9756
  }
9664
9757
 
9665
- export module Memory {
9758
+ export namespace Memory {
9666
9759
  /**
9667
9760
  * Memory pressure level.
9668
9761
  */
@@ -9842,7 +9935,7 @@ collected since browser process startup.
9842
9935
  * Network domain allows tracking network activities of the page. It exposes information about http,
9843
9936
  file, data and other requests and responses, their headers, bodies, timing, etc.
9844
9937
  */
9845
- export module Network {
9938
+ export namespace Network {
9846
9939
  /**
9847
9940
  * Resource type as it was perceived by the rendering engine.
9848
9941
  */
@@ -9991,6 +10084,10 @@ milliseconds relatively to this requestTime.
9991
10084
  * Loading priority of a resource request.
9992
10085
  */
9993
10086
  export type ResourcePriority = "VeryLow"|"Low"|"Medium"|"High"|"VeryHigh";
10087
+ /**
10088
+ * The render blocking behavior of a resource request.
10089
+ */
10090
+ export type RenderBlockingBehavior = "Blocking"|"InBodyParserBlocking"|"NonBlocking"|"NonBlockingDynamic"|"PotentiallyBlocking";
9994
10091
  /**
9995
10092
  * Post data entry for HTTP request
9996
10093
  */
@@ -10056,6 +10153,10 @@ passed by the developer (e.g. via "fetch") as understood by the backend.
10056
10153
  request corresponding to the main frame.
10057
10154
  */
10058
10155
  isSameSite?: boolean;
10156
+ /**
10157
+ * True when the resource request is ad-related.
10158
+ */
10159
+ isAdRelated?: boolean;
10059
10160
  }
10060
10161
  /**
10061
10162
  * Details of a signed certificate timestamp (SCT).
@@ -10170,11 +10271,6 @@ applicable or not known.
10170
10271
  * The reason why request was blocked.
10171
10272
  */
10172
10273
  export type BlockedReason = "other"|"csp"|"mixed-content"|"origin"|"inspector"|"integrity"|"subresource-filter"|"content-type"|"coep-frame-resource-needs-coep-header"|"coop-sandboxed-iframe-cannot-navigate-to-coop-page"|"corp-not-same-origin"|"corp-not-same-origin-after-defaulted-to-same-origin-by-coep"|"corp-not-same-origin-after-defaulted-to-same-origin-by-dip"|"corp-not-same-origin-after-defaulted-to-same-origin-by-coep-and-dip"|"corp-not-same-site"|"sri-message-signature-mismatch";
10173
- /**
10174
- * Sets Controls for IP Proxy of requests.
10175
- Page reload is required before the new behavior will be observed.
10176
- */
10177
- export type IpProxyStatus = "Available"|"FeatureNotEnabled"|"MaskedDomainListNotEnabled"|"MaskedDomainListNotPopulated"|"AuthTokensUnavailable"|"Unavailable"|"BypassedByDevTools";
10178
10274
  /**
10179
10275
  * The reason why request was blocked.
10180
10276
  */
@@ -10345,11 +10441,6 @@ Otherwise, the API is not used.
10345
10441
  * Security details for the request.
10346
10442
  */
10347
10443
  securityDetails?: SecurityDetails;
10348
- /**
10349
- * Indicates whether the request was sent through IP Protection proxies. If
10350
- set to true, the request used the IP Protection privacy feature.
10351
- */
10352
- isIpProtectionUsed?: boolean;
10353
10444
  }
10354
10445
  /**
10355
10446
  * WebSocket request data.
@@ -10436,7 +10527,7 @@ If the opcode isn't 1, then payloadData is a base64 encoded string representing
10436
10527
  /**
10437
10528
  * Type of this initiator.
10438
10529
  */
10439
- type: "parser"|"script"|"preload"|"SignedExchange"|"preflight"|"other";
10530
+ type: "parser"|"script"|"preload"|"SignedExchange"|"preflight"|"FedCM"|"other";
10440
10531
  /**
10441
10532
  * Initiator JavaScript stack trace, set for Script only.
10442
10533
  Requires the Debugger domain to be enabled.
@@ -10498,6 +10589,9 @@ of the request to the endpoint that set the cookie.
10498
10589
  path: string;
10499
10590
  /**
10500
10591
  * Cookie expiration date as the number of seconds since the UNIX epoch.
10592
+ The value is set to -1 if the expiry date is not set.
10593
+ The value can be null for values that cannot be represented in
10594
+ JSON (±Inf).
10501
10595
  */
10502
10596
  expires: number;
10503
10597
  /**
@@ -10864,6 +10958,54 @@ extra headers.
10864
10958
  * List of content encodings supported by the backend.
10865
10959
  */
10866
10960
  export type ContentEncoding = "deflate"|"gzip"|"br"|"zstd";
10961
+ export interface NetworkConditions {
10962
+ /**
10963
+ * Only matching requests will be affected by these conditions. Patterns use the URLPattern constructor string
10964
+ syntax (https://urlpattern.spec.whatwg.org/) and must be absolute. If the pattern is empty, all requests are
10965
+ matched (including p2p connections).
10966
+ */
10967
+ urlPattern: string;
10968
+ /**
10969
+ * Minimum latency from request sent to response headers received (ms).
10970
+ */
10971
+ latency: number;
10972
+ /**
10973
+ * Maximal aggregated download throughput (bytes/sec). -1 disables download throttling.
10974
+ */
10975
+ downloadThroughput: number;
10976
+ /**
10977
+ * Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling.
10978
+ */
10979
+ uploadThroughput: number;
10980
+ /**
10981
+ * Connection type if known.
10982
+ */
10983
+ connectionType?: ConnectionType;
10984
+ /**
10985
+ * WebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.
10986
+ */
10987
+ packetLoss?: number;
10988
+ /**
10989
+ * WebRTC packet queue length (packet). 0 removes any queue length limitations.
10990
+ */
10991
+ packetQueueLength?: number;
10992
+ /**
10993
+ * WebRTC packetReordering feature.
10994
+ */
10995
+ packetReordering?: boolean;
10996
+ }
10997
+ export interface BlockPattern {
10998
+ /**
10999
+ * URL pattern to match. Patterns use the URLPattern constructor string syntax
11000
+ (https://urlpattern.spec.whatwg.org/) and must be absolute. Example: `<example>`.
11001
+ */
11002
+ urlPattern: string;
11003
+ /**
11004
+ * Whether or not to block the pattern. If false, a matching request will not be blocked even if it matches a later
11005
+ `BlockPattern`.
11006
+ */
11007
+ block: boolean;
11008
+ }
10867
11009
  export type DirectSocketDnsQueryType = "ipv4"|"ipv6";
10868
11010
  export interface DirectTCPSocketOptions {
10869
11011
  /**
@@ -10904,6 +11046,12 @@ extra headers.
10904
11046
  * Expected to be unsigned integer.
10905
11047
  */
10906
11048
  receiveBufferSize?: number;
11049
+ multicastLoopback?: boolean;
11050
+ /**
11051
+ * Unsigned int 8.
11052
+ */
11053
+ multicastTimeToLive?: number;
11054
+ multicastAllowAddressSharing?: boolean;
10907
11055
  }
10908
11056
  export interface DirectUDPMessage {
10909
11057
  data: binary;
@@ -10917,7 +11065,7 @@ Expected to be unsigned integer.
10917
11065
  */
10918
11066
  remotePort?: number;
10919
11067
  }
10920
- export type PrivateNetworkRequestPolicy = "Allow"|"BlockFromInsecureToMorePrivate"|"WarnFromInsecureToMorePrivate"|"PreflightBlock"|"PreflightWarn"|"PermissionBlock"|"PermissionWarn";
11068
+ export type PrivateNetworkRequestPolicy = "Allow"|"BlockFromInsecureToMorePrivate"|"WarnFromInsecureToMorePrivate"|"PermissionBlock"|"PermissionWarn";
10921
11069
  export type IPAddressSpace = "Loopback"|"Local"|"Public"|"Unknown";
10922
11070
  export interface ConnectTiming {
10923
11071
  /**
@@ -11004,6 +11152,183 @@ the same request (but not for redirected requests).
11004
11152
  */
11005
11153
  groupName: string;
11006
11154
  }
11155
+ /**
11156
+ * Unique identifier for a device bound session.
11157
+ */
11158
+ export interface DeviceBoundSessionKey {
11159
+ /**
11160
+ * The site the session is set up for.
11161
+ */
11162
+ site: string;
11163
+ /**
11164
+ * The id of the session.
11165
+ */
11166
+ id: string;
11167
+ }
11168
+ /**
11169
+ * A device bound session's cookie craving.
11170
+ */
11171
+ export interface DeviceBoundSessionCookieCraving {
11172
+ /**
11173
+ * The name of the craving.
11174
+ */
11175
+ name: string;
11176
+ /**
11177
+ * The domain of the craving.
11178
+ */
11179
+ domain: string;
11180
+ /**
11181
+ * The path of the craving.
11182
+ */
11183
+ path: string;
11184
+ /**
11185
+ * The `Secure` attribute of the craving attributes.
11186
+ */
11187
+ secure: boolean;
11188
+ /**
11189
+ * The `HttpOnly` attribute of the craving attributes.
11190
+ */
11191
+ httpOnly: boolean;
11192
+ /**
11193
+ * The `SameSite` attribute of the craving attributes.
11194
+ */
11195
+ sameSite?: CookieSameSite;
11196
+ }
11197
+ /**
11198
+ * A device bound session's inclusion URL rule.
11199
+ */
11200
+ export interface DeviceBoundSessionUrlRule {
11201
+ /**
11202
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::rule_type`.
11203
+ */
11204
+ ruleType: "Exclude"|"Include";
11205
+ /**
11206
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::host_pattern`.
11207
+ */
11208
+ hostPattern: string;
11209
+ /**
11210
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::path_prefix`.
11211
+ */
11212
+ pathPrefix: string;
11213
+ }
11214
+ /**
11215
+ * A device bound session's inclusion rules.
11216
+ */
11217
+ export interface DeviceBoundSessionInclusionRules {
11218
+ /**
11219
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::origin_`.
11220
+ */
11221
+ origin: string;
11222
+ /**
11223
+ * Whether the whole site is included. See comments on
11224
+ `net::device_bound_sessions::SessionInclusionRules::include_site_` for more
11225
+ details; this boolean is true if that value is populated.
11226
+ */
11227
+ includeSite: boolean;
11228
+ /**
11229
+ * See comments on `net::device_bound_sessions::SessionInclusionRules::url_rules_`.
11230
+ */
11231
+ urlRules: DeviceBoundSessionUrlRule[];
11232
+ }
11233
+ /**
11234
+ * A device bound session.
11235
+ */
11236
+ export interface DeviceBoundSession {
11237
+ /**
11238
+ * The site and session ID of the session.
11239
+ */
11240
+ key: DeviceBoundSessionKey;
11241
+ /**
11242
+ * See comments on `net::device_bound_sessions::Session::refresh_url_`.
11243
+ */
11244
+ refreshUrl: string;
11245
+ /**
11246
+ * See comments on `net::device_bound_sessions::Session::inclusion_rules_`.
11247
+ */
11248
+ inclusionRules: DeviceBoundSessionInclusionRules;
11249
+ /**
11250
+ * See comments on `net::device_bound_sessions::Session::cookie_cravings_`.
11251
+ */
11252
+ cookieCravings: DeviceBoundSessionCookieCraving[];
11253
+ /**
11254
+ * See comments on `net::device_bound_sessions::Session::expiry_date_`.
11255
+ */
11256
+ expiryDate: Network.TimeSinceEpoch;
11257
+ /**
11258
+ * See comments on `net::device_bound_sessions::Session::cached_challenge__`.
11259
+ */
11260
+ cachedChallenge?: string;
11261
+ /**
11262
+ * See comments on `net::device_bound_sessions::Session::allowed_refresh_initiators_`.
11263
+ */
11264
+ allowedRefreshInitiators: string[];
11265
+ }
11266
+ /**
11267
+ * A unique identifier for a device bound session event.
11268
+ */
11269
+ export type DeviceBoundSessionEventId = string;
11270
+ /**
11271
+ * A fetch result for a device bound session creation or refresh.
11272
+ */
11273
+ export type DeviceBoundSessionFetchResult = "Success"|"KeyError"|"SigningError"|"ServerRequestedTermination"|"InvalidSessionId"|"InvalidChallenge"|"TooManyChallenges"|"InvalidFetcherUrl"|"InvalidRefreshUrl"|"TransientHttpError"|"ScopeOriginSameSiteMismatch"|"RefreshUrlSameSiteMismatch"|"MismatchedSessionId"|"MissingScope"|"NoCredentials"|"SubdomainRegistrationWellKnownUnavailable"|"SubdomainRegistrationUnauthorized"|"SubdomainRegistrationWellKnownMalformed"|"SessionProviderWellKnownUnavailable"|"RelyingPartyWellKnownUnavailable"|"FederatedKeyThumbprintMismatch"|"InvalidFederatedSessionUrl"|"InvalidFederatedKey"|"TooManyRelyingOriginLabels"|"BoundCookieSetForbidden"|"NetError"|"ProxyError"|"EmptySessionConfig"|"InvalidCredentialsConfig"|"InvalidCredentialsType"|"InvalidCredentialsEmptyName"|"InvalidCredentialsCookie"|"PersistentHttpError"|"RegistrationAttemptedChallenge"|"InvalidScopeOrigin"|"ScopeOriginContainsPath"|"RefreshInitiatorNotString"|"RefreshInitiatorInvalidHostPattern"|"InvalidScopeSpecification"|"MissingScopeSpecificationType"|"EmptyScopeSpecificationDomain"|"EmptyScopeSpecificationPath"|"InvalidScopeSpecificationType"|"InvalidScopeIncludeSite"|"MissingScopeIncludeSite"|"FederatedNotAuthorizedByProvider"|"FederatedNotAuthorizedByRelyingParty"|"SessionProviderWellKnownMalformed"|"SessionProviderWellKnownHasProviderOrigin"|"RelyingPartyWellKnownMalformed"|"RelyingPartyWellKnownHasRelyingOrigins"|"InvalidFederatedSessionProviderSessionMissing"|"InvalidFederatedSessionWrongProviderOrigin"|"InvalidCredentialsCookieCreationTime"|"InvalidCredentialsCookieName"|"InvalidCredentialsCookieParsing"|"InvalidCredentialsCookieUnpermittedAttribute"|"InvalidCredentialsCookieInvalidDomain"|"InvalidCredentialsCookiePrefix"|"InvalidScopeRulePath"|"InvalidScopeRuleHostPattern"|"ScopeRuleOriginScopedHostPatternMismatch"|"ScopeRuleSiteScopedHostPatternMismatch"|"SigningQuotaExceeded"|"InvalidConfigJson"|"InvalidFederatedSessionProviderFailedToRestoreKey"|"FailedToUnwrapKey"|"SessionDeletedDuringRefresh";
11274
+ /**
11275
+ * Session event details specific to creation.
11276
+ */
11277
+ export interface CreationEventDetails {
11278
+ /**
11279
+ * The result of the fetch attempt.
11280
+ */
11281
+ fetchResult: DeviceBoundSessionFetchResult;
11282
+ /**
11283
+ * The session if there was a newly created session. This is populated for
11284
+ all successful creation events.
11285
+ */
11286
+ newSession?: DeviceBoundSession;
11287
+ }
11288
+ /**
11289
+ * Session event details specific to refresh.
11290
+ */
11291
+ export interface RefreshEventDetails {
11292
+ /**
11293
+ * The result of a refresh.
11294
+ */
11295
+ refreshResult: "Refreshed"|"InitializedService"|"Unreachable"|"ServerError"|"RefreshQuotaExceeded"|"FatalError"|"SigningQuotaExceeded";
11296
+ /**
11297
+ * If there was a fetch attempt, the result of that.
11298
+ */
11299
+ fetchResult?: DeviceBoundSessionFetchResult;
11300
+ /**
11301
+ * The session display if there was a newly created session. This is populated
11302
+ for any refresh event that modifies the session config.
11303
+ */
11304
+ newSession?: DeviceBoundSession;
11305
+ /**
11306
+ * See comments on `net::device_bound_sessions::RefreshEventResult::was_fully_proactive_refresh`.
11307
+ */
11308
+ wasFullyProactiveRefresh: boolean;
11309
+ }
11310
+ /**
11311
+ * Session event details specific to termination.
11312
+ */
11313
+ export interface TerminationEventDetails {
11314
+ /**
11315
+ * The reason for a session being deleted.
11316
+ */
11317
+ deletionReason: "Expired"|"FailedToRestoreKey"|"FailedToUnwrapKey"|"StoragePartitionCleared"|"ClearBrowsingData"|"ServerRequested"|"InvalidSessionParams"|"RefreshFatalError";
11318
+ }
11319
+ /**
11320
+ * Session event details specific to challenges.
11321
+ */
11322
+ export interface ChallengeEventDetails {
11323
+ /**
11324
+ * The result of a challenge.
11325
+ */
11326
+ challengeResult: "Success"|"NoSessionId"|"NoSessionMatch"|"CantSetBoundCookie";
11327
+ /**
11328
+ * The challenge set.
11329
+ */
11330
+ challenge: string;
11331
+ }
11007
11332
  /**
11008
11333
  * An object providing the result of a network resource load.
11009
11334
  */
@@ -11256,6 +11581,10 @@ for the request which was just redirected.
11256
11581
  * Whether the request is initiated by a user gesture. Defaults to false.
11257
11582
  */
11258
11583
  hasUserGesture?: boolean;
11584
+ /**
11585
+ * The render blocking behavior of the request.
11586
+ */
11587
+ renderBlockingBehavior?: RenderBlockingBehavior;
11259
11588
  }
11260
11589
  /**
11261
11590
  * Fired when resource loading priority is changed
@@ -11549,6 +11878,14 @@ or were emitted for this request.
11549
11878
  data: binary;
11550
11879
  timestamp: MonotonicTime;
11551
11880
  }
11881
+ export type directUDPSocketJoinedMulticastGroupPayload = {
11882
+ identifier: RequestId;
11883
+ IPAddress: string;
11884
+ }
11885
+ export type directUDPSocketLeftMulticastGroupPayload = {
11886
+ identifier: RequestId;
11887
+ IPAddress: string;
11888
+ }
11552
11889
  /**
11553
11890
  * Fired upon direct_socket.UDPSocket creation.
11554
11891
  */
@@ -11638,6 +11975,11 @@ the request and the ones not sent; the latter are distinguished by having blocke
11638
11975
  * Whether the site has partitioned cookies stored in a partition different than the current one.
11639
11976
  */
11640
11977
  siteHasCookieInOtherPartition?: boolean;
11978
+ /**
11979
+ * The network conditions id if this request was affected by network conditions configured via
11980
+ emulateNetworkConditionsByRule.
11981
+ */
11982
+ appliedNetworkConditionsId?: string;
11641
11983
  }
11642
11984
  /**
11643
11985
  * Fired when additional information about a responseReceived event is available from the network
@@ -11745,105 +12087,61 @@ preemptively (e.g. a cache hit).
11745
12087
  */
11746
12088
  export type policyUpdatedPayload = void;
11747
12089
  /**
11748
- * Fired once when parsing the .wbn file has succeeded.
11749
- The event contains the information about the web bundle contents.
12090
+ * Is sent whenever a new report is added.
12091
+ And after 'enableReportingApi' for all existing reports.
11750
12092
  */
11751
- export type subresourceWebBundleMetadataReceivedPayload = {
11752
- /**
11753
- * Request identifier. Used to match this information to another event.
11754
- */
11755
- requestId: RequestId;
11756
- /**
11757
- * A list of URLs of resources in the subresource Web Bundle.
11758
- */
11759
- urls: string[];
12093
+ export type reportingApiReportAddedPayload = {
12094
+ report: ReportingApiReport;
11760
12095
  }
11761
- /**
11762
- * Fired once when parsing the .wbn file has failed.
11763
- */
11764
- export type subresourceWebBundleMetadataErrorPayload = {
11765
- /**
11766
- * Request identifier. Used to match this information to another event.
11767
- */
11768
- requestId: RequestId;
12096
+ export type reportingApiReportUpdatedPayload = {
12097
+ report: ReportingApiReport;
12098
+ }
12099
+ export type reportingApiEndpointsChangedForOriginPayload = {
11769
12100
  /**
11770
- * Error message
12101
+ * Origin of the document(s) which configured the endpoints.
11771
12102
  */
11772
- errorMessage: string;
12103
+ origin: string;
12104
+ endpoints: ReportingApiEndpoint[];
11773
12105
  }
11774
12106
  /**
11775
- * Fired when handling requests for resources within a .wbn file.
11776
- Note: this will only be fired for resources that are requested by the webpage.
12107
+ * Triggered when the initial set of device bound sessions is added.
11777
12108
  */
11778
- export type subresourceWebBundleInnerResponseParsedPayload = {
11779
- /**
11780
- * Request identifier of the subresource request
11781
- */
11782
- innerRequestId: RequestId;
12109
+ export type deviceBoundSessionsAddedPayload = {
11783
12110
  /**
11784
- * URL of the subresource resource.
12111
+ * The device bound sessions.
11785
12112
  */
11786
- innerRequestURL: string;
11787
- /**
11788
- * Bundle request identifier. Used to match this information to another event.
11789
- This made be absent in case when the instrumentation was enabled only
11790
- after webbundle was parsed.
11791
- */
11792
- bundleRequestId?: RequestId;
12113
+ sessions: DeviceBoundSession[];
11793
12114
  }
11794
12115
  /**
11795
- * Fired when request for resources within a .wbn file failed.
12116
+ * Triggered when a device bound session event occurs.
11796
12117
  */
11797
- export type subresourceWebBundleInnerResponseErrorPayload = {
12118
+ export type deviceBoundSessionEventOccurredPayload = {
11798
12119
  /**
11799
- * Request identifier of the subresource request
12120
+ * A unique identifier for this session event.
11800
12121
  */
11801
- innerRequestId: RequestId;
12122
+ eventId: DeviceBoundSessionEventId;
11802
12123
  /**
11803
- * URL of the subresource resource.
12124
+ * The site this session event is associated with.
11804
12125
  */
11805
- innerRequestURL: string;
12126
+ site: string;
11806
12127
  /**
11807
- * Error message
12128
+ * Whether this event was considered successful.
11808
12129
  */
11809
- errorMessage: string;
12130
+ succeeded: boolean;
11810
12131
  /**
11811
- * Bundle request identifier. Used to match this information to another event.
11812
- This made be absent in case when the instrumentation was enabled only
11813
- after webbundle was parsed.
12132
+ * The session ID this event is associated with. May not be populated for
12133
+ failed events.
11814
12134
  */
11815
- bundleRequestId?: RequestId;
11816
- }
11817
- /**
11818
- * Is sent whenever a new report is added.
11819
- And after 'enableReportingApi' for all existing reports.
11820
- */
11821
- export type reportingApiReportAddedPayload = {
11822
- report: ReportingApiReport;
11823
- }
11824
- export type reportingApiReportUpdatedPayload = {
11825
- report: ReportingApiReport;
11826
- }
11827
- export type reportingApiEndpointsChangedForOriginPayload = {
12135
+ sessionId?: string;
11828
12136
  /**
11829
- * Origin of the document(s) which configured the endpoints.
12137
+ * The below are the different session event type details. Exactly one is populated.
11830
12138
  */
11831
- origin: string;
11832
- endpoints: ReportingApiEndpoint[];
12139
+ creationEventDetails?: CreationEventDetails;
12140
+ refreshEventDetails?: RefreshEventDetails;
12141
+ terminationEventDetails?: TerminationEventDetails;
12142
+ challengeEventDetails?: ChallengeEventDetails;
11833
12143
  }
11834
12144
 
11835
- /**
11836
- * Returns enum representing if IP Proxy of requests is available
11837
- or reason it is not active.
11838
- */
11839
- export type getIPProtectionProxyStatusParameters = {
11840
- }
11841
- export type getIPProtectionProxyStatusReturnValue = {
11842
- /**
11843
- * Whether IP proxy is available
11844
- */
11845
- status: IpProxyStatus;
11846
- }
11847
12145
  /**
11848
12146
  * Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
11849
12147
  */
@@ -11992,7 +12290,8 @@ all partition key attributes match the cookie partition key attribute.
11992
12290
  export type disableReturnValue = {
11993
12291
  }
11994
12292
  /**
11995
- * Activates emulation of network conditions.
12293
+ * Activates emulation of network conditions. This command is deprecated in favor of the emulateNetworkConditionsByRule
12294
+ and overrideNetworkState commands, which can be used together to the same effect.
11996
12295
  */
11997
12296
  export type emulateNetworkConditionsParameters = {
11998
12297
  /**
@@ -12030,6 +12329,57 @@ all partition key attributes match the cookie partition key attribute.
12030
12329
  }
12031
12330
  export type emulateNetworkConditionsReturnValue = {
12032
12331
  }
12332
+ /**
12333
+ * Activates emulation of network conditions for individual requests using URL match patterns. Unlike the deprecated
12334
+ Network.emulateNetworkConditions this method does not affect `navigator` state. Use Network.overrideNetworkState to
12335
+ explicitly modify `navigator` behavior.
12336
+ */
12337
+ export type emulateNetworkConditionsByRuleParameters = {
12338
+ /**
12339
+ * True to emulate internet disconnection.
12340
+ */
12341
+ offline: boolean;
12342
+ /**
12343
+ * Configure conditions for matching requests. If multiple entries match a request, the first entry wins. Global
12344
+ conditions can be configured by leaving the urlPattern for the conditions empty. These global conditions are
12345
+ also applied for throttling of p2p connections.
12346
+ */
12347
+ matchedNetworkConditions: NetworkConditions[];
12348
+ }
12349
+ export type emulateNetworkConditionsByRuleReturnValue = {
12350
+ /**
12351
+ * An id for each entry in matchedNetworkConditions. The id will be included in the requestWillBeSentExtraInfo for
12352
+ requests affected by a rule.
12353
+ */
12354
+ ruleIds: string[];
12355
+ }
12356
+ /**
12357
+ * Override the state of navigator.onLine and navigator.connection.
12358
+ */
12359
+ export type overrideNetworkStateParameters = {
12360
+ /**
12361
+ * True to emulate internet disconnection.
12362
+ */
12363
+ offline: boolean;
12364
+ /**
12365
+ * Minimum latency from request sent to response headers received (ms).
12366
+ */
12367
+ latency: number;
12368
+ /**
12369
+ * Maximal aggregated download throughput (bytes/sec). -1 disables download throttling.
12370
+ */
12371
+ downloadThroughput: number;
12372
+ /**
12373
+ * Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling.
12374
+ */
12375
+ uploadThroughput: number;
12376
+ /**
12377
+ * Connection type if known.
12378
+ */
12379
+ connectionType?: ConnectionType;
12380
+ }
12381
+ export type overrideNetworkStateReturnValue = {
12382
+ }
12033
12383
  /**
12034
12384
  * Enables network tracking, network events will now be delivered to the client.
12035
12385
  */
@@ -12053,12 +12403,31 @@ all partition key attributes match the cookie partition key attribute.
12053
12403
  /**
12054
12404
  * Enable storing response bodies outside of renderer, so that these survive
12055
12405
  a cross-process navigation. Requires maxTotalBufferSize to be set.
12056
- Currently defaults to false.
12406
+ Currently defaults to false. This field is being deprecated in favor of the dedicated
12407
+ configureDurableMessages command, due to the possibility of deadlocks when awaiting
12408
+ Network.enable before issuing Runtime.runIfWaitingForDebugger.
12057
12409
  */
12058
12410
  enableDurableMessages?: boolean;
12059
12411
  }
12060
12412
  export type enableReturnValue = {
12061
12413
  }
12414
+ /**
12415
+ * Configures storing response bodies outside of renderer, so that these survive
12416
+ a cross-process navigation.
12417
+ If maxTotalBufferSize is not set, durable messages are disabled.
12418
+ */
12419
+ export type configureDurableMessagesParameters = {
12420
+ /**
12421
+ * Buffer size in bytes to use when preserving network payloads (XHRs, etc).
12422
+ */
12423
+ maxTotalBufferSize?: number;
12424
+ /**
12425
+ * Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
12426
+ */
12427
+ maxResourceBufferSize?: number;
12428
+ }
12429
+ export type configureDurableMessagesReturnValue = {
12430
+ }
12062
12431
  /**
12063
12432
  * Returns all browser cookies. Depending on the backend support, will return detailed cookie
12064
12433
  information in the `cookies` field.
@@ -12135,6 +12504,10 @@ the URLs of the page and all of its subframes.
12135
12504
  * Request body string, omitting files from multipart requests
12136
12505
  */
12137
12506
  postData: string;
12507
+ /**
12508
+ * True, if content was sent as base64.
12509
+ */
12510
+ base64Encoded: boolean;
12138
12511
  }
12139
12512
  /**
12140
12513
  * Returns content served for the given currently intercepted request.
@@ -12211,10 +12584,15 @@ attribute, user, password.
12211
12584
  * Blocks URLs from loading.
12212
12585
  */
12213
12586
  export type setBlockedURLsParameters = {
12587
+ /**
12588
+ * Patterns to match in the order in which they are given. These patterns
12589
+ also take precedence over any wildcard patterns defined in `urls`.
12590
+ */
12591
+ urlPatterns?: BlockPattern[];
12214
12592
  /**
12215
12593
  * URL patterns to block. Wildcards ('*') are allowed.
12216
12594
  */
12217
- urls: string[];
12595
+ urls?: string[];
12218
12596
  }
12219
12597
  export type setBlockedURLsReturnValue = {
12220
12598
  }
@@ -12419,6 +12797,32 @@ Enabling triggers 'reportingApiReportAdded' for all existing reports.
12419
12797
  }
12420
12798
  export type enableReportingApiReturnValue = {
12421
12799
  }
12800
+ /**
12801
+ * Sets up tracking device bound sessions and fetching of initial set of sessions.
12802
+ */
12803
+ export type enableDeviceBoundSessionsParameters = {
12804
+ /**
12805
+ * Whether to enable or disable events.
12806
+ */
12807
+ enable: boolean;
12808
+ }
12809
+ export type enableDeviceBoundSessionsReturnValue = {
12810
+ }
12811
+ /**
12812
+ * Fetches the schemeful site for a specific origin.
12813
+ */
12814
+ export type fetchSchemefulSiteParameters = {
12815
+ /**
12816
+ * The URL origin.
12817
+ */
12818
+ origin: string;
12819
+ }
12820
+ export type fetchSchemefulSiteReturnValue = {
12821
+ /**
12822
+ * The corresponding schemeful site.
12823
+ */
12824
+ schemefulSite: string;
12825
+ }
12422
12826
  /**
12423
12827
  * Fetches the resource and returns the content.
12424
12828
  */
@@ -12465,7 +12869,7 @@ Page reload is required before the new cookie behavior will be observed
12465
12869
  /**
12466
12870
  * This domain provides various functionality related to drawing atop the inspected page.
12467
12871
  */
12468
- export module Overlay {
12872
+ export namespace Overlay {
12469
12873
  /**
12470
12874
  * Configuration data for drawing the source order of an elements children.
12471
12875
  */
@@ -13291,7 +13695,7 @@ Backend then generates 'inspectNodeRequested' event upon element selection.
13291
13695
  /**
13292
13696
  * This domain allows interacting with the browser to control PWAs.
13293
13697
  */
13294
- export module PWA {
13698
+ export namespace PWA {
13295
13699
  /**
13296
13700
  * The following types are the replica of
13297
13701
  https://crsrc.org/c/chrome/browser/web_applications/proto/web_app_os_integration_state.proto;drc=9910d3be894c8f142c977ba1023f30a656bc13fc;l=67
@@ -13351,7 +13755,8 @@ reinstallation.
13351
13755
 
13352
13756
  To generate bundle id for proxy mode:
13353
13757
  1. Generate 32 random bytes.
13354
- 2. Add a specific suffix 0x00 at the end.
13758
+ 2. Add a specific suffix at the end following the documentation
13759
+ https://github.com/WICG/isolated-web-apps/blob/main/Scheme.md#suffix
13355
13760
  3. Encode the entire sequence using Base32 without padding.
13356
13761
 
13357
13762
  If Chrome is not in IWA dev
@@ -13461,7 +13866,7 @@ supported yet.
13461
13866
  /**
13462
13867
  * Actions and events related to the inspected page belong to the page domain.
13463
13868
  */
13464
- export module Page {
13869
+ export namespace Page {
13465
13870
  /**
13466
13871
  * Unique frame identifier.
13467
13872
  */
@@ -13527,7 +13932,7 @@ available.
13527
13932
  in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
13528
13933
  LINT.IfChange(PermissionsPolicyFeature)
13529
13934
  */
13530
- export type PermissionsPolicyFeature = "accelerometer"|"all-screens-capture"|"ambient-light-sensor"|"aria-notify"|"attribution-reporting"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"captured-surface-control"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-prefers-reduced-transparency"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-high-entropy-values"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factors"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"compute-pressure"|"controlled-frame"|"cross-origin-isolated"|"deferred-fetch"|"deferred-fetch-minimal"|"device-attributes"|"digital-credentials-create"|"digital-credentials-get"|"direct-sockets"|"direct-sockets-private"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"fenced-unpartitioned-storage-read"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"language-detector"|"language-model"|"local-fonts"|"local-network-access"|"magnetometer"|"media-playback-while-not-visible"|"microphone"|"midi"|"on-device-speech-recognition"|"otp-credentials"|"payment"|"picture-in-picture"|"popins"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-create"|"publickey-credentials-get"|"record-ad-auction-events"|"rewriter"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"speaker-selection"|"storage-access"|"sub-apps"|"summarizer"|"sync-xhr"|"translator"|"unload"|"usb"|"usb-unrestricted"|"vertical-scroll"|"web-app-installation"|"web-printing"|"web-share"|"window-management"|"writer"|"xr-spatial-tracking";
13935
+ export type PermissionsPolicyFeature = "accelerometer"|"all-screens-capture"|"ambient-light-sensor"|"aria-notify"|"attribution-reporting"|"autofill"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"captured-surface-control"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-prefers-reduced-transparency"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-high-entropy-values"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factors"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"compute-pressure"|"controlled-frame"|"cross-origin-isolated"|"deferred-fetch"|"deferred-fetch-minimal"|"device-attributes"|"digital-credentials-create"|"digital-credentials-get"|"direct-sockets"|"direct-sockets-multicast"|"direct-sockets-private"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"fenced-unpartitioned-storage-read"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"language-detector"|"language-model"|"local-fonts"|"local-network"|"local-network-access"|"loopback-network"|"magnetometer"|"manual-text"|"media-playback-while-not-visible"|"microphone"|"midi"|"on-device-speech-recognition"|"otp-credentials"|"payment"|"picture-in-picture"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-create"|"publickey-credentials-get"|"record-ad-auction-events"|"rewriter"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"speaker-selection"|"storage-access"|"sub-apps"|"summarizer"|"sync-xhr"|"translator"|"unload"|"usb"|"usb-unrestricted"|"vertical-scroll"|"web-app-installation"|"web-printing"|"web-share"|"window-management"|"writer"|"xr-spatial-tracking";
13531
13936
  /**
13532
13937
  * Reason for a permissions policy feature to be disabled.
13533
13938
  */
@@ -14126,7 +14531,7 @@ https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-expl
14126
14531
  /**
14127
14532
  * List of not restored reasons for back-forward cache.
14128
14533
  */
14129
- export type BackForwardCacheNotRestoredReason = "NotPrimaryMainFrame"|"BackForwardCacheDisabled"|"RelatedActiveContentsExist"|"HTTPStatusNotOK"|"SchemeNotHTTPOrHTTPS"|"Loading"|"WasGrantedMediaAccess"|"DisableForRenderFrameHostCalled"|"DomainNotAllowed"|"HTTPMethodNotGET"|"SubframeIsNavigating"|"Timeout"|"CacheLimit"|"JavaScriptExecution"|"RendererProcessKilled"|"RendererProcessCrashed"|"SchedulerTrackedFeatureUsed"|"ConflictingBrowsingInstance"|"CacheFlushed"|"ServiceWorkerVersionActivation"|"SessionRestored"|"ServiceWorkerPostMessage"|"EnteredBackForwardCacheBeforeServiceWorkerHostAdded"|"RenderFrameHostReused_SameSite"|"RenderFrameHostReused_CrossSite"|"ServiceWorkerClaim"|"IgnoreEventAndEvict"|"HaveInnerContents"|"TimeoutPuttingInCache"|"BackForwardCacheDisabledByLowMemory"|"BackForwardCacheDisabledByCommandLine"|"NetworkRequestDatapipeDrainedAsBytesConsumer"|"NetworkRequestRedirected"|"NetworkRequestTimeout"|"NetworkExceedsBufferLimit"|"NavigationCancelledWhileRestoring"|"NotMostRecentNavigationEntry"|"BackForwardCacheDisabledForPrerender"|"UserAgentOverrideDiffers"|"ForegroundCacheLimit"|"BrowsingInstanceNotSwapped"|"BackForwardCacheDisabledForDelegate"|"UnloadHandlerExistsInMainFrame"|"UnloadHandlerExistsInSubFrame"|"ServiceWorkerUnregistration"|"CacheControlNoStore"|"CacheControlNoStoreCookieModified"|"CacheControlNoStoreHTTPOnlyCookieModified"|"NoResponseHead"|"Unknown"|"ActivationNavigationsDisallowedForBug1234857"|"ErrorDocument"|"FencedFramesEmbedder"|"CookieDisabled"|"HTTPAuthRequired"|"CookieFlushed"|"BroadcastChannelOnMessage"|"WebViewSettingsChanged"|"WebViewJavaScriptObjectChanged"|"WebViewMessageListenerInjected"|"WebViewSafeBrowsingAllowlistChanged"|"WebViewDocumentStartJavascriptChanged"|"WebSocket"|"WebTransport"|"WebRTC"|"MainResourceHasCacheControlNoStore"|"MainResourceHasCacheControlNoCache"|"SubresourceHasCacheControlNoStore"|"SubresourceHasCacheControlNoCache"|"ContainsPlugins"|"DocumentLoaded"|"OutstandingNetworkRequestOthers"|"RequestedMIDIPermission"|"RequestedAudioCapturePermission"|"RequestedVideoCapturePermission"|"RequestedBackForwardCacheBlockedSensors"|"RequestedBackgroundWorkPermission"|"BroadcastChannel"|"WebXR"|"SharedWorker"|"SharedWorkerMessage"|"WebLocks"|"WebHID"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"KeepaliveRequest"|"IndexedDBEvent"|"Dummy"|"JsNetworkRequestReceivedCacheControlNoStoreResource"|"WebRTCUsedWithCCNS"|"WebTransportUsedWithCCNS"|"WebSocketUsedWithCCNS"|"SmartCard"|"LiveMediaStreamTrack"|"UnloadHandler"|"ParserAborted"|"ContentSecurityHandler"|"ContentWebAuthenticationAPI"|"ContentFileChooser"|"ContentSerial"|"ContentFileSystemAccess"|"ContentMediaDevicesDispatcherHost"|"ContentWebBluetooth"|"ContentWebUSB"|"ContentMediaSessionService"|"ContentScreenReader"|"ContentDiscarded"|"EmbedderPopupBlockerTabHelper"|"EmbedderSafeBrowsingTriggeredPopupBlocker"|"EmbedderSafeBrowsingThreatDetails"|"EmbedderAppBannerManager"|"EmbedderDomDistillerViewerSource"|"EmbedderDomDistillerSelfDeletingRequestDelegate"|"EmbedderOomInterventionTabHelper"|"EmbedderOfflinePage"|"EmbedderChromePasswordManagerClientBindCredentialManager"|"EmbedderPermissionRequestManager"|"EmbedderModalDialog"|"EmbedderExtensions"|"EmbedderExtensionMessaging"|"EmbedderExtensionMessagingForOpenPort"|"EmbedderExtensionSentMessageToCachedFrame"|"RequestedByWebViewClient"|"PostMessageByWebViewClient"|"CacheControlNoStoreDeviceBoundSessionTerminated"|"CacheLimitPrunedOnModerateMemoryPressure"|"CacheLimitPrunedOnCriticalMemoryPressure";
14534
+ export type BackForwardCacheNotRestoredReason = "NotPrimaryMainFrame"|"BackForwardCacheDisabled"|"RelatedActiveContentsExist"|"HTTPStatusNotOK"|"SchemeNotHTTPOrHTTPS"|"Loading"|"WasGrantedMediaAccess"|"DisableForRenderFrameHostCalled"|"DomainNotAllowed"|"HTTPMethodNotGET"|"SubframeIsNavigating"|"Timeout"|"CacheLimit"|"JavaScriptExecution"|"RendererProcessKilled"|"RendererProcessCrashed"|"SchedulerTrackedFeatureUsed"|"ConflictingBrowsingInstance"|"CacheFlushed"|"ServiceWorkerVersionActivation"|"SessionRestored"|"ServiceWorkerPostMessage"|"EnteredBackForwardCacheBeforeServiceWorkerHostAdded"|"RenderFrameHostReused_SameSite"|"RenderFrameHostReused_CrossSite"|"ServiceWorkerClaim"|"IgnoreEventAndEvict"|"HaveInnerContents"|"TimeoutPuttingInCache"|"BackForwardCacheDisabledByLowMemory"|"BackForwardCacheDisabledByCommandLine"|"NetworkRequestDatapipeDrainedAsBytesConsumer"|"NetworkRequestRedirected"|"NetworkRequestTimeout"|"NetworkExceedsBufferLimit"|"NavigationCancelledWhileRestoring"|"NotMostRecentNavigationEntry"|"BackForwardCacheDisabledForPrerender"|"UserAgentOverrideDiffers"|"ForegroundCacheLimit"|"BrowsingInstanceNotSwapped"|"BackForwardCacheDisabledForDelegate"|"UnloadHandlerExistsInMainFrame"|"UnloadHandlerExistsInSubFrame"|"ServiceWorkerUnregistration"|"CacheControlNoStore"|"CacheControlNoStoreCookieModified"|"CacheControlNoStoreHTTPOnlyCookieModified"|"NoResponseHead"|"Unknown"|"ActivationNavigationsDisallowedForBug1234857"|"ErrorDocument"|"FencedFramesEmbedder"|"CookieDisabled"|"HTTPAuthRequired"|"CookieFlushed"|"BroadcastChannelOnMessage"|"WebViewSettingsChanged"|"WebViewJavaScriptObjectChanged"|"WebViewMessageListenerInjected"|"WebViewSafeBrowsingAllowlistChanged"|"WebViewDocumentStartJavascriptChanged"|"WebSocket"|"WebTransport"|"WebRTC"|"MainResourceHasCacheControlNoStore"|"MainResourceHasCacheControlNoCache"|"SubresourceHasCacheControlNoStore"|"SubresourceHasCacheControlNoCache"|"ContainsPlugins"|"DocumentLoaded"|"OutstandingNetworkRequestOthers"|"RequestedMIDIPermission"|"RequestedAudioCapturePermission"|"RequestedVideoCapturePermission"|"RequestedBackForwardCacheBlockedSensors"|"RequestedBackgroundWorkPermission"|"BroadcastChannel"|"WebXR"|"SharedWorker"|"SharedWorkerMessage"|"SharedWorkerWithNoActiveClient"|"WebLocks"|"WebHID"|"WebBluetooth"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"KeepaliveRequest"|"IndexedDBEvent"|"Dummy"|"JsNetworkRequestReceivedCacheControlNoStoreResource"|"WebRTCUsedWithCCNS"|"WebTransportUsedWithCCNS"|"WebSocketUsedWithCCNS"|"SmartCard"|"LiveMediaStreamTrack"|"UnloadHandler"|"ParserAborted"|"ContentSecurityHandler"|"ContentWebAuthenticationAPI"|"ContentFileChooser"|"ContentSerial"|"ContentFileSystemAccess"|"ContentMediaDevicesDispatcherHost"|"ContentWebBluetooth"|"ContentWebUSB"|"ContentMediaSessionService"|"ContentScreenReader"|"ContentDiscarded"|"EmbedderPopupBlockerTabHelper"|"EmbedderSafeBrowsingTriggeredPopupBlocker"|"EmbedderSafeBrowsingThreatDetails"|"EmbedderAppBannerManager"|"EmbedderDomDistillerViewerSource"|"EmbedderDomDistillerSelfDeletingRequestDelegate"|"EmbedderOomInterventionTabHelper"|"EmbedderOfflinePage"|"EmbedderChromePasswordManagerClientBindCredentialManager"|"EmbedderPermissionRequestManager"|"EmbedderModalDialog"|"EmbedderExtensions"|"EmbedderExtensionMessaging"|"EmbedderExtensionMessagingForOpenPort"|"EmbedderExtensionSentMessageToCachedFrame"|"RequestedByWebViewClient"|"PostMessageByWebViewClient"|"CacheControlNoStoreDeviceBoundSessionTerminated"|"CacheLimitPrunedOnModerateMemoryPressure"|"CacheLimitPrunedOnCriticalMemoryPressure";
14130
14535
  /**
14131
14536
  * Types of not restored reasons for back-forward cache.
14132
14537
  */
@@ -15561,9 +15966,27 @@ TODO(https://crbug.com/1440085): Remove this once Puppeteer supports tab targets
15561
15966
  }
15562
15967
  export type setPrerenderingAllowedReturnValue = {
15563
15968
  }
15969
+ /**
15970
+ * Get the annotated page content for the main frame.
15971
+ This is an experimental command that is subject to change.
15972
+ */
15973
+ export type getAnnotatedPageContentParameters = {
15974
+ /**
15975
+ * Whether to include actionable information. Defaults to true.
15976
+ */
15977
+ includeActionableInformation?: boolean;
15978
+ }
15979
+ export type getAnnotatedPageContentReturnValue = {
15980
+ /**
15981
+ * The annotated page content as a base64 encoded protobuf.
15982
+ The format is defined by the `AnnotatedPageContent` message in
15983
+ components/optimization_guide/proto/features/common_quality_data.proto
15984
+ */
15985
+ content: binary;
15986
+ }
15564
15987
  }
15565
15988
 
15566
- export module Performance {
15989
+ export namespace Performance {
15567
15990
  /**
15568
15991
  * Run-time execution metric.
15569
15992
  */
@@ -15640,7 +16063,7 @@ this method while metrics collection is enabled returns an error.
15640
16063
  * Reporting of performance timeline events, as specified in
15641
16064
  https://w3c.github.io/performance-timeline/#dom-performanceobserver.
15642
16065
  */
15643
- export module PerformanceTimeline {
16066
+ export namespace PerformanceTimeline {
15644
16067
  /**
15645
16068
  * See https://github.com/WICG/LargestContentfulPaint and largest_contentful_paint.idl
15646
16069
  */
@@ -15729,7 +16152,7 @@ Note that not all types exposed to the web platform are currently supported.
15729
16152
  }
15730
16153
  }
15731
16154
 
15732
- export module Preload {
16155
+ export namespace Preload {
15733
16156
  /**
15734
16157
  * Unique id
15735
16158
  */
@@ -15777,6 +16200,11 @@ See also:
15777
16200
  * TODO(https://crbug.com/1425354): Replace this property with structured error.
15778
16201
  */
15779
16202
  errorMessage?: string;
16203
+ /**
16204
+ * For more details, see:
16205
+ https://github.com/WICG/nav-speculation/blob/main/speculation-rules-tags.md
16206
+ */
16207
+ tag?: string;
15780
16208
  }
15781
16209
  export type RuleSetErrorType = "SourceIsNotJsonObject"|"InvalidRulesSkipped"|"InvalidRulesetLevelTag";
15782
16210
  /**
@@ -15784,7 +16212,7 @@ See also:
15784
16212
  mojom::SpeculationAction (although PrefetchWithSubresources is omitted as it
15785
16213
  isn't being used by clients).
15786
16214
  */
15787
- export type SpeculationAction = "Prefetch"|"Prerender";
16215
+ export type SpeculationAction = "Prefetch"|"Prerender"|"PrerenderUntilScript";
15788
16216
  /**
15789
16217
  * Corresponds to mojom::SpeculationTargetHint.
15790
16218
  See https://github.com/WICG/nav-speculation/blob/main/triggers.md#window-name-targeting-hints
@@ -15916,7 +16344,7 @@ that is incompatible with prerender and has caused the cancellation of the attem
15916
16344
  }
15917
16345
  }
15918
16346
 
15919
- export module Security {
16347
+ export namespace Security {
15920
16348
  /**
15921
16349
  * An internal certificate ID value.
15922
16350
  */
@@ -16221,7 +16649,7 @@ be handled by the DevTools client and should be answered with `handleCertificate
16221
16649
  }
16222
16650
  }
16223
16651
 
16224
- export module ServiceWorker {
16652
+ export namespace ServiceWorker {
16225
16653
  export type RegistrationID = string;
16226
16654
  /**
16227
16655
  * ServiceWorker registration.
@@ -16343,7 +16771,7 @@ For cached script it is the last time the cache entry was validated.
16343
16771
  }
16344
16772
  }
16345
16773
 
16346
- export module Storage {
16774
+ export namespace Storage {
16347
16775
  export type SerializedStorageKey = string;
16348
16776
  /**
16349
16777
  * Enum of possible storage types.
@@ -17003,6 +17431,7 @@ associated shared storage worklet.
17003
17431
 
17004
17432
  /**
17005
17433
  * Returns a storage key given a frame id.
17434
+ Deprecated. Please use Storage.getStorageKey instead.
17006
17435
  */
17007
17436
  export type getStorageKeyForFrameParameters = {
17008
17437
  frameId: Page.FrameId;
@@ -17010,6 +17439,16 @@ associated shared storage worklet.
17010
17439
  export type getStorageKeyForFrameReturnValue = {
17011
17440
  storageKey: SerializedStorageKey;
17012
17441
  }
17442
+ /**
17443
+ * Returns storage key for the given frame. If no frame ID is provided,
17444
+ the storage key of the target executing this command is returned.
17445
+ */
17446
+ export type getStorageKeyParameters = {
17447
+ frameId?: Page.FrameId;
17448
+ }
17449
+ export type getStorageKeyReturnValue = {
17450
+ storageKey: SerializedStorageKey;
17451
+ }
17013
17452
  /**
17014
17453
  * Clears storage for origin.
17015
17454
  */
@@ -17437,7 +17876,7 @@ party URL, only the first-party URL is returned in the array.
17437
17876
  /**
17438
17877
  * The SystemInfo domain defines methods and events for querying low-level system information.
17439
17878
  */
17440
- export module SystemInfo {
17879
+ export namespace SystemInfo {
17441
17880
  /**
17442
17881
  * Describes a single graphics processor (GPU).
17443
17882
  */
@@ -17535,28 +17974,6 @@ resolution and maximum framerate.
17535
17974
  * Image format of a given image.
17536
17975
  */
17537
17976
  export type ImageType = "jpeg"|"webp"|"unknown";
17538
- /**
17539
- * Describes a supported image decoding profile with its associated minimum and
17540
- maximum resolutions and subsampling.
17541
- */
17542
- export interface ImageDecodeAcceleratorCapability {
17543
- /**
17544
- * Image coded, e.g. Jpeg.
17545
- */
17546
- imageType: ImageType;
17547
- /**
17548
- * Maximum supported dimensions of the image in pixels.
17549
- */
17550
- maxDimensions: Size;
17551
- /**
17552
- * Minimum supported dimensions of the image in pixels.
17553
- */
17554
- minDimensions: Size;
17555
- /**
17556
- * Optional array of supported subsampling formats, e.g. 4:2:0, if known.
17557
- */
17558
- subsamplings: SubsamplingFormat[];
17559
- }
17560
17977
  /**
17561
17978
  * Provides information about the GPU(s) on the system.
17562
17979
  */
@@ -17585,10 +18002,6 @@ maximum resolutions and subsampling.
17585
18002
  * Supported accelerated video encoding capabilities.
17586
18003
  */
17587
18004
  videoEncoding: VideoEncodeAcceleratorCapability[];
17588
- /**
17589
- * Supported accelerated image decoding capabilities.
17590
- */
17591
- imageDecoding: ImageDecodeAcceleratorCapability[];
17592
18005
  }
17593
18006
  /**
17594
18007
  * Represents process info.
@@ -17661,7 +18074,7 @@ supported.
17661
18074
  /**
17662
18075
  * Supports additional targets discovery and allows to attach to them.
17663
18076
  */
17664
- export module Target {
18077
+ export namespace Target {
17665
18078
  export type TargetID = string;
17666
18079
  /**
17667
18080
  * Unique identifier of attached debugging session.
@@ -17918,6 +18331,10 @@ Parts of the URL other than those constituting origin are ignored.
17918
18331
  * An array of browser context ids.
17919
18332
  */
17920
18333
  browserContextIds: Browser.BrowserContextID[];
18334
+ /**
18335
+ * The id of the default browser context if available.
18336
+ */
18337
+ defaultBrowserContextId?: Browser.BrowserContextID;
17921
18338
  }
17922
18339
  /**
17923
18340
  * Creates a new page.
@@ -18134,6 +18551,22 @@ to run paused targets.
18134
18551
  }
18135
18552
  export type setRemoteLocationsReturnValue = {
18136
18553
  }
18554
+ /**
18555
+ * Gets the targetId of the DevTools page target opened for the given target
18556
+ (if any).
18557
+ */
18558
+ export type getDevToolsTargetParameters = {
18559
+ /**
18560
+ * Page or tab target ID.
18561
+ */
18562
+ targetId: TargetID;
18563
+ }
18564
+ export type getDevToolsTargetReturnValue = {
18565
+ /**
18566
+ * The targetId of DevTools page target if exists.
18567
+ */
18568
+ targetId?: TargetID;
18569
+ }
18137
18570
  /**
18138
18571
  * Opens a DevTools window for the target.
18139
18572
  */
@@ -18142,6 +18575,12 @@ to run paused targets.
18142
18575
  * This can be the page or tab target ID.
18143
18576
  */
18144
18577
  targetId: TargetID;
18578
+ /**
18579
+ * The id of the panel we want DevTools to open initially. Currently
18580
+ supported panels are elements, console, network, sources, resources
18581
+ and performance.
18582
+ */
18583
+ panelId?: string;
18145
18584
  }
18146
18585
  export type openDevToolsReturnValue = {
18147
18586
  /**
@@ -18154,7 +18593,7 @@ to run paused targets.
18154
18593
  /**
18155
18594
  * The Tethering domain defines methods and events for browser port binding.
18156
18595
  */
18157
- export module Tethering {
18596
+ export namespace Tethering {
18158
18597
 
18159
18598
  /**
18160
18599
  * Informs that port was successfully bound and got a specified connection id.
@@ -18194,7 +18633,7 @@ to run paused targets.
18194
18633
  }
18195
18634
  }
18196
18635
 
18197
- export module Tracing {
18636
+ export namespace Tracing {
18198
18637
  /**
18199
18638
  * Configuration for memory dump. Used only when "memory-infra" category is enabled.
18200
18639
  */
@@ -18327,6 +18766,17 @@ buffer wrapped around.
18327
18766
  */
18328
18767
  categories: string[];
18329
18768
  }
18769
+ /**
18770
+ * Return a descriptor for all available tracing categories.
18771
+ */
18772
+ export type getTrackEventDescriptorParameters = {
18773
+ }
18774
+ export type getTrackEventDescriptorReturnValue = {
18775
+ /**
18776
+ * Base64-encoded serialized perfetto.protos.TrackEventDescriptor protobuf message.
18777
+ */
18778
+ descriptor: binary;
18779
+ }
18330
18780
  /**
18331
18781
  * Record a clock sync marker in the trace.
18332
18782
  */
@@ -18412,7 +18862,7 @@ are ignored.
18412
18862
  * This domain allows inspection of Web Audio API.
18413
18863
  https://webaudio.github.io/web-audio-api/
18414
18864
  */
18415
- export module WebAudio {
18865
+ export namespace WebAudio {
18416
18866
  /**
18417
18867
  * An unique ID for a graph object (AudioContext, AudioNode, AudioParam) in Web Audio API
18418
18868
  */
@@ -18649,7 +19099,7 @@ capacity and glitch may occur.
18649
19099
  * This domain allows configuring virtual authenticators to test the WebAuthn
18650
19100
  API.
18651
19101
  */
18652
- export module WebAuthn {
19102
+ export namespace WebAuthn {
18653
19103
  export type AuthenticatorId = string;
18654
19104
  export type AuthenticatorProtocol = "u2f"|"ctap2";
18655
19105
  export type Ctap2Version = "ctap2_0"|"ctap2_1";
@@ -18946,7 +19396,7 @@ https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties
18946
19396
  /**
18947
19397
  * This domain is deprecated - use Runtime or Log instead.
18948
19398
  */
18949
- export module Console {
19399
+ export namespace Console {
18950
19400
  /**
18951
19401
  * Console message.
18952
19402
  */
@@ -19015,7 +19465,7 @@ https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties
19015
19465
  * Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing
19016
19466
  breakpoints, stepping through execution, exploring stack traces, etc.
19017
19467
  */
19018
- export module Debugger {
19468
+ export namespace Debugger {
19019
19469
  /**
19020
19470
  * Breakpoint identifier.
19021
19471
  */
@@ -20042,7 +20492,7 @@ before next pause.
20042
20492
  }
20043
20493
  }
20044
20494
 
20045
- export module HeapProfiler {
20495
+ export namespace HeapProfiler {
20046
20496
  /**
20047
20497
  * Heap snapshot object id.
20048
20498
  */
@@ -20187,6 +20637,10 @@ $x functions).
20187
20637
  default value is 32768 bytes.
20188
20638
  */
20189
20639
  samplingInterval?: number;
20640
+ /**
20641
+ * Maximum stack depth. The default value is 128.
20642
+ */
20643
+ stackDepth?: number;
20190
20644
  /**
20191
20645
  * By default, the sampling heap profiler reports only objects which are
20192
20646
  still alive when the profile is returned via getSamplingProfile or
@@ -20267,7 +20721,7 @@ Deprecated in favor of `exposeInternals`.
20267
20721
  }
20268
20722
  }
20269
20723
 
20270
- export module Profiler {
20724
+ export namespace Profiler {
20271
20725
  /**
20272
20726
  * Profile node. Holds callsite information, execution statistics and child nodes.
20273
20727
  */
@@ -20537,7 +20991,7 @@ and unique identifier that can be used for further object reference. Original ob
20537
20991
  maintained in memory unless they are either explicitly released or are released along with the
20538
20992
  other objects in their object group.
20539
20993
  */
20540
- export module Runtime {
20994
+ export namespace Runtime {
20541
20995
  /**
20542
20996
  * Unique script identifier.
20543
20997
  */
@@ -20594,7 +21048,7 @@ per value in the scope of one CDP call.
20594
21048
  NOTE: If you change anything here, make sure to also update
20595
21049
  `subtype` in `ObjectPreview` and `PropertyPreview` below.
20596
21050
  */
20597
- subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue";
21051
+ subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue"|"trustedtype";
20598
21052
  /**
20599
21053
  * Object class (constructor) name. Specified for `object` type values only.
20600
21054
  */
@@ -20650,7 +21104,7 @@ The result value is json ML array.
20650
21104
  /**
20651
21105
  * Object subtype hint. Specified for `object` type values only.
20652
21106
  */
20653
- subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue";
21107
+ subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue"|"trustedtype";
20654
21108
  /**
20655
21109
  * String representation of the object.
20656
21110
  */
@@ -20688,7 +21142,7 @@ The result value is json ML array.
20688
21142
  /**
20689
21143
  * Object subtype hint. Specified for `object` type values only.
20690
21144
  */
20691
- subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue";
21145
+ subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue"|"trustedtype";
20692
21146
  }
20693
21147
  export interface EntryPreview {
20694
21148
  /**
@@ -21596,7 +22050,7 @@ Error was thrown.
21596
22050
  /**
21597
22051
  * This domain is deprecated.
21598
22052
  */
21599
- export module Schema {
22053
+ export namespace Schema {
21600
22054
  /**
21601
22055
  * Description of the protocol domain.
21602
22056
  */
@@ -21625,7 +22079,7 @@ Error was thrown.
21625
22079
  }
21626
22080
  }
21627
22081
 
21628
- export interface Events {
22082
+ export type Events = {
21629
22083
  "Accessibility.loadComplete": Accessibility.loadCompletePayload;
21630
22084
  "Accessibility.nodesUpdated": Accessibility.nodesUpdatedPayload;
21631
22085
  "Animation.animationCanceled": Animation.animationCanceledPayload;
@@ -21650,6 +22104,7 @@ Error was thrown.
21650
22104
  "Cast.sinksUpdated": Cast.sinksUpdatedPayload;
21651
22105
  "Cast.issueUpdated": Cast.issueUpdatedPayload;
21652
22106
  "DOM.attributeModified": DOM.attributeModifiedPayload;
22107
+ "DOM.adoptedStyleSheetsModified": DOM.adoptedStyleSheetsModifiedPayload;
21653
22108
  "DOM.attributeRemoved": DOM.attributeRemovedPayload;
21654
22109
  "DOM.characterDataModified": DOM.characterDataModifiedPayload;
21655
22110
  "DOM.childNodeCountUpdated": DOM.childNodeCountUpdatedPayload;
@@ -21661,6 +22116,7 @@ Error was thrown.
21661
22116
  "DOM.pseudoElementAdded": DOM.pseudoElementAddedPayload;
21662
22117
  "DOM.topLayerElementsUpdated": DOM.topLayerElementsUpdatedPayload;
21663
22118
  "DOM.scrollableFlagUpdated": DOM.scrollableFlagUpdatedPayload;
22119
+ "DOM.affectedByStartingStylesFlagUpdated": DOM.affectedByStartingStylesFlagUpdatedPayload;
21664
22120
  "DOM.pseudoElementRemoved": DOM.pseudoElementRemovedPayload;
21665
22121
  "DOM.setChildNodes": DOM.setChildNodesPayload;
21666
22122
  "DOM.shadowRootPopped": DOM.shadowRootPoppedPayload;
@@ -21679,6 +22135,7 @@ Error was thrown.
21679
22135
  "Inspector.detached": Inspector.detachedPayload;
21680
22136
  "Inspector.targetCrashed": Inspector.targetCrashedPayload;
21681
22137
  "Inspector.targetReloadedAfterCrash": Inspector.targetReloadedAfterCrashPayload;
22138
+ "Inspector.workerScriptLoaded": Inspector.workerScriptLoadedPayload;
21682
22139
  "LayerTree.layerPainted": LayerTree.layerPaintedPayload;
21683
22140
  "LayerTree.layerTreeDidChange": LayerTree.layerTreeDidChangePayload;
21684
22141
  "Log.entryAdded": Log.entryAddedPayload;
@@ -21713,6 +22170,8 @@ Error was thrown.
21713
22170
  "Network.directTCPSocketClosed": Network.directTCPSocketClosedPayload;
21714
22171
  "Network.directTCPSocketChunkSent": Network.directTCPSocketChunkSentPayload;
21715
22172
  "Network.directTCPSocketChunkReceived": Network.directTCPSocketChunkReceivedPayload;
22173
+ "Network.directUDPSocketJoinedMulticastGroup": Network.directUDPSocketJoinedMulticastGroupPayload;
22174
+ "Network.directUDPSocketLeftMulticastGroup": Network.directUDPSocketLeftMulticastGroupPayload;
21716
22175
  "Network.directUDPSocketCreated": Network.directUDPSocketCreatedPayload;
21717
22176
  "Network.directUDPSocketOpened": Network.directUDPSocketOpenedPayload;
21718
22177
  "Network.directUDPSocketAborted": Network.directUDPSocketAbortedPayload;
@@ -21724,13 +22183,11 @@ Error was thrown.
21724
22183
  "Network.responseReceivedEarlyHints": Network.responseReceivedEarlyHintsPayload;
21725
22184
  "Network.trustTokenOperationDone": Network.trustTokenOperationDonePayload;
21726
22185
  "Network.policyUpdated": Network.policyUpdatedPayload;
21727
- "Network.subresourceWebBundleMetadataReceived": Network.subresourceWebBundleMetadataReceivedPayload;
21728
- "Network.subresourceWebBundleMetadataError": Network.subresourceWebBundleMetadataErrorPayload;
21729
- "Network.subresourceWebBundleInnerResponseParsed": Network.subresourceWebBundleInnerResponseParsedPayload;
21730
- "Network.subresourceWebBundleInnerResponseError": Network.subresourceWebBundleInnerResponseErrorPayload;
21731
22186
  "Network.reportingApiReportAdded": Network.reportingApiReportAddedPayload;
21732
22187
  "Network.reportingApiReportUpdated": Network.reportingApiReportUpdatedPayload;
21733
22188
  "Network.reportingApiEndpointsChangedForOrigin": Network.reportingApiEndpointsChangedForOriginPayload;
22189
+ "Network.deviceBoundSessionsAdded": Network.deviceBoundSessionsAddedPayload;
22190
+ "Network.deviceBoundSessionEventOccurred": Network.deviceBoundSessionEventOccurredPayload;
21734
22191
  "Overlay.inspectNodeRequested": Overlay.inspectNodeRequestedPayload;
21735
22192
  "Overlay.nodeHighlightRequested": Overlay.nodeHighlightRequestedPayload;
21736
22193
  "Overlay.screenshotRequested": Overlay.screenshotRequestedPayload;
@@ -21843,6 +22300,227 @@ Error was thrown.
21843
22300
  "Runtime.executionContextsCleared": Runtime.executionContextsClearedPayload;
21844
22301
  "Runtime.inspectRequested": Runtime.inspectRequestedPayload;
21845
22302
  }
22303
+ export type EventMap = {
22304
+ ["Accessibility.loadComplete"]: [Accessibility.loadCompletePayload];
22305
+ ["Accessibility.nodesUpdated"]: [Accessibility.nodesUpdatedPayload];
22306
+ ["Animation.animationCanceled"]: [Animation.animationCanceledPayload];
22307
+ ["Animation.animationCreated"]: [Animation.animationCreatedPayload];
22308
+ ["Animation.animationStarted"]: [Animation.animationStartedPayload];
22309
+ ["Animation.animationUpdated"]: [Animation.animationUpdatedPayload];
22310
+ ["Audits.issueAdded"]: [Audits.issueAddedPayload];
22311
+ ["Autofill.addressFormFilled"]: [Autofill.addressFormFilledPayload];
22312
+ ["BackgroundService.recordingStateChanged"]: [BackgroundService.recordingStateChangedPayload];
22313
+ ["BackgroundService.backgroundServiceEventReceived"]: [BackgroundService.backgroundServiceEventReceivedPayload];
22314
+ ["BluetoothEmulation.gattOperationReceived"]: [BluetoothEmulation.gattOperationReceivedPayload];
22315
+ ["BluetoothEmulation.characteristicOperationReceived"]: [BluetoothEmulation.characteristicOperationReceivedPayload];
22316
+ ["BluetoothEmulation.descriptorOperationReceived"]: [BluetoothEmulation.descriptorOperationReceivedPayload];
22317
+ ["Browser.downloadWillBegin"]: [Browser.downloadWillBeginPayload];
22318
+ ["Browser.downloadProgress"]: [Browser.downloadProgressPayload];
22319
+ ["CSS.fontsUpdated"]: [CSS.fontsUpdatedPayload];
22320
+ ["CSS.mediaQueryResultChanged"]: [CSS.mediaQueryResultChangedPayload];
22321
+ ["CSS.styleSheetAdded"]: [CSS.styleSheetAddedPayload];
22322
+ ["CSS.styleSheetChanged"]: [CSS.styleSheetChangedPayload];
22323
+ ["CSS.styleSheetRemoved"]: [CSS.styleSheetRemovedPayload];
22324
+ ["CSS.computedStyleUpdated"]: [CSS.computedStyleUpdatedPayload];
22325
+ ["Cast.sinksUpdated"]: [Cast.sinksUpdatedPayload];
22326
+ ["Cast.issueUpdated"]: [Cast.issueUpdatedPayload];
22327
+ ["DOM.attributeModified"]: [DOM.attributeModifiedPayload];
22328
+ ["DOM.adoptedStyleSheetsModified"]: [DOM.adoptedStyleSheetsModifiedPayload];
22329
+ ["DOM.attributeRemoved"]: [DOM.attributeRemovedPayload];
22330
+ ["DOM.characterDataModified"]: [DOM.characterDataModifiedPayload];
22331
+ ["DOM.childNodeCountUpdated"]: [DOM.childNodeCountUpdatedPayload];
22332
+ ["DOM.childNodeInserted"]: [DOM.childNodeInsertedPayload];
22333
+ ["DOM.childNodeRemoved"]: [DOM.childNodeRemovedPayload];
22334
+ ["DOM.distributedNodesUpdated"]: [DOM.distributedNodesUpdatedPayload];
22335
+ ["DOM.documentUpdated"]: [DOM.documentUpdatedPayload];
22336
+ ["DOM.inlineStyleInvalidated"]: [DOM.inlineStyleInvalidatedPayload];
22337
+ ["DOM.pseudoElementAdded"]: [DOM.pseudoElementAddedPayload];
22338
+ ["DOM.topLayerElementsUpdated"]: [DOM.topLayerElementsUpdatedPayload];
22339
+ ["DOM.scrollableFlagUpdated"]: [DOM.scrollableFlagUpdatedPayload];
22340
+ ["DOM.affectedByStartingStylesFlagUpdated"]: [DOM.affectedByStartingStylesFlagUpdatedPayload];
22341
+ ["DOM.pseudoElementRemoved"]: [DOM.pseudoElementRemovedPayload];
22342
+ ["DOM.setChildNodes"]: [DOM.setChildNodesPayload];
22343
+ ["DOM.shadowRootPopped"]: [DOM.shadowRootPoppedPayload];
22344
+ ["DOM.shadowRootPushed"]: [DOM.shadowRootPushedPayload];
22345
+ ["DOMStorage.domStorageItemAdded"]: [DOMStorage.domStorageItemAddedPayload];
22346
+ ["DOMStorage.domStorageItemRemoved"]: [DOMStorage.domStorageItemRemovedPayload];
22347
+ ["DOMStorage.domStorageItemUpdated"]: [DOMStorage.domStorageItemUpdatedPayload];
22348
+ ["DOMStorage.domStorageItemsCleared"]: [DOMStorage.domStorageItemsClearedPayload];
22349
+ ["DeviceAccess.deviceRequestPrompted"]: [DeviceAccess.deviceRequestPromptedPayload];
22350
+ ["Emulation.virtualTimeBudgetExpired"]: [Emulation.virtualTimeBudgetExpiredPayload];
22351
+ ["FedCm.dialogShown"]: [FedCm.dialogShownPayload];
22352
+ ["FedCm.dialogClosed"]: [FedCm.dialogClosedPayload];
22353
+ ["Fetch.requestPaused"]: [Fetch.requestPausedPayload];
22354
+ ["Fetch.authRequired"]: [Fetch.authRequiredPayload];
22355
+ ["Input.dragIntercepted"]: [Input.dragInterceptedPayload];
22356
+ ["Inspector.detached"]: [Inspector.detachedPayload];
22357
+ ["Inspector.targetCrashed"]: [Inspector.targetCrashedPayload];
22358
+ ["Inspector.targetReloadedAfterCrash"]: [Inspector.targetReloadedAfterCrashPayload];
22359
+ ["Inspector.workerScriptLoaded"]: [Inspector.workerScriptLoadedPayload];
22360
+ ["LayerTree.layerPainted"]: [LayerTree.layerPaintedPayload];
22361
+ ["LayerTree.layerTreeDidChange"]: [LayerTree.layerTreeDidChangePayload];
22362
+ ["Log.entryAdded"]: [Log.entryAddedPayload];
22363
+ ["Media.playerPropertiesChanged"]: [Media.playerPropertiesChangedPayload];
22364
+ ["Media.playerEventsAdded"]: [Media.playerEventsAddedPayload];
22365
+ ["Media.playerMessagesLogged"]: [Media.playerMessagesLoggedPayload];
22366
+ ["Media.playerErrorsRaised"]: [Media.playerErrorsRaisedPayload];
22367
+ ["Media.playerCreated"]: [Media.playerCreatedPayload];
22368
+ ["Network.dataReceived"]: [Network.dataReceivedPayload];
22369
+ ["Network.eventSourceMessageReceived"]: [Network.eventSourceMessageReceivedPayload];
22370
+ ["Network.loadingFailed"]: [Network.loadingFailedPayload];
22371
+ ["Network.loadingFinished"]: [Network.loadingFinishedPayload];
22372
+ ["Network.requestIntercepted"]: [Network.requestInterceptedPayload];
22373
+ ["Network.requestServedFromCache"]: [Network.requestServedFromCachePayload];
22374
+ ["Network.requestWillBeSent"]: [Network.requestWillBeSentPayload];
22375
+ ["Network.resourceChangedPriority"]: [Network.resourceChangedPriorityPayload];
22376
+ ["Network.signedExchangeReceived"]: [Network.signedExchangeReceivedPayload];
22377
+ ["Network.responseReceived"]: [Network.responseReceivedPayload];
22378
+ ["Network.webSocketClosed"]: [Network.webSocketClosedPayload];
22379
+ ["Network.webSocketCreated"]: [Network.webSocketCreatedPayload];
22380
+ ["Network.webSocketFrameError"]: [Network.webSocketFrameErrorPayload];
22381
+ ["Network.webSocketFrameReceived"]: [Network.webSocketFrameReceivedPayload];
22382
+ ["Network.webSocketFrameSent"]: [Network.webSocketFrameSentPayload];
22383
+ ["Network.webSocketHandshakeResponseReceived"]: [Network.webSocketHandshakeResponseReceivedPayload];
22384
+ ["Network.webSocketWillSendHandshakeRequest"]: [Network.webSocketWillSendHandshakeRequestPayload];
22385
+ ["Network.webTransportCreated"]: [Network.webTransportCreatedPayload];
22386
+ ["Network.webTransportConnectionEstablished"]: [Network.webTransportConnectionEstablishedPayload];
22387
+ ["Network.webTransportClosed"]: [Network.webTransportClosedPayload];
22388
+ ["Network.directTCPSocketCreated"]: [Network.directTCPSocketCreatedPayload];
22389
+ ["Network.directTCPSocketOpened"]: [Network.directTCPSocketOpenedPayload];
22390
+ ["Network.directTCPSocketAborted"]: [Network.directTCPSocketAbortedPayload];
22391
+ ["Network.directTCPSocketClosed"]: [Network.directTCPSocketClosedPayload];
22392
+ ["Network.directTCPSocketChunkSent"]: [Network.directTCPSocketChunkSentPayload];
22393
+ ["Network.directTCPSocketChunkReceived"]: [Network.directTCPSocketChunkReceivedPayload];
22394
+ ["Network.directUDPSocketJoinedMulticastGroup"]: [Network.directUDPSocketJoinedMulticastGroupPayload];
22395
+ ["Network.directUDPSocketLeftMulticastGroup"]: [Network.directUDPSocketLeftMulticastGroupPayload];
22396
+ ["Network.directUDPSocketCreated"]: [Network.directUDPSocketCreatedPayload];
22397
+ ["Network.directUDPSocketOpened"]: [Network.directUDPSocketOpenedPayload];
22398
+ ["Network.directUDPSocketAborted"]: [Network.directUDPSocketAbortedPayload];
22399
+ ["Network.directUDPSocketClosed"]: [Network.directUDPSocketClosedPayload];
22400
+ ["Network.directUDPSocketChunkSent"]: [Network.directUDPSocketChunkSentPayload];
22401
+ ["Network.directUDPSocketChunkReceived"]: [Network.directUDPSocketChunkReceivedPayload];
22402
+ ["Network.requestWillBeSentExtraInfo"]: [Network.requestWillBeSentExtraInfoPayload];
22403
+ ["Network.responseReceivedExtraInfo"]: [Network.responseReceivedExtraInfoPayload];
22404
+ ["Network.responseReceivedEarlyHints"]: [Network.responseReceivedEarlyHintsPayload];
22405
+ ["Network.trustTokenOperationDone"]: [Network.trustTokenOperationDonePayload];
22406
+ ["Network.policyUpdated"]: [Network.policyUpdatedPayload];
22407
+ ["Network.reportingApiReportAdded"]: [Network.reportingApiReportAddedPayload];
22408
+ ["Network.reportingApiReportUpdated"]: [Network.reportingApiReportUpdatedPayload];
22409
+ ["Network.reportingApiEndpointsChangedForOrigin"]: [Network.reportingApiEndpointsChangedForOriginPayload];
22410
+ ["Network.deviceBoundSessionsAdded"]: [Network.deviceBoundSessionsAddedPayload];
22411
+ ["Network.deviceBoundSessionEventOccurred"]: [Network.deviceBoundSessionEventOccurredPayload];
22412
+ ["Overlay.inspectNodeRequested"]: [Overlay.inspectNodeRequestedPayload];
22413
+ ["Overlay.nodeHighlightRequested"]: [Overlay.nodeHighlightRequestedPayload];
22414
+ ["Overlay.screenshotRequested"]: [Overlay.screenshotRequestedPayload];
22415
+ ["Overlay.inspectModeCanceled"]: [Overlay.inspectModeCanceledPayload];
22416
+ ["Page.domContentEventFired"]: [Page.domContentEventFiredPayload];
22417
+ ["Page.fileChooserOpened"]: [Page.fileChooserOpenedPayload];
22418
+ ["Page.frameAttached"]: [Page.frameAttachedPayload];
22419
+ ["Page.frameClearedScheduledNavigation"]: [Page.frameClearedScheduledNavigationPayload];
22420
+ ["Page.frameDetached"]: [Page.frameDetachedPayload];
22421
+ ["Page.frameSubtreeWillBeDetached"]: [Page.frameSubtreeWillBeDetachedPayload];
22422
+ ["Page.frameNavigated"]: [Page.frameNavigatedPayload];
22423
+ ["Page.documentOpened"]: [Page.documentOpenedPayload];
22424
+ ["Page.frameResized"]: [Page.frameResizedPayload];
22425
+ ["Page.frameStartedNavigating"]: [Page.frameStartedNavigatingPayload];
22426
+ ["Page.frameRequestedNavigation"]: [Page.frameRequestedNavigationPayload];
22427
+ ["Page.frameScheduledNavigation"]: [Page.frameScheduledNavigationPayload];
22428
+ ["Page.frameStartedLoading"]: [Page.frameStartedLoadingPayload];
22429
+ ["Page.frameStoppedLoading"]: [Page.frameStoppedLoadingPayload];
22430
+ ["Page.downloadWillBegin"]: [Page.downloadWillBeginPayload];
22431
+ ["Page.downloadProgress"]: [Page.downloadProgressPayload];
22432
+ ["Page.interstitialHidden"]: [Page.interstitialHiddenPayload];
22433
+ ["Page.interstitialShown"]: [Page.interstitialShownPayload];
22434
+ ["Page.javascriptDialogClosed"]: [Page.javascriptDialogClosedPayload];
22435
+ ["Page.javascriptDialogOpening"]: [Page.javascriptDialogOpeningPayload];
22436
+ ["Page.lifecycleEvent"]: [Page.lifecycleEventPayload];
22437
+ ["Page.backForwardCacheNotUsed"]: [Page.backForwardCacheNotUsedPayload];
22438
+ ["Page.loadEventFired"]: [Page.loadEventFiredPayload];
22439
+ ["Page.navigatedWithinDocument"]: [Page.navigatedWithinDocumentPayload];
22440
+ ["Page.screencastFrame"]: [Page.screencastFramePayload];
22441
+ ["Page.screencastVisibilityChanged"]: [Page.screencastVisibilityChangedPayload];
22442
+ ["Page.windowOpen"]: [Page.windowOpenPayload];
22443
+ ["Page.compilationCacheProduced"]: [Page.compilationCacheProducedPayload];
22444
+ ["Performance.metrics"]: [Performance.metricsPayload];
22445
+ ["PerformanceTimeline.timelineEventAdded"]: [PerformanceTimeline.timelineEventAddedPayload];
22446
+ ["Preload.ruleSetUpdated"]: [Preload.ruleSetUpdatedPayload];
22447
+ ["Preload.ruleSetRemoved"]: [Preload.ruleSetRemovedPayload];
22448
+ ["Preload.preloadEnabledStateUpdated"]: [Preload.preloadEnabledStateUpdatedPayload];
22449
+ ["Preload.prefetchStatusUpdated"]: [Preload.prefetchStatusUpdatedPayload];
22450
+ ["Preload.prerenderStatusUpdated"]: [Preload.prerenderStatusUpdatedPayload];
22451
+ ["Preload.preloadingAttemptSourcesUpdated"]: [Preload.preloadingAttemptSourcesUpdatedPayload];
22452
+ ["Security.certificateError"]: [Security.certificateErrorPayload];
22453
+ ["Security.visibleSecurityStateChanged"]: [Security.visibleSecurityStateChangedPayload];
22454
+ ["Security.securityStateChanged"]: [Security.securityStateChangedPayload];
22455
+ ["ServiceWorker.workerErrorReported"]: [ServiceWorker.workerErrorReportedPayload];
22456
+ ["ServiceWorker.workerRegistrationUpdated"]: [ServiceWorker.workerRegistrationUpdatedPayload];
22457
+ ["ServiceWorker.workerVersionUpdated"]: [ServiceWorker.workerVersionUpdatedPayload];
22458
+ ["Storage.cacheStorageContentUpdated"]: [Storage.cacheStorageContentUpdatedPayload];
22459
+ ["Storage.cacheStorageListUpdated"]: [Storage.cacheStorageListUpdatedPayload];
22460
+ ["Storage.indexedDBContentUpdated"]: [Storage.indexedDBContentUpdatedPayload];
22461
+ ["Storage.indexedDBListUpdated"]: [Storage.indexedDBListUpdatedPayload];
22462
+ ["Storage.interestGroupAccessed"]: [Storage.interestGroupAccessedPayload];
22463
+ ["Storage.interestGroupAuctionEventOccurred"]: [Storage.interestGroupAuctionEventOccurredPayload];
22464
+ ["Storage.interestGroupAuctionNetworkRequestCreated"]: [Storage.interestGroupAuctionNetworkRequestCreatedPayload];
22465
+ ["Storage.sharedStorageAccessed"]: [Storage.sharedStorageAccessedPayload];
22466
+ ["Storage.sharedStorageWorkletOperationExecutionFinished"]: [Storage.sharedStorageWorkletOperationExecutionFinishedPayload];
22467
+ ["Storage.storageBucketCreatedOrUpdated"]: [Storage.storageBucketCreatedOrUpdatedPayload];
22468
+ ["Storage.storageBucketDeleted"]: [Storage.storageBucketDeletedPayload];
22469
+ ["Storage.attributionReportingSourceRegistered"]: [Storage.attributionReportingSourceRegisteredPayload];
22470
+ ["Storage.attributionReportingTriggerRegistered"]: [Storage.attributionReportingTriggerRegisteredPayload];
22471
+ ["Storage.attributionReportingReportSent"]: [Storage.attributionReportingReportSentPayload];
22472
+ ["Storage.attributionReportingVerboseDebugReportSent"]: [Storage.attributionReportingVerboseDebugReportSentPayload];
22473
+ ["Target.attachedToTarget"]: [Target.attachedToTargetPayload];
22474
+ ["Target.detachedFromTarget"]: [Target.detachedFromTargetPayload];
22475
+ ["Target.receivedMessageFromTarget"]: [Target.receivedMessageFromTargetPayload];
22476
+ ["Target.targetCreated"]: [Target.targetCreatedPayload];
22477
+ ["Target.targetDestroyed"]: [Target.targetDestroyedPayload];
22478
+ ["Target.targetCrashed"]: [Target.targetCrashedPayload];
22479
+ ["Target.targetInfoChanged"]: [Target.targetInfoChangedPayload];
22480
+ ["Tethering.accepted"]: [Tethering.acceptedPayload];
22481
+ ["Tracing.bufferUsage"]: [Tracing.bufferUsagePayload];
22482
+ ["Tracing.dataCollected"]: [Tracing.dataCollectedPayload];
22483
+ ["Tracing.tracingComplete"]: [Tracing.tracingCompletePayload];
22484
+ ["WebAudio.contextCreated"]: [WebAudio.contextCreatedPayload];
22485
+ ["WebAudio.contextWillBeDestroyed"]: [WebAudio.contextWillBeDestroyedPayload];
22486
+ ["WebAudio.contextChanged"]: [WebAudio.contextChangedPayload];
22487
+ ["WebAudio.audioListenerCreated"]: [WebAudio.audioListenerCreatedPayload];
22488
+ ["WebAudio.audioListenerWillBeDestroyed"]: [WebAudio.audioListenerWillBeDestroyedPayload];
22489
+ ["WebAudio.audioNodeCreated"]: [WebAudio.audioNodeCreatedPayload];
22490
+ ["WebAudio.audioNodeWillBeDestroyed"]: [WebAudio.audioNodeWillBeDestroyedPayload];
22491
+ ["WebAudio.audioParamCreated"]: [WebAudio.audioParamCreatedPayload];
22492
+ ["WebAudio.audioParamWillBeDestroyed"]: [WebAudio.audioParamWillBeDestroyedPayload];
22493
+ ["WebAudio.nodesConnected"]: [WebAudio.nodesConnectedPayload];
22494
+ ["WebAudio.nodesDisconnected"]: [WebAudio.nodesDisconnectedPayload];
22495
+ ["WebAudio.nodeParamConnected"]: [WebAudio.nodeParamConnectedPayload];
22496
+ ["WebAudio.nodeParamDisconnected"]: [WebAudio.nodeParamDisconnectedPayload];
22497
+ ["WebAuthn.credentialAdded"]: [WebAuthn.credentialAddedPayload];
22498
+ ["WebAuthn.credentialDeleted"]: [WebAuthn.credentialDeletedPayload];
22499
+ ["WebAuthn.credentialUpdated"]: [WebAuthn.credentialUpdatedPayload];
22500
+ ["WebAuthn.credentialAsserted"]: [WebAuthn.credentialAssertedPayload];
22501
+ ["Console.messageAdded"]: [Console.messageAddedPayload];
22502
+ ["Debugger.breakpointResolved"]: [Debugger.breakpointResolvedPayload];
22503
+ ["Debugger.paused"]: [Debugger.pausedPayload];
22504
+ ["Debugger.resumed"]: [Debugger.resumedPayload];
22505
+ ["Debugger.scriptFailedToParse"]: [Debugger.scriptFailedToParsePayload];
22506
+ ["Debugger.scriptParsed"]: [Debugger.scriptParsedPayload];
22507
+ ["HeapProfiler.addHeapSnapshotChunk"]: [HeapProfiler.addHeapSnapshotChunkPayload];
22508
+ ["HeapProfiler.heapStatsUpdate"]: [HeapProfiler.heapStatsUpdatePayload];
22509
+ ["HeapProfiler.lastSeenObjectId"]: [HeapProfiler.lastSeenObjectIdPayload];
22510
+ ["HeapProfiler.reportHeapSnapshotProgress"]: [HeapProfiler.reportHeapSnapshotProgressPayload];
22511
+ ["HeapProfiler.resetProfiles"]: [HeapProfiler.resetProfilesPayload];
22512
+ ["Profiler.consoleProfileFinished"]: [Profiler.consoleProfileFinishedPayload];
22513
+ ["Profiler.consoleProfileStarted"]: [Profiler.consoleProfileStartedPayload];
22514
+ ["Profiler.preciseCoverageDeltaUpdate"]: [Profiler.preciseCoverageDeltaUpdatePayload];
22515
+ ["Runtime.bindingCalled"]: [Runtime.bindingCalledPayload];
22516
+ ["Runtime.consoleAPICalled"]: [Runtime.consoleAPICalledPayload];
22517
+ ["Runtime.exceptionRevoked"]: [Runtime.exceptionRevokedPayload];
22518
+ ["Runtime.exceptionThrown"]: [Runtime.exceptionThrownPayload];
22519
+ ["Runtime.executionContextCreated"]: [Runtime.executionContextCreatedPayload];
22520
+ ["Runtime.executionContextDestroyed"]: [Runtime.executionContextDestroyedPayload];
22521
+ ["Runtime.executionContextsCleared"]: [Runtime.executionContextsClearedPayload];
22522
+ ["Runtime.inspectRequested"]: [Runtime.inspectRequestedPayload];
22523
+ }
21846
22524
  export interface CommandParameters {
21847
22525
  "Accessibility.disable": Accessibility.disableParameters;
21848
22526
  "Accessibility.enable": Accessibility.enableParameters;
@@ -22166,7 +22844,6 @@ Error was thrown.
22166
22844
  "Memory.getAllTimeSamplingProfile": Memory.getAllTimeSamplingProfileParameters;
22167
22845
  "Memory.getBrowserSamplingProfile": Memory.getBrowserSamplingProfileParameters;
22168
22846
  "Memory.getSamplingProfile": Memory.getSamplingProfileParameters;
22169
- "Network.getIPProtectionProxyStatus": Network.getIPProtectionProxyStatusParameters;
22170
22847
  "Network.setAcceptedEncodings": Network.setAcceptedEncodingsParameters;
22171
22848
  "Network.clearAcceptedEncodingsOverride": Network.clearAcceptedEncodingsOverrideParameters;
22172
22849
  "Network.canClearBrowserCache": Network.canClearBrowserCacheParameters;
@@ -22178,7 +22855,10 @@ Error was thrown.
22178
22855
  "Network.deleteCookies": Network.deleteCookiesParameters;
22179
22856
  "Network.disable": Network.disableParameters;
22180
22857
  "Network.emulateNetworkConditions": Network.emulateNetworkConditionsParameters;
22858
+ "Network.emulateNetworkConditionsByRule": Network.emulateNetworkConditionsByRuleParameters;
22859
+ "Network.overrideNetworkState": Network.overrideNetworkStateParameters;
22181
22860
  "Network.enable": Network.enableParameters;
22861
+ "Network.configureDurableMessages": Network.configureDurableMessagesParameters;
22182
22862
  "Network.getAllCookies": Network.getAllCookiesParameters;
22183
22863
  "Network.getCertificate": Network.getCertificateParameters;
22184
22864
  "Network.getCookies": Network.getCookiesParameters;
@@ -22200,6 +22880,8 @@ Error was thrown.
22200
22880
  "Network.streamResourceContent": Network.streamResourceContentParameters;
22201
22881
  "Network.getSecurityIsolationStatus": Network.getSecurityIsolationStatusParameters;
22202
22882
  "Network.enableReportingApi": Network.enableReportingApiParameters;
22883
+ "Network.enableDeviceBoundSessions": Network.enableDeviceBoundSessionsParameters;
22884
+ "Network.fetchSchemefulSite": Network.fetchSchemefulSiteParameters;
22203
22885
  "Network.loadNetworkResource": Network.loadNetworkResourceParameters;
22204
22886
  "Network.setCookieControls": Network.setCookieControlsParameters;
22205
22887
  "Overlay.disable": Overlay.disableParameters;
@@ -22298,6 +22980,7 @@ Error was thrown.
22298
22980
  "Page.waitForDebugger": Page.waitForDebuggerParameters;
22299
22981
  "Page.setInterceptFileChooserDialog": Page.setInterceptFileChooserDialogParameters;
22300
22982
  "Page.setPrerenderingAllowed": Page.setPrerenderingAllowedParameters;
22983
+ "Page.getAnnotatedPageContent": Page.getAnnotatedPageContentParameters;
22301
22984
  "Performance.disable": Performance.disableParameters;
22302
22985
  "Performance.enable": Performance.enableParameters;
22303
22986
  "Performance.setTimeDomain": Performance.setTimeDomainParameters;
@@ -22323,6 +23006,7 @@ Error was thrown.
22323
23006
  "ServiceWorker.unregister": ServiceWorker.unregisterParameters;
22324
23007
  "ServiceWorker.updateRegistration": ServiceWorker.updateRegistrationParameters;
22325
23008
  "Storage.getStorageKeyForFrame": Storage.getStorageKeyForFrameParameters;
23009
+ "Storage.getStorageKey": Storage.getStorageKeyParameters;
22326
23010
  "Storage.clearDataForOrigin": Storage.clearDataForOriginParameters;
22327
23011
  "Storage.clearDataForStorageKey": Storage.clearDataForStorageKeyParameters;
22328
23012
  "Storage.getCookies": Storage.getCookiesParameters;
@@ -22379,11 +23063,13 @@ Error was thrown.
22379
23063
  "Target.autoAttachRelated": Target.autoAttachRelatedParameters;
22380
23064
  "Target.setDiscoverTargets": Target.setDiscoverTargetsParameters;
22381
23065
  "Target.setRemoteLocations": Target.setRemoteLocationsParameters;
23066
+ "Target.getDevToolsTarget": Target.getDevToolsTargetParameters;
22382
23067
  "Target.openDevTools": Target.openDevToolsParameters;
22383
23068
  "Tethering.bind": Tethering.bindParameters;
22384
23069
  "Tethering.unbind": Tethering.unbindParameters;
22385
23070
  "Tracing.end": Tracing.endParameters;
22386
23071
  "Tracing.getCategories": Tracing.getCategoriesParameters;
23072
+ "Tracing.getTrackEventDescriptor": Tracing.getTrackEventDescriptorParameters;
22387
23073
  "Tracing.recordClockSyncMarker": Tracing.recordClockSyncMarkerParameters;
22388
23074
  "Tracing.requestMemoryDump": Tracing.requestMemoryDumpParameters;
22389
23075
  "Tracing.start": Tracing.startParameters;
@@ -22808,7 +23494,6 @@ Error was thrown.
22808
23494
  "Memory.getAllTimeSamplingProfile": Memory.getAllTimeSamplingProfileReturnValue;
22809
23495
  "Memory.getBrowserSamplingProfile": Memory.getBrowserSamplingProfileReturnValue;
22810
23496
  "Memory.getSamplingProfile": Memory.getSamplingProfileReturnValue;
22811
- "Network.getIPProtectionProxyStatus": Network.getIPProtectionProxyStatusReturnValue;
22812
23497
  "Network.setAcceptedEncodings": Network.setAcceptedEncodingsReturnValue;
22813
23498
  "Network.clearAcceptedEncodingsOverride": Network.clearAcceptedEncodingsOverrideReturnValue;
22814
23499
  "Network.canClearBrowserCache": Network.canClearBrowserCacheReturnValue;
@@ -22820,7 +23505,10 @@ Error was thrown.
22820
23505
  "Network.deleteCookies": Network.deleteCookiesReturnValue;
22821
23506
  "Network.disable": Network.disableReturnValue;
22822
23507
  "Network.emulateNetworkConditions": Network.emulateNetworkConditionsReturnValue;
23508
+ "Network.emulateNetworkConditionsByRule": Network.emulateNetworkConditionsByRuleReturnValue;
23509
+ "Network.overrideNetworkState": Network.overrideNetworkStateReturnValue;
22823
23510
  "Network.enable": Network.enableReturnValue;
23511
+ "Network.configureDurableMessages": Network.configureDurableMessagesReturnValue;
22824
23512
  "Network.getAllCookies": Network.getAllCookiesReturnValue;
22825
23513
  "Network.getCertificate": Network.getCertificateReturnValue;
22826
23514
  "Network.getCookies": Network.getCookiesReturnValue;
@@ -22842,6 +23530,8 @@ Error was thrown.
22842
23530
  "Network.streamResourceContent": Network.streamResourceContentReturnValue;
22843
23531
  "Network.getSecurityIsolationStatus": Network.getSecurityIsolationStatusReturnValue;
22844
23532
  "Network.enableReportingApi": Network.enableReportingApiReturnValue;
23533
+ "Network.enableDeviceBoundSessions": Network.enableDeviceBoundSessionsReturnValue;
23534
+ "Network.fetchSchemefulSite": Network.fetchSchemefulSiteReturnValue;
22845
23535
  "Network.loadNetworkResource": Network.loadNetworkResourceReturnValue;
22846
23536
  "Network.setCookieControls": Network.setCookieControlsReturnValue;
22847
23537
  "Overlay.disable": Overlay.disableReturnValue;
@@ -22940,6 +23630,7 @@ Error was thrown.
22940
23630
  "Page.waitForDebugger": Page.waitForDebuggerReturnValue;
22941
23631
  "Page.setInterceptFileChooserDialog": Page.setInterceptFileChooserDialogReturnValue;
22942
23632
  "Page.setPrerenderingAllowed": Page.setPrerenderingAllowedReturnValue;
23633
+ "Page.getAnnotatedPageContent": Page.getAnnotatedPageContentReturnValue;
22943
23634
  "Performance.disable": Performance.disableReturnValue;
22944
23635
  "Performance.enable": Performance.enableReturnValue;
22945
23636
  "Performance.setTimeDomain": Performance.setTimeDomainReturnValue;
@@ -22965,6 +23656,7 @@ Error was thrown.
22965
23656
  "ServiceWorker.unregister": ServiceWorker.unregisterReturnValue;
22966
23657
  "ServiceWorker.updateRegistration": ServiceWorker.updateRegistrationReturnValue;
22967
23658
  "Storage.getStorageKeyForFrame": Storage.getStorageKeyForFrameReturnValue;
23659
+ "Storage.getStorageKey": Storage.getStorageKeyReturnValue;
22968
23660
  "Storage.clearDataForOrigin": Storage.clearDataForOriginReturnValue;
22969
23661
  "Storage.clearDataForStorageKey": Storage.clearDataForStorageKeyReturnValue;
22970
23662
  "Storage.getCookies": Storage.getCookiesReturnValue;
@@ -23021,11 +23713,13 @@ Error was thrown.
23021
23713
  "Target.autoAttachRelated": Target.autoAttachRelatedReturnValue;
23022
23714
  "Target.setDiscoverTargets": Target.setDiscoverTargetsReturnValue;
23023
23715
  "Target.setRemoteLocations": Target.setRemoteLocationsReturnValue;
23716
+ "Target.getDevToolsTarget": Target.getDevToolsTargetReturnValue;
23024
23717
  "Target.openDevTools": Target.openDevToolsReturnValue;
23025
23718
  "Tethering.bind": Tethering.bindReturnValue;
23026
23719
  "Tethering.unbind": Tethering.unbindReturnValue;
23027
23720
  "Tracing.end": Tracing.endReturnValue;
23028
23721
  "Tracing.getCategories": Tracing.getCategoriesReturnValue;
23722
+ "Tracing.getTrackEventDescriptor": Tracing.getTrackEventDescriptorReturnValue;
23029
23723
  "Tracing.recordClockSyncMarker": Tracing.recordClockSyncMarkerReturnValue;
23030
23724
  "Tracing.requestMemoryDump": Tracing.requestMemoryDumpReturnValue;
23031
23725
  "Tracing.start": Tracing.startReturnValue;