devtools-protocol 0.0.1429850 → 0.0.1431913

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.
@@ -2930,6 +2930,7 @@
2930
2930
  "idleDetection",
2931
2931
  "keyboardLock",
2932
2932
  "localFonts",
2933
+ "localNetworkAccess",
2933
2934
  "midi",
2934
2935
  "midiSysex",
2935
2936
  "nfc",
@@ -3068,6 +3069,15 @@
3068
3069
  }
3069
3070
  }
3070
3071
  ]
3072
+ },
3073
+ {
3074
+ "id": "PrivacySandboxAPI",
3075
+ "experimental": true,
3076
+ "type": "string",
3077
+ "enum": [
3078
+ "BiddingAndAuctionServices",
3079
+ "TrustedKeyValue"
3080
+ ]
3071
3081
  }
3072
3082
  ],
3073
3083
  "commands": [
@@ -3405,6 +3415,30 @@
3405
3415
  "type": "string"
3406
3416
  }
3407
3417
  ]
3418
+ },
3419
+ {
3420
+ "name": "addPrivacySandboxCoordinatorKeyConfig",
3421
+ "description": "Configures encryption keys used with a given privacy sandbox API to talk\nto a trusted coordinator. Since this is intended for test automation only,\ncoordinatorOrigin must be a .test domain. No existing coordinator\nconfiguration for the origin may exist.",
3422
+ "parameters": [
3423
+ {
3424
+ "name": "api",
3425
+ "$ref": "PrivacySandboxAPI"
3426
+ },
3427
+ {
3428
+ "name": "coordinatorOrigin",
3429
+ "type": "string"
3430
+ },
3431
+ {
3432
+ "name": "keyConfig",
3433
+ "type": "string"
3434
+ },
3435
+ {
3436
+ "name": "browserContextId",
3437
+ "description": "BrowserContext to perform the action in. When omitted, default browser\ncontext is used.",
3438
+ "optional": true,
3439
+ "$ref": "BrowserContextID"
3440
+ }
3441
+ ]
3408
3442
  }
3409
3443
  ],
3410
3444
  "events": [
@@ -14490,7 +14524,8 @@
14490
14524
  "WarnFromInsecureToMorePrivate",
14491
14525
  "PreflightBlock",
14492
14526
  "PreflightWarn",
14493
- "PermissionBlock"
14527
+ "PermissionBlock",
14528
+ "PermissionWarn"
14494
14529
  ]
14495
14530
  },
14496
14531
  {
@@ -20572,6 +20607,13 @@
20572
20607
  {
20573
20608
  "name": "enabled",
20574
20609
  "type": "boolean"
20610
+ },
20611
+ {
20612
+ "name": "cancel",
20613
+ "description": "If true, cancels the dialog by emitting relevant events (if any)\nin addition to not showing it if the interception is enabled\n(default: false).",
20614
+ "experimental": true,
20615
+ "optional": true,
20616
+ "type": "boolean"
20575
20617
  }
20576
20618
  ]
20577
20619
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1429850",
3
+ "version": "0.0.1431913",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -1481,6 +1481,7 @@ domain Browser
1481
1481
  idleDetection
1482
1482
  keyboardLock
1483
1483
  localFonts
1484
+ localNetworkAccess
1484
1485
  midi
1485
1486
  midiSysex
1486
1487
  nfc
@@ -1740,6 +1741,25 @@ domain Browser
1740
1741
  parameters
1741
1742
  string url
1742
1743
 
1744
+ experimental type PrivacySandboxAPI extends string
1745
+ enum
1746
+ BiddingAndAuctionServices
1747
+ TrustedKeyValue
1748
+
1749
+ # Configures encryption keys used with a given privacy sandbox API to talk
1750
+ # to a trusted coordinator. Since this is intended for test automation only,
1751
+ # coordinatorOrigin must be a .test domain. No existing coordinator
1752
+ # configuration for the origin may exist.
1753
+ command addPrivacySandboxCoordinatorKeyConfig
1754
+ parameters
1755
+ PrivacySandboxAPI api
1756
+ string coordinatorOrigin
1757
+ string keyConfig
1758
+ # BrowserContext to perform the action in. When omitted, default browser
1759
+ # context is used.
1760
+ optional BrowserContextID browserContextId
1761
+
1762
+
1743
1763
  # This domain exposes CSS read/write operations. All CSS objects (stylesheets, rules, and styles)
