devtools-protocol 0.0.1114954 → 0.0.1116775
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.
@@ -1457,7 +1457,12 @@
|
|
1457
1457
|
"TooManyConcurrentRequests",
|
1458
1458
|
"SourceAndTriggerHeaders",
|
1459
1459
|
"SourceIgnored",
|
1460
|
-
"TriggerIgnored"
|
1460
|
+
"TriggerIgnored",
|
1461
|
+
"OsSourceIgnored",
|
1462
|
+
"OsTriggerIgnored",
|
1463
|
+
"InvalidRegisterOsSourceHeader",
|
1464
|
+
"InvalidRegisterOsTriggerHeader",
|
1465
|
+
"WebAndOsHeaders"
|
1461
1466
|
]
|
1462
1467
|
},
|
1463
1468
|
{
|
@@ -23042,9 +23047,83 @@
|
|
23042
23047
|
"domain": "FedCm",
|
23043
23048
|
"description": "This domain allows interacting with the FedCM dialog.",
|
23044
23049
|
"experimental": true,
|
23050
|
+
"types": [
|
23051
|
+
{
|
23052
|
+
"id": "LoginState",
|
23053
|
+
"description": "Whether this is a sign-up or sign-in action for this account, i.e.\nwhether this account has ever been used to sign in to this RP before.",
|
23054
|
+
"type": "string",
|
23055
|
+
"enum": [
|
23056
|
+
"SignIn",
|
23057
|
+
"SignUp"
|
23058
|
+
]
|
23059
|
+
},
|
23060
|
+
{
|
23061
|
+
"id": "Account",
|
23062
|
+
"description": "Corresponds to IdentityRequestAccount",
|
23063
|
+
"type": "object",
|
23064
|
+
"properties": [
|
23065
|
+
{
|
23066
|
+
"name": "accountId",
|
23067
|
+
"type": "string"
|
23068
|
+
},
|
23069
|
+
{
|
23070
|
+
"name": "email",
|
23071
|
+
"type": "string"
|
23072
|
+
},
|
23073
|
+
{
|
23074
|
+
"name": "name",
|
23075
|
+
"type": "string"
|
23076
|
+
},
|
23077
|
+
{
|
23078
|
+
"name": "givenName",
|
23079
|
+
"type": "string"
|
23080
|
+
},
|
23081
|
+
{
|
23082
|
+
"name": "pictureUrl",
|
23083
|
+
"type": "string"
|
23084
|
+
},
|
23085
|
+
{
|
23086
|
+
"name": "idpConfigUrl",
|
23087
|
+
"type": "string"
|
23088
|
+
},
|
23089
|
+
{
|
23090
|
+
"name": "idpSigninUrl",
|
23091
|
+
"type": "string"
|
23092
|
+
},
|
23093
|
+
{
|
23094
|
+
"name": "loginState",
|
23095
|
+
"$ref": "LoginState"
|
23096
|
+
},
|
23097
|
+
{
|
23098
|
+
"name": "termsOfServiceUrl",
|
23099
|
+
"description": "These two are only set if the loginState is signUp",
|
23100
|
+
"optional": true,
|
23101
|
+
"type": "string"
|
23102
|
+
},
|
23103
|
+
{
|
23104
|
+
"name": "privacyPolicyUrl",
|
23105
|
+
"optional": true,
|
23106
|
+
"type": "string"
|
23107
|
+
}
|
23108
|
+
]
|
23109
|
+
}
|
23110
|
+
],
|
23045
23111
|
"events": [
|
23046
23112
|
{
|
23047
|
-
"name": "dialogShown"
|
23113
|
+
"name": "dialogShown",
|
23114
|
+
"parameters": [
|
23115
|
+
{
|
23116
|
+
"name": "dialogId",
|
23117
|
+
"type": "string"
|
23118
|
+
},
|
23119
|
+
{
|
23120
|
+
"name": "accounts",
|
23121
|
+
"type": "array",
|
23122
|
+
"items": {
|
23123
|
+
"$ref": "Account"
|
23124
|
+
}
|
23125
|
+
}
|
23126
|
+
]
|
23048
23127
|
}
|
23049
23128
|
],
|
23050
23129
|
"commands": [
|
@@ -23053,6 +23132,28 @@
|
|
23053
23132
|
},
|
23054
23133
|
{
|
23055
23134
|
"name": "disable"
|
23135
|
+
},
|
23136
|
+
{
|
23137
|
+
"name": "selectAccount",
|
23138
|
+
"parameters": [
|
23139
|
+
{
|
23140
|
+
"name": "dialogId",
|
23141
|
+
"type": "string"
|
23142
|
+
},
|
23143
|
+
{
|
23144
|
+
"name": "accountIndex",
|
23145
|
+
"type": "integer"
|
23146
|
+
}
|
23147
|
+
]
|
23148
|
+
},
|
23149
|
+
{
|
23150
|
+
"name": "dismissDialog",
|
23151
|
+
"parameters": [
|
23152
|
+
{
|
23153
|
+
"name": "dialogId",
|
23154
|
+
"type": "string"
|
23155
|
+
}
|
23156
|
+
]
|
23056
23157
|
}
|
23057
23158
|
]
|
23058
23159
|
}
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -712,6 +712,11 @@ experimental domain Audits
|
|
712
712
|
SourceAndTriggerHeaders
|
713
713
|
SourceIgnored
|
714
714
|
TriggerIgnored
|
715
|
+
OsSourceIgnored
|
716
|
+
OsTriggerIgnored
|
717
|
+
InvalidRegisterOsSourceHeader
|
718
|
+
InvalidRegisterOsTriggerHeader
|
719
|
+
WebAndOsHeaders
|
715
720
|
|
716
721
|
# Details for issues around "Attribution Reporting API" usage.
|
717
722
|
# Explainer: https://github.com/WICG/attribution-reporting-api
|
@@ -10900,7 +10905,41 @@ experimental domain Preload
|
|
10900
10905
|
|
10901
10906
|
# This domain allows interacting with the FedCM dialog.
|
10902
10907
|
experimental domain FedCm
|
10908
|
+
# Whether this is a sign-up or sign-in action for this account, i.e.
|
10909
|
+
# whether this account has ever been used to sign in to this RP before.
|
10910
|
+
type LoginState extends string
|
10911
|
+
enum
|
10912
|
+
SignIn
|
10913
|
+
SignUp
|
10914
|
+
|
10915
|
+
# Corresponds to IdentityRequestAccount
|
10916
|
+
type Account extends object
|
10917
|
+
properties
|
10918
|
+
string accountId
|
10919
|
+
string email
|
10920
|
+
string name
|
10921
|
+
string givenName
|
10922
|
+
string pictureUrl
|
10923
|
+
string idpConfigUrl
|
10924
|
+
string idpSigninUrl
|
10925
|
+
LoginState loginState
|
10926
|
+
# These two are only set if the loginState is signUp
|
10927
|
+
optional string termsOfServiceUrl
|
10928
|
+
optional string privacyPolicyUrl
|
10929
|
+
|
10903
10930
|
event dialogShown
|
10931
|
+
parameters
|
10932
|
+
string dialogId
|
10933
|
+
array of Account accounts
|
10904
10934
|
|
10905
10935
|
command enable
|
10906
10936
|
command disable
|
10937
|
+
|
10938
|
+
command selectAccount
|
10939
|
+
parameters
|
10940
|
+
string dialogId
|
10941
|
+
integer accountIndex
|
10942
|
+
|
10943
|
+
command dismissDialog
|
10944
|
+
parameters
|
10945
|
+
string dialogId
|
@@ -726,7 +726,7 @@ export namespace ProtocolMapping {
|
|
726
726
|
* Send a list of sources for all preloading attempts.
|
727
727
|
*/
|
728
728
|
'Preload.preloadingAttemptSourcesUpdated': [Protocol.Preload.PreloadingAttemptSourcesUpdatedEvent];
|
729
|
-
'FedCm.dialogShown': [];
|
729
|
+
'FedCm.dialogShown': [Protocol.FedCm.DialogShownEvent];
|
730
730
|
}
|
731
731
|
|
732
732
|
export interface Commands {
|
@@ -4658,6 +4658,14 @@ export namespace ProtocolMapping {
|
|
4658
4658
|
paramsType: [];
|
4659
4659
|
returnType: void;
|
4660
4660
|
};
|
4661
|
+
'FedCm.selectAccount': {
|
4662
|
+
paramsType: [Protocol.FedCm.SelectAccountRequest];
|
4663
|
+
returnType: void;
|
4664
|
+
};
|
4665
|
+
'FedCm.dismissDialog': {
|
4666
|
+
paramsType: [Protocol.FedCm.DismissDialogRequest];
|
4667
|
+
returnType: void;
|
4668
|
+
};
|
4661
4669
|
}
|
4662
4670
|
}
|
4663
4671
|
|
@@ -3974,7 +3974,11 @@ export namespace ProtocolProxyApi {
|
|
3974
3974
|
|
3975
3975
|
disable(): Promise<void>;
|
3976
3976
|
|
3977
|
-
|
3977
|
+
selectAccount(params: Protocol.FedCm.SelectAccountRequest): Promise<void>;
|
3978
|
+
|
3979
|
+
dismissDialog(params: Protocol.FedCm.DismissDialogRequest): Promise<void>;
|
3980
|
+
|
3981
|
+
on(event: 'dialogShown', listener: (params: Protocol.FedCm.DialogShownEvent) => void): void;
|
3978
3982
|
|
3979
3983
|
}
|
3980
3984
|
}
|
package/types/protocol.d.ts
CHANGED
@@ -3409,7 +3409,7 @@ export namespace Protocol {
|
|
3409
3409
|
clientSecurityState?: Network.ClientSecurityState;
|
3410
3410
|
}
|
3411
3411
|
|
3412
|
-
export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | 'InvalidEligibleHeader' | 'TooManyConcurrentRequests' | 'SourceAndTriggerHeaders' | 'SourceIgnored' | 'TriggerIgnored');
|
3412
|
+
export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | 'InvalidEligibleHeader' | 'TooManyConcurrentRequests' | 'SourceAndTriggerHeaders' | 'SourceIgnored' | 'TriggerIgnored' | 'OsSourceIgnored' | 'OsTriggerIgnored' | 'InvalidRegisterOsSourceHeader' | 'InvalidRegisterOsTriggerHeader' | 'WebAndOsHeaders');
|
3413
3413
|
|
3414
3414
|
/**
|
3415
3415
|
* Details for issues around "Attribution Reporting API" usage.
|
@@ -17000,6 +17000,45 @@ export namespace Protocol {
|
|
17000
17000
|
* This domain allows interacting with the FedCM dialog.
|
17001
17001
|
*/
|
17002
17002
|
export namespace FedCm {
|
17003
|
+
|
17004
|
+
/**
|
17005
|
+
* Whether this is a sign-up or sign-in action for this account, i.e.
|
17006
|
+
* whether this account has ever been used to sign in to this RP before.
|
17007
|
+
*/
|
17008
|
+
export type LoginState = ('SignIn' | 'SignUp');
|
17009
|
+
|
17010
|
+
/**
|
17011
|
+
* Corresponds to IdentityRequestAccount
|
17012
|
+
*/
|
17013
|
+
export interface Account {
|
17014
|
+
accountId: string;
|
17015
|
+
email: string;
|
17016
|
+
name: string;
|
17017
|
+
givenName: string;
|
17018
|
+
pictureUrl: string;
|
17019
|
+
idpConfigUrl: string;
|
17020
|
+
idpSigninUrl: string;
|
17021
|
+
loginState: LoginState;
|
17022
|
+
/**
|
17023
|
+
* These two are only set if the loginState is signUp
|
17024
|
+
*/
|
17025
|
+
termsOfServiceUrl?: string;
|
17026
|
+
privacyPolicyUrl?: string;
|
17027
|
+
}
|
17028
|
+
|
17029
|
+
export interface SelectAccountRequest {
|
17030
|
+
dialogId: string;
|
17031
|
+
accountIndex: integer;
|
17032
|
+
}
|
17033
|
+
|
17034
|
+
export interface DismissDialogRequest {
|
17035
|
+
dialogId: string;
|
17036
|
+
}
|
17037
|
+
|
17038
|
+
export interface DialogShownEvent {
|
17039
|
+
dialogId: string;
|
17040
|
+
accounts: Account[];
|
17041
|
+
}
|
17003
17042
|
}
|
17004
17043
|
}
|
17005
17044
|
|