devtools-protocol 0.0.963409 → 0.0.964462
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.
- package/json/browser_protocol.json +46 -2
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +34 -0
- package/types/protocol.d.ts +16 -3
|
@@ -1591,6 +1591,42 @@
|
|
|
1591
1591
|
"MetaTagModifiedHTML"
|
|
1592
1592
|
]
|
|
1593
1593
|
},
|
|
1594
|
+
{
|
|
1595
|
+
"id": "FederatedAuthRequestIssueDetails",
|
|
1596
|
+
"type": "object",
|
|
1597
|
+
"properties": [
|
|
1598
|
+
{
|
|
1599
|
+
"name": "federatedAuthRequestIssueReason",
|
|
1600
|
+
"$ref": "FederatedAuthRequestIssueReason"
|
|
1601
|
+
}
|
|
1602
|
+
]
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
"id": "FederatedAuthRequestIssueReason",
|
|
1606
|
+
"description": "Represents the failure reason when a federated authentication reason fails.\nShould be updated alongside RequestIdTokenStatus in\nthird_party/blink/public/mojom/webid/federated_auth_request.mojom to include\nall cases except for success.",
|
|
1607
|
+
"type": "string",
|
|
1608
|
+
"enum": [
|
|
1609
|
+
"ApprovalDeclined",
|
|
1610
|
+
"TooManyRequests",
|
|
1611
|
+
"WellKnownHttpNotFound",
|
|
1612
|
+
"WellKnownNoResponse",
|
|
1613
|
+
"WellKnownInvalidResponse",
|
|
1614
|
+
"ClientIdMetadataHttpNotFound",
|
|
1615
|
+
"ClientIdMetadataNoResponse",
|
|
1616
|
+
"ClientIdMetadataInvalidResponse",
|
|
1617
|
+
"ErrorFetchingSignin",
|
|
1618
|
+
"InvalidSigninResponse",
|
|
1619
|
+
"AccountsHttpNotFound",
|
|
1620
|
+
"AccountsNoResponse",
|
|
1621
|
+
"AccountsInvalidResponse",
|
|
1622
|
+
"IdTokenHttpNotFound",
|
|
1623
|
+
"IdTokenNoResponse",
|
|
1624
|
+
"IdTokenInvalidResponse",
|
|
1625
|
+
"IdTokenInvalidRequest",
|
|
1626
|
+
"ErrorIdToken",
|
|
1627
|
+
"Canceled"
|
|
1628
|
+
]
|
|
1629
|
+
},
|
|
1594
1630
|
{
|
|
1595
1631
|
"id": "ClientHintIssueDetails",
|
|
1596
1632
|
"description": "This issue tracks client hints related issues. It's used to deprecate old\nfeatures, encourage the use of new ones, and provide general guidance.",
|
|
@@ -1625,7 +1661,8 @@
|
|
|
1625
1661
|
"NavigatorUserAgentIssue",
|
|
1626
1662
|
"GenericIssue",
|
|
1627
1663
|
"DeprecationIssue",
|
|
1628
|
-
"ClientHintIssue"
|
|
1664
|
+
"ClientHintIssue",
|
|
1665
|
+
"FederatedAuthRequestIssue"
|
|
1629
1666
|
]
|
|
1630
1667
|
},
|
|
1631
1668
|
{
|
|
@@ -1707,6 +1744,11 @@
|
|
|
1707
1744
|
"name": "clientHintIssueDetails",
|
|
1708
1745
|
"optional": true,
|
|
1709
1746
|
"$ref": "ClientHintIssueDetails"
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
"name": "federatedAuthRequestIssueDetails",
|
|
1750
|
+
"optional": true,
|
|
1751
|
+
"$ref": "FederatedAuthRequestIssueDetails"
|
|
1710
1752
|
}
|
|
1711
1753
|
]
|
|
1712
1754
|
},
|
|
@@ -11770,7 +11812,8 @@
|
|
|
11770
11812
|
"SameOrigin",
|
|
11771
11813
|
"SameOriginAllowPopups",
|
|
11772
11814
|
"UnsafeNone",
|
|
11773
|
-
"SameOriginPlusCoep"
|
|
11815
|
+
"SameOriginPlusCoep",
|
|
11816
|
+
"SameOriginAllowPopupsPlusCoep"
|
|
11774
11817
|
]
|
|
11775
11818
|
},
|
|
11776
11819
|
{
|
|
@@ -14718,6 +14761,7 @@
|
|
|
14718
14761
|
"ch-ua-platform",
|
|
14719
14762
|
"ch-ua-model",
|
|
14720
14763
|
"ch-ua-mobile",
|
|
14764
|
+
"ch-ua-full",
|
|
14721
14765
|
"ch-ua-full-version",
|
|
14722
14766
|
"ch-ua-full-version-list",
|
|
14723
14767
|
"ch-ua-platform-version",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -773,6 +773,36 @@ experimental domain Audits
|
|
|
773
773
|
# are respected. Any injected via javascript (or other means) are ignored.
|
|
774
774
|
MetaTagModifiedHTML
|
|
775
775
|
|
|
776
|
+
type FederatedAuthRequestIssueDetails extends object
|
|
777
|
+
properties
|
|
778
|
+
FederatedAuthRequestIssueReason federatedAuthRequestIssueReason
|
|
779
|
+
|
|
780
|
+
# Represents the failure reason when a federated authentication reason fails.
|
|
781
|
+
# Should be updated alongside RequestIdTokenStatus in
|
|
782
|
+
# third_party/blink/public/mojom/webid/federated_auth_request.mojom to include
|
|
783
|
+
# all cases except for success.
|
|
784
|
+
type FederatedAuthRequestIssueReason extends string
|
|
785
|
+
enum
|
|
786
|
+
ApprovalDeclined
|
|
787
|
+
TooManyRequests
|
|
788
|
+
WellKnownHttpNotFound
|
|
789
|
+
WellKnownNoResponse
|
|
790
|
+
WellKnownInvalidResponse
|
|
791
|
+
ClientIdMetadataHttpNotFound
|
|
792
|
+
ClientIdMetadataNoResponse
|
|
793
|
+
ClientIdMetadataInvalidResponse
|
|
794
|
+
ErrorFetchingSignin
|
|
795
|
+
InvalidSigninResponse
|
|
796
|
+
AccountsHttpNotFound
|
|
797
|
+
AccountsNoResponse
|
|
798
|
+
AccountsInvalidResponse
|
|
799
|
+
IdTokenHttpNotFound
|
|
800
|
+
IdTokenNoResponse
|
|
801
|
+
IdTokenInvalidResponse
|
|
802
|
+
IdTokenInvalidRequest
|
|
803
|
+
ErrorIdToken
|
|
804
|
+
Canceled
|
|
805
|
+
|
|
776
806
|
# This issue tracks client hints related issues. It's used to deprecate old
|
|
777
807
|
# features, encourage the use of new ones, and provide general guidance.
|
|
778
808
|
type ClientHintIssueDetails extends object
|
|
@@ -800,6 +830,7 @@ experimental domain Audits
|
|
|
800
830
|
GenericIssue
|
|
801
831
|
DeprecationIssue
|
|
802
832
|
ClientHintIssue
|
|
833
|
+
FederatedAuthRequestIssue
|
|
803
834
|
|
|
804
835
|
# This struct holds a list of optional fields with additional information
|
|
805
836
|
# specific to the kind of issue. When adding a new issue code, please also
|
|
@@ -821,6 +852,7 @@ experimental domain Audits
|
|
|
821
852
|
optional GenericIssueDetails genericIssueDetails
|
|
822
853
|
optional DeprecationIssueDetails deprecationIssueDetails
|
|
823
854
|
optional ClientHintIssueDetails clientHintIssueDetails
|
|
855
|
+
optional FederatedAuthRequestIssueDetails federatedAuthRequestIssueDetails
|
|
824
856
|
|
|
825
857
|
# A unique id for a DevTools inspector issue. Allows other entities (e.g.
|
|
826
858
|
# exceptions, CDP message, console messages, etc.) to reference an issue.
|
|
@@ -6154,6 +6186,7 @@ domain Network
|
|
|
6154
6186
|
SameOriginAllowPopups
|
|
6155
6187
|
UnsafeNone
|
|
6156
6188
|
SameOriginPlusCoep
|
|
6189
|
+
SameOriginAllowPopupsPlusCoep
|
|
6157
6190
|
|
|
6158
6191
|
experimental type CrossOriginOpenerPolicyStatus extends object
|
|
6159
6192
|
properties
|
|
@@ -6843,6 +6876,7 @@ domain Page
|
|
|
6843
6876
|
ch-ua-platform
|
|
6844
6877
|
ch-ua-model
|
|
6845
6878
|
ch-ua-mobile
|
|
6879
|
+
ch-ua-full
|
|
6846
6880
|
ch-ua-full-version
|
|
6847
6881
|
ch-ua-full-version-list
|
|
6848
6882
|
ch-ua-platform-version
|
package/types/protocol.d.ts
CHANGED
|
@@ -3332,6 +3332,18 @@ export namespace Protocol {
|
|
|
3332
3332
|
|
|
3333
3333
|
export type ClientHintIssueReason = ('MetaTagAllowListInvalidOrigin' | 'MetaTagModifiedHTML');
|
|
3334
3334
|
|
|
3335
|
+
export interface FederatedAuthRequestIssueDetails {
|
|
3336
|
+
federatedAuthRequestIssueReason: FederatedAuthRequestIssueReason;
|
|
3337
|
+
}
|
|
3338
|
+
|
|
3339
|
+
/**
|
|
3340
|
+
* Represents the failure reason when a federated authentication reason fails.
|
|
3341
|
+
* Should be updated alongside RequestIdTokenStatus in
|
|
3342
|
+
* third_party/blink/public/mojom/webid/federated_auth_request.mojom to include
|
|
3343
|
+
* all cases except for success.
|
|
3344
|
+
*/
|
|
3345
|
+
export type FederatedAuthRequestIssueReason = ('ApprovalDeclined' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'ClientIdMetadataHttpNotFound' | 'ClientIdMetadataNoResponse' | 'ClientIdMetadataInvalidResponse' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenInvalidRequest' | 'ErrorIdToken' | 'Canceled');
|
|
3346
|
+
|
|
3335
3347
|
/**
|
|
3336
3348
|
* This issue tracks client hints related issues. It's used to deprecate old
|
|
3337
3349
|
* features, encourage the use of new ones, and provide general guidance.
|
|
@@ -3346,7 +3358,7 @@ export namespace Protocol {
|
|
|
3346
3358
|
* optional fields in InspectorIssueDetails to convey more specific
|
|
3347
3359
|
* information about the kind of issue.
|
|
3348
3360
|
*/
|
|
3349
|
-
export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue');
|
|
3361
|
+
export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue');
|
|
3350
3362
|
|
|
3351
3363
|
/**
|
|
3352
3364
|
* This struct holds a list of optional fields with additional information
|
|
@@ -3369,6 +3381,7 @@ export namespace Protocol {
|
|
|
3369
3381
|
genericIssueDetails?: GenericIssueDetails;
|
|
3370
3382
|
deprecationIssueDetails?: DeprecationIssueDetails;
|
|
3371
3383
|
clientHintIssueDetails?: ClientHintIssueDetails;
|
|
3384
|
+
federatedAuthRequestIssueDetails?: FederatedAuthRequestIssueDetails;
|
|
3372
3385
|
}
|
|
3373
3386
|
|
|
3374
3387
|
/**
|
|
@@ -9926,7 +9939,7 @@ export namespace Protocol {
|
|
|
9926
9939
|
privateNetworkRequestPolicy: PrivateNetworkRequestPolicy;
|
|
9927
9940
|
}
|
|
9928
9941
|
|
|
9929
|
-
export type CrossOriginOpenerPolicyValue = ('SameOrigin' | 'SameOriginAllowPopups' | 'UnsafeNone' | 'SameOriginPlusCoep');
|
|
9942
|
+
export type CrossOriginOpenerPolicyValue = ('SameOrigin' | 'SameOriginAllowPopups' | 'UnsafeNone' | 'SameOriginPlusCoep' | 'SameOriginAllowPopupsPlusCoep');
|
|
9930
9943
|
|
|
9931
9944
|
export interface CrossOriginOpenerPolicyStatus {
|
|
9932
9945
|
value: CrossOriginOpenerPolicyValue;
|
|
@@ -11889,7 +11902,7 @@ export namespace Protocol {
|
|
|
11889
11902
|
* All Permissions Policy features. This enum should match the one defined
|
|
11890
11903
|
* in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
|
11891
11904
|
*/
|
|
11892
|
-
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-full-version-list' | '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');
|
|
11905
|
+
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' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | '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');
|
|
11893
11906
|
|
|
11894
11907
|
/**
|
|
11895
11908
|
* Reason for a permissions policy feature to be disabled.
|