1744
1764
  # have an associated `id` used in subsequent operations on the related object. Each object type has
1745
1765
  # a specific `id` structure, and those are not interchangeable between objects of different kinds.
@@ -7466,6 +7486,7 @@ domain Network
7466
7486
  PreflightBlock
7467
7487
  PreflightWarn
7468
7488
  PermissionBlock
7489
+ PermissionWarn
7469
7490
 
7470
7491
  experimental type IPAddressSpace extends string
7471
7492
  enum
@@ -9527,6 +9548,10 @@ domain Page
9527
9548
  command setInterceptFileChooserDialog
9528
9549
  parameters
9529
9550
  boolean enabled
9551
+ # If true, cancels the dialog by emitting relevant events (if any)
9552
+ # in addition to not showing it if the interception is enabled
9553
+ # (default: false).
9554
+ experimental optional boolean cancel
9530
9555
 
9531
9556
  event domContentEventFired
9532
9557
  parameters
@@ -1797,6 +1797,16 @@ export namespace ProtocolMapping {
1797
1797
  paramsType: [Protocol.Browser.AddPrivacySandboxEnrollmentOverrideRequest];
1798
1798
  returnType: void;
1799
1799
  };
1800
+ /**
1801
+ * Configures encryption keys used with a given privacy sandbox API to talk
1802
+ * to a trusted coordinator. Since this is intended for test automation only,
1803
+ * coordinatorOrigin must be a .test domain. No existing coordinator
1804
+ * configuration for the origin may exist.
1805
+ */
1806
+ 'Browser.addPrivacySandboxCoordinatorKeyConfig': {
1807
+ paramsType: [Protocol.Browser.AddPrivacySandboxCoordinatorKeyConfigRequest];
1808
+ returnType: void;
1809
+ };
1800
1810
  /**
1801
1811
  * Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the
1802
1812
  * position specified by `location`.
@@ -1014,6 +1014,14 @@ export namespace ProtocolProxyApi {
1014
1014
  */
1015
1015
  addPrivacySandboxEnrollmentOverride(params: Protocol.Browser.AddPrivacySandboxEnrollmentOverrideRequest): Promise<void>;
1016
1016
 
1017
+ /**
1018
+ * Configures encryption keys used with a given privacy sandbox API to talk
1019
+ * to a trusted coordinator. Since this is intended for test automation only,
1020
+ * coordinatorOrigin must be a .test domain. No existing coordinator
1021
+ * configuration for the origin may exist.
1022
+ */
1023
+ addPrivacySandboxCoordinatorKeyConfig(params: Protocol.Browser.AddPrivacySandboxCoordinatorKeyConfigRequest): Promise<void>;
1024
+
1017
1025
  /**
1018
1026
  * Fired when page is about to start a download.
1019
1027
  */
