devtools-protocol 0.0.938446 → 0.0.938931

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.
@@ -14536,6 +14536,7 @@
14536
14536
  "hid",
14537
14537
  "idle-detection",
14538
14538
  "interest-cohort",
14539
+ "join-ad-interest-group",
14539
14540
  "keyboard-map",
14540
14541
  "magnetometer",
14541
14542
  "microphone",
@@ -14544,6 +14545,7 @@
14544
14545
  "payment",
14545
14546
  "picture-in-picture",
14546
14547
  "publickey-credentials-get",
14548
+ "run-ad-auction",
14547
14549
  "screen-wake-lock",
14548
14550
  "serial",
14549
14551
  "shared-autofill",
@@ -16615,6 +16617,22 @@
16615
16617
  "description": "Clears seeded compilation cache.",
16616
16618
  "experimental": true
16617
16619
  },
16620
+ {
16621
+ "name": "setSPCTransactionMode",
16622
+ "description": "Sets the Secure Payment Confirmation transaction mode.\nhttps://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode",
16623
+ "experimental": true,
16624
+ "parameters": [
16625
+ {
16626
+ "name": "mode",
16627
+ "type": "string",
16628
+ "enum": [
16629
+ "none",
16630
+ "autoaccept",
16631
+ "autoreject"
16632
+ ]
16633
+ }
16634
+ ]
16635
+ },
16618
16636
  {
16619
16637
  "name": "generateTestReport",
16620
16638
  "description": "Generates a report for testing.",
@@ -17785,7 +17803,8 @@
17785
17803
  },
