devtools-protocol 0.0.1302401 → 0.0.1304228

Sign up to get free protection for your applications and to get access to all the features.
@@ -1769,7 +1769,8 @@
1769
1769
  "ThirdPartyCookiesBlocked",
1770
1770
  "NotSignedInWithIdp",
1771
1771
  "MissingTransientUserActivation",
1772
- "ReplacedByButtonMode"
1772
+ "ReplacedByButtonMode",
1773
+ "RelyingPartyOriginIsOpaque"
1773
1774
  ]
1774
1775
  },
1775
1776
  {
@@ -18893,6 +18894,13 @@
18893
18894
  "description": "If set, the script will be injected into all frames of the inspected page after reload.\nArgument will be ignored if reloading dataURL origin.",
18894
18895
  "optional": true,
18895
18896
  "type": "string"
18897
+ },
18898
+ {
18899
+ "name": "loaderId",
18900
+ "description": "If set, an error will be thrown if the target page's main frame's\nloader id does not match the provided id. This prevents accidentally\nreloading an unintended target in case there's a racing navigation.",
18901
+ "experimental": true,
18902
+ "optional": true,
18903
+ "$ref": "Network.LoaderId"
18896
18904
  }
18897
18905
  ]
18898
18906
  },
@@ -2675,11 +2675,6 @@
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
- },
2683
2678
  {
2684
2679
  "id": "ExecutionContextDescription",
2685
2680
  "description": "Description of an isolated world.",
@@ -2704,7 +2699,7 @@
2704
2699
  "name": "uniqueId",
2705
2700
  "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.",
2706
2701
  "experimental": true,
2707
- "$ref": "ExecutionContextUniqueId"
2702
+ "type": "string"
2708
2703
  },
2709
2704
  {
2710
2705
  "name": "auxData",
@@ -3478,7 +3473,7 @@
3478
3473
  },
3479
3474
  {
3480
3475
  "name": "executionContextId",
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.",
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.",
3482
3477
  "experimental": true,
3483
3478
  "deprecated": true,
3484
3479
  "optional": true,
@@ -3486,16 +3481,9 @@
3486
3481
  },
3487
3482
  {
3488
3483
  "name": "executionContextName",
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`.",
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`.",
3490
3485
  "optional": true,
3491
3486
  "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"
3499
3487
  }
3500
3488
  ]
3501
3489
  },
@@ -3547,11 +3535,6 @@
3547
3535
  "name": "executionContextId",
3548
3536
  "description": "Identifier of the context where the call was made.",
3549
3537
  "$ref": "ExecutionContextId"
3550
- },
3551
- {
3552
- "name": "executionContextUniqueId",
3553
- "experimental": true,
3554
- "$ref": "ExecutionContextUniqueId"
3555
3538
  }
3556
3539
  ]
3557
3540
  },
@@ -3597,11 +3580,6 @@
3597
3580
  "description": "Identifier of the context where the call was made.",
3598
3581
  "$ref": "ExecutionContextId"
3599
3582
  },
3600
- {
3601
- "name": "executionContextUniqueId",
3602
- "experimental": true,
3603
- "$ref": "ExecutionContextUniqueId"
3604
- },
3605
3583
  {
3606
3584
  "name": "timestamp",
3607
3585
  "description": "Call timestamp.",
@@ -3678,7 +3656,7 @@
3678
3656
  "name": "executionContextUniqueId",
3679
3657
  "description": "Unique Id of the destroyed context",
3680
3658
  "experimental": true,
3681
- "$ref": "ExecutionContextUniqueId"
3659
+ "type": "string"
3682
3660
  }
3683
3661
  ]
3684
3662
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1302401",
3
+ "version": "0.0.1304228",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -911,6 +911,7 @@ experimental domain Audits
911
911
  NotSignedInWithIdp
912
912
  MissingTransientUserActivation
913
913
  ReplacedByButtonMode
914
+ RelyingPartyOriginIsOpaque
914
915
 
915
916
  type FederatedAuthUserInfoRequestIssueDetails extends object
916
917
  properties
@@ -8710,6 +8711,10 @@ domain Page
8710
8711
  # If set, the script will be injected into all frames of the inspected page after reload.
8711
8712
  # Argument will be ignored if reloading dataURL origin.
