devtools-protocol 0.0.1157354 → 0.0.1159816

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.
@@ -2006,6 +2006,36 @@
2006
2006
  "type": "string"
2007
2007
  }
2008
2008
  ]
2009
+ },
2010
+ {
2011
+ "id": "AddressField",
2012
+ "type": "object",
2013
+ "properties": [
2014
+ {
2015
+ "name": "name",
2016
+ "description": "address field name, for example GIVEN_NAME.",
2017
+ "type": "string"
2018
+ },
2019
+ {
2020
+ "name": "value",
2021
+ "description": "address field name, for example Jon Doe.",
2022
+ "type": "string"
2023
+ }
2024
+ ]
2025
+ },
2026
+ {
2027
+ "id": "Address",
2028
+ "type": "object",
2029
+ "properties": [
2030
+ {
2031
+ "name": "fields",
2032
+ "description": "fields and values defining a test address.",
2033
+ "type": "array",
2034
+ "items": {
2035
+ "$ref": "AddressField"
2036
+ }
2037
+ }
2038
+ ]
2009
2039
  }
2010
2040
  ],
2011
2041
  "commands": [
@@ -2030,6 +2060,19 @@
2030
2060
  "$ref": "CreditCard"
2031
2061
  }
2032
2062
  ]
2063
+ },
2064
+ {
2065
+ "name": "setAddresses",
2066
+ "description": "Set addresses so that developers can verify their forms implementation.",
2067
+ "parameters": [
2068
+ {
2069
+ "name": "addresses",
2070
+ "type": "array",
2071
+ "items": {
2072
+ "$ref": "Address"
2073
+ }
2074
+ }
2075
+ ]
2033
2076
  }
2034
2077
  ]
2035
2078
  },
@@ -16647,6 +16690,9 @@
16647
16690
  "IndexedDBEvent",
16648
16691
  "Dummy",
16649
16692
  "JsNetworkRequestReceivedCacheControlNoStoreResource",
16693
+ "WebRTCSticky",
16694
+ "WebTransportSticky",
16695
+ "WebSocketSticky",
16650
16696
  "ContentSecurityHandler",
16651
16697
  "ContentWebAuthenticationAPI",
16652
16698
  "ContentFileChooser",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1157354",
3
+ "version": "0.0.1159816",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -992,6 +992,18 @@ experimental domain Autofill
992
992
  # 3-digit card verification code.
993
993
  string cvc
994
994
 
995
+ type AddressField extends object
996
+ properties
997
+ # address field name, for example GIVEN_NAME.
998
+ string name
999
+ # address field name, for example Jon Doe.
1000
+ string value
1001
+
1002
+ type Address extends object
1003
+ properties
1004
+ # fields and values defining a test address.
1005
+ array of AddressField fields
1006
+
995
1007
  # Trigger autofill on a form identified by the fieldId.
996
1008
  # If the field and related form cannot be autofilled, returns an error.
997
1009
  command trigger
@@ -1003,6 +1015,13 @@ experimental domain Autofill
1003
1015
  # Credit card information to fill out the form. Credit card data is not saved.
1004
1016
  CreditCard card
1005
1017
 
1018
+ # Set addresses so that developers can verify their forms implementation.
1019
+ command setAddresses
1020
+ # Test addresses for the available countries.
1021
+ parameters
1022
+ array of Address addresses
1023
+
1024
+
1006
1025
  # Defines events for background web platform features.
1007
1026
  experimental domain BackgroundService
1008
1027
  # The Background Service that will be associated with the commands/events.
@@ -8568,6 +8587,9 @@ domain Page
8568
8587
  IndexedDBEvent
8569
8588
  Dummy
8570
8589
  JsNetworkRequestReceivedCacheControlNoStoreResource
8590
+ WebRTCSticky
8591
+ WebTransportSticky
8592
+ WebSocketSticky
8571
8593
  # Disabled for RenderFrameHost reasons
8572
8594
  # See content/browser/renderer_host/back_forward_cache_disable.h for explanations.
8573
8595
  ContentSecurityHandler
@@ -1475,6 +1475,13 @@ export namespace ProtocolMapping {
1475
1475
  paramsType: [Protocol.Autofill.TriggerRequest];
1476
1476
  returnType: void;
1477
1477
  };
1478
+ /**
1479
+ * Set addresses so that developers can verify their forms implementation.
1480
+ */
1481
+ 'Autofill.setAddresses': {
1482
+ paramsType: [Protocol.Autofill.SetAddressesRequest];
1483
+ returnType: void;
1484
+ };
1478
1485
  /**
1479
1486
  * Enables event updates for the service.
1480
1487
  */
@@ -805,6 +805,11 @@ export namespace ProtocolProxyApi {
805
805
  */
806
806
  trigger(params: Protocol.Autofill.TriggerRequest): Promise<void>;
807
807
 
808
+ /**
809
+ * Set addresses so that developers can verify their forms implementation.
810
+ */
811
+ setAddresses(params: Protocol.Autofill.SetAddressesRequest): Promise<void>;
812
+
808
813
  }
809
814
 
810
815
  export interface BackgroundServiceApi {
@@ -3710,6 +3710,24 @@ export namespace Protocol {
3710
3710
  cvc: string;
3711
3711
  }
3712
3712
 
3713
+ export interface AddressField {
3714
+ /**
3715
+ * address field name, for example GIVEN_NAME.
3716
+ */
3717
+ name: string;
3718
+ /**
3719
+ * address field name, for example Jon Doe.
3720
+ */
3721
+ value: string;
3722
+ }
3723
+
3724
+ export interface Address {
3725
+ /**
3726
+ * fields and values defining a test address.
3727
+ */
3728
+ fields: AddressField[];
3729
+ }
3730
+
3713
3731
  export interface TriggerRequest {
3714
3732
  /**
3715
3733
  * Identifies a field that serves as an anchor for autofill.
@@ -3724,6 +3742,10 @@ export namespace Protocol {
3724
3742
  */
3725
3743
  card: CreditCard;
3726
3744
  }
3745
+
3746
+ export interface SetAddressesRequest {
3747
+ addresses: Address[];
3748
+ }
3727
3749
  }
3728
3750
 
3729
3751
  /**
@@ -13113,7 +13135,7 @@ export namespace Protocol {
13113
13135
  /**
13114
13136
  * List of not restored reasons for back-forward cache.
13115
13137
  */
13116
- 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' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'DedicatedWorkerOrWorklet' | 'OutstandingNetworkRequestOthers' | 'OutstandingIndexedDBTransaction' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'IndexedDBConnection' | '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' | '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');
13138
+ 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' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'DedicatedWorkerOrWorklet' | 'OutstandingNetworkRequestOthers' | 'OutstandingIndexedDBTransaction' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'IndexedDBConnection' | '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' | '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');
13117
13139
 
13118
13140
  /**
13119
13141
  * Types of not restored reasons for back-forward cache.