devtools-protocol 0.0.1301093 → 0.0.1302401

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.
@@ -1696,6 +1696,14 @@
1696
1696
  "items": {
1697
1697
  "type": "string"
1698
1698
  }
1699
+ },
1700
+ {
1701
+ "name": "optOutPercentage",
1702
+ "type": "number"
1703
+ },
1704
+ {
1705
+ "name": "isOptOutTopLevel",
1706
+ "type": "boolean"
1699
1707
  }
1700
1708
  ]
1701
1709
  },
@@ -13070,7 +13078,8 @@
13070
13078
  "EnterprisePolicy",
13071
13079
  "StorageAccess",
13072
13080
  "TopLevelStorageAccess",
13073
- "CorsOptIn"
13081
+ "CorsOptIn",
13082
+ "Scheme"
13074
13083
  ]
13075
13084
  },
13076
13085
  {
@@ -2675,6 +2675,11 @@
2675
2675
  "description": "Id of an execution context.",
2676
2676
  "type": "integer"
2677
2677
  },
2678
+ {
2679
+ "id": "ExecutionContextUniqueId",
2680
+ "description": "Id of an execution context that is unique across processes\n(unlike ExecutionContextId).",
2681
+ "type": "string"
2682
+ },
2678
2683
  {
2679
2684
  "id": "ExecutionContextDescription",
2680
2685
  "description": "Description of an isolated world.",
@@ -2699,7 +2704,7 @@
2699
2704
  "name": "uniqueId",
2700
2705
  "description": "A system-unique execution context identifier. Unlike the id, this is unique across\nmultiple processes, so can be reliably used to identify specific context while backend\nperforms a cross-process navigation.",
2701
2706
  "experimental": true,
2702
- "type": "string"
2707
+ "$ref": "ExecutionContextUniqueId"
2703
2708
  },
2704
2709
  {
2705
2710
  "name": "auxData",
@@ -3473,7 +3478,7 @@
3473
3478
  },
3474
3479
  {
3475
3480
  "name": "executionContextId",
3476
- "description": "If specified, the binding would only be exposed to the specified\nexecution context. If omitted and `executionContextName` is not set,\nthe binding is exposed to all execution contexts of the target.\nThis parameter is mutually exclusive with `executionContextName`.\nDeprecated in favor of `executionContextName` due to an unclear use case\nand bugs in implementation (crbug.com/1169639). `executionContextId` will be\nremoved in the future.",
3481
+ "description": "If specified, the binding would only be exposed to the specified\nexecution context. If omitted and `executionContextName` is not set,\nthe binding is exposed to all execution contexts of the target.\nThis parameter is mutually exclusive with `executionContextName`\nand `executionContextUniqueId`.\nDeprecated in favor of `executionContextName` due to an unclear use case\nand bugs in implementation (crbug.com/1169639). `executionContextId` will be\nremoved in the future.",
3477
3482
  "experimental": true,
3478
3483
  "deprecated": true,
3479
3484
  "optional": true,
@@ -3481,9 +3486,16 @@
3481
3486
  },
3482
3487
  {
3483
3488
  "name": "executionContextName",
3484
- "description": "If specified, the binding is exposed to the executionContext with\nmatching name, even for contexts created after the binding is added.\nSee also `ExecutionContext.name` and `worldName` parameter to\n`Page.addScriptToEvaluateOnNewDocument`.\nThis parameter is mutually exclusive with `executionContextId`.",
3489
+ "description": "If specified, the binding is exposed to the executionContext with\nmatching name, even for contexts created after the binding is added.\nSee also `ExecutionContext.name` and `worldName` parameter to\n`Page.addScriptToEvaluateOnNewDocument`.\nThis parameter is mutually exclusive with `executionContextId`\nand `executionContextUniqueId`.",
3485
3490
  "optional": true,
3486
3491
  "type": "string"
3492
+ },
3493
+ {
3494
+ "name": "executionContextUniqueId",
3495
+ "description": "This parameter is mutually exclusive with `executionContextId`\nand `executionContextName`.",
3496
+ "experimental": true,
3497
+ "optional": true,
3498
+ "$ref": "ExecutionContextUniqueId"
3487
3499
  }
3488
3500
  ]
3489
3501
  },
@@ -3535,6 +3547,11 @@
3535
3547
  "name": "executionContextId",
3536
3548
  "description": "Identifier of the context where the call was made.",
3537
3549
  "$ref": "ExecutionContextId"
3550
+ },
3551
+ {
3552
+ "name": "executionContextUniqueId",
3553
+ "experimental": true,
3554
+ "$ref": "ExecutionContextUniqueId"
3538
3555
  }
3539
3556
  ]
3540
3557
  },
@@ -3580,6 +3597,11 @@
3580
3597
  "description": "Identifier of the context where the call was made.",
3581
3598
  "$ref": "ExecutionContextId"
3582
3599
  },
