diff --git a/changelog.md b/changelog.md index 7845ef95e3..8a17b188c0 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,53 @@ +## Roll protocol to r1312386 — _2024-06-08T04:27:15.000Z_ +###### Diff: [`1db3824...8ab9ec1`](https://github.com/ChromeDevTools/devtools-protocol/compare/1db3824...8ab9ec1) + +```diff +@@ browser_protocol.pdl:915 @@ experimental domain Audits + MissingTransientUserActivation + ReplacedByButtonMode + RelyingPartyOriginIsOpaque ++ TypeNotMatching + + type FederatedAuthUserInfoRequestIssueDetails extends object + properties +@@ -6075,7 +6076,7 @@ domain Network + # An unspecified port value allows protocol clients to emulate legacy cookie scope for the port. + # This is a temporary ability and it will be removed in the future. + experimental integer sourcePort +- # Cookie partition key. ++ # Cookie partition key. + experimental optional CookiePartitionKey partitionKey + # True if cookie partition key is opaque. + experimental optional boolean partitionKeyOpaque +@@ -6496,8 +6497,8 @@ domain Network + optional string domain + # If specified, deletes only cookies with the exact path. + optional string path +- # If specified, deletes only cookies with the the given name and partitionKey where +- # where all partition key attributes match the cookie partition key attribute. ++ # If specified, deletes only cookies with the the given name and partitionKey where ++ # all partition key attributes match the cookie partition key attribute. + experimental optional CookiePartitionKey partitionKey + + # Disables network tracking, prevents network events from being sent to the client. +@@ -9248,6 +9249,11 @@ domain Page + HTTPAuthRequired + CookieFlushed + BroadcastChannelOnMessage ++ WebViewSettingsChanged ++ WebViewJavaScriptObjectChanged ++ WebViewMessageListenerInjected ++ WebViewSafeBrowsingAllowlistChanged ++ WebViewDocumentStartJavascriptChanged + #Blocklisted features + WebSocket + WebTransport +``` + ## Roll protocol to r1311068 — _2024-06-06T04:27:10.000Z_ -###### Diff: [`689e8cb...7796745`](https://github.com/ChromeDevTools/devtools-protocol/compare/689e8cb...7796745) +###### Diff: [`689e8cb...1db3824`](https://github.com/ChromeDevTools/devtools-protocol/compare/689e8cb...1db3824) ```diff @@ browser_protocol.pdl:6032 @@ domain Network @@ -12037,20 +12083,4 @@ index 09c420e..bd277eb 100644 join-ad-interest-group keyboard-map magnetometer -``` - -## Roll protocol to r966979 — _2022-02-03T23:15:30.000Z_ -###### Diff: [`d15d202...72f90a8`](https://github.com/ChromeDevTools/devtools-protocol/compare/d15d202...72f90a8) - -```diff -@@ browser_protocol.pdl:3656 @@ 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 ``` \ No newline at end of file diff --git a/json/browser_protocol.json b/json/browser_protocol.json index d8ab69d6d5..729fcb9cf7 100644 --- a/json/browser_protocol.json +++ b/json/browser_protocol.json @@ -1776,7 +1776,8 @@ "NotSignedInWithIdp", "MissingTransientUserActivation", "ReplacedByButtonMode", - "RelyingPartyOriginIsOpaque" + "RelyingPartyOriginIsOpaque", + "TypeNotMatching" ] }, { @@ -14073,7 +14074,7 @@ }, { "name": "partitionKey", - "description": "If specified, deletes only cookies with the the given name and partitionKey where\nwhere all partition key attributes match the cookie partition key attribute.", + "description": "If specified, deletes only cookies with the the given name and partitionKey where\nall partition key attributes match the cookie partition key attribute.", "experimental": true, "optional": true, "$ref": "CookiePartitionKey" @@ -18122,6 +18123,11 @@ "HTTPAuthRequired", "CookieFlushed", "BroadcastChannelOnMessage", + "WebViewSettingsChanged", + "WebViewJavaScriptObjectChanged", + "WebViewMessageListenerInjected", + "WebViewSafeBrowsingAllowlistChanged", + "WebViewDocumentStartJavascriptChanged", "WebSocket", "WebTransport", "WebRTC", diff --git a/package.json b/package.json index 3bac6c25d0..97d11a57b6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "devtools-protocol", - "version": "0.0.1311068", + "version": "0.0.1312386", "description": "The Chrome DevTools Protocol JSON", "repository": "https://github.com/ChromeDevTools/devtools-protocol", "author": "The Chromium Authors", diff --git a/pdl/browser_protocol.pdl b/pdl/browser_protocol.pdl index 6f42212d2c..2fa34b1273 100644 --- a/pdl/browser_protocol.pdl +++ b/pdl/browser_protocol.pdl @@ -915,6 +915,7 @@ experimental domain Audits MissingTransientUserActivation ReplacedByButtonMode RelyingPartyOriginIsOpaque + TypeNotMatching type FederatedAuthUserInfoRequestIssueDetails extends object properties @@ -6075,7 +6076,7 @@ domain Network # An unspecified port value allows protocol clients to emulate legacy cookie scope for the port. # This is a temporary ability and it will be removed in the future. experimental integer sourcePort - # Cookie partition key. + # Cookie partition key. experimental optional CookiePartitionKey partitionKey # True if cookie partition key is opaque. experimental optional boolean partitionKeyOpaque @@ -6496,8 +6497,8 @@ domain Network optional string domain # If specified, deletes only cookies with the exact path. optional string path - # If specified, deletes only cookies with the the given name and partitionKey where - # where all partition key attributes match the cookie partition key attribute. + # If specified, deletes only cookies with the the given name and partitionKey where + # all partition key attributes match the cookie partition key attribute. experimental optional CookiePartitionKey partitionKey # Disables network tracking, prevents network events from being sent to the client. @@ -9248,6 +9249,11 @@ domain Page HTTPAuthRequired CookieFlushed BroadcastChannelOnMessage + WebViewSettingsChanged + WebViewJavaScriptObjectChanged + WebViewMessageListenerInjected + WebViewSafeBrowsingAllowlistChanged + WebViewDocumentStartJavascriptChanged #Blocklisted features WebSocket WebTransport diff --git a/types/protocol.d.ts b/types/protocol.d.ts index 674fc55b02..740c93fd3c 100644 --- a/types/protocol.d.ts +++ b/types/protocol.d.ts @@ -3579,7 +3579,7 @@ export namespace Protocol { * third_party/blink/public/mojom/devtools/inspector_issue.mojom to include * all cases except for success. */ - export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'DisabledInSettings' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp' | 'MissingTransientUserActivation' | 'ReplacedByButtonMode' | 'RelyingPartyOriginIsOpaque'); + export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'DisabledInSettings' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp' | 'MissingTransientUserActivation' | 'ReplacedByButtonMode' | 'RelyingPartyOriginIsOpaque' | 'TypeNotMatching'); export interface FederatedAuthUserInfoRequestIssueDetails { federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason; @@ -11366,7 +11366,7 @@ export namespace Protocol { path?: string; /** * If specified, deletes only cookies with the the given name and partitionKey where - * where all partition key attributes match the cookie partition key attribute. + * all partition key attributes match the cookie partition key attribute. */ partitionKey?: CookiePartitionKey; } @@ -13878,7 +13878,7 @@ export namespace Protocol { /** * List of not restored reasons for back-forward cache. */ - 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' | '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' | 'Portal' | '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' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame' | 'RequestedByWebViewClient'); + 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' | 'Portal' | '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' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame' | 'RequestedByWebViewClient'); /** * Types of not restored reasons for back-forward cache.