patchright-core 1.52.4 → 1.55.0

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 (218) hide show
  1. package/ThirdPartyNotices.txt +65 -123
  2. package/bin/reinstall_chrome_beta_mac.sh +1 -1
  3. package/bin/reinstall_chrome_stable_mac.sh +1 -1
  4. package/bin/reinstall_msedge_beta_mac.sh +1 -1
  5. package/bin/reinstall_msedge_dev_mac.sh +1 -1
  6. package/bin/reinstall_msedge_stable_mac.sh +1 -1
  7. package/browsers.json +14 -14
  8. package/index.js +1 -1
  9. package/lib/androidServerImpl.js +4 -2
  10. package/lib/browserServerImpl.js +47 -12
  11. package/lib/cli/program.js +116 -50
  12. package/lib/cli/programWithTestStub.js +1 -1
  13. package/lib/client/android.js +30 -34
  14. package/lib/client/browser.js +54 -17
  15. package/lib/client/browserContext.js +67 -71
  16. package/lib/client/browserType.js +25 -34
  17. package/lib/client/channelOwner.js +20 -24
  18. package/lib/client/connection.js +6 -10
  19. package/lib/client/electron.js +8 -3
  20. package/lib/client/elementHandle.js +18 -21
  21. package/lib/client/fetch.js +5 -3
  22. package/lib/client/frame.js +57 -35
  23. package/lib/client/input.js +3 -1
  24. package/lib/client/jsHandle.js +4 -0
  25. package/lib/client/localUtils.js +0 -1
  26. package/lib/client/locator.js +32 -28
  27. package/lib/client/network.js +5 -12
  28. package/lib/client/page.js +32 -32
  29. package/lib/client/playwright.js +6 -16
  30. package/lib/client/selectors.js +18 -38
  31. package/lib/client/timeoutSettings.js +12 -8
  32. package/lib/client/tracing.js +24 -20
  33. package/lib/client/waiter.js +2 -2
  34. package/lib/client/webSocket.js +4 -22
  35. package/lib/generated/bindingsControllerSource.js +28 -0
  36. package/lib/generated/clockSource.js +1 -1
  37. package/lib/generated/injectedScriptSource.js +1 -1
  38. package/lib/generated/pollingRecorderSource.js +1 -1
  39. package/lib/generated/storageScriptSource.js +28 -0
  40. package/lib/generated/utilityScriptSource.js +1 -1
  41. package/lib/generated/webSocketMockSource.js +12 -50
  42. package/lib/inProcessFactory.js +9 -6
  43. package/lib/outofprocess.js +0 -2
  44. package/lib/protocol/validator.js +423 -346
  45. package/lib/protocol/validatorPrimitives.js +18 -4
  46. package/lib/remote/playwrightConnection.js +29 -166
  47. package/lib/remote/playwrightServer.js +233 -35
  48. package/lib/server/android/android.js +97 -83
  49. package/lib/server/android/backendAdb.js +0 -2
  50. package/lib/server/bidi/bidiBrowser.js +139 -73
  51. package/lib/server/bidi/bidiChromium.js +23 -22
  52. package/lib/server/bidi/bidiExecutionContext.js +2 -1
  53. package/lib/server/bidi/bidiFirefox.js +17 -14
  54. package/lib/server/bidi/bidiInput.js +22 -22
  55. package/lib/server/bidi/bidiNetworkManager.js +8 -11
  56. package/lib/server/bidi/bidiPage.js +42 -86
  57. package/lib/server/bidi/third_party/bidiProtocol.js +5 -133
  58. package/lib/server/bidi/third_party/bidiProtocolCore.js +179 -0
  59. package/lib/server/{dispatchers/selectorsDispatcher.js → bidi/third_party/bidiProtocolPermissions.js} +20 -18
  60. package/lib/server/browser.js +30 -21
  61. package/lib/server/browserContext.js +203 -165
  62. package/lib/server/browserType.js +109 -107
  63. package/lib/server/chromium/chromium.js +84 -69
  64. package/lib/server/chromium/chromiumSwitches.js +13 -20
  65. package/lib/server/chromium/crBrowser.js +74 -40
  66. package/lib/server/chromium/crConnection.js +8 -9
  67. package/lib/server/chromium/crCoverage.js +11 -8
  68. package/lib/server/chromium/crDragDrop.js +25 -20
  69. package/lib/server/chromium/crExecutionContext.js +2 -1
  70. package/lib/server/chromium/crInput.js +32 -29
  71. package/lib/server/chromium/crNetworkManager.js +45 -33
  72. package/lib/server/chromium/crPage.js +98 -73
  73. package/lib/server/chromium/crServiceWorker.js +13 -18
  74. package/lib/server/chromium/videoRecorder.js +10 -18
  75. package/lib/server/clock.js +51 -39
  76. package/lib/server/codegen/csharp.js +10 -5
  77. package/lib/server/codegen/java.js +1 -1
  78. package/lib/server/codegen/javascript.js +1 -1
  79. package/lib/server/codegen/jsonl.js +2 -1
  80. package/lib/server/codegen/language.js +22 -1
  81. package/lib/server/codegen/languages.js +4 -4
  82. package/lib/server/codegen/python.js +1 -1
  83. package/lib/server/cookieStore.js +3 -1
  84. package/lib/server/debugController.js +105 -71
  85. package/lib/server/debugger.js +6 -23
  86. package/lib/server/deviceDescriptorsSource.json +237 -127
  87. package/lib/server/dialog.js +50 -6
  88. package/lib/server/dispatchers/androidDispatcher.js +77 -62
  89. package/lib/server/dispatchers/artifactDispatcher.js +18 -18
  90. package/lib/server/dispatchers/browserContextDispatcher.js +141 -91
  91. package/lib/server/dispatchers/browserDispatcher.js +55 -88
  92. package/lib/server/dispatchers/browserTypeDispatcher.js +18 -9
  93. package/lib/server/dispatchers/cdpSessionDispatcher.js +4 -4
  94. package/lib/server/dispatchers/debugControllerDispatcher.js +12 -21
  95. package/lib/server/dispatchers/dialogDispatcher.js +4 -4
  96. package/lib/server/dispatchers/dispatcher.js +78 -53
  97. package/lib/server/dispatchers/electronDispatcher.js +19 -20
  98. package/lib/server/dispatchers/elementHandlerDispatcher.js +83 -93
  99. package/lib/server/dispatchers/frameDispatcher.js +99 -102
  100. package/lib/server/dispatchers/jsHandleDispatcher.js +21 -16
  101. package/lib/server/dispatchers/jsonPipeDispatcher.js +4 -4
  102. package/lib/server/dispatchers/localUtilsDispatcher.js +53 -59
  103. package/lib/server/dispatchers/networkDispatchers.js +41 -35
  104. package/lib/server/dispatchers/pageDispatcher.js +156 -107
  105. package/lib/server/dispatchers/playwrightDispatcher.js +37 -25
  106. package/lib/server/dispatchers/streamDispatcher.js +15 -8
  107. package/lib/server/dispatchers/tracingDispatcher.js +22 -13
  108. package/lib/server/dispatchers/webSocketRouteDispatcher.js +46 -35
  109. package/lib/server/dispatchers/writableStreamDispatcher.js +16 -10
  110. package/lib/server/dom.js +198 -266
  111. package/lib/server/download.js +3 -3
  112. package/lib/server/electron/electron.js +96 -103
  113. package/lib/server/electron/loader.js +1 -1
  114. package/lib/server/fetch.js +22 -41
  115. package/lib/server/fileUploadUtils.js +1 -1
  116. package/lib/server/firefox/ffBrowser.js +79 -55
  117. package/lib/server/firefox/ffExecutionContext.js +2 -1
  118. package/lib/server/firefox/ffInput.js +23 -23
  119. package/lib/server/firefox/ffNetworkManager.js +8 -6
  120. package/lib/server/firefox/ffPage.js +39 -36
  121. package/lib/server/firefox/firefox.js +9 -10
  122. package/lib/server/frameSelectors.js +65 -22
  123. package/lib/server/frames.js +516 -544
  124. package/lib/server/har/harRecorder.js +1 -1
  125. package/lib/server/har/harTracer.js +4 -2
  126. package/lib/server/helper.js +3 -7
  127. package/lib/server/index.js +0 -3
  128. package/lib/server/input.js +47 -54
  129. package/lib/server/instrumentation.js +8 -14
  130. package/lib/server/javascript.js +9 -17
  131. package/lib/server/launchApp.js +48 -30
  132. package/lib/server/localUtils.js +45 -38
  133. package/lib/server/network.js +44 -10
  134. package/lib/server/page.js +233 -178
  135. package/lib/server/pageBinding.js +6 -7
  136. package/lib/server/playwright.js +4 -14
  137. package/lib/server/progress.js +57 -49
  138. package/lib/server/recorder/recorderApp.js +298 -95
  139. package/lib/server/recorder/recorderRunner.js +23 -24
  140. package/lib/server/recorder/recorderSignalProcessor.js +83 -0
  141. package/lib/server/recorder/recorderUtils.js +67 -10
  142. package/lib/server/recorder.js +284 -146
  143. package/lib/server/registry/index.js +83 -48
  144. package/lib/server/registry/nativeDeps.js +175 -0
  145. package/lib/server/registry/oopDownloadBrowserMain.js +1 -1
  146. package/lib/server/screenshotter.js +84 -83
  147. package/lib/server/selectors.js +12 -12
  148. package/lib/server/socksClientCertificatesInterceptor.js +198 -136
  149. package/lib/server/trace/recorder/snapshotter.js +12 -19
  150. package/lib/server/trace/recorder/tracing.js +36 -27
  151. package/lib/server/trace/viewer/traceViewer.js +11 -20
  152. package/lib/server/transport.js +20 -22
  153. package/lib/server/utils/comparators.js +2 -2
  154. package/lib/server/utils/debug.js +3 -8
  155. package/lib/server/utils/debugLogger.js +8 -0
  156. package/lib/server/utils/hostPlatform.js +3 -1
  157. package/lib/server/utils/network.js +35 -25
  158. package/lib/server/utils/nodePlatform.js +1 -1
  159. package/lib/server/utils/processLauncher.js +4 -1
  160. package/lib/server/utils/wsServer.js +11 -17
  161. package/lib/server/webkit/webkit.js +5 -2
  162. package/lib/server/webkit/wkBrowser.js +51 -28
  163. package/lib/server/webkit/wkExecutionContext.js +2 -1
  164. package/lib/server/webkit/wkInput.js +25 -25
  165. package/lib/server/webkit/wkInterceptableRequest.js +1 -1
  166. package/lib/server/webkit/wkPage.js +80 -59
  167. package/lib/server/webkit/wkProvisionalPage.js +1 -1
  168. package/lib/server/webkit/wkWorkers.js +7 -7
  169. package/lib/utils/isomorphic/ariaSnapshot.js +13 -7
  170. package/lib/utils/isomorphic/cssParser.js +1 -2
  171. package/lib/utils/isomorphic/locatorGenerators.js +18 -0
  172. package/lib/utils/isomorphic/manualPromise.js +1 -2
  173. package/lib/utils/isomorphic/mimeType.js +1 -2
  174. package/lib/utils/isomorphic/multimap.js +1 -2
  175. package/lib/utils/isomorphic/oldUtilityScriptSerializers.js +248 -0
  176. package/lib/utils/isomorphic/protocolFormatter.js +78 -0
  177. package/lib/utils/isomorphic/protocolMetainfo.js +318 -0
  178. package/lib/utils/isomorphic/selectorParser.js +3 -4
  179. package/lib/utils/isomorphic/stringUtils.js +3 -24
  180. package/lib/utils/isomorphic/time.js +9 -4
  181. package/lib/utils/isomorphic/timeoutRunner.js +3 -4
  182. package/lib/utils/isomorphic/traceUtils.js +2 -3
  183. package/lib/utils/isomorphic/urlMatch.js +21 -7
  184. package/lib/utils/isomorphic/utilityScriptSerializers.js +208 -205
  185. package/lib/utils.js +8 -2
  186. package/lib/utilsBundleImpl/index.js +160 -150
  187. package/lib/vite/htmlReport/index.html +17 -17
  188. package/lib/vite/recorder/assets/{codeMirrorModule-CXVeovup.js → codeMirrorModule-DzQ0k89p.js} +1 -1
  189. package/lib/vite/recorder/assets/{index-eHBmevrY.css → index-CI4HQ-Zb.css} +1 -1
  190. package/lib/vite/recorder/assets/index-D7C7daHH.js +184 -0
  191. package/lib/vite/recorder/index.html +3 -3
  192. package/lib/vite/traceViewer/assets/{codeMirrorModule-_GLjJL-7.js → codeMirrorModule-Di48jgWx.js} +1 -1
  193. package/lib/vite/traceViewer/assets/defaultSettingsView-szBn8781.js +256 -0
  194. package/lib/vite/traceViewer/defaultSettingsView.DVJHpiGt.css +1 -0
  195. package/lib/vite/traceViewer/index.BFsek2M6.css +1 -0
  196. package/lib/vite/traceViewer/index.DQvXoPLL.js +2 -0
  197. package/lib/vite/traceViewer/index.html +6 -6
  198. package/lib/vite/traceViewer/sw.bundle.js +3 -3
  199. package/lib/vite/traceViewer/uiMode.dBV3oN9h.js +5 -0
  200. package/lib/vite/traceViewer/uiMode.html +4 -4
  201. package/lib/zipBundleImpl.js +4 -4
  202. package/package.json +1 -1
  203. package/types/protocol.d.ts +712 -107
  204. package/types/types.d.ts +148 -37
  205. package/lib/generated/consoleApiSource.js +0 -28
  206. package/lib/protocol/debug.js +0 -211
  207. package/lib/server/recorder/contextRecorder.js +0 -286
  208. package/lib/server/recorder/recorderCollection.js +0 -116
  209. package/lib/server/recorder/recorderFrontend.js +0 -16
  210. package/lib/server/storageScript.js +0 -154
  211. package/lib/server/timeoutSettings.js +0 -89
  212. package/lib/utils/isomorphic/builtins.js +0 -86
  213. package/lib/vite/recorder/assets/index-BsWQsSGl.js +0 -184
  214. package/lib/vite/traceViewer/assets/defaultSettingsView-DtCQiGHe.js +0 -265
  215. package/lib/vite/traceViewer/defaultSettingsView.QdHITyLI.css +0 -1
  216. package/lib/vite/traceViewer/index.CFOW-Ezb.css +0 -1
  217. package/lib/vite/traceViewer/index.cFZzK9RN.js +0 -2
  218. package/lib/vite/traceViewer/uiMode.XVPIqBeS.js +0 -5