3600
+ {
3601
+ "name": "executionContextUniqueId",
3602
+ "experimental": true,
3603
+ "$ref": "ExecutionContextUniqueId"
3604
+ },
3583
3605
  {
3584
3606
  "name": "timestamp",
3585
3607
  "description": "Call timestamp.",
@@ -3656,7 +3678,7 @@
3656
3678
  "name": "executionContextUniqueId",
3657
3679
  "description": "Unique Id of the destroyed context",
3658
3680
  "experimental": true,
3659
- "type": "string"
3681
+ "$ref": "ExecutionContextUniqueId"
3660
3682
  }
3661
3683
  ]
3662
3684
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1301093",
3
+ "version": "0.0.1302401",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -849,6 +849,8 @@ experimental domain Audits
849
849
  type CookieDeprecationMetadataIssueDetails extends object
850
850
  properties
851
851
  array of string allowedSites
852
+ number optOutPercentage
853
+ boolean isOptOutTopLevel
852
854
 
853
855
  type ClientHintIssueReason extends string
854
856
  enum
@@ -6183,6 +6185,8 @@ domain Network
6183
6185
  TopLevelStorageAccess
6184
6186
  # The cookie should have been blocked by 3PCD but is exempted by CORS opt-in.
6185
6187
  CorsOptIn
6188
+ # The cookie should have been blocked by 3PCD but is exempted by the first-party URL scheme.
6189
+ Scheme
6186
6190
 
6187
6191
  # A cookie which was not stored from a response with the corresponding reason.
6188
6192
  experimental type BlockedSetCookieWithReason extends object
@@ -1297,6 +1297,10 @@ domain Runtime
1297
1297
  # Id of an execution context.
1298
1298
  type ExecutionContextId extends integer
1299
1299
 
1300
+ # Id of an execution context that is unique across processes
1301
+ # (unlike ExecutionContextId).
1302
+ type ExecutionContextUniqueId extends string
1303
+
1300
1304
  # Description of an isolated world.
1301
1305
  type ExecutionContextDescription extends object
1302
1306
  properties
@@ -1310,7 +1314,7 @@ domain Runtime
1310
1314
  # A system-unique execution context identifier. Unlike the id, this is unique across
1311
1315
  # multiple processes, so can be reliably used to identify specific context while backend
1312
1316
  # performs a cross-process navigation.
1313
- experimental string uniqueId
1317
+ experimental ExecutionContextUniqueId uniqueId
1314
1318
  # Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string}
1315
1319
  optional object auxData
1316
1320
 
@@ -1671,7 +1675,8 @@ domain Runtime
1671
1675
  # If specified, the binding would only be exposed to the specified
1672
1676
  # execution context. If omitted and `executionContextName` is not set,
1673
1677
  # the binding is exposed to all execution contexts of the target.
1674
- # This parameter is mutually exclusive with `executionContextName`.
1678
+ # This parameter is mutually exclusive with `executionContextName`
1679
+ # and `executionContextUniqueId`.
1675
1680
  # Deprecated in favor of `executionContextName` due to an unclear use case
1676
1681
  # and bugs in implementation (crbug.com/1169639). `executionContextId` will be
1677
1682
  # removed in the future.
@@ -1680,8 +1685,12 @@ domain Runtime
1680
1685
  # matching name, even for contexts created after the binding is added.
1681
1686
  # See also `ExecutionContext.name` and `worldName` parameter to
1682
1687
  # `Page.addScriptToEvaluateOnNewDocument`.
1683
- # This parameter is mutually exclusive with `executionContextId`.
1688
+ # This parameter is mutually exclusive with `executionContextId`
1689
+ # and `executionContextUniqueId`.
1684
1690
  optional string executionContextName
1691
+ # This parameter is mutually exclusive with `executionContextId`
1692
+ # and `executionContextName`.
1693
+ experimental optional ExecutionContextUniqueId executionContextUniqueId
1685
1694
 
1686
1695
  # This method does not remove binding function from global object but
1687
1696
  # unsubscribes current runtime agent from Runtime.bindingCalled notifications.
@@ -1708,6 +1717,7 @@ domain Runtime
1708
1717
  string payload
1709
1718
  # Identifier of the context where the call was made.
1710
1719
  ExecutionContextId executionContextId
1720
+ experimental ExecutionContextUniqueId executionContextUniqueId
1711
1721
 
1712
1722
  # Issued when console API was called.
1713
1723
  event consoleAPICalled
@@ -1736,6 +1746,7 @@ domain Runtime
1736
1746
  array of RemoteObject args
1737
1747
  # Identifier of the context where the call was made.
1738
1748
  ExecutionContextId executionContextId
1749
+ experimental ExecutionContextUniqueId executionContextUniqueId
1739
1750
  # Call timestamp.
1740
1751
  Timestamp timestamp
1741
1752
  # Stack trace captured when the call was made. The async stack chain is automatically reported for
@@ -1774,7 +1785,7 @@ domain Runtime
1774
1785
  # Id of the destroyed context
1775
1786
  deprecated ExecutionContextId executionContextId
1776
1787
  # Unique Id of the destroyed context
1777
- experimental string executionContextUniqueId
1788
+ experimental ExecutionContextUniqueId executionContextUniqueId
1778
1789
 