@@ -1078,6 +1078,14 @@ export namespace ProtocolTestsProxyApi {
1078
1078
  */
1079
1079
  addPrivacySandboxEnrollmentOverride(params: Protocol.Browser.AddPrivacySandboxEnrollmentOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
1080
1080
 
1081
+ /**
1082
+ * Configures encryption keys used with a given privacy sandbox API to talk
1083
+ * to a trusted coordinator. Since this is intended for test automation only,
1084
+ * coordinatorOrigin must be a .test domain. No existing coordinator
1085
+ * configuration for the origin may exist.
1086
+ */
1087
+ addPrivacySandboxCoordinatorKeyConfig(params: Protocol.Browser.AddPrivacySandboxCoordinatorKeyConfigRequest): Promise<{id: number, result: void, sessionId: string}>;
1088
+
1081
1089
  /**
1082
1090
  * Fired when page is about to start a download.
1083
1091
  */
@@ -4228,7 +4228,7 @@ export namespace Protocol {
4228
4228
  windowState?: WindowState;
4229
4229
  }
4230
4230
 
4231
- export type PermissionType = ('ar' | 'audioCapture' | 'automaticFullscreen' | 'backgroundFetch' | 'backgroundSync' | 'cameraPanTiltZoom' | 'capturedSurfaceControl' | 'clipboardReadWrite' | 'clipboardSanitizedWrite' | 'displayCapture' | 'durableStorage' | 'geolocation' | 'handTracking' | 'idleDetection' | 'keyboardLock' | 'localFonts' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'paymentHandler' | 'periodicBackgroundSync' | 'pointerLock' | 'protectedMediaIdentifier' | 'sensors' | 'smartCard' | 'speakerSelection' | 'storageAccess' | 'topLevelStorageAccess' | 'videoCapture' | 'vr' | 'wakeLockScreen' | 'wakeLockSystem' | 'webAppInstallation' | 'webPrinting' | 'windowManagement');
4231
+ export type PermissionType = ('ar' | 'audioCapture' | 'automaticFullscreen' | 'backgroundFetch' | 'backgroundSync' | 'cameraPanTiltZoom' | 'capturedSurfaceControl' | 'clipboardReadWrite' | 'clipboardSanitizedWrite' | 'displayCapture' | 'durableStorage' | 'geolocation' | 'handTracking' | 'idleDetection' | 'keyboardLock' | 'localFonts' | 'localNetworkAccess' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'paymentHandler' | 'periodicBackgroundSync' | 'pointerLock' | 'protectedMediaIdentifier' | 'sensors' | 'smartCard' | 'speakerSelection' | 'storageAccess' | 'topLevelStorageAccess' | 'videoCapture' | 'vr' | 'wakeLockScreen' | 'wakeLockSystem' | 'webAppInstallation' | 'webPrinting' | 'windowManagement');
4232
4232
 
4233
4233
  export type PermissionSetting = ('granted' | 'denied' | 'prompt');
4234
4234
 
@@ -4310,6 +4310,8 @@ export namespace Protocol {
4310
4310
  buckets: Bucket[];
4311
4311
  }
4312
4312
 
4313
+ export type PrivacySandboxAPI = ('BiddingAndAuctionServices' | 'TrustedKeyValue');
4314
+
4313
4315
  export interface SetPermissionRequest {
4314
4316
  /**
4315
4317
  * Descriptor of permission to override.
@@ -4518,6 +4520,17 @@ export namespace Protocol {
4518
4520
  url: string;
4519
4521
  }
4520
4522
 
4523
+ export interface AddPrivacySandboxCoordinatorKeyConfigRequest {
4524
+ api: PrivacySandboxAPI;
4525
+ coordinatorOrigin: string;
4526
+ keyConfig: string;
4527
+ /**
4528
+ * BrowserContext to perform the action in. When omitted, default browser
4529
+ * context is used.
4530
+ */
4531
+ browserContextId?: BrowserContextID;
4532
+ }
4533
+
4521
4534
  /**
4522
4535
  * Fired when page is about to start a download.
4523
4536
  */
@@ -11656,7 +11669,7 @@ export namespace Protocol {
11656
11669
  dnsQueryType?: DirectSocketDnsQueryType;
11657
11670
  }
11658
11671
 
11659
- export type PrivateNetworkRequestPolicy = ('Allow' | 'BlockFromInsecureToMorePrivate' | 'WarnFromInsecureToMorePrivate' | 'PreflightBlock' | 'PreflightWarn' | 'PermissionBlock');
11672
+ export type PrivateNetworkRequestPolicy = ('Allow' | 'BlockFromInsecureToMorePrivate' | 'WarnFromInsecureToMorePrivate' | 'PreflightBlock' | 'PreflightWarn' | 'PermissionBlock' | 'PermissionWarn');
11660
11673
 
11661
11674
  export type IPAddressSpace = ('Local' | 'Private' | 'Public' | 'Unknown');
11662
11675
 
@@ -15276,6 +15289,12 @@ export namespace Protocol {
15276
15289
 
15277
15290
  export interface SetInterceptFileChooserDialogRequest {
15278
15291
  enabled: boolean;
15292
+ /**
15293
+ * If true, cancels the dialog by emitting relevant events (if any)
15294
+ * in addition to not showing it if the interception is enabled
15295
+ * (default: false).
15296
+ */
15297
+ cancel?: boolean;
15279
15298
  }
15280
15299
 
15281
15300
  export interface SetPrerenderingAllowedRequest {