@@ -861,6 +861,7 @@ CORS RFC1918 enforcement.
861
861
  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
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
863
  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
+ export type UnencodedDigestError = "MalformedDictionary"|"UnknownAlgorithm"|"IncorrectDigestType"|"IncorrectDigestLength";
864
865
  /**
865
866
  * Details for issues around "Attribution Reporting API" usage.
866
867
  Explainer: https://github.com/WICG/attribution-reporting-api
@@ -900,6 +901,10 @@ instead of "limited-quirks".
900
901
  integrityAssertions: string[];
901
902
  request: AffectedRequest;
902
903
  }
904
+ export interface UnencodedDigestIssueDetails {
905
+ error: UnencodedDigestError;
906
+ request: AffectedRequest;
907
+ }
903
908
  export type GenericIssueErrorType = "FormLabelForNameError"|"FormDuplicateIdForInputError"|"FormInputWithNoLabelError"|"FormAutocompleteAttributeEmptyError"|"FormEmptyIdAndNameAttributesForInputError"|"FormAriaLabelledByToNonExistingId"|"FormInputAssignedAutocompleteValueToIdOrNameAttributeError"|"FormLabelHasNeitherForNorNestedInput"|"FormLabelForMatchesNonExistingIdError"|"FormInputHasWrongButWellIntendedAutocompleteValueError"|"ResponseWasBlockedByORB";
904
909
  /**
905
910
  * Depending on the concrete errorType, different properties are set.
@@ -999,13 +1004,13 @@ features, encourage the use of new ones, and provide general guidance.
999
1004
  */
1000
1005
  partitioningBlobURLInfo: PartitioningBlobURLInfo;
1001
1006
  }
1002
- export type SelectElementAccessibilityIssueReason = "DisallowedSelectChild"|"DisallowedOptGroupChild"|"NonPhrasingContentOptionChild"|"InteractiveContentOptionChild"|"InteractiveContentLegendChild";
1007
+ export type ElementAccessibilityIssueReason = "DisallowedSelectChild"|"DisallowedOptGroupChild"|"NonPhrasingContentOptionChild"|"InteractiveContentOptionChild"|"InteractiveContentLegendChild"|"InteractiveContentSummaryDescendant";
1003
1008
  /**
1004
- * This issue warns about errors in the select element content model.
1009
+ * This issue warns about errors in the select or summary element content model.
1005
1010
  */
1006
- export interface SelectElementAccessibilityIssueDetails {
1011
+ export interface ElementAccessibilityIssueDetails {
1007
1012
  nodeId: DOM.BackendNodeId;
1008
- selectElementAccessibilityIssueReason: SelectElementAccessibilityIssueReason;
1013
+ elementAccessibilityIssueReason: ElementAccessibilityIssueReason;
1009
1014
  hasDisallowedAttributes: boolean;
1010
1015
  }
1011
1016
  export type StyleSheetLoadingIssueReason = "LateImportRule"|"RequestFailed";
@@ -1045,12 +1050,24 @@ registrations being ignored.
1045
1050
  */
1046
1051
  propertyValue?: string;
1047
1052
  }
1053
+ export type UserReidentificationIssueType = "BlockedFrameNavigation"|"BlockedSubresource";
1054
+ /**
1055
+ * This issue warns about uses of APIs that may be considered misuse to
1056
+ re-identify users.
1057
+ */
1058
+ export interface UserReidentificationIssueDetails {
1059
+ type: UserReidentificationIssueType;
1060
+ /**
1061
+ * Applies to BlockedFrameNavigation and BlockedSubresource issue types.
1062
+ */
1063
+ request?: AffectedRequest;
1064
+ }
1048
1065
  /**
1049
1066
  * A unique identifier for the type of issue. Each type may use one of the
1050
1067
  optional fields in InspectorIssueDetails to convey more specific
1051
1068
  information about the kind of issue.
1052
1069
  */
1053
- 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"|"SelectElementAccessibilityIssue"|"SRIMessageSignatureIssue";
1070
+ 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";
1054
1071
  /**
1055
1072
  * This struct holds a list of optional fields with additional information
1056
1073
  specific to the kind of issue. When adding a new issue code, please also
@@ -1079,8 +1096,10 @@ add a new optional field to this type.
1079
1096
  propertyRuleIssueDetails?: PropertyRuleIssueDetails;
1080
1097
  federatedAuthUserInfoRequestIssueDetails?: FederatedAuthUserInfoRequestIssueDetails;
1081
1098
  sharedDictionaryIssueDetails?: SharedDictionaryIssueDetails;
1082
- selectElementAccessibilityIssueDetails?: SelectElementAccessibilityIssueDetails;
1099
+ elementAccessibilityIssueDetails?: ElementAccessibilityIssueDetails;
1083
1100
  sriMessageSignatureIssueDetails?: SRIMessageSignatureIssueDetails;
1101
+ unencodedDigestIssueDetails?: UnencodedDigestIssueDetails;
1102
+ userReidentificationIssueDetails?: UserReidentificationIssueDetails;
1084
1103
  }
1085
1104
  /**
1086
1105
  * A unique id for a DevTools inspector issue. Allows other entities (e.g.
@@ -1632,7 +1651,7 @@ Note that userVisibleOnly = true is the only currently supported type.
1632
1651
  /**
1633
1652
  * Browser command ids used by executeBrowserCommand.
1634
1653
  */
1635
- export type BrowserCommandId = "openTabSearch"|"closeTabSearch";
1654
+ export type BrowserCommandId = "openTabSearch"|"closeTabSearch"|"openGlic";
1636
1655
  /**
1637
1656
  * Chrome histogram bucket.
1638
1657
  */
@@ -1714,6 +1733,12 @@ Note that userVisibleOnly = true is the only currently supported type.
1714
1733
  * Download status.
1715
1734
  */
1716
1735
  state: "inProgress"|"completed"|"canceled";
1736
+ /**
1737
+ * If download is "completed", provides the path of the downloaded file.
1738
+ Depending on the platform, it is not guaranteed to be set, nor the file
1739
+ is guaranteed to exist.
1740
+ */
1741
+ filePath?: string;
1717
1742
  }
1718
1743
 
1719
1744
  /**
@@ -1959,6 +1984,27 @@ with 'left', 'top', 'width' or 'height'. Leaves unspecified fields unchanged.
1959
1984
  }
1960
1985
  export type setWindowBoundsReturnValue = {
1961
1986
  }
1987
+ /**
1988
+ * Set size of the browser contents resizing browser window as necessary.
1989
+ */
1990
+ export type setContentsSizeParameters = {
1991
+ /**
1992
+ * Browser window id.
1993
+ */
1994
+ windowId: WindowID;
1995
+ /**
1996
+ * The window contents width in DIP. Assumes current width if omitted.
1997
+ Must be specified if 'height' is omitted.
1998
+ */
1999
+ width?: number;
2000
+ /**
2001
+ * The window contents height in DIP. Assumes current height if omitted.
2002
+ Must be specified if 'width' is omitted.
2003
+ */
2004
+ height?: number;
2005
+ }
2006
+ export type setContentsSizeReturnValue = {
2007
+ }
1962
2008
  /**
1963
2009
  * Set dock tile details, platform-specific.
1964
2010
  */
@@ -2539,6 +2585,10 @@ available).
2539
2585
  * true if the query contains scroll-state() queries.
2540
2586
  */
2541
2587
  queriesScrollState?: boolean;
2588
+ /**
2589
+ * true if the query contains anchored() queries.
2590
+ */
2591
+ queriesAnchored?: boolean;
2542
2592
  }
2543
2593
  /**
2544
2594
  * CSS Supports at-rule descriptor.
@@ -3144,6 +3194,11 @@ be ignored (as if the image had failed to load).
3144
3194
  For example, a value of '1em' is evaluated according to the computed
3145
3195
  'font-size' of the element and a value 'calc(1px + 2px)' will be
3146
3196
  resolved to '3px'.
3197
+ If the `propertyName` was specified the `values` are resolved as if
3198
+ they were property's declaration. If a value cannot be parsed according
3199
+ to the provided property syntax, the value is parsed using combined
3200
+ syntax as if null `propertyName` was provided. If the value cannot be
3201
+ resolved even then, return the provided value without any changes.
3147
3202
  */
3148
3203
  export type resolveValuesParameters = {
3149
3204
  /**
@@ -3283,6 +3338,14 @@ will not be set if there is no active position-try fallback.
3283
3338
  */
3284
3339
  cssFunctionRules?: CSSFunctionRule[];
3285
3340
  }
3341
+ /**
3342
+ * Returns the values of the default UA-defined environment variables used in env()
3343
+ */
3344
+ export type getEnvironmentVariablesParameters = {
3345
+ }
3346
+ export type getEnvironmentVariablesReturnValue = {
3347
+ environmentVariables: { [key: string]: string };
3348
+ }
3286
3349
  /**
3287
3350
  * Returns all media queries parsed by the rendering engine.
3288
3351
  */
@@ -3874,7 +3937,7 @@ front-end.
3874
3937
  /**
3875
3938
  * Pseudo element type.
3876
3939
  */
3877
- export type PseudoType = "first-line"|"first-letter"|"checkmark"|"before"|"after"|"picker-icon"|"marker"|"backdrop"|"column"|"selection"|"search-text"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scroll-marker"|"scroll-marker-group"|"scroll-button"|"scrollbar"|"scrollbar-thumb"|"scrollbar-button"|"scrollbar-track"|"scrollbar-track-piece"|"scrollbar-corner"|"resizer"|"input-list-button"|"view-transition"|"view-transition-group"|"view-transition-image-pair"|"view-transition-old"|"view-transition-new"|"placeholder"|"file-selector-button"|"details-content"|"picker";
3940
+ export type PseudoType = "first-line"|"first-letter"|"checkmark"|"before"|"after"|"picker-icon"|"marker"|"backdrop"|"column"|"selection"|"search-text"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scroll-marker"|"scroll-marker-group"|"scroll-button"|"scrollbar"|"scrollbar-thumb"|"scrollbar-button"|"scrollbar-track"|"scrollbar-track-piece"|"scrollbar-corner"|"resizer"|"input-list-button"|"view-transition"|"view-transition-group"|"view-transition-image-pair"|"view-transition-group-children"|"view-transition-old"|"view-transition-new"|"placeholder"|"file-selector-button"|"details-content"|"picker"|"permission-icon";
3878
3941
  /**
3879
3942
  * Shadow root type.
3880
3943
  */
@@ -4667,6 +4730,10 @@ either returned or not.
4667
4730
  * JavaScript object id of the node wrapper.
4668
4731
  */
4669
4732
  objectId?: Runtime.RemoteObjectId;
4733
+ /**
4734
+ * Include all shadow roots. Equals to false if not specified.
4735
+ */
4736
+ includeShadowDOM?: boolean;
4670
4737
  }
4671
4738
  export type getOuterHTMLReturnValue = {
4672
4739
  /**
@@ -4882,7 +4949,7 @@ appear on top of all other content.
4882
4949
  /**
4883
4950
  * Type of relation to get.
4884
4951
  */
4885
- relation: "PopoverTarget"|"InterestTarget";
4952
+ relation: "PopoverTarget"|"InterestTarget"|"CommandFor";
4886
4953
  }
4887
4954
  export type getElementByRelationReturnValue = {
4888
4955
  /**
@@ -5190,9 +5257,9 @@ $x functions).
5190
5257
  /**
5191
5258
  * Returns the query container of the given node based on container query
5192
5259
  conditions: containerName, physical and logical axes, and whether it queries
5193
- scroll-state. If no axes are provided and queriesScrollState is false, the
5194
- style container is returned, which is the direct parent or the closest
5195
- element with a matching container-name.
5260
+ scroll-state or anchored elements. If no axes are provided and
5261
+ queriesScrollState is false, the style container is returned, which is the
5262
+ direct parent or the closest element with a matching container-name.
5196
5263
  */
5197
5264
  export type getContainerForNodeParameters = {
5198
5265
  nodeId: NodeId;
@@ -5200,6 +5267,7 @@ element with a matching container-name.
5200
5267
  physicalAxes?: PhysicalAxes;
5201
5268
  logicalAxes?: LogicalAxes;
5202
5269
  queriesScrollState?: boolean;
5270
+ queriesAnchored?: boolean;
5203
5271
  }
5204
5272
  export type getContainerForNodeReturnValue = {
5205
5273
  /**
@@ -5246,6 +5314,27 @@ the given positioned element.
5246
5314
  */
5247
5315
  nodeId: NodeId;
5248
5316
  }
5317
+ /**
5318
+ * When enabling, this API force-opens the popover identified by nodeId
5319
+ and keeps it open until disabled.
5320
+ */
5321
+ export type forceShowPopoverParameters = {
5322
+ /**
5323
+ * Id of the popover HTMLElement
5324
+ */
5325
+ nodeId: NodeId;
5326
+ /**
5327
+ * If true, opens the popover and keeps it open. If false, closes the
5328
+ popover if it was previously force-opened.
5329
+ */
5330
+ enable: boolean;
5331
+ }
5332
+ export type forceShowPopoverReturnValue = {
5333
+ /**
5334
+ * List of popovers that were closed in order to respect popover stacking order.
5335
+ */
5336
+ nodeIds: NodeId[];
5337
+ }
5249
5338
  }
5250
5339
 
5251
5340
  /**
@@ -6258,6 +6347,11 @@ Missing optional values will be filled in by the target with what it would norma
6258
6347
  mobile: boolean;
6259
6348
  bitness?: string;
6260
6349
  wow64?: boolean;
6350
+ /**
6351
+ * Used to specify User Agent form-factor values.
6352
+ See https://wicg.github.io/ua-client-hints/#sec-ch-ua-form-factors
6353
+ */
6354
+ formFactors?: string[];
6261
6355
  }