8712
8713
  optional string scriptToEvaluateOnLoad
8714
+ # If set, an error will be thrown if the target page's main frame's
8715
+ # loader id does not match the provided id. This prevents accidentally
8716
+ # reloading an unintended target in case there's a racing navigation.
8717
+ experimental optional Network.LoaderId loaderId
8713
8718
 
8714
8719
  # Deprecated, please use removeScriptToEvaluateOnNewDocument instead.
8715
8720
  experimental deprecated command removeScriptToEvaluateOnLoad
@@ -1297,10 +1297,6 @@ 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
-
1304
1300
  # Description of an isolated world.
1305
1301
  type ExecutionContextDescription extends object
1306
1302
  properties
@@ -1314,7 +1310,7 @@ domain Runtime
1314
1310
  # A system-unique execution context identifier. Unlike the id, this is unique across
1315
1311
  # multiple processes, so can be reliably used to identify specific context while backend
1316
1312
  # performs a cross-process navigation.
1317
- experimental ExecutionContextUniqueId uniqueId
1313
+ experimental string uniqueId
1318
1314
  # Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string}
1319
1315
  optional object auxData
1320
1316
 
@@ -1675,8 +1671,7 @@ domain Runtime
1675
1671
  # If specified, the binding would only be exposed to the specified
1676
1672
  # execution context. If omitted and `executionContextName` is not set,
1677
1673
  # the binding is exposed to all execution contexts of the target.
1678
- # This parameter is mutually exclusive with `executionContextName`
1679
- # and `executionContextUniqueId`.
1674
+ # This parameter is mutually exclusive with `executionContextName`.
1680
1675
  # Deprecated in favor of `executionContextName` due to an unclear use case
1681
1676
  # and bugs in implementation (crbug.com/1169639). `executionContextId` will be
1682
1677
  # removed in the future.
@@ -1685,12 +1680,8 @@ domain Runtime
1685
1680
  # matching name, even for contexts created after the binding is added.
1686
1681
  # See also `ExecutionContext.name` and `worldName` parameter to
1687
1682
  # `Page.addScriptToEvaluateOnNewDocument`.
1688
- # This parameter is mutually exclusive with `executionContextId`
1689
- # and `executionContextUniqueId`.
1683
+ # This parameter is mutually exclusive with `executionContextId`.
1690
1684
  optional string executionContextName
1691
- # This parameter is mutually exclusive with `executionContextId`
1692
- # and `executionContextName`.
1693
- experimental optional ExecutionContextUniqueId executionContextUniqueId
1694
1685
 
1695
1686
  # This method does not remove binding function from global object but
1696
1687
  # unsubscribes current runtime agent from Runtime.bindingCalled notifications.
@@ -1717,7 +1708,6 @@ domain Runtime
1717
1708
  string payload
1718
1709
  # Identifier of the context where the call was made.
1719
1710
  ExecutionContextId executionContextId
1720
- experimental ExecutionContextUniqueId executionContextUniqueId
1721
1711
 
1722
1712
  # Issued when console API was called.
1723
1713
  event consoleAPICalled
@@ -1746,7 +1736,6 @@ domain Runtime
1746
1736
  array of RemoteObject args
1747
1737
  # Identifier of the context where the call was made.
1748
1738
  ExecutionContextId executionContextId
1749
- experimental ExecutionContextUniqueId executionContextUniqueId
1750
1739
  # Call timestamp.
1751
1740
  Timestamp timestamp
1752
1741
  # Stack trace captured when the call was made. The async stack chain is automatically reported for
@@ -1785,7 +1774,7 @@ domain Runtime
1785
1774
  # Id of the destroyed context
1786
1775
  deprecated ExecutionContextId executionContextId
1787
1776
  # Unique Id of the destroyed context
1788
- experimental ExecutionContextUniqueId executionContextUniqueId
1777
+ experimental string executionContextUniqueId
1789
1778
 
1790
1779
  # Issued when all executionContexts were cleared in browser
1791
1780
  event executionContextsCleared
@@ -1908,12 +1908,6 @@ 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
-
1917
1911
  /**
1918
1912
  * Description of an isolated world.
1919
1913
  */
