devtools-protocol 0.0.1114386 → 0.0.1115542
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.
@@ -22901,7 +22901,6 @@
|
|
22901
22901
|
"CrossSiteRedirect",
|
22902
22902
|
"CrossSiteNavigation",
|
22903
22903
|
"SameSiteCrossOriginRedirect",
|
22904
|
-
"SameSiteCrossOriginNavigation",
|
22905
22904
|
"SameSiteCrossOriginRedirectNotOptIn",
|
22906
22905
|
"SameSiteCrossOriginNavigationNotOptIn",
|
22907
22906
|
"ActivationNavigationParameterMismatch",
|
@@ -23043,9 +23042,51 @@
|
|
23043
23042
|
"domain": "FedCm",
|
23044
23043
|
"description": "This domain allows interacting with the FedCM dialog.",
|
23045
23044
|
"experimental": true,
|
23045
|
+
"types": [
|
23046
|
+
{
|
23047
|
+
"id": "Account",
|
23048
|
+
"description": "Corresponds to IdentityRequestAccount",
|
23049
|
+
"type": "object",
|
23050
|
+
"properties": [
|
23051
|
+
{
|
23052
|
+
"name": "accountId",
|
23053
|
+
"type": "string"
|
23054
|
+
},
|
23055
|
+
{
|
23056
|
+
"name": "email",
|
23057
|
+
"type": "string"
|
23058
|
+
},
|
23059
|
+
{
|
23060
|
+
"name": "name",
|
23061
|
+
"type": "string"
|
23062
|
+
},
|
23063
|
+
{
|
23064
|
+
"name": "givenName",
|
23065
|
+
"type": "string"
|
23066
|
+
},
|
23067
|
+
{
|
23068
|
+
"name": "pictureUrl",
|
23069
|
+
"type": "string"
|
23070
|
+
},
|
23071
|
+
{
|
23072
|
+
"name": "idpConfigUrl",
|
23073
|
+
"type": "string"
|
23074
|
+
}
|
23075
|
+
]
|
23076
|
+
}
|
23077
|
+
],
|
23046
23078
|
"events": [
|
23047
23079
|
{
|
23048
|
-
"name": "dialogShown"
|
23080
|
+
"name": "dialogShown",
|
23081
|
+
"parameters": [
|
23082
|
+
{
|
23083
|
+
"name": "accounts",
|
23084
|
+
"type": "array",
|
23085
|
+
"items": {
|
23086
|
+
"$ref": "Account"
|
23087
|
+
}
|
23088
|
+
}
|
23089
|
+
]
|
23049
23090
|
}
|
23050
23091
|
],
|
23051
23092
|
"commands": [
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -10838,7 +10838,6 @@ experimental domain Preload
|
|
10838
10838
|
CrossSiteRedirect
|
10839
10839
|
CrossSiteNavigation
|
10840
10840
|
SameSiteCrossOriginRedirect
|
10841
|
-
SameSiteCrossOriginNavigation
|
10842
10841
|
SameSiteCrossOriginRedirectNotOptIn
|
10843
10842
|
SameSiteCrossOriginNavigationNotOptIn
|
10844
10843
|
ActivationNavigationParameterMismatch
|
@@ -10901,7 +10900,19 @@ experimental domain Preload
|
|
10901
10900
|
|
10902
10901
|
# This domain allows interacting with the FedCM dialog.
|
10903
10902
|
experimental domain FedCm
|
10903
|
+
# Corresponds to IdentityRequestAccount
|
10904
|
+
type Account extends object
|
10905
|
+
properties
|
10906
|
+
string accountId
|
10907
|
+
string email
|
10908
|
+
string name
|
10909
|
+
string givenName
|
10910
|
+
string pictureUrl
|
10911
|
+
string idpConfigUrl
|
10912
|
+
|
10904
10913
|
event dialogShown
|
10914
|
+
parameters
|
10915
|
+
array of Account accounts
|
10905
10916
|
|
10906
10917
|
command enable
|
10907
10918
|
command disable
|
@@ -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 {
|
@@ -3974,7 +3974,7 @@ export namespace ProtocolProxyApi {
|
|
3974
3974
|
|
3975
3975
|
disable(): Promise<void>;
|
3976
3976
|
|
3977
|
-
on(event: 'dialogShown', listener: () => void): void;
|
3977
|
+
on(event: 'dialogShown', listener: (params: Protocol.FedCm.DialogShownEvent) => void): void;
|
3978
3978
|
|
3979
3979
|
}
|
3980
3980
|
}
|
package/types/protocol.d.ts
CHANGED
@@ -16928,7 +16928,7 @@ export namespace Protocol {
|
|
16928
16928
|
/**
|
16929
16929
|
* List of FinalStatus reasons for Prerender2.
|
16930
16930
|
*/
|
16931
|
-
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirect' | 'CrossSiteNavigation' | 'SameSiteCrossOriginRedirect' | '
|
16931
|
+
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirect' | 'CrossSiteNavigation' | 'SameSiteCrossOriginRedirect' | 'SameSiteCrossOriginRedirectNotOptIn' | 'SameSiteCrossOriginNavigationNotOptIn' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents');
|
16932
16932
|
|
16933
16933
|
/**
|
16934
16934
|
* Preloading status values, see also PreloadingTriggeringOutcome. This
|
@@ -17000,6 +17000,22 @@ export namespace Protocol {
|
|
17000
17000
|
* This domain allows interacting with the FedCM dialog.
|
17001
17001
|
*/
|
17002
17002
|
export namespace FedCm {
|
17003
|
+
|
17004
|
+
/**
|
17005
|
+
* Corresponds to IdentityRequestAccount
|
17006
|
+
*/
|
17007
|
+
export interface Account {
|
17008
|
+
accountId: string;
|
17009
|
+
email: string;
|
17010
|
+
name: string;
|
17011
|
+
givenName: string;
|
17012
|
+
pictureUrl: string;
|
17013
|
+
idpConfigUrl: string;
|
17014
|
+
}
|
17015
|
+
|
17016
|
+
export interface DialogShownEvent {
|
17017
|
+
accounts: Account[];
|
17018
|
+
}
|
17003
17019
|
}
|
17004
17020
|
}
|
17005
17021
|
|