devtools-protocol 0.0.1510016 → 0.0.1511308

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.
@@ -2454,7 +2454,7 @@
2454
2454
  "properties": [
2455
2455
  {
2456
2456
  "name": "name",
2457
- "description": "address field name, for example GIVEN_NAME.",
2457
+ "description": "address field name, for example GIVEN_NAME.\nThe full list of supported field names:\nhttps://source.chromium.org/chromium/chromium/src/+/main:components/autofill/core/browser/field_types.cc;l=38",
2458
2458
  "type": "string"
2459
2459
  },
2460
2460
  {
@@ -2602,8 +2602,15 @@
2602
2602
  },
2603
2603
  {
2604
2604
  "name": "card",
2605
- "description": "Credit card information to fill out the form. Credit card data is not saved.",
2605
+ "description": "Credit card information to fill out the form. Credit card data is not saved. Mutually exclusive with `address`.",
2606
+ "optional": true,
2606
2607
  "$ref": "CreditCard"
2608
+ },
2609
+ {
2610
+ "name": "address",
2611
+ "description": "Address to fill out the form. Address data is not saved. Mutually exclusive with `card`.",
2612
+ "optional": true,
2613
+ "$ref": "Address"
2607
2614
  }
2608
2615
  ]
2609
2616
  },
@@ -20079,7 +20086,7 @@
20079
20086
  },