@@ -1936,7 +1930,7 @@ export namespace Protocol {
1936
1930
  * multiple processes, so can be reliably used to identify specific context while backend
1937
1931
  * performs a cross-process navigation.
1938
1932
  */
1939
- uniqueId: ExecutionContextUniqueId;
1933
+ uniqueId: string;
1940
1934
  /**
1941
1935
  * Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string}
1942
1936
  */
@@ -2473,8 +2467,7 @@ export namespace Protocol {
2473
2467
  * If specified, the binding would only be exposed to the specified
2474
2468
  * execution context. If omitted and `executionContextName` is not set,
2475
2469
  * the binding is exposed to all execution contexts of the target.
2476
- * This parameter is mutually exclusive with `executionContextName`
2477
- * and `executionContextUniqueId`.
2470
+ * This parameter is mutually exclusive with `executionContextName`.
2478
2471
  * Deprecated in favor of `executionContextName` due to an unclear use case
2479
2472
  * and bugs in implementation (crbug.com/1169639). `executionContextId` will be
2480
2473
  * removed in the future.
@@ -2485,15 +2478,9 @@ export namespace Protocol {
2485
2478
  * matching name, even for contexts created after the binding is added.
2486
2479
  * See also `ExecutionContext.name` and `worldName` parameter to
2487
2480
  * `Page.addScriptToEvaluateOnNewDocument`.
2488
- * This parameter is mutually exclusive with `executionContextId`
2489
- * and `executionContextUniqueId`.
2481
+ * This parameter is mutually exclusive with `executionContextId`.
2490
2482
  */
2491
2483
  executionContextName?: string;
2492
- /**
2493
- * This parameter is mutually exclusive with `executionContextId`
2494
- * and `executionContextName`.
2495
- */
2496
- executionContextUniqueId?: ExecutionContextUniqueId;
2497
2484
  }
2498
2485
 
2499
2486
  export interface RemoveBindingRequest {
@@ -2521,7 +2508,6 @@ export namespace Protocol {
2521
2508
  * Identifier of the context where the call was made.
2522
2509
  */
2523
2510
  executionContextId: ExecutionContextId;
2524
- executionContextUniqueId: ExecutionContextUniqueId;
2525
2511
  }
2526
2512
 
2527
2513
  export const enum ConsoleAPICalledEventType {
@@ -2561,7 +2547,6 @@ export namespace Protocol {
2561
2547
  * Identifier of the context where the call was made.
2562
2548
  */
2563
2549
  executionContextId: ExecutionContextId;
2564
- executionContextUniqueId: ExecutionContextUniqueId;
2565
2550
  /**
2566
2551
  * Call timestamp.
2567
2552
  */
@@ -2626,7 +2611,7 @@ export namespace Protocol {
2626
2611
  /**
2627
2612
  * Unique Id of the destroyed context
2628
2613
  */
2629
- executionContextUniqueId: ExecutionContextUniqueId;
2614
+ executionContextUniqueId: string;
2630
2615
  }
2631
2616
 
2632
2617
  /**
@@ -3593,7 +3578,7 @@ export namespace Protocol {
3593
3578
  * third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
3594
3579
  * all cases except for success.
3595
3580
  */
3596
- export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'DisabledInSettings' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp' | 'MissingTransientUserActivation' | 'ReplacedByButtonMode');
3581
+ export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'DisabledInSettings' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp' | 'MissingTransientUserActivation' | 'ReplacedByButtonMode' | 'RelyingPartyOriginIsOpaque');
3597
3582
 
3598
3583
  export interface FederatedAuthUserInfoRequestIssueDetails {
3599
3584
  federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
@@ -14334,6 +14319,12 @@ export namespace Protocol {
14334
14319
  * Argument will be ignored if reloading dataURL origin.
14335
14320
  */
14336
14321
  scriptToEvaluateOnLoad?: string;
14322
+ /**
14323
+ * If set, an error will be thrown if the target page's main frame's
14324
+ * loader id does not match the provided id. This prevents accidentally
14325
+ * reloading an unintended target in case there's a racing navigation.
14326
+ */
14327
+ loaderId?: Network.LoaderId;
14337
14328
  }
14338
14329
 
14339
14330
  export interface RemoveScriptToEvaluateOnLoadRequest {