From 095c2d3191bfa29f554bed3a4a6e5b018e0f0ff0 Mon Sep 17 00:00:00 2001 From: hs-jenkins-bot Date: Thu, 30 Mar 2023 16:36:40 -0400 Subject: [PATCH] Bump chrome to 111.0.5563.146 --- ChromeDevToolsBase/pom.xml | 2 +- ChromeDevToolsClient/pom.xml | 2 +- CodeGeneration/pom.xml | 2 +- .../src/main/resources/browser_protocol.json | 72 +++++++++++++++++-- .../src/main/resources/browser_protocol.pdl | 49 +++++++++++-- .../src/main/resources/js_protocol.json | 14 ++++ .../src/main/resources/js_protocol.pdl | 11 ++- pom.xml | 6 +- 8 files changed, 139 insertions(+), 19 deletions(-) diff --git a/ChromeDevToolsBase/pom.xml b/ChromeDevToolsBase/pom.xml index bcbb4a5..8d516aa 100644 --- a/ChromeDevToolsBase/pom.xml +++ b/ChromeDevToolsBase/pom.xml @@ -3,7 +3,7 @@ com.hubspot.chrome ChromeDevTools-parent - 110.0.5481.177-SNAPSHOT + 111.0.5563.146-SNAPSHOT ChromeDevToolsBase diff --git a/ChromeDevToolsClient/pom.xml b/ChromeDevToolsClient/pom.xml index 6926acc..1e6cb3a 100644 --- a/ChromeDevToolsClient/pom.xml +++ b/ChromeDevToolsClient/pom.xml @@ -4,7 +4,7 @@ com.hubspot.chrome ChromeDevTools-parent - 110.0.5481.177-SNAPSHOT + 111.0.5563.146-SNAPSHOT ChromeDevToolsClient diff --git a/CodeGeneration/pom.xml b/CodeGeneration/pom.xml index eefa63e..5942f01 100644 --- a/CodeGeneration/pom.xml +++ b/CodeGeneration/pom.xml @@ -4,7 +4,7 @@ com.hubspot.chrome ChromeDevTools-parent - 110.0.5481.177-SNAPSHOT + 111.0.5563.146-SNAPSHOT CodeGeneration diff --git a/CodeGeneration/src/main/resources/browser_protocol.json b/CodeGeneration/src/main/resources/browser_protocol.json index c2197eb..e128b16 100644 --- a/CodeGeneration/src/main/resources/browser_protocol.json +++ b/CodeGeneration/src/main/resources/browser_protocol.json @@ -1535,7 +1535,11 @@ "type": "string", "enum": [ "CrossOriginPortalPostMessageError", - "FormLabelForNameError" + "FormLabelForNameError", + "FormDuplicateIdForInputError", + "FormInputWithNoLabelError", + "FormAutocompleteAttributeEmptyError", + "FormEmptyIdAndNameAttributesForInputError" ] }, { @@ -1590,6 +1594,7 @@ "NoSysexWebMIDIWithoutPermission", "NotificationInsecureOrigin", "NotificationPermissionRequestedIframe", + "ObsoleteCreateImageBitmapImageOrientationNone", "ObsoleteWebRtcCipherSuite", "OpenWebDatabaseInsecureContext", "OverflowVisibleOnReplacedElement", @@ -1606,6 +1611,7 @@ "PrefixedVideoExitFullscreen", "PrefixedVideoExitFullScreen", "PrefixedVideoSupportsFullscreen", + "PrivacySandboxExtensionsAPI", "RangeExpand", "RequestedSubresourceWithEmbeddedCredentials", "RTCConstraintEnableDtlsSrtpFalse", @@ -1669,6 +1675,7 @@ "WellKnownHttpNotFound", "WellKnownNoResponse", "WellKnownInvalidResponse", + "WellKnownListEmpty", "ConfigNotInWellKnown", "WellKnownTooBig", "ConfigHttpNotFound", @@ -1683,6 +1690,7 @@ "AccountsHttpNotFound", "AccountsNoResponse", "AccountsInvalidResponse", + "AccountsListEmpty", "IdTokenHttpNotFound", "IdTokenNoResponse", "IdTokenInvalidResponse", @@ -2175,6 +2183,7 @@ "protectedMediaIdentifier", "sensors", "storageAccess", + "topLevelStorageAccess", "videoCapture", "videoCapturePanTiltZoom", "wakeLockScreen", @@ -2490,7 +2499,7 @@ }, { "name": "delta", - "description": "If true, retrieve delta since last call.", + "description": "If true, retrieve delta since last delta call.", "optional": true, "type": "boolean" } @@ -2518,7 +2527,7 @@ }, { "name": "delta", - "description": "If true, retrieve delta since last call.", + "description": "If true, retrieve delta since last delta call.", "optional": true, "type": "boolean" } @@ -8007,6 +8016,7 @@ "properties": [ { "name": "brands", + "description": "Brands appearing in Sec-CH-UA.", "optional": true, "type": "array", "items": { @@ -8015,6 +8025,7 @@ }, { "name": "fullVersionList", + "description": "Brands appearing in Sec-CH-UA-Full-Version-List.", "optional": true, "type": "array", "items": { @@ -11380,12 +11391,12 @@ "type": "object", "properties": [ { - "name": "type", + "name": "operation", "$ref": "TrustTokenOperationType" }, { "name": "refreshPolicy", - "description": "Only set for \"token-redemption\" type and determine whether\nto request a fresh SRR or use a still valid cached SRR.", + "description": "Only set for \"token-redemption\" operation and determine whether\nto request a fresh SRR or use a still valid cached SRR.", "type": "string", "enum": [ "UseCached", @@ -12789,7 +12800,8 @@ }, { "name": "getAllCookies", - "description": "Returns all browser cookies. Depending on the backend support, will return detailed cookie\ninformation in the `cookies` field.", + "description": "Returns all browser cookies. Depending on the backend support, will return detailed cookie\ninformation in the `cookies` field.\nDeprecated. Use Storage.getCookies instead.", + "deprecated": true, "returns": [ { "name": "cookies", @@ -13919,6 +13931,18 @@ "description": "Raw response header text as it was received over the wire. The raw text may not always be\navailable, such as in the case of HTTP/2 or QUIC.", "optional": true, "type": "string" + }, + { + "name": "cookiePartitionKey", + "description": "The cookie partition key that will be used to store partitioned cookies set in this response.\nOnly sent when partitioned cookies are enabled.", + "optional": true, + "type": "string" + }, + { + "name": "cookiePartitionKeyOpaque", + "description": "True if partitioned cookies are enabled, but the partition key is not serializeable to string.", + "optional": true, + "type": "boolean" } ] }, @@ -15372,12 +15396,14 @@ "otp-credentials", "payment", "picture-in-picture", + "private-aggregation", "publickey-credentials-get", "run-ad-auction", "screen-wake-lock", "serial", "shared-autofill", "shared-storage", + "shared-storage-select-url", "smart-card", "storage-access", "sync-xhr", @@ -15386,6 +15412,7 @@ "usb", "vertical-scroll", "web-share", + "window-management", "window-placement", "xr-spatial-tracking" ] @@ -16300,6 +16327,7 @@ "InjectedJavascript", "InjectedStyleSheet", "KeepaliveRequest", + "IndexedDBEvent", "Dummy", "AuthorizationHeader", "ContentSecurityHandler", @@ -16441,7 +16469,13 @@ "SameSiteCrossOriginNavigationNotOptIn", "ActivationNavigationParameterMismatch", "ActivatedInBackground", - "EmbedderHostDisallowed" + "EmbedderHostDisallowed", + "ActivationNavigationDestroyedBeforeSuccess", + "TabClosedByUserGesture", + "TabClosedWithoutUserGesture", + "PrimaryMainFrameRendererProcessCrashed", + "PrimaryMainFrameRendererProcessKilled", + "ActivationFramePolicyNotCompatible" ] } ], @@ -19835,6 +19869,17 @@ } ] }, + { + "name": "resetSharedStorageBudget", + "description": "Resets the budget for `ownerOrigin` by clearing all budget withdrawals.", + "experimental": true, + "parameters": [ + { + "name": "ownerOrigin", + "type": "string" + } + ] + }, { "name": "setSharedStorageTracking", "description": "Enables/disables issuing of sharedStorageAccessed events.", @@ -20592,6 +20637,13 @@ "description": "Whether to create the target in background or foreground (chrome-only,\nfalse by default).", "optional": true, "type": "boolean" + }, + { + "name": "forTab", + "description": "Whether to create the target of type \"tab\".", + "experimental": true, + "optional": true, + "type": "boolean" } ], "returns": [ @@ -22262,6 +22314,12 @@ "optional": true, "type": "boolean" }, + { + "name": "hasPrf", + "description": "If set to true, the authenticator will support the prf extension.\nhttps://w3c.github.io/webauthn/#prf-extension\nDefaults to false.", + "optional": true, + "type": "boolean" + }, { "name": "automaticPresenceSimulation", "description": "If set to true, tests of user presence will succeed immediately.\nOtherwise, they will not be resolved. Defaults to true.", diff --git a/CodeGeneration/src/main/resources/browser_protocol.pdl b/CodeGeneration/src/main/resources/browser_protocol.pdl index feea463..4536dd5 100644 --- a/CodeGeneration/src/main/resources/browser_protocol.pdl +++ b/CodeGeneration/src/main/resources/browser_protocol.pdl @@ -744,6 +744,10 @@ experimental domain Audits enum CrossOriginPortalPostMessageError FormLabelForNameError + FormDuplicateIdForInputError + FormInputWithNoLabelError + FormAutocompleteAttributeEmptyError + FormEmptyIdAndNameAttributesForInputError # Depending on the concrete errorType, different properties are set. type GenericIssueDetails extends object @@ -781,6 +785,7 @@ experimental domain Audits NoSysexWebMIDIWithoutPermission NotificationInsecureOrigin NotificationPermissionRequestedIframe + ObsoleteCreateImageBitmapImageOrientationNone ObsoleteWebRtcCipherSuite OpenWebDatabaseInsecureContext OverflowVisibleOnReplacedElement @@ -797,6 +802,7 @@ experimental domain Audits PrefixedVideoExitFullscreen PrefixedVideoExitFullScreen PrefixedVideoSupportsFullscreen + PrivacySandboxExtensionsAPI RangeExpand RequestedSubresourceWithEmbeddedCredentials RTCConstraintEnableDtlsSrtpFalse @@ -843,6 +849,7 @@ experimental domain Audits WellKnownHttpNotFound WellKnownNoResponse WellKnownInvalidResponse + WellKnownListEmpty ConfigNotInWellKnown WellKnownTooBig ConfigHttpNotFound @@ -857,6 +864,7 @@ experimental domain Audits AccountsHttpNotFound AccountsNoResponse AccountsInvalidResponse + AccountsListEmpty IdTokenHttpNotFound IdTokenNoResponse IdTokenInvalidResponse @@ -1092,6 +1100,7 @@ domain Browser protectedMediaIdentifier sensors storageAccess + topLevelStorageAccess videoCapture videoCapturePanTiltZoom wakeLockScreen @@ -1267,7 +1276,7 @@ domain Browser # substring in their name are extracted. An empty or absent query returns # all histograms. optional string query - # If true, retrieve delta since last call. + # If true, retrieve delta since last delta call. optional boolean delta returns @@ -1279,7 +1288,7 @@ domain Browser parameters # Requested histogram name. string name - # If true, retrieve delta since last call. + # If true, retrieve delta since last delta call. optional boolean delta returns # Histogram. @@ -3676,7 +3685,9 @@ domain Emulation # Missing optional values will be filled in by the target with what it would normally use. experimental type UserAgentMetadata extends object properties + # Brands appearing in Sec-CH-UA. optional array of UserAgentBrandVersion brands + # Brands appearing in Sec-CH-UA-Full-Version-List. optional array of UserAgentBrandVersion fullVersionList deprecated optional string fullVersion string platform @@ -5263,9 +5274,9 @@ domain Network # are specified in third_party/blink/renderer/core/fetch/trust_token.idl. experimental type TrustTokenParams extends object properties - TrustTokenOperationType type + TrustTokenOperationType operation - # Only set for "token-redemption" type and determine whether + # Only set for "token-redemption" operation and determine whether # to request a fresh SRR or use a still valid cached SRR. enum refreshPolicy UseCached @@ -5867,7 +5878,8 @@ domain Network # Returns all browser cookies. Depending on the backend support, will return detailed cookie # information in the `cookies` field. - command getAllCookies + # Deprecated. Use Storage.getCookies instead. + deprecated command getAllCookies returns # Array of cookie objects. array of Cookie cookies @@ -6390,6 +6402,11 @@ domain Network # Raw response header text as it was received over the wire. The raw text may not always be # available, such as in the case of HTTP/2 or QUIC. optional string headersText + # The cookie partition key that will be used to store partitioned cookies set in this response. + # Only sent when partitioned cookies are enabled. + optional string cookiePartitionKey + # True if partitioned cookies are enabled, but the partition key is not serializeable to string. + optional boolean cookiePartitionKeyOpaque # Fired exactly once for each Trust Token operation. Depending on # the type of the operation and whether the operation succeeded or @@ -7216,12 +7233,14 @@ domain Page otp-credentials payment picture-in-picture + private-aggregation publickey-credentials-get run-ad-auction screen-wake-lock serial shared-autofill shared-storage + shared-storage-select-url smart-card storage-access sync-xhr @@ -7230,6 +7249,8 @@ domain Page usb vertical-scroll web-share + # Alias for 'window-placement' (crbug.com/1328581). + window-management window-placement xr-spatial-tracking @@ -8426,6 +8447,7 @@ domain Page InjectedJavascript InjectedStyleSheet KeepaliveRequest + IndexedDBEvent Dummy AuthorizationHeader # Disabled for RenderFrameHost reasons @@ -8552,6 +8574,12 @@ domain Page ActivationNavigationParameterMismatch ActivatedInBackground EmbedderHostDisallowed + ActivationNavigationDestroyedBeforeSuccess + TabClosedByUserGesture + TabClosedWithoutUserGesture + PrimaryMainFrameRendererProcessCrashed + PrimaryMainFrameRendererProcessKilled + ActivationFramePolicyNotCompatible # Fired when a prerender attempt is completed. experimental event prerenderAttemptCompleted @@ -9380,6 +9408,11 @@ experimental domain Storage parameters string ownerOrigin + # Resets the budget for `ownerOrigin` by clearing all budget withdrawals. + experimental command resetSharedStorageBudget + parameters + string ownerOrigin + # Enables/disables issuing of sharedStorageAccessed events. experimental command setSharedStorageTracking parameters @@ -9722,6 +9755,8 @@ domain Target # Whether to create the target in background or foreground (chrome-only, # false by default). optional boolean background + # Whether to create the target of type "tab". + experimental optional boolean forTab returns # The id of the page opened. TargetID targetId @@ -10529,6 +10564,10 @@ experimental domain WebAuthn # https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-minpinlength-extension # Defaults to false. optional boolean hasMinPinLength + # If set to true, the authenticator will support the prf extension. + # https://w3c.github.io/webauthn/#prf-extension + # Defaults to false. + optional boolean hasPrf # If set to true, tests of user presence will succeed immediately. # Otherwise, they will not be resolved. Defaults to true. optional boolean automaticPresenceSimulation diff --git a/CodeGeneration/src/main/resources/js_protocol.json b/CodeGeneration/src/main/resources/js_protocol.json index 4bbf66f..aa3e25c 100644 --- a/CodeGeneration/src/main/resources/js_protocol.json +++ b/CodeGeneration/src/main/resources/js_protocol.json @@ -2947,6 +2947,13 @@ "optional": true, "type": "boolean" }, + { + "name": "uniqueContextId", + "description": "An alternative way to specify the execution context to call function on.\nCompared to contextId that may be reused across processes, this is guaranteed to be\nsystem-unique, so it can be used to prevent accidental function call\nin context different than intended (e.g. as a result of navigation across process\nboundaries).\nThis is mutually exclusive with `executionContextId`.", + "experimental": true, + "optional": true, + "type": "string" + }, { "name": "generateWebDriverValue", "description": "Whether the result should contain `webDriverValue`, serialized according to\nhttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but\nresulting `objectId` is still provided.", @@ -3607,7 +3614,14 @@ { "name": "executionContextId", "description": "Id of the destroyed context", + "deprecated": true, "$ref": "ExecutionContextId" + }, + { + "name": "executionContextUniqueId", + "description": "Unique Id of the destroyed context", + "experimental": true, + "type": "string" } ] }, diff --git a/CodeGeneration/src/main/resources/js_protocol.pdl b/CodeGeneration/src/main/resources/js_protocol.pdl index 6efcf78..d4102f5 100644 --- a/CodeGeneration/src/main/resources/js_protocol.pdl +++ b/CodeGeneration/src/main/resources/js_protocol.pdl @@ -1402,6 +1402,13 @@ domain Runtime optional string objectGroup # Whether to throw an exception if side effect cannot be ruled out during evaluation. experimental optional boolean throwOnSideEffect + # An alternative way to specify the execution context to call function on. + # Compared to contextId that may be reused across processes, this is guaranteed to be + # system-unique, so it can be used to prevent accidental function call + # in context different than intended (e.g. as a result of navigation across process + # boundaries). + # This is mutually exclusive with `executionContextId`. + experimental optional string uniqueContextId # Whether the result should contain `webDriverValue`, serialized according to # https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but # resulting `objectId` is still provided. @@ -1734,7 +1741,9 @@ domain Runtime event executionContextDestroyed parameters # Id of the destroyed context - ExecutionContextId executionContextId + deprecated ExecutionContextId executionContextId + # Unique Id of the destroyed context + experimental string executionContextUniqueId # Issued when all executionContexts were cleared in browser event executionContextsCleared diff --git a/pom.xml b/pom.xml index 4d1f46f..08716fe 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ com.hubspot.chrome ChromeDevTools-parent - 110.0.5481.177-SNAPSHOT + 111.0.5563.146-SNAPSHOT pom @@ -18,8 +18,8 @@ - 110.0.5481.177 - 11.0.226.16 + 111.0.5563.146 + 11.1.277.17 11 ${project.build.targetJdk} true