devtools-protocol 0.0.1115542 → 0.0.1119014
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
|
{
|
@@ -2889,6 +2894,16 @@
|
|
2889
2894
|
"description": "Rule selector data.",
|
2890
2895
|
"$ref": "SelectorList"
|
2891
2896
|
},
|
2897
|
+
{
|
2898
|
+
"name": "nestingSelectors",
|
2899
|
+
"description": "Array of selectors from ancestor style rules, sorted by distance from the current rule.",
|
2900
|
+
"experimental": true,
|
2901
|
+
"optional": true,
|
2902
|
+
"type": "array",
|
2903
|
+
"items": {
|
2904
|
+
"type": "string"
|
2905
|
+
}
|
2906
|
+
},
|
2892
2907
|
{
|
2893
2908
|
"name": "origin",
|
2894
2909
|
"description": "Parent stylesheet's origin.",
|
@@ -23043,6 +23058,15 @@
|
|
23043
23058
|
"description": "This domain allows interacting with the FedCM dialog.",
|
23044
23059
|
"experimental": true,
|
23045
23060
|
"types": [
|
23061
|
+
{
|
23062
|
+
"id": "LoginState",
|
23063
|
+
"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.",
|
23064
|
+
"type": "string",
|
23065
|
+
"enum": [
|
23066
|
+
"SignIn",
|
23067
|
+
"SignUp"
|
23068
|
+
]
|
23069
|
+
},
|
23046
23070
|
{
|
23047
23071
|
"id": "Account",
|
23048
23072
|
"description": "Corresponds to IdentityRequestAccount",
|
@@ -23071,6 +23095,25 @@
|
|
23071
23095
|
{
|
23072
23096
|
"name": "idpConfigUrl",
|
23073
23097
|
"type": "string"
|
23098
|
+
},
|
23099
|
+
{
|
23100
|
+
"name": "idpSigninUrl",
|
23101
|
+
"type": "string"
|
23102
|
+
},
|
23103
|
+
{
|
23104
|
+
"name": "loginState",
|
23105
|
+
"$ref": "LoginState"
|
23106
|
+
},
|
23107
|
+
{
|
23108
|
+
"name": "termsOfServiceUrl",
|
23109
|
+
"description": "These two are only set if the loginState is signUp",
|
23110
|
+
"optional": true,
|
23111
|
+
"type": "string"
|
23112
|
+
},
|
23113
|
+
{
|
23114
|
+
"name": "privacyPolicyUrl",
|
23115
|
+
"optional": true,
|
23116
|
+
"type": "string"
|
23074
23117
|
}
|
23075
23118
|
]
|
23076
23119
|
}
|
@@ -23079,6 +23122,10 @@
|
|
23079
23122
|
{
|
23080
23123
|
"name": "dialogShown",
|
23081
23124
|
"parameters": [
|
23125
|
+
{
|
23126
|
+
"name": "dialogId",
|
23127
|
+
"type": "string"
|
23128
|
+
},
|
23082
23129
|
{
|
23083
23130
|
"name": "accounts",
|
23084
23131
|
"type": "array",
|
@@ -23095,6 +23142,28 @@
|
|
23095
23142
|
},
|
23096
23143
|
{
|
23097
23144
|
"name": "disable"
|
23145
|
+
},
|
23146
|
+
{
|
23147
|
+
"name": "selectAccount",
|
23148
|
+
"parameters": [
|
23149
|
+
{
|
23150
|
+
"name": "dialogId",
|
23151
|
+
"type": "string"
|
23152
|
+
},
|
23153
|
+
{
|
23154
|
+
"name": "accountIndex",
|
23155
|
+
"type": "integer"
|
23156
|
+
}
|
23157
|
+
]
|
23158
|
+
},
|
23159
|
+
{
|
23160
|
+
"name": "dismissDialog",
|
23161
|
+
"parameters": [
|
23162
|
+
{
|
23163
|
+
"name": "dialogId",
|
23164
|
+
"type": "string"
|
23165
|
+
}
|
23166
|
+
]
|
23098
23167
|
}
|
23099
23168
|
]
|
23100
23169
|
}
|
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
|
@@ -1404,6 +1409,8 @@ experimental domain CSS
|
|
1404
1409
|
optional StyleSheetId styleSheetId
|
1405
1410
|
# Rule selector data.
|
1406
1411
|
SelectorList selectorList
|
1412
|
+
# Array of selectors from ancestor style rules, sorted by distance from the current rule.
|
1413
|
+
experimental optional array of string nestingSelectors
|
1407
1414
|
# Parent stylesheet's origin.
|
1408
1415
|
StyleSheetOrigin origin
|
1409
1416
|
# Associated style declaration.
|
@@ -10900,6 +10907,13 @@ experimental domain Preload
|
|
10900
10907
|
|
10901
10908
|
# This domain allows interacting with the FedCM dialog.
|
10902
10909
|
experimental domain FedCm
|
10910
|
+
# Whether this is a sign-up or sign-in action for this account, i.e.
|
10911
|
+
# whether this account has ever been used to sign in to this RP before.
|
10912
|
+
type LoginState extends string
|
10913
|
+
enum
|
10914
|
+
SignIn
|
10915
|
+
SignUp
|
10916
|
+
|
10903
10917
|
# Corresponds to IdentityRequestAccount
|
10904
10918
|
type Account extends object
|
10905
10919
|
properties
|
@@ -10909,10 +10923,25 @@ experimental domain FedCm
|
|
10909
10923
|
string givenName
|
10910
10924
|
string pictureUrl
|
10911
10925
|
string idpConfigUrl
|
10926
|
+
string idpSigninUrl
|
10927
|
+
LoginState loginState
|
10928
|
+
# These two are only set if the loginState is signUp
|
10929
|
+
optional string termsOfServiceUrl
|
10930
|
+
optional string privacyPolicyUrl
|
10912
10931
|
|
10913
10932
|
event dialogShown
|
10914
10933
|
parameters
|
10934
|
+
string dialogId
|
10915
10935
|
array of Account accounts
|
10916
10936
|
|
10917
10937
|
command enable
|
10918
10938
|
command disable
|
10939
|
+
|
10940
|
+
command selectAccount
|
10941
|
+
parameters
|
10942
|
+
string dialogId
|
10943
|
+
integer accountIndex
|
10944
|
+
|
10945
|
+
command dismissDialog
|
10946
|
+
parameters
|
10947
|
+
string dialogId
|
@@ -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,6 +3974,10 @@ export namespace ProtocolProxyApi {
|
|
3974
3974
|
|
3975
3975
|
disable(): Promise<void>;
|
3976
3976
|
|
3977
|
+
selectAccount(params: Protocol.FedCm.SelectAccountRequest): Promise<void>;
|
3978
|
+
|
3979
|
+
dismissDialog(params: Protocol.FedCm.DismissDialogRequest): Promise<void>;
|
3980
|
+
|
3977
3981
|
on(event: 'dialogShown', listener: (params: Protocol.FedCm.DialogShownEvent) => void): void;
|
3978
3982
|
|
3979
3983
|
}
|
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.
|
@@ -4254,6 +4254,10 @@ export namespace Protocol {
|
|
4254
4254
|
* Rule selector data.
|
4255
4255
|
*/
|
4256
4256
|
selectorList: SelectorList;
|
4257
|
+
/**
|
4258
|
+
* Array of selectors from ancestor style rules, sorted by distance from the current rule.
|
4259
|
+
*/
|
4260
|
+
nestingSelectors?: string[];
|
4257
4261
|
/**
|
4258
4262
|
* Parent stylesheet's origin.
|
4259
4263
|
*/
|
@@ -17001,6 +17005,12 @@ export namespace Protocol {
|
|
17001
17005
|
*/
|
17002
17006
|
export namespace FedCm {
|
17003
17007
|
|
17008
|
+
/**
|
17009
|
+
* Whether this is a sign-up or sign-in action for this account, i.e.
|
17010
|
+
* whether this account has ever been used to sign in to this RP before.
|
17011
|
+
*/
|
17012
|
+
export type LoginState = ('SignIn' | 'SignUp');
|
17013
|
+
|
17004
17014
|
/**
|
17005
17015
|
* Corresponds to IdentityRequestAccount
|
17006
17016
|
*/
|
@@ -17011,9 +17021,26 @@ export namespace Protocol {
|
|
17011
17021
|
givenName: string;
|
17012
17022
|
pictureUrl: string;
|
17013
17023
|
idpConfigUrl: string;
|
17024
|
+
idpSigninUrl: string;
|
17025
|
+
loginState: LoginState;
|
17026
|
+
/**
|
17027
|
+
* These two are only set if the loginState is signUp
|
17028
|
+
*/
|
17029
|
+
termsOfServiceUrl?: string;
|
17030
|
+
privacyPolicyUrl?: string;
|
17031
|
+
}
|
17032
|
+
|
17033
|
+
export interface SelectAccountRequest {
|
17034
|
+
dialogId: string;
|
17035
|
+
accountIndex: integer;
|
17036
|
+
}
|
17037
|
+
|
17038
|
+
export interface DismissDialogRequest {
|
17039
|
+
dialogId: string;
|
17014
17040
|
}
|
17015
17041
|
|
17016
17042
|
export interface DialogShownEvent {
|
17043
|
+
dialogId: string;
|
17017
17044
|
accounts: Account[];
|
17018
17045
|
}
|
17019
17046
|
}
|