devtools-protocol 0.0.1140464 → 0.0.1143632
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 +55 -1
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +49 -0
- package/types/protocol.d.ts +14 -1
@@ -23236,7 +23236,10 @@
|
|
23236
23236
|
"SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation",
|
23237
23237
|
"SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation",
|
23238
23238
|
"MemoryPressureOnTrigger",
|
23239
|
-
"MemoryPressureAfterTriggered"
|
23239
|
+
"MemoryPressureAfterTriggered",
|
23240
|
+
"SpeculationRuleRemoved",
|
23241
|
+
"TriggerPageNavigated",
|
23242
|
+
"OtherPrerenderedPageActivated"
|
23240
23243
|
]
|
23241
23244
|
},
|
23242
23245
|
{
|
@@ -23262,6 +23265,40 @@
|
|
23262
23265
|
"Failure",
|
23263
23266
|
"NotSupported"
|
23264
23267
|
]
|
23268
|
+
},
|
23269
|
+
{
|
23270
|
+
"id": "PrefetchStatus",
|
23271
|
+
"description": "TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and\nfilter out the ones that aren't necessary to the developers.",
|
23272
|
+
"type": "string",
|
23273
|
+
"enum": [
|
23274
|
+
"PrefetchAllowed",
|
23275
|
+
"PrefetchFailedIneligibleRedirect",
|
23276
|
+
"PrefetchFailedInvalidRedirect",
|
23277
|
+
"PrefetchFailedMIMENotSupported",
|
23278
|
+
"PrefetchFailedNetError",
|
23279
|
+
"PrefetchFailedNon2XX",
|
23280
|
+
"PrefetchFailedPerPageLimitExceeded",
|
23281
|
+
"PrefetchHeldback",
|
23282
|
+
"PrefetchIneligibleRetryAfter",
|
23283
|
+
"PrefetchIsPrivacyDecoy",
|
23284
|
+
"PrefetchIsStale",
|
23285
|
+
"PrefetchNotEligibleBrowserContextOffTheRecord",
|
23286
|
+
"PrefetchNotEligibleDataSaverEnabled",
|
23287
|
+
"PrefetchNotEligibleExistingProxy",
|
23288
|
+
"PrefetchNotEligibleHostIsNonUnique",
|
23289
|
+
"PrefetchNotEligibleNonDefaultStoragePartition",
|
23290
|
+
"PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy",
|
23291
|
+
"PrefetchNotEligibleSchemeIsNotHttps",
|
23292
|
+
"PrefetchNotEligibleUserHasCookies",
|
23293
|
+
"PrefetchNotEligibleUserHasServiceWorker",
|
23294
|
+
"PrefetchNotFinishedInTime",
|
23295
|
+
"PrefetchNotStarted",
|
23296
|
+
"PrefetchNotUsedCookiesChanged",
|
23297
|
+
"PrefetchProxyNotAvailable",
|
23298
|
+
"PrefetchResponseUsed",
|
23299
|
+
"PrefetchSuccessfulButNotUsed",
|
23300
|
+
"PrefetchNotUsedProbeFailed"
|
23301
|
+
]
|
23265
23302
|
}
|
23266
23303
|
],
|
23267
23304
|
"commands": [
|
@@ -23351,6 +23388,10 @@
|
|
23351
23388
|
{
|
23352
23389
|
"name": "status",
|
23353
23390
|
"$ref": "PreloadingStatus"
|
23391
|
+
},
|
23392
|
+
{
|
23393
|
+
"name": "prefetchStatus",
|
23394
|
+
"$ref": "PrefetchStatus"
|
23354
23395
|
}
|
23355
23396
|
]
|
23356
23397
|
},
|
@@ -23410,6 +23451,15 @@
|
|
23410
23451
|
"SignUp"
|
23411
23452
|
]
|
23412
23453
|
},
|
23454
|
+
{
|
23455
|
+
"id": "DialogType",
|
23456
|
+
"description": "Whether the dialog shown is an account chooser or an auto re-authentication dialog.",
|
23457
|
+
"type": "string",
|
23458
|
+
"enum": [
|
23459
|
+
"AccountChooser",
|
23460
|
+
"AutoReauthn"
|
23461
|
+
]
|
23462
|
+
},
|
23413
23463
|
{
|
23414
23464
|
"id": "Account",
|
23415
23465
|
"description": "Corresponds to IdentityRequestAccount",
|
@@ -23469,6 +23519,10 @@
|
|
23469
23519
|
"name": "dialogId",
|
23470
23520
|
"type": "string"
|
23471
23521
|
},
|
23522
|
+
{
|
23523
|
+
"name": "dialogType",
|
23524
|
+
"$ref": "DialogType"
|
23525
|
+
},
|
23472
23526
|
{
|
23473
23527
|
"name": "accounts",
|
23474
23528
|
"type": "array",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -10996,6 +10996,9 @@ experimental domain Preload
|
|
10996
10996
|
SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation
|
10997
10997
|
MemoryPressureOnTrigger
|
10998
10998
|
MemoryPressureAfterTriggered
|
10999
|
+
SpeculationRuleRemoved
|
11000
|
+
TriggerPageNavigated
|
11001
|
+
OtherPrerenderedPageActivated
|
10999
11002
|
|
11000
11003
|
# Fired when a prerender attempt is completed.
|
11001
11004
|
event prerenderAttemptCompleted
|
@@ -11035,6 +11038,44 @@ experimental domain Preload
|
|
11035
11038
|
# PreloadingTriggeringOutcome which not used by prefetch nor prerender.
|
11036
11039
|
NotSupported
|
11037
11040
|
|
11041
|
+
# TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and
|
11042
|
+
# filter out the ones that aren't necessary to the developers.
|
11043
|
+
type PrefetchStatus extends string
|
11044
|
+
enum
|
11045
|
+
# Prefetch is not disabled by PrefetchHeldback.
|
11046
|
+
PrefetchAllowed
|
11047
|
+
PrefetchFailedIneligibleRedirect
|
11048
|
+
PrefetchFailedInvalidRedirect
|
11049
|
+
PrefetchFailedMIMENotSupported
|
11050
|
+
PrefetchFailedNetError
|
11051
|
+
PrefetchFailedNon2XX
|
11052
|
+
PrefetchFailedPerPageLimitExceeded
|
11053
|
+
PrefetchHeldback
|
11054
|
+
# A previous prefetch to the origin got a HTTP 503 response with an
|
11055
|
+
# Retry-After header that has no elapsed yet.
|
11056
|
+
PrefetchIneligibleRetryAfter
|
11057
|
+
PrefetchIsPrivacyDecoy
|
11058
|
+
PrefetchIsStale
|
11059
|
+
PrefetchNotEligibleBrowserContextOffTheRecord
|
11060
|
+
PrefetchNotEligibleDataSaverEnabled
|
11061
|
+
PrefetchNotEligibleExistingProxy
|
11062
|
+
PrefetchNotEligibleHostIsNonUnique
|
11063
|
+
PrefetchNotEligibleNonDefaultStoragePartition
|
11064
|
+
PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy
|
11065
|
+
PrefetchNotEligibleSchemeIsNotHttps
|
11066
|
+
PrefetchNotEligibleUserHasCookies
|
11067
|
+
PrefetchNotEligibleUserHasServiceWorker
|
11068
|
+
PrefetchNotFinishedInTime
|
11069
|
+
PrefetchNotStarted
|
11070
|
+
PrefetchNotUsedCookiesChanged
|
11071
|
+
PrefetchProxyNotAvailable
|
11072
|
+
# The response of the prefetch is used for the next navigation. This is
|
11073
|
+
# the final successful state.
|
11074
|
+
PrefetchResponseUsed
|
11075
|
+
# The prefetch finished successfully but was never used.
|
11076
|
+
PrefetchSuccessfulButNotUsed
|
11077
|
+
PrefetchNotUsedProbeFailed
|
11078
|
+
|
11038
11079
|
# Fired when a prefetch attempt is updated.
|
11039
11080
|
event prefetchStatusUpdated
|
11040
11081
|
parameters
|
@@ -11043,6 +11084,7 @@ experimental domain Preload
|
|
11043
11084
|
Page.FrameId initiatingFrameId
|
11044
11085
|
string prefetchUrl
|
11045
11086
|
PreloadingStatus status
|
11087
|
+
PrefetchStatus prefetchStatus
|
11046
11088
|
|
11047
11089
|
# Fired when a prerender attempt is updated.
|
11048
11090
|
event prerenderStatusUpdated
|
@@ -11068,6 +11110,12 @@ experimental domain FedCm
|
|
11068
11110
|
SignIn
|
11069
11111
|
SignUp
|
11070
11112
|
|
11113
|
+
# Whether the dialog shown is an account chooser or an auto re-authentication dialog.
|
11114
|
+
type DialogType extends string
|
11115
|
+
enum
|
11116
|
+
AccountChooser
|
11117
|
+
AutoReauthn
|
11118
|
+
|
11071
11119
|
# Corresponds to IdentityRequestAccount
|
11072
11120
|
type Account extends object
|
11073
11121
|
properties
|
@@ -11086,6 +11134,7 @@ experimental domain FedCm
|
|
11086
11134
|
event dialogShown
|
11087
11135
|
parameters
|
11088
11136
|
string dialogId
|
11137
|
+
DialogType dialogType
|
11089
11138
|
array of Account accounts
|
11090
11139
|
# These exist primarily so that the caller can verify the
|
11091
11140
|
# RP context was used appropriately.
|
package/types/protocol.d.ts
CHANGED
@@ -17153,7 +17153,7 @@ export namespace Protocol {
|
|
17153
17153
|
/**
|
17154
17154
|
* List of FinalStatus reasons for Prerender2.
|
17155
17155
|
*/
|
17156
|
-
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' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered');
|
17156
|
+
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' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'SpeculationRuleRemoved' | 'TriggerPageNavigated' | 'OtherPrerenderedPageActivated');
|
17157
17157
|
|
17158
17158
|
export type PreloadEnabledState = ('Enabled' | 'DisabledByDataSaver' | 'DisabledByBatterySaver' | 'DisabledByPreference' | 'NotSupported');
|
17159
17159
|
|
@@ -17163,6 +17163,12 @@ export namespace Protocol {
|
|
17163
17163
|
*/
|
17164
17164
|
export type PreloadingStatus = ('Pending' | 'Running' | 'Ready' | 'Success' | 'Failure' | 'NotSupported');
|
17165
17165
|
|
17166
|
+
/**
|
17167
|
+
* TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and
|
17168
|
+
* filter out the ones that aren't necessary to the developers.
|
17169
|
+
*/
|
17170
|
+
export type PrefetchStatus = ('PrefetchAllowed' | 'PrefetchFailedIneligibleRedirect' | 'PrefetchFailedInvalidRedirect' | 'PrefetchFailedMIMENotSupported' | 'PrefetchFailedNetError' | 'PrefetchFailedNon2XX' | 'PrefetchFailedPerPageLimitExceeded' | 'PrefetchHeldback' | 'PrefetchIneligibleRetryAfter' | 'PrefetchIsPrivacyDecoy' | 'PrefetchIsStale' | 'PrefetchNotEligibleBrowserContextOffTheRecord' | 'PrefetchNotEligibleDataSaverEnabled' | 'PrefetchNotEligibleExistingProxy' | 'PrefetchNotEligibleHostIsNonUnique' | 'PrefetchNotEligibleNonDefaultStoragePartition' | 'PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy' | 'PrefetchNotEligibleSchemeIsNotHttps' | 'PrefetchNotEligibleUserHasCookies' | 'PrefetchNotEligibleUserHasServiceWorker' | 'PrefetchNotFinishedInTime' | 'PrefetchNotStarted' | 'PrefetchNotUsedCookiesChanged' | 'PrefetchProxyNotAvailable' | 'PrefetchResponseUsed' | 'PrefetchSuccessfulButNotUsed' | 'PrefetchNotUsedProbeFailed');
|
17171
|
+
|
17166
17172
|
/**
|
17167
17173
|
* Upsert. Currently, it is only emitted when a rule set added.
|
17168
17174
|
*/
|
@@ -17210,6 +17216,7 @@ export namespace Protocol {
|
|
17210
17216
|
initiatingFrameId: Page.FrameId;
|
17211
17217
|
prefetchUrl: string;
|
17212
17218
|
status: PreloadingStatus;
|
17219
|
+
prefetchStatus: PrefetchStatus;
|
17213
17220
|
}
|
17214
17221
|
|
17215
17222
|
/**
|
@@ -17245,6 +17252,11 @@ export namespace Protocol {
|
|
17245
17252
|
*/
|
17246
17253
|
export type LoginState = ('SignIn' | 'SignUp');
|
17247
17254
|
|
17255
|
+
/**
|
17256
|
+
* Whether the dialog shown is an account chooser or an auto re-authentication dialog.
|
17257
|
+
*/
|
17258
|
+
export type DialogType = ('AccountChooser' | 'AutoReauthn');
|
17259
|
+
|
17248
17260
|
/**
|
17249
17261
|
* Corresponds to IdentityRequestAccount
|
17250
17262
|
*/
|
@@ -17285,6 +17297,7 @@ export namespace Protocol {
|
|
17285
17297
|
|
17286
17298
|
export interface DialogShownEvent {
|
17287
17299
|
dialogId: string;
|
17300
|
+
dialogType: DialogType;
|
17288
17301
|
accounts: Account[];
|
17289
17302
|
/**
|
17290
17303
|
* These exist primarily so that the caller can verify the
|