6262
6356
  /**
6263
6357
  * Used to specify sensor types to emulate.
@@ -6556,8 +6650,16 @@ physiologically accurate emulations for medically recognized color vision defici
6556
6650
  export type setEmulatedVisionDeficiencyReturnValue = {
6557
6651
  }
6558
6652
  /**
6559
- * Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position
6560
- unavailable.
6653
+ * Emulates the given OS text scale.
6654
+ */
6655
+ export type setEmulatedOSTextScaleParameters = {
6656
+ scale?: number;
6657
+ }
6658
+ export type setEmulatedOSTextScaleReturnValue = {
6659
+ }
6660
+ /**
6661
+ * Overrides the Geolocation Position or Error. Omitting latitude, longitude or
6662
+ accuracy emulates position unavailable.
6561
6663
  */
6562
6664
  export type setGeolocationOverrideParameters = {
6563
6665
  /**
@@ -6572,6 +6674,22 @@ unavailable.
6572
6674
  * Mock accuracy
6573
6675
  */
6574
6676
  accuracy?: number;
6677
+ /**
6678
+ * Mock altitude
6679
+ */
6680
+ altitude?: number;
6681
+ /**
6682
+ * Mock altitudeAccuracy
6683
+ */
6684
+ altitudeAccuracy?: number;
6685
+ /**
6686
+ * Mock heading
6687
+ */
6688
+ heading?: number;
6689
+ /**
6690
+ * Mock speed
6691
+ */
6692
+ speed?: number;
6575
6693
  }
6576
6694
  export type setGeolocationOverrideReturnValue = {
6577
6695
  }
@@ -6619,7 +6737,8 @@ platform-provided telemetry data.
6619
6737
  export type setPressureSourceOverrideEnabledReturnValue = {
6620
6738
  }
6621
6739
  /**
6622
- * Provides a given pressure state that will be processed and eventually be
6740
+ * TODO: OBSOLETE: To remove when setPressureDataOverride is merged.
6741
+ Provides a given pressure state that will be processed and eventually be
6623
6742
  delivered to PressureObserver users. |source| must have been previously
6624
6743
  overridden by setPressureSourceOverrideEnabled.
6625
6744
  */
@@ -6629,6 +6748,18 @@ overridden by setPressureSourceOverrideEnabled.
6629
6748
  }
6630
6749
  export type setPressureStateOverrideReturnValue = {
6631
6750
  }
6751
+ /**
6752
+ * Provides a given pressure data set that will be processed and eventually be
6753
+ delivered to PressureObserver users. |source| must have been previously
6754
+ overridden by setPressureSourceOverrideEnabled.
6755
+ */
6756
+ export type setPressureDataOverrideParameters = {
6757
+ source: PressureSource;
6758
+ state: PressureState;
6759
+ ownContributionEstimate?: number;
6760
+ }
6761
+ export type setPressureDataOverrideReturnValue = {
6762
+ }
6632
6763
  /**
6633
6764
  * Overrides the Idle state.
6634
6765
  */
@@ -6776,6 +6907,17 @@ on Android.
6776
6907
  }
6777
6908
  export type setDisabledImageTypesReturnValue = {
6778
6909
  }
6910
+ /**
6911
+ * Override the value of navigator.connection.saveData
6912
+ */
6913
+ export type setDataSaverOverrideParameters = {
6914
+ /**
6915
+ * Override value. Omitting the parameter disables the override.
6916
+ */
6917
+ dataSaverEnabled?: boolean;
6918
+ }
6919
+ export type setDataSaverOverrideReturnValue = {
6920
+ }
6779
6921
  export type setHardwareConcurrencyOverrideParameters = {
6780
6922
  /**
6781
6923
  * Hardware concurrency to report
@@ -6819,6 +6961,19 @@ on Android.
6819
6961
  }
6820
6962
  export type setAutomationOverrideReturnValue = {
6821
6963
  }
6964
+ /**
6965
+ * Allows overriding the difference between the small and large viewport sizes, which determine the
6966
+ value of the `svh` and `lvh` unit, respectively. Only supported for top-level frames.
6967
+ */
6968
+ export type setSmallViewportHeightDifferenceOverrideParameters = {
6969
+ /**
6970
+ * This will cause an element of size 100svh to be `difference` pixels smaller than an element
6971
+ of size 100lvh.
6972
+ */
6973
+ difference: number;
6974
+ }
6975
+ export type setSmallViewportHeightDifferenceOverrideReturnValue = {
6976
+ }
6822
6977
  }
6823
6978
 
6824
6979
  /**
@@ -8552,7 +8707,7 @@ file, data and other requests and responses, their headers, bodies, timing, etc.
8552
8707
  /**
8553
8708
  * Resource type as it was perceived by the rendering engine.
8554
8709
  */
8555
- export type ResourceType = "Document"|"Stylesheet"|"Image"|"Media"|"Font"|"Script"|"TextTrack"|"XHR"|"Fetch"|"Prefetch"|"EventSource"|"WebSocket"|"Manifest"|"SignedExchange"|"Ping"|"CSPViolationReport"|"Preflight"|"Other";
8710
+ export type ResourceType = "Document"|"Stylesheet"|"Image"|"Media"|"Font"|"Script"|"TextTrack"|"XHR"|"Fetch"|"Prefetch"|"EventSource"|"WebSocket"|"Manifest"|"SignedExchange"|"Ping"|"CSPViolationReport"|"Preflight"|"FedCM"|"Other";
8556
8711
  /**
8557
8712
  * Unique loader identifier.
8558
8713
  */
@@ -8875,7 +9030,7 @@ applicable or not known.
8875
9030
  /**
8876
9031
  * The reason why request was blocked.
8877
9032
  */
8878
- export type BlockedReason = "other"|"csp"|"mixed-content"|"origin"|"inspector"|"subresource-filter"|"content-type"|"coep-frame-resource-needs-coep-header"|"coop-sandboxed-iframe-cannot-navigate-to-coop-page"|"corp-not-same-origin"|"corp-not-same-origin-after-defaulted-to-same-origin-by-coep"|"corp-not-same-origin-after-defaulted-to-same-origin-by-dip"|"corp-not-same-origin-after-defaulted-to-same-origin-by-coep-and-dip"|"corp-not-same-site"|"sri-message-signature-mismatch";
9033
+ 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";
8879
9034
  /**
8880
9035
  * The reason why request was blocked.
8881
9036
  */
@@ -8914,7 +9069,7 @@ records.
8914
9069
  /**
8915
9070
  * Source of service worker router.
8916
9071
  */
8917
- export type ServiceWorkerRouterSource = "network"|"cache"|"fetch-event"|"race-network-and-fetch-handler";
9072
+ export type ServiceWorkerRouterSource = "network"|"cache"|"fetch-event"|"race-network-and-fetch-handler"|"race-network-and-cache";
8918
9073
  export interface ServiceWorkerRouterInfo {
8919
9074
  /**
8920
9075
  * ID of the rule matched. If there is a matched rule, this field will
@@ -9046,6 +9201,11 @@ Otherwise, the API is not used.
9046
9201
  * Security details for the request.
9047
9202
  */
9048
9203
  securityDetails?: SecurityDetails;
9204
+ /**
9205
+ * Indicates whether the request was sent through IP Protection proxies. If
9206
+ set to true, the request used the IP Protection privacy feature.
9207
+ */
9208
+ isIpProtectionUsed?: boolean;
9049
9209
  }
9050
9210
  /**
9051
9211
  * WebSocket request data.
@@ -9538,6 +9698,11 @@ https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-
9538
9698
  * The outer response of signed HTTP exchange which was received from network.
9539
9699
  */
9540
9700
  outerResponse: Response;
9701
+ /**
9702
+ * Whether network response for the signed exchange was accompanied by
9703
+ extra headers.
9704
+ */
9705
+ hasExtraInfo: boolean;
9541
9706
  /**
9542
9707
  * Information about the signed exchange header.
9543
9708
  */
@@ -9575,8 +9740,41 @@ https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-
9575
9740
  receiveBufferSize?: number;
9576
9741
  dnsQueryType?: DirectSocketDnsQueryType;
9577
9742
  }
9743
+ export interface DirectUDPSocketOptions {
9744
+ remoteAddr?: string;
9745
+ /**
9746
+ * Unsigned int 16.
9747
+ */
9748
+ remotePort?: number;
9749
+ localAddr?: string;
9750
+ /**
9751
+ * Unsigned int 16.
9752
+ */
9753
+ localPort?: number;
9754
+ dnsQueryType?: DirectSocketDnsQueryType;
9755
+ /**
9756
+ * Expected to be unsigned integer.
9757
+ */
9758
+ sendBufferSize?: number;
9759
+ /**
9760
+ * Expected to be unsigned integer.
9761
+ */
9762
+ receiveBufferSize?: number;
9763
+ }
9764
+ export interface DirectUDPMessage {
9765
+ data: binary;
9766
+ /**
9767
+ * Null for connected mode.
9768
+ */
9769
+ remoteAddr?: string;
9770
+ /**
9771
+ * Null for connected mode.
9772
+ Expected to be unsigned integer.
9773
+ */
9774
+ remotePort?: number;
9775
+ }
9578
9776
  export type PrivateNetworkRequestPolicy = "Allow"|"BlockFromInsecureToMorePrivate"|"WarnFromInsecureToMorePrivate"|"PreflightBlock"|"PreflightWarn"|"PermissionBlock"|"PermissionWarn";
9579
- export type IPAddressSpace = "Local"|"Private"|"Public"|"Unknown";
9777
+ export type IPAddressSpace = "Loopback"|"Local"|"Public"|"Unknown";
9580
9778
  export interface ConnectTiming {
9581
9779
  /**
9582
9780
  * Timing's requestTime is a baseline in seconds, while the other numbers are ticks in
@@ -10191,6 +10389,79 @@ or were emitted for this request.
10191
10389
  identifier: RequestId;
10192
10390
  timestamp: MonotonicTime;
10193
10391
  }
10392
+ /**
10393
+ * Fired when data is sent to tcp direct socket stream.
10394
+ */
10395
+ export type directTCPSocketChunkSentPayload = {
10396
+ identifier: RequestId;
10397
+ data: binary;
10398
+ timestamp: MonotonicTime;
10399
+ }
10400
+ /**
10401
+ * Fired when data is received from tcp direct socket stream.
10402
+ */
10403
+ export type directTCPSocketChunkReceivedPayload = {
10404
+ identifier: RequestId;
10405
+ data: binary;
10406
+ timestamp: MonotonicTime;
10407
+ }
10408
+ /**
10409
+ * Fired upon direct_socket.UDPSocket creation.
10410
+ */
10411
+ export type directUDPSocketCreatedPayload = {
10412
+ identifier: RequestId;
10413
+ options: DirectUDPSocketOptions;
10414
+ timestamp: MonotonicTime;
10415
+ initiator?: Initiator;
10416
+ }
10417
+ /**
10418
+ * Fired when direct_socket.UDPSocket connection is opened.
10419
+ */
10420
+ export type directUDPSocketOpenedPayload = {
10421
+ identifier: RequestId;
10422
+ localAddr: string;
10423
+ /**
10424
+ * Expected to be unsigned integer.
10425
+ */
10426
+ localPort: number;
10427
+ timestamp: MonotonicTime;
10428
+ remoteAddr?: string;
10429
+ /**
10430
+ * Expected to be unsigned integer.
10431
+ */
10432
+ remotePort?: number;
10433
+ }
10434
+ /**
10435
+ * Fired when direct_socket.UDPSocket is aborted.
10436
+ */
10437
+ export type directUDPSocketAbortedPayload = {
10438
+ identifier: RequestId;
10439
+ errorMessage: string;
10440
+ timestamp: MonotonicTime;
10441
+ }
10442
+ /**
10443
+ * Fired when direct_socket.UDPSocket is closed.
10444
+ */
10445
+ export type directUDPSocketClosedPayload = {
10446
+ identifier: RequestId;
10447
+ timestamp: MonotonicTime;
10448
+ }
10449
+ /**
10450
+ * Fired when message is sent to udp direct socket stream.
10451
+ */
10452
+ export type directUDPSocketChunkSentPayload = {
10453
+ identifier: RequestId;
10454
+ message: DirectUDPMessage;
10455
+ timestamp: MonotonicTime;
10456
+ }
10457
+ /**
10458
+ * Fired when message is received from udp direct socket stream.
10459
+ */
10460
+ export type directUDPSocketChunkReceivedPayload = {
10461
+ identifier: RequestId;
10462
+ message: DirectUDPMessage;
10463
+ timestamp: MonotonicTime;
10464
+ }
10194
10465
  /**
10195
10466
  * Fired when additional information about a requestWillBeSent event is available from the
10196
10467
  network stack. Not every requestWillBeSent event will have an additional
@@ -10619,6 +10890,10 @@ all partition key attributes match the cookie partition key attribute.
10619
10890
  * Longest post body size (in bytes) that would be included in requestWillBeSent notification
10620
10891
  */
10621
10892
  maxPostDataSize?: number;
10893
+ /**
10894
+ * Whether DirectSocket chunk send/receive events should be reported.
10895
+ */
10896
+ reportDirectSocketTraffic?: boolean;
10622
10897
  }
10623
10898
  export type enableReturnValue = {
10624
10899
  }
@@ -11005,7 +11280,7 @@ should be omitted for worker targets.
11005
11280
  }
11006
11281
  /**
11007
11282
  * Sets Controls for third-party cookie access
11008
- Page reload is required before the new cookie bahavior will be observed
11283
+ Page reload is required before the new cookie behavior will be observed
11009
11284
  */
11010
11285
  export type setCookieControlsParameters = {
11011
11286
  /**
@@ -11419,7 +11694,7 @@ Page reload is required before the new cookie bahavior will be observed
11419
11694
  */
11420
11695
  maskColor?: DOM.RGBA;
11421
11696
  }
11422
- export type InspectMode = "searchForNode"|"searchForUAShadowDOM"|"captureAreaScreenshot"|"showDistances"|"none";
11697
+ export type InspectMode = "searchForNode"|"searchForUAShadowDOM"|"captureAreaScreenshot"|"none";
11423
11698
 
11424
11699
  /**
11425
11700
  * Fired when the node should be inspected. This happens after call to `setInspectMode` or when
@@ -11869,20 +12144,40 @@ Backend then generates 'inspectNodeRequested' event upon element selection.
11869
12144
  explanations?: AdFrameExplanation[];
11870
12145
  }
11871
12146
  /**
11872
- * Identifies the bottom-most script which caused the frame to be labelled
11873
- as an ad.
12147
+ * Identifies the script which caused a script or frame to be labelled as an
12148
+ ad.
11874
12149
  */
11875
12150
  export interface AdScriptId {
11876
12151
  /**
11877
- * Script Id of the bottom-most script which caused the frame to be labelled
11878
- as an ad.
12152
+ * Script Id of the script which caused a script or frame to be labelled as
12153
+ an ad.
11879
12154
  */
11880
12155
  scriptId: Runtime.ScriptId;
11881
12156
  /**
11882
- * Id of adScriptId's debugger.
12157
+ * Id of scriptId's debugger.
11883
12158
  */
11884
12159
  debuggerId: Runtime.UniqueDebuggerId;
11885
12160
  }
12161
+ /**
12162
+ * Encapsulates the script ancestry and the root script filterlist rule that
12163
+ caused the frame to be labelled as an ad. Only created when `ancestryChain`
12164
+ is not empty.
12165
+ */
12166
+ export interface AdScriptAncestry {
12167
+ /**
12168
+ * A chain of `AdScriptId`s representing the ancestry of an ad script that
12169
+ led to the creation of a frame. The chain is ordered from the script
12170
+ itself (lower level) up to its root ancestor that was flagged by
12171
+ filterlist.
12172
+ */
12173
+ ancestryChain: AdScriptId[];
12174
+ /**
12175
+ * The filterlist rule that caused the root (last) script in
12176
+ `ancestryChain` to be ad-tagged. Only populated if the rule is
12177
+ available.
12178
+ */
12179
+ rootScriptFilterlistRule?: string;
12180
+ }
11886
12181
  /**
11887
12182
  * Indicates whether the frame is a secure context and why it is the case.
11888
12183
  */
@@ -11895,8 +12190,9 @@ as an ad.
11895
12190
  /**
11896
12191
  * All Permissions Policy features. This enum should match the one defined
11897
12192
  in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
12193
+ LINT.IfChange(PermissionsPolicyFeature)
11898
12194
  */
11899
- export type PermissionsPolicyFeature = "accelerometer"|"all-screens-capture"|"ambient-light-sensor"|"attribution-reporting"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"captured-surface-control"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-prefers-reduced-transparency"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-high-entropy-values"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factors"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"compute-pressure"|"controlled-frame"|"cross-origin-isolated"|"deferred-fetch"|"deferred-fetch-minimal"|"digital-credentials-get"|"direct-sockets"|"direct-sockets-private"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"fenced-unpartitioned-storage-read"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"language-detector"|"local-fonts"|"magnetometer"|"media-playback-while-not-visible"|"microphone"|"midi"|"otp-credentials"|"payment"|"picture-in-picture"|"popins"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-create"|"publickey-credentials-get"|"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";
12195
+ 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-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";
11900
12196
  /**
11901
12197
  * Reason for a permissions policy feature to be disabled.
11902
12198
  */
@@ -12488,10 +12784,6 @@ https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-expl
12488
12784
  startUrl?: string;
12489
12785
  themeColor?: string;
12490
12786
  }
12491
- /**
12492
- * Enum of possible auto-response for permission / prompt dialogs.
12493
- */
12494
- export type AutoResponseMode = "none"|"autoAccept"|"autoReject"|"autoOptOut";
12495
12787
  /**
12496
12788
  * The type of a frameNavigated event.
12497
12789
  */
@@ -12499,7 +12791,7 @@ https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-expl
12499
12791
  /**
12500
12792
  * List of not restored reasons for back-forward cache.
12501
12793
  */
12502
- export type BackForwardCacheNotRestoredReason = "NotPrimaryMainFrame"|"BackForwardCacheDisabled"|"RelatedActiveContentsExist"|"HTTPStatusNotOK"|"SchemeNotHTTPOrHTTPS"|"Loading"|"WasGrantedMediaAccess"|"DisableForRenderFrameHostCalled"|"DomainNotAllowed"|"HTTPMethodNotGET"|"SubframeIsNavigating"|"Timeout"|"CacheLimit"|"JavaScriptExecution"|"RendererProcessKilled"|"RendererProcessCrashed"|"SchedulerTrackedFeatureUsed"|"ConflictingBrowsingInstance"|"CacheFlushed"|"ServiceWorkerVersionActivation"|"SessionRestored"|"ServiceWorkerPostMessage"|"EnteredBackForwardCacheBeforeServiceWorkerHostAdded"|"RenderFrameHostReused_SameSite"|"RenderFrameHostReused_CrossSite"|"ServiceWorkerClaim"|"IgnoreEventAndEvict"|"HaveInnerContents"|"TimeoutPuttingInCache"|"BackForwardCacheDisabledByLowMemory"|"BackForwardCacheDisabledByCommandLine"|"NetworkRequestDatapipeDrainedAsBytesConsumer"|"NetworkRequestRedirected"|"NetworkRequestTimeout"|"NetworkExceedsBufferLimit"|"NavigationCancelledWhileRestoring"|"NotMostRecentNavigationEntry"|"BackForwardCacheDisabledForPrerender"|"UserAgentOverrideDiffers"|"ForegroundCacheLimit"|"BrowsingInstanceNotSwapped"|"BackForwardCacheDisabledForDelegate"|"UnloadHandlerExistsInMainFrame"|"UnloadHandlerExistsInSubFrame"|"ServiceWorkerUnregistration"|"CacheControlNoStore"|"CacheControlNoStoreCookieModified"|"CacheControlNoStoreHTTPOnlyCookieModified"|"NoResponseHead"|"Unknown"|"ActivationNavigationsDisallowedForBug1234857"|"ErrorDocument"|"FencedFramesEmbedder"|"CookieDisabled"|"HTTPAuthRequired"|"CookieFlushed"|"BroadcastChannelOnMessage"|"WebViewSettingsChanged"|"WebViewJavaScriptObjectChanged"|"WebViewMessageListenerInjected"|"WebViewSafeBrowsingAllowlistChanged"|"WebViewDocumentStartJavascriptChanged"|"WebSocket"|"WebTransport"|"WebRTC"|"MainResourceHasCacheControlNoStore"|"MainResourceHasCacheControlNoCache"|"SubresourceHasCacheControlNoStore"|"SubresourceHasCacheControlNoCache"|"ContainsPlugins"|"DocumentLoaded"|"OutstandingNetworkRequestOthers"|"RequestedMIDIPermission"|"RequestedAudioCapturePermission"|"RequestedVideoCapturePermission"|"RequestedBackForwardCacheBlockedSensors"|"RequestedBackgroundWorkPermission"|"BroadcastChannel"|"WebXR"|"SharedWorker"|"WebLocks"|"WebHID"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"KeepaliveRequest"|"IndexedDBEvent"|"Dummy"|"JsNetworkRequestReceivedCacheControlNoStoreResource"|"WebRTCSticky"|"WebTransportSticky"|"WebSocketSticky"|"SmartCard"|"LiveMediaStreamTrack"|"UnloadHandler"|"ParserAborted"|"ContentSecurityHandler"|"ContentWebAuthenticationAPI"|"ContentFileChooser"|"ContentSerial"|"ContentFileSystemAccess"|"ContentMediaDevicesDispatcherHost"|"ContentWebBluetooth"|"ContentWebUSB"|"ContentMediaSessionService"|"ContentScreenReader"|"ContentDiscarded"|"EmbedderPopupBlockerTabHelper"|"EmbedderSafeBrowsingTriggeredPopupBlocker"|"EmbedderSafeBrowsingThreatDetails"|"EmbedderAppBannerManager"|"EmbedderDomDistillerViewerSource"|"EmbedderDomDistillerSelfDeletingRequestDelegate"|"EmbedderOomInterventionTabHelper"|"EmbedderOfflinePage"|"EmbedderChromePasswordManagerClientBindCredentialManager"|"EmbedderPermissionRequestManager"|"EmbedderModalDialog"|"EmbedderExtensions"|"EmbedderExtensionMessaging"|"EmbedderExtensionMessagingForOpenPort"|"EmbedderExtensionSentMessageToCachedFrame"|"RequestedByWebViewClient"|"PostMessageByWebViewClient"|"CacheControlNoStoreDeviceBoundSessionTerminated"|"CacheLimitPruned";
12794
+ 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"|"WebRTCSticky"|"WebTransportSticky"|"WebSocketSticky"|"SmartCard"|"LiveMediaStreamTrack"|"UnloadHandler"|"ParserAborted"|"ContentSecurityHandler"|"ContentWebAuthenticationAPI"|"ContentFileChooser"|"ContentSerial"|"ContentFileSystemAccess"|"ContentMediaDevicesDispatcherHost"|"ContentWebBluetooth"|"ContentWebUSB"|"ContentMediaSessionService"|"ContentScreenReader"|"ContentDiscarded"|"EmbedderPopupBlockerTabHelper"|"EmbedderSafeBrowsingTriggeredPopupBlocker"|"EmbedderSafeBrowsingThreatDetails"|"EmbedderAppBannerManager"|"EmbedderDomDistillerViewerSource"|"EmbedderDomDistillerSelfDeletingRequestDelegate"|"EmbedderOomInterventionTabHelper"|"EmbedderOfflinePage"|"EmbedderChromePasswordManagerClientBindCredentialManager"|"EmbedderPermissionRequestManager"|"EmbedderModalDialog"|"EmbedderExtensions"|"EmbedderExtensionMessaging"|"EmbedderExtensionMessagingForOpenPort"|"EmbedderExtensionSentMessageToCachedFrame"|"RequestedByWebViewClient"|"PostMessageByWebViewClient"|"CacheControlNoStoreDeviceBoundSessionTerminated"|"CacheLimitPrunedOnModerateMemoryPressure"|"CacheLimitPrunedOnCriticalMemoryPressure";
12503
12795
  /**
12504
12796
  * Types of not restored reasons for back-forward cache.
12505
12797
  */
@@ -12786,6 +13078,10 @@ Deprecated. Use Browser.downloadProgress instead.
12786
13078
  closed.
12787
13079
  */
12788
13080
  export type javascriptDialogClosedPayload = {
13081
+ /**
13082
+ * Frame id.
13083
+ */
13084
+ frameId: FrameId;
12789
13085
  /**
12790
13086
  * Whether dialog was confirmed.
12791
13087
  */
@@ -12804,6 +13100,10 @@ open.
12804
13100
  * Frame url.
12805
13101
  */
12806
13102
  url: string;
13103
+ /**
13104
+ * Frame id.
13105
+ */
13106
+ frameId: FrameId;
12807
13107
  /**
12808
13108
  * Message that will be displayed by the dialog.
12809
13109
  */
@@ -12932,8 +13232,7 @@ etc.
12932
13232
  userGesture: boolean;
12933
13233
  }
12934
13234
  /**
12935
- * Issued for every compilation cache generated. Is only available
12936
- if Page.setGenerateCompilationCache is enabled.
13235
+ * Issued for every compilation cache generated.
12937
13236
  */
12938
13237
  export type compilationCacheProducedPayload = {
12939
13238
  url: string;
@@ -13175,15 +13474,18 @@ Only returns values if the feature flag 'WebAppEnableManifestId' is enabled
13175
13474
  */
13176
13475
  recommendedId?: string;
13177
13476
  }
13178
- export type getAdScriptIdParameters = {
13477
+ export type getAdScriptAncestryParameters = {
13179
13478
  frameId: FrameId;
13180
13479
  }
13181
- export type getAdScriptIdReturnValue = {
13480
+ export type getAdScriptAncestryReturnValue = {
13182
13481
  /**
13183
- * Identifies the bottom-most script which caused the frame to be labelled
13184
- as an ad. Only sent if frame is labelled as an ad and id is available.
13482
+ * The ancestry chain of ad script identifiers leading to this frame's
13483
+ creation, along with the root script's filterlist rule. The ancestry
13484
+ chain is ordered from the most immediate script (in the frame creation
13485
+ stack) to more distant ancestors (that created the immediately preceding
13486
+ script). Only sent if frame is labelled as an ad and ids are available.
13185
13487
  */
13186
- adScriptId?: AdScriptId;
13488
+ adScriptAncestry?: AdScriptAncestry;
13187
13489
  }
13188
13490
  /**
13189
13491
  * Returns present frame tree structure.
@@ -13338,6 +13640,10 @@ as the previously committed loaderId would not change.
13338
13640
  * User friendly error message, present if and only if navigation has failed.
13339
13641
  */
13340
13642
  errorText?: string;
13643
+ /**
13644
+ * Whether the navigation resulted in a download.
13645
+ */
13646
+ isDownload?: boolean;
13341
13647
  }
13342
13648
  /**
13343
13649
  * Navigates current page to the given history entry.
@@ -13855,7 +14161,7 @@ cross-process navigation.
13855
14161
  https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode
13856
14162
  */
13857
14163
  export type setSPCTransactionModeParameters = {
13858
- mode: AutoResponseMode;
14164
+ mode: "none"|"autoAccept"|"autoChooseToAuthAnotherWay"|"autoReject"|"autoOptOut";
13859
14165
  }
13860
14166
  export type setSPCTransactionModeReturnValue = {
13861
14167
  }
@@ -13864,7 +14170,7 @@ https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-trans
13864
14170
  https://html.spec.whatwg.org/multipage/system-state.html#rph-automation
13865
14171
  */
13866
14172
  export type setRPHRegistrationModeParameters = {
13867
- mode: AutoResponseMode;
14173
+ mode: "none"|"autoAccept"|"autoReject";
13868
14174
  }
13869
14175
  export type setRPHRegistrationModeReturnValue = {
13870
14176
  }
@@ -14482,11 +14788,6 @@ For cached script it is the last time the cache entry was validated.
14482
14788
  }
14483
14789
  export type enableReturnValue = {
14484
14790
  }
14485
- export type inspectWorkerParameters = {
14486
- versionId: string;
14487
- }
14488
- export type inspectWorkerReturnValue = {
14489
- }
14490
14791
  export type setForceUpdateOnPageLoadParameters = {
14491
14792
  forceUpdateOnPageLoad: boolean;
14492
14793
  }
@@ -14603,6 +14904,28 @@ storage.
14603
14904
  */
14604
14905
  bytesUsed: number;
14605
14906
  }