1779
1790
  # Issued when all executionContexts were cleared in browser
1780
1791
  event executionContextsCleared
@@ -1908,6 +1908,12 @@ export namespace Protocol {
1908
1908
  */
1909
1909
  export type ExecutionContextId = integer;
1910
1910
 
1911
+ /**
1912
+ * Id of an execution context that is unique across processes
1913
+ * (unlike ExecutionContextId).
1914
+ */
1915
+ export type ExecutionContextUniqueId = string;
1916
+
1911
1917
  /**
1912
1918
  * Description of an isolated world.
1913
1919
  */
@@ -1930,7 +1936,7 @@ export namespace Protocol {
1930
1936
  * multiple processes, so can be reliably used to identify specific context while backend
1931
1937
  * performs a cross-process navigation.
1932
1938
  */
1933
- uniqueId: string;
1939
+ uniqueId: ExecutionContextUniqueId;
1934
1940
  /**
1935
1941
  * Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string}
1936
1942
  */
@@ -2467,7 +2473,8 @@ export namespace Protocol {
2467
2473
  * If specified, the binding would only be exposed to the specified
2468
2474
  * execution context. If omitted and `executionContextName` is not set,
2469
2475
  * the binding is exposed to all execution contexts of the target.
2470
- * This parameter is mutually exclusive with `executionContextName`.
2476
+ * This parameter is mutually exclusive with `executionContextName`
2477
+ * and `executionContextUniqueId`.
2471
2478
  * Deprecated in favor of `executionContextName` due to an unclear use case
2472
2479
  * and bugs in implementation (crbug.com/1169639). `executionContextId` will be
2473
2480
  * removed in the future.
@@ -2478,9 +2485,15 @@ export namespace Protocol {
2478
2485
  * matching name, even for contexts created after the binding is added.
2479
2486
  * See also `ExecutionContext.name` and `worldName` parameter to
2480
2487
  * `Page.addScriptToEvaluateOnNewDocument`.
2481
- * This parameter is mutually exclusive with `executionContextId`.
2488
+ * This parameter is mutually exclusive with `executionContextId`
2489
+ * and `executionContextUniqueId`.
2482
2490
  */
2483
2491
  executionContextName?: string;
2492
+ /**
2493
+ * This parameter is mutually exclusive with `executionContextId`
2494
+ * and `executionContextName`.
2495
+ */
2496
+ executionContextUniqueId?: ExecutionContextUniqueId;
2484
2497
  }
2485
2498
 
2486
2499
  export interface RemoveBindingRequest {
@@ -2508,6 +2521,7 @@ export namespace Protocol {
2508
2521
  * Identifier of the context where the call was made.
2509
2522
  */
2510
2523
  executionContextId: ExecutionContextId;
2524
+ executionContextUniqueId: ExecutionContextUniqueId;
2511
2525
  }
2512
2526
 
2513
2527
  export const enum ConsoleAPICalledEventType {
@@ -2547,6 +2561,7 @@ export namespace Protocol {
2547
2561
  * Identifier of the context where the call was made.
2548
2562
  */
2549
2563
  executionContextId: ExecutionContextId;
2564
+ executionContextUniqueId: ExecutionContextUniqueId;
2550
2565
  /**
2551
2566
  * Call timestamp.
2552
2567
  */
@@ -2611,7 +2626,7 @@ export namespace Protocol {
2611
2626
  /**
2612
2627
  * Unique Id of the destroyed context
2613
2628
  */
2614
- executionContextUniqueId: string;
2629
+ executionContextUniqueId: ExecutionContextUniqueId;
2615
2630
  }
2616
2631
 
2617
2632
  /**
@@ -3562,6 +3577,8 @@ export namespace Protocol {
3562
3577
  */
3563
3578
  export interface CookieDeprecationMetadataIssueDetails {
3564
3579
  allowedSites: string[];
3580
+ optOutPercentage: number;
3581
+ isOptOutTopLevel: boolean;
3565
3582
  }
3566
3583
 
3567
3584
  export type ClientHintIssueReason = ('MetaTagAllowListInvalidOrigin' | 'MetaTagModifiedHTML');
@@ -10770,7 +10787,7 @@ export namespace Protocol {
10770
10787
  /**
10771
10788
  * Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
10772
10789
  */
10773
- export type CookieExemptionReason = ('None' | 'UserSetting' | 'TPCDMetadata' | 'TPCDDeprecationTrial' | 'TPCDHeuristics' | 'EnterprisePolicy' | 'StorageAccess' | 'TopLevelStorageAccess' | 'CorsOptIn');
10790
+ export type CookieExemptionReason = ('None' | 'UserSetting' | 'TPCDMetadata' | 'TPCDDeprecationTrial' | 'TPCDHeuristics' | 'EnterprisePolicy' | 'StorageAccess' | 'TopLevelStorageAccess' | 'CorsOptIn' | 'Scheme');
10774
10791
 
10775
10792
  /**
10776
10793
  * A cookie which was not stored from a response with the corresponding reason.