diff --git a/ChromeDevToolsBase/pom.xml b/ChromeDevToolsBase/pom.xml index e494e4a..5a2dacc 100644 --- a/ChromeDevToolsBase/pom.xml +++ b/ChromeDevToolsBase/pom.xml @@ -3,7 +3,7 @@ com.hubspot.chrome ChromeDevTools-parent - 99.0.4844.84-SNAPSHOT + 100.0.4896.127-SNAPSHOT ChromeDevToolsBase diff --git a/ChromeDevToolsClient/pom.xml b/ChromeDevToolsClient/pom.xml index 504d781..961c041 100644 --- a/ChromeDevToolsClient/pom.xml +++ b/ChromeDevToolsClient/pom.xml @@ -4,7 +4,7 @@ com.hubspot.chrome ChromeDevTools-parent - 99.0.4844.84-SNAPSHOT + 100.0.4896.127-SNAPSHOT ChromeDevToolsClient diff --git a/CodeGeneration/pom.xml b/CodeGeneration/pom.xml index 295cb52..8d125ca 100644 --- a/CodeGeneration/pom.xml +++ b/CodeGeneration/pom.xml @@ -4,7 +4,7 @@ com.hubspot.chrome ChromeDevTools-parent - 99.0.4844.84-SNAPSHOT + 100.0.4896.127-SNAPSHOT CodeGeneration diff --git a/CodeGeneration/src/main/resources/browser_protocol.json b/CodeGeneration/src/main/resources/browser_protocol.json index 7bbb4f2..e66f8f7 100644 --- a/CodeGeneration/src/main/resources/browser_protocol.json +++ b/CodeGeneration/src/main/resources/browser_protocol.json @@ -1082,6 +1082,7 @@ "id": "MixedContentResourceType", "type": "string", "enum": [ + "AttributionSrc", "Audio", "Beacon", "CSPReport", @@ -1532,28 +1533,6 @@ } ] }, - { - "id": "WasmCrossOriginModuleSharingIssueDetails", - "type": "object", - "properties": [ - { - "name": "wasmModuleUrl", - "type": "string" - }, - { - "name": "sourceOrigin", - "type": "string" - }, - { - "name": "targetOrigin", - "type": "string" - }, - { - "name": "isWarning", - "type": "boolean" - } - ] - }, { "id": "GenericIssueErrorType", "type": "string", @@ -1613,6 +1592,42 @@ "MetaTagModifiedHTML" ] }, + { + "id": "FederatedAuthRequestIssueDetails", + "type": "object", + "properties": [ + { + "name": "federatedAuthRequestIssueReason", + "$ref": "FederatedAuthRequestIssueReason" + } + ] + }, + { + "id": "FederatedAuthRequestIssueReason", + "description": "Represents the failure reason when a federated authentication reason fails.\nShould be updated alongside RequestIdTokenStatus in\nthird_party/blink/public/mojom/devtools/inspector_issue.mojom to include\nall cases except for success.", + "type": "string", + "enum": [ + "ApprovalDeclined", + "TooManyRequests", + "ManifestHttpNotFound", + "ManifestNoResponse", + "ManifestInvalidResponse", + "ClientMetadataHttpNotFound", + "ClientMetadataNoResponse", + "ClientMetadataInvalidResponse", + "ErrorFetchingSignin", + "InvalidSigninResponse", + "AccountsHttpNotFound", + "AccountsNoResponse", + "AccountsInvalidResponse", + "IdTokenHttpNotFound", + "IdTokenNoResponse", + "IdTokenInvalidResponse", + "IdTokenInvalidRequest", + "ErrorIdToken", + "Canceled" + ] + }, { "id": "ClientHintIssueDetails", "description": "This issue tracks client hints related issues. It's used to deprecate old\nfeatures, encourage the use of new ones, and provide general guidance.", @@ -1645,10 +1660,10 @@ "AttributionReportingIssue", "QuirksModeIssue", "NavigatorUserAgentIssue", - "WasmCrossOriginModuleSharingIssue", "GenericIssue", "DeprecationIssue", - "ClientHintIssue" + "ClientHintIssue", + "FederatedAuthRequestIssue" ] }, { @@ -1716,11 +1731,6 @@ "optional": true, "$ref": "NavigatorUserAgentIssueDetails" }, - { - "name": "wasmCrossOriginModuleSharingIssue", - "optional": true, - "$ref": "WasmCrossOriginModuleSharingIssueDetails" - }, { "name": "genericIssueDetails", "optional": true, @@ -1735,6 +1745,11 @@ "name": "clientHintIssueDetails", "optional": true, "$ref": "ClientHintIssueDetails" + }, + { + "name": "federatedAuthRequestIssueDetails", + "optional": true, + "$ref": "FederatedAuthRequestIssueDetails" } ] }, @@ -2859,6 +2874,16 @@ "items": { "$ref": "CSSContainerQuery" } + }, + { + "name": "supports", + "description": "@supports CSS at-rule array.\nThe array enumerates @supports at-rules starting with the innermost one, going outwards.", + "experimental": true, + "optional": true, + "type": "array", + "items": { + "$ref": "CSSSupports" + } } ] }, @@ -3183,6 +3208,31 @@ } ] }, + { + "id": "CSSSupports", + "description": "CSS Supports at-rule descriptor.", + "experimental": true, + "type": "object", + "properties": [ + { + "name": "text", + "description": "Supports rule text.", + "type": "string" + }, + { + "name": "range", + "description": "The associated rule header range in the enclosing stylesheet (if\navailable).", + "optional": true, + "$ref": "SourceRange" + }, + { + "name": "styleSheetId", + "description": "Identifier of the stylesheet containing this object (if exists).", + "optional": true, + "$ref": "StyleSheetId" + } + ] + }, { "id": "PlatformFontUsage", "description": "Information about amount of glyphs that were rendered with given font.", @@ -3769,6 +3819,32 @@ } ] }, + { + "name": "setSupportsText", + "description": "Modifies the expression of a supports at-rule.", + "experimental": true, + "parameters": [ + { + "name": "styleSheetId", + "$ref": "StyleSheetId" + }, + { + "name": "range", + "$ref": "SourceRange" + }, + { + "name": "text", + "type": "string" + } + ], + "returns": [ + { + "name": "supports", + "description": "The resulting CSS Supports rule after modification.", + "$ref": "CSSSupports" + } + ] + }, { "name": "setRuleSelector", "description": "Modifies the rule selector.", @@ -4872,7 +4948,20 @@ }, { "name": "enable", - "description": "Enables DOM agent for the given page." + "description": "Enables DOM agent for the given page.", + "parameters": [ + { + "name": "includeWhitespace", + "description": "Whether to include whitespaces in the children array of returned Nodes.", + "experimental": true, + "optional": true, + "type": "string", + "enum": [ + "none", + "all" + ] + } + ] }, { "name": "focus", @@ -7966,12 +8055,6 @@ "optional": true, "type": "integer" }, - { - "name": "waitForNavigation", - "description": "If set the virtual time policy change should be deferred until any frame starts navigating.\nNote any previous deferred policy change is superseded.", - "optional": true, - "type": "boolean" - }, { "name": "initialVirtualTime", "description": "If set, base::Time::Now will be overridden to initially return this value.", @@ -8986,7 +9069,7 @@ }, { "name": "commands", - "description": "Editing commands to send with the key event (e.g., 'selectAll') (default: []).\nThese are related to but not equal the command names used in `document.execCommand` and NSStandardKeyBindingResponding.\nSee https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/editing/commands/editor_command_names.h for valid command names.", + "description": "Editing commands to send with the key event (e.g., 'selectAll') (default: []).\nThese are related to but not equal the command names used in `document.execCommand` and NSStandardKeyBindingResponding.\nSee https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/editing/commands/editor_command_names.h for valid command names.", "experimental": true, "optional": true, "type": "array", @@ -11785,7 +11868,8 @@ "SameOrigin", "SameOriginAllowPopups", "UnsafeNone", - "SameOriginPlusCoep" + "SameOriginPlusCoep", + "SameOriginAllowPopupsPlusCoep" ] }, { @@ -14733,13 +14817,16 @@ "ch-ua-platform", "ch-ua-model", "ch-ua-mobile", + "ch-ua-full", "ch-ua-full-version", "ch-ua-full-version-list", "ch-ua-platform-version", "ch-ua-reduced", + "ch-ua-wow64", "ch-viewport-height", "ch-viewport-width", "ch-width", + "ch-partitioned-cookies", "clipboard-read", "clipboard-write", "cross-origin-isolated", @@ -14757,7 +14844,6 @@ "gyroscope", "hid", "idle-detection", - "interest-cohort", "join-ad-interest-group", "keyboard-map", "magnetometer", @@ -15594,7 +15680,7 @@ "experimental": true, "type": "string", "enum": [ - "NotMainFrame", + "NotPrimaryMainFrame", "BackForwardCacheDisabled", "RelatedActiveContentsExist", "HTTPStatusNotOK", @@ -15647,6 +15733,7 @@ "NoResponseHead", "Unknown", "ActivationNavigationsDisallowedForBug1234857", + "ErrorDocument", "WebSocket", "WebTransport", "WebRTC", @@ -18517,7 +18604,7 @@ }, { "name": "expirationTime", - "type": "number" + "$ref": "Network.TimeSinceEpoch" }, { "name": "joiningOrigin", @@ -18870,6 +18957,10 @@ "name": "interestGroupAccessed", "description": "One of the interest groups was accessed by the associated page.", "parameters": [ + { + "name": "accessTime", + "$ref": "Network.TimeSinceEpoch" + }, { "name": "type", "$ref": "InterestGroupAccessType" diff --git a/CodeGeneration/src/main/resources/browser_protocol.pdl b/CodeGeneration/src/main/resources/browser_protocol.pdl index e715a28..413b180 100644 --- a/CodeGeneration/src/main/resources/browser_protocol.pdl +++ b/CodeGeneration/src/main/resources/browser_protocol.pdl @@ -526,6 +526,7 @@ experimental domain Audits type MixedContentResourceType extends string enum + AttributionSrc Audio Beacon CSPReport @@ -736,13 +737,6 @@ experimental domain Audits string url optional SourceCodeLocation location - type WasmCrossOriginModuleSharingIssueDetails extends object - properties - string wasmModuleUrl - string sourceOrigin - string targetOrigin - boolean isWarning - type GenericIssueErrorType extends string enum CrossOriginPortalPostMessageError @@ -780,6 +774,36 @@ experimental domain Audits # are respected. Any injected via javascript (or other means) are ignored. MetaTagModifiedHTML + type FederatedAuthRequestIssueDetails extends object + properties + FederatedAuthRequestIssueReason federatedAuthRequestIssueReason + + # Represents the failure reason when a federated authentication reason fails. + # Should be updated alongside RequestIdTokenStatus in + # third_party/blink/public/mojom/devtools/inspector_issue.mojom to include + # all cases except for success. + type FederatedAuthRequestIssueReason extends string + enum + ApprovalDeclined + TooManyRequests + ManifestHttpNotFound + ManifestNoResponse + ManifestInvalidResponse + ClientMetadataHttpNotFound + ClientMetadataNoResponse + ClientMetadataInvalidResponse + ErrorFetchingSignin + InvalidSigninResponse + AccountsHttpNotFound + AccountsNoResponse + AccountsInvalidResponse + IdTokenHttpNotFound + IdTokenNoResponse + IdTokenInvalidResponse + IdTokenInvalidRequest + ErrorIdToken + Canceled + # This issue tracks client hints related issues. It's used to deprecate old # features, encourage the use of new ones, and provide general guidance. type ClientHintIssueDetails extends object @@ -804,10 +828,10 @@ experimental domain Audits AttributionReportingIssue QuirksModeIssue NavigatorUserAgentIssue - WasmCrossOriginModuleSharingIssue GenericIssue DeprecationIssue ClientHintIssue + FederatedAuthRequestIssue # This struct holds a list of optional fields with additional information # specific to the kind of issue. When adding a new issue code, please also @@ -826,10 +850,10 @@ experimental domain Audits optional AttributionReportingIssueDetails attributionReportingIssueDetails optional QuirksModeIssueDetails quirksModeIssueDetails optional NavigatorUserAgentIssueDetails navigatorUserAgentIssueDetails - optional WasmCrossOriginModuleSharingIssueDetails wasmCrossOriginModuleSharingIssue optional GenericIssueDetails genericIssueDetails optional DeprecationIssueDetails deprecationIssueDetails optional ClientHintIssueDetails clientHintIssueDetails + optional FederatedAuthRequestIssueDetails federatedAuthRequestIssueDetails # A unique id for a DevTools inspector issue. Allows other entities (e.g. # exceptions, CDP message, console messages, etc.) to reference an issue. @@ -1363,6 +1387,9 @@ experimental domain CSS # Container query list array (for rules involving container queries). # The array enumerates container queries starting with the innermost one, going outwards. experimental optional array of CSSContainerQuery containerQueries + # @supports CSS at-rule array. + # The array enumerates @supports at-rules starting with the innermost one, going outwards. + experimental optional array of CSSSupports supports # CSS coverage information. type RuleUsage extends object @@ -1499,6 +1526,17 @@ experimental domain CSS # Optional name for the container. optional string name + # CSS Supports at-rule descriptor. + experimental type CSSSupports extends object + properties + # Supports rule text. + string text + # The associated rule header range in the enclosing stylesheet (if + # available). + optional SourceRange range + # Identifier of the stylesheet containing this object (if exists). + optional StyleSheetId styleSheetId + # Information about amount of glyphs that were rendered with given font. type PlatformFontUsage extends object properties @@ -1755,6 +1793,16 @@ experimental domain CSS # The resulting CSS container query rule after modification. CSSContainerQuery containerQuery + # Modifies the expression of a supports at-rule. + experimental command setSupportsText + parameters + StyleSheetId styleSheetId + SourceRange range + string text + returns + # The resulting CSS Supports rule after modification. + CSSSupports supports + # Modifies the rule selector. command setRuleSelector parameters @@ -2268,6 +2316,13 @@ domain DOM # Enables DOM agent for the given page. command enable + parameters + # Whether to include whitespaces in the children array of returned Nodes. + experimental optional enum includeWhitespace + # Strip whitespaces from child arrays (default). + none + # Return all children including block-level whitespace nodes. + all # Focuses the given element. command focus @@ -3612,9 +3667,6 @@ domain Emulation # If set this specifies the maximum number of tasks that can be run before virtual is forced # forwards to prevent deadlock. optional integer maxVirtualTimeTaskStarvationCount - # If set the virtual time policy change should be deferred until any frame starts navigating. - # Note any previous deferred policy change is superseded. - optional boolean waitForNavigation # If set, base::Time::Now will be overridden to initially return this value. optional Network.TimeSinceEpoch initialVirtualTime returns @@ -4083,7 +4135,7 @@ domain Input optional integer location # Editing commands to send with the key event (e.g., 'selectAll') (default: []). # These are related to but not equal the command names used in `document.execCommand` and NSStandardKeyBindingResponding. - # See https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/editing/commands/editor_command_names.h for valid command names. + # See https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/editing/commands/editor_command_names.h for valid command names. experimental optional array of string commands # This method emulates inserting text that doesn't come from a key press, @@ -6156,6 +6208,7 @@ domain Network SameOriginAllowPopups UnsafeNone SameOriginPlusCoep + SameOriginAllowPopupsPlusCoep experimental type CrossOriginOpenerPolicyStatus extends object properties @@ -6845,13 +6898,16 @@ domain Page ch-ua-platform ch-ua-model ch-ua-mobile + ch-ua-full ch-ua-full-version ch-ua-full-version-list ch-ua-platform-version ch-ua-reduced + ch-ua-wow64 ch-viewport-height ch-viewport-width ch-width + ch-partitioned-cookies clipboard-read clipboard-write cross-origin-isolated @@ -6869,7 +6925,6 @@ domain Page gyroscope hid idle-detection - interest-cohort join-ad-interest-group keyboard-map magnetometer @@ -7970,7 +8025,7 @@ domain Page # List of not restored reasons for back-forward cache. experimental type BackForwardCacheNotRestoredReason extends string enum - NotMainFrame + NotPrimaryMainFrame BackForwardCacheDisabled RelatedActiveContentsExist HTTPStatusNotOK @@ -8023,6 +8078,7 @@ domain Page NoResponseHead Unknown ActivationNavigationsDisallowedForBug1234857 + ErrorDocument #Blocklisted features WebSocket WebTransport @@ -8667,7 +8723,7 @@ experimental domain Storage properties string ownerOrigin string name - number expirationTime + Network.TimeSinceEpoch expirationTime string joiningOrigin optional string biddingUrl optional string biddingWasmHelperUrl @@ -8823,6 +8879,7 @@ experimental domain Storage # One of the interest groups was accessed by the associated page. event interestGroupAccessed parameters + Network.TimeSinceEpoch accessTime InterestGroupAccessType type string ownerOrigin string name diff --git a/pom.xml b/pom.xml index d81fea5..b4556de 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ com.hubspot.chrome ChromeDevTools-parent - 99.0.4844.84-SNAPSHOT + 100.0.4896.127-SNAPSHOT pom @@ -18,8 +18,8 @@ - 99.0.4844.84 - 9.9.115.10 + 100.0.4896.127 + 10.0.139.15 11 ${project.build.targetJdk} true