14907
+ /**
14908
+ * Represents a dictionary object passed in as privateAggregationConfig to
14909
+ run or selectURL.
14910
+ */
14911
+ export interface SharedStoragePrivateAggregationConfig {
14912
+ /**
14913
+ * The chosen aggregation service deployment.
14914
+ */
14915
+ aggregationCoordinatorOrigin?: string;
14916
+ /**
14917
+ * The context ID provided.
14918
+ */
14919
+ contextId?: string;
14920
+ /**
14921
+ * Configures the maximum size allowed for filtering IDs.
14922
+ */
14923
+ filteringIdMaxBytes: number;
14924
+ /**
14925
+ * The limit on the number of contributions in the final report.
14926
+ */
14927
+ maxContributions?: number;
14928
+ }
14606
14929
  /**
14607
14930
  * Pair of reporting metadata details for a candidate URL for `selectURL()`.
14608
14931
  */
@@ -14630,57 +14953,102 @@ presence/absence can vary according to SharedStorageAccessType.
14630
14953
  export interface SharedStorageAccessParams {
14631
14954
  /**
14632
14955
  * Spec of the module script URL.
14633
- Present only for SharedStorageAccessType.documentAddModule.
14956
+ Present only for SharedStorageAccessMethods: addModule and
14957
+ createWorklet.
14634
14958
  */
14635
14959
  scriptSourceUrl?: string;
14960
+ /**
14961
+ * String denoting "context-origin", "script-origin", or a custom
14962
+ origin to be used as the worklet's data origin.
14963
+ Present only for SharedStorageAccessMethod: createWorklet.
14964
+ */
14965
+ dataOrigin?: string;
14636
14966
  /**
14637
14967
  * Name of the registered operation to be run.
14638
- Present only for SharedStorageAccessType.documentRun and
14639
- SharedStorageAccessType.documentSelectURL.
14968
+ Present only for SharedStorageAccessMethods: run and selectURL.
14640
14969
  */
14641
14970
  operationName?: string;
14971
+ /**
14972
+ * ID of the operation call.
14973
+ Present only for SharedStorageAccessMethods: run and selectURL.
14974
+ */
14975
+ operationId?: string;
14976
+ /**
14977
+ * Whether or not to keep the worket alive for future run or selectURL
14978
+ calls.
14979
+ Present only for SharedStorageAccessMethods: run and selectURL.
14980
+ */
14981
+ keepAlive?: boolean;
14982
+ /**
14983
+ * Configures the private aggregation options.
14984
+ Present only for SharedStorageAccessMethods: run and selectURL.
14985
+ */
14986
+ privateAggregationConfig?: SharedStoragePrivateAggregationConfig;
14642
14987
  /**
14643
14988
  * The operation's serialized data in bytes (converted to a string).
14644
- Present only for SharedStorageAccessType.documentRun and
14645
- SharedStorageAccessType.documentSelectURL.
14989
+ Present only for SharedStorageAccessMethods: run and selectURL.
14990
+ TODO(crbug.com/401011862): Consider updating this parameter to binary.
14646
14991
  */
14647
14992
  serializedData?: string;
14648
14993
  /**
14649
14994
  * Array of candidate URLs' specs, along with any associated metadata.
14650
- Present only for SharedStorageAccessType.documentSelectURL.
14995
+ Present only for SharedStorageAccessMethod: selectURL.
14651
14996
  */
14652
14997
  urlsWithMetadata?: SharedStorageUrlWithMetadata[];
14998
+ /**
14999
+ * Spec of the URN:UUID generated for a selectURL call.
15000
+ Present only for SharedStorageAccessMethod: selectURL.
15001
+ */
15002
+ urnUuid?: string;
14653
15003
  /**
14654
15004
  * Key for a specific entry in an origin's shared storage.
14655
- Present only for SharedStorageAccessType.documentSet,
14656
- SharedStorageAccessType.documentAppend,
14657
- SharedStorageAccessType.documentDelete,
14658
- SharedStorageAccessType.workletSet,
14659
- SharedStorageAccessType.workletAppend,
14660
- SharedStorageAccessType.workletDelete,
14661
- SharedStorageAccessType.workletGet,
14662
- SharedStorageAccessType.headerSet,
14663
- SharedStorageAccessType.headerAppend, and
14664
- SharedStorageAccessType.headerDelete.
15005
+ Present only for SharedStorageAccessMethods: set, append, delete, and
15006
+ get.
14665
15007
  */
14666
15008
  key?: string;
14667
15009
  /**
14668
15010
  * Value for a specific entry in an origin's shared storage.
14669
- Present only for SharedStorageAccessType.documentSet,
14670
- SharedStorageAccessType.documentAppend,
14671
- SharedStorageAccessType.workletSet,
14672
- SharedStorageAccessType.workletAppend,
14673
- SharedStorageAccessType.headerSet, and
14674
- SharedStorageAccessType.headerAppend.
15011
+ Present only for SharedStorageAccessMethods: set and append.
14675
15012
  */
14676
15013
  value?: string;
14677
15014
  /**
14678
15015
  * Whether or not to set an entry for a key if that key is already present.
14679
- Present only for SharedStorageAccessType.documentSet,
14680
- SharedStorageAccessType.workletSet, and
14681
- SharedStorageAccessType.headerSet.
15016
+ Present only for SharedStorageAccessMethod: set.
14682
15017
  */
14683
15018
  ignoreIfPresent?: boolean;
15019
+ /**
15020
+ * A number denoting the (0-based) order of the worklet's
15021
+ creation relative to all other shared storage worklets created by
15022
+ documents using the current storage partition.
15023
+ Present only for SharedStorageAccessMethods: addModule, createWorklet.
15024
+ */
15025
+ workletOrdinal?: number;
15026
+ /**
15027
+ * Hex representation of the DevTools token used as the TargetID for the
15028
+ associated shared storage worklet.
15029
+ Present only for SharedStorageAccessMethods: addModule, createWorklet,
15030
+ run, selectURL, and any other SharedStorageAccessMethod when the
15031
+ SharedStorageAccessScope is sharedStorageWorklet.
15032
+ */
15033
+ workletTargetId?: Target.TargetID;
15034
+ /**
15035
+ * Name of the lock to be acquired, if present.
15036
+ Optionally present only for SharedStorageAccessMethods: batchUpdate,
15037
+ set, append, delete, and clear.
15038
+ */
15039
+ withLock?: string;
15040
+ /**
15041
+ * If the method has been called as part of a batchUpdate, then this
15042
+ number identifies the batch to which it belongs.
15043
+ Optionally present only for SharedStorageAccessMethods:
15044
+ batchUpdate (required), set, append, delete, and clear.
15045
+ */
15046
+ batchUpdateId?: string;
15047
+ /**
15048
+ * Number of modifier methods sent in batch.
15049
+ Present only for SharedStorageAccessMethod: batchUpdate.
15050
+ */
15051
+ batchSize?: number;
14684
15052
  }
14685
15053
  export type StorageBucketsDurability = "relaxed"|"strict";
14686
15054
  export interface StorageBucket {
@@ -14734,14 +15102,6 @@ SharedStorageAccessType.headerSet.
14734
15102
  */
14735
15103
  ends: number[];
14736
15104
  }
14737
- export interface AttributionReportingTriggerSpec {
14738
- /**
14739
- * number instead of integer because not all uint32 can be represented by
14740
- int
14741
- */
14742
- triggerData: number[];
14743
- eventReportWindows: AttributionReportingEventReportWindows;
14744
- }
14745
15105
  export type AttributionReportingTriggerDataMatching = "exact"|"modulus";
14746
15106
  export interface AttributionReportingAggregatableDebugReportingData {
14747
15107
  keyPiece: UnsignedInt128AsBase16;
@@ -14771,13 +15131,22 @@ int
14771
15131
  limit: number;
14772
15132
  maxEventStates: number;
14773
15133
  }
15134
+ export interface AttributionReportingNamedBudgetDef {
15135
+ name: string;
15136
+ budget: number;
15137
+ }
14774
15138
  export interface AttributionReportingSourceRegistration {
14775
15139
  time: Network.TimeSinceEpoch;
14776
15140
  /**
14777
15141
  * duration in seconds
14778
15142
  */
14779
15143
  expiry: number;
14780
- triggerSpecs: AttributionReportingTriggerSpec[];
15144
+ /**
15145
+ * number instead of integer because not all uint32 can be represented by
15146
+ int
15147
+ */
15148
+ triggerData: number[];
15149
+ eventReportWindows: AttributionReportingEventReportWindows;
14781
15150
  /**
14782
15151
  * duration in seconds
14783
15152
  */
@@ -14796,6 +15165,9 @@ int
14796
15165
  aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
14797
15166
  scopesData?: AttributionScopesData;
14798
15167
  maxEventLevelReports: number;
15168
+ namedBudgets: AttributionReportingNamedBudgetDef[];
15169
+ debugReporting: boolean;
15170
+ eventLevelEpsilon: number;
14799
15171
  }
14800
15172
  export type AttributionReportingSourceRegistrationResult = "success"|"internalError"|"insufficientSourceCapacity"|"insufficientUniqueDestinationCapacity"|"excessiveReportingOrigins"|"prohibitedByBrowserPolicy"|"successNoised"|"destinationReportingLimitReached"|"destinationGlobalLimitReached"|"destinationBothLimitsReached"|"reportingOriginsPerSiteLimitReached"|"exceedsMaxChannelCapacity"|"exceedsMaxScopesChannelCapacity"|"exceedsMaxTriggerStateCardinality"|"exceedsMaxEventStatesLimit"|"destinationPerDayReportingLimitReached";
14801
15173
  export type AttributionReportingSourceRegistrationTimeConfig = "include"|"exclude";
@@ -14827,6 +15199,10 @@ int
14827
15199
  dedupKey?: UnsignedInt64AsBase10;
14828
15200
  filters: AttributionReportingFilterPair;
14829
15201
  }
15202
+ export interface AttributionReportingNamedBudgetCandidate {
15203
+ name?: string;
15204
+ filters: AttributionReportingFilterPair;
15205
+ }
14830
15206
  export interface AttributionReportingTriggerRegistration {
14831
15207
  filters: AttributionReportingFilterPair;
14832
15208
  debugKey?: UnsignedInt64AsBase10;
@@ -14841,9 +15217,11 @@ int
14841
15217
  triggerContextId?: string;
14842
15218
  aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
14843
15219
  scopes: string[];
15220
+ namedBudgets: AttributionReportingNamedBudgetCandidate[];
14844
15221
  }
14845
15222
  export type AttributionReportingEventLevelResult = "success"|"successDroppedLowerPriority"|"internalError"|"noCapacityForAttributionDestination"|"noMatchingSources"|"deduplicated"|"excessiveAttributions"|"priorityTooLow"|"neverAttributedSource"|"excessiveReportingOrigins"|"noMatchingSourceFilterData"|"prohibitedByBrowserPolicy"|"noMatchingConfigurations"|"excessiveReports"|"falselyAttributedSource"|"reportWindowPassed"|"notRegistered"|"reportWindowNotStarted"|"noMatchingTriggerData";
14846
15223
  export type AttributionReportingAggregatableResult = "success"|"internalError"|"noCapacityForAttributionDestination"|"noMatchingSources"|"excessiveAttributions"|"excessiveReportingOrigins"|"noHistograms"|"insufficientBudget"|"insufficientNamedBudget"|"noMatchingSourceFilterData"|"notRegistered"|"prohibitedByBrowserPolicy"|"deduplicated"|"reportWindowPassed"|"excessiveReports";
15224
+ export type AttributionReportingReportResult = "sent"|"prohibited"|"failedToAssemble"|"expired";
14847
15225
  /**
14848
15226
  * A single Related Website Set object.
14849
15227
  */
@@ -15034,6 +15412,42 @@ presence/absence depends on `type`.
15034
15412
  */
15035
15413
  params: SharedStorageAccessParams;
15036
15414
  }
15415
+ /**
15416
+ * A shared storage run or selectURL operation finished its execution.
15417
+ The following parameters are included in all events.
15418
+ */
15419
+ export type sharedStorageWorkletOperationExecutionFinishedPayload = {
15420
+ /**
15421
+ * Time that the operation finished.
15422
+ */
15423
+ finishedTime: Network.TimeSinceEpoch;
15424
+ /**
15425
+ * Time, in microseconds, from start of shared storage JS API call until
15426
+ end of operation execution in the worklet.
15427
+ */
15428
+ executionTime: number;
15429
+ /**
15430
+ * Enum value indicating the Shared Storage API method invoked.
15431
+ */
15432
+ method: SharedStorageAccessMethod;
15433
+ /**
15434
+ * ID of the operation call.
15435
+ */
15436
+ operationId: string;
15437
+ /**
15438
+ * Hex representation of the DevTools token used as the TargetID for the
15439
+ associated shared storage worklet.
15440
+ */
15441
+ workletTargetId: Target.TargetID;
15442
+ /**
15443
+ * DevTools Frame Token for the primary frame tree's root.
15444
+ */
15445
+ mainFrameId: Page.FrameId;
15446
+ /**
15447
+ * Serialization of the origin owning the Shared Storage data.
15448
+ */
15449
+ ownerOrigin: string;
15450
+ }
15037
15451
  export type storageBucketCreatedOrUpdatedPayload = {
15038
15452
  bucketInfo: StorageBucketInfo;
15039
15453
  }
@@ -15049,6 +15463,24 @@ presence/absence depends on `type`.
15049
15463
  eventLevel: AttributionReportingEventLevelResult;
15050
15464
  aggregatable: AttributionReportingAggregatableResult;
15051
15465
  }
15466
+ export type attributionReportingReportSentPayload = {
15467
+ url: string;
15468
+ body: { [key: string]: string };
15469
+ result: AttributionReportingReportResult;
15470
+ /**
15471
+ * If result is `sent`, populated with net/HTTP status.
15472
+ */
15473
+ netError?: number;
15474
+ netErrorName?: string;
15475
+ httpStatusCode?: number;
15476
+ }
15477
+ export type attributionReportingVerboseDebugReportSentPayload = {
15478
+ url: string;
15479
+ body?: { [key: string]: string }[];
15480
+ netError?: number;
15481
+ netErrorName?: string;
15482
+ httpStatusCode?: number;
15483
+ }
15052
15484
 
15053
15485
  /**
15054
15486
  * Returns a storage key given a frame id.
@@ -15474,6 +15906,13 @@ party URL, only the first-party URL is returned in the array.
15474
15906
  */
15475
15907
  matchedUrls: string[];
15476
15908
  }
15909
+ export type setProtectedAudienceKAnonymityParameters = {
15910
+ owner: string;
15911
+ name: string;
15912
+ hashes: binary[];
15913
+ }
15914
+ export type setProtectedAudienceKAnonymityReturnValue = {
15915
+ }
15477
15916
  }
