devtools-protocol 0.0.937139 → 0.0.938885

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.
@@ -10483,8 +10483,8 @@
10483
10483
  },
10484
10484
  {
10485
10485
  "name": "timestamp",
10486
- "description": "Issuance date.",
10487
- "$ref": "TimeSinceEpoch"
10486
+ "description": "Issuance date. Unlike TimeSinceEpoch, this contains the number of\nmilliseconds since January 1, 1970, UTC, not the number of seconds.",
10487
+ "type": "number"
10488
10488
  },
10489
10489
  {
10490
10490
  "name": "hashAlgorithm",
@@ -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.937139",
3
+ "version": "0.0.938885",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -4784,8 +4784,9 @@ domain Network
4784
4784
  string logDescription
4785
4785
  # Log ID.
4786
4786
  string logId
4787
- # Issuance date.
4788
- TimeSinceEpoch timestamp
4787
+ # Issuance date. Unlike TimeSinceEpoch, this contains the number of
4788
+ # milliseconds since January 1, 1970, UTC, not the number of seconds.
4789
+ number timestamp
4789
4790
  # Hash algorithm.
4790
4791
  string hashAlgorithm
4791
4792
  # Signature algorithm.
@@ -6762,6 +6763,7 @@ domain Page
6762
6763
  hid
6763
6764
  idle-detection
6764
6765
  interest-cohort
6766
+ join-ad-interest-group
6765
6767
  keyboard-map
6766
6768
  magnetometer
6767
6769
  microphone
@@ -6770,6 +6772,7 @@ domain Page
6770
6772
  payment
6771
6773
  picture-in-picture
6772
6774
  publickey-credentials-get
6775
+ run-ad-auction
6773
6776
  screen-wake-lock
6774
6777
  serial
6775
6778
  shared-autofill
@@ -7644,6 +7647,15 @@ domain Page
7644
7647
  # Clears seeded compilation cache.
7645
7648
  experimental command clearCompilationCache
7646
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
+
7647
7659
  # Generates a report for testing.
7648
7660
  experimental command generateTestReport
7649
7661
  parameters
@@ -8342,13 +8354,13 @@ domain Security
8342
8354
  SecurityState securityState
8343
8355
  # True if the page was loaded over cryptographic transport such as HTTPS.
8344
8356
  deprecated boolean schemeIsCryptographic
8345
- # List of explanations for the security state. If the overall security state is `insecure` or
8346
- # `warning`, at least one corresponding explanation should be included.
8347
- array of SecurityStateExplanation explanations
8357
+ # Previously a list of explanations for the security state. Now always
8358
+ # empty.
8359
+ deprecated array of SecurityStateExplanation explanations
8348
8360
  # Information about insecure content on the page.
8349
8361
  deprecated InsecureContentStatus insecureContentStatus
8350
- # Overrides user-visible description of the state.
8351
- optional string summary
8362
+ # Overrides user-visible description of the state. Always omitted.
8363
+ deprecated optional string summary
8352
8364
 
8353
8365
  experimental domain ServiceWorker
8354
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
  */
@@ -9092,9 +9092,10 @@ export namespace Protocol {
9092
9092
  */
9093
9093
  logId: string;
9094
9094
  /**
9095
- * Issuance date.
9095
+ * Issuance date. Unlike TimeSinceEpoch, this contains the number of
9096
+ * milliseconds since January 1, 1970, UTC, not the number of seconds.
9096
9097
  */
9097
- timestamp: TimeSinceEpoch;
9098
+ timestamp: number;
9098
9099
  /**
9099
9100
  * Hash algorithm.
9100
9101
  */
@@ -11766,7 +11767,7 @@ export namespace Protocol {
11766
11767
  * All Permissions Policy features. This enum should match the one defined
11767
11768
  * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
11768
11769
  */
11769
- 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');
11770
11771
 
11771
11772
  /**
11772
11773
  * Reason for a permissions policy feature to be disabled.
@@ -12944,6 +12945,19 @@ export namespace Protocol {
12944
12945
  data: string;
12945
12946
  }
12946
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
+
12947
12961
  export interface GenerateTestReportRequest {
12948
12962
  /**
12949
12963
  * Message to be displayed in the report.
@@ -13765,8 +13779,8 @@ export namespace Protocol {
13765
13779
  */
13766
13780
  schemeIsCryptographic: boolean;
13767
13781
  /**
13768
- * List of explanations for the security state. If the overall security state is `insecure` or
13769
- * `warning`, at least one corresponding explanation should be included.
13782
+ * Previously a list of explanations for the security state. Now always
13783
+ * empty.
13770
13784
  */
13771
13785
  explanations: SecurityStateExplanation[];
13772
13786
  /**
@@ -13774,7 +13788,7 @@ export namespace Protocol {
13774
13788
  */
13775
13789
  insecureContentStatus: InsecureContentStatus;
13776
13790
  /**
13777
- * Overrides user-visible description of the state.
13791
+ * Overrides user-visible description of the state. Always omitted.
13778
13792
  */
13779
13793
  summary?: string;
13780
13794
  }