20080
20087
  {
20081
20088
  "name": "install",
20082
- "description": "Installs the given manifest identity, optionally using the given installUrlOrBundleUrl\n\nIWA-specific install description:\nmanifestId corresponds to isolated-app:// + web_package::SignedWebBundleId\n\nFile installation mode:\nThe installUrlOrBundleUrl can be either file:// or http(s):// pointing\nto a signed web bundle (.swbn). In this case SignedWebBundleId must correspond to\nThe .swbn file's signing key.\n\nDev proxy installation mode:\ninstallUrlOrBundleUrl must be http(s):// that serves dev mode IWA.\nweb_package::SignedWebBundleId must be of type dev proxy.\n\nThe advantage of dev proxy mode is that all changes to IWA\nautomatically will be reflected in the running app without\nreinstallation.\n\nTo generate bundle id for proxy mode:\n1. Generate 32 random bytes.\n2. Add a specific suffix 0x00 at the end.\n3. Encode the entire sequence using Base32 without padding.\n\nIf Chrome is not in IWA dev\nmode, the installation will fail, regardless of the state of the allowlist.",
20089
+ "description": "Installs the given manifest identity, optionally using the given installUrlOrBundleUrl\n\nIWA-specific install description:\nmanifestId corresponds to isolated-app:// + web_package::SignedWebBundleId\n\nFile installation mode:\nThe installUrlOrBundleUrl can be either file:// or http(s):// pointing\nto a signed web bundle (.swbn). In this case SignedWebBundleId must correspond to\nThe .swbn file's signing key.\n\nDev proxy installation mode:\ninstallUrlOrBundleUrl must be http(s):// that serves dev mode IWA.\nweb_package::SignedWebBundleId must be of type dev proxy.\n\nThe advantage of dev proxy mode is that all changes to IWA\nautomatically will be reflected in the running app without\nreinstallation.\n\nTo generate bundle id for proxy mode:\n1. Generate 32 random bytes.\n2. Add a specific suffix at the end following the documentation\n https://github.com/WICG/isolated-web-apps/blob/main/Scheme.md#suffix\n3. Encode the entire sequence using Base32 without padding.\n\nIf Chrome is not in IWA dev\nmode, the installation will fail, regardless of the state of the allowlist.",
20083
20090
  "parameters": [
20084
20091
  {
20085
20092
  "name": "manifestId",
@@ -20367,6 +20374,7 @@
20367
20374
  "digital-credentials-create",
20368
20375
  "digital-credentials-get",
20369
20376
  "direct-sockets",
20377
+ "direct-sockets-multicast",
20370
20378
  "direct-sockets-private",
20371
20379
  "display-capture",
20372
20380
  "document-domain",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1510016",
3
+ "version": "0.0.1511308",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -22,6 +22,8 @@ experimental domain Autofill
22
22
  type AddressField extends object
23
23
  properties
24
24
  # address field name, for example GIVEN_NAME.
25
+ # The full list of supported field names:
26
+ # https://source.chromium.org/chromium/chromium/src/+/main:components/autofill/core/browser/field_types.cc;l=38
25
27
  string name
26
28
  # address field value, for example Jon Doe.
27
29
  string value
@@ -90,8 +92,10 @@ experimental domain Autofill
90
92
  DOM.BackendNodeId fieldId
91
93
  # Identifies the frame that field belongs to.
92
94
  optional Page.FrameId frameId
93
- # Credit card information to fill out the form. Credit card data is not saved.
94
- CreditCard card
95
+ # Credit card information to fill out the form. Credit card data is not saved. Mutually exclusive with `address`.
96
+ optional CreditCard card
97
+ # Address to fill out the form. Address data is not saved. Mutually exclusive with `card`.
98
+ optional Address address
95
99
 
96
100
  # Set addresses so that developers can verify their forms implementation.
97
101
  command setAddresses
@@ -53,7 +53,8 @@ experimental domain PWA
53
53
  #
54
54
  # To generate bundle id for proxy mode:
55
55
  # 1. Generate 32 random bytes.
56
- # 2. Add a specific suffix 0x00 at the end.
56
+ # 2. Add a specific suffix at the end following the documentation
57
+ # https://github.com/WICG/isolated-web-apps/blob/main/Scheme.md#suffix
57
58
  # 3. Encode the entire sequence using Base32 without padding.
58
59
  #
59
60
  # If Chrome is not in IWA dev
@@ -140,6 +140,7 @@ domain Page
140
140
  digital-credentials-create
141
141
  digital-credentials-get
142
142
  direct-sockets
143
+ direct-sockets-multicast
143
144
  direct-sockets-private
144
145
  display-capture
145
146
  document-domain
@@ -4587,7 +4587,8 @@ export namespace ProtocolMapping {
4587
4587
  *
4588
4588
  * To generate bundle id for proxy mode:
4589
4589
  * 1. Generate 32 random bytes.
4590
- * 2. Add a specific suffix 0x00 at the end.
4590
+ * 2. Add a specific suffix at the end following the documentation
4591
+ * https://github.com/WICG/isolated-web-apps/blob/main/Scheme.md#suffix
4591
4592
  * 3. Encode the entire sequence using Base32 without padding.
4592
4593
  *
4593
4594
  * If Chrome is not in IWA dev
@@ -3630,7 +3630,8 @@ export namespace ProtocolProxyApi {
3630
3630
  *
3631
3631
  * To generate bundle id for proxy mode:
3632
3632
  * 1. Generate 32 random bytes.
3633
- * 2. Add a specific suffix 0x00 at the end.
3633
+ * 2. Add a specific suffix at the end following the documentation
3634
+ * https://github.com/WICG/isolated-web-apps/blob/main/Scheme.md#suffix
3634
3635
  * 3. Encode the entire sequence using Base32 without padding.
3635
3636
  *
3636
3637
  * If Chrome is not in IWA dev
@@ -3892,7 +3892,8 @@ export namespace ProtocolTestsProxyApi {
3892
3892
  *
3893
3893
  * To generate bundle id for proxy mode:
3894
3894
  * 1. Generate 32 random bytes.
3895
- * 2. Add a specific suffix 0x00 at the end.
3895
+ * 2. Add a specific suffix at the end following the documentation
3896
+ * https://github.com/WICG/isolated-web-apps/blob/main/Scheme.md#suffix
3896
3897
  * 3. Encode the entire sequence using Base32 without padding.
3897
3898
  *
3898
3899
  * If Chrome is not in IWA dev
@@ -4020,6 +4020,8 @@ export namespace Protocol {
4020
4020
  export interface AddressField {
4021
4021
  /**
4022
4022
  * address field name, for example GIVEN_NAME.
4023
+ * The full list of supported field names:
4024
+ * https://source.chromium.org/chromium/chromium/src/+/main:components/autofill/core/browser/field_types.cc;l=38
4023
4025
  */
4024
4026
  name: string;
4025
4027
  /**
@@ -4108,9 +4110,13 @@ export namespace Protocol {
4108
4110
  */
4109
4111
  frameId?: Page.FrameId;
4110
4112
  /**
4111
- * Credit card information to fill out the form. Credit card data is not saved.
4113
+ * Credit card information to fill out the form. Credit card data is not saved. Mutually exclusive with `address`.
4112
4114
  */
4113
- card: CreditCard;
4115
+ card?: CreditCard;
4116
+ /**
4117
+ * Address to fill out the form. Address data is not saved. Mutually exclusive with `card`.
4118
+ */
4119
+ address?: Address;
4114
4120
  }
4115
4121
 
4116
4122
  export interface SetAddressesRequest {
@@ -15715,7 +15721,7 @@ export namespace Protocol {
15715
15721
  * in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
15716
15722
  * @experimental
15717
15723
  */
15718
- export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network-access' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'record-ad-auction-events' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
15724
+ export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network-access' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'record-ad-auction-events' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
15719
15725
 
15720
15726
  /**
15721
15727
  * Reason for a permissions policy feature to be disabled.