Update browser_protocol

Bug: 1501781
Change-Id: I41460c95564d65205b4a238d4c2b6c1ecf69cd59
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5028364
Reviewed-by: Ergün Erdoğmuş <ergunsh@chromium.org>
Auto-Submit: Philip Pfaffe <pfaffe@chromium.org>
Commit-Queue: Ergün Erdoğmuş <ergunsh@chromium.org>
This commit is contained in:
Philip Pfaffe
2023-11-14 20:00:04 +00:00
committed by Devtools-frontend LUCI CQ
parent bef3f18832
commit 38dbfd6ebf
6 changed files with 173 additions and 32 deletions
@@ -95,7 +95,7 @@ inspectorBackend.registerEnum("Audits.SharedArrayBufferIssueType", {TransferIssu
inspectorBackend.registerEnum("Audits.AttributionReportingIssueType", {PermissionPolicyDisabled: "PermissionPolicyDisabled", UntrustworthyReportingOrigin: "UntrustworthyReportingOrigin", InsecureContext: "InsecureContext", InvalidHeader: "InvalidHeader", InvalidRegisterTriggerHeader: "InvalidRegisterTriggerHeader", SourceAndTriggerHeaders: "SourceAndTriggerHeaders", SourceIgnored: "SourceIgnored", TriggerIgnored: "TriggerIgnored", OsSourceIgnored: "OsSourceIgnored", OsTriggerIgnored: "OsTriggerIgnored", InvalidRegisterOsSourceHeader: "InvalidRegisterOsSourceHeader", InvalidRegisterOsTriggerHeader: "InvalidRegisterOsTriggerHeader", WebAndOsHeaders: "WebAndOsHeaders", NoWebOrOsSupport: "NoWebOrOsSupport", NavigationRegistrationWithoutTransientUserActivation: "NavigationRegistrationWithoutTransientUserActivation"});
inspectorBackend.registerEnum("Audits.GenericIssueErrorType", {CrossOriginPortalPostMessageError: "CrossOriginPortalPostMessageError", FormLabelForNameError: "FormLabelForNameError", FormDuplicateIdForInputError: "FormDuplicateIdForInputError", FormInputWithNoLabelError: "FormInputWithNoLabelError", FormAutocompleteAttributeEmptyError: "FormAutocompleteAttributeEmptyError", FormEmptyIdAndNameAttributesForInputError: "FormEmptyIdAndNameAttributesForInputError", FormAriaLabelledByToNonExistingId: "FormAriaLabelledByToNonExistingId", FormInputAssignedAutocompleteValueToIdOrNameAttributeError: "FormInputAssignedAutocompleteValueToIdOrNameAttributeError", FormLabelHasNeitherForNorNestedInput: "FormLabelHasNeitherForNorNestedInput", FormLabelForMatchesNonExistingIdError: "FormLabelForMatchesNonExistingIdError", FormInputHasWrongButWellIntendedAutocompleteValueError: "FormInputHasWrongButWellIntendedAutocompleteValueError", ResponseWasBlockedByORB: "ResponseWasBlockedByORB"});
inspectorBackend.registerEnum("Audits.ClientHintIssueReason", {MetaTagAllowListInvalidOrigin: "MetaTagAllowListInvalidOrigin", MetaTagModifiedHTML: "MetaTagModifiedHTML"});
inspectorBackend.registerEnum("Audits.FederatedAuthRequestIssueReason", {ShouldEmbargo: "ShouldEmbargo", TooManyRequests: "TooManyRequests", WellKnownHttpNotFound: "WellKnownHttpNotFound", WellKnownNoResponse: "WellKnownNoResponse", WellKnownInvalidResponse: "WellKnownInvalidResponse", WellKnownListEmpty: "WellKnownListEmpty", WellKnownInvalidContentType: "WellKnownInvalidContentType", ConfigNotInWellKnown: "ConfigNotInWellKnown", WellKnownTooBig: "WellKnownTooBig", ConfigHttpNotFound: "ConfigHttpNotFound", ConfigNoResponse: "ConfigNoResponse", ConfigInvalidResponse: "ConfigInvalidResponse", ConfigInvalidContentType: "ConfigInvalidContentType", ClientMetadataHttpNotFound: "ClientMetadataHttpNotFound", ClientMetadataNoResponse: "ClientMetadataNoResponse", ClientMetadataInvalidResponse: "ClientMetadataInvalidResponse", ClientMetadataInvalidContentType: "ClientMetadataInvalidContentType", DisabledInSettings: "DisabledInSettings", ErrorFetchingSignin: "ErrorFetchingSignin", InvalidSigninResponse: "InvalidSigninResponse", AccountsHttpNotFound: "AccountsHttpNotFound", AccountsNoResponse: "AccountsNoResponse", AccountsInvalidResponse: "AccountsInvalidResponse", AccountsListEmpty: "AccountsListEmpty", AccountsInvalidContentType: "AccountsInvalidContentType", IdTokenHttpNotFound: "IdTokenHttpNotFound", IdTokenNoResponse: "IdTokenNoResponse", IdTokenInvalidResponse: "IdTokenInvalidResponse", IdTokenInvalidRequest: "IdTokenInvalidRequest", IdTokenInvalidContentType: "IdTokenInvalidContentType", ErrorIdToken: "ErrorIdToken", Canceled: "Canceled", RpPageNotVisible: "RpPageNotVisible", SilentMediationFailure: "SilentMediationFailure", ThirdPartyCookiesBlocked: "ThirdPartyCookiesBlocked", NotSignedInWithIdp: "NotSignedInWithIdp"});
inspectorBackend.registerEnum("Audits.FederatedAuthRequestIssueReason", {ShouldEmbargo: "ShouldEmbargo", TooManyRequests: "TooManyRequests", WellKnownHttpNotFound: "WellKnownHttpNotFound", WellKnownNoResponse: "WellKnownNoResponse", WellKnownInvalidResponse: "WellKnownInvalidResponse", WellKnownListEmpty: "WellKnownListEmpty", WellKnownInvalidContentType: "WellKnownInvalidContentType", ConfigNotInWellKnown: "ConfigNotInWellKnown", WellKnownTooBig: "WellKnownTooBig", ConfigHttpNotFound: "ConfigHttpNotFound", ConfigNoResponse: "ConfigNoResponse", ConfigInvalidResponse: "ConfigInvalidResponse", ConfigInvalidContentType: "ConfigInvalidContentType", ClientMetadataHttpNotFound: "ClientMetadataHttpNotFound", ClientMetadataNoResponse: "ClientMetadataNoResponse", ClientMetadataInvalidResponse: "ClientMetadataInvalidResponse", ClientMetadataInvalidContentType: "ClientMetadataInvalidContentType", DisabledInSettings: "DisabledInSettings", ErrorFetchingSignin: "ErrorFetchingSignin", InvalidSigninResponse: "InvalidSigninResponse", AccountsHttpNotFound: "AccountsHttpNotFound", AccountsNoResponse: "AccountsNoResponse", AccountsInvalidResponse: "AccountsInvalidResponse", AccountsListEmpty: "AccountsListEmpty", AccountsInvalidContentType: "AccountsInvalidContentType", IdTokenHttpNotFound: "IdTokenHttpNotFound", IdTokenNoResponse: "IdTokenNoResponse", IdTokenInvalidResponse: "IdTokenInvalidResponse", IdTokenIdpErrorResponse: "IdTokenIdpErrorResponse", IdTokenCrossSiteIdpErrorResponse: "IdTokenCrossSiteIdpErrorResponse", IdTokenInvalidRequest: "IdTokenInvalidRequest", IdTokenInvalidContentType: "IdTokenInvalidContentType", ErrorIdToken: "ErrorIdToken", Canceled: "Canceled", RpPageNotVisible: "RpPageNotVisible", SilentMediationFailure: "SilentMediationFailure", ThirdPartyCookiesBlocked: "ThirdPartyCookiesBlocked", NotSignedInWithIdp: "NotSignedInWithIdp"});
inspectorBackend.registerEnum("Audits.FederatedAuthUserInfoRequestIssueReason", {NotSameOrigin: "NotSameOrigin", NotIframe: "NotIframe", NotPotentiallyTrustworthy: "NotPotentiallyTrustworthy", NoAPIPermission: "NoApiPermission", NotSignedInWithIdp: "NotSignedInWithIdp", NoAccountSharingPermission: "NoAccountSharingPermission", InvalidConfigOrWellKnown: "InvalidConfigOrWellKnown", InvalidAccountsResponse: "InvalidAccountsResponse", NoReturningUserFromFetchedAccounts: "NoReturningUserFromFetchedAccounts"});
inspectorBackend.registerEnum("Audits.StyleSheetLoadingIssueReason", {LateImportRule: "LateImportRule", RequestFailed: "RequestFailed"});
inspectorBackend.registerEnum("Audits.PropertyRuleIssueReason", {InvalidSyntax: "InvalidSyntax", InvalidInitialValue: "InvalidInitialValue", InvalidInherits: "InvalidInherits", InvalidName: "InvalidName"});
@@ -210,7 +210,7 @@ inspectorBackend.registerCommand("CSS.forcePseudoState", [{"name": "nodeId", "ty
inspectorBackend.registerCommand("CSS.getBackgroundColors", [{"name": "nodeId", "type": "number", "optional": false, "description": "Id of the node to get background colors for.", "typeRef": "DOM.NodeId"}], ["backgroundColors", "computedFontSize", "computedFontWeight"], "");
inspectorBackend.registerCommand("CSS.getComputedStyleForNode", [{"name": "nodeId", "type": "number", "optional": false, "description": "", "typeRef": "DOM.NodeId"}], ["computedStyle"], "Returns the computed style for a DOM node identified by `nodeId`.");
inspectorBackend.registerCommand("CSS.getInlineStylesForNode", [{"name": "nodeId", "type": "number", "optional": false, "description": "", "typeRef": "DOM.NodeId"}], ["inlineStyle", "attributesStyle"], "Returns the styles defined inline (explicitly in the \"style\" attribute and implicitly, using DOM attributes) for a DOM node identified by `nodeId`.");
inspectorBackend.registerCommand("CSS.getMatchedStylesForNode", [{"name": "nodeId", "type": "number", "optional": false, "description": "", "typeRef": "DOM.NodeId"}], ["inlineStyle", "attributesStyle", "matchedCSSRules", "pseudoElements", "inherited", "inheritedPseudoElements", "cssKeyframesRules", "cssPositionFallbackRules", "cssPropertyRules", "cssPropertyRegistrations", "parentLayoutNodeId"], "Returns requested styles for a DOM node identified by `nodeId`.");
inspectorBackend.registerCommand("CSS.getMatchedStylesForNode", [{"name": "nodeId", "type": "number", "optional": false, "description": "", "typeRef": "DOM.NodeId"}], ["inlineStyle", "attributesStyle", "matchedCSSRules", "pseudoElements", "inherited", "inheritedPseudoElements", "cssKeyframesRules", "cssPositionFallbackRules", "cssPropertyRules", "cssPropertyRegistrations", "cssFontPaletteValuesRule", "parentLayoutNodeId"], "Returns requested styles for a DOM node identified by `nodeId`.");
inspectorBackend.registerCommand("CSS.getMediaQueries", [], ["medias"], "Returns all media queries parsed by the rendering engine.");
inspectorBackend.registerCommand("CSS.getPlatformFontsForNode", [{"name": "nodeId", "type": "number", "optional": false, "description": "", "typeRef": "DOM.NodeId"}], ["fonts"], "Requests information about platform fonts which we used to render child TextNodes in the given node.");
inspectorBackend.registerCommand("CSS.getStyleSheetText", [{"name": "styleSheetId", "type": "string", "optional": false, "description": "", "typeRef": "CSS.StyleSheetId"}], ["text"], "Returns the current textual content for a stylesheet.");
@@ -261,6 +261,7 @@ inspectorBackend.registerType("CSS.CSSTryRule", [{"name": "styleSheetId", "type"
inspectorBackend.registerType("CSS.CSSPositionFallbackRule", [{"name": "name", "type": "object", "optional": false, "description": "", "typeRef": "CSS.Value"}, {"name": "tryRules", "type": "array", "optional": false, "description": "List of keyframes.", "typeRef": "CSS.CSSTryRule"}]);
inspectorBackend.registerType("CSS.CSSKeyframesRule", [{"name": "animationName", "type": "object", "optional": false, "description": "Animation name.", "typeRef": "CSS.Value"}, {"name": "keyframes", "type": "array", "optional": false, "description": "List of keyframes.", "typeRef": "CSS.CSSKeyframeRule"}]);
inspectorBackend.registerType("CSS.CSSPropertyRegistration", [{"name": "propertyName", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "initialValue", "type": "object", "optional": true, "description": "", "typeRef": "CSS.Value"}, {"name": "inherits", "type": "boolean", "optional": false, "description": "", "typeRef": null}, {"name": "syntax", "type": "string", "optional": false, "description": "", "typeRef": null}]);
inspectorBackend.registerType("CSS.CSSFontPaletteValuesRule", [{"name": "styleSheetId", "type": "string", "optional": true, "description": "The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.", "typeRef": "CSS.StyleSheetId"}, {"name": "origin", "type": "string", "optional": false, "description": "Parent stylesheet's origin.", "typeRef": "CSS.StyleSheetOrigin"}, {"name": "fontPaletteName", "type": "object", "optional": false, "description": "Associated font palette name.", "typeRef": "CSS.Value"}, {"name": "style", "type": "object", "optional": false, "description": "Associated style declaration.", "typeRef": "CSS.CSSStyle"}]);
inspectorBackend.registerType("CSS.CSSPropertyRule", [{"name": "styleSheetId", "type": "string", "optional": true, "description": "The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.", "typeRef": "CSS.StyleSheetId"}, {"name": "origin", "type": "string", "optional": false, "description": "Parent stylesheet's origin.", "typeRef": "CSS.StyleSheetOrigin"}, {"name": "propertyName", "type": "object", "optional": false, "description": "Associated property name.", "typeRef": "CSS.Value"}, {"name": "style", "type": "object", "optional": false, "description": "Associated style declaration.", "typeRef": "CSS.CSSStyle"}]);
inspectorBackend.registerType("CSS.CSSKeyframeRule", [{"name": "styleSheetId", "type": "string", "optional": true, "description": "The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.", "typeRef": "CSS.StyleSheetId"}, {"name": "origin", "type": "string", "optional": false, "description": "Parent stylesheet's origin.", "typeRef": "CSS.StyleSheetOrigin"}, {"name": "keyText", "type": "object", "optional": false, "description": "Associated key text.", "typeRef": "CSS.Value"}, {"name": "style", "type": "object", "optional": false, "description": "Associated style declaration.", "typeRef": "CSS.CSSStyle"}]);
inspectorBackend.registerType("CSS.StyleDeclarationEdit", [{"name": "styleSheetId", "type": "string", "optional": false, "description": "The css style sheet identifier.", "typeRef": "CSS.StyleSheetId"}, {"name": "range", "type": "object", "optional": false, "description": "The range of the style text in the enclosing stylesheet.", "typeRef": "CSS.SourceRange"}, {"name": "text", "type": "string", "optional": false, "description": "New style text.", "typeRef": null}]);
@@ -793,7 +794,7 @@ inspectorBackend.registerEnum("Page.AdFrameExplanation", {ParentIsAd: "ParentIsA
inspectorBackend.registerEnum("Page.SecureContextType", {Secure: "Secure", SecureLocalhost: "SecureLocalhost", InsecureScheme: "InsecureScheme", InsecureAncestor: "InsecureAncestor"});
inspectorBackend.registerEnum("Page.CrossOriginIsolatedContextType", {Isolated: "Isolated", NotIsolated: "NotIsolated", NotIsolatedFeatureDisabled: "NotIsolatedFeatureDisabled"});
inspectorBackend.registerEnum("Page.GatedAPIFeatures", {SharedArrayBuffers: "SharedArrayBuffers", SharedArrayBuffersTransferAllowed: "SharedArrayBuffersTransferAllowed", PerformanceMeasureMemory: "PerformanceMeasureMemory", PerformanceProfile: "PerformanceProfile"});
inspectorBackend.registerEnum("Page.PermissionsPolicyFeature", {Accelerometer: "accelerometer", AmbientLightSensor: "ambient-light-sensor", AttributionReporting: "attribution-reporting", Autoplay: "autoplay", Bluetooth: "bluetooth", BrowsingTopics: "browsing-topics", Camera: "camera", ChDpr: "ch-dpr", ChDeviceMemory: "ch-device-memory", ChDownlink: "ch-downlink", ChEct: "ch-ect", ChPrefersColorScheme: "ch-prefers-color-scheme", ChPrefersReducedMotion: "ch-prefers-reduced-motion", ChPrefersReducedTransparency: "ch-prefers-reduced-transparency", ChRtt: "ch-rtt", ChSaveData: "ch-save-data", ChUa: "ch-ua", ChUaArch: "ch-ua-arch", ChUaBitness: "ch-ua-bitness", ChUaPlatform: "ch-ua-platform", ChUaModel: "ch-ua-model", ChUaMobile: "ch-ua-mobile", ChUaFormFactor: "ch-ua-form-factor", ChUaFullVersion: "ch-ua-full-version", ChUaFullVersionList: "ch-ua-full-version-list", ChUaPlatformVersion: "ch-ua-platform-version", ChUaWow64: "ch-ua-wow64", ChViewportHeight: "ch-viewport-height", ChViewportWidth: "ch-viewport-width", ChWidth: "ch-width", ClipboardRead: "clipboard-read", ClipboardWrite: "clipboard-write", ComputePressure: "compute-pressure", CrossOriginIsolated: "cross-origin-isolated", DirectSockets: "direct-sockets", DisplayCapture: "display-capture", DocumentDomain: "document-domain", EncryptedMedia: "encrypted-media", ExecutionWhileOutOfViewport: "execution-while-out-of-viewport", ExecutionWhileNotRendered: "execution-while-not-rendered", FocusWithoutUserActivation: "focus-without-user-activation", Fullscreen: "fullscreen", Frobulate: "frobulate", Gamepad: "gamepad", Geolocation: "geolocation", Gyroscope: "gyroscope", Hid: "hid", IdentityCredentialsGet: "identity-credentials-get", IdleDetection: "idle-detection", InterestCohort: "interest-cohort", JoinAdInterestGroup: "join-ad-interest-group", KeyboardMap: "keyboard-map", LocalFonts: "local-fonts", Magnetometer: "magnetometer", Microphone: "microphone", Midi: "midi", OtpCredentials: "otp-credentials", Payment: "payment", PictureInPicture: "picture-in-picture", PrivateAggregation: "private-aggregation", PrivateStateTokenIssuance: "private-state-token-issuance", PrivateStateTokenRedemption: "private-state-token-redemption", PublickeyCredentialsGet: "publickey-credentials-get", RunAdAuction: "run-ad-auction", ScreenWakeLock: "screen-wake-lock", Serial: "serial", SharedAutofill: "shared-autofill", SharedStorage: "shared-storage", SharedStorageSelectUrl: "shared-storage-select-url", SmartCard: "smart-card", StorageAccess: "storage-access", SyncXhr: "sync-xhr", Unload: "unload", Usb: "usb", VerticalScroll: "vertical-scroll", WebShare: "web-share", WindowManagement: "window-management", WindowPlacement: "window-placement", XrSpatialTracking: "xr-spatial-tracking"});
inspectorBackend.registerEnum("Page.PermissionsPolicyFeature", {Accelerometer: "accelerometer", AmbientLightSensor: "ambient-light-sensor", AttributionReporting: "attribution-reporting", Autoplay: "autoplay", Bluetooth: "bluetooth", BrowsingTopics: "browsing-topics", Camera: "camera", ChDpr: "ch-dpr", ChDeviceMemory: "ch-device-memory", ChDownlink: "ch-downlink", ChEct: "ch-ect", ChPrefersColorScheme: "ch-prefers-color-scheme", ChPrefersReducedMotion: "ch-prefers-reduced-motion", ChPrefersReducedTransparency: "ch-prefers-reduced-transparency", ChRtt: "ch-rtt", ChSaveData: "ch-save-data", ChUa: "ch-ua", ChUaArch: "ch-ua-arch", ChUaBitness: "ch-ua-bitness", ChUaPlatform: "ch-ua-platform", ChUaModel: "ch-ua-model", ChUaMobile: "ch-ua-mobile", ChUaFormFactor: "ch-ua-form-factor", ChUaFullVersion: "ch-ua-full-version", ChUaFullVersionList: "ch-ua-full-version-list", ChUaPlatformVersion: "ch-ua-platform-version", ChUaWow64: "ch-ua-wow64", ChViewportHeight: "ch-viewport-height", ChViewportWidth: "ch-viewport-width", ChWidth: "ch-width", ClipboardRead: "clipboard-read", ClipboardWrite: "clipboard-write", ComputePressure: "compute-pressure", CrossOriginIsolated: "cross-origin-isolated", DirectSockets: "direct-sockets", DisplayCapture: "display-capture", DocumentDomain: "document-domain", EncryptedMedia: "encrypted-media", ExecutionWhileOutOfViewport: "execution-while-out-of-viewport", ExecutionWhileNotRendered: "execution-while-not-rendered", FocusWithoutUserActivation: "focus-without-user-activation", Fullscreen: "fullscreen", Frobulate: "frobulate", Gamepad: "gamepad", Geolocation: "geolocation", Gyroscope: "gyroscope", Hid: "hid", IdentityCredentialsGet: "identity-credentials-get", IdleDetection: "idle-detection", InterestCohort: "interest-cohort", JoinAdInterestGroup: "join-ad-interest-group", KeyboardMap: "keyboard-map", LocalFonts: "local-fonts", Magnetometer: "magnetometer", Microphone: "microphone", Midi: "midi", OtpCredentials: "otp-credentials", Payment: "payment", PictureInPicture: "picture-in-picture", PrivateAggregation: "private-aggregation", PrivateStateTokenIssuance: "private-state-token-issuance", PrivateStateTokenRedemption: "private-state-token-redemption", PublickeyCredentialsGet: "publickey-credentials-get", RunAdAuction: "run-ad-auction", ScreenWakeLock: "screen-wake-lock", Serial: "serial", SharedAutofill: "shared-autofill", SharedStorage: "shared-storage", SharedStorageSelectUrl: "shared-storage-select-url", SmartCard: "smart-card", StorageAccess: "storage-access", SyncXhr: "sync-xhr", Unload: "unload", Usb: "usb", VerticalScroll: "vertical-scroll", WebPrinting: "web-printing", WebShare: "web-share", WindowManagement: "window-management", WindowPlacement: "window-placement", XrSpatialTracking: "xr-spatial-tracking"});
inspectorBackend.registerEnum("Page.PermissionsPolicyBlockReason", {Header: "Header", IframeAttribute: "IframeAttribute", InFencedFrameTree: "InFencedFrameTree", InIsolatedApp: "InIsolatedApp"});
inspectorBackend.registerEnum("Page.OriginTrialTokenStatus", {Success: "Success", NotSupported: "NotSupported", Insecure: "Insecure", Expired: "Expired", WrongOrigin: "WrongOrigin", InvalidSignature: "InvalidSignature", Malformed: "Malformed", WrongVersion: "WrongVersion", FeatureDisabled: "FeatureDisabled", TokenDisabled: "TokenDisabled", FeatureDisabledForUser: "FeatureDisabledForUser", UnknownTrial: "UnknownTrial"});
inspectorBackend.registerEnum("Page.OriginTrialStatus", {Enabled: "Enabled", ValidTokenNotProvided: "ValidTokenNotProvided", OSNotSupported: "OSNotSupported", TrialNotAllowed: "TrialNotAllowed"});
@@ -1055,7 +1056,8 @@ inspectorBackend.registerType("Storage.StorageBucketInfo", [{"name": "bucket", "
inspectorBackend.registerType("Storage.AttributionReportingFilterDataEntry", [{"name": "key", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "values", "type": "array", "optional": false, "description": "", "typeRef": "string"}]);
inspectorBackend.registerType("Storage.AttributionReportingAggregationKeysEntry", [{"name": "key", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "value", "type": "string", "optional": false, "description": "", "typeRef": "Storage.UnsignedInt128AsBase16"}]);
inspectorBackend.registerType("Storage.AttributionReportingEventReportWindows", [{"name": "start", "type": "number", "optional": false, "description": "duration in seconds", "typeRef": null}, {"name": "ends", "type": "array", "optional": false, "description": "duration in seconds", "typeRef": "integer"}]);
inspectorBackend.registerType("Storage.AttributionReportingSourceRegistration", [{"name": "time", "type": "number", "optional": false, "description": "", "typeRef": "Network.TimeSinceEpoch"}, {"name": "expiry", "type": "number", "optional": false, "description": "duration in seconds", "typeRef": null}, {"name": "eventReportWindows", "type": "object", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingEventReportWindows"}, {"name": "aggregatableReportWindow", "type": "number", "optional": false, "description": "duration in seconds", "typeRef": null}, {"name": "type", "type": "string", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingSourceType"}, {"name": "sourceOrigin", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "reportingOrigin", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "destinationSites", "type": "array", "optional": false, "description": "", "typeRef": "string"}, {"name": "eventId", "type": "string", "optional": false, "description": "", "typeRef": "Storage.UnsignedInt64AsBase10"}, {"name": "priority", "type": "string", "optional": false, "description": "", "typeRef": "Storage.SignedInt64AsBase10"}, {"name": "filterData", "type": "array", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingFilterDataEntry"}, {"name": "aggregationKeys", "type": "array", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingAggregationKeysEntry"}, {"name": "debugKey", "type": "string", "optional": true, "description": "", "typeRef": "Storage.UnsignedInt64AsBase10"}, {"name": "triggerDataMatching", "type": "string", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingTriggerDataMatching"}]);
inspectorBackend.registerType("Storage.AttributionReportingTriggerSpec", [{"name": "triggerData", "type": "array", "optional": false, "description": "number instead of integer because not all uint32 can be represented by int", "typeRef": "number"}, {"name": "eventReportWindows", "type": "object", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingEventReportWindows"}]);
inspectorBackend.registerType("Storage.AttributionReportingSourceRegistration", [{"name": "time", "type": "number", "optional": false, "description": "", "typeRef": "Network.TimeSinceEpoch"}, {"name": "expiry", "type": "number", "optional": false, "description": "duration in seconds", "typeRef": null}, {"name": "triggerSpecs", "type": "array", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingTriggerSpec"}, {"name": "aggregatableReportWindow", "type": "number", "optional": false, "description": "duration in seconds", "typeRef": null}, {"name": "type", "type": "string", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingSourceType"}, {"name": "sourceOrigin", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "reportingOrigin", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "destinationSites", "type": "array", "optional": false, "description": "", "typeRef": "string"}, {"name": "eventId", "type": "string", "optional": false, "description": "", "typeRef": "Storage.UnsignedInt64AsBase10"}, {"name": "priority", "type": "string", "optional": false, "description": "", "typeRef": "Storage.SignedInt64AsBase10"}, {"name": "filterData", "type": "array", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingFilterDataEntry"}, {"name": "aggregationKeys", "type": "array", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingAggregationKeysEntry"}, {"name": "debugKey", "type": "string", "optional": true, "description": "", "typeRef": "Storage.UnsignedInt64AsBase10"}, {"name": "triggerDataMatching", "type": "string", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingTriggerDataMatching"}]);
// SystemInfo.
inspectorBackend.registerEnum("SystemInfo.SubsamplingFormat", {Yuv420: "yuv420", Yuv422: "yuv422", Yuv444: "yuv444"});
@@ -1238,11 +1240,12 @@ inspectorBackend.registerType("Preload.PrerenderMismatchedHeaders", [{"name": "h
// FedCm.
inspectorBackend.registerEnum("FedCm.LoginState", {SignIn: "SignIn", SignUp: "SignUp"});
inspectorBackend.registerEnum("FedCm.DialogType", {AccountChooser: "AccountChooser", AutoReauthn: "AutoReauthn", ConfirmIdpLogin: "ConfirmIdpLogin"});
inspectorBackend.registerEnum("FedCm.DialogButton", {ConfirmIdpLoginContinue: "ConfirmIdpLoginContinue"});
inspectorBackend.registerEvent("FedCm.dialogShown", ["dialogId", "dialogType", "accounts", "title", "subtitle"]);
inspectorBackend.registerCommand("FedCm.enable", [{"name": "disableRejectionDelay", "type": "boolean", "optional": true, "description": "Allows callers to disable the promise rejection delay that would normally happen, if this is unimportant to what's being tested. (step 4 of https://fedidcg.github.io/FedCM/#browser-api-rp-sign-in)", "typeRef": null}], [], "");
inspectorBackend.registerCommand("FedCm.disable", [], [], "");
inspectorBackend.registerCommand("FedCm.selectAccount", [{"name": "dialogId", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "accountIndex", "type": "number", "optional": false, "description": "", "typeRef": null}], [], "");
inspectorBackend.registerCommand("FedCm.confirmIdpLogin", [{"name": "dialogId", "type": "string", "optional": false, "description": "", "typeRef": null}], [], "Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had clicked the continue button.");
inspectorBackend.registerCommand("FedCm.clickDialogButton", [{"name": "dialogId", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "dialogButton", "type": "string", "optional": false, "description": "", "typeRef": "FedCm.DialogButton"}], [], "");
inspectorBackend.registerCommand("FedCm.dismissDialog", [{"name": "dialogId", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "triggerCooldown", "type": "boolean", "optional": true, "description": "", "typeRef": null}], [], "");
inspectorBackend.registerCommand("FedCm.resetCooldown", [], [], "Resets the cooldown time, if any, to allow the next FedCM call to show a dialog even if one was recently dismissed by the user.");
inspectorBackend.registerType("FedCm.Account", [{"name": "accountId", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "email", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "name", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "givenName", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "pictureUrl", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "idpConfigUrl", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "idpLoginUrl", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "loginState", "type": "string", "optional": false, "description": "", "typeRef": "FedCm.LoginState"}, {"name": "termsOfServiceUrl", "type": "string", "optional": true, "description": "These two are only set if the loginState is signUp", "typeRef": null}, {"name": "privacyPolicyUrl", "type": "string", "optional": true, "description": "", "typeRef": null}]);
+2 -6
View File
@@ -4267,12 +4267,8 @@ export namespace ProtocolMapping {
paramsType: [Protocol.FedCm.SelectAccountRequest];
returnType: void;
};
/**
* Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had
* clicked the continue button.
*/
'FedCm.confirmIdpLogin': {
paramsType: [Protocol.FedCm.ConfirmIdpLoginRequest];
'FedCm.clickDialogButton': {
paramsType: [Protocol.FedCm.ClickDialogButtonRequest];
returnType: void;
};
'FedCm.dismissDialog': {
+1 -5
View File
@@ -3791,11 +3791,7 @@ declare namespace ProtocolProxyApi {
invoke_selectAccount(params: Protocol.FedCm.SelectAccountRequest): Promise<Protocol.ProtocolResponseWithError>;
/**
* Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had
* clicked the continue button.
*/
invoke_confirmIdpLogin(params: Protocol.FedCm.ConfirmIdpLoginRequest): Promise<Protocol.ProtocolResponseWithError>;
invoke_clickDialogButton(params: Protocol.FedCm.ClickDialogButtonRequest): Promise<Protocol.ProtocolResponseWithError>;
invoke_dismissDialog(params: Protocol.FedCm.DismissDialogRequest): Promise<Protocol.ProtocolResponseWithError>;
+51 -4
View File
@@ -1100,6 +1100,8 @@ export namespace Audits {
IdTokenHttpNotFound = 'IdTokenHttpNotFound',
IdTokenNoResponse = 'IdTokenNoResponse',
IdTokenInvalidResponse = 'IdTokenInvalidResponse',
IdTokenIdpErrorResponse = 'IdTokenIdpErrorResponse',
IdTokenCrossSiteIdpErrorResponse = 'IdTokenCrossSiteIdpErrorResponse',
IdTokenInvalidRequest = 'IdTokenInvalidRequest',
IdTokenInvalidContentType = 'IdTokenInvalidContentType',
ErrorIdToken = 'ErrorIdToken',
@@ -1650,7 +1652,7 @@ export namespace Browser {
/**
* Definition of PermissionDescriptor defined in the Permissions API:
* https://w3c.github.io/permissions/#dictdef-permissiondescriptor.
* https://w3c.github.io/permissions/#dom-permissiondescriptor.
*/
export interface PermissionDescriptor {
/**
@@ -2748,6 +2750,29 @@ export namespace CSS {
syntax: string;
}
/**
* CSS font-palette-values rule representation.
*/
export interface CSSFontPaletteValuesRule {
/**
* The css style sheet identifier (absent for user agent stylesheet and user-specified
* stylesheet rules) this rule came from.
*/
styleSheetId?: StyleSheetId;
/**
* Parent stylesheet's origin.
*/
origin: StyleSheetOrigin;
/**
* Associated font palette name.
*/
fontPaletteName: Value;
/**
* Associated style declaration.
*/
style: CSSStyle;
}
/**
* CSS property at-rule representation.
*/
@@ -2968,6 +2993,10 @@ export namespace CSS {
* A list of CSS property registrations matching this node.
*/
cssPropertyRegistrations?: CSSPropertyRegistration[];
/**
* A font-palette-values rule matching this node.
*/
cssFontPaletteValuesRule?: CSSFontPaletteValuesRule;
/**
* Id of the first parent element that does not have display: contents.
*/
@@ -10964,6 +10993,7 @@ export namespace Page {
Unload = 'unload',
Usb = 'usb',
VerticalScroll = 'vertical-scroll',
WebPrinting = 'web-printing',
WebShare = 'web-share',
WindowManagement = 'window-management',
WindowPlacement = 'window-placement',
@@ -13696,6 +13726,15 @@ export namespace Storage {
ends: integer[];
}
export interface AttributionReportingTriggerSpec {
/**
* number instead of integer because not all uint32 can be represented by
* int
*/
triggerData: number[];
eventReportWindows: AttributionReportingEventReportWindows;
}
export const enum AttributionReportingTriggerDataMatching {
Exact = 'exact',
Modulus = 'modulus',
@@ -13707,7 +13746,7 @@ export namespace Storage {
* duration in seconds
*/
expiry: integer;
eventReportWindows: AttributionReportingEventReportWindows;
triggerSpecs: AttributionReportingTriggerSpec[];
/**
* duration in seconds
*/
@@ -16303,7 +16342,7 @@ export namespace FedCm {
}
/**
* Whether the dialog shown is an account chooser or an auto re-authentication dialog.
* The types of FedCM dialogs.
*/
export const enum DialogType {
AccountChooser = 'AccountChooser',
@@ -16311,6 +16350,13 @@ export namespace FedCm {
ConfirmIdpLogin = 'ConfirmIdpLogin',
}
/**
* The buttons on the FedCM dialog.
*/
export const enum DialogButton {
ConfirmIdpLoginContinue = 'ConfirmIdpLoginContinue',
}
/**
* Corresponds to IdentityRequestAccount
*/
@@ -16344,8 +16390,9 @@ export namespace FedCm {
accountIndex: integer;
}
export interface ConfirmIdpLoginRequest {
export interface ClickDialogButtonRequest {
dialogId: string;
dialogButton: DialogButton;
}
export interface DismissDialogRequest {
@@ -1647,6 +1647,8 @@
"IdTokenHttpNotFound",
"IdTokenNoResponse",
"IdTokenInvalidResponse",
"IdTokenIdpErrorResponse",
"IdTokenCrossSiteIdpErrorResponse",
"IdTokenInvalidRequest",
"IdTokenInvalidContentType",
"ErrorIdToken",
@@ -2517,7 +2519,7 @@
},
{
"id": "PermissionDescriptor",
"description": "Definition of PermissionDescriptor defined in the Permissions API:\nhttps://w3c.github.io/permissions/#dictdef-permissiondescriptor.",
"description": "Definition of PermissionDescriptor defined in the Permissions API:\nhttps://w3c.github.io/permissions/#dom-permissiondescriptor.",
"experimental": true,
"type": "object",
"properties": [
@@ -4055,6 +4057,34 @@
}
]
},
{
"id": "CSSFontPaletteValuesRule",
"description": "CSS font-palette-values rule representation.",
"type": "object",
"properties": [
{
"name": "styleSheetId",
"description": "The css style sheet identifier (absent for user agent stylesheet and user-specified\nstylesheet rules) this rule came from.",
"optional": true,
"$ref": "StyleSheetId"
},
{
"name": "origin",
"description": "Parent stylesheet's origin.",
"$ref": "StyleSheetOrigin"
},
{
"name": "fontPaletteName",
"description": "Associated font palette name.",
"$ref": "Value"
},
{
"name": "style",
"description": "Associated style declaration.",
"$ref": "CSSStyle"
}
]
},
{
"id": "CSSPropertyRule",
"description": "CSS property at-rule representation.",
@@ -4399,6 +4429,12 @@
"$ref": "CSSPropertyRegistration"
}
},
{
"name": "cssFontPaletteValuesRule",
"description": "A font-palette-values rule matching this node.",
"optional": true,
"$ref": "CSSFontPaletteValuesRule"
},
{
"name": "parentLayoutNodeId",
"description": "Id of the first parent element that does not have display: contents.",
@@ -16263,6 +16299,7 @@
"unload",
"usb",
"vertical-scroll",
"web-printing",
"web-share",
"window-management",
"window-placement",
@@ -20464,6 +20501,25 @@
}
]
},
{
"id": "AttributionReportingTriggerSpec",
"experimental": true,
"type": "object",
"properties": [
{
"name": "triggerData",
"description": "number instead of integer because not all uint32 can be represented by\nint",
"type": "array",
"items": {
"type": "number"
}
},
{
"name": "eventReportWindows",
"$ref": "AttributionReportingEventReportWindows"
}
]
},
{
"id": "AttributionReportingTriggerDataMatching",
"experimental": true,
@@ -20488,8 +20544,11 @@
"type": "integer"
},
{
"name": "eventReportWindows",
"$ref": "AttributionReportingEventReportWindows"
"name": "triggerSpecs",
"type": "array",
"items": {
"$ref": "AttributionReportingTriggerSpec"
}
},
{
"name": "aggregatableReportWindow",
@@ -24526,7 +24585,7 @@
},
{
"id": "DialogType",
"description": "Whether the dialog shown is an account chooser or an auto re-authentication dialog.",
"description": "The types of FedCM dialogs.",
"type": "string",
"enum": [
"AccountChooser",
@@ -24534,6 +24593,14 @@
"ConfirmIdpLogin"
]
},
{
"id": "DialogButton",
"description": "The buttons on the FedCM dialog.",
"type": "string",
"enum": [
"ConfirmIdpLoginContinue"
]
},
{
"id": "Account",
"description": "Corresponds to IdentityRequestAccount",
@@ -24646,12 +24713,15 @@
]
},
{
"name": "confirmIdpLogin",
"description": "Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had\nclicked the continue button.",
"name": "clickDialogButton",
"parameters": [
{
"name": "dialogId",
"type": "string"
},
{
"name": "dialogButton",
"$ref": "DialogButton"
}
]
},
@@ -827,6 +827,8 @@ experimental domain Audits
IdTokenHttpNotFound
IdTokenNoResponse
IdTokenInvalidResponse
IdTokenIdpErrorResponse
IdTokenCrossSiteIdpErrorResponse
IdTokenInvalidRequest
IdTokenInvalidContentType
ErrorIdToken
@@ -1249,7 +1251,7 @@ domain Browser
prompt
# Definition of PermissionDescriptor defined in the Permissions API:
# https://w3c.github.io/permissions/#dictdef-permissiondescriptor.
# https://w3c.github.io/permissions/#dom-permissiondescriptor.
experimental type PermissionDescriptor extends object
properties
# Name of permission.
@@ -1924,6 +1926,19 @@ experimental domain CSS
string syntax
# CSS font-palette-values rule representation.
type CSSFontPaletteValuesRule extends object
properties
# The css style sheet identifier (absent for user agent stylesheet and user-specified
# stylesheet rules) this rule came from.
optional StyleSheetId styleSheetId
# Parent stylesheet's origin.
StyleSheetOrigin origin
# Associated font palette name.
Value fontPaletteName
# Associated style declaration.
CSSStyle style
# CSS property at-rule representation.
type CSSPropertyRule extends object
properties
@@ -2068,6 +2083,8 @@ experimental domain CSS
optional array of CSSPropertyRule cssPropertyRules
# A list of CSS property registrations matching this node.
optional array of CSSPropertyRegistration cssPropertyRegistrations
# A font-palette-values rule matching this node.
optional CSSFontPaletteValuesRule cssFontPaletteValuesRule
# Id of the first parent element that does not have display: contents.
experimental optional DOM.NodeId parentLayoutNodeId
@@ -7627,6 +7644,7 @@ domain Page
unload
usb
vertical-scroll
web-printing
web-share
# Alias for 'window-placement' (crbug.com/1328581).
window-management
@@ -9928,6 +9946,13 @@ experimental domain Storage
# duration in seconds
array of integer ends
experimental type AttributionReportingTriggerSpec extends object
properties
# number instead of integer because not all uint32 can be represented by
# int
array of number triggerData
AttributionReportingEventReportWindows eventReportWindows
experimental type AttributionReportingTriggerDataMatching extends string
enum
exact
@@ -9938,7 +9963,7 @@ experimental domain Storage
Network.TimeSinceEpoch time
# duration in seconds
integer expiry
AttributionReportingEventReportWindows eventReportWindows
array of AttributionReportingTriggerSpec triggerSpecs
# duration in seconds
integer aggregatableReportWindow
AttributionReportingSourceType type
@@ -11605,13 +11630,18 @@ experimental domain FedCm
SignIn
SignUp
# Whether the dialog shown is an account chooser or an auto re-authentication dialog.
# The types of FedCM dialogs.
type DialogType extends string
enum
AccountChooser
AutoReauthn
ConfirmIdpLogin
# The buttons on the FedCM dialog.
type DialogButton extends string
enum
ConfirmIdpLoginContinue
# Corresponds to IdentityRequestAccount
type Account extends object
properties
@@ -11651,11 +11681,10 @@ experimental domain FedCm
string dialogId
integer accountIndex
# Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had
# clicked the continue button.
command confirmIdpLogin
command clickDialogButton
parameters
string dialogId
DialogButton dialogButton
command dismissDialog
parameters