17786
17804
  {
17787
17805
  "name": "explanations",
17788
- "description": "List of explanations for the security state. If the overall security state is `insecure` or\n`warning`, at least one corresponding explanation should be included.",
17806
+ "description": "Previously a list of explanations for the security state. Now always\nempty.",
17807
+ "deprecated": true,
17789
17808
  "type": "array",
17790
17809
  "items": {
17791
17810
  "$ref": "SecurityStateExplanation"
@@ -17799,7 +17818,8 @@
17799
17818
  },
17800
17819
  {
17801
17820
  "name": "summary",
17802
- "description": "Overrides user-visible description of the state.",
17821
+ "description": "Overrides user-visible description of the state. Always omitted.",
17822
+ "deprecated": true,
17803
17823
  "optional": true,
17804
17824
  "type": "string"
17805
17825
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.938446",
3
+ "version": "0.0.938931",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -6763,6 +6763,7 @@ domain Page
6763
6763
  hid
6764
6764
  idle-detection
6765
6765
  interest-cohort
6766
+ join-ad-interest-group
6766
6767
  keyboard-map
6767
6768
  magnetometer
6768
6769
  microphone
@@ -6771,6 +6772,7 @@ domain Page
6771
6772
  payment
6772
6773
  picture-in-picture
6773
6774
  publickey-credentials-get
6775
+ run-ad-auction
6774
6776
  screen-wake-lock
6775
6777
  serial
6776
6778
  shared-autofill
@@ -7645,6 +7647,15 @@ domain Page
7645
7647
  # Clears seeded compilation cache.
7646
7648
  experimental command clearCompilationCache
7647
7649
 
7650
+ # Sets the Secure Payment Confirmation transaction mode.
7651
+ # https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode
7652
+ experimental command setSPCTransactionMode
7653
+ parameters
7654
+ enum mode
7655
+ none
7656
+ autoaccept
7657
+ autoreject
7658
+
7648
7659
  # Generates a report for testing.
7649
7660
  experimental command generateTestReport
7650
7661
  parameters
@@ -8343,13 +8354,13 @@ domain Security
8343
8354
  SecurityState securityState
8344
8355
  # True if the page was loaded over cryptographic transport such as HTTPS.
8345
8356
  deprecated boolean schemeIsCryptographic
8346
- # List of explanations for the security state. If the overall security state is `insecure` or
8347
- # `warning`, at least one corresponding explanation should be included.
8348
- array of SecurityStateExplanation explanations
8357
+ # Previously a list of explanations for the security state. Now always
8358
+ # empty.
8359
+ deprecated array of SecurityStateExplanation explanations
8349
8360
  # Information about insecure content on the page.
8350
8361
  deprecated InsecureContentStatus insecureContentStatus
8351
- # Overrides user-visible description of the state.
8352
- optional string summary
8362
+ # Overrides user-visible description of the state. Always omitted.
8363
+ deprecated optional string summary
8353
8364
 
8354
8365
  experimental domain ServiceWorker
8355
8366
  depends on Target
@@ -3693,6 +3693,14 @@ export namespace ProtocolMapping {
3693
3693
  paramsType: [];
3694
3694
  returnType: void;
3695
3695
  };
3696
+ /**
3697
+ * Sets the Secure Payment Confirmation transaction mode.
3698
+ * https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode
3699
+ */
3700
+ 'Page.setSPCTransactionMode': {
3701
+ paramsType: [Protocol.Page.SetSPCTransactionModeRequest];
3702
+ returnType: void;
3703
+ };
3696
3704
  /**
3697
3705
  * Generates a report for testing.
3698
3706
  */
@@ -2842,6 +2842,12 @@ export namespace ProtocolProxyApi {
2842
2842
  */
2843
2843
  clearCompilationCache(): Promise<void>;
2844
2844
 
2845
+ /**
2846
+ * Sets the Secure Payment Confirmation transaction mode.
2847
+ * https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode
2848
+ */
2849
+ setSPCTransactionMode(params: Protocol.Page.SetSPCTransactionModeRequest): Promise<void>;
2850
+
2845
2851
  /**
2846
2852
  * Generates a report for testing.
2847
2853
  */
@@ -11767,7 +11767,7 @@ export namespace Protocol {
11767
11767
  * All Permissions Policy features. This enum should match the one defined
11768
11768
  * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
11769
11769
  */
11770
- export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-rtt' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full-version' | 'ch-ua-platform-version' | 'ch-ua-reduced' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'idle-detection' | 'interest-cohort' | 'keyboard-map' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'storage-access-api' | 'sync-xhr' | 'trust-token-redemption' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-placement' | 'xr-spatial-tracking');
11770
+ export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-rtt' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full-version' | 'ch-ua-platform-version' | 'ch-ua-reduced' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'storage-access-api' | 'sync-xhr' | 'trust-token-redemption' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-placement' | 'xr-spatial-tracking');
11771
11771
 
11772
11772
  /**
11773
11773
  * Reason for a permissions policy feature to be disabled.
@@ -12945,6 +12945,19 @@ export namespace Protocol {
12945
12945
  data: string;
12946
12946
  }
12947
12947
 
12948
+ export const enum SetSPCTransactionModeRequestMode {
12949
+ None = 'none',
12950
+ Autoaccept = 'autoaccept',
12951
+ Autoreject = 'autoreject',
12952
+ }
12953
+
12954
+ export interface SetSPCTransactionModeRequest {
12955
+ /**
12956
+ * (SetSPCTransactionModeRequestMode enum)
12957
+ */
12958
+ mode: ('none' | 'autoaccept' | 'autoreject');
12959
+ }
12960
+
12948
12961
  export interface GenerateTestReportRequest {
12949
12962
  /**
12950
12963
  * Message to be displayed in the report.
@@ -13766,8 +13779,8 @@ export namespace Protocol {
13766
13779
  */
13767
13780
  schemeIsCryptographic: boolean;
13768
13781
  /**
13769
- * List of explanations for the security state. If the overall security state is `insecure` or
13770
- * `warning`, at least one corresponding explanation should be included.
13782
+ * Previously a list of explanations for the security state. Now always
13783
+ * empty.
13771
13784
  */
13772
13785
  explanations: SecurityStateExplanation[];
13773
13786
  /**
@@ -13775,7 +13788,7 @@ export namespace Protocol {
13775
13788
  */
13776
13789
  insecureContentStatus: InsecureContentStatus;
13777
13790
  /**
13778
- * Overrides user-visible description of the state.
13791
+ * Overrides user-visible description of the state. Always omitted.
13779
13792
  */
13780
13793
  summary?: string;
13781
13794
  }