15478
15917
 
15479
15918
  /**
@@ -16008,6 +16447,12 @@ by headless shell).
16008
16447
  * Whether to create the target of type "tab".
16009
16448
  */
16010
16449
  forTab?: boolean;
16450
+ /**
16451
+ * Whether to create a hidden target. The hidden target is observable via protocol, but not
16452
+ present in the tab UI strip. Cannot be created with `forTab: true`, `newWindow: true` or
16453
+ `background: false`. The life-time of the tab is limited to the life-time of the session.
16454
+ */
16455
+ hidden?: boolean;
16011
16456
  }
16012
16457
  export type createTargetReturnValue = {
16013
16458
  /**
@@ -16084,11 +16529,14 @@ and crbug.com/991325.
16084
16529
  export type sendMessageToTargetReturnValue = {
16085
16530
  }
16086
16531
  /**
16087
- * Controls whether to automatically attach to new targets which are considered to be related to
16088
- this one. When turned on, attaches to all existing related targets as well. When turned off,
16532
+ * Controls whether to automatically attach to new targets which are considered
16533
+ to be directly related to this one (for example, iframes or workers).
16534
+ When turned on, attaches to all existing related targets as well. When turned off,
16089
16535
  automatically detaches from all currently attached targets.
16090
16536
  This also clears all targets added by `autoAttachRelated` from the list of targets to watch
16091
16537
  for creation of related targets.
16538
+ You might want to call this recursively for auto-attached targets to attach
16539
+ to all available targets.
16092
16540
  */
16093
16541
  export type setAutoAttachParameters = {
16094
16542
  /**
@@ -16163,6 +16611,21 @@ to run paused targets.
16163
16611
  }
16164
16612
  export type setRemoteLocationsReturnValue = {
16165
16613
  }
16614
+ /**
16615
+ * Opens a DevTools window for the target.
16616
+ */
16617
+ export type openDevToolsParameters = {
16618
+ /**
16619
+ * This can be the page or tab target ID.
16620
+ */
16621
+ targetId: TargetID;
16622
+ }
16623
+ export type openDevToolsReturnValue = {
16624
+ /**
16625
+ * The targetId of DevTools page target.
16626
+ */
16627
+ targetId: TargetID;
16628
+ }
16166
16629
  }
16167
16630
 
16168
16631
  /**
@@ -16215,7 +16678,7 @@ to run paused targets.
16215
16678
  export type MemoryDumpConfig = { [key: string]: string };
16216
16679
  export interface TraceConfig {
16217
16680
  /**
16218
- * Controls how the trace buffer stores data.
16681
+ * Controls how the trace buffer stores data. The default is `recordUntilFull`.
16219
16682
  */
16220
16683
  recordMode?: "recordUntilFull"|"recordContinuously"|"recordAsMuchAsPossible"|"echoToConsole";
16221
16684
  /**
@@ -17572,7 +18035,7 @@ See also:
17572
18035
  */
17573
18036
  errorMessage?: string;
17574
18037
  }
17575
- export type RuleSetErrorType = "SourceIsNotJsonObject"|"InvalidRulesSkipped";
18038
+ export type RuleSetErrorType = "SourceIsNotJsonObject"|"InvalidRulesSkipped"|"InvalidRulesetLevelTag";
17576
18039
  /**
17577
18040
  * The type of preloading attempted. It corresponds to
17578
18041
  mojom::SpeculationAction (although PrefetchWithSubresources is omitted as it
@@ -17623,7 +18086,7 @@ CDP events for them are emitted separately but they share
17623
18086
  /**
17624
18087
  * List of FinalStatus reasons for Prerender2.
17625
18088
  */
17626
- export type PrerenderFinalStatus = "Activated"|"Destroyed"|"LowEndDevice"|"InvalidSchemeRedirect"|"InvalidSchemeNavigation"|"NavigationRequestBlockedByCsp"|"MainFrameNavigation"|"MojoBinderPolicy"|"RendererProcessCrashed"|"RendererProcessKilled"|"Download"|"TriggerDestroyed"|"NavigationNotCommitted"|"NavigationBadHttpStatus"|"ClientCertRequested"|"NavigationRequestNetworkError"|"CancelAllHostsForTesting"|"DidFailLoad"|"Stop"|"SslCertificateError"|"LoginAuthRequested"|"UaChangeRequiresReload"|"BlockedByClient"|"AudioOutputDeviceRequested"|"MixedContent"|"TriggerBackgrounded"|"MemoryLimitExceeded"|"DataSaverEnabled"|"TriggerUrlHasEffectiveUrl"|"ActivatedBeforeStarted"|"InactivePageRestriction"|"StartFailed"|"TimeoutBackgrounded"|"CrossSiteRedirectInInitialNavigation"|"CrossSiteNavigationInInitialNavigation"|"SameSiteCrossOriginRedirectNotOptInInInitialNavigation"|"SameSiteCrossOriginNavigationNotOptInInInitialNavigation"|"ActivationNavigationParameterMismatch"|"ActivatedInBackground"|"EmbedderHostDisallowed"|"ActivationNavigationDestroyedBeforeSuccess"|"TabClosedByUserGesture"|"TabClosedWithoutUserGesture"|"PrimaryMainFrameRendererProcessCrashed"|"PrimaryMainFrameRendererProcessKilled"|"ActivationFramePolicyNotCompatible"|"PreloadingDisabled"|"BatterySaverEnabled"|"ActivatedDuringMainFrameNavigation"|"PreloadingUnsupportedByWebContents"|"CrossSiteRedirectInMainFrameNavigation"|"CrossSiteNavigationInMainFrameNavigation"|"SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation"|"SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation"|"MemoryPressureOnTrigger"|"MemoryPressureAfterTriggered"|"PrerenderingDisabledByDevTools"|"SpeculationRuleRemoved"|"ActivatedWithAuxiliaryBrowsingContexts"|"MaxNumOfRunningEagerPrerendersExceeded"|"MaxNumOfRunningNonEagerPrerendersExceeded"|"MaxNumOfRunningEmbedderPrerendersExceeded"|"PrerenderingUrlHasEffectiveUrl"|"RedirectedPrerenderingUrlHasEffectiveUrl"|"ActivationUrlHasEffectiveUrl"|"JavaScriptInterfaceAdded"|"JavaScriptInterfaceRemoved"|"AllPrerenderingCanceled"|"WindowClosed"|"SlowNetwork"|"OtherPrerenderedPageActivated"|"V8OptimizerDisabled"|"PrerenderFailedDuringPrefetch"|"BrowsingDataRemoved";
18089
+ export type PrerenderFinalStatus = "Activated"|"Destroyed"|"LowEndDevice"|"InvalidSchemeRedirect"|"InvalidSchemeNavigation"|"NavigationRequestBlockedByCsp"|"MojoBinderPolicy"|"RendererProcessCrashed"|"RendererProcessKilled"|"Download"|"TriggerDestroyed"|"NavigationNotCommitted"|"NavigationBadHttpStatus"|"ClientCertRequested"|"NavigationRequestNetworkError"|"CancelAllHostsForTesting"|"DidFailLoad"|"Stop"|"SslCertificateError"|"LoginAuthRequested"|"UaChangeRequiresReload"|"BlockedByClient"|"AudioOutputDeviceRequested"|"MixedContent"|"TriggerBackgrounded"|"MemoryLimitExceeded"|"DataSaverEnabled"|"TriggerUrlHasEffectiveUrl"|"ActivatedBeforeStarted"|"InactivePageRestriction"|"StartFailed"|"TimeoutBackgrounded"|"CrossSiteRedirectInInitialNavigation"|"CrossSiteNavigationInInitialNavigation"|"SameSiteCrossOriginRedirectNotOptInInInitialNavigation"|"SameSiteCrossOriginNavigationNotOptInInInitialNavigation"|"ActivationNavigationParameterMismatch"|"ActivatedInBackground"|"EmbedderHostDisallowed"|"ActivationNavigationDestroyedBeforeSuccess"|"TabClosedByUserGesture"|"TabClosedWithoutUserGesture"|"PrimaryMainFrameRendererProcessCrashed"|"PrimaryMainFrameRendererProcessKilled"|"ActivationFramePolicyNotCompatible"|"PreloadingDisabled"|"BatterySaverEnabled"|"ActivatedDuringMainFrameNavigation"|"PreloadingUnsupportedByWebContents"|"CrossSiteRedirectInMainFrameNavigation"|"CrossSiteNavigationInMainFrameNavigation"|"SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation"|"SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation"|"MemoryPressureOnTrigger"|"MemoryPressureAfterTriggered"|"PrerenderingDisabledByDevTools"|"SpeculationRuleRemoved"|"ActivatedWithAuxiliaryBrowsingContexts"|"MaxNumOfRunningEagerPrerendersExceeded"|"MaxNumOfRunningNonEagerPrerendersExceeded"|"MaxNumOfRunningEmbedderPrerendersExceeded"|"PrerenderingUrlHasEffectiveUrl"|"RedirectedPrerenderingUrlHasEffectiveUrl"|"ActivationUrlHasEffectiveUrl"|"JavaScriptInterfaceAdded"|"JavaScriptInterfaceRemoved"|"AllPrerenderingCanceled"|"WindowClosed"|"SlowNetwork"|"OtherPrerenderedPageActivated"|"V8OptimizerDisabled"|"PrerenderFailedDuringPrefetch"|"BrowsingDataRemoved"|"PrerenderHostReused";
17627
18090
  /**
17628
18091
  * Preloading status values, see also PreloadingTriggeringOutcome. This
17629
18092
  status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
@@ -17861,15 +18324,30 @@ https://web.dev/learn/pwa/web-app-manifest.
17861
18324
  fileHandlers: FileHandler[];
17862
18325
  }
17863
18326
  /**
17864
- * Installs the given manifest identity, optionally using the given install_url
17865
- or IWA bundle location.
18327
+ * Installs the given manifest identity, optionally using the given installUrlOrBundleUrl
17866
18328
 
17867
- TODO(crbug.com/337872319) Support IWA to meet the following specific
17868
- requirement.
17869
- IWA-specific install description: If the manifest_id is isolated-app://,
17870
- install_url_or_bundle_url is required, and can be either an http(s) URL or
17871
- file:// URL pointing to a signed web bundle (.swbn). The .swbn file's
17872
- signing key must correspond to manifest_id. If Chrome is not in IWA dev
18329
+ IWA-specific install description:
18330
+ manifestId corresponds to isolated-app:// + web_package::SignedWebBundleId
18331
+
18332
+ File installation mode:
18333
+ The installUrlOrBundleUrl can be either file:// or http(s):// pointing
18334
+ to a signed web bundle (.swbn). In this case SignedWebBundleId must correspond to
18335
+ The .swbn file's signing key.
18336
+
18337
+ Dev proxy installation mode:
18338
+ installUrlOrBundleUrl must be http(s):// that serves dev mode IWA.
18339
+ web_package::SignedWebBundleId must be of type dev proxy.
18340
+
18341
+ The advantage of dev proxy mode is that all changes to IWA
18342
+ automatically will be reflected in the running app without
18343
+ reinstallation.
18344
+
18345
+ To generate bundle id for proxy mode:
18346
+ 1. Generate 32 random bytes.
18347
+ 2. Add a specific suffix 0x00 at the end.
18348
+ 3. Encode the entire sequence using Base32 without padding.
18349
+
18350
+ If Chrome is not in IWA dev
17873
18351
  mode, the installation will fail, regardless of the state of the allowlist.
17874
18352
  */
17875
18353
  export type installParameters = {
@@ -17986,6 +18464,18 @@ the web-bluetooth API.
17986
18464
  * Indicates the various types of GATT event.
17987
18465
  */
17988
18466
  export type GATTOperationType = "connection"|"discovery";
18467
+ /**
18468
+ * Indicates the various types of characteristic write.
18469
+ */
18470
+ export type CharacteristicWriteType = "write-default-deprecated"|"write-with-response"|"write-without-response";
18471
+ /**
18472
+ * Indicates the various types of characteristic operation.
18473
+ */
18474
+ export type CharacteristicOperationType = "read"|"write"|"subscribe-to-notifications"|"unsubscribe-from-notifications";
18475
+ /**
18476
+ * Indicates the various types of descriptor operation.
18477
+ */
18478
+ export type DescriptorOperationType = "read"|"write";
17989
18479
  /**
17990
18480
  * Stores the manufacturer data
17991
18481
  */
@@ -18052,6 +18542,27 @@ happened.
18052
18542
  address: string;
18053
18543
  type: GATTOperationType;
18054
18544
  }
18545
+ /**
18546
+ * Event for when a characteristic operation of |type| to the characteristic
18547
+ respresented by |characteristicId| happened. |data| and |writeType| is
18548
+ expected to exist when |type| is write.
18549
+ */
18550
+ export type characteristicOperationReceivedPayload = {
18551
+ characteristicId: string;
18552
+ type: CharacteristicOperationType;
18553
+ data?: binary;
18554
+ writeType?: CharacteristicWriteType;
18555
+ }
18556
+ /**
18557
+ * Event for when a descriptor operation of |type| to the descriptor
18558
+ respresented by |descriptorId| happened. |data| is expected to exist when
18559
+ |type| is write.
18560
+ */
18561
+ export type descriptorOperationReceivedPayload = {
18562
+ descriptorId: string;
18563
+ type: DescriptorOperationType;
18564
+ data?: binary;
18565
+ }
18055
18566
 
18056
18567
  /**
18057
18568
  * Enable the BluetoothEmulation domain.
@@ -18119,6 +18630,36 @@ Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
18119
18630
  }
18120
18631
  export type simulateGATTOperationResponseReturnValue = {
18121
18632
  }
18633
+ /**
18634
+ * Simulates the response from the characteristic with |characteristicId| for a
18635
+ characteristic operation of |type|. The |code| value follows the Error
18636
+ Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
18637
+ The |data| is expected to exist when simulating a successful read operation
18638
+ response.
18639
+ */
18640
+ export type simulateCharacteristicOperationResponseParameters = {
18641
+ characteristicId: string;
18642
+ type: CharacteristicOperationType;
18643
+ code: number;
18644
+ data?: binary;
18645
+ }
18646
+ export type simulateCharacteristicOperationResponseReturnValue = {
18647
+ }
18648
+ /**
18649
+ * Simulates the response from the descriptor with |descriptorId| for a
18650
+ descriptor operation of |type|. The |code| value follows the Error
18651
+ Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
18652
+ The |data| is expected to exist when simulating a successful read operation
18653
+ response.
18654
+ */
18655
+ export type simulateDescriptorOperationResponseParameters = {
18656
+ descriptorId: string;
18657
+ type: DescriptorOperationType;
18658
+ code: number;
18659
+ data?: binary;
18660
+ }
18661
+ export type simulateDescriptorOperationResponseReturnValue = {
18662
+ }
18122
18663
  /**
18123
18664
  * Adds a service with |serviceUuid| to the peripheral with |address|.
18124
18665
  */
@@ -18133,21 +18674,18 @@ Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
18133
18674
  serviceId: string;
18134
18675
  }
18135
18676
  /**
18136
- * Removes the service respresented by |serviceId| from the peripheral with
18137
- |address|.
18677
+ * Removes the service respresented by |serviceId| from the simulated central.
18138
18678
  */
18139
18679
  export type removeServiceParameters = {
18140
- address: string;
18141
18680
  serviceId: string;
18142
18681
  }
18143
18682
  export type removeServiceReturnValue = {
18144
18683
  }
18145
18684
  /**
18146
18685
  * Adds a characteristic with |characteristicUuid| and |properties| to the
18147
- service represented by |serviceId| in the peripheral with |address|.
18686
+ service represented by |serviceId|.
18148
18687
  */
18149
18688
  export type addCharacteristicParameters = {
18150
- address: string;
18151
18689
  serviceId: string;
18152
18690
  characteristicUuid: string;
18153
18691
  properties: CharacteristicProperties;
@@ -18160,15 +18698,43 @@ service represented by |serviceId| in the peripheral with |address|.
18160
18698
  }
18161
18699
  /**
18162
18700
  * Removes the characteristic respresented by |characteristicId| from the
18163
- service respresented by |serviceId| in the peripheral with |address|.
18701
+ simulated central.
18164
18702
  */
18165
18703
  export type removeCharacteristicParameters = {
18166
- address: string;
18167
- serviceId: string;
18168
18704
  characteristicId: string;
18169
18705
  }
18170
18706
  export type removeCharacteristicReturnValue = {
18171
18707
  }
18708
+ /**
18709
+ * Adds a descriptor with |descriptorUuid| to the characteristic respresented
18710
+ by |characteristicId|.
18711
+ */
18712
+ export type addDescriptorParameters = {
18713
+ characteristicId: string;
18714
+ descriptorUuid: string;
18715
+ }
18716
+ export type addDescriptorReturnValue = {
18717
+ /**
18718
+ * An identifier that uniquely represents this descriptor.
18719
+ */
18720
+ descriptorId: string;
18721
+ }
18722
+ /**
18723
+ * Removes the descriptor with |descriptorId| from the simulated central.
18724
+ */
18725
+ export type removeDescriptorParameters = {
18726
+ descriptorId: string;
18727
+ }
18728
+ export type removeDescriptorReturnValue = {
18729
+ }
18730
+ /**
18731
+ * Simulates a GATT disconnection from the peripheral with |address|.
18732
+ */
18733
+ export type simulateGATTDisconnectionParameters = {
18734
+ address: string;
18735
+ }
18736
+ export type simulateGATTDisconnectionReturnValue = {
18737
+ }
18172
18738
  }
18173
18739
 
18174
18740
  /**
@@ -18508,7 +19074,7 @@ Deprecated in favor of `resolvedBreakpoints` in the `scriptParsed` event.
18508
19074
  */
18509
19075
  hash: string;
18510
19076
  /**
18511
- * For Wasm modules, the content of the `build_id` custom section.
19077
+ * For Wasm modules, the content of the `build_id` custom section. For JavaScript the `debugId` magic comment.
18512
19078
  */
18513
19079
  buildId: string;
18514
19080
  /**
@@ -18586,7 +19152,7 @@ scripts upon enabling debugger.
18586
19152
  */
18587
19153
  hash: string;
18588
19154
  /**
18589
- * For Wasm modules, the content of the `build_id` custom section.
19155
+ * For Wasm modules, the content of the `build_id` custom section. For JavaScript the `debugId` magic comment.
18590
19156
  */
18591
19157
  buildId: string;
