devtools-protocol 0.0.1415363 → 0.0.1418467

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.
@@ -1821,7 +1821,8 @@
1821
1821
  "InvalidFieldsSpecified",
1822
1822
  "RelyingPartyOriginIsOpaque",
1823
1823
  "TypeNotMatching",
1824
- "UiDismissedNoEmbargo"
1824
+ "UiDismissedNoEmbargo",
1825
+ "CorsError"
1825
1826
  ]
1826
1827
  },
1827
1828
  {
@@ -17635,6 +17636,19 @@
17635
17636
  }
17636
17637
  ]
17637
17638
  },
17639
+ {
17640
+ "id": "SecurityOriginDetails",
17641
+ "description": "Additional information about the frame document's security origin.",
17642
+ "experimental": true,
17643
+ "type": "object",
17644
+ "properties": [
17645
+ {
17646
+ "name": "isLocalhost",
17647
+ "description": "Indicates whether the frame document's security origin is one\nof the local hostnames (e.g. \"localhost\") or IP addresses (IPv4\n127.0.0.0/8 or IPv6 ::1).",
17648
+ "type": "boolean"
17649
+ }
17650
+ ]
17651
+ },
17638
17652
  {
17639
17653
  "id": "Frame",
17640
17654
  "description": "Information about the Frame on the page.",
@@ -17685,6 +17699,13 @@
17685
17699
  "description": "Frame document's security origin.",
17686
17700
  "type": "string"
17687
17701
  },
17702
+ {
17703
+ "name": "securityOriginDetails",
17704
+ "description": "Additional details about the frame document's security origin.",
17705
+ "experimental": true,
17706
+ "optional": true,
17707
+ "$ref": "SecurityOriginDetails"
17708
+ },
17688
17709
  {
17689
17710
  "name": "mimeType",
17690
17711
  "description": "Frame document's mimeType as determined by the browser.",
@@ -23947,6 +23968,12 @@
23947
23968
  "description": "Binding name, 'cdp' if not specified.",
23948
23969
  "optional": true,
23949
23970
  "type": "string"
23971
+ },
23972
+ {
23973
+ "name": "inheritPermissions",
23974
+ "description": "If true, inherits the current root session's permissions (default: false).",
23975
+ "optional": true,
23976
+ "type": "boolean"
23950
23977
  }
23951
23978
  ]
23952
23979
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1415363",
3
+ "version": "0.0.1418467",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -950,6 +950,7 @@ experimental domain Audits
950
950
  RelyingPartyOriginIsOpaque
951
951
  TypeNotMatching
952
952
  UiDismissedNoEmbargo
953
+ CorsError
953
954
 
954
955
  type FederatedAuthUserInfoRequestIssueDetails extends object
955
956
  properties
@@ -8362,6 +8363,14 @@ domain Page
8362
8363
  OriginTrialStatus status
8363
8364
  array of OriginTrialTokenWithStatus tokensWithStatus
8364
8365
 
8366
+ # Additional information about the frame document's security origin.
8367
+ experimental type SecurityOriginDetails extends object
8368
+ properties
8369
+ # Indicates whether the frame document's security origin is one
8370
+ # of the local hostnames (e.g. "localhost") or IP addresses (IPv4
8371
+ # 127.0.0.0/8 or IPv6 ::1).
8372
+ boolean isLocalhost
8373
+
8365
8374
  # Information about the Frame on the page.
8366
8375
  type Frame extends object
8367
8376
  properties
@@ -8384,6 +8393,8 @@ domain Page
8384
8393
  experimental string domainAndRegistry
8385
8394
  # Frame document's security origin.
8386
8395
  string securityOrigin
8396
+ # Additional details about the frame document's security origin.
8397
+ experimental optional SecurityOriginDetails securityOriginDetails
8387
8398
  # Frame document's mimeType as determined by the browser.
8388
8399
  string mimeType
8389
8400
  # If the frame failed to load, this contains the URL that could not be loaded. Note that unlike url above, this URL may contain a fragment.
@@ -11283,6 +11294,8 @@ domain Target
11283
11294
  TargetID targetId
11284
11295
  # Binding name, 'cdp' if not specified.
11285
11296
  optional string bindingName
11297
+ # If true, inherits the current root session's permissions (default: false).
11298
+ optional boolean inheritPermissions
11286
11299
 
11287
11300
  # Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than
11288
11301
  # one.
@@ -3643,7 +3643,7 @@ export namespace Protocol {
3643
3643
  * third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
3644
3644
  * all cases except for success.
3645
3645
  */
3646
- export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'IdpNotPotentiallyTrustworthy' | 'DisabledInSettings' | 'DisabledInFlags' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp' | 'MissingTransientUserActivation' | 'ReplacedByActiveMode' | 'InvalidFieldsSpecified' | 'RelyingPartyOriginIsOpaque' | 'TypeNotMatching' | 'UiDismissedNoEmbargo');
3646
+ export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'IdpNotPotentiallyTrustworthy' | 'DisabledInSettings' | 'DisabledInFlags' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp' | 'MissingTransientUserActivation' | 'ReplacedByActiveMode' | 'InvalidFieldsSpecified' | 'RelyingPartyOriginIsOpaque' | 'TypeNotMatching' | 'UiDismissedNoEmbargo' | 'CorsError');
3647
3647
 
3648
3648
  export interface FederatedAuthUserInfoRequestIssueDetails {
3649
3649
  federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
@@ -13661,6 +13661,18 @@ export namespace Protocol {
13661
13661
  tokensWithStatus: OriginTrialTokenWithStatus[];
13662
13662
  }
13663
13663
 
13664
+ /**
13665
+ * Additional information about the frame document's security origin.
13666
+ */
13667
+ export interface SecurityOriginDetails {
13668
+ /**
13669
+ * Indicates whether the frame document's security origin is one
13670
+ * of the local hostnames (e.g. "localhost") or IP addresses (IPv4
13671
+ * 127.0.0.0/8 or IPv6 ::1).
13672
+ */
13673
+ isLocalhost: boolean;
13674
+ }
13675
+
13664
13676
  /**
13665
13677
  * Information about the Frame on the page.
13666
13678
  */
@@ -13700,6 +13712,10 @@ export namespace Protocol {
13700
13712
  * Frame document's security origin.
13701
13713
  */
13702
13714
  securityOrigin: string;
13715
+ /**
13716
+ * Additional details about the frame document's security origin.
13717
+ */
13718
+ securityOriginDetails?: SecurityOriginDetails;
13703
13719
  /**
13704
13720
  * Frame document's mimeType as determined by the browser.
13705
13721
  */
@@ -17252,6 +17268,10 @@ export namespace Protocol {
17252
17268
  * Binding name, 'cdp' if not specified.
17253
17269
  */
17254
17270
  bindingName?: string;
17271
+ /**
17272
+ * If true, inherits the current root session's permissions (default: false).
17273
+ */
17274
+ inheritPermissions?: boolean;
17255
17275
  }
17256
17276
 
17257
17277
  export interface CreateBrowserContextRequest {