18592
19158
  /**
@@ -20926,6 +21492,14 @@ Error was thrown.
20926
21492
  "Network.directTCPSocketOpened": Network.directTCPSocketOpenedPayload;
20927
21493
  "Network.directTCPSocketAborted": Network.directTCPSocketAbortedPayload;
20928
21494
  "Network.directTCPSocketClosed": Network.directTCPSocketClosedPayload;
21495
+ "Network.directTCPSocketChunkSent": Network.directTCPSocketChunkSentPayload;
21496
+ "Network.directTCPSocketChunkReceived": Network.directTCPSocketChunkReceivedPayload;
21497
+ "Network.directUDPSocketCreated": Network.directUDPSocketCreatedPayload;
21498
+ "Network.directUDPSocketOpened": Network.directUDPSocketOpenedPayload;
21499
+ "Network.directUDPSocketAborted": Network.directUDPSocketAbortedPayload;
21500
+ "Network.directUDPSocketClosed": Network.directUDPSocketClosedPayload;
21501
+ "Network.directUDPSocketChunkSent": Network.directUDPSocketChunkSentPayload;
21502
+ "Network.directUDPSocketChunkReceived": Network.directUDPSocketChunkReceivedPayload;
20929
21503
  "Network.requestWillBeSentExtraInfo": Network.requestWillBeSentExtraInfoPayload;
20930
21504
  "Network.responseReceivedExtraInfo": Network.responseReceivedExtraInfoPayload;
20931
21505
  "Network.responseReceivedEarlyHints": Network.responseReceivedEarlyHintsPayload;
@@ -20986,10 +21560,13 @@ Error was thrown.
20986
21560
  "Storage.interestGroupAuctionEventOccurred": Storage.interestGroupAuctionEventOccurredPayload;
20987
21561
  "Storage.interestGroupAuctionNetworkRequestCreated": Storage.interestGroupAuctionNetworkRequestCreatedPayload;
20988
21562
  "Storage.sharedStorageAccessed": Storage.sharedStorageAccessedPayload;
21563
+ "Storage.sharedStorageWorkletOperationExecutionFinished": Storage.sharedStorageWorkletOperationExecutionFinishedPayload;
20989
21564
  "Storage.storageBucketCreatedOrUpdated": Storage.storageBucketCreatedOrUpdatedPayload;
20990
21565
  "Storage.storageBucketDeleted": Storage.storageBucketDeletedPayload;
20991
21566
  "Storage.attributionReportingSourceRegistered": Storage.attributionReportingSourceRegisteredPayload;
20992
21567
  "Storage.attributionReportingTriggerRegistered": Storage.attributionReportingTriggerRegisteredPayload;
21568
+ "Storage.attributionReportingReportSent": Storage.attributionReportingReportSentPayload;
21569
+ "Storage.attributionReportingVerboseDebugReportSent": Storage.attributionReportingVerboseDebugReportSentPayload;
20993
21570
  "Target.attachedToTarget": Target.attachedToTargetPayload;
20994
21571
  "Target.detachedFromTarget": Target.detachedFromTargetPayload;
20995
21572
  "Target.receivedMessageFromTarget": Target.receivedMessageFromTargetPayload;
@@ -21035,6 +21612,8 @@ Error was thrown.
21035
21612
  "FedCm.dialogShown": FedCm.dialogShownPayload;
21036
21613
  "FedCm.dialogClosed": FedCm.dialogClosedPayload;
21037
21614
  "BluetoothEmulation.gattOperationReceived": BluetoothEmulation.gattOperationReceivedPayload;
21615
+ "BluetoothEmulation.characteristicOperationReceived": BluetoothEmulation.characteristicOperationReceivedPayload;
21616
+ "BluetoothEmulation.descriptorOperationReceived": BluetoothEmulation.descriptorOperationReceivedPayload;
21038
21617
  "Console.messageAdded": Console.messageAddedPayload;
21039
21618
  "Debugger.breakpointResolved": Debugger.breakpointResolvedPayload;
21040
21619
  "Debugger.paused": Debugger.pausedPayload;
@@ -21111,6 +21690,7 @@ Error was thrown.
21111
21690
  "Browser.getWindowBounds": Browser.getWindowBoundsParameters;
21112
21691
  "Browser.getWindowForTarget": Browser.getWindowForTargetParameters;
21113
21692
  "Browser.setWindowBounds": Browser.setWindowBoundsParameters;
21693
+ "Browser.setContentsSize": Browser.setContentsSizeParameters;
21114
21694
  "Browser.setDockTile": Browser.setDockTileParameters;
21115
21695
  "Browser.executeBrowserCommand": Browser.executeBrowserCommandParameters;
21116
21696
  "Browser.addPrivacySandboxEnrollmentOverride": Browser.addPrivacySandboxEnrollmentOverrideParameters;
@@ -21129,6 +21709,7 @@ Error was thrown.
21129
21709
  "CSS.getInlineStylesForNode": CSS.getInlineStylesForNodeParameters;
21130
21710
  "CSS.getAnimatedStylesForNode": CSS.getAnimatedStylesForNodeParameters;
21131
21711
  "CSS.getMatchedStylesForNode": CSS.getMatchedStylesForNodeParameters;
21712
+ "CSS.getEnvironmentVariables": CSS.getEnvironmentVariablesParameters;
21132
21713
  "CSS.getMediaQueries": CSS.getMediaQueriesParameters;
21133
21714
  "CSS.getPlatformFontsForNode": CSS.getPlatformFontsForNodeParameters;
21134
21715
  "CSS.getStyleSheetText": CSS.getStyleSheetTextParameters;
@@ -21214,6 +21795,7 @@ Error was thrown.
21214
21795
  "DOM.getContainerForNode": DOM.getContainerForNodeParameters;
21215
21796
  "DOM.getQueryingDescendantsForContainer": DOM.getQueryingDescendantsForContainerParameters;
21216
21797
  "DOM.getAnchorElement": DOM.getAnchorElementParameters;
21798
+ "DOM.forceShowPopover": DOM.forceShowPopoverParameters;
21217
21799
  "DOMDebugger.getEventListeners": DOMDebugger.getEventListenersParameters;
21218
21800
  "DOMDebugger.removeDOMBreakpoint": DOMDebugger.removeDOMBreakpointParameters;
21219
21801
  "DOMDebugger.removeEventListenerBreakpoint": DOMDebugger.removeEventListenerBreakpointParameters;
@@ -21258,12 +21840,14 @@ Error was thrown.
21258
21840
  "Emulation.setEmitTouchEventsForMouse": Emulation.setEmitTouchEventsForMouseParameters;
21259
21841
  "Emulation.setEmulatedMedia": Emulation.setEmulatedMediaParameters;
21260
21842
  "Emulation.setEmulatedVisionDeficiency": Emulation.setEmulatedVisionDeficiencyParameters;
21843
+ "Emulation.setEmulatedOSTextScale": Emulation.setEmulatedOSTextScaleParameters;
21261
21844
  "Emulation.setGeolocationOverride": Emulation.setGeolocationOverrideParameters;
21262
21845
  "Emulation.getOverriddenSensorInformation": Emulation.getOverriddenSensorInformationParameters;
21263
21846
  "Emulation.setSensorOverrideEnabled": Emulation.setSensorOverrideEnabledParameters;
21264
21847
  "Emulation.setSensorOverrideReadings": Emulation.setSensorOverrideReadingsParameters;
21265
21848
  "Emulation.setPressureSourceOverrideEnabled": Emulation.setPressureSourceOverrideEnabledParameters;
21266
21849
  "Emulation.setPressureStateOverride": Emulation.setPressureStateOverrideParameters;
21850
+ "Emulation.setPressureDataOverride": Emulation.setPressureDataOverrideParameters;
21267
21851
  "Emulation.setIdleOverride": Emulation.setIdleOverrideParameters;
21268
21852
  "Emulation.clearIdleOverride": Emulation.clearIdleOverrideParameters;
21269
21853
  "Emulation.setNavigatorOverrides": Emulation.setNavigatorOverridesParameters;
@@ -21275,9 +21859,11 @@ Error was thrown.
21275
21859
  "Emulation.setTimezoneOverride": Emulation.setTimezoneOverrideParameters;
21276
21860
  "Emulation.setVisibleSize": Emulation.setVisibleSizeParameters;
21277
21861
  "Emulation.setDisabledImageTypes": Emulation.setDisabledImageTypesParameters;
21862
+ "Emulation.setDataSaverOverride": Emulation.setDataSaverOverrideParameters;
21278
21863
  "Emulation.setHardwareConcurrencyOverride": Emulation.setHardwareConcurrencyOverrideParameters;
21279
21864
  "Emulation.setUserAgentOverride": Emulation.setUserAgentOverrideParameters;
21280
21865
  "Emulation.setAutomationOverride": Emulation.setAutomationOverrideParameters;
21866
+ "Emulation.setSmallViewportHeightDifferenceOverride": Emulation.setSmallViewportHeightDifferenceOverrideParameters;
21281
21867
  "HeadlessExperimental.beginFrame": HeadlessExperimental.beginFrameParameters;
21282
21868
  "HeadlessExperimental.disable": HeadlessExperimental.disableParameters;
21283
21869
  "HeadlessExperimental.enable": HeadlessExperimental.enableParameters;
@@ -21414,7 +22000,7 @@ Error was thrown.
21414
22000
  "Page.getInstallabilityErrors": Page.getInstallabilityErrorsParameters;
21415
22001
  "Page.getManifestIcons": Page.getManifestIconsParameters;
21416
22002
  "Page.getAppId": Page.getAppIdParameters;
21417
- "Page.getAdScriptId": Page.getAdScriptIdParameters;
22003
+ "Page.getAdScriptAncestry": Page.getAdScriptAncestryParameters;
21418
22004
  "Page.getFrameTree": Page.getFrameTreeParameters;
21419
22005
  "Page.getLayoutMetrics": Page.getLayoutMetricsParameters;
21420
22006
  "Page.getNavigationHistory": Page.getNavigationHistoryParameters;
@@ -21473,7 +22059,6 @@ Error was thrown.
21473
22059
  "ServiceWorker.dispatchSyncEvent": ServiceWorker.dispatchSyncEventParameters;
21474
22060
  "ServiceWorker.dispatchPeriodicSyncEvent": ServiceWorker.dispatchPeriodicSyncEventParameters;
21475
22061
  "ServiceWorker.enable": ServiceWorker.enableParameters;
21476
- "ServiceWorker.inspectWorker": ServiceWorker.inspectWorkerParameters;
21477
22062
  "ServiceWorker.setForceUpdateOnPageLoad": ServiceWorker.setForceUpdateOnPageLoadParameters;
21478
22063
  "ServiceWorker.skipWaiting": ServiceWorker.skipWaitingParameters;
21479
22064
  "ServiceWorker.startWorker": ServiceWorker.startWorkerParameters;
@@ -21517,6 +22102,7 @@ Error was thrown.
21517
22102
  "Storage.sendPendingAttributionReports": Storage.sendPendingAttributionReportsParameters;
21518
22103
  "Storage.getRelatedWebsiteSets": Storage.getRelatedWebsiteSetsParameters;
21519
22104
  "Storage.getAffectedUrlsForThirdPartyCookieMetadata": Storage.getAffectedUrlsForThirdPartyCookieMetadataParameters;
22105
+ "Storage.setProtectedAudienceKAnonymity": Storage.setProtectedAudienceKAnonymityParameters;
21520
22106
  "SystemInfo.getInfo": SystemInfo.getInfoParameters;
21521
22107
  "SystemInfo.getFeatureState": SystemInfo.getFeatureStateParameters;
21522
22108
  "SystemInfo.getProcessInfo": SystemInfo.getProcessInfoParameters;
@@ -21537,6 +22123,7 @@ Error was thrown.
21537
22123
  "Target.autoAttachRelated": Target.autoAttachRelatedParameters;
21538
22124
  "Target.setDiscoverTargets": Target.setDiscoverTargetsParameters;
21539
22125
  "Target.setRemoteLocations": Target.setRemoteLocationsParameters;
22126
+ "Target.openDevTools": Target.openDevToolsParameters;
21540
22127
  "Tethering.bind": Tethering.bindParameters;
21541
22128
  "Tethering.unbind": Tethering.unbindParameters;
21542
22129
  "Tracing.end": Tracing.endParameters;
@@ -21597,10 +22184,15 @@ Error was thrown.
21597
22184
  "BluetoothEmulation.simulatePreconnectedPeripheral": BluetoothEmulation.simulatePreconnectedPeripheralParameters;
21598
22185
  "BluetoothEmulation.simulateAdvertisement": BluetoothEmulation.simulateAdvertisementParameters;
21599
22186
  "BluetoothEmulation.simulateGATTOperationResponse": BluetoothEmulation.simulateGATTOperationResponseParameters;
22187
+ "BluetoothEmulation.simulateCharacteristicOperationResponse": BluetoothEmulation.simulateCharacteristicOperationResponseParameters;
22188
+ "BluetoothEmulation.simulateDescriptorOperationResponse": BluetoothEmulation.simulateDescriptorOperationResponseParameters;
21600
22189
  "BluetoothEmulation.addService": BluetoothEmulation.addServiceParameters;
21601
22190
  "BluetoothEmulation.removeService": BluetoothEmulation.removeServiceParameters;
21602
22191
  "BluetoothEmulation.addCharacteristic": BluetoothEmulation.addCharacteristicParameters;
21603
22192
  "BluetoothEmulation.removeCharacteristic": BluetoothEmulation.removeCharacteristicParameters;
22193
+ "BluetoothEmulation.addDescriptor": BluetoothEmulation.addDescriptorParameters;
22194
+ "BluetoothEmulation.removeDescriptor": BluetoothEmulation.removeDescriptorParameters;
22195
+ "BluetoothEmulation.simulateGATTDisconnection": BluetoothEmulation.simulateGATTDisconnectionParameters;
21604
22196
  "Console.clearMessages": Console.clearMessagesParameters;
21605
22197
  "Console.disable": Console.disableParameters;
21606
22198
  "Console.enable": Console.enableParameters;
@@ -21736,6 +22328,7 @@ Error was thrown.
21736
22328
  "Browser.getWindowBounds": Browser.getWindowBoundsReturnValue;
21737
22329
  "Browser.getWindowForTarget": Browser.getWindowForTargetReturnValue;
21738
22330
  "Browser.setWindowBounds": Browser.setWindowBoundsReturnValue;
22331
+ "Browser.setContentsSize": Browser.setContentsSizeReturnValue;
21739
22332
  "Browser.setDockTile": Browser.setDockTileReturnValue;
21740
22333
  "Browser.executeBrowserCommand": Browser.executeBrowserCommandReturnValue;
21741
22334
  "Browser.addPrivacySandboxEnrollmentOverride": Browser.addPrivacySandboxEnrollmentOverrideReturnValue;
@@ -21754,6 +22347,7 @@ Error was thrown.
21754
22347
  "CSS.getInlineStylesForNode": CSS.getInlineStylesForNodeReturnValue;
21755
22348
  "CSS.getAnimatedStylesForNode": CSS.getAnimatedStylesForNodeReturnValue;
21756
22349
  "CSS.getMatchedStylesForNode": CSS.getMatchedStylesForNodeReturnValue;
22350
+ "CSS.getEnvironmentVariables": CSS.getEnvironmentVariablesReturnValue;
21757
22351
  "CSS.getMediaQueries": CSS.getMediaQueriesReturnValue;
21758
22352
  "CSS.getPlatformFontsForNode": CSS.getPlatformFontsForNodeReturnValue;
21759
22353
  "CSS.getStyleSheetText": CSS.getStyleSheetTextReturnValue;
@@ -21839,6 +22433,7 @@ Error was thrown.
21839
22433
  "DOM.getContainerForNode": DOM.getContainerForNodeReturnValue;
21840
22434
  "DOM.getQueryingDescendantsForContainer": DOM.getQueryingDescendantsForContainerReturnValue;
21841
22435
  "DOM.getAnchorElement": DOM.getAnchorElementReturnValue;
22436
+ "DOM.forceShowPopover": DOM.forceShowPopoverReturnValue;
21842
22437
  "DOMDebugger.getEventListeners": DOMDebugger.getEventListenersReturnValue;
21843
22438
  "DOMDebugger.removeDOMBreakpoint": DOMDebugger.removeDOMBreakpointReturnValue;
21844
22439
  "DOMDebugger.removeEventListenerBreakpoint": DOMDebugger.removeEventListenerBreakpointReturnValue;
@@ -21883,12 +22478,14 @@ Error was thrown.
21883
22478
  "Emulation.setEmitTouchEventsForMouse": Emulation.setEmitTouchEventsForMouseReturnValue;
21884
22479
  "Emulation.setEmulatedMedia": Emulation.setEmulatedMediaReturnValue;
21885
22480
  "Emulation.setEmulatedVisionDeficiency": Emulation.setEmulatedVisionDeficiencyReturnValue;
22481
+ "Emulation.setEmulatedOSTextScale": Emulation.setEmulatedOSTextScaleReturnValue;
21886
22482
  "Emulation.setGeolocationOverride": Emulation.setGeolocationOverrideReturnValue;
21887
22483
  "Emulation.getOverriddenSensorInformation": Emulation.getOverriddenSensorInformationReturnValue;
21888
22484
  "Emulation.setSensorOverrideEnabled": Emulation.setSensorOverrideEnabledReturnValue;
21889
22485
  "Emulation.setSensorOverrideReadings": Emulation.setSensorOverrideReadingsReturnValue;
21890
22486
  "Emulation.setPressureSourceOverrideEnabled": Emulation.setPressureSourceOverrideEnabledReturnValue;
21891
22487
  "Emulation.setPressureStateOverride": Emulation.setPressureStateOverrideReturnValue;
22488
+ "Emulation.setPressureDataOverride": Emulation.setPressureDataOverrideReturnValue;
21892
22489
  "Emulation.setIdleOverride": Emulation.setIdleOverrideReturnValue;
21893
22490
  "Emulation.clearIdleOverride": Emulation.clearIdleOverrideReturnValue;
21894
22491
  "Emulation.setNavigatorOverrides": Emulation.setNavigatorOverridesReturnValue;
@@ -21900,9 +22497,11 @@ Error was thrown.
21900
22497
  "Emulation.setTimezoneOverride": Emulation.setTimezoneOverrideReturnValue;
21901
22498
  "Emulation.setVisibleSize": Emulation.setVisibleSizeReturnValue;
21902
22499
  "Emulation.setDisabledImageTypes": Emulation.setDisabledImageTypesReturnValue;
22500
+ "Emulation.setDataSaverOverride": Emulation.setDataSaverOverrideReturnValue;
21903
22501
  "Emulation.setHardwareConcurrencyOverride": Emulation.setHardwareConcurrencyOverrideReturnValue;
21904
22502
  "Emulation.setUserAgentOverride": Emulation.setUserAgentOverrideReturnValue;
21905
22503
  "Emulation.setAutomationOverride": Emulation.setAutomationOverrideReturnValue;
22504
+ "Emulation.setSmallViewportHeightDifferenceOverride": Emulation.setSmallViewportHeightDifferenceOverrideReturnValue;
21906
22505
  "HeadlessExperimental.beginFrame": HeadlessExperimental.beginFrameReturnValue;
21907
22506
  "HeadlessExperimental.disable": HeadlessExperimental.disableReturnValue;
21908
22507
  "HeadlessExperimental.enable": HeadlessExperimental.enableReturnValue;
@@ -22039,7 +22638,7 @@ Error was thrown.
22039
22638
  "Page.getInstallabilityErrors": Page.getInstallabilityErrorsReturnValue;
22040
22639
  "Page.getManifestIcons": Page.getManifestIconsReturnValue;
22041
22640
  "Page.getAppId": Page.getAppIdReturnValue;
22042
- "Page.getAdScriptId": Page.getAdScriptIdReturnValue;
22641
+ "Page.getAdScriptAncestry": Page.getAdScriptAncestryReturnValue;
22043
22642
  "Page.getFrameTree": Page.getFrameTreeReturnValue;
22044
22643
  "Page.getLayoutMetrics": Page.getLayoutMetricsReturnValue;
22045
22644
  "Page.getNavigationHistory": Page.getNavigationHistoryReturnValue;
@@ -22098,7 +22697,6 @@ Error was thrown.
22098
22697
  "ServiceWorker.dispatchSyncEvent": ServiceWorker.dispatchSyncEventReturnValue;
22099
22698
  "ServiceWorker.dispatchPeriodicSyncEvent": ServiceWorker.dispatchPeriodicSyncEventReturnValue;
22100
22699
  "ServiceWorker.enable": ServiceWorker.enableReturnValue;
22101
- "ServiceWorker.inspectWorker": ServiceWorker.inspectWorkerReturnValue;
22102
22700
  "ServiceWorker.setForceUpdateOnPageLoad": ServiceWorker.setForceUpdateOnPageLoadReturnValue;
22103
22701
  "ServiceWorker.skipWaiting": ServiceWorker.skipWaitingReturnValue;
22104
22702
  "ServiceWorker.startWorker": ServiceWorker.startWorkerReturnValue;
@@ -22142,6 +22740,7 @@ Error was thrown.
22142
22740
  "Storage.sendPendingAttributionReports": Storage.sendPendingAttributionReportsReturnValue;
22143
22741
  "Storage.getRelatedWebsiteSets": Storage.getRelatedWebsiteSetsReturnValue;
22144
22742
  "Storage.getAffectedUrlsForThirdPartyCookieMetadata": Storage.getAffectedUrlsForThirdPartyCookieMetadataReturnValue;
22743
+ "Storage.setProtectedAudienceKAnonymity": Storage.setProtectedAudienceKAnonymityReturnValue;
22145
22744
  "SystemInfo.getInfo": SystemInfo.getInfoReturnValue;
22146
22745
  "SystemInfo.getFeatureState": SystemInfo.getFeatureStateReturnValue;
22147
22746
  "SystemInfo.getProcessInfo": SystemInfo.getProcessInfoReturnValue;
@@ -22162,6 +22761,7 @@ Error was thrown.
22162
22761
  "Target.autoAttachRelated": Target.autoAttachRelatedReturnValue;
22163
22762
  "Target.setDiscoverTargets": Target.setDiscoverTargetsReturnValue;
22164
22763
  "Target.setRemoteLocations": Target.setRemoteLocationsReturnValue;
22764
+ "Target.openDevTools": Target.openDevToolsReturnValue;
22165
22765
  "Tethering.bind": Tethering.bindReturnValue;
22166
22766
  "Tethering.unbind": Tethering.unbindReturnValue;
22167
22767
  "Tracing.end": Tracing.endReturnValue;
@@ -22222,10 +22822,15 @@ Error was thrown.
22222
22822
  "BluetoothEmulation.simulatePreconnectedPeripheral": BluetoothEmulation.simulatePreconnectedPeripheralReturnValue;
22223
22823
  "BluetoothEmulation.simulateAdvertisement": BluetoothEmulation.simulateAdvertisementReturnValue;
22224
22824
  "BluetoothEmulation.simulateGATTOperationResponse": BluetoothEmulation.simulateGATTOperationResponseReturnValue;
22825
+ "BluetoothEmulation.simulateCharacteristicOperationResponse": BluetoothEmulation.simulateCharacteristicOperationResponseReturnValue;
22826
+ "BluetoothEmulation.simulateDescriptorOperationResponse": BluetoothEmulation.simulateDescriptorOperationResponseReturnValue;
22225
22827
  "BluetoothEmulation.addService": BluetoothEmulation.addServiceReturnValue;
22226
22828
  "BluetoothEmulation.removeService": BluetoothEmulation.removeServiceReturnValue;
22227
22829
  "BluetoothEmulation.addCharacteristic": BluetoothEmulation.addCharacteristicReturnValue;
22228
22830
  "BluetoothEmulation.removeCharacteristic": BluetoothEmulation.removeCharacteristicReturnValue;
22831
+ "BluetoothEmulation.addDescriptor": BluetoothEmulation.addDescriptorReturnValue;
22832
+ "BluetoothEmulation.removeDescriptor": BluetoothEmulation.removeDescriptorReturnValue;
22833
+ "BluetoothEmulation.simulateGATTDisconnection": BluetoothEmulation.simulateGATTDisconnectionReturnValue;
22229
22834
  "Console.clearMessages": Console.clearMessagesReturnValue;
22230
22835
  "Console.disable": Console.disableReturnValue;
22231
22836
  "Console.enable": Console.